~ubuntu-branches/ubuntu/vivid/kdesudo/vivid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2008-07-16 17:08:30 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20080716170830-bem298ajm207fua9
Tags: 3.2-0ubuntu1
New upstream release

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
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
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
 
am__isrc
824
 
CYGPATH_W
825
 
PACKAGE
826
 
VERSION
827
 
ACLOCAL
828
 
AUTOCONF
829
 
AUTOMAKE
830
 
AUTOHEADER
831
 
MAKEINFO
832
 
install_sh
833
 
STRIP
834
 
INSTALL_STRIP_PROGRAM
835
 
mkdir_p
836
 
AWK
837
 
SET_MAKE
838
 
am__leading_dot
839
 
AMTAR
840
 
am__tar
841
 
am__untar
842
 
KDECONFIG
843
 
kde_libs_prefix
844
 
kde_libs_htmldir
845
 
CONF_FILES
846
 
CC
847
 
CFLAGS
848
 
LDFLAGS
849
 
CPPFLAGS
850
 
ac_ct_CC
851
 
EXEEXT
852
 
OBJEXT
853
 
DEPDIR
854
 
am__include
855
 
am__quote
856
 
AMDEP_TRUE
857
 
AMDEP_FALSE
858
 
AMDEPBACKSLASH
859
 
CCDEPMODE
860
 
am__fastdepCC_TRUE
861
 
am__fastdepCC_FALSE
862
 
CPP
863
 
CXX
864
 
CXXFLAGS
865
 
ac_ct_CXX
866
 
CXXDEPMODE
867
 
am__fastdepCXX_TRUE
868
 
am__fastdepCXX_FALSE
869
 
WOVERLOADED_VIRTUAL
870
 
HAVE_GCC_VISIBILITY
871
 
unsermake_enable_pch_TRUE
872
 
unsermake_enable_pch_FALSE
873
 
USE_EXCEPTIONS
874
 
USE_RTTI
875
 
CXXCPP
876
 
NOOPT_CXXFLAGS
877
 
NOOPT_CFLAGS
878
 
ENABLE_PERMISSIVE_FLAG
879
 
LDFLAGS_AS_NEEDED
880
 
LDFLAGS_NEW_DTAGS
881
 
KDE_USE_FINAL_TRUE
882
 
KDE_USE_FINAL_FALSE
883
 
KDE_USE_CLOSURE_TRUE
884
 
KDE_USE_CLOSURE_FALSE
885
 
KDE_NO_UNDEFINED
886
 
KDE_USE_NMCHECK_TRUE
887
 
KDE_USE_NMCHECK_FALSE
888
 
GREP
889
 
EGREP
890
 
LN_S
891
 
ECHO
892
 
AR
893
 
RANLIB
894
 
F77
895
 
FFLAGS
896
 
ac_ct_F77
897
 
LIBTOOL
898
 
KDE_PLUGIN
899
 
KDE_CHECK_PLUGIN
900
 
MSGFMT
901
 
GMSGFMT
902
 
XGETTEXT
903
 
LIBUTIL
904
 
LIBCOMPAT
905
 
LIBCRYPT
906
 
LIBRESOLV
907
 
LIB_POLL
908
 
FRAMEWORK_COREAUDIO
909
 
LIBSOCKET
910
 
X_EXTRA_LIBS
911
 
LIBUCB
912
 
LIBDL
913
 
KDE_USE_FPIE
914
 
KDE_USE_PIE
915
 
include_x11_TRUE
916
 
include_x11_FALSE
917
 
XMKMF
918
 
X_PRE_LIBS
919
 
LIB_X11
920
 
LIB_XRENDER
921
 
LIBSM
922
 
X_INCLUDES
923
 
X_LDFLAGS
924
 
x_includes
925
 
x_libraries
926
 
QTE_NORTTI
927
 
LIB_XEXT
928
 
LIBPTHREAD
929
 
USE_THREADS
930
 
KDE_MT_LDFLAGS
931
 
KDE_MT_LIBS
932
 
USER_INCLUDES
933
 
USER_LDFLAGS
934
 
LIBZ
935
 
LIBPNG
936
 
LIBJPEG
937
 
qt_libraries
938
 
qt_includes
939
 
QT_INCLUDES
940
 
QT_LDFLAGS
941
 
PERL
942
 
MOC
943
 
UIC
944
 
UIC_TR
945
 
LIB_QT
946
 
LIB_QPE
947
 
kde_qtver
948
 
KDE_EXTRA_RPATH
949
 
KDE_RPATH
950
 
X_RPATH
951
 
kde_libraries
952
 
kde_includes
953
 
KDE_LDFLAGS
954
 
KDE_INCLUDES
955
 
all_includes
956
 
all_libraries
957
 
AUTODIRS
958
 
include_ARTS_TRUE
959
 
include_ARTS_FALSE
960
 
MAKEKDEWIDGETS
961
 
KCONFIG_COMPILER
962
 
KCFG_DEPENDENCIES
963
 
DCOPIDLNG
964
 
DCOPIDL
965
 
DCOPIDL2CPP
966
 
DCOP_DEPENDENCIES
967
 
MCOPIDL
968
 
ARTSCCONFIG
969
 
MEINPROC
970
 
KDE_XSL_STYLESHEET
971
 
XMLLINT
972
 
kde_htmldir
973
 
kde_appsdir
974
 
kde_icondir
975
 
kde_sounddir
976
 
kde_datadir
977
 
kde_locale
978
 
kde_confdir
979
 
kde_kcfgdir
980
 
kde_mimedir
981
 
kde_wallpaperdir
982
 
kde_bindir
983
 
xdg_appsdir
984
 
xdg_menudir
985
 
xdg_directorydir
986
 
kde_templatesdir
987
 
kde_servicesdir
988
 
kde_servicetypesdir
989
 
kde_moduledir
990
 
kdeinitdir
991
 
kde_styledir
992
 
kde_widgetdir
993
 
LIB_KDED
994
 
LIB_KDECORE
995
 
LIB_KDEUI
996
 
LIB_KIO
997
 
LIB_KJS
998
 
LIB_SMB
999
 
LIB_KAB
1000
 
LIB_KABC
1001
 
LIB_KHTML
1002
 
LIB_KSPELL
1003
 
LIB_KPARTS
1004
 
LIB_KDEPRINT
1005
 
LIB_KUTILS
1006
 
LIB_KDEPIM
1007
 
LIB_KIMPROXY
1008
 
LIB_KNEWSTUFF
1009
 
LIB_KDNSSD
1010
 
LIB_KUNITTEST
1011
 
LIB_KSYCOCA
1012
 
LIB_KFILE
1013
 
LIB_KFM
1014
 
TOPSUBDIRS
1015
 
LIBOBJS
1016
 
LTLIBOBJS'
1017
 
ac_subst_files=''
1018
 
      ac_precious_vars='build_alias
1019
 
host_alias
1020
 
target_alias
1021
 
CC
1022
 
CFLAGS
1023
 
LDFLAGS
1024
 
LIBS
1025
 
CPPFLAGS
1026
 
CPP
1027
 
CXX
1028
 
CXXFLAGS
1029
 
CCC
1030
 
CXXCPP
1031
 
F77
1032
 
FFLAGS
1033
 
XMKMF'
1034
 
 
1035
 
 
1036
 
# Initialize some variables set by options.
1037
 
ac_init_help=
1038
 
ac_init_version=false
1039
 
# The variables have the same names as the options, with
1040
 
# dashes changed to underlines.
1041
 
cache_file=/dev/null
1042
 
exec_prefix=NONE
1043
 
no_create=
1044
 
no_recursion=
1045
 
prefix=NONE
1046
 
program_prefix=NONE
1047
 
program_suffix=NONE
1048
 
program_transform_name=s,x,x,
1049
 
silent=
1050
 
site=
1051
 
srcdir=
1052
 
verbose=
1053
 
x_includes=NONE
1054
 
x_libraries=NONE
1055
 
 
1056
 
# Installation directory options.
1057
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
1058
 
# and all the variables that are supposed to be based on exec_prefix
1059
 
# by default will actually change.
1060
 
# Use braces instead of parens because sh, perl, etc. also accept them.
1061
 
# (The list follows the same order as the GNU Coding Standards.)
1062
 
bindir='${exec_prefix}/bin'
1063
 
sbindir='${exec_prefix}/sbin'
1064
 
libexecdir='${exec_prefix}/libexec'
1065
 
datarootdir='${prefix}/share'
1066
 
datadir='${datarootdir}'
1067
 
sysconfdir='${prefix}/etc'
1068
 
sharedstatedir='${prefix}/com'
1069
 
localstatedir='${prefix}/var'
1070
 
includedir='${prefix}/include'
1071
 
oldincludedir='/usr/include'
1072
 
docdir='${datarootdir}/doc/${PACKAGE}'
1073
 
infodir='${datarootdir}/info'
1074
 
htmldir='${docdir}'
1075
 
dvidir='${docdir}'
1076
 
pdfdir='${docdir}'
1077
 
psdir='${docdir}'
1078
 
libdir='${exec_prefix}/lib'
1079
 
localedir='${datarootdir}/locale'
1080
 
mandir='${datarootdir}/man'
1081
 
 
1082
 
ac_prev=
1083
 
ac_dashdash=
1084
 
for ac_option
1085
 
do
1086
 
  # If the previous option needs an argument, assign it.
1087
 
  if test -n "$ac_prev"; then
1088
 
    eval $ac_prev=\$ac_option
1089
 
    ac_prev=
1090
 
    continue
1091
 
  fi
1092
 
 
1093
 
  case $ac_option in
1094
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1095
 
  *)    ac_optarg=yes ;;
1096
 
  esac
1097
 
 
1098
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1099
 
 
1100
 
  case $ac_dashdash$ac_option in
1101
 
  --)
1102
 
    ac_dashdash=yes ;;
1103
 
 
1104
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1105
 
    ac_prev=bindir ;;
1106
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1107
 
    bindir=$ac_optarg ;;
1108
 
 
1109
 
  -build | --build | --buil | --bui | --bu)
1110
 
    ac_prev=build_alias ;;
1111
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1112
 
    build_alias=$ac_optarg ;;
1113
 
 
1114
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1115
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1116
 
    ac_prev=cache_file ;;
1117
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1118
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1119
 
    cache_file=$ac_optarg ;;
1120
 
 
1121
 
  --config-cache | -C)
1122
 
    cache_file=config.cache ;;
1123
 
 
1124
 
  -datadir | --datadir | --datadi | --datad)
1125
 
    ac_prev=datadir ;;
1126
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1127
 
    datadir=$ac_optarg ;;
1128
 
 
1129
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1130
 
  | --dataroo | --dataro | --datar)
1131
 
    ac_prev=datarootdir ;;
1132
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1133
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1134
 
    datarootdir=$ac_optarg ;;
1135
 
 
1136
 
  -disable-* | --disable-*)
1137
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1138
 
    # Reject names that are not valid shell variable names.
1139
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1140
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1141
 
   { (exit 1); exit 1; }; }
1142
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1143
 
    eval enable_$ac_feature=no ;;
1144
 
 
1145
 
  -docdir | --docdir | --docdi | --doc | --do)
1146
 
    ac_prev=docdir ;;
1147
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1148
 
    docdir=$ac_optarg ;;
1149
 
 
1150
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1151
 
    ac_prev=dvidir ;;
1152
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1153
 
    dvidir=$ac_optarg ;;
1154
 
 
1155
 
  -enable-* | --enable-*)
1156
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1157
 
    # Reject names that are not valid shell variable names.
1158
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160
 
   { (exit 1); exit 1; }; }
1161
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162
 
    eval enable_$ac_feature=\$ac_optarg ;;
1163
 
 
1164
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1165
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1166
 
  | --exec | --exe | --ex)
1167
 
    ac_prev=exec_prefix ;;
1168
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1169
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1170
 
  | --exec=* | --exe=* | --ex=*)
1171
 
    exec_prefix=$ac_optarg ;;
1172
 
 
1173
 
  -gas | --gas | --ga | --g)
1174
 
    # Obsolete; use --with-gas.
1175
 
    with_gas=yes ;;
1176
 
 
1177
 
  -help | --help | --hel | --he | -h)
1178
 
    ac_init_help=long ;;
1179
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1180
 
    ac_init_help=recursive ;;
1181
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1182
 
    ac_init_help=short ;;
1183
 
 
1184
 
  -host | --host | --hos | --ho)
1185
 
    ac_prev=host_alias ;;
1186
 
  -host=* | --host=* | --hos=* | --ho=*)
1187
 
    host_alias=$ac_optarg ;;
1188
 
 
1189
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1190
 
    ac_prev=htmldir ;;
1191
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1192
 
  | --ht=*)
1193
 
    htmldir=$ac_optarg ;;
1194
 
 
1195
 
  -includedir | --includedir | --includedi | --included | --include \
1196
 
  | --includ | --inclu | --incl | --inc)
1197
 
    ac_prev=includedir ;;
1198
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1199
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1200
 
    includedir=$ac_optarg ;;
1201
 
 
1202
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1203
 
    ac_prev=infodir ;;
1204
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1205
 
    infodir=$ac_optarg ;;
1206
 
 
1207
 
  -libdir | --libdir | --libdi | --libd)
1208
 
    ac_prev=libdir ;;
1209
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1210
 
    libdir=$ac_optarg ;;
1211
 
 
1212
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1213
 
  | --libexe | --libex | --libe)
1214
 
    ac_prev=libexecdir ;;
1215
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1216
 
  | --libexe=* | --libex=* | --libe=*)
1217
 
    libexecdir=$ac_optarg ;;
1218
 
 
1219
 
  -localedir | --localedir | --localedi | --localed | --locale)
1220
 
    ac_prev=localedir ;;
1221
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1222
 
    localedir=$ac_optarg ;;
1223
 
 
1224
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1225
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1226
 
    ac_prev=localstatedir ;;
1227
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1228
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1229
 
    localstatedir=$ac_optarg ;;
1230
 
 
1231
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1232
 
    ac_prev=mandir ;;
1233
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1234
 
    mandir=$ac_optarg ;;
1235
 
 
1236
 
  -nfp | --nfp | --nf)
1237
 
    # Obsolete; use --without-fp.
1238
 
    with_fp=no ;;
1239
 
 
1240
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1241
 
  | --no-cr | --no-c | -n)
1242
 
    no_create=yes ;;
1243
 
 
1244
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1245
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1246
 
    no_recursion=yes ;;
1247
 
 
1248
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1249
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1250
 
  | --oldin | --oldi | --old | --ol | --o)
1251
 
    ac_prev=oldincludedir ;;
1252
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1253
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1254
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1255
 
    oldincludedir=$ac_optarg ;;
1256
 
 
1257
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1258
 
    ac_prev=prefix ;;
1259
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1260
 
    prefix=$ac_optarg ;;
1261
 
 
1262
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1263
 
  | --program-pre | --program-pr | --program-p)
1264
 
    ac_prev=program_prefix ;;
1265
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1266
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1267
 
    program_prefix=$ac_optarg ;;
1268
 
 
1269
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1270
 
  | --program-suf | --program-su | --program-s)
1271
 
    ac_prev=program_suffix ;;
1272
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1273
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1274
 
    program_suffix=$ac_optarg ;;
1275
 
 
1276
 
  -program-transform-name | --program-transform-name \
1277
 
  | --program-transform-nam | --program-transform-na \
1278
 
  | --program-transform-n | --program-transform- \
1279
 
  | --program-transform | --program-transfor \
1280
 
  | --program-transfo | --program-transf \
1281
 
  | --program-trans | --program-tran \
1282
 
  | --progr-tra | --program-tr | --program-t)
1283
 
    ac_prev=program_transform_name ;;
1284
 
  -program-transform-name=* | --program-transform-name=* \
1285
 
  | --program-transform-nam=* | --program-transform-na=* \
1286
 
  | --program-transform-n=* | --program-transform-=* \
1287
 
  | --program-transform=* | --program-transfor=* \
1288
 
  | --program-transfo=* | --program-transf=* \
1289
 
  | --program-trans=* | --program-tran=* \
1290
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1291
 
    program_transform_name=$ac_optarg ;;
1292
 
 
1293
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1294
 
    ac_prev=pdfdir ;;
1295
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1296
 
    pdfdir=$ac_optarg ;;
1297
 
 
1298
 
  -psdir | --psdir | --psdi | --psd | --ps)
1299
 
    ac_prev=psdir ;;
1300
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1301
 
    psdir=$ac_optarg ;;
1302
 
 
1303
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1304
 
  | -silent | --silent | --silen | --sile | --sil)
1305
 
    silent=yes ;;
1306
 
 
1307
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1308
 
    ac_prev=sbindir ;;
1309
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1310
 
  | --sbi=* | --sb=*)
1311
 
    sbindir=$ac_optarg ;;
1312
 
 
1313
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1314
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1315
 
  | --sharedst | --shareds | --shared | --share | --shar \
1316
 
  | --sha | --sh)
1317
 
    ac_prev=sharedstatedir ;;
1318
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1319
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1320
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1321
 
  | --sha=* | --sh=*)
1322
 
    sharedstatedir=$ac_optarg ;;
1323
 
 
1324
 
  -site | --site | --sit)
1325
 
    ac_prev=site ;;
1326
 
  -site=* | --site=* | --sit=*)
1327
 
    site=$ac_optarg ;;
1328
 
 
1329
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1330
 
    ac_prev=srcdir ;;
1331
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1332
 
    srcdir=$ac_optarg ;;
1333
 
 
1334
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1335
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1336
 
    ac_prev=sysconfdir ;;
1337
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1338
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1339
 
    sysconfdir=$ac_optarg ;;
1340
 
 
1341
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1342
 
    ac_prev=target_alias ;;
1343
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1344
 
    target_alias=$ac_optarg ;;
1345
 
 
1346
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1347
 
    verbose=yes ;;
1348
 
 
1349
 
  -version | --version | --versio | --versi | --vers | -V)
1350
 
    ac_init_version=: ;;
1351
 
 
1352
 
  -with-* | --with-*)
1353
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1354
 
    # Reject names that are not valid shell variable names.
1355
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1356
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1357
 
   { (exit 1); exit 1; }; }
1358
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1359
 
    eval with_$ac_package=\$ac_optarg ;;
1360
 
 
1361
 
  -without-* | --without-*)
1362
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1363
 
    # Reject names that are not valid shell variable names.
1364
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1365
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1366
 
   { (exit 1); exit 1; }; }
1367
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1368
 
    eval with_$ac_package=no ;;
1369
 
 
1370
 
  --x)
1371
 
    # Obsolete; use --with-x.
1372
 
    with_x=yes ;;
1373
 
 
1374
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1375
 
  | --x-incl | --x-inc | --x-in | --x-i)
1376
 
    ac_prev=x_includes ;;
1377
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1378
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1379
 
    x_includes=$ac_optarg ;;
1380
 
 
1381
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1382
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1383
 
    ac_prev=x_libraries ;;
1384
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1385
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1386
 
    x_libraries=$ac_optarg ;;
1387
 
 
1388
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1389
 
Try \`$0 --help' for more information." >&2
1390
 
   { (exit 1); exit 1; }; }
1391
 
    ;;
1392
 
 
1393
 
  *=*)
1394
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1395
 
    # Reject names that are not valid shell variable names.
1396
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1397
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1398
 
   { (exit 1); exit 1; }; }
1399
 
    eval $ac_envvar=\$ac_optarg
1400
 
    export $ac_envvar ;;
1401
 
 
1402
 
  *)
1403
 
    # FIXME: should be removed in autoconf 3.0.
1404
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1405
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1406
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1407
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1408
 
    ;;
1409
 
 
1410
 
  esac
1411
 
done
1412
 
 
1413
 
if test -n "$ac_prev"; then
1414
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1415
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1416
 
   { (exit 1); exit 1; }; }
1417
 
fi
1418
 
 
1419
 
# Be sure to have absolute directory names.
1420
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1421
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1422
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1423
 
                libdir localedir mandir
1424
 
do
1425
 
  eval ac_val=\$$ac_var
1426
 
  case $ac_val in
1427
 
    [\\/$]* | ?:[\\/]* )  continue;;
1428
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1429
 
  esac
1430
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1431
 
   { (exit 1); exit 1; }; }
1432
 
done
1433
 
 
1434
 
# There might be people who depend on the old broken behavior: `$host'
1435
 
# used to hold the argument of --host etc.
1436
 
# FIXME: To remove some day.
1437
 
build=$build_alias
1438
 
host=$host_alias
1439
 
target=$target_alias
1440
 
 
1441
 
# FIXME: To remove some day.
1442
 
if test "x$host_alias" != x; then
1443
 
  if test "x$build_alias" = x; then
1444
 
    cross_compiling=maybe
1445
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1446
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1447
 
  elif test "x$build_alias" != "x$host_alias"; then
1448
 
    cross_compiling=yes
1449
 
  fi
1450
 
fi
1451
 
 
1452
 
ac_tool_prefix=
1453
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1454
 
 
1455
 
test "$silent" = yes && exec 6>/dev/null
1456
 
 
1457
 
 
1458
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1459
 
ac_ls_di=`ls -di .` &&
1460
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1461
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1462
 
   { (exit 1); exit 1; }; }
1463
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1464
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1465
 
   { (exit 1); exit 1; }; }
1466
 
 
1467
 
 
1468
 
# Find the source files, if location was not specified.
1469
 
if test -z "$srcdir"; then
1470
 
  ac_srcdir_defaulted=yes
1471
 
  # Try the directory containing this script, then the parent directory.
1472
 
  ac_confdir=`$as_dirname -- "$0" ||
1473
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1474
 
         X"$0" : 'X\(//\)[^/]' \| \
1475
 
         X"$0" : 'X\(//\)$' \| \
1476
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1477
 
echo X"$0" |
1478
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1479
 
            s//\1/
1480
 
            q
1481
 
          }
1482
 
          /^X\(\/\/\)[^/].*/{
1483
 
            s//\1/
1484
 
            q
1485
 
          }
1486
 
          /^X\(\/\/\)$/{
1487
 
            s//\1/
1488
 
            q
1489
 
          }
1490
 
          /^X\(\/\).*/{
1491
 
            s//\1/
1492
 
            q
1493
 
          }
1494
 
          s/.*/./; q'`
1495
 
  srcdir=$ac_confdir
1496
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1497
 
    srcdir=..
1498
 
  fi
1499
 
else
1500
 
  ac_srcdir_defaulted=no
1501
 
fi
1502
 
if test ! -r "$srcdir/$ac_unique_file"; then
1503
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1504
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1505
 
   { (exit 1); exit 1; }; }
1506
 
fi
1507
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1508
 
ac_abs_confdir=`(
1509
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1510
 
   { (exit 1); exit 1; }; }
1511
 
        pwd)`
1512
 
# When building in place, set srcdir=.
1513
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1514
 
  srcdir=.
1515
 
fi
1516
 
# Remove unnecessary trailing slashes from srcdir.
1517
 
# Double slashes in file names in object file debugging info
1518
 
# mess up M-x gdb in Emacs.
1519
 
case $srcdir in
1520
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1521
 
esac
1522
 
for ac_var in $ac_precious_vars; do
1523
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1524
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1525
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1526
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1527
 
done
1528
 
 
1529
 
#
1530
 
# Report the --help message.
1531
 
#
1532
 
if test "$ac_init_help" = "long"; then
1533
 
  # Omit some internal or obsolete options to make the list less imposing.
1534
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1535
 
  cat <<_ACEOF
1536
 
\`configure' configures this package to adapt to many kinds of systems.
1537
 
 
1538
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1539
 
 
1540
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1541
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1542
 
 
1543
 
Defaults for the options are specified in brackets.
1544
 
 
1545
 
Configuration:
1546
 
  -h, --help              display this help and exit
1547
 
      --help=short        display options specific to this package
1548
 
      --help=recursive    display the short help of all the included packages
1549
 
  -V, --version           display version information and exit
1550
 
  -q, --quiet, --silent   do not print \`checking...' messages
1551
 
      --cache-file=FILE   cache test results in FILE [disabled]
1552
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1553
 
  -n, --no-create         do not create output files
1554
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1555
 
 
1556
 
Installation directories:
1557
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1558
 
                          [$ac_default_prefix]
1559
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1560
 
                          [PREFIX]
1561
 
 
1562
 
By default, \`make install' will install all the files in
1563
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1564
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1565
 
for instance \`--prefix=\$HOME'.
1566
 
 
1567
 
For better control, use the options below.
1568
 
 
1569
 
Fine tuning of the installation directories:
1570
 
  --bindir=DIR           user executables [EPREFIX/bin]
1571
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1572
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1573
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1574
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1575
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1576
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1577
 
  --includedir=DIR       C header files [PREFIX/include]
1578
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1579
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1580
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1581
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1582
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1583
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1584
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1585
 
  --htmldir=DIR          html documentation [DOCDIR]
1586
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1587
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1588
 
  --psdir=DIR            ps documentation [DOCDIR]
1589
 
_ACEOF
1590
 
 
1591
 
  cat <<\_ACEOF
1592
 
 
1593
 
Program names:
1594
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1595
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1596
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1597
 
 
1598
 
System types:
1599
 
  --build=BUILD     configure for building on BUILD [guessed]
1600
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1601
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1602
 
_ACEOF
1603
 
fi
1604
 
 
1605
 
if test -n "$ac_init_help"; then
1606
 
 
1607
 
  cat <<\_ACEOF
1608
 
 
1609
 
Optional Features:
1610
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1611
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1612
 
  --disable-fast-perl     disable fast Makefile generation (needs perl)
1613
 
  --enable-debug=ARG      enables debug symbols (yes|no|full) default=no
1614
 
  --disable-debug         disables debug output and debug symbols default=no
1615
 
  --enable-strict         compiles with strict compiler options (may not
1616
 
                          work!)
1617
 
  --disable-warnings      disables compilation with -Wall and similar
1618
 
  --enable-profile        creates profiling infos default=no
1619
 
  --disable-dependency-tracking  speeds up one-time build
1620
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1621
 
  --enable-pch            enables precompiled header support (currently only
1622
 
                          KCC or gcc >=3.4+unsermake) default=no
1623
 
  --enable-coverage       use gcc coverage testing
1624
 
  --enable-new-ldflags    enable the new linker flags
1625
 
  --enable-final          build size optimized apps (experimental - needs lots
1626
 
                          of memory)
1627
 
  --enable-closure        delay template instantiation
1628
 
  --enable-nmcheck        enable automatic namespace cleanness check
1629
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1630
 
  --enable-static[=PKGS]  build static libraries [default=no]
1631
 
  --enable-libsuffix      /lib directory suffix (64,32,none,auto=default)
1632
 
  --enable-fast-install[=PKGS]
1633
 
                          optimize for fast installation [default=yes]
1634
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1635
 
  --enable-pie            platform supports PIE linking default=detect
1636
 
  --enable-embedded       link to Qt-embedded, don't use X
1637
 
  --enable-qtopia         link to Qt-embedded, link to the Qtopia Environment
1638
 
  --enable-mac            link to Qt/Mac (don't use X)
1639
 
  --disable-mt            link to non-threaded Qt (deprecated)
1640
 
  --disable-threading     disables threading even if libpthread found
1641
 
  --disable-rpath         do not use the rpath feature of ld
1642
 
  --disable-path-check    don't try to find out, where to install
1643
 
 
1644
 
Optional Packages:
1645
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1646
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1647
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1648
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1649
 
                          both]
1650
 
  --with-tags[=TAGS]      include additional configurations [automatic]
1651
 
  --with-extra-includes=DIR
1652
 
                          adds non standard include paths
1653
 
  --with-extra-libs=DIR   adds non standard library paths
1654
 
  --with-qt-dir=DIR       where the root of Qt is installed
1655
 
  --with-qt-includes=DIR  where the Qt includes are.
1656
 
  --with-qt-libraries=DIR where the Qt library is installed.
1657
 
  --without-arts          build without aRts default=no
1658
 
 
1659
 
Some influential environment variables:
1660
 
  CC          C compiler command
1661
 
  CFLAGS      C compiler flags
1662
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1663
 
              nonstandard directory <lib dir>
1664
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1665
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1666
 
              you have headers in a nonstandard directory <include dir>
1667
 
  CPP         C preprocessor
1668
 
  CXX         C++ compiler command
1669
 
  CXXFLAGS    C++ compiler flags
1670
 
  CXXCPP      C++ preprocessor
1671
 
  F77         Fortran 77 compiler command
1672
 
  FFLAGS      Fortran 77 compiler flags
1673
 
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1674
 
 
1675
 
Use these variables to override the choices made by `configure' or to help
1676
 
it to find libraries and programs with nonstandard names/locations.
1677
 
 
1678
 
_ACEOF
1679
 
ac_status=$?
1680
 
fi
1681
 
 
1682
 
if test "$ac_init_help" = "recursive"; then
1683
 
  # If there are subdirs, report their specific --help.
1684
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1685
 
    test -d "$ac_dir" || continue
1686
 
    ac_builddir=.
1687
 
 
1688
 
case "$ac_dir" in
1689
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1690
 
*)
1691
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1692
 
  # A ".." for each directory in $ac_dir_suffix.
1693
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1694
 
  case $ac_top_builddir_sub in
1695
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1696
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1697
 
  esac ;;
1698
 
esac
1699
 
ac_abs_top_builddir=$ac_pwd
1700
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1701
 
# for backward compatibility:
1702
 
ac_top_builddir=$ac_top_build_prefix
1703
 
 
1704
 
case $srcdir in
1705
 
  .)  # We are building in place.
1706
 
    ac_srcdir=.
1707
 
    ac_top_srcdir=$ac_top_builddir_sub
1708
 
    ac_abs_top_srcdir=$ac_pwd ;;
1709
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1710
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1711
 
    ac_top_srcdir=$srcdir
1712
 
    ac_abs_top_srcdir=$srcdir ;;
1713
 
  *) # Relative name.
1714
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1715
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1716
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1717
 
esac
1718
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1719
 
 
1720
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1721
 
    # Check for guested configure.
1722
 
    if test -f "$ac_srcdir/configure.gnu"; then
1723
 
      echo &&
1724
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1725
 
    elif test -f "$ac_srcdir/configure"; then
1726
 
      echo &&
1727
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1728
 
    else
1729
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1730
 
    fi || ac_status=$?
1731
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1732
 
  done
1733
 
fi
1734
 
 
1735
 
test -n "$ac_init_help" && exit $ac_status
1736
 
if $ac_init_version; then
1737
 
  cat <<\_ACEOF
1738
 
configure
1739
 
generated by GNU Autoconf 2.61
1740
 
 
1741
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1742
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1743
 
This configure script is free software; the Free Software Foundation
1744
 
gives unlimited permission to copy, distribute and modify it.
1745
 
_ACEOF
1746
 
  exit
1747
 
fi
1748
 
cat >config.log <<_ACEOF
1749
 
This file contains any messages produced by compilers while
1750
 
running configure, to aid debugging if configure makes a mistake.
1751
 
 
1752
 
It was created by $as_me, which was
1753
 
generated by GNU Autoconf 2.61.  Invocation command line was
1754
 
 
1755
 
  $ $0 $@
1756
 
 
1757
 
_ACEOF
1758
 
exec 5>>config.log
1759
 
{
1760
 
cat <<_ASUNAME
1761
 
## --------- ##
1762
 
## Platform. ##
1763
 
## --------- ##
1764
 
 
1765
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1766
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1767
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1768
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1769
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1770
 
 
1771
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1772
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1773
 
 
1774
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1775
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1776
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1777
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1778
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1779
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1780
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1781
 
 
1782
 
_ASUNAME
1783
 
 
1784
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1785
 
for as_dir in $PATH
1786
 
do
1787
 
  IFS=$as_save_IFS
1788
 
  test -z "$as_dir" && as_dir=.
1789
 
  echo "PATH: $as_dir"
1790
 
done
1791
 
IFS=$as_save_IFS
1792
 
 
1793
 
} >&5
1794
 
 
1795
 
cat >&5 <<_ACEOF
1796
 
 
1797
 
 
1798
 
## ----------- ##
1799
 
## Core tests. ##
1800
 
## ----------- ##
1801
 
 
1802
 
_ACEOF
1803
 
 
1804
 
 
1805
 
# Keep a trace of the command line.
1806
 
# Strip out --no-create and --no-recursion so they do not pile up.
1807
 
# Strip out --silent because we don't want to record it for future runs.
1808
 
# Also quote any args containing shell meta-characters.
1809
 
# Make two passes to allow for proper duplicate-argument suppression.
1810
 
ac_configure_args=
1811
 
ac_configure_args0=
1812
 
ac_configure_args1=
1813
 
ac_must_keep_next=false
1814
 
for ac_pass in 1 2
1815
 
do
1816
 
  for ac_arg
1817
 
  do
1818
 
    case $ac_arg in
1819
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1820
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1821
 
    | -silent | --silent | --silen | --sile | --sil)
1822
 
      continue ;;
1823
 
    *\'*)
1824
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1825
 
    esac
1826
 
    case $ac_pass in
1827
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1828
 
    2)
1829
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1830
 
      if test $ac_must_keep_next = true; then
1831
 
        ac_must_keep_next=false # Got value, back to normal.
1832
 
      else
1833
 
        case $ac_arg in
1834
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1835
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1836
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1837
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1838
 
            case "$ac_configure_args0 " in
1839
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1840
 
            esac
1841
 
            ;;
1842
 
          -* ) ac_must_keep_next=true ;;
1843
 
        esac
1844
 
      fi
1845
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1846
 
      ;;
1847
 
    esac
1848
 
  done
1849
 
done
1850
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1851
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1852
 
 
1853
 
# When interrupted or exit'd, cleanup temporary files, and complete
1854
 
# config.log.  We remove comments because anyway the quotes in there
1855
 
# would cause problems or look ugly.
1856
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1857
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1858
 
trap 'exit_status=$?
1859
 
  # Save into config.log some information that might help in debugging.
1860
 
  {
1861
 
    echo
1862
 
 
1863
 
    cat <<\_ASBOX
1864
 
## ---------------- ##
1865
 
## Cache variables. ##
1866
 
## ---------------- ##
1867
 
_ASBOX
1868
 
    echo
1869
 
    # The following way of writing the cache mishandles newlines in values,
1870
 
(
1871
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1872
 
    eval ac_val=\$$ac_var
1873
 
    case $ac_val in #(
1874
 
    *${as_nl}*)
1875
 
      case $ac_var in #(
1876
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1877
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1878
 
      esac
1879
 
      case $ac_var in #(
1880
 
      _ | IFS | as_nl) ;; #(
1881
 
      *) $as_unset $ac_var ;;
1882
 
      esac ;;
1883
 
    esac
1884
 
  done
1885
 
  (set) 2>&1 |
1886
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1887
 
    *${as_nl}ac_space=\ *)
1888
 
      sed -n \
1889
 
        "s/'\''/'\''\\\\'\'''\''/g;
1890
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1891
 
      ;; #(
1892
 
    *)
1893
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1894
 
      ;;
1895
 
    esac |
1896
 
    sort
1897
 
)
1898
 
    echo
1899
 
 
1900
 
    cat <<\_ASBOX
1901
 
## ----------------- ##
1902
 
## Output variables. ##
1903
 
## ----------------- ##
1904
 
_ASBOX
1905
 
    echo
1906
 
    for ac_var in $ac_subst_vars
1907
 
    do
1908
 
      eval ac_val=\$$ac_var
1909
 
      case $ac_val in
1910
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1911
 
      esac
1912
 
      echo "$ac_var='\''$ac_val'\''"
1913
 
    done | sort
1914
 
    echo
1915
 
 
1916
 
    if test -n "$ac_subst_files"; then
1917
 
      cat <<\_ASBOX
1918
 
## ------------------- ##
1919
 
## File substitutions. ##
1920
 
## ------------------- ##
1921
 
_ASBOX
1922
 
      echo
1923
 
      for ac_var in $ac_subst_files
1924
 
      do
1925
 
        eval ac_val=\$$ac_var
1926
 
        case $ac_val in
1927
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1928
 
        esac
1929
 
        echo "$ac_var='\''$ac_val'\''"
1930
 
      done | sort
1931
 
      echo
1932
 
    fi
1933
 
 
1934
 
    if test -s confdefs.h; then
1935
 
      cat <<\_ASBOX
1936
 
## ----------- ##
1937
 
## confdefs.h. ##
1938
 
## ----------- ##
1939
 
_ASBOX
1940
 
      echo
1941
 
      cat confdefs.h
1942
 
      echo
1943
 
    fi
1944
 
    test "$ac_signal" != 0 &&
1945
 
      echo "$as_me: caught signal $ac_signal"
1946
 
    echo "$as_me: exit $exit_status"
1947
 
  } >&5
1948
 
  rm -f core *.core core.conftest.* &&
1949
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1950
 
    exit $exit_status
1951
 
' 0
1952
 
for ac_signal in 1 2 13 15; do
1953
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1954
 
done
1955
 
ac_signal=0
1956
 
 
1957
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1958
 
rm -f -r conftest* confdefs.h
1959
 
 
1960
 
# Predefined preprocessor variables.
1961
 
 
1962
 
cat >>confdefs.h <<_ACEOF
1963
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1964
 
_ACEOF
1965
 
 
1966
 
 
1967
 
cat >>confdefs.h <<_ACEOF
1968
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1969
 
_ACEOF
1970
 
 
1971
 
 
1972
 
cat >>confdefs.h <<_ACEOF
1973
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1974
 
_ACEOF
1975
 
 
1976
 
 
1977
 
cat >>confdefs.h <<_ACEOF
1978
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1979
 
_ACEOF
1980
 
 
1981
 
 
1982
 
cat >>confdefs.h <<_ACEOF
1983
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1984
 
_ACEOF
1985
 
 
1986
 
 
1987
 
# Let the site file select an alternate cache file if it wants to.
1988
 
# Prefer explicitly selected file to automatically selected ones.
1989
 
if test -n "$CONFIG_SITE"; then
1990
 
  set x "$CONFIG_SITE"
1991
 
elif test "x$prefix" != xNONE; then
1992
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1993
 
else
1994
 
  set x "$ac_default_prefix/share/config.site" \
1995
 
        "$ac_default_prefix/etc/config.site"
1996
 
fi
1997
 
shift
1998
 
for ac_site_file
1999
 
do
2000
 
  if test -r "$ac_site_file"; then
2001
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2002
 
echo "$as_me: loading site script $ac_site_file" >&6;}
2003
 
    sed 's/^/| /' "$ac_site_file" >&5
2004
 
    . "$ac_site_file"
2005
 
  fi
2006
 
done
2007
 
 
2008
 
if test -r "$cache_file"; then
2009
 
  # Some versions of bash will fail to source /dev/null (special
2010
 
  # files actually), so we avoid doing that.
2011
 
  if test -f "$cache_file"; then
2012
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2013
 
echo "$as_me: loading cache $cache_file" >&6;}
2014
 
    case $cache_file in
2015
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2016
 
      *)                      . "./$cache_file";;
2017
 
    esac
2018
 
  fi
2019
 
else
2020
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2021
 
echo "$as_me: creating cache $cache_file" >&6;}
2022
 
  >$cache_file
2023
 
fi
2024
 
 
2025
 
# Check that the precious variables saved in the cache have kept the same
2026
 
# value.
2027
 
ac_cache_corrupted=false
2028
 
for ac_var in $ac_precious_vars; do
2029
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2030
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2031
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2032
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2033
 
  case $ac_old_set,$ac_new_set in
2034
 
    set,)
2035
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2036
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2037
 
      ac_cache_corrupted=: ;;
2038
 
    ,set)
2039
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2040
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2041
 
      ac_cache_corrupted=: ;;
2042
 
    ,);;
2043
 
    *)
2044
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2045
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2046
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2047
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2048
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
2049
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2050
 
echo "$as_me:   current value: $ac_new_val" >&2;}
2051
 
        ac_cache_corrupted=:
2052
 
      fi;;
2053
 
  esac
2054
 
  # Pass precious variables to config.status.
2055
 
  if test "$ac_new_set" = set; then
2056
 
    case $ac_new_val in
2057
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2058
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2059
 
    esac
2060
 
    case " $ac_configure_args " in
2061
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2062
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2063
 
    esac
2064
 
  fi
2065
 
done
2066
 
if $ac_cache_corrupted; then
2067
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2068
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2069
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2070
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2071
 
   { (exit 1); exit 1; }; }
2072
 
fi
2073
 
 
2074
 
 
2075
 
 
2076
 
 
2077
 
 
2078
 
 
2079
 
 
2080
 
 
2081
 
 
2082
 
 
2083
 
 
2084
 
 
2085
 
 
2086
 
 
2087
 
 
2088
 
 
2089
 
 
2090
 
ac_ext=c
2091
 
ac_cpp='$CPP $CPPFLAGS'
2092
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2093
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2094
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2095
 
 
2096
 
 
2097
 
ac_aux_dir=
2098
 
for ac_dir in admin "$srcdir"/admin; do
2099
 
  if test -f "$ac_dir/install-sh"; then
2100
 
    ac_aux_dir=$ac_dir
2101
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2102
 
    break
2103
 
  elif 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/shtool"; then
2108
 
    ac_aux_dir=$ac_dir
2109
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2110
 
    break
2111
 
  fi
2112
 
done
2113
 
if test -z "$ac_aux_dir"; then
2114
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5
2115
 
echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;}
2116
 
   { (exit 1); exit 1; }; }
2117
 
fi
2118
 
 
2119
 
# These three variables are undocumented and unsupported,
2120
 
# and are intended to be withdrawn in a future Autoconf release.
2121
 
# They can cause serious problems if a builder's source tree is in a directory
2122
 
# whose full name contains unusual characters.
2123
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2124
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2125
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2126
 
 
2127
 
 
2128
 
 
2129
 
unset CDPATH
2130
 
 
2131
 
# Make sure we can run config.sub.
2132
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2133
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2134
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2135
 
   { (exit 1); exit 1; }; }
2136
 
 
2137
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2138
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2139
 
if test "${ac_cv_build+set}" = set; then
2140
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2141
 
else
2142
 
  ac_build_alias=$build_alias
2143
 
test "x$ac_build_alias" = x &&
2144
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2145
 
test "x$ac_build_alias" = x &&
2146
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2147
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2148
 
   { (exit 1); exit 1; }; }
2149
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2150
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2151
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2152
 
   { (exit 1); exit 1; }; }
2153
 
 
2154
 
fi
2155
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2156
 
echo "${ECHO_T}$ac_cv_build" >&6; }
2157
 
case $ac_cv_build in
2158
 
*-*-*) ;;
2159
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2160
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2161
 
   { (exit 1); exit 1; }; };;
2162
 
esac
2163
 
build=$ac_cv_build
2164
 
ac_save_IFS=$IFS; IFS='-'
2165
 
set x $ac_cv_build
2166
 
shift
2167
 
build_cpu=$1
2168
 
build_vendor=$2
2169
 
shift; shift
2170
 
# Remember, the first character of IFS is used to create $*,
2171
 
# except with old shells:
2172
 
build_os=$*
2173
 
IFS=$ac_save_IFS
2174
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2175
 
 
2176
 
 
2177
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2178
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2179
 
if test "${ac_cv_host+set}" = set; then
2180
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2181
 
else
2182
 
  if test "x$host_alias" = x; then
2183
 
  ac_cv_host=$ac_cv_build
2184
 
else
2185
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2186
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2187
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2188
 
   { (exit 1); exit 1; }; }
2189
 
fi
2190
 
 
2191
 
fi
2192
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2193
 
echo "${ECHO_T}$ac_cv_host" >&6; }
2194
 
case $ac_cv_host in
2195
 
*-*-*) ;;
2196
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2197
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2198
 
   { (exit 1); exit 1; }; };;
2199
 
esac
2200
 
host=$ac_cv_host
2201
 
ac_save_IFS=$IFS; IFS='-'
2202
 
set x $ac_cv_host
2203
 
shift
2204
 
host_cpu=$1
2205
 
host_vendor=$2
2206
 
shift; shift
2207
 
# Remember, the first character of IFS is used to create $*,
2208
 
# except with old shells:
2209
 
host_os=$*
2210
 
IFS=$ac_save_IFS
2211
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2212
 
 
2213
 
 
2214
 
{ echo "$as_me:$LINENO: checking target system type" >&5
2215
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2216
 
if test "${ac_cv_target+set}" = set; then
2217
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2218
 
else
2219
 
  if test "x$target_alias" = x; then
2220
 
  ac_cv_target=$ac_cv_host
2221
 
else
2222
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2223
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2224
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2225
 
   { (exit 1); exit 1; }; }
2226
 
fi
2227
 
 
2228
 
fi
2229
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2230
 
echo "${ECHO_T}$ac_cv_target" >&6; }
2231
 
case $ac_cv_target in
2232
 
*-*-*) ;;
2233
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2234
 
echo "$as_me: error: invalid value of canonical target" >&2;}
2235
 
   { (exit 1); exit 1; }; };;
2236
 
esac
2237
 
target=$ac_cv_target
2238
 
ac_save_IFS=$IFS; IFS='-'
2239
 
set x $ac_cv_target
2240
 
shift
2241
 
target_cpu=$1
2242
 
target_vendor=$2
2243
 
shift; shift
2244
 
# Remember, the first character of IFS is used to create $*,
2245
 
# except with old shells:
2246
 
target_os=$*
2247
 
IFS=$ac_save_IFS
2248
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2249
 
 
2250
 
 
2251
 
# The aliases save the names the user supplied, while $host etc.
2252
 
# will get canonicalized.
2253
 
test -n "$target_alias" &&
2254
 
  test "$program_prefix$program_suffix$program_transform_name" = \
2255
 
    NONENONEs,x,x, &&
2256
 
  program_prefix=${target_alias}-
2257
 
test "$program_prefix" != NONE &&
2258
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2259
 
# Use a double $ so make ignores it.
2260
 
test "$program_suffix" != NONE &&
2261
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2262
 
# Double any \ or $.  echo might interpret backslashes.
2263
 
# By default was `s,x,x', remove it if useless.
2264
 
cat <<\_ACEOF >conftest.sed
2265
 
s/[\\$]/&&/g;s/;s,x,x,$//
2266
 
_ACEOF
2267
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2268
 
rm -f conftest.sed
2269
 
 
2270
 
 
2271
 
am__api_version='1.10'
2272
 
 
2273
 
 
2274
 
 
2275
 
          test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
2276
 
  test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
2277
 
  test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
2278
 
  # Find a good install program.  We prefer a C program (faster),
2279
 
# so one script is as good as another.  But avoid the broken or
2280
 
# incompatible versions:
2281
 
# SysV /etc/install, /usr/sbin/install
2282
 
# SunOS /usr/etc/install
2283
 
# IRIX /sbin/install
2284
 
# AIX /bin/install
2285
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2286
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2287
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2288
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2289
 
# OS/2's system install, which has a completely different semantic
2290
 
# ./install, which can be erroneously created by make from ./install.sh.
2291
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2292
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2293
 
if test -z "$INSTALL"; then
2294
 
if test "${ac_cv_path_install+set}" = set; then
2295
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2296
 
else
2297
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298
 
for as_dir in $PATH
2299
 
do
2300
 
  IFS=$as_save_IFS
2301
 
  test -z "$as_dir" && as_dir=.
2302
 
  # Account for people who put trailing slashes in PATH elements.
2303
 
case $as_dir/ in
2304
 
  ./ | .// | /cC/* | \
2305
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2306
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2307
 
  /usr/ucb/* ) ;;
2308
 
  *)
2309
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2310
 
    # Don't use installbsd from OSF since it installs stuff as root
2311
 
    # by default.
2312
 
    for ac_prog in ginstall scoinst install; do
2313
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2314
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2315
 
          if test $ac_prog = install &&
2316
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2317
 
            # AIX install.  It has an incompatible calling convention.
2318
 
            :
2319
 
          elif test $ac_prog = install &&
2320
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2321
 
            # program-specific install script used by HP pwplus--don't use.
2322
 
            :
2323
 
          else
2324
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2325
 
            break 3
2326
 
          fi
2327
 
        fi
2328
 
      done
2329
 
    done
2330
 
    ;;
2331
 
esac
2332
 
done
2333
 
IFS=$as_save_IFS
2334
 
 
2335
 
 
2336
 
fi
2337
 
  if test "${ac_cv_path_install+set}" = set; then
2338
 
    INSTALL=$ac_cv_path_install
2339
 
  else
2340
 
    # As a last resort, use the slow shell script.  Don't cache a
2341
 
    # value for INSTALL within a source directory, because that will
2342
 
    # break other packages using the cache if that directory is
2343
 
    # removed, or if the value is a relative name.
2344
 
    INSTALL=$ac_install_sh
2345
 
  fi
2346
 
fi
2347
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2348
 
echo "${ECHO_T}$INSTALL" >&6; }
2349
 
 
2350
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2351
 
# It thinks the first close brace ends the variable substitution.
2352
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2353
 
 
2354
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2355
 
 
2356
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2357
 
 
2358
 
 
2359
 
  if test -z "$kde_save_INSTALL_given" ; then
2360
 
    # OK, user hasn't given any INSTALL, autoconf found one for us
2361
 
    # now we test, if it supports the -p flag
2362
 
    { echo "$as_me:$LINENO: checking for -p flag to install" >&5
2363
 
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6; }
2364
 
    rm -f confinst.$$.* > /dev/null 2>&1
2365
 
    echo "Testtest" > confinst.$$.orig
2366
 
    ac_res=no
2367
 
    if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
2368
 
      if test -f confinst.$$.new ; then
2369
 
        # OK, -p seems to do no harm to install
2370
 
        INSTALL="${INSTALL} -p"
2371
 
        ac_res=yes
2372
 
      fi
2373
 
    fi
2374
 
    rm -f confinst.$$.*
2375
 
    { echo "$as_me:$LINENO: result: $ac_res" >&5
2376
 
echo "${ECHO_T}$ac_res" >&6; }
2377
 
  fi
2378
 
 
2379
 
  if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
2380
 
    INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
2381
 
  fi
2382
 
  if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
2383
 
    INSTALL_SCRIPT='${INSTALL}'
2384
 
  fi
2385
 
 
2386
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2387
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2388
 
# Just in case
2389
 
sleep 1
2390
 
echo timestamp > conftest.file
2391
 
# Do `set' in a subshell so we don't clobber the current shell's
2392
 
# arguments.  Must try -L first in case configure is actually a
2393
 
# symlink; some systems play weird games with the mod time of symlinks
2394
 
# (eg FreeBSD returns the mod time of the symlink's containing
2395
 
# directory).
2396
 
if (
2397
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2398
 
   if test "$*" = "X"; then
2399
 
      # -L didn't work.
2400
 
      set X `ls -t $srcdir/configure conftest.file`
2401
 
   fi
2402
 
   rm -f conftest.file
2403
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2404
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2405
 
 
2406
 
      # If neither matched, then we have a broken ls.  This can happen
2407
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2408
 
      # broken ls alias from the environment.  This has actually
2409
 
      # happened.  Such a system could not be considered "sane".
2410
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2411
 
alias in your environment" >&5
2412
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2413
 
alias in your environment" >&2;}
2414
 
   { (exit 1); exit 1; }; }
2415
 
   fi
2416
 
 
2417
 
   test "$2" = conftest.file
2418
 
   )
2419
 
then
2420
 
   # Ok.
2421
 
   :
2422
 
else
2423
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2424
 
Check your system clock" >&5
2425
 
echo "$as_me: error: newly created file is older than distributed files!
2426
 
Check your system clock" >&2;}
2427
 
   { (exit 1); exit 1; }; }
2428
 
fi
2429
 
{ echo "$as_me:$LINENO: result: yes" >&5
2430
 
echo "${ECHO_T}yes" >&6; }
2431
 
# expand $ac_aux_dir to an absolute path
2432
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2433
 
 
2434
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2435
 
# Use eval to expand $SHELL
2436
 
if eval "$MISSING --run true"; then
2437
 
  am_missing_run="$MISSING --run "
2438
 
else
2439
 
  am_missing_run=
2440
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2441
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2442
 
fi
2443
 
 
2444
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2445
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2446
 
if test -z "$MKDIR_P"; then
2447
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2448
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2449
 
else
2450
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2452
 
do
2453
 
  IFS=$as_save_IFS
2454
 
  test -z "$as_dir" && as_dir=.
2455
 
  for ac_prog in mkdir gmkdir; do
2456
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2457
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2458
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2459
 
             'mkdir (GNU coreutils) '* | \
2460
 
             'mkdir (coreutils) '* | \
2461
 
             'mkdir (fileutils) '4.1*)
2462
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2463
 
               break 3;;
2464
 
           esac
2465
 
         done
2466
 
       done
2467
 
done
2468
 
IFS=$as_save_IFS
2469
 
 
2470
 
fi
2471
 
 
2472
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2473
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2474
 
  else
2475
 
    # As a last resort, use the slow shell script.  Don't cache a
2476
 
    # value for MKDIR_P within a source directory, because that will
2477
 
    # break other packages using the cache if that directory is
2478
 
    # removed, or if the value is a relative name.
2479
 
    test -d ./--version && rmdir ./--version
2480
 
    MKDIR_P="$ac_install_sh -d"
2481
 
  fi
2482
 
fi
2483
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2484
 
echo "${ECHO_T}$MKDIR_P" >&6; }
2485
 
 
2486
 
mkdir_p="$MKDIR_P"
2487
 
case $mkdir_p in
2488
 
  [\\/$]* | ?:[\\/]*) ;;
2489
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2490
 
esac
2491
 
 
2492
 
for ac_prog in gawk mawk nawk awk
2493
 
do
2494
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2495
 
set dummy $ac_prog; ac_word=$2
2496
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2497
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2498
 
if test "${ac_cv_prog_AWK+set}" = set; then
2499
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2500
 
else
2501
 
  if test -n "$AWK"; then
2502
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2503
 
else
2504
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505
 
for as_dir in $PATH
2506
 
do
2507
 
  IFS=$as_save_IFS
2508
 
  test -z "$as_dir" && as_dir=.
2509
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2510
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2511
 
    ac_cv_prog_AWK="$ac_prog"
2512
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2513
 
    break 2
2514
 
  fi
2515
 
done
2516
 
done
2517
 
IFS=$as_save_IFS
2518
 
 
2519
 
fi
2520
 
fi
2521
 
AWK=$ac_cv_prog_AWK
2522
 
if test -n "$AWK"; then
2523
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2524
 
echo "${ECHO_T}$AWK" >&6; }
2525
 
else
2526
 
  { echo "$as_me:$LINENO: result: no" >&5
2527
 
echo "${ECHO_T}no" >&6; }
2528
 
fi
2529
 
 
2530
 
 
2531
 
  test -n "$AWK" && break
2532
 
done
2533
 
 
2534
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2535
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2536
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2537
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2538
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2539
 
else
2540
 
  cat >conftest.make <<\_ACEOF
2541
 
SHELL = /bin/sh
2542
 
all:
2543
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2544
 
_ACEOF
2545
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2546
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2547
 
  *@@@%%%=?*=@@@%%%*)
2548
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2549
 
  *)
2550
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2551
 
esac
2552
 
rm -f conftest.make
2553
 
fi
2554
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2555
 
  { echo "$as_me:$LINENO: result: yes" >&5
2556
 
echo "${ECHO_T}yes" >&6; }
2557
 
  SET_MAKE=
2558
 
else
2559
 
  { echo "$as_me:$LINENO: result: no" >&5
2560
 
echo "${ECHO_T}no" >&6; }
2561
 
  SET_MAKE="MAKE=${MAKE-make}"
2562
 
fi
2563
 
 
2564
 
rm -rf .tst 2>/dev/null
2565
 
mkdir .tst 2>/dev/null
2566
 
if test -d .tst; then
2567
 
  am__leading_dot=.
2568
 
else
2569
 
  am__leading_dot=_
2570
 
fi
2571
 
rmdir .tst 2>/dev/null
2572
 
 
2573
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2574
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2575
 
  # is not polluted with repeated "-I."
2576
 
  am__isrc=' -I$(srcdir)'
2577
 
  # test to see if srcdir already configured
2578
 
  if test -f $srcdir/config.status; then
2579
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2580
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2581
 
   { (exit 1); exit 1; }; }
2582
 
  fi
2583
 
fi
2584
 
 
2585
 
# test whether we have cygpath
2586
 
if test -z "$CYGPATH_W"; then
2587
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2588
 
    CYGPATH_W='cygpath -w'
2589
 
  else
2590
 
    CYGPATH_W=echo
2591
 
  fi
2592
 
fi
2593
 
 
2594
 
 
2595
 
# Define the identity of the package.
2596
 
 PACKAGE=kdesudo
2597
 
 VERSION=2.5.1
2598
 
 
2599
 
 
2600
 
cat >>confdefs.h <<_ACEOF
2601
 
#define PACKAGE "$PACKAGE"
2602
 
_ACEOF
2603
 
 
2604
 
 
2605
 
cat >>confdefs.h <<_ACEOF
2606
 
#define VERSION "$VERSION"
2607
 
_ACEOF
2608
 
 
2609
 
# Some tools Automake needs.
2610
 
 
2611
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2612
 
 
2613
 
 
2614
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2615
 
 
2616
 
 
2617
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2618
 
 
2619
 
 
2620
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2621
 
 
2622
 
 
2623
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2624
 
 
2625
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2626
 
 
2627
 
# Installed binaries are usually stripped using `strip' when the user
2628
 
# run `make install-strip'.  However `strip' might not be the right
2629
 
# tool to use in cross-compilation environments, therefore Automake
2630
 
# will honor the `STRIP' environment variable to overrule this program.
2631
 
if test "$cross_compiling" != no; then
2632
 
  if test -n "$ac_tool_prefix"; then
2633
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2634
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2635
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2636
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2637
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2638
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2639
 
else
2640
 
  if test -n "$STRIP"; then
2641
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2642
 
else
2643
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2644
 
for as_dir in $PATH
2645
 
do
2646
 
  IFS=$as_save_IFS
2647
 
  test -z "$as_dir" && as_dir=.
2648
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2649
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2650
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2651
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2652
 
    break 2
2653
 
  fi
2654
 
done
2655
 
done
2656
 
IFS=$as_save_IFS
2657
 
 
2658
 
fi
2659
 
fi
2660
 
STRIP=$ac_cv_prog_STRIP
2661
 
if test -n "$STRIP"; then
2662
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2663
 
echo "${ECHO_T}$STRIP" >&6; }
2664
 
else
2665
 
  { echo "$as_me:$LINENO: result: no" >&5
2666
 
echo "${ECHO_T}no" >&6; }
2667
 
fi
2668
 
 
2669
 
 
2670
 
fi
2671
 
if test -z "$ac_cv_prog_STRIP"; then
2672
 
  ac_ct_STRIP=$STRIP
2673
 
  # Extract the first word of "strip", so it can be a program name with args.
2674
 
set dummy strip; ac_word=$2
2675
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2676
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2677
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2678
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2679
 
else
2680
 
  if test -n "$ac_ct_STRIP"; then
2681
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2682
 
else
2683
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684
 
for as_dir in $PATH
2685
 
do
2686
 
  IFS=$as_save_IFS
2687
 
  test -z "$as_dir" && as_dir=.
2688
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2689
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2690
 
    ac_cv_prog_ac_ct_STRIP="strip"
2691
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2692
 
    break 2
2693
 
  fi
2694
 
done
2695
 
done
2696
 
IFS=$as_save_IFS
2697
 
 
2698
 
fi
2699
 
fi
2700
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2701
 
if test -n "$ac_ct_STRIP"; then
2702
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2703
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2704
 
else
2705
 
  { echo "$as_me:$LINENO: result: no" >&5
2706
 
echo "${ECHO_T}no" >&6; }
2707
 
fi
2708
 
 
2709
 
  if test "x$ac_ct_STRIP" = x; then
2710
 
    STRIP=":"
2711
 
  else
2712
 
    case $cross_compiling:$ac_tool_warned in
2713
 
yes:)
2714
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2715
 
whose name does not start with the host triplet.  If you think this
2716
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2717
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2718
 
whose name does not start with the host triplet.  If you think this
2719
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2720
 
ac_tool_warned=yes ;;
2721
 
esac
2722
 
    STRIP=$ac_ct_STRIP
2723
 
  fi
2724
 
else
2725
 
  STRIP="$ac_cv_prog_STRIP"
2726
 
fi
2727
 
 
2728
 
fi
2729
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2730
 
 
2731
 
# We need awk for the "check" target.  The system "awk" is bad on
2732
 
# some platforms.
2733
 
# Always define AMTAR for backward compatibility.
2734
 
 
2735
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2736
 
 
2737
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2738
 
 
2739
 
 
2740
 
 
2741
 
 
2742
 
 
2743
 
 
2744
 
  unset CDPATH
2745
 
 
2746
 
 
2747
 
 
2748
 
    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"
2749
 
    test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
2750
 
    if test -n "$KDEDIRS"; then
2751
 
       kde_save_IFS=$IFS
2752
 
       IFS=:
2753
 
       for dir in $KDEDIRS; do
2754
 
            kde_default_bindirs="$dir/bin $kde_default_bindirs "
2755
 
       done
2756
 
       IFS=$kde_save_IFS
2757
 
    fi
2758
 
 
2759
 
  if test "x$prefix" = "xNONE"; then
2760
 
 
2761
 
   { echo "$as_me:$LINENO: checking for kde-config" >&5
2762
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2763
 
   if test -n "$KDECONFIG"; then
2764
 
        kde_cv_path="$KDECONFIG";
2765
 
   else
2766
 
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2767
 
 
2768
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2769
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2770
 
else
2771
 
 
2772
 
        kde_cv_path="NONE"
2773
 
        kde_save_IFS=$IFS
2774
 
        IFS=':'
2775
 
        dirs=""
2776
 
        for dir in $PATH; do
2777
 
          dirs="$dirs $dir"
2778
 
        done
2779
 
        if test -z "prepend"; then        dirs="$kde_default_bindirs $dirs"
2780
 
        else      dirs="$dirs $kde_default_bindirs"
2781
 
        fi
2782
 
        IFS=$kde_save_IFS
2783
 
 
2784
 
        for dir in $dirs; do
2785
 
          if test -x "$dir/kde-config"; then
2786
 
            if test -n ""
2787
 
            then
2788
 
              evalstr="$dir/kde-config  2>&1 "
2789
 
              if eval $evalstr; then
2790
 
                kde_cv_path="$dir/kde-config"
2791
 
                break
2792
 
              fi
2793
 
            else
2794
 
                kde_cv_path="$dir/kde-config"
2795
 
                break
2796
 
            fi
2797
 
          fi
2798
 
        done
2799
 
 
2800
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
2801
 
 
2802
 
 
2803
 
fi
2804
 
 
2805
 
 
2806
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2807
 
 
2808
 
   fi
2809
 
 
2810
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2811
 
      { echo "$as_me:$LINENO: result: not found" >&5
2812
 
echo "${ECHO_T}not found" >&6; }
2813
 
 
2814
 
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2815
 
Please check whether you installed KDE correctly.
2816
 
" >&5
2817
 
echo "$as_me: error: The important program kde-config was not found!
2818
 
Please check whether you installed KDE correctly.
2819
 
" >&2;}
2820
 
   { (exit 1); exit 1; }; }
2821
 
 
2822
 
   else
2823
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2824
 
echo "${ECHO_T}$kde_cv_path" >&6; }
2825
 
      KDECONFIG=$kde_cv_path
2826
 
 
2827
 
   fi
2828
 
 
2829
 
  else
2830
 
        kde_save_PATH="$PATH"
2831
 
    PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2832
 
 
2833
 
   { echo "$as_me:$LINENO: checking for kde-config" >&5
2834
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2835
 
   if test -n "$KDECONFIG"; then
2836
 
        kde_cv_path="$KDECONFIG";
2837
 
   else
2838
 
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2839
 
 
2840
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2841
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2842
 
else
2843
 
 
2844
 
        kde_cv_path="NONE"
2845
 
        kde_save_IFS=$IFS
2846
 
        IFS=':'
2847
 
        dirs=""
2848
 
        for dir in $PATH; do
2849
 
          dirs="$dirs $dir"
2850
 
        done
2851
 
        if test -z "prepend"; then        dirs="$kde_default_bindirs $dirs"
2852
 
        else      dirs="$dirs $kde_default_bindirs"
2853
 
        fi
2854
 
        IFS=$kde_save_IFS
2855
 
 
2856
 
        for dir in $dirs; do
2857
 
          if test -x "$dir/kde-config"; then
2858
 
            if test -n ""
2859
 
            then
2860
 
              evalstr="$dir/kde-config  2>&1 "
2861
 
              if eval $evalstr; then
2862
 
                kde_cv_path="$dir/kde-config"
2863
 
                break
2864
 
              fi
2865
 
            else
2866
 
                kde_cv_path="$dir/kde-config"
2867
 
                break
2868
 
            fi
2869
 
          fi
2870
 
        done
2871
 
 
2872
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
2873
 
 
2874
 
 
2875
 
fi
2876
 
 
2877
 
 
2878
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2879
 
 
2880
 
   fi
2881
 
 
2882
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2883
 
      { echo "$as_me:$LINENO: result: not found" >&5
2884
 
echo "${ECHO_T}not found" >&6; }
2885
 
 
2886
 
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2887
 
Please check whether you installed KDE correctly.
2888
 
" >&5
2889
 
echo "$as_me: error: The important program kde-config was not found!
2890
 
Please check whether you installed KDE correctly.
2891
 
" >&2;}
2892
 
   { (exit 1); exit 1; }; }
2893
 
 
2894
 
   else
2895
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2896
 
echo "${ECHO_T}$kde_cv_path" >&6; }
2897
 
      KDECONFIG=$kde_cv_path
2898
 
 
2899
 
   fi
2900
 
 
2901
 
    PATH="$kde_save_PATH"
2902
 
  fi
2903
 
 
2904
 
  kde_libs_prefix=`$KDECONFIG --prefix`
2905
 
  if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
2906
 
       { { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2907
 
                    This means it has been moved since you installed it.
2908
 
                    This won't work. Please recompile kdelibs for the new prefix.
2909
 
                    " >&5
2910
 
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2911
 
                    This means it has been moved since you installed it.
2912
 
                    This won't work. Please recompile kdelibs for the new prefix.
2913
 
                    " >&2;}
2914
 
   { (exit 1); exit 1; }; }
2915
 
  fi
2916
 
  kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2917
 
 
2918
 
  { echo "$as_me:$LINENO: checking where to install" >&5
2919
 
echo $ECHO_N "checking where to install... $ECHO_C" >&6; }
2920
 
  if test "x$prefix" = "xNONE"; then
2921
 
    prefix=$kde_libs_prefix
2922
 
    { echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2923
 
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6; }
2924
 
  else
2925
 
        given_prefix=$prefix
2926
 
    { echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2927
 
echo "${ECHO_T}$prefix (as requested)" >&6; }
2928
 
  fi
2929
 
 
2930
 
  # And delete superfluous '/' to make compares easier
2931
 
  prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2932
 
  exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2933
 
  given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2934
 
 
2935
 
 
2936
 
 
2937
 
 
2938
 
 
2939
 
 
2940
 
    # Check whether --enable-fast-perl was given.
2941
 
if test "${enable_fast_perl+set}" = set; then
2942
 
  enableval=$enable_fast_perl; with_fast_perl=$enableval
2943
 
else
2944
 
  with_fast_perl=yes
2945
 
fi
2946
 
 
2947
 
 
2948
 
 
2949
 
  val=
2950
 
  if test -f $srcdir/configure.files ; then
2951
 
    val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
2952
 
  fi
2953
 
  CONF_FILES=
2954
 
  if test -n "$val" ; then
2955
 
    for i in $val ; do
2956
 
      CONF_FILES="$CONF_FILES $i"
2957
 
    done
2958
 
  fi
2959
 
 
2960
 
 
2961
 
 
2962
 
 
2963
 
ac_config_headers="$ac_config_headers config.h"
2964
 
 
2965
 
DEPDIR="${am__leading_dot}deps"
2966
 
 
2967
 
ac_config_commands="$ac_config_commands depfiles"
2968
 
 
2969
 
 
2970
 
am_make=${MAKE-make}
2971
 
cat > confinc << 'END'
2972
 
am__doit:
2973
 
        @echo done
2974
 
.PHONY: am__doit
2975
 
END
2976
 
# If we don't find an include directive, just comment out the code.
2977
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2978
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2979
 
am__include="#"
2980
 
am__quote=
2981
 
_am_result=none
2982
 
# First try GNU make style include.
2983
 
echo "include confinc" > confmf
2984
 
# We grep out `Entering directory' and `Leaving directory'
2985
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2986
 
# In particular we don't look at `^make:' because GNU make might
2987
 
# be invoked under some other name (usually "gmake"), in which
2988
 
# case it prints its new name instead of `make'.
2989
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2990
 
   am__include=include
2991
 
   am__quote=
2992
 
   _am_result=GNU
2993
 
fi
2994
 
# Now try BSD make style include.
2995
 
if test "$am__include" = "#"; then
2996
 
   echo '.include "confinc"' > confmf
2997
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2998
 
      am__include=.include
2999
 
      am__quote="\""
3000
 
      _am_result=BSD
3001
 
   fi
3002
 
fi
3003
 
 
3004
 
 
3005
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3006
 
echo "${ECHO_T}$_am_result" >&6; }
3007
 
rm -f confinc confmf
3008
 
 
3009
 
# Check whether --enable-dependency-tracking was given.
3010
 
if test "${enable_dependency_tracking+set}" = set; then
3011
 
  enableval=$enable_dependency_tracking;
3012
 
fi
3013
 
 
3014
 
if test "x$enable_dependency_tracking" != xno; then
3015
 
  am_depcomp="$ac_aux_dir/depcomp"
3016
 
  AMDEPBACKSLASH='\'
3017
 
fi
3018
 
 if test "x$enable_dependency_tracking" != xno; then
3019
 
  AMDEP_TRUE=
3020
 
  AMDEP_FALSE='#'
3021
 
else
3022
 
  AMDEP_TRUE='#'
3023
 
  AMDEP_FALSE=
3024
 
fi
3025
 
 
3026
 
 
3027
 
 
3028
 
 
3029
 
 
3030
 
  # Check whether --enable-debug was given.
3031
 
if test "${enable_debug+set}" = set; then
3032
 
  enableval=$enable_debug;
3033
 
    case $enableval in
3034
 
      yes)
3035
 
        kde_use_debug_code="yes"
3036
 
        kde_use_debug_define=no
3037
 
        ;;
3038
 
      full)
3039
 
        kde_use_debug_code="full"
3040
 
        kde_use_debug_define=no
3041
 
        ;;
3042
 
      *)
3043
 
        kde_use_debug_code="no"
3044
 
        kde_use_debug_define=yes
3045
 
        ;;
3046
 
    esac
3047
 
 
3048
 
else
3049
 
  kde_use_debug_code="no"
3050
 
      kde_use_debug_define=no
3051
 
 
3052
 
fi
3053
 
 
3054
 
 
3055
 
    # Check whether --enable-dummyoption was given.
3056
 
if test "${enable_dummyoption+set}" = set; then
3057
 
  enableval=$enable_dummyoption;
3058
 
fi
3059
 
 
3060
 
 
3061
 
  # Check whether --enable-strict was given.
3062
 
if test "${enable_strict+set}" = set; then
3063
 
  enableval=$enable_strict;
3064
 
    if test $enableval = "no"; then
3065
 
         kde_use_strict_options="no"
3066
 
       else
3067
 
         kde_use_strict_options="yes"
3068
 
    fi
3069
 
 
3070
 
else
3071
 
  kde_use_strict_options="no"
3072
 
fi
3073
 
 
3074
 
 
3075
 
  # Check whether --enable-warnings was given.
3076
 
if test "${enable_warnings+set}" = set; then
3077
 
  enableval=$enable_warnings;
3078
 
    if test $enableval = "no"; then
3079
 
         kde_use_warnings="no"
3080
 
       else
3081
 
         kde_use_warnings="yes"
3082
 
    fi
3083
 
 
3084
 
else
3085
 
  kde_use_warnings="yes"
3086
 
fi
3087
 
 
3088
 
 
3089
 
    if test "$kde_use_debug_code" != "no"; then
3090
 
    kde_use_warnings=yes
3091
 
  fi
3092
 
 
3093
 
  # Check whether --enable-profile was given.
3094
 
if test "${enable_profile+set}" = set; then
3095
 
  enableval=$enable_profile; kde_use_profiling=$enableval
3096
 
else
3097
 
  kde_use_profiling="no"
3098
 
 
3099
 
fi
3100
 
 
3101
 
 
3102
 
    CFLAGS=" $CFLAGS"
3103
 
 
3104
 
  ac_ext=c
3105
 
ac_cpp='$CPP $CPPFLAGS'
3106
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3107
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3108
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3109
 
if test -n "$ac_tool_prefix"; then
3110
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3111
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3112
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3113
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3114
 
if test "${ac_cv_prog_CC+set}" = set; then
3115
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3116
 
else
3117
 
  if test -n "$CC"; then
3118
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3119
 
else
3120
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121
 
for as_dir in $PATH
3122
 
do
3123
 
  IFS=$as_save_IFS
3124
 
  test -z "$as_dir" && as_dir=.
3125
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3126
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3127
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3128
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3129
 
    break 2
3130
 
  fi
3131
 
done
3132
 
done
3133
 
IFS=$as_save_IFS
3134
 
 
3135
 
fi
3136
 
fi
3137
 
CC=$ac_cv_prog_CC
3138
 
if test -n "$CC"; then
3139
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3140
 
echo "${ECHO_T}$CC" >&6; }
3141
 
else
3142
 
  { echo "$as_me:$LINENO: result: no" >&5
3143
 
echo "${ECHO_T}no" >&6; }
3144
 
fi
3145
 
 
3146
 
 
3147
 
fi
3148
 
if test -z "$ac_cv_prog_CC"; then
3149
 
  ac_ct_CC=$CC
3150
 
  # Extract the first word of "gcc", so it can be a program name with args.
3151
 
set dummy gcc; ac_word=$2
3152
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3153
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3154
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3156
 
else
3157
 
  if test -n "$ac_ct_CC"; then
3158
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3159
 
else
3160
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3161
 
for as_dir in $PATH
3162
 
do
3163
 
  IFS=$as_save_IFS
3164
 
  test -z "$as_dir" && as_dir=.
3165
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3166
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3167
 
    ac_cv_prog_ac_ct_CC="gcc"
3168
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3169
 
    break 2
3170
 
  fi
3171
 
done
3172
 
done
3173
 
IFS=$as_save_IFS
3174
 
 
3175
 
fi
3176
 
fi
3177
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3178
 
if test -n "$ac_ct_CC"; then
3179
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3180
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
3181
 
else
3182
 
  { echo "$as_me:$LINENO: result: no" >&5
3183
 
echo "${ECHO_T}no" >&6; }
3184
 
fi
3185
 
 
3186
 
  if test "x$ac_ct_CC" = x; then
3187
 
    CC=""
3188
 
  else
3189
 
    case $cross_compiling:$ac_tool_warned in
3190
 
yes:)
3191
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3192
 
whose name does not start with the host triplet.  If you think this
3193
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3194
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3195
 
whose name does not start with the host triplet.  If you think this
3196
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3197
 
ac_tool_warned=yes ;;
3198
 
esac
3199
 
    CC=$ac_ct_CC
3200
 
  fi
3201
 
else
3202
 
  CC="$ac_cv_prog_CC"
3203
 
fi
3204
 
 
3205
 
if test -z "$CC"; then
3206
 
          if test -n "$ac_tool_prefix"; then
3207
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3208
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3209
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3210
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3211
 
if test "${ac_cv_prog_CC+set}" = set; then
3212
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3213
 
else
3214
 
  if test -n "$CC"; then
3215
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3216
 
else
3217
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218
 
for as_dir in $PATH
3219
 
do
3220
 
  IFS=$as_save_IFS
3221
 
  test -z "$as_dir" && as_dir=.
3222
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3223
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3224
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3225
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3226
 
    break 2
3227
 
  fi
3228
 
done
3229
 
done
3230
 
IFS=$as_save_IFS
3231
 
 
3232
 
fi
3233
 
fi
3234
 
CC=$ac_cv_prog_CC
3235
 
if test -n "$CC"; then
3236
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3237
 
echo "${ECHO_T}$CC" >&6; }
3238
 
else
3239
 
  { echo "$as_me:$LINENO: result: no" >&5
3240
 
echo "${ECHO_T}no" >&6; }
3241
 
fi
3242
 
 
3243
 
 
3244
 
  fi
3245
 
fi
3246
 
if test -z "$CC"; then
3247
 
  # Extract the first word of "cc", so it can be a program name with args.
3248
 
set dummy cc; ac_word=$2
3249
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3250
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3251
 
if test "${ac_cv_prog_CC+set}" = set; then
3252
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3253
 
else
3254
 
  if test -n "$CC"; then
3255
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3256
 
else
3257
 
  ac_prog_rejected=no
3258
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259
 
for as_dir in $PATH
3260
 
do
3261
 
  IFS=$as_save_IFS
3262
 
  test -z "$as_dir" && as_dir=.
3263
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3264
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3266
 
       ac_prog_rejected=yes
3267
 
       continue
3268
 
     fi
3269
 
    ac_cv_prog_CC="cc"
3270
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3271
 
    break 2
3272
 
  fi
3273
 
done
3274
 
done
3275
 
IFS=$as_save_IFS
3276
 
 
3277
 
if test $ac_prog_rejected = yes; then
3278
 
  # We found a bogon in the path, so make sure we never use it.
3279
 
  set dummy $ac_cv_prog_CC
3280
 
  shift
3281
 
  if test $# != 0; then
3282
 
    # We chose a different compiler from the bogus one.
3283
 
    # However, it has the same basename, so the bogon will be chosen
3284
 
    # first if we set CC to just the basename; use the full file name.
3285
 
    shift
3286
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3287
 
  fi
3288
 
fi
3289
 
fi
3290
 
fi
3291
 
CC=$ac_cv_prog_CC
3292
 
if test -n "$CC"; then
3293
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3294
 
echo "${ECHO_T}$CC" >&6; }
3295
 
else
3296
 
  { echo "$as_me:$LINENO: result: no" >&5
3297
 
echo "${ECHO_T}no" >&6; }
3298
 
fi
3299
 
 
3300
 
 
3301
 
fi
3302
 
if test -z "$CC"; then
3303
 
  if test -n "$ac_tool_prefix"; then
3304
 
  for ac_prog in cl.exe
3305
 
  do
3306
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3307
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3308
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3309
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3310
 
if test "${ac_cv_prog_CC+set}" = set; then
3311
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3312
 
else
3313
 
  if test -n "$CC"; then
3314
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3315
 
else
3316
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317
 
for as_dir in $PATH
3318
 
do
3319
 
  IFS=$as_save_IFS
3320
 
  test -z "$as_dir" && as_dir=.
3321
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3322
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3324
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3325
 
    break 2
3326
 
  fi
3327
 
done
3328
 
done
3329
 
IFS=$as_save_IFS
3330
 
 
3331
 
fi
3332
 
fi
3333
 
CC=$ac_cv_prog_CC
3334
 
if test -n "$CC"; then
3335
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3336
 
echo "${ECHO_T}$CC" >&6; }
3337
 
else
3338
 
  { echo "$as_me:$LINENO: result: no" >&5
3339
 
echo "${ECHO_T}no" >&6; }
3340
 
fi
3341
 
 
3342
 
 
3343
 
    test -n "$CC" && break
3344
 
  done
3345
 
fi
3346
 
if test -z "$CC"; then
3347
 
  ac_ct_CC=$CC
3348
 
  for ac_prog in cl.exe
3349
 
do
3350
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3351
 
set dummy $ac_prog; ac_word=$2
3352
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3353
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3354
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3355
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3356
 
else
3357
 
  if test -n "$ac_ct_CC"; then
3358
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3359
 
else
3360
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3361
 
for as_dir in $PATH
3362
 
do
3363
 
  IFS=$as_save_IFS
3364
 
  test -z "$as_dir" && as_dir=.
3365
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3366
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3367
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3368
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3369
 
    break 2
3370
 
  fi
3371
 
done
3372
 
done
3373
 
IFS=$as_save_IFS
3374
 
 
3375
 
fi
3376
 
fi
3377
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3378
 
if test -n "$ac_ct_CC"; then
3379
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3380
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
3381
 
else
3382
 
  { echo "$as_me:$LINENO: result: no" >&5
3383
 
echo "${ECHO_T}no" >&6; }
3384
 
fi
3385
 
 
3386
 
 
3387
 
  test -n "$ac_ct_CC" && break
3388
 
done
3389
 
 
3390
 
  if test "x$ac_ct_CC" = x; then
3391
 
    CC=""
3392
 
  else
3393
 
    case $cross_compiling:$ac_tool_warned in
3394
 
yes:)
3395
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3396
 
whose name does not start with the host triplet.  If you think this
3397
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3398
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3399
 
whose name does not start with the host triplet.  If you think this
3400
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3401
 
ac_tool_warned=yes ;;
3402
 
esac
3403
 
    CC=$ac_ct_CC
3404
 
  fi
3405
 
fi
3406
 
 
3407
 
fi
3408
 
 
3409
 
 
3410
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3411
 
See \`config.log' for more details." >&5
3412
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
3413
 
See \`config.log' for more details." >&2;}
3414
 
   { (exit 1); exit 1; }; }
3415
 
 
3416
 
# Provide some information about the compiler.
3417
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3418
 
ac_compiler=`set X $ac_compile; echo $2`
3419
 
{ (ac_try="$ac_compiler --version >&5"
3420
 
case "(($ac_try" in
3421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422
 
  *) ac_try_echo=$ac_try;;
3423
 
esac
3424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3425
 
  (eval "$ac_compiler --version >&5") 2>&5
3426
 
  ac_status=$?
3427
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428
 
  (exit $ac_status); }
3429
 
{ (ac_try="$ac_compiler -v >&5"
3430
 
case "(($ac_try" in
3431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432
 
  *) ac_try_echo=$ac_try;;
3433
 
esac
3434
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3435
 
  (eval "$ac_compiler -v >&5") 2>&5
3436
 
  ac_status=$?
3437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438
 
  (exit $ac_status); }
3439
 
{ (ac_try="$ac_compiler -V >&5"
3440
 
case "(($ac_try" in
3441
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442
 
  *) ac_try_echo=$ac_try;;
3443
 
esac
3444
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3445
 
  (eval "$ac_compiler -V >&5") 2>&5
3446
 
  ac_status=$?
3447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448
 
  (exit $ac_status); }
3449
 
 
3450
 
cat >conftest.$ac_ext <<_ACEOF
3451
 
/* confdefs.h.  */
3452
 
_ACEOF
3453
 
cat confdefs.h >>conftest.$ac_ext
3454
 
cat >>conftest.$ac_ext <<_ACEOF
3455
 
/* end confdefs.h.  */
3456
 
 
3457
 
int
3458
 
main ()
3459
 
{
3460
 
 
3461
 
  ;
3462
 
  return 0;
3463
 
}
3464
 
_ACEOF
3465
 
ac_clean_files_save=$ac_clean_files
3466
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3467
 
# Try to create an executable without -o first, disregard a.out.
3468
 
# It will help us diagnose broken compilers, and finding out an intuition
3469
 
# of exeext.
3470
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3471
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3472
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3473
 
#
3474
 
# List of possible output files, starting from the most likely.
3475
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3476
 
# only as a last resort.  b.out is created by i960 compilers.
3477
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3478
 
#
3479
 
# The IRIX 6 linker writes into existing files which may not be
3480
 
# executable, retaining their permissions.  Remove them first so a
3481
 
# subsequent execution test works.
3482
 
ac_rmfiles=
3483
 
for ac_file in $ac_files
3484
 
do
3485
 
  case $ac_file in
3486
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3487
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3488
 
  esac
3489
 
done
3490
 
rm -f $ac_rmfiles
3491
 
 
3492
 
if { (ac_try="$ac_link_default"
3493
 
case "(($ac_try" in
3494
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495
 
  *) ac_try_echo=$ac_try;;
3496
 
esac
3497
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3498
 
  (eval "$ac_link_default") 2>&5
3499
 
  ac_status=$?
3500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501
 
  (exit $ac_status); }; then
3502
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3503
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3504
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3505
 
# so that the user can short-circuit this test for compilers unknown to
3506
 
# Autoconf.
3507
 
for ac_file in $ac_files ''
3508
 
do
3509
 
  test -f "$ac_file" || continue
3510
 
  case $ac_file in
3511
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3512
 
        ;;
3513
 
    [ab].out )
3514
 
        # We found the default executable, but exeext='' is most
3515
 
        # certainly right.
3516
 
        break;;
3517
 
    *.* )
3518
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3519
 
        then :; else
3520
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3521
 
        fi
3522
 
        # We set ac_cv_exeext here because the later test for it is not
3523
 
        # safe: cross compilers may not add the suffix if given an `-o'
3524
 
        # argument, so we may need to know it at that point already.
3525
 
        # Even if this section looks crufty: it has the advantage of
3526
 
        # actually working.
3527
 
        break;;
3528
 
    * )
3529
 
        break;;
3530
 
  esac
3531
 
done
3532
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3533
 
 
3534
 
else
3535
 
  ac_file=''
3536
 
fi
3537
 
 
3538
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3539
 
echo "${ECHO_T}$ac_file" >&6; }
3540
 
if test -z "$ac_file"; then
3541
 
  echo "$as_me: failed program was:" >&5
3542
 
sed 's/^/| /' conftest.$ac_ext >&5
3543
 
 
3544
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3545
 
See \`config.log' for more details." >&5
3546
 
echo "$as_me: error: C compiler cannot create executables
3547
 
See \`config.log' for more details." >&2;}
3548
 
   { (exit 77); exit 77; }; }
3549
 
fi
3550
 
 
3551
 
ac_exeext=$ac_cv_exeext
3552
 
 
3553
 
# Check that the compiler produces executables we can run.  If not, either
3554
 
# the compiler is broken, or we cross compile.
3555
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3556
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3557
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3558
 
# If not cross compiling, check that we can run a simple program.
3559
 
if test "$cross_compiling" != yes; then
3560
 
  if { ac_try='./$ac_file'
3561
 
  { (case "(($ac_try" in
3562
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563
 
  *) ac_try_echo=$ac_try;;
3564
 
esac
3565
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3566
 
  (eval "$ac_try") 2>&5
3567
 
  ac_status=$?
3568
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569
 
  (exit $ac_status); }; }; then
3570
 
    cross_compiling=no
3571
 
  else
3572
 
    if test "$cross_compiling" = maybe; then
3573
 
        cross_compiling=yes
3574
 
    else
3575
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3576
 
If you meant to cross compile, use \`--host'.
3577
 
See \`config.log' for more details." >&5
3578
 
echo "$as_me: error: cannot run C compiled programs.
3579
 
If you meant to cross compile, use \`--host'.
3580
 
See \`config.log' for more details." >&2;}
3581
 
   { (exit 1); exit 1; }; }
3582
 
    fi
3583
 
  fi
3584
 
fi
3585
 
{ echo "$as_me:$LINENO: result: yes" >&5
3586
 
echo "${ECHO_T}yes" >&6; }
3587
 
 
3588
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3589
 
ac_clean_files=$ac_clean_files_save
3590
 
# Check that the compiler produces executables we can run.  If not, either
3591
 
# the compiler is broken, or we cross compile.
3592
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3593
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3594
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3595
 
echo "${ECHO_T}$cross_compiling" >&6; }
3596
 
 
3597
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3598
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3599
 
if { (ac_try="$ac_link"
3600
 
case "(($ac_try" in
3601
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602
 
  *) ac_try_echo=$ac_try;;
3603
 
esac
3604
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3605
 
  (eval "$ac_link") 2>&5
3606
 
  ac_status=$?
3607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608
 
  (exit $ac_status); }; then
3609
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3610
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3611
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3612
 
# `rm'.
3613
 
for ac_file in conftest.exe conftest conftest.*; do
3614
 
  test -f "$ac_file" || continue
3615
 
  case $ac_file in
3616
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3617
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3618
 
          break;;
3619
 
    * ) break;;
3620
 
  esac
3621
 
done
3622
 
else
3623
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3624
 
See \`config.log' for more details." >&5
3625
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3626
 
See \`config.log' for more details." >&2;}
3627
 
   { (exit 1); exit 1; }; }
3628
 
fi
3629
 
 
3630
 
rm -f conftest$ac_cv_exeext
3631
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3632
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3633
 
 
3634
 
rm -f conftest.$ac_ext
3635
 
EXEEXT=$ac_cv_exeext
3636
 
ac_exeext=$EXEEXT
3637
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3638
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3639
 
if test "${ac_cv_objext+set}" = set; then
3640
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3641
 
else
3642
 
  cat >conftest.$ac_ext <<_ACEOF
3643
 
/* confdefs.h.  */
3644
 
_ACEOF
3645
 
cat confdefs.h >>conftest.$ac_ext
3646
 
cat >>conftest.$ac_ext <<_ACEOF
3647
 
/* end confdefs.h.  */
3648
 
 
3649
 
int
3650
 
main ()
3651
 
{
3652
 
 
3653
 
  ;
3654
 
  return 0;
3655
 
}
3656
 
_ACEOF
3657
 
rm -f conftest.o conftest.obj
3658
 
if { (ac_try="$ac_compile"
3659
 
case "(($ac_try" in
3660
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661
 
  *) ac_try_echo=$ac_try;;
3662
 
esac
3663
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3664
 
  (eval "$ac_compile") 2>&5
3665
 
  ac_status=$?
3666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667
 
  (exit $ac_status); }; then
3668
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3669
 
  test -f "$ac_file" || continue;
3670
 
  case $ac_file in
3671
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3672
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3673
 
       break;;
3674
 
  esac
3675
 
done
3676
 
else
3677
 
  echo "$as_me: failed program was:" >&5
3678
 
sed 's/^/| /' conftest.$ac_ext >&5
3679
 
 
3680
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3681
 
See \`config.log' for more details." >&5
3682
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3683
 
See \`config.log' for more details." >&2;}
3684
 
   { (exit 1); exit 1; }; }
3685
 
fi
3686
 
 
3687
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3688
 
fi
3689
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3690
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
3691
 
OBJEXT=$ac_cv_objext
3692
 
ac_objext=$OBJEXT
3693
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3694
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3695
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3696
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3697
 
else
3698
 
  cat >conftest.$ac_ext <<_ACEOF
3699
 
/* confdefs.h.  */
3700
 
_ACEOF
3701
 
cat confdefs.h >>conftest.$ac_ext
3702
 
cat >>conftest.$ac_ext <<_ACEOF
3703
 
/* end confdefs.h.  */
3704
 
 
3705
 
int
3706
 
main ()
3707
 
{
3708
 
#ifndef __GNUC__
3709
 
       choke me
3710
 
#endif
3711
 
 
3712
 
  ;
3713
 
  return 0;
3714
 
}
3715
 
_ACEOF
3716
 
rm -f conftest.$ac_objext
3717
 
if { (ac_try="$ac_compile"
3718
 
case "(($ac_try" in
3719
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3720
 
  *) ac_try_echo=$ac_try;;
3721
 
esac
3722
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3723
 
  (eval "$ac_compile") 2>conftest.er1
3724
 
  ac_status=$?
3725
 
  grep -v '^ *+' conftest.er1 >conftest.err
3726
 
  rm -f conftest.er1
3727
 
  cat conftest.err >&5
3728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
 
  (exit $ac_status); } && {
3730
 
         test -z "$ac_c_werror_flag" ||
3731
 
         test ! -s conftest.err
3732
 
       } && test -s conftest.$ac_objext; then
3733
 
  ac_compiler_gnu=yes
3734
 
else
3735
 
  echo "$as_me: failed program was:" >&5
3736
 
sed 's/^/| /' conftest.$ac_ext >&5
3737
 
 
3738
 
        ac_compiler_gnu=no
3739
 
fi
3740
 
 
3741
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3742
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3743
 
 
3744
 
fi
3745
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3746
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3747
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
3748
 
ac_test_CFLAGS=${CFLAGS+set}
3749
 
ac_save_CFLAGS=$CFLAGS
3750
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3751
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3752
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3753
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3754
 
else
3755
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3756
 
   ac_c_werror_flag=yes
3757
 
   ac_cv_prog_cc_g=no
3758
 
   CFLAGS="-g"
3759
 
   cat >conftest.$ac_ext <<_ACEOF
3760
 
/* confdefs.h.  */
3761
 
_ACEOF
3762
 
cat confdefs.h >>conftest.$ac_ext
3763
 
cat >>conftest.$ac_ext <<_ACEOF
3764
 
/* end confdefs.h.  */
3765
 
 
3766
 
int
3767
 
main ()
3768
 
{
3769
 
 
3770
 
  ;
3771
 
  return 0;
3772
 
}
3773
 
_ACEOF
3774
 
rm -f conftest.$ac_objext
3775
 
if { (ac_try="$ac_compile"
3776
 
case "(($ac_try" in
3777
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3778
 
  *) ac_try_echo=$ac_try;;
3779
 
esac
3780
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3781
 
  (eval "$ac_compile") 2>conftest.er1
3782
 
  ac_status=$?
3783
 
  grep -v '^ *+' conftest.er1 >conftest.err
3784
 
  rm -f conftest.er1
3785
 
  cat conftest.err >&5
3786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787
 
  (exit $ac_status); } && {
3788
 
         test -z "$ac_c_werror_flag" ||
3789
 
         test ! -s conftest.err
3790
 
       } && test -s conftest.$ac_objext; then
3791
 
  ac_cv_prog_cc_g=yes
3792
 
else
3793
 
  echo "$as_me: failed program was:" >&5
3794
 
sed 's/^/| /' conftest.$ac_ext >&5
3795
 
 
3796
 
        CFLAGS=""
3797
 
      cat >conftest.$ac_ext <<_ACEOF
3798
 
/* confdefs.h.  */
3799
 
_ACEOF
3800
 
cat confdefs.h >>conftest.$ac_ext
3801
 
cat >>conftest.$ac_ext <<_ACEOF
3802
 
/* end confdefs.h.  */
3803
 
 
3804
 
int
3805
 
main ()
3806
 
{
3807
 
 
3808
 
  ;
3809
 
  return 0;
3810
 
}
3811
 
_ACEOF
3812
 
rm -f conftest.$ac_objext
3813
 
if { (ac_try="$ac_compile"
3814
 
case "(($ac_try" in
3815
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816
 
  *) ac_try_echo=$ac_try;;
3817
 
esac
3818
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3819
 
  (eval "$ac_compile") 2>conftest.er1
3820
 
  ac_status=$?
3821
 
  grep -v '^ *+' conftest.er1 >conftest.err
3822
 
  rm -f conftest.er1
3823
 
  cat conftest.err >&5
3824
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825
 
  (exit $ac_status); } && {
3826
 
         test -z "$ac_c_werror_flag" ||
3827
 
         test ! -s conftest.err
3828
 
       } && test -s conftest.$ac_objext; then
3829
 
  :
3830
 
else
3831
 
  echo "$as_me: failed program was:" >&5
3832
 
sed 's/^/| /' conftest.$ac_ext >&5
3833
 
 
3834
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3835
 
         CFLAGS="-g"
3836
 
         cat >conftest.$ac_ext <<_ACEOF
3837
 
/* confdefs.h.  */
3838
 
_ACEOF
3839
 
cat confdefs.h >>conftest.$ac_ext
3840
 
cat >>conftest.$ac_ext <<_ACEOF
3841
 
/* end confdefs.h.  */
3842
 
 
3843
 
int
3844
 
main ()
3845
 
{
3846
 
 
3847
 
  ;
3848
 
  return 0;
3849
 
}
3850
 
_ACEOF
3851
 
rm -f conftest.$ac_objext
3852
 
if { (ac_try="$ac_compile"
3853
 
case "(($ac_try" in
3854
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855
 
  *) ac_try_echo=$ac_try;;
3856
 
esac
3857
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3858
 
  (eval "$ac_compile") 2>conftest.er1
3859
 
  ac_status=$?
3860
 
  grep -v '^ *+' conftest.er1 >conftest.err
3861
 
  rm -f conftest.er1
3862
 
  cat conftest.err >&5
3863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864
 
  (exit $ac_status); } && {
3865
 
         test -z "$ac_c_werror_flag" ||
3866
 
         test ! -s conftest.err
3867
 
       } && test -s conftest.$ac_objext; then
3868
 
  ac_cv_prog_cc_g=yes
3869
 
else
3870
 
  echo "$as_me: failed program was:" >&5
3871
 
sed 's/^/| /' conftest.$ac_ext >&5
3872
 
 
3873
 
 
3874
 
fi
3875
 
 
3876
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877
 
fi
3878
 
 
3879
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3880
 
fi
3881
 
 
3882
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3883
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3884
 
fi
3885
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3886
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3887
 
if test "$ac_test_CFLAGS" = set; then
3888
 
  CFLAGS=$ac_save_CFLAGS
3889
 
elif test $ac_cv_prog_cc_g = yes; then
3890
 
  if test "$GCC" = yes; then
3891
 
    CFLAGS="-g -O2"
3892
 
  else
3893
 
    CFLAGS="-g"
3894
 
  fi
3895
 
else
3896
 
  if test "$GCC" = yes; then
3897
 
    CFLAGS="-O2"
3898
 
  else
3899
 
    CFLAGS=
3900
 
  fi
3901
 
fi
3902
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3903
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3904
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3905
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3906
 
else
3907
 
  ac_cv_prog_cc_c89=no
3908
 
ac_save_CC=$CC
3909
 
cat >conftest.$ac_ext <<_ACEOF
3910
 
/* confdefs.h.  */
3911
 
_ACEOF
3912
 
cat confdefs.h >>conftest.$ac_ext
3913
 
cat >>conftest.$ac_ext <<_ACEOF
3914
 
/* end confdefs.h.  */
3915
 
#include <stdarg.h>
3916
 
#include <stdio.h>
3917
 
#include <sys/types.h>
3918
 
#include <sys/stat.h>
3919
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3920
 
struct buf { int x; };
3921
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3922
 
static char *e (p, i)
3923
 
     char **p;
3924
 
     int i;
3925
 
{
3926
 
  return p[i];
3927
 
}
3928
 
static char *f (char * (*g) (char **, int), char **p, ...)
3929
 
{
3930
 
  char *s;
3931
 
  va_list v;
3932
 
  va_start (v,p);
3933
 
  s = g (p, va_arg (v,int));
3934
 
  va_end (v);
3935
 
  return s;
3936
 
}
3937
 
 
3938
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3939
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3940
 
   These don't provoke an error unfortunately, instead are silently treated
3941
 
   as 'x'.  The following induces an error, until -std is added to get
3942
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3943
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3944
 
   that's true only with -std.  */
3945
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3946
 
 
3947
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3948
 
   inside strings and character constants.  */
3949
 
#define FOO(x) 'x'
3950
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3951
 
 
3952
 
int test (int i, double x);
3953
 
struct s1 {int (*f) (int a);};
3954
 
struct s2 {int (*f) (double a);};
3955
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3956
 
int argc;
3957
 
char **argv;
3958
 
int
3959
 
main ()
3960
 
{
3961
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3962
 
  ;
3963
 
  return 0;
3964
 
}
3965
 
_ACEOF
3966
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3967
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3968
 
do
3969
 
  CC="$ac_save_CC $ac_arg"
3970
 
  rm -f conftest.$ac_objext
3971
 
if { (ac_try="$ac_compile"
3972
 
case "(($ac_try" in
3973
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974
 
  *) ac_try_echo=$ac_try;;
3975
 
esac
3976
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3977
 
  (eval "$ac_compile") 2>conftest.er1
3978
 
  ac_status=$?
3979
 
  grep -v '^ *+' conftest.er1 >conftest.err
3980
 
  rm -f conftest.er1
3981
 
  cat conftest.err >&5
3982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983
 
  (exit $ac_status); } && {
3984
 
         test -z "$ac_c_werror_flag" ||
3985
 
         test ! -s conftest.err
3986
 
       } && test -s conftest.$ac_objext; then
3987
 
  ac_cv_prog_cc_c89=$ac_arg
3988
 
else
3989
 
  echo "$as_me: failed program was:" >&5
3990
 
sed 's/^/| /' conftest.$ac_ext >&5
3991
 
 
3992
 
 
3993
 
fi
3994
 
 
3995
 
rm -f core conftest.err conftest.$ac_objext
3996
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3997
 
done
3998
 
rm -f conftest.$ac_ext
3999
 
CC=$ac_save_CC
4000
 
 
4001
 
fi
4002
 
# AC_CACHE_VAL
4003
 
case "x$ac_cv_prog_cc_c89" in
4004
 
  x)
4005
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4006
 
echo "${ECHO_T}none needed" >&6; } ;;
4007
 
  xno)
4008
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4009
 
echo "${ECHO_T}unsupported" >&6; } ;;
4010
 
  *)
4011
 
    CC="$CC $ac_cv_prog_cc_c89"
4012
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4013
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4014
 
esac
4015
 
 
4016
 
 
4017
 
ac_ext=c
4018
 
ac_cpp='$CPP $CPPFLAGS'
4019
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4020
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4021
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4022
 
 
4023
 
depcc="$CC"   am_compiler_list=
4024
 
 
4025
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4026
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4027
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4028
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4029
 
else
4030
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4031
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4032
 
  # making bogus files that we don't know about and never remove.  For
4033
 
  # instance it was reported that on HP-UX the gcc test will end up
4034
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4035
 
  # in D'.
4036
 
  mkdir conftest.dir
4037
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4038
 
  # using a relative directory.
4039
 
  cp "$am_depcomp" conftest.dir
4040
 
  cd conftest.dir
4041
 
  # We will build objects and dependencies in a subdirectory because
4042
 
  # it helps to detect inapplicable dependency modes.  For instance
4043
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4044
 
  # side effect of compilation, but ICC will put the dependencies in
4045
 
  # the current directory while Tru64 will put them in the object
4046
 
  # directory.
4047
 
  mkdir sub
4048
 
 
4049
 
  am_cv_CC_dependencies_compiler_type=none
4050
 
  if test "$am_compiler_list" = ""; then
4051
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4052
 
  fi
4053
 
  for depmode in $am_compiler_list; do
4054
 
    # Setup a source with many dependencies, because some compilers
4055
 
    # like to wrap large dependency lists on column 80 (with \), and
4056
 
    # we should not choose a depcomp mode which is confused by this.
4057
 
    #
4058
 
    # We need to recreate these files for each test, as the compiler may
4059
 
    # overwrite some of them when testing with obscure command lines.
4060
 
    # This happens at least with the AIX C compiler.
4061
 
    : > sub/conftest.c
4062
 
    for i in 1 2 3 4 5 6; do
4063
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4064
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4065
 
      # Solaris 8's {/usr,}/bin/sh.
4066
 
      touch sub/conftst$i.h
4067
 
    done
4068
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4069
 
 
4070
 
    case $depmode in
4071
 
    nosideeffect)
4072
 
      # after this tag, mechanisms are not by side-effect, so they'll
4073
 
      # only be used when explicitly requested
4074
 
      if test "x$enable_dependency_tracking" = xyes; then
4075
 
        continue
4076
 
      else
4077
 
        break
4078
 
      fi
4079
 
      ;;
4080
 
    none) break ;;
4081
 
    esac
4082
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4083
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4084
 
    # handle `-M -o', and we need to detect this.
4085
 
    if depmode=$depmode \
4086
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4087
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4088
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4089
 
         >/dev/null 2>conftest.err &&
4090
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4091
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4092
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4093
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4094
 
      # icc doesn't choke on unknown options, it will just issue warnings
4095
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4096
 
      # that says an option was ignored or not supported.
4097
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4098
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4099
 
      # The diagnosis changed in icc 8.0:
4100
 
      #   icc: Command line remark: option '-MP' not supported
4101
 
      if (grep 'ignoring option' conftest.err ||
4102
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4103
 
        am_cv_CC_dependencies_compiler_type=$depmode
4104
 
        break
4105
 
      fi
4106
 
    fi
4107
 
  done
4108
 
 
4109
 
  cd ..
4110
 
  rm -rf conftest.dir
4111
 
else
4112
 
  am_cv_CC_dependencies_compiler_type=none
4113
 
fi
4114
 
 
4115
 
fi
4116
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4117
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4118
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4119
 
 
4120
 
 if
4121
 
  test "x$enable_dependency_tracking" != xno \
4122
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4123
 
  am__fastdepCC_TRUE=
4124
 
  am__fastdepCC_FALSE='#'
4125
 
else
4126
 
  am__fastdepCC_TRUE='#'
4127
 
  am__fastdepCC_FALSE=
4128
 
fi
4129
 
 
4130
 
 
4131
 
 
4132
 
  ac_ext=c
4133
 
ac_cpp='$CPP $CPPFLAGS'
4134
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4137
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4138
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4139
 
# On Suns, sometimes $CPP names a directory.
4140
 
if test -n "$CPP" && test -d "$CPP"; then
4141
 
  CPP=
4142
 
fi
4143
 
if test -z "$CPP"; then
4144
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4145
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4146
 
else
4147
 
      # Double quotes because CPP needs to be expanded
4148
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4149
 
    do
4150
 
      ac_preproc_ok=false
4151
 
for ac_c_preproc_warn_flag in '' yes
4152
 
do
4153
 
  # Use a header file that comes with gcc, so configuring glibc
4154
 
  # with a fresh cross-compiler works.
4155
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4156
 
  # <limits.h> exists even on freestanding compilers.
4157
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4158
 
  # not just through cpp. "Syntax error" is here to catch this case.
4159
 
  cat >conftest.$ac_ext <<_ACEOF
4160
 
/* confdefs.h.  */
4161
 
_ACEOF
4162
 
cat confdefs.h >>conftest.$ac_ext
4163
 
cat >>conftest.$ac_ext <<_ACEOF
4164
 
/* end confdefs.h.  */
4165
 
#ifdef __STDC__
4166
 
# include <limits.h>
4167
 
#else
4168
 
# include <assert.h>
4169
 
#endif
4170
 
                     Syntax error
4171
 
_ACEOF
4172
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4173
 
case "(($ac_try" in
4174
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175
 
  *) ac_try_echo=$ac_try;;
4176
 
esac
4177
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4178
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4179
 
  ac_status=$?
4180
 
  grep -v '^ *+' conftest.er1 >conftest.err
4181
 
  rm -f conftest.er1
4182
 
  cat conftest.err >&5
4183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184
 
  (exit $ac_status); } >/dev/null && {
4185
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4186
 
         test ! -s conftest.err
4187
 
       }; then
4188
 
  :
4189
 
else
4190
 
  echo "$as_me: failed program was:" >&5
4191
 
sed 's/^/| /' conftest.$ac_ext >&5
4192
 
 
4193
 
  # Broken: fails on valid input.
4194
 
continue
4195
 
fi
4196
 
 
4197
 
rm -f conftest.err conftest.$ac_ext
4198
 
 
4199
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4200
 
  # can be detected and how.
4201
 
  cat >conftest.$ac_ext <<_ACEOF
4202
 
/* confdefs.h.  */
4203
 
_ACEOF
4204
 
cat confdefs.h >>conftest.$ac_ext
4205
 
cat >>conftest.$ac_ext <<_ACEOF
4206
 
/* end confdefs.h.  */
4207
 
#include <ac_nonexistent.h>
4208
 
_ACEOF
4209
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4210
 
case "(($ac_try" in
4211
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212
 
  *) ac_try_echo=$ac_try;;
4213
 
esac
4214
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4216
 
  ac_status=$?
4217
 
  grep -v '^ *+' conftest.er1 >conftest.err
4218
 
  rm -f conftest.er1
4219
 
  cat conftest.err >&5
4220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221
 
  (exit $ac_status); } >/dev/null && {
4222
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4223
 
         test ! -s conftest.err
4224
 
       }; then
4225
 
  # Broken: success on invalid input.
4226
 
continue
4227
 
else
4228
 
  echo "$as_me: failed program was:" >&5
4229
 
sed 's/^/| /' conftest.$ac_ext >&5
4230
 
 
4231
 
  # Passes both tests.
4232
 
ac_preproc_ok=:
4233
 
break
4234
 
fi
4235
 
 
4236
 
rm -f conftest.err conftest.$ac_ext
4237
 
 
4238
 
done
4239
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4240
 
rm -f conftest.err conftest.$ac_ext
4241
 
if $ac_preproc_ok; then
4242
 
  break
4243
 
fi
4244
 
 
4245
 
    done
4246
 
    ac_cv_prog_CPP=$CPP
4247
 
 
4248
 
fi
4249
 
  CPP=$ac_cv_prog_CPP
4250
 
else
4251
 
  ac_cv_prog_CPP=$CPP
4252
 
fi
4253
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4254
 
echo "${ECHO_T}$CPP" >&6; }
4255
 
ac_preproc_ok=false
4256
 
for ac_c_preproc_warn_flag in '' yes
4257
 
do
4258
 
  # Use a header file that comes with gcc, so configuring glibc
4259
 
  # with a fresh cross-compiler works.
4260
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4261
 
  # <limits.h> exists even on freestanding compilers.
4262
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4263
 
  # not just through cpp. "Syntax error" is here to catch this case.
4264
 
  cat >conftest.$ac_ext <<_ACEOF
4265
 
/* confdefs.h.  */
4266
 
_ACEOF
4267
 
cat confdefs.h >>conftest.$ac_ext
4268
 
cat >>conftest.$ac_ext <<_ACEOF
4269
 
/* end confdefs.h.  */
4270
 
#ifdef __STDC__
4271
 
# include <limits.h>
4272
 
#else
4273
 
# include <assert.h>
4274
 
#endif
4275
 
                     Syntax error
4276
 
_ACEOF
4277
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4278
 
case "(($ac_try" in
4279
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4280
 
  *) ac_try_echo=$ac_try;;
4281
 
esac
4282
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4283
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4284
 
  ac_status=$?
4285
 
  grep -v '^ *+' conftest.er1 >conftest.err
4286
 
  rm -f conftest.er1
4287
 
  cat conftest.err >&5
4288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289
 
  (exit $ac_status); } >/dev/null && {
4290
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4291
 
         test ! -s conftest.err
4292
 
       }; then
4293
 
  :
4294
 
else
4295
 
  echo "$as_me: failed program was:" >&5
4296
 
sed 's/^/| /' conftest.$ac_ext >&5
4297
 
 
4298
 
  # Broken: fails on valid input.
4299
 
continue
4300
 
fi
4301
 
 
4302
 
rm -f conftest.err conftest.$ac_ext
4303
 
 
4304
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4305
 
  # can be detected and how.
4306
 
  cat >conftest.$ac_ext <<_ACEOF
4307
 
/* confdefs.h.  */
4308
 
_ACEOF
4309
 
cat confdefs.h >>conftest.$ac_ext
4310
 
cat >>conftest.$ac_ext <<_ACEOF
4311
 
/* end confdefs.h.  */
4312
 
#include <ac_nonexistent.h>
4313
 
_ACEOF
4314
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4315
 
case "(($ac_try" in
4316
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317
 
  *) ac_try_echo=$ac_try;;
4318
 
esac
4319
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4320
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4321
 
  ac_status=$?
4322
 
  grep -v '^ *+' conftest.er1 >conftest.err
4323
 
  rm -f conftest.er1
4324
 
  cat conftest.err >&5
4325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326
 
  (exit $ac_status); } >/dev/null && {
4327
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4328
 
         test ! -s conftest.err
4329
 
       }; then
4330
 
  # Broken: success on invalid input.
4331
 
continue
4332
 
else
4333
 
  echo "$as_me: failed program was:" >&5
4334
 
sed 's/^/| /' conftest.$ac_ext >&5
4335
 
 
4336
 
  # Passes both tests.
4337
 
ac_preproc_ok=:
4338
 
break
4339
 
fi
4340
 
 
4341
 
rm -f conftest.err conftest.$ac_ext
4342
 
 
4343
 
done
4344
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4345
 
rm -f conftest.err conftest.$ac_ext
4346
 
if $ac_preproc_ok; then
4347
 
  :
4348
 
else
4349
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4350
 
See \`config.log' for more details." >&5
4351
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4352
 
See \`config.log' for more details." >&2;}
4353
 
   { (exit 1); exit 1; }; }
4354
 
fi
4355
 
 
4356
 
ac_ext=c
4357
 
ac_cpp='$CPP $CPPFLAGS'
4358
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4359
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4360
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4361
 
 
4362
 
 
4363
 
  if test "$GCC" = "yes"; then
4364
 
    if test "$kde_use_debug_code" != "no"; then
4365
 
      if test $kde_use_debug_code = "full"; then
4366
 
        CFLAGS="-g3 -fno-inline $CFLAGS"
4367
 
      else
4368
 
        CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
4369
 
      fi
4370
 
    else
4371
 
      CFLAGS="-O2 $CFLAGS"
4372
 
    fi
4373
 
  fi
4374
 
 
4375
 
  if test "$kde_use_debug_define" = "yes"; then
4376
 
    CFLAGS="-DNDEBUG $CFLAGS"
4377
 
  fi
4378
 
 
4379
 
 
4380
 
  case "$host" in
4381
 
  *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
4382
 
  *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
4383
 
  esac
4384
 
 
4385
 
  if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
4386
 
     LDFLAGS=""
4387
 
  fi
4388
 
 
4389
 
  CXXFLAGS=" $CXXFLAGS"
4390
 
 
4391
 
  ac_ext=cpp
4392
 
ac_cpp='$CXXCPP $CPPFLAGS'
4393
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4394
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4395
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4396
 
if test -z "$CXX"; then
4397
 
  if test -n "$CCC"; then
4398
 
    CXX=$CCC
4399
 
  else
4400
 
    if test -n "$ac_tool_prefix"; then
4401
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4402
 
  do
4403
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4404
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4405
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4406
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4407
 
if test "${ac_cv_prog_CXX+set}" = set; then
4408
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4409
 
else
4410
 
  if test -n "$CXX"; then
4411
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4412
 
else
4413
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4414
 
for as_dir in $PATH
4415
 
do
4416
 
  IFS=$as_save_IFS
4417
 
  test -z "$as_dir" && as_dir=.
4418
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4419
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4420
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4421
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4422
 
    break 2
4423
 
  fi
4424
 
done
4425
 
done
4426
 
IFS=$as_save_IFS
4427
 
 
4428
 
fi
4429
 
fi
4430
 
CXX=$ac_cv_prog_CXX
4431
 
if test -n "$CXX"; then
4432
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
4433
 
echo "${ECHO_T}$CXX" >&6; }
4434
 
else
4435
 
  { echo "$as_me:$LINENO: result: no" >&5
4436
 
echo "${ECHO_T}no" >&6; }
4437
 
fi
4438
 
 
4439
 
 
4440
 
    test -n "$CXX" && break
4441
 
  done
4442
 
fi
4443
 
if test -z "$CXX"; then
4444
 
  ac_ct_CXX=$CXX
4445
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4446
 
do
4447
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4448
 
set dummy $ac_prog; ac_word=$2
4449
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4450
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4451
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4452
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4453
 
else
4454
 
  if test -n "$ac_ct_CXX"; then
4455
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4456
 
else
4457
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4458
 
for as_dir in $PATH
4459
 
do
4460
 
  IFS=$as_save_IFS
4461
 
  test -z "$as_dir" && as_dir=.
4462
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4463
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4464
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4465
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4466
 
    break 2
4467
 
  fi
4468
 
done
4469
 
done
4470
 
IFS=$as_save_IFS
4471
 
 
4472
 
fi
4473
 
fi
4474
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4475
 
if test -n "$ac_ct_CXX"; then
4476
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4477
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4478
 
else
4479
 
  { echo "$as_me:$LINENO: result: no" >&5
4480
 
echo "${ECHO_T}no" >&6; }
4481
 
fi
4482
 
 
4483
 
 
4484
 
  test -n "$ac_ct_CXX" && break
4485
 
done
4486
 
 
4487
 
  if test "x$ac_ct_CXX" = x; then
4488
 
    CXX="g++"
4489
 
  else
4490
 
    case $cross_compiling:$ac_tool_warned in
4491
 
yes:)
4492
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4493
 
whose name does not start with the host triplet.  If you think this
4494
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4495
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4496
 
whose name does not start with the host triplet.  If you think this
4497
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4498
 
ac_tool_warned=yes ;;
4499
 
esac
4500
 
    CXX=$ac_ct_CXX
4501
 
  fi
4502
 
fi
4503
 
 
4504
 
  fi
4505
 
fi
4506
 
# Provide some information about the compiler.
4507
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4508
 
ac_compiler=`set X $ac_compile; echo $2`
4509
 
{ (ac_try="$ac_compiler --version >&5"
4510
 
case "(($ac_try" in
4511
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4512
 
  *) ac_try_echo=$ac_try;;
4513
 
esac
4514
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4515
 
  (eval "$ac_compiler --version >&5") 2>&5
4516
 
  ac_status=$?
4517
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518
 
  (exit $ac_status); }
4519
 
{ (ac_try="$ac_compiler -v >&5"
4520
 
case "(($ac_try" in
4521
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4522
 
  *) ac_try_echo=$ac_try;;
4523
 
esac
4524
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4525
 
  (eval "$ac_compiler -v >&5") 2>&5
4526
 
  ac_status=$?
4527
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528
 
  (exit $ac_status); }
4529
 
{ (ac_try="$ac_compiler -V >&5"
4530
 
case "(($ac_try" in
4531
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4532
 
  *) ac_try_echo=$ac_try;;
4533
 
esac
4534
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4535
 
  (eval "$ac_compiler -V >&5") 2>&5
4536
 
  ac_status=$?
4537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538
 
  (exit $ac_status); }
4539
 
 
4540
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4541
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4542
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4543
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4544
 
else
4545
 
  cat >conftest.$ac_ext <<_ACEOF
4546
 
/* confdefs.h.  */
4547
 
_ACEOF
4548
 
cat confdefs.h >>conftest.$ac_ext
4549
 
cat >>conftest.$ac_ext <<_ACEOF
4550
 
/* end confdefs.h.  */
4551
 
 
4552
 
int
4553
 
main ()
4554
 
{
4555
 
#ifndef __GNUC__
4556
 
       choke me
4557
 
#endif
4558
 
 
4559
 
  ;
4560
 
  return 0;
4561
 
}
4562
 
_ACEOF
4563
 
rm -f conftest.$ac_objext
4564
 
if { (ac_try="$ac_compile"
4565
 
case "(($ac_try" in
4566
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4567
 
  *) ac_try_echo=$ac_try;;
4568
 
esac
4569
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4570
 
  (eval "$ac_compile") 2>conftest.er1
4571
 
  ac_status=$?
4572
 
  grep -v '^ *+' conftest.er1 >conftest.err
4573
 
  rm -f conftest.er1
4574
 
  cat conftest.err >&5
4575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576
 
  (exit $ac_status); } && {
4577
 
         test -z "$ac_cxx_werror_flag" ||
4578
 
         test ! -s conftest.err
4579
 
       } && test -s conftest.$ac_objext; then
4580
 
  ac_compiler_gnu=yes
4581
 
else
4582
 
  echo "$as_me: failed program was:" >&5
4583
 
sed 's/^/| /' conftest.$ac_ext >&5
4584
 
 
4585
 
        ac_compiler_gnu=no
4586
 
fi
4587
 
 
4588
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4590
 
 
4591
 
fi
4592
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4593
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4594
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
4595
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
4596
 
ac_save_CXXFLAGS=$CXXFLAGS
4597
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4598
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4599
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
4600
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4601
 
else
4602
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4603
 
   ac_cxx_werror_flag=yes
4604
 
   ac_cv_prog_cxx_g=no
4605
 
   CXXFLAGS="-g"
4606
 
   cat >conftest.$ac_ext <<_ACEOF
4607
 
/* confdefs.h.  */
4608
 
_ACEOF
4609
 
cat confdefs.h >>conftest.$ac_ext
4610
 
cat >>conftest.$ac_ext <<_ACEOF
4611
 
/* end confdefs.h.  */
4612
 
 
4613
 
int
4614
 
main ()
4615
 
{
4616
 
 
4617
 
  ;
4618
 
  return 0;
4619
 
}
4620
 
_ACEOF
4621
 
rm -f conftest.$ac_objext
4622
 
if { (ac_try="$ac_compile"
4623
 
case "(($ac_try" in
4624
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4625
 
  *) ac_try_echo=$ac_try;;
4626
 
esac
4627
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4628
 
  (eval "$ac_compile") 2>conftest.er1
4629
 
  ac_status=$?
4630
 
  grep -v '^ *+' conftest.er1 >conftest.err
4631
 
  rm -f conftest.er1
4632
 
  cat conftest.err >&5
4633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634
 
  (exit $ac_status); } && {
4635
 
         test -z "$ac_cxx_werror_flag" ||
4636
 
         test ! -s conftest.err
4637
 
       } && test -s conftest.$ac_objext; then
4638
 
  ac_cv_prog_cxx_g=yes
4639
 
else
4640
 
  echo "$as_me: failed program was:" >&5
4641
 
sed 's/^/| /' conftest.$ac_ext >&5
4642
 
 
4643
 
        CXXFLAGS=""
4644
 
      cat >conftest.$ac_ext <<_ACEOF
4645
 
/* confdefs.h.  */
4646
 
_ACEOF
4647
 
cat confdefs.h >>conftest.$ac_ext
4648
 
cat >>conftest.$ac_ext <<_ACEOF
4649
 
/* end confdefs.h.  */
4650
 
 
4651
 
int
4652
 
main ()
4653
 
{
4654
 
 
4655
 
  ;
4656
 
  return 0;
4657
 
}
4658
 
_ACEOF
4659
 
rm -f conftest.$ac_objext
4660
 
if { (ac_try="$ac_compile"
4661
 
case "(($ac_try" in
4662
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663
 
  *) ac_try_echo=$ac_try;;
4664
 
esac
4665
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666
 
  (eval "$ac_compile") 2>conftest.er1
4667
 
  ac_status=$?
4668
 
  grep -v '^ *+' conftest.er1 >conftest.err
4669
 
  rm -f conftest.er1
4670
 
  cat conftest.err >&5
4671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672
 
  (exit $ac_status); } && {
4673
 
         test -z "$ac_cxx_werror_flag" ||
4674
 
         test ! -s conftest.err
4675
 
       } && test -s conftest.$ac_objext; then
4676
 
  :
4677
 
else
4678
 
  echo "$as_me: failed program was:" >&5
4679
 
sed 's/^/| /' conftest.$ac_ext >&5
4680
 
 
4681
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4682
 
         CXXFLAGS="-g"
4683
 
         cat >conftest.$ac_ext <<_ACEOF
4684
 
/* confdefs.h.  */
4685
 
_ACEOF
4686
 
cat confdefs.h >>conftest.$ac_ext
4687
 
cat >>conftest.$ac_ext <<_ACEOF
4688
 
/* end confdefs.h.  */
4689
 
 
4690
 
int
4691
 
main ()
4692
 
{
4693
 
 
4694
 
  ;
4695
 
  return 0;
4696
 
}
4697
 
_ACEOF
4698
 
rm -f conftest.$ac_objext
4699
 
if { (ac_try="$ac_compile"
4700
 
case "(($ac_try" in
4701
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4702
 
  *) ac_try_echo=$ac_try;;
4703
 
esac
4704
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4705
 
  (eval "$ac_compile") 2>conftest.er1
4706
 
  ac_status=$?
4707
 
  grep -v '^ *+' conftest.er1 >conftest.err
4708
 
  rm -f conftest.er1
4709
 
  cat conftest.err >&5
4710
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711
 
  (exit $ac_status); } && {
4712
 
         test -z "$ac_cxx_werror_flag" ||
4713
 
         test ! -s conftest.err
4714
 
       } && test -s conftest.$ac_objext; then
4715
 
  ac_cv_prog_cxx_g=yes
4716
 
else
4717
 
  echo "$as_me: failed program was:" >&5
4718
 
sed 's/^/| /' conftest.$ac_ext >&5
4719
 
 
4720
 
 
4721
 
fi
4722
 
 
4723
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4724
 
fi
4725
 
 
4726
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4727
 
fi
4728
 
 
4729
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4730
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4731
 
fi
4732
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4733
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4734
 
if test "$ac_test_CXXFLAGS" = set; then
4735
 
  CXXFLAGS=$ac_save_CXXFLAGS
4736
 
elif test $ac_cv_prog_cxx_g = yes; then
4737
 
  if test "$GXX" = yes; then
4738
 
    CXXFLAGS="-g -O2"
4739
 
  else
4740
 
    CXXFLAGS="-g"
4741
 
  fi
4742
 
else
4743
 
  if test "$GXX" = yes; then
4744
 
    CXXFLAGS="-O2"
4745
 
  else
4746
 
    CXXFLAGS=
4747
 
  fi
4748
 
fi
4749
 
ac_ext=c
4750
 
ac_cpp='$CPP $CPPFLAGS'
4751
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4752
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4753
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4754
 
 
4755
 
depcc="$CXX"  am_compiler_list=
4756
 
 
4757
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4758
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4759
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4760
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4761
 
else
4762
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4763
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4764
 
  # making bogus files that we don't know about and never remove.  For
4765
 
  # instance it was reported that on HP-UX the gcc test will end up
4766
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4767
 
  # in D'.
4768
 
  mkdir conftest.dir
4769
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4770
 
  # using a relative directory.
4771
 
  cp "$am_depcomp" conftest.dir
4772
 
  cd conftest.dir
4773
 
  # We will build objects and dependencies in a subdirectory because
4774
 
  # it helps to detect inapplicable dependency modes.  For instance
4775
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4776
 
  # side effect of compilation, but ICC will put the dependencies in
4777
 
  # the current directory while Tru64 will put them in the object
4778
 
  # directory.
4779
 
  mkdir sub
4780
 
 
4781
 
  am_cv_CXX_dependencies_compiler_type=none
4782
 
  if test "$am_compiler_list" = ""; then
4783
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4784
 
  fi
4785
 
  for depmode in $am_compiler_list; do
4786
 
    # Setup a source with many dependencies, because some compilers
4787
 
    # like to wrap large dependency lists on column 80 (with \), and
4788
 
    # we should not choose a depcomp mode which is confused by this.
4789
 
    #
4790
 
    # We need to recreate these files for each test, as the compiler may
4791
 
    # overwrite some of them when testing with obscure command lines.
4792
 
    # This happens at least with the AIX C compiler.
4793
 
    : > sub/conftest.c
4794
 
    for i in 1 2 3 4 5 6; do
4795
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4796
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4797
 
      # Solaris 8's {/usr,}/bin/sh.
4798
 
      touch sub/conftst$i.h
4799
 
    done
4800
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4801
 
 
4802
 
    case $depmode in
4803
 
    nosideeffect)
4804
 
      # after this tag, mechanisms are not by side-effect, so they'll
4805
 
      # only be used when explicitly requested
4806
 
      if test "x$enable_dependency_tracking" = xyes; then
4807
 
        continue
4808
 
      else
4809
 
        break
4810
 
      fi
4811
 
      ;;
4812
 
    none) break ;;
4813
 
    esac
4814
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4815
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4816
 
    # handle `-M -o', and we need to detect this.
4817
 
    if depmode=$depmode \
4818
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4819
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4820
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4821
 
         >/dev/null 2>conftest.err &&
4822
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4823
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4824
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4825
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4826
 
      # icc doesn't choke on unknown options, it will just issue warnings
4827
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4828
 
      # that says an option was ignored or not supported.
4829
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4830
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4831
 
      # The diagnosis changed in icc 8.0:
4832
 
      #   icc: Command line remark: option '-MP' not supported
4833
 
      if (grep 'ignoring option' conftest.err ||
4834
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4835
 
        am_cv_CXX_dependencies_compiler_type=$depmode
4836
 
        break
4837
 
      fi
4838
 
    fi
4839
 
  done
4840
 
 
4841
 
  cd ..
4842
 
  rm -rf conftest.dir
4843
 
else
4844
 
  am_cv_CXX_dependencies_compiler_type=none
4845
 
fi
4846
 
 
4847
 
fi
4848
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4849
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4850
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4851
 
 
4852
 
 if
4853
 
  test "x$enable_dependency_tracking" != xno \
4854
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4855
 
  am__fastdepCXX_TRUE=
4856
 
  am__fastdepCXX_FALSE='#'
4857
 
else
4858
 
  am__fastdepCXX_TRUE='#'
4859
 
  am__fastdepCXX_FALSE=
4860
 
fi
4861
 
 
4862
 
 
4863
 
 
4864
 
 
4865
 
  { echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
4866
 
echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6; }
4867
 
 
4868
 
 
4869
 
  cat >conftest.$ac_ext <<_ACEOF
4870
 
/* confdefs.h.  */
4871
 
_ACEOF
4872
 
cat confdefs.h >>conftest.$ac_ext
4873
 
cat >>conftest.$ac_ext <<_ACEOF
4874
 
/* end confdefs.h.  */
4875
 
 
4876
 
#ifdef __GNUC__
4877
 
#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
4878
 
choke me
4879
 
#endif
4880
 
#endif
4881
 
 
4882
 
int
4883
 
main ()
4884
 
{
4885
 
 
4886
 
  ;
4887
 
  return 0;
4888
 
}
4889
 
_ACEOF
4890
 
rm -f conftest.$ac_objext
4891
 
if { (ac_try="$ac_compile"
4892
 
case "(($ac_try" in
4893
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4894
 
  *) ac_try_echo=$ac_try;;
4895
 
esac
4896
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4897
 
  (eval "$ac_compile") 2>conftest.er1
4898
 
  ac_status=$?
4899
 
  grep -v '^ *+' conftest.er1 >conftest.err
4900
 
  rm -f conftest.er1
4901
 
  cat conftest.err >&5
4902
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903
 
  (exit $ac_status); } && {
4904
 
         test -z "$ac_c_werror_flag" ||
4905
 
         test ! -s conftest.err
4906
 
       } && test -s conftest.$ac_objext; then
4907
 
  kde_bad_compiler=no
4908
 
else
4909
 
  echo "$as_me: failed program was:" >&5
4910
 
sed 's/^/| /' conftest.$ac_ext >&5
4911
 
 
4912
 
        kde_bad_compiler=yes
4913
 
 
4914
 
fi
4915
 
 
4916
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4917
 
 
4918
 
  { echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
4919
 
echo "${ECHO_T}$kde_bad_compiler" >&6; }
4920
 
 
4921
 
if test "$kde_bad_compiler" = "yes"; then
4922
 
  { { echo "$as_me:$LINENO: 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
 
" >&5
4933
 
echo "$as_me: error:
4934
 
 
4935
 
This particular compiler version is blacklisted because it
4936
 
is known to miscompile KDE. Please use a newer version, or
4937
 
if that is not yet available, choose an older version.
4938
 
 
4939
 
Please do not report a bug or bother us reporting this
4940
 
configure error. We know about it, and we introduced
4941
 
it by intention to avoid untraceable bugs or crashes in KDE.
4942
 
 
4943
 
" >&2;}
4944
 
   { (exit 1); exit 1; }; }
4945
 
fi
4946
 
 
4947
 
 
4948
 
 
4949
 
  if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
4950
 
    if test "$kde_use_debug_code" != "no"; then
4951
 
      if test "$CXX" = "KCC"; then
4952
 
        CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
4953
 
      else
4954
 
        if test "$kde_use_debug_code" = "full"; then
4955
 
          CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
4956
 
        else
4957
 
          CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
4958
 
        fi
4959
 
      fi
4960
 
 
4961
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4962
 
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6; }
4963
 
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4964
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4965
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4966
 
else
4967
 
 
4968
 
 
4969
 
 
4970
 
ac_ext=cpp
4971
 
ac_cpp='$CXXCPP $CPPFLAGS'
4972
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4975
 
 
4976
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4977
 
 
4978
 
 
4979
 
 
4980
 
  save_CXXFLAGS="$CXXFLAGS"
4981
 
  CXXFLAGS="$CXXFLAGS -fno-builtin"
4982
 
  cat >conftest.$ac_ext <<_ACEOF
4983
 
/* confdefs.h.  */
4984
 
_ACEOF
4985
 
cat confdefs.h >>conftest.$ac_ext
4986
 
cat >>conftest.$ac_ext <<_ACEOF
4987
 
/* end confdefs.h.  */
4988
 
 
4989
 
int
4990
 
main ()
4991
 
{
4992
 
 return 0;
4993
 
  ;
4994
 
  return 0;
4995
 
}
4996
 
_ACEOF
4997
 
rm -f conftest.$ac_objext conftest$ac_exeext
4998
 
if { (ac_try="$ac_link"
4999
 
case "(($ac_try" in
5000
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5001
 
  *) ac_try_echo=$ac_try;;
5002
 
esac
5003
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5004
 
  (eval "$ac_link") 2>conftest.er1
5005
 
  ac_status=$?
5006
 
  grep -v '^ *+' conftest.er1 >conftest.err
5007
 
  rm -f conftest.er1
5008
 
  cat conftest.err >&5
5009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010
 
  (exit $ac_status); } && {
5011
 
         test -z "$ac_cxx_werror_flag" ||
5012
 
         test ! -s conftest.err
5013
 
       } && test -s conftest$ac_exeext &&
5014
 
       $as_test_x conftest$ac_exeext; then
5015
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5016
 
else
5017
 
  echo "$as_me: failed program was:" >&5
5018
 
sed 's/^/| /' conftest.$ac_ext >&5
5019
 
 
5020
 
 
5021
 
fi
5022
 
 
5023
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5024
 
      conftest$ac_exeext conftest.$ac_ext
5025
 
  CXXFLAGS="$save_CXXFLAGS"
5026
 
  ac_ext=c
5027
 
ac_cpp='$CPP $CPPFLAGS'
5028
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5029
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5030
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5031
 
 
5032
 
 
5033
 
fi
5034
 
 
5035
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5036
 
 { echo "$as_me:$LINENO: result: yes" >&5
5037
 
echo "${ECHO_T}yes" >&6; }
5038
 
 :
5039
 
 CXXFLAGS="-fno-builtin $CXXFLAGS"
5040
 
else
5041
 
 { echo "$as_me:$LINENO: result: no" >&5
5042
 
echo "${ECHO_T}no" >&6; }
5043
 
 :
5044
 
 
5045
 
fi
5046
 
 
5047
 
 
5048
 
 
5049
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
5050
 
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6; }
5051
 
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
5052
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5053
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5054
 
else
5055
 
 
5056
 
 
5057
 
   ac_ext=cpp
5058
 
ac_cpp='$CXXCPP $CPPFLAGS'
5059
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5060
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5061
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5062
 
 
5063
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5064
 
 
5065
 
 
5066
 
  save_CXXFLAGS="$CXXFLAGS"
5067
 
  CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
5068
 
  cat >conftest.$ac_ext <<_ACEOF
5069
 
/* confdefs.h.  */
5070
 
_ACEOF
5071
 
cat confdefs.h >>conftest.$ac_ext
5072
 
cat >>conftest.$ac_ext <<_ACEOF
5073
 
/* end confdefs.h.  */
5074
 
 
5075
 
int
5076
 
main ()
5077
 
{
5078
 
 return 0;
5079
 
  ;
5080
 
  return 0;
5081
 
}
5082
 
_ACEOF
5083
 
rm -f conftest.$ac_objext conftest$ac_exeext
5084
 
if { (ac_try="$ac_link"
5085
 
case "(($ac_try" in
5086
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5087
 
  *) ac_try_echo=$ac_try;;
5088
 
esac
5089
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5090
 
  (eval "$ac_link") 2>conftest.er1
5091
 
  ac_status=$?
5092
 
  grep -v '^ *+' conftest.er1 >conftest.err
5093
 
  rm -f conftest.er1
5094
 
  cat conftest.err >&5
5095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096
 
  (exit $ac_status); } && {
5097
 
         test -z "$ac_cxx_werror_flag" ||
5098
 
         test ! -s conftest.err
5099
 
       } && test -s conftest$ac_exeext &&
5100
 
       $as_test_x conftest$ac_exeext; then
5101
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5102
 
else
5103
 
  echo "$as_me: failed program was:" >&5
5104
 
sed 's/^/| /' conftest.$ac_ext >&5
5105
 
 
5106
 
 
5107
 
fi
5108
 
 
5109
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5110
 
      conftest$ac_exeext conftest.$ac_ext
5111
 
  CXXFLAGS="$save_CXXFLAGS"
5112
 
  ac_ext=c
5113
 
ac_cpp='$CPP $CPPFLAGS'
5114
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5115
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5116
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5117
 
 
5118
 
 
5119
 
fi
5120
 
 
5121
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5122
 
 { echo "$as_me:$LINENO: result: yes" >&5
5123
 
echo "${ECHO_T}yes" >&6; }
5124
 
 :
5125
 
 WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
5126
 
else
5127
 
 { echo "$as_me:$LINENO: result: no" >&5
5128
 
echo "${ECHO_T}no" >&6; }
5129
 
 :
5130
 
 WOVERLOADED_VRITUAL=""
5131
 
fi
5132
 
 
5133
 
 
5134
 
    else
5135
 
      if test "$CXX" = "KCC"; then
5136
 
        CXXFLAGS="+K3 $CXXFLAGS"
5137
 
      else
5138
 
        CXXFLAGS="-O2 $CXXFLAGS"
5139
 
      fi
5140
 
    fi
5141
 
  fi
5142
 
 
5143
 
  if test "$kde_use_debug_define" = "yes"; then
5144
 
    CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
5145
 
  fi
5146
 
 
5147
 
  if test "$kde_use_profiling" = "yes"; then
5148
 
 
5149
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
5150
 
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6; }
5151
 
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
5152
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5153
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5154
 
else
5155
 
 
5156
 
 
5157
 
   ac_ext=cpp
5158
 
ac_cpp='$CXXCPP $CPPFLAGS'
5159
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5160
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5161
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5162
 
 
5163
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5164
 
 
5165
 
 
5166
 
  save_CXXFLAGS="$CXXFLAGS"
5167
 
  CXXFLAGS="$CXXFLAGS -pg"
5168
 
  cat >conftest.$ac_ext <<_ACEOF
5169
 
/* confdefs.h.  */
5170
 
_ACEOF
5171
 
cat confdefs.h >>conftest.$ac_ext
5172
 
cat >>conftest.$ac_ext <<_ACEOF
5173
 
/* end confdefs.h.  */
5174
 
 
5175
 
int
5176
 
main ()
5177
 
{
5178
 
 return 0;
5179
 
  ;
5180
 
  return 0;
5181
 
}
5182
 
_ACEOF
5183
 
rm -f conftest.$ac_objext conftest$ac_exeext
5184
 
if { (ac_try="$ac_link"
5185
 
case "(($ac_try" in
5186
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5187
 
  *) ac_try_echo=$ac_try;;
5188
 
esac
5189
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5190
 
  (eval "$ac_link") 2>conftest.er1
5191
 
  ac_status=$?
5192
 
  grep -v '^ *+' conftest.er1 >conftest.err
5193
 
  rm -f conftest.er1
5194
 
  cat conftest.err >&5
5195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196
 
  (exit $ac_status); } && {
5197
 
         test -z "$ac_cxx_werror_flag" ||
5198
 
         test ! -s conftest.err
5199
 
       } && test -s conftest$ac_exeext &&
5200
 
       $as_test_x conftest$ac_exeext; then
5201
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5202
 
else
5203
 
  echo "$as_me: failed program was:" >&5
5204
 
sed 's/^/| /' conftest.$ac_ext >&5
5205
 
 
5206
 
 
5207
 
fi
5208
 
 
5209
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5210
 
      conftest$ac_exeext conftest.$ac_ext
5211
 
  CXXFLAGS="$save_CXXFLAGS"
5212
 
  ac_ext=c
5213
 
ac_cpp='$CPP $CPPFLAGS'
5214
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5215
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5216
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5217
 
 
5218
 
 
5219
 
fi
5220
 
 
5221
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5222
 
 { echo "$as_me:$LINENO: result: yes" >&5
5223
 
echo "${ECHO_T}yes" >&6; }
5224
 
 :
5225
 
 
5226
 
      CFLAGS="-pg $CFLAGS"
5227
 
      CXXFLAGS="-pg $CXXFLAGS"
5228
 
 
5229
 
else
5230
 
 { echo "$as_me:$LINENO: result: no" >&5
5231
 
echo "${ECHO_T}no" >&6; }
5232
 
 :
5233
 
 
5234
 
fi
5235
 
 
5236
 
  fi
5237
 
 
5238
 
  if test "$kde_use_warnings" = "yes"; then
5239
 
      if test "$GCC" = "yes"; then
5240
 
        CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
5241
 
        case $host in
5242
 
          *-*-linux-gnu)
5243
 
            CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
5244
 
            CXXFLAGS="-fasynchronous-unwind-tables -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
5245
 
 
5246
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
5247
 
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5248
 
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5249
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5250
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5251
 
else
5252
 
 
5253
 
 
5254
 
   ac_ext=cpp
5255
 
ac_cpp='$CXXCPP $CPPFLAGS'
5256
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5257
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5258
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5259
 
 
5260
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5261
 
 
5262
 
 
5263
 
  save_CXXFLAGS="$CXXFLAGS"
5264
 
  CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
5265
 
  cat >conftest.$ac_ext <<_ACEOF
5266
 
/* confdefs.h.  */
5267
 
_ACEOF
5268
 
cat confdefs.h >>conftest.$ac_ext
5269
 
cat >>conftest.$ac_ext <<_ACEOF
5270
 
/* end confdefs.h.  */
5271
 
 
5272
 
int
5273
 
main ()
5274
 
{
5275
 
 return 0;
5276
 
  ;
5277
 
  return 0;
5278
 
}
5279
 
_ACEOF
5280
 
rm -f conftest.$ac_objext conftest$ac_exeext
5281
 
if { (ac_try="$ac_link"
5282
 
case "(($ac_try" in
5283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5284
 
  *) ac_try_echo=$ac_try;;
5285
 
esac
5286
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5287
 
  (eval "$ac_link") 2>conftest.er1
5288
 
  ac_status=$?
5289
 
  grep -v '^ *+' conftest.er1 >conftest.err
5290
 
  rm -f conftest.er1
5291
 
  cat conftest.err >&5
5292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293
 
  (exit $ac_status); } && {
5294
 
         test -z "$ac_cxx_werror_flag" ||
5295
 
         test ! -s conftest.err
5296
 
       } && test -s conftest$ac_exeext &&
5297
 
       $as_test_x conftest$ac_exeext; then
5298
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5299
 
else
5300
 
  echo "$as_me: failed program was:" >&5
5301
 
sed 's/^/| /' conftest.$ac_ext >&5
5302
 
 
5303
 
 
5304
 
fi
5305
 
 
5306
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5307
 
      conftest$ac_exeext conftest.$ac_ext
5308
 
  CXXFLAGS="$save_CXXFLAGS"
5309
 
  ac_ext=c
5310
 
ac_cpp='$CPP $CPPFLAGS'
5311
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5312
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5313
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5314
 
 
5315
 
 
5316
 
fi
5317
 
 
5318
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5319
 
 { echo "$as_me:$LINENO: result: yes" >&5
5320
 
echo "${ECHO_T}yes" >&6; }
5321
 
 :
5322
 
 CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
5323
 
else
5324
 
 { echo "$as_me:$LINENO: result: no" >&5
5325
 
echo "${ECHO_T}no" >&6; }
5326
 
 :
5327
 
 
5328
 
fi
5329
 
 
5330
 
 
5331
 
{ echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
5332
 
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5333
 
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5334
 
if { as_var=kde_cv_prog_cc_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5335
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5336
 
else
5337
 
 
5338
 
 
5339
 
  ac_ext=c
5340
 
ac_cpp='$CPP $CPPFLAGS'
5341
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5342
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5343
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5344
 
 
5345
 
  save_CFLAGS="$CFLAGS"
5346
 
  CFLAGS="$CFLAGS -Wmissing-format-attribute"
5347
 
  cat >conftest.$ac_ext <<_ACEOF
5348
 
/* confdefs.h.  */
5349
 
_ACEOF
5350
 
cat confdefs.h >>conftest.$ac_ext
5351
 
cat >>conftest.$ac_ext <<_ACEOF
5352
 
/* end confdefs.h.  */
5353
 
 
5354
 
int
5355
 
main ()
5356
 
{
5357
 
 return 0;
5358
 
  ;
5359
 
  return 0;
5360
 
}
5361
 
_ACEOF
5362
 
rm -f conftest.$ac_objext conftest$ac_exeext
5363
 
if { (ac_try="$ac_link"
5364
 
case "(($ac_try" in
5365
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5366
 
  *) ac_try_echo=$ac_try;;
5367
 
esac
5368
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5369
 
  (eval "$ac_link") 2>conftest.er1
5370
 
  ac_status=$?
5371
 
  grep -v '^ *+' conftest.er1 >conftest.err
5372
 
  rm -f conftest.er1
5373
 
  cat conftest.err >&5
5374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375
 
  (exit $ac_status); } && {
5376
 
         test -z "$ac_c_werror_flag" ||
5377
 
         test ! -s conftest.err
5378
 
       } && test -s conftest$ac_exeext &&
5379
 
       $as_test_x conftest$ac_exeext; then
5380
 
  eval "kde_cv_prog_cc_$kde_cache=yes"
5381
 
else
5382
 
  echo "$as_me: failed program was:" >&5
5383
 
sed 's/^/| /' conftest.$ac_ext >&5
5384
 
 
5385
 
 
5386
 
fi
5387
 
 
5388
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5389
 
      conftest$ac_exeext conftest.$ac_ext
5390
 
  CFLAGS="$save_CFLAGS"
5391
 
  ac_ext=c
5392
 
ac_cpp='$CPP $CPPFLAGS'
5393
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5394
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5395
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5396
 
 
5397
 
 
5398
 
fi
5399
 
 
5400
 
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
5401
 
 { echo "$as_me:$LINENO: result: yes" >&5
5402
 
echo "${ECHO_T}yes" >&6; }
5403
 
 :
5404
 
 CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
5405
 
else
5406
 
 { echo "$as_me:$LINENO: result: no" >&5
5407
 
echo "${ECHO_T}no" >&6; }
5408
 
 :
5409
 
 
5410
 
fi
5411
 
 
5412
 
          ;;
5413
 
        esac
5414
 
 
5415
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
5416
 
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6; }
5417
 
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
5418
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5420
 
else
5421
 
 
5422
 
 
5423
 
   ac_ext=cpp
5424
 
ac_cpp='$CXXCPP $CPPFLAGS'
5425
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5426
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5427
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5428
 
 
5429
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5430
 
 
5431
 
 
5432
 
  save_CXXFLAGS="$CXXFLAGS"
5433
 
  CXXFLAGS="$CXXFLAGS -Wundef"
5434
 
  cat >conftest.$ac_ext <<_ACEOF
5435
 
/* confdefs.h.  */
5436
 
_ACEOF
5437
 
cat confdefs.h >>conftest.$ac_ext
5438
 
cat >>conftest.$ac_ext <<_ACEOF
5439
 
/* end confdefs.h.  */
5440
 
 
5441
 
int
5442
 
main ()
5443
 
{
5444
 
 return 0;
5445
 
  ;
5446
 
  return 0;
5447
 
}
5448
 
_ACEOF
5449
 
rm -f conftest.$ac_objext conftest$ac_exeext
5450
 
if { (ac_try="$ac_link"
5451
 
case "(($ac_try" in
5452
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5453
 
  *) ac_try_echo=$ac_try;;
5454
 
esac
5455
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5456
 
  (eval "$ac_link") 2>conftest.er1
5457
 
  ac_status=$?
5458
 
  grep -v '^ *+' conftest.er1 >conftest.err
5459
 
  rm -f conftest.er1
5460
 
  cat conftest.err >&5
5461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462
 
  (exit $ac_status); } && {
5463
 
         test -z "$ac_cxx_werror_flag" ||
5464
 
         test ! -s conftest.err
5465
 
       } && test -s conftest$ac_exeext &&
5466
 
       $as_test_x conftest$ac_exeext; then
5467
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5468
 
else
5469
 
  echo "$as_me: failed program was:" >&5
5470
 
sed 's/^/| /' conftest.$ac_ext >&5
5471
 
 
5472
 
 
5473
 
fi
5474
 
 
5475
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5476
 
      conftest$ac_exeext conftest.$ac_ext
5477
 
  CXXFLAGS="$save_CXXFLAGS"
5478
 
  ac_ext=c
5479
 
ac_cpp='$CPP $CPPFLAGS'
5480
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5481
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5482
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5483
 
 
5484
 
 
5485
 
fi
5486
 
 
5487
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5488
 
 { echo "$as_me:$LINENO: result: yes" >&5
5489
 
echo "${ECHO_T}yes" >&6; }
5490
 
 :
5491
 
 CXXFLAGS="-Wundef $CXXFLAGS"
5492
 
else
5493
 
 { echo "$as_me:$LINENO: result: no" >&5
5494
 
echo "${ECHO_T}no" >&6; }
5495
 
 :
5496
 
 
5497
 
fi
5498
 
 
5499
 
 
5500
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
5501
 
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6; }
5502
 
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
5503
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5504
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5505
 
else
5506
 
 
5507
 
 
5508
 
   ac_ext=cpp
5509
 
ac_cpp='$CXXCPP $CPPFLAGS'
5510
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5511
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5512
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5513
 
 
5514
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5515
 
 
5516
 
 
5517
 
  save_CXXFLAGS="$CXXFLAGS"
5518
 
  CXXFLAGS="$CXXFLAGS -Wno-long-long"
5519
 
  cat >conftest.$ac_ext <<_ACEOF
5520
 
/* confdefs.h.  */
5521
 
_ACEOF
5522
 
cat confdefs.h >>conftest.$ac_ext
5523
 
cat >>conftest.$ac_ext <<_ACEOF
5524
 
/* end confdefs.h.  */
5525
 
 
5526
 
int
5527
 
main ()
5528
 
{
5529
 
 return 0;
5530
 
  ;
5531
 
  return 0;
5532
 
}
5533
 
_ACEOF
5534
 
rm -f conftest.$ac_objext conftest$ac_exeext
5535
 
if { (ac_try="$ac_link"
5536
 
case "(($ac_try" in
5537
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538
 
  *) ac_try_echo=$ac_try;;
5539
 
esac
5540
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541
 
  (eval "$ac_link") 2>conftest.er1
5542
 
  ac_status=$?
5543
 
  grep -v '^ *+' conftest.er1 >conftest.err
5544
 
  rm -f conftest.er1
5545
 
  cat conftest.err >&5
5546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547
 
  (exit $ac_status); } && {
5548
 
         test -z "$ac_cxx_werror_flag" ||
5549
 
         test ! -s conftest.err
5550
 
       } && test -s conftest$ac_exeext &&
5551
 
       $as_test_x conftest$ac_exeext; then
5552
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5553
 
else
5554
 
  echo "$as_me: failed program was:" >&5
5555
 
sed 's/^/| /' conftest.$ac_ext >&5
5556
 
 
5557
 
 
5558
 
fi
5559
 
 
5560
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5561
 
      conftest$ac_exeext conftest.$ac_ext
5562
 
  CXXFLAGS="$save_CXXFLAGS"
5563
 
  ac_ext=c
5564
 
ac_cpp='$CPP $CPPFLAGS'
5565
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5566
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5567
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5568
 
 
5569
 
 
5570
 
fi
5571
 
 
5572
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5573
 
 { echo "$as_me:$LINENO: result: yes" >&5
5574
 
echo "${ECHO_T}yes" >&6; }
5575
 
 :
5576
 
 CXXFLAGS="-Wno-long-long $CXXFLAGS"
5577
 
else
5578
 
 { echo "$as_me:$LINENO: result: no" >&5
5579
 
echo "${ECHO_T}no" >&6; }
5580
 
 :
5581
 
 
5582
 
fi
5583
 
 
5584
 
 
5585
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
5586
 
echo $ECHO_N "checking whether $CXX supports -Wno-non-virtual-dtor... $ECHO_C" >&6; }
5587
 
kde_cache=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
5588
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5589
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5590
 
else
5591
 
 
5592
 
 
5593
 
   ac_ext=cpp
5594
 
ac_cpp='$CXXCPP $CPPFLAGS'
5595
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5596
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5597
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5598
 
 
5599
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5600
 
 
5601
 
 
5602
 
  save_CXXFLAGS="$CXXFLAGS"
5603
 
  CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5604
 
  cat >conftest.$ac_ext <<_ACEOF
5605
 
/* confdefs.h.  */
5606
 
_ACEOF
5607
 
cat confdefs.h >>conftest.$ac_ext
5608
 
cat >>conftest.$ac_ext <<_ACEOF
5609
 
/* end confdefs.h.  */
5610
 
 
5611
 
int
5612
 
main ()
5613
 
{
5614
 
 return 0;
5615
 
  ;
5616
 
  return 0;
5617
 
}
5618
 
_ACEOF
5619
 
rm -f conftest.$ac_objext conftest$ac_exeext
5620
 
if { (ac_try="$ac_link"
5621
 
case "(($ac_try" in
5622
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5623
 
  *) ac_try_echo=$ac_try;;
5624
 
esac
5625
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5626
 
  (eval "$ac_link") 2>conftest.er1
5627
 
  ac_status=$?
5628
 
  grep -v '^ *+' conftest.er1 >conftest.err
5629
 
  rm -f conftest.er1
5630
 
  cat conftest.err >&5
5631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632
 
  (exit $ac_status); } && {
5633
 
         test -z "$ac_cxx_werror_flag" ||
5634
 
         test ! -s conftest.err
5635
 
       } && test -s conftest$ac_exeext &&
5636
 
       $as_test_x conftest$ac_exeext; then
5637
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5638
 
else
5639
 
  echo "$as_me: failed program was:" >&5
5640
 
sed 's/^/| /' conftest.$ac_ext >&5
5641
 
 
5642
 
 
5643
 
fi
5644
 
 
5645
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5646
 
      conftest$ac_exeext conftest.$ac_ext
5647
 
  CXXFLAGS="$save_CXXFLAGS"
5648
 
  ac_ext=c
5649
 
ac_cpp='$CPP $CPPFLAGS'
5650
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5651
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5652
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5653
 
 
5654
 
 
5655
 
fi
5656
 
 
5657
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5658
 
 { echo "$as_me:$LINENO: result: yes" >&5
5659
 
echo "${ECHO_T}yes" >&6; }
5660
 
 :
5661
 
 CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5662
 
else
5663
 
 { echo "$as_me:$LINENO: result: no" >&5
5664
 
echo "${ECHO_T}no" >&6; }
5665
 
 :
5666
 
 
5667
 
fi
5668
 
 
5669
 
     fi
5670
 
  fi
5671
 
 
5672
 
  if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
5673
 
    CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
5674
 
  fi
5675
 
 
5676
 
  # Check whether --enable-pch was given.
5677
 
if test "${enable_pch+set}" = set; then
5678
 
  enableval=$enable_pch;  kde_use_pch=$enableval
5679
 
else
5680
 
   kde_use_pch=no
5681
 
fi
5682
 
 
5683
 
 
5684
 
  HAVE_GCC_VISIBILITY=0
5685
 
 
5686
 
 
5687
 
  if test "$GXX" = "yes"; then
5688
 
    gcc_no_reorder_blocks=NO
5689
 
 
5690
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-reorder-blocks" >&5
5691
 
echo $ECHO_N "checking whether $CXX supports -fno-reorder-blocks... $ECHO_C" >&6; }
5692
 
kde_cache=`echo fno-reorder-blocks | sed 'y% .=/+-,%____p__%'`
5693
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5694
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5695
 
else
5696
 
 
5697
 
 
5698
 
   ac_ext=cpp
5699
 
ac_cpp='$CXXCPP $CPPFLAGS'
5700
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5701
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5702
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5703
 
 
5704
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5705
 
 
5706
 
 
5707
 
  save_CXXFLAGS="$CXXFLAGS"
5708
 
  CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5709
 
  cat >conftest.$ac_ext <<_ACEOF
5710
 
/* confdefs.h.  */
5711
 
_ACEOF
5712
 
cat confdefs.h >>conftest.$ac_ext
5713
 
cat >>conftest.$ac_ext <<_ACEOF
5714
 
/* end confdefs.h.  */
5715
 
 
5716
 
int
5717
 
main ()
5718
 
{
5719
 
 return 0;
5720
 
  ;
5721
 
  return 0;
5722
 
}
5723
 
_ACEOF
5724
 
rm -f conftest.$ac_objext conftest$ac_exeext
5725
 
if { (ac_try="$ac_link"
5726
 
case "(($ac_try" in
5727
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5728
 
  *) ac_try_echo=$ac_try;;
5729
 
esac
5730
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5731
 
  (eval "$ac_link") 2>conftest.er1
5732
 
  ac_status=$?
5733
 
  grep -v '^ *+' conftest.er1 >conftest.err
5734
 
  rm -f conftest.er1
5735
 
  cat conftest.err >&5
5736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737
 
  (exit $ac_status); } && {
5738
 
         test -z "$ac_cxx_werror_flag" ||
5739
 
         test ! -s conftest.err
5740
 
       } && test -s conftest$ac_exeext &&
5741
 
       $as_test_x conftest$ac_exeext; then
5742
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5743
 
else
5744
 
  echo "$as_me: failed program was:" >&5
5745
 
sed 's/^/| /' conftest.$ac_ext >&5
5746
 
 
5747
 
 
5748
 
fi
5749
 
 
5750
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5751
 
      conftest$ac_exeext conftest.$ac_ext
5752
 
  CXXFLAGS="$save_CXXFLAGS"
5753
 
  ac_ext=c
5754
 
ac_cpp='$CPP $CPPFLAGS'
5755
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5756
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5757
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5758
 
 
5759
 
 
5760
 
fi
5761
 
 
5762
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5763
 
 { echo "$as_me:$LINENO: result: yes" >&5
5764
 
echo "${ECHO_T}yes" >&6; }
5765
 
 :
5766
 
 gcc_no_reorder_blocks=YES
5767
 
else
5768
 
 { echo "$as_me:$LINENO: result: no" >&5
5769
 
echo "${ECHO_T}no" >&6; }
5770
 
 :
5771
 
 
5772
 
fi
5773
 
 
5774
 
    if test $kde_use_debug_code != "no" && \
5775
 
       test $kde_use_debug_code != "full" && \
5776
 
       test "YES" = "$gcc_no_reorder_blocks" ; then
5777
 
          CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5778
 
          CFLAGS="$CFLAGS -fno-reorder-blocks"
5779
 
    fi
5780
 
 
5781
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
5782
 
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6; }
5783
 
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
5784
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5785
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5786
 
else
5787
 
 
5788
 
 
5789
 
   ac_ext=cpp
5790
 
ac_cpp='$CXXCPP $CPPFLAGS'
5791
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5792
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5793
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5794
 
 
5795
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5796
 
 
5797
 
 
5798
 
  save_CXXFLAGS="$CXXFLAGS"
5799
 
  CXXFLAGS="$CXXFLAGS -fno-exceptions"
5800
 
  cat >conftest.$ac_ext <<_ACEOF
5801
 
/* confdefs.h.  */
5802
 
_ACEOF
5803
 
cat confdefs.h >>conftest.$ac_ext
5804
 
cat >>conftest.$ac_ext <<_ACEOF
5805
 
/* end confdefs.h.  */
5806
 
 
5807
 
int
5808
 
main ()
5809
 
{
5810
 
 return 0;
5811
 
  ;
5812
 
  return 0;
5813
 
}
5814
 
_ACEOF
5815
 
rm -f conftest.$ac_objext conftest$ac_exeext
5816
 
if { (ac_try="$ac_link"
5817
 
case "(($ac_try" in
5818
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5819
 
  *) ac_try_echo=$ac_try;;
5820
 
esac
5821
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5822
 
  (eval "$ac_link") 2>conftest.er1
5823
 
  ac_status=$?
5824
 
  grep -v '^ *+' conftest.er1 >conftest.err
5825
 
  rm -f conftest.er1
5826
 
  cat conftest.err >&5
5827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828
 
  (exit $ac_status); } && {
5829
 
         test -z "$ac_cxx_werror_flag" ||
5830
 
         test ! -s conftest.err
5831
 
       } && test -s conftest$ac_exeext &&
5832
 
       $as_test_x conftest$ac_exeext; then
5833
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5834
 
else
5835
 
  echo "$as_me: failed program was:" >&5
5836
 
sed 's/^/| /' conftest.$ac_ext >&5
5837
 
 
5838
 
 
5839
 
fi
5840
 
 
5841
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5842
 
      conftest$ac_exeext conftest.$ac_ext
5843
 
  CXXFLAGS="$save_CXXFLAGS"
5844
 
  ac_ext=c
5845
 
ac_cpp='$CPP $CPPFLAGS'
5846
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5847
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5848
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5849
 
 
5850
 
 
5851
 
fi
5852
 
 
5853
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5854
 
 { echo "$as_me:$LINENO: result: yes" >&5
5855
 
echo "${ECHO_T}yes" >&6; }
5856
 
 :
5857
 
 CXXFLAGS="$CXXFLAGS -fno-exceptions"
5858
 
else
5859
 
 { echo "$as_me:$LINENO: result: no" >&5
5860
 
echo "${ECHO_T}no" >&6; }
5861
 
 :
5862
 
 
5863
 
fi
5864
 
 
5865
 
 
5866
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5867
 
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6; }
5868
 
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5869
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5870
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5871
 
else
5872
 
 
5873
 
 
5874
 
   ac_ext=cpp
5875
 
ac_cpp='$CXXCPP $CPPFLAGS'
5876
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5877
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5878
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5879
 
 
5880
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5881
 
 
5882
 
 
5883
 
  save_CXXFLAGS="$CXXFLAGS"
5884
 
  CXXFLAGS="$CXXFLAGS -fno-check-new"
5885
 
  cat >conftest.$ac_ext <<_ACEOF
5886
 
/* confdefs.h.  */
5887
 
_ACEOF
5888
 
cat confdefs.h >>conftest.$ac_ext
5889
 
cat >>conftest.$ac_ext <<_ACEOF
5890
 
/* end confdefs.h.  */
5891
 
 
5892
 
int
5893
 
main ()
5894
 
{
5895
 
 return 0;
5896
 
  ;
5897
 
  return 0;
5898
 
}
5899
 
_ACEOF
5900
 
rm -f conftest.$ac_objext conftest$ac_exeext
5901
 
if { (ac_try="$ac_link"
5902
 
case "(($ac_try" in
5903
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5904
 
  *) ac_try_echo=$ac_try;;
5905
 
esac
5906
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5907
 
  (eval "$ac_link") 2>conftest.er1
5908
 
  ac_status=$?
5909
 
  grep -v '^ *+' conftest.er1 >conftest.err
5910
 
  rm -f conftest.er1
5911
 
  cat conftest.err >&5
5912
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913
 
  (exit $ac_status); } && {
5914
 
         test -z "$ac_cxx_werror_flag" ||
5915
 
         test ! -s conftest.err
5916
 
       } && test -s conftest$ac_exeext &&
5917
 
       $as_test_x conftest$ac_exeext; then
5918
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5919
 
else
5920
 
  echo "$as_me: failed program was:" >&5
5921
 
sed 's/^/| /' conftest.$ac_ext >&5
5922
 
 
5923
 
 
5924
 
fi
5925
 
 
5926
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5927
 
      conftest$ac_exeext conftest.$ac_ext
5928
 
  CXXFLAGS="$save_CXXFLAGS"
5929
 
  ac_ext=c
5930
 
ac_cpp='$CPP $CPPFLAGS'
5931
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5932
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5933
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5934
 
 
5935
 
 
5936
 
fi
5937
 
 
5938
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5939
 
 { echo "$as_me:$LINENO: result: yes" >&5
5940
 
echo "${ECHO_T}yes" >&6; }
5941
 
 :
5942
 
 CXXFLAGS="$CXXFLAGS -fno-check-new"
5943
 
else
5944
 
 { echo "$as_me:$LINENO: result: no" >&5
5945
 
echo "${ECHO_T}no" >&6; }
5946
 
 :
5947
 
 
5948
 
fi
5949
 
 
5950
 
 
5951
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5952
 
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6; }
5953
 
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5954
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5955
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5956
 
else
5957
 
 
5958
 
 
5959
 
   ac_ext=cpp
5960
 
ac_cpp='$CXXCPP $CPPFLAGS'
5961
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5962
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5963
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5964
 
 
5965
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5966
 
 
5967
 
 
5968
 
  save_CXXFLAGS="$CXXFLAGS"
5969
 
  CXXFLAGS="$CXXFLAGS -fno-common"
5970
 
  cat >conftest.$ac_ext <<_ACEOF
5971
 
/* confdefs.h.  */
5972
 
_ACEOF
5973
 
cat confdefs.h >>conftest.$ac_ext
5974
 
cat >>conftest.$ac_ext <<_ACEOF
5975
 
/* end confdefs.h.  */
5976
 
 
5977
 
int
5978
 
main ()
5979
 
{
5980
 
 return 0;
5981
 
  ;
5982
 
  return 0;
5983
 
}
5984
 
_ACEOF
5985
 
rm -f conftest.$ac_objext conftest$ac_exeext
5986
 
if { (ac_try="$ac_link"
5987
 
case "(($ac_try" in
5988
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5989
 
  *) ac_try_echo=$ac_try;;
5990
 
esac
5991
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5992
 
  (eval "$ac_link") 2>conftest.er1
5993
 
  ac_status=$?
5994
 
  grep -v '^ *+' conftest.er1 >conftest.err
5995
 
  rm -f conftest.er1
5996
 
  cat conftest.err >&5
5997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998
 
  (exit $ac_status); } && {
5999
 
         test -z "$ac_cxx_werror_flag" ||
6000
 
         test ! -s conftest.err
6001
 
       } && test -s conftest$ac_exeext &&
6002
 
       $as_test_x conftest$ac_exeext; then
6003
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6004
 
else
6005
 
  echo "$as_me: failed program was:" >&5
6006
 
sed 's/^/| /' conftest.$ac_ext >&5
6007
 
 
6008
 
 
6009
 
fi
6010
 
 
6011
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6012
 
      conftest$ac_exeext conftest.$ac_ext
6013
 
  CXXFLAGS="$save_CXXFLAGS"
6014
 
  ac_ext=c
6015
 
ac_cpp='$CPP $CPPFLAGS'
6016
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6017
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6018
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6019
 
 
6020
 
 
6021
 
fi
6022
 
 
6023
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6024
 
 { echo "$as_me:$LINENO: result: yes" >&5
6025
 
echo "${ECHO_T}yes" >&6; }
6026
 
 :
6027
 
 CXXFLAGS="$CXXFLAGS -fno-common"
6028
 
else
6029
 
 { echo "$as_me:$LINENO: result: no" >&5
6030
 
echo "${ECHO_T}no" >&6; }
6031
 
 :
6032
 
 
6033
 
fi
6034
 
 
6035
 
 
6036
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
6037
 
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6; }
6038
 
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
6039
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6041
 
else
6042
 
 
6043
 
 
6044
 
   ac_ext=cpp
6045
 
ac_cpp='$CXXCPP $CPPFLAGS'
6046
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6047
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6048
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6049
 
 
6050
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6051
 
 
6052
 
 
6053
 
  save_CXXFLAGS="$CXXFLAGS"
6054
 
  CXXFLAGS="$CXXFLAGS -fexceptions"
6055
 
  cat >conftest.$ac_ext <<_ACEOF
6056
 
/* confdefs.h.  */
6057
 
_ACEOF
6058
 
cat confdefs.h >>conftest.$ac_ext
6059
 
cat >>conftest.$ac_ext <<_ACEOF
6060
 
/* end confdefs.h.  */
6061
 
 
6062
 
int
6063
 
main ()
6064
 
{
6065
 
 return 0;
6066
 
  ;
6067
 
  return 0;
6068
 
}
6069
 
_ACEOF
6070
 
rm -f conftest.$ac_objext conftest$ac_exeext
6071
 
if { (ac_try="$ac_link"
6072
 
case "(($ac_try" in
6073
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6074
 
  *) ac_try_echo=$ac_try;;
6075
 
esac
6076
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6077
 
  (eval "$ac_link") 2>conftest.er1
6078
 
  ac_status=$?
6079
 
  grep -v '^ *+' conftest.er1 >conftest.err
6080
 
  rm -f conftest.er1
6081
 
  cat conftest.err >&5
6082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083
 
  (exit $ac_status); } && {
6084
 
         test -z "$ac_cxx_werror_flag" ||
6085
 
         test ! -s conftest.err
6086
 
       } && test -s conftest$ac_exeext &&
6087
 
       $as_test_x conftest$ac_exeext; then
6088
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6089
 
else
6090
 
  echo "$as_me: failed program was:" >&5
6091
 
sed 's/^/| /' conftest.$ac_ext >&5
6092
 
 
6093
 
 
6094
 
fi
6095
 
 
6096
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6097
 
      conftest$ac_exeext conftest.$ac_ext
6098
 
  CXXFLAGS="$save_CXXFLAGS"
6099
 
  ac_ext=c
6100
 
ac_cpp='$CPP $CPPFLAGS'
6101
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6102
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6103
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6104
 
 
6105
 
 
6106
 
fi
6107
 
 
6108
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6109
 
 { echo "$as_me:$LINENO: result: yes" >&5
6110
 
echo "${ECHO_T}yes" >&6; }
6111
 
 :
6112
 
 USE_EXCEPTIONS="-fexceptions"
6113
 
else
6114
 
 { echo "$as_me:$LINENO: result: no" >&5
6115
 
echo "${ECHO_T}no" >&6; }
6116
 
 :
6117
 
 USE_EXCEPTIONS=
6118
 
fi
6119
 
 
6120
 
    ENABLE_PERMISSIVE_FLAG="-fpermissive"
6121
 
 
6122
 
    if test "$kde_use_pch" = "yes"; then
6123
 
        { echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
6124
 
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6; }
6125
 
        echo >conftest.h
6126
 
        if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
6127
 
            kde_gcc_supports_pch=yes
6128
 
            { echo "$as_me:$LINENO: result: yes" >&5
6129
 
echo "${ECHO_T}yes" >&6; }
6130
 
        else
6131
 
            kde_gcc_supports_pch=no
6132
 
            { echo "$as_me:$LINENO: result: no" >&5
6133
 
echo "${ECHO_T}no" >&6; }
6134
 
        fi
6135
 
        if test "$kde_gcc_supports_pch" = "yes"; then
6136
 
            { echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
6137
 
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6; }
6138
 
            if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
6139
 
                kde_gcc_supports_pch=yes
6140
 
                { echo "$as_me:$LINENO: result: yes" >&5
6141
 
echo "${ECHO_T}yes" >&6; }
6142
 
            else
6143
 
                kde_gcc_supports_pch=no
6144
 
                { echo "$as_me:$LINENO: result: no" >&5
6145
 
echo "${ECHO_T}no" >&6; }
6146
 
            fi
6147
 
        fi
6148
 
        rm -f conftest.h conftest.h.gch
6149
 
    fi
6150
 
 
6151
 
 
6152
 
  { echo "$as_me:$LINENO: checking whether system headers can cope with -O2 -fno-inline" >&5
6153
 
echo $ECHO_N "checking whether system headers can cope with -O2 -fno-inline... $ECHO_C" >&6; }
6154
 
if test "${kde_cv_opt_noinline_match+set}" = set; then
6155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6156
 
else
6157
 
 
6158
 
  kde_cv_opt_noinline_match=irrelevant
6159
 
    if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
6160
 
     && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
6161
 
 
6162
 
    ac_cflags_save="$CFLAGS"
6163
 
    CFLAGS="$CFLAGS -D_USE_GNU"
6164
 
 
6165
 
    cat >conftest.$ac_ext <<_ACEOF
6166
 
/* confdefs.h.  */
6167
 
_ACEOF
6168
 
cat confdefs.h >>conftest.$ac_ext
6169
 
cat >>conftest.$ac_ext <<_ACEOF
6170
 
/* end confdefs.h.  */
6171
 
 
6172
 
  #include <string.h>
6173
 
 
6174
 
int
6175
 
main ()
6176
 
{
6177
 
  const char *pt, *et;
6178
 
  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 ,  ";,"  )); }) ;
6179
 
 
6180
 
  ;
6181
 
  return 0;
6182
 
}
6183
 
_ACEOF
6184
 
rm -f conftest.$ac_objext conftest$ac_exeext
6185
 
if { (ac_try="$ac_link"
6186
 
case "(($ac_try" in
6187
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6188
 
  *) ac_try_echo=$ac_try;;
6189
 
esac
6190
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6191
 
  (eval "$ac_link") 2>conftest.er1
6192
 
  ac_status=$?
6193
 
  grep -v '^ *+' conftest.er1 >conftest.err
6194
 
  rm -f conftest.er1
6195
 
  cat conftest.err >&5
6196
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197
 
  (exit $ac_status); } && {
6198
 
         test -z "$ac_c_werror_flag" ||
6199
 
         test ! -s conftest.err
6200
 
       } && test -s conftest$ac_exeext &&
6201
 
       $as_test_x conftest$ac_exeext; then
6202
 
  kde_cv_opt_noinline_match=yes
6203
 
else
6204
 
  echo "$as_me: failed program was:" >&5
6205
 
sed 's/^/| /' conftest.$ac_ext >&5
6206
 
 
6207
 
        kde_cv_opt_noinline_match=no
6208
 
 
6209
 
fi
6210
 
 
6211
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6212
 
      conftest$ac_exeext conftest.$ac_ext
6213
 
 
6214
 
    CFLAGS="$ac_cflags_save"
6215
 
  fi
6216
 
 
6217
 
fi
6218
 
{ echo "$as_me:$LINENO: result: $kde_cv_opt_noinline_match" >&5
6219
 
echo "${ECHO_T}$kde_cv_opt_noinline_match" >&6; }
6220
 
 
6221
 
    if test "x$kde_cv_opt_noinline_match" = "xno" ; then
6222
 
       CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
6223
 
    fi
6224
 
  fi
6225
 
   if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
6226
 
  unsermake_enable_pch_TRUE=
6227
 
  unsermake_enable_pch_FALSE='#'
6228
 
else
6229
 
  unsermake_enable_pch_TRUE='#'
6230
 
  unsermake_enable_pch_FALSE=
6231
 
fi
6232
 
 
6233
 
  if test "$CXX" = "KCC"; then
6234
 
 
6235
 
    if test "$kde_use_pch" = "yes"; then
6236
 
 
6237
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
6238
 
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6; }
6239
 
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
6240
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6242
 
else
6243
 
 
6244
 
 
6245
 
   ac_ext=cpp
6246
 
ac_cpp='$CXXCPP $CPPFLAGS'
6247
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6248
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6249
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6250
 
 
6251
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6252
 
 
6253
 
 
6254
 
  save_CXXFLAGS="$CXXFLAGS"
6255
 
  CXXFLAGS="$CXXFLAGS --pch"
6256
 
  cat >conftest.$ac_ext <<_ACEOF
6257
 
/* confdefs.h.  */
6258
 
_ACEOF
6259
 
cat confdefs.h >>conftest.$ac_ext
6260
 
cat >>conftest.$ac_ext <<_ACEOF
6261
 
/* end confdefs.h.  */
6262
 
 
6263
 
int
6264
 
main ()
6265
 
{
6266
 
 return 0;
6267
 
  ;
6268
 
  return 0;
6269
 
}
6270
 
_ACEOF
6271
 
rm -f conftest.$ac_objext conftest$ac_exeext
6272
 
if { (ac_try="$ac_link"
6273
 
case "(($ac_try" in
6274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6275
 
  *) ac_try_echo=$ac_try;;
6276
 
esac
6277
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6278
 
  (eval "$ac_link") 2>conftest.er1
6279
 
  ac_status=$?
6280
 
  grep -v '^ *+' conftest.er1 >conftest.err
6281
 
  rm -f conftest.er1
6282
 
  cat conftest.err >&5
6283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284
 
  (exit $ac_status); } && {
6285
 
         test -z "$ac_cxx_werror_flag" ||
6286
 
         test ! -s conftest.err
6287
 
       } && test -s conftest$ac_exeext &&
6288
 
       $as_test_x conftest$ac_exeext; then
6289
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6290
 
else
6291
 
  echo "$as_me: failed program was:" >&5
6292
 
sed 's/^/| /' conftest.$ac_ext >&5
6293
 
 
6294
 
 
6295
 
fi
6296
 
 
6297
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6298
 
      conftest$ac_exeext conftest.$ac_ext
6299
 
  CXXFLAGS="$save_CXXFLAGS"
6300
 
  ac_ext=c
6301
 
ac_cpp='$CPP $CPPFLAGS'
6302
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6303
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6304
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6305
 
 
6306
 
 
6307
 
fi
6308
 
 
6309
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6310
 
 { echo "$as_me:$LINENO: result: yes" >&5
6311
 
echo "${ECHO_T}yes" >&6; }
6312
 
 :
6313
 
 CXXFLAGS="$CXXFLAGS --pch"
6314
 
else
6315
 
 { echo "$as_me:$LINENO: result: no" >&5
6316
 
echo "${ECHO_T}no" >&6; }
6317
 
 :
6318
 
 
6319
 
fi
6320
 
 
6321
 
                                              fi
6322
 
 
6323
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
6324
 
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6; }
6325
 
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
6326
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6327
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6328
 
else
6329
 
 
6330
 
 
6331
 
   ac_ext=cpp
6332
 
ac_cpp='$CXXCPP $CPPFLAGS'
6333
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6334
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6335
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6336
 
 
6337
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6338
 
 
6339
 
 
6340
 
  save_CXXFLAGS="$CXXFLAGS"
6341
 
  CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6342
 
  cat >conftest.$ac_ext <<_ACEOF
6343
 
/* confdefs.h.  */
6344
 
_ACEOF
6345
 
cat confdefs.h >>conftest.$ac_ext
6346
 
cat >>conftest.$ac_ext <<_ACEOF
6347
 
/* end confdefs.h.  */
6348
 
 
6349
 
int
6350
 
main ()
6351
 
{
6352
 
 return 0;
6353
 
  ;
6354
 
  return 0;
6355
 
}
6356
 
_ACEOF
6357
 
rm -f conftest.$ac_objext conftest$ac_exeext
6358
 
if { (ac_try="$ac_link"
6359
 
case "(($ac_try" in
6360
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6361
 
  *) ac_try_echo=$ac_try;;
6362
 
esac
6363
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6364
 
  (eval "$ac_link") 2>conftest.er1
6365
 
  ac_status=$?
6366
 
  grep -v '^ *+' conftest.er1 >conftest.err
6367
 
  rm -f conftest.er1
6368
 
  cat conftest.err >&5
6369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370
 
  (exit $ac_status); } && {
6371
 
         test -z "$ac_cxx_werror_flag" ||
6372
 
         test ! -s conftest.err
6373
 
       } && test -s conftest$ac_exeext &&
6374
 
       $as_test_x conftest$ac_exeext; then
6375
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6376
 
else
6377
 
  echo "$as_me: failed program was:" >&5
6378
 
sed 's/^/| /' conftest.$ac_ext >&5
6379
 
 
6380
 
 
6381
 
fi
6382
 
 
6383
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6384
 
      conftest$ac_exeext conftest.$ac_ext
6385
 
  CXXFLAGS="$save_CXXFLAGS"
6386
 
  ac_ext=c
6387
 
ac_cpp='$CPP $CPPFLAGS'
6388
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6389
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6390
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6391
 
 
6392
 
 
6393
 
fi
6394
 
 
6395
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6396
 
 { echo "$as_me:$LINENO: result: yes" >&5
6397
 
echo "${ECHO_T}yes" >&6; }
6398
 
 :
6399
 
 CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6400
 
else
6401
 
 { echo "$as_me:$LINENO: result: no" >&5
6402
 
echo "${ECHO_T}no" >&6; }
6403
 
 :
6404
 
 
6405
 
fi
6406
 
 
6407
 
 
6408
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
6409
 
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6; }
6410
 
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
6411
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6412
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6413
 
else
6414
 
 
6415
 
 
6416
 
   ac_ext=cpp
6417
 
ac_cpp='$CXXCPP $CPPFLAGS'
6418
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6419
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6420
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6421
 
 
6422
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6423
 
 
6424
 
 
6425
 
  save_CXXFLAGS="$CXXFLAGS"
6426
 
  CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6427
 
  cat >conftest.$ac_ext <<_ACEOF
6428
 
/* confdefs.h.  */
6429
 
_ACEOF
6430
 
cat confdefs.h >>conftest.$ac_ext
6431
 
cat >>conftest.$ac_ext <<_ACEOF
6432
 
/* end confdefs.h.  */
6433
 
 
6434
 
int
6435
 
main ()
6436
 
{
6437
 
 return 0;
6438
 
  ;
6439
 
  return 0;
6440
 
}
6441
 
_ACEOF
6442
 
rm -f conftest.$ac_objext conftest$ac_exeext
6443
 
if { (ac_try="$ac_link"
6444
 
case "(($ac_try" in
6445
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6446
 
  *) ac_try_echo=$ac_try;;
6447
 
esac
6448
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6449
 
  (eval "$ac_link") 2>conftest.er1
6450
 
  ac_status=$?
6451
 
  grep -v '^ *+' conftest.er1 >conftest.err
6452
 
  rm -f conftest.er1
6453
 
  cat conftest.err >&5
6454
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455
 
  (exit $ac_status); } && {
6456
 
         test -z "$ac_cxx_werror_flag" ||
6457
 
         test ! -s conftest.err
6458
 
       } && test -s conftest$ac_exeext &&
6459
 
       $as_test_x conftest$ac_exeext; then
6460
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6461
 
else
6462
 
  echo "$as_me: failed program was:" >&5
6463
 
sed 's/^/| /' conftest.$ac_ext >&5
6464
 
 
6465
 
 
6466
 
fi
6467
 
 
6468
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6469
 
      conftest$ac_exeext conftest.$ac_ext
6470
 
  CXXFLAGS="$save_CXXFLAGS"
6471
 
  ac_ext=c
6472
 
ac_cpp='$CPP $CPPFLAGS'
6473
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6474
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6475
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6476
 
 
6477
 
 
6478
 
fi
6479
 
 
6480
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6481
 
 { echo "$as_me:$LINENO: result: yes" >&5
6482
 
echo "${ECHO_T}yes" >&6; }
6483
 
 :
6484
 
 CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6485
 
else
6486
 
 { echo "$as_me:$LINENO: result: no" >&5
6487
 
echo "${ECHO_T}no" >&6; }
6488
 
 :
6489
 
 
6490
 
fi
6491
 
 
6492
 
 
6493
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
6494
 
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6; }
6495
 
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6496
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6497
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6498
 
else
6499
 
 
6500
 
 
6501
 
   ac_ext=cpp
6502
 
ac_cpp='$CXXCPP $CPPFLAGS'
6503
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6504
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6505
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6506
 
 
6507
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6508
 
 
6509
 
 
6510
 
  save_CXXFLAGS="$CXXFLAGS"
6511
 
  CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6512
 
  cat >conftest.$ac_ext <<_ACEOF
6513
 
/* confdefs.h.  */
6514
 
_ACEOF
6515
 
cat confdefs.h >>conftest.$ac_ext
6516
 
cat >>conftest.$ac_ext <<_ACEOF
6517
 
/* end confdefs.h.  */
6518
 
 
6519
 
int
6520
 
main ()
6521
 
{
6522
 
 return 0;
6523
 
  ;
6524
 
  return 0;
6525
 
}
6526
 
_ACEOF
6527
 
rm -f conftest.$ac_objext conftest$ac_exeext
6528
 
if { (ac_try="$ac_link"
6529
 
case "(($ac_try" in
6530
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6531
 
  *) ac_try_echo=$ac_try;;
6532
 
esac
6533
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6534
 
  (eval "$ac_link") 2>conftest.er1
6535
 
  ac_status=$?
6536
 
  grep -v '^ *+' conftest.er1 >conftest.err
6537
 
  rm -f conftest.er1
6538
 
  cat conftest.err >&5
6539
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540
 
  (exit $ac_status); } && {
6541
 
         test -z "$ac_cxx_werror_flag" ||
6542
 
         test ! -s conftest.err
6543
 
       } && test -s conftest$ac_exeext &&
6544
 
       $as_test_x conftest$ac_exeext; then
6545
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6546
 
else
6547
 
  echo "$as_me: failed program was:" >&5
6548
 
sed 's/^/| /' conftest.$ac_ext >&5
6549
 
 
6550
 
 
6551
 
fi
6552
 
 
6553
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6554
 
      conftest$ac_exeext conftest.$ac_ext
6555
 
  CXXFLAGS="$save_CXXFLAGS"
6556
 
  ac_ext=c
6557
 
ac_cpp='$CPP $CPPFLAGS'
6558
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6559
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6560
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6561
 
 
6562
 
 
6563
 
fi
6564
 
 
6565
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6566
 
 { echo "$as_me:$LINENO: result: yes" >&5
6567
 
echo "${ECHO_T}yes" >&6; }
6568
 
 :
6569
 
 CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6570
 
else
6571
 
 { echo "$as_me:$LINENO: result: no" >&5
6572
 
echo "${ECHO_T}no" >&6; }
6573
 
 :
6574
 
 
6575
 
fi
6576
 
 
6577
 
 
6578
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
6579
 
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6; }
6580
 
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6581
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6582
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6583
 
else
6584
 
 
6585
 
 
6586
 
   ac_ext=cpp
6587
 
ac_cpp='$CXXCPP $CPPFLAGS'
6588
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6589
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6590
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6591
 
 
6592
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6593
 
 
6594
 
 
6595
 
  save_CXXFLAGS="$CXXFLAGS"
6596
 
  CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6597
 
  cat >conftest.$ac_ext <<_ACEOF
6598
 
/* confdefs.h.  */
6599
 
_ACEOF
6600
 
cat confdefs.h >>conftest.$ac_ext
6601
 
cat >>conftest.$ac_ext <<_ACEOF
6602
 
/* end confdefs.h.  */
6603
 
 
6604
 
int
6605
 
main ()
6606
 
{
6607
 
 return 0;
6608
 
  ;
6609
 
  return 0;
6610
 
}
6611
 
_ACEOF
6612
 
rm -f conftest.$ac_objext conftest$ac_exeext
6613
 
if { (ac_try="$ac_link"
6614
 
case "(($ac_try" in
6615
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6616
 
  *) ac_try_echo=$ac_try;;
6617
 
esac
6618
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6619
 
  (eval "$ac_link") 2>conftest.er1
6620
 
  ac_status=$?
6621
 
  grep -v '^ *+' conftest.er1 >conftest.err
6622
 
  rm -f conftest.er1
6623
 
  cat conftest.err >&5
6624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625
 
  (exit $ac_status); } && {
6626
 
         test -z "$ac_cxx_werror_flag" ||
6627
 
         test ! -s conftest.err
6628
 
       } && test -s conftest$ac_exeext &&
6629
 
       $as_test_x conftest$ac_exeext; then
6630
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6631
 
else
6632
 
  echo "$as_me: failed program was:" >&5
6633
 
sed 's/^/| /' conftest.$ac_ext >&5
6634
 
 
6635
 
 
6636
 
fi
6637
 
 
6638
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6639
 
      conftest$ac_exeext conftest.$ac_ext
6640
 
  CXXFLAGS="$save_CXXFLAGS"
6641
 
  ac_ext=c
6642
 
ac_cpp='$CPP $CPPFLAGS'
6643
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6644
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6645
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6646
 
 
6647
 
 
6648
 
fi
6649
 
 
6650
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6651
 
 { echo "$as_me:$LINENO: result: yes" >&5
6652
 
echo "${ECHO_T}yes" >&6; }
6653
 
 :
6654
 
 CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6655
 
else
6656
 
 { echo "$as_me:$LINENO: result: no" >&5
6657
 
echo "${ECHO_T}no" >&6; }
6658
 
 :
6659
 
 
6660
 
fi
6661
 
 
6662
 
 
6663
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
6664
 
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6; }
6665
 
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
6666
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6667
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6668
 
else
6669
 
 
6670
 
 
6671
 
   ac_ext=cpp
6672
 
ac_cpp='$CXXCPP $CPPFLAGS'
6673
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6674
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6675
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6676
 
 
6677
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6678
 
 
6679
 
 
6680
 
  save_CXXFLAGS="$CXXFLAGS"
6681
 
  CXXFLAGS="$CXXFLAGS --one_per"
6682
 
  cat >conftest.$ac_ext <<_ACEOF
6683
 
/* confdefs.h.  */
6684
 
_ACEOF
6685
 
cat confdefs.h >>conftest.$ac_ext
6686
 
cat >>conftest.$ac_ext <<_ACEOF
6687
 
/* end confdefs.h.  */
6688
 
 
6689
 
int
6690
 
main ()
6691
 
{
6692
 
 return 0;
6693
 
  ;
6694
 
  return 0;
6695
 
}
6696
 
_ACEOF
6697
 
rm -f conftest.$ac_objext conftest$ac_exeext
6698
 
if { (ac_try="$ac_link"
6699
 
case "(($ac_try" in
6700
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6701
 
  *) ac_try_echo=$ac_try;;
6702
 
esac
6703
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6704
 
  (eval "$ac_link") 2>conftest.er1
6705
 
  ac_status=$?
6706
 
  grep -v '^ *+' conftest.er1 >conftest.err
6707
 
  rm -f conftest.er1
6708
 
  cat conftest.err >&5
6709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710
 
  (exit $ac_status); } && {
6711
 
         test -z "$ac_cxx_werror_flag" ||
6712
 
         test ! -s conftest.err
6713
 
       } && test -s conftest$ac_exeext &&
6714
 
       $as_test_x conftest$ac_exeext; then
6715
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6716
 
else
6717
 
  echo "$as_me: failed program was:" >&5
6718
 
sed 's/^/| /' conftest.$ac_ext >&5
6719
 
 
6720
 
 
6721
 
fi
6722
 
 
6723
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6724
 
      conftest$ac_exeext conftest.$ac_ext
6725
 
  CXXFLAGS="$save_CXXFLAGS"
6726
 
  ac_ext=c
6727
 
ac_cpp='$CPP $CPPFLAGS'
6728
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6729
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6730
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6731
 
 
6732
 
 
6733
 
fi
6734
 
 
6735
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6736
 
 { echo "$as_me:$LINENO: result: yes" >&5
6737
 
echo "${ECHO_T}yes" >&6; }
6738
 
 :
6739
 
 CXXFLAGS="$CXXFLAGS --one_per"
6740
 
else
6741
 
 { echo "$as_me:$LINENO: result: no" >&5
6742
 
echo "${ECHO_T}no" >&6; }
6743
 
 :
6744
 
 
6745
 
fi
6746
 
 
6747
 
  fi
6748
 
 
6749
 
    USE_RTTI=
6750
 
 
6751
 
 
6752
 
  case "$host" in
6753
 
      *-*-irix*)  test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
6754
 
      *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
6755
 
      *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
6756
 
      *-*-solaris*)
6757
 
        if test "$GXX" = yes; then
6758
 
          libstdcpp=`$CXX -print-file-name=libstdc++.so`
6759
 
          if test ! -f $libstdcpp; then
6760
 
             { { 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
6761
 
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;}
6762
 
   { (exit 1); exit 1; }; }
6763
 
          fi
6764
 
        fi
6765
 
        ;;
6766
 
  esac
6767
 
 
6768
 
  if test "x$kde_use_qt_emb" != "xyes"; then
6769
 
  __val=$CXX
6770
 
  __forbid=" -fno-rtti -rpath "
6771
 
  if test -n "$__val"; then
6772
 
    __new=""
6773
 
    ac_save_IFS=$IFS
6774
 
    IFS="       "
6775
 
    for i in $__val; do
6776
 
      case "$__forbid" in
6777
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6778
 
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6779
 
        *) # Careful to not add spaces, where there were none, because otherwise
6780
 
           # libtool gets confused, if we change e.g. CXX
6781
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6782
 
      esac
6783
 
    done
6784
 
    IFS=$ac_save_IFS
6785
 
    CXX=$__new
6786
 
  fi
6787
 
 
6788
 
  __val=$CXXFLAGS
6789
 
  __forbid=" -fno-rtti -rpath "
6790
 
  if test -n "$__val"; then
6791
 
    __new=""
6792
 
    ac_save_IFS=$IFS
6793
 
    IFS="       "
6794
 
    for i in $__val; do
6795
 
      case "$__forbid" in
6796
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6797
 
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6798
 
        *) # Careful to not add spaces, where there were none, because otherwise
6799
 
           # libtool gets confused, if we change e.g. CXX
6800
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6801
 
      esac
6802
 
    done
6803
 
    IFS=$ac_save_IFS
6804
 
    CXXFLAGS=$__new
6805
 
  fi
6806
 
 
6807
 
else
6808
 
  __val=$CXX
6809
 
  __forbid=" -rpath "
6810
 
  if test -n "$__val"; then
6811
 
    __new=""
6812
 
    ac_save_IFS=$IFS
6813
 
    IFS="       "
6814
 
    for i in $__val; do
6815
 
      case "$__forbid" in
6816
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6817
 
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6818
 
        *) # Careful to not add spaces, where there were none, because otherwise
6819
 
           # libtool gets confused, if we change e.g. CXX
6820
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6821
 
      esac
6822
 
    done
6823
 
    IFS=$ac_save_IFS
6824
 
    CXX=$__new
6825
 
  fi
6826
 
 
6827
 
  __val=$CXXFLAGS
6828
 
  __forbid=" -rpath "
6829
 
  if test -n "$__val"; then
6830
 
    __new=""
6831
 
    ac_save_IFS=$IFS
6832
 
    IFS="       "
6833
 
    for i in $__val; do
6834
 
      case "$__forbid" in
6835
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6836
 
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6837
 
        *) # Careful to not add spaces, where there were none, because otherwise
6838
 
           # libtool gets confused, if we change e.g. CXX
6839
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6840
 
      esac
6841
 
    done
6842
 
    IFS=$ac_save_IFS
6843
 
    CXXFLAGS=$__new
6844
 
  fi
6845
 
 
6846
 
fi
6847
 
 
6848
 
 
6849
 
  ac_ext=cpp
6850
 
ac_cpp='$CXXCPP $CPPFLAGS'
6851
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6852
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6853
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6854
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6855
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6856
 
if test -z "$CXXCPP"; then
6857
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6858
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6859
 
else
6860
 
      # Double quotes because CXXCPP needs to be expanded
6861
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6862
 
    do
6863
 
      ac_preproc_ok=false
6864
 
for ac_cxx_preproc_warn_flag in '' yes
6865
 
do
6866
 
  # Use a header file that comes with gcc, so configuring glibc
6867
 
  # with a fresh cross-compiler works.
6868
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6869
 
  # <limits.h> exists even on freestanding compilers.
6870
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6871
 
  # not just through cpp. "Syntax error" is here to catch this case.
6872
 
  cat >conftest.$ac_ext <<_ACEOF
6873
 
/* confdefs.h.  */
6874
 
_ACEOF
6875
 
cat confdefs.h >>conftest.$ac_ext
6876
 
cat >>conftest.$ac_ext <<_ACEOF
6877
 
/* end confdefs.h.  */
6878
 
#ifdef __STDC__
6879
 
# include <limits.h>
6880
 
#else
6881
 
# include <assert.h>
6882
 
#endif
6883
 
                     Syntax error
6884
 
_ACEOF
6885
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6886
 
case "(($ac_try" in
6887
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6888
 
  *) ac_try_echo=$ac_try;;
6889
 
esac
6890
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6891
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6892
 
  ac_status=$?
6893
 
  grep -v '^ *+' conftest.er1 >conftest.err
6894
 
  rm -f conftest.er1
6895
 
  cat conftest.err >&5
6896
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897
 
  (exit $ac_status); } >/dev/null && {
6898
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6899
 
         test ! -s conftest.err
6900
 
       }; then
6901
 
  :
6902
 
else
6903
 
  echo "$as_me: failed program was:" >&5
6904
 
sed 's/^/| /' conftest.$ac_ext >&5
6905
 
 
6906
 
  # Broken: fails on valid input.
6907
 
continue
6908
 
fi
6909
 
 
6910
 
rm -f conftest.err conftest.$ac_ext
6911
 
 
6912
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6913
 
  # can be detected and how.
6914
 
  cat >conftest.$ac_ext <<_ACEOF
6915
 
/* confdefs.h.  */
6916
 
_ACEOF
6917
 
cat confdefs.h >>conftest.$ac_ext
6918
 
cat >>conftest.$ac_ext <<_ACEOF
6919
 
/* end confdefs.h.  */
6920
 
#include <ac_nonexistent.h>
6921
 
_ACEOF
6922
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6923
 
case "(($ac_try" in
6924
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6925
 
  *) ac_try_echo=$ac_try;;
6926
 
esac
6927
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6928
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6929
 
  ac_status=$?
6930
 
  grep -v '^ *+' conftest.er1 >conftest.err
6931
 
  rm -f conftest.er1
6932
 
  cat conftest.err >&5
6933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934
 
  (exit $ac_status); } >/dev/null && {
6935
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6936
 
         test ! -s conftest.err
6937
 
       }; then
6938
 
  # Broken: success on invalid input.
6939
 
continue
6940
 
else
6941
 
  echo "$as_me: failed program was:" >&5
6942
 
sed 's/^/| /' conftest.$ac_ext >&5
6943
 
 
6944
 
  # Passes both tests.
6945
 
ac_preproc_ok=:
6946
 
break
6947
 
fi
6948
 
 
6949
 
rm -f conftest.err conftest.$ac_ext
6950
 
 
6951
 
done
6952
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6953
 
rm -f conftest.err conftest.$ac_ext
6954
 
if $ac_preproc_ok; then
6955
 
  break
6956
 
fi
6957
 
 
6958
 
    done
6959
 
    ac_cv_prog_CXXCPP=$CXXCPP
6960
 
 
6961
 
fi
6962
 
  CXXCPP=$ac_cv_prog_CXXCPP
6963
 
else
6964
 
  ac_cv_prog_CXXCPP=$CXXCPP
6965
 
fi
6966
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6967
 
echo "${ECHO_T}$CXXCPP" >&6; }
6968
 
ac_preproc_ok=false
6969
 
for ac_cxx_preproc_warn_flag in '' yes
6970
 
do
6971
 
  # Use a header file that comes with gcc, so configuring glibc
6972
 
  # with a fresh cross-compiler works.
6973
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6974
 
  # <limits.h> exists even on freestanding compilers.
6975
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6976
 
  # not just through cpp. "Syntax error" is here to catch this case.
6977
 
  cat >conftest.$ac_ext <<_ACEOF
6978
 
/* confdefs.h.  */
6979
 
_ACEOF
6980
 
cat confdefs.h >>conftest.$ac_ext
6981
 
cat >>conftest.$ac_ext <<_ACEOF
6982
 
/* end confdefs.h.  */
6983
 
#ifdef __STDC__
6984
 
# include <limits.h>
6985
 
#else
6986
 
# include <assert.h>
6987
 
#endif
6988
 
                     Syntax error
6989
 
_ACEOF
6990
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6991
 
case "(($ac_try" in
6992
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6993
 
  *) ac_try_echo=$ac_try;;
6994
 
esac
6995
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6996
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6997
 
  ac_status=$?
6998
 
  grep -v '^ *+' conftest.er1 >conftest.err
6999
 
  rm -f conftest.er1
7000
 
  cat conftest.err >&5
7001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002
 
  (exit $ac_status); } >/dev/null && {
7003
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7004
 
         test ! -s conftest.err
7005
 
       }; then
7006
 
  :
7007
 
else
7008
 
  echo "$as_me: failed program was:" >&5
7009
 
sed 's/^/| /' conftest.$ac_ext >&5
7010
 
 
7011
 
  # Broken: fails on valid input.
7012
 
continue
7013
 
fi
7014
 
 
7015
 
rm -f conftest.err conftest.$ac_ext
7016
 
 
7017
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7018
 
  # can be detected and how.
7019
 
  cat >conftest.$ac_ext <<_ACEOF
7020
 
/* confdefs.h.  */
7021
 
_ACEOF
7022
 
cat confdefs.h >>conftest.$ac_ext
7023
 
cat >>conftest.$ac_ext <<_ACEOF
7024
 
/* end confdefs.h.  */
7025
 
#include <ac_nonexistent.h>
7026
 
_ACEOF
7027
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7028
 
case "(($ac_try" in
7029
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7030
 
  *) ac_try_echo=$ac_try;;
7031
 
esac
7032
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7033
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7034
 
  ac_status=$?
7035
 
  grep -v '^ *+' conftest.er1 >conftest.err
7036
 
  rm -f conftest.er1
7037
 
  cat conftest.err >&5
7038
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039
 
  (exit $ac_status); } >/dev/null && {
7040
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7041
 
         test ! -s conftest.err
7042
 
       }; then
7043
 
  # Broken: success on invalid input.
7044
 
continue
7045
 
else
7046
 
  echo "$as_me: failed program was:" >&5
7047
 
sed 's/^/| /' conftest.$ac_ext >&5
7048
 
 
7049
 
  # Passes both tests.
7050
 
ac_preproc_ok=:
7051
 
break
7052
 
fi
7053
 
 
7054
 
rm -f conftest.err conftest.$ac_ext
7055
 
 
7056
 
done
7057
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7058
 
rm -f conftest.err conftest.$ac_ext
7059
 
if $ac_preproc_ok; then
7060
 
  :
7061
 
else
7062
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7063
 
See \`config.log' for more details." >&5
7064
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7065
 
See \`config.log' for more details." >&2;}
7066
 
   { (exit 1); exit 1; }; }
7067
 
fi
7068
 
 
7069
 
ac_ext=c
7070
 
ac_cpp='$CPP $CPPFLAGS'
7071
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7072
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7073
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7074
 
 
7075
 
 
7076
 
  if test "$GCC" = yes; then
7077
 
     NOOPT_CFLAGS=-O0
7078
 
  fi
7079
 
 
7080
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
7081
 
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6; }
7082
 
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
7083
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7084
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7085
 
else
7086
 
 
7087
 
 
7088
 
   ac_ext=cpp
7089
 
ac_cpp='$CXXCPP $CPPFLAGS'
7090
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7091
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7092
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7093
 
 
7094
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7095
 
 
7096
 
 
7097
 
  save_CXXFLAGS="$CXXFLAGS"
7098
 
  CXXFLAGS="$CXXFLAGS -O0"
7099
 
  cat >conftest.$ac_ext <<_ACEOF
7100
 
/* confdefs.h.  */
7101
 
_ACEOF
7102
 
cat confdefs.h >>conftest.$ac_ext
7103
 
cat >>conftest.$ac_ext <<_ACEOF
7104
 
/* end confdefs.h.  */
7105
 
 
7106
 
int
7107
 
main ()
7108
 
{
7109
 
 return 0;
7110
 
  ;
7111
 
  return 0;
7112
 
}
7113
 
_ACEOF
7114
 
rm -f conftest.$ac_objext conftest$ac_exeext
7115
 
if { (ac_try="$ac_link"
7116
 
case "(($ac_try" in
7117
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7118
 
  *) ac_try_echo=$ac_try;;
7119
 
esac
7120
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7121
 
  (eval "$ac_link") 2>conftest.er1
7122
 
  ac_status=$?
7123
 
  grep -v '^ *+' conftest.er1 >conftest.err
7124
 
  rm -f conftest.er1
7125
 
  cat conftest.err >&5
7126
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127
 
  (exit $ac_status); } && {
7128
 
         test -z "$ac_cxx_werror_flag" ||
7129
 
         test ! -s conftest.err
7130
 
       } && test -s conftest$ac_exeext &&
7131
 
       $as_test_x conftest$ac_exeext; then
7132
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7133
 
else
7134
 
  echo "$as_me: failed program was:" >&5
7135
 
sed 's/^/| /' conftest.$ac_ext >&5
7136
 
 
7137
 
 
7138
 
fi
7139
 
 
7140
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7141
 
      conftest$ac_exeext conftest.$ac_ext
7142
 
  CXXFLAGS="$save_CXXFLAGS"
7143
 
  ac_ext=c
7144
 
ac_cpp='$CPP $CPPFLAGS'
7145
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7146
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7147
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7148
 
 
7149
 
 
7150
 
fi
7151
 
 
7152
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7153
 
 { echo "$as_me:$LINENO: result: yes" >&5
7154
 
echo "${ECHO_T}yes" >&6; }
7155
 
 :
7156
 
 NOOPT_CXXFLAGS=-O0
7157
 
else
7158
 
 { echo "$as_me:$LINENO: result: no" >&5
7159
 
echo "${ECHO_T}no" >&6; }
7160
 
 :
7161
 
 
7162
 
fi
7163
 
 
7164
 
 
7165
 
  # Check whether --enable-coverage was given.
7166
 
if test "${enable_coverage+set}" = set; then
7167
 
  enableval=$enable_coverage;
7168
 
      if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
7169
 
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7170
 
        ac_coverage_linker="-lgcc"
7171
 
      elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
7172
 
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7173
 
        ac_coverage_linker=""
7174
 
      else
7175
 
        { { echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
7176
 
echo "$as_me: error: coverage with your compiler is not supported" >&2;}
7177
 
   { (exit 1); exit 1; }; }
7178
 
      fi
7179
 
      CFLAGS="$CFLAGS $ac_coverage_compiler"
7180
 
      CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
7181
 
      LDFLAGS="$LDFLAGS $ac_coverage_linker"
7182
 
 
7183
 
fi
7184
 
 
7185
 
 
7186
 
 
7187
 
 
7188
 
 
7189
 
 
7190
 
 
7191
 
  # Check whether --enable-new_ldflags was given.
7192
 
if test "${enable_new_ldflags+set}" = set; then
7193
 
  enableval=$enable_new_ldflags; kde_use_new_ldflags=$enableval
7194
 
else
7195
 
  kde_use_new_ldflags=no
7196
 
fi
7197
 
 
7198
 
 
7199
 
  LDFLAGS_AS_NEEDED=""
7200
 
  LDFLAGS_NEW_DTAGS=""
7201
 
  if test "x$kde_use_new_ldflags" = "xyes"; then
7202
 
       LDFLAGS_NEW_DTAGS=""
7203
 
 
7204
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
7205
 
echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
7206
 
kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
7207
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7208
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7209
 
else
7210
 
 
7211
 
 
7212
 
   ac_ext=cpp
7213
 
ac_cpp='$CXXCPP $CPPFLAGS'
7214
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7215
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7216
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7217
 
 
7218
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7219
 
 
7220
 
 
7221
 
  save_CXXFLAGS="$CXXFLAGS"
7222
 
  CXXFLAGS="$CXXFLAGS -Wl,--enable-new-dtags"
7223
 
  cat >conftest.$ac_ext <<_ACEOF
7224
 
/* confdefs.h.  */
7225
 
_ACEOF
7226
 
cat confdefs.h >>conftest.$ac_ext
7227
 
cat >>conftest.$ac_ext <<_ACEOF
7228
 
/* end confdefs.h.  */
7229
 
 
7230
 
int
7231
 
main ()
7232
 
{
7233
 
 return 0;
7234
 
  ;
7235
 
  return 0;
7236
 
}
7237
 
_ACEOF
7238
 
rm -f conftest.$ac_objext conftest$ac_exeext
7239
 
if { (ac_try="$ac_link"
7240
 
case "(($ac_try" in
7241
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7242
 
  *) ac_try_echo=$ac_try;;
7243
 
esac
7244
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7245
 
  (eval "$ac_link") 2>conftest.er1
7246
 
  ac_status=$?
7247
 
  grep -v '^ *+' conftest.er1 >conftest.err
7248
 
  rm -f conftest.er1
7249
 
  cat conftest.err >&5
7250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251
 
  (exit $ac_status); } && {
7252
 
         test -z "$ac_cxx_werror_flag" ||
7253
 
         test ! -s conftest.err
7254
 
       } && test -s conftest$ac_exeext &&
7255
 
       $as_test_x conftest$ac_exeext; then
7256
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7257
 
else
7258
 
  echo "$as_me: failed program was:" >&5
7259
 
sed 's/^/| /' conftest.$ac_ext >&5
7260
 
 
7261
 
 
7262
 
fi
7263
 
 
7264
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7265
 
      conftest$ac_exeext conftest.$ac_ext
7266
 
  CXXFLAGS="$save_CXXFLAGS"
7267
 
  ac_ext=c
7268
 
ac_cpp='$CPP $CPPFLAGS'
7269
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7270
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7271
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7272
 
 
7273
 
 
7274
 
fi
7275
 
 
7276
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7277
 
 { echo "$as_me:$LINENO: result: yes" >&5
7278
 
echo "${ECHO_T}yes" >&6; }
7279
 
 :
7280
 
 LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
7281
 
else
7282
 
 { echo "$as_me:$LINENO: result: no" >&5
7283
 
echo "${ECHO_T}no" >&6; }
7284
 
 :
7285
 
 
7286
 
fi
7287
 
 
7288
 
 
7289
 
 
7290
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
7291
 
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6; }
7292
 
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
7293
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7294
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7295
 
else
7296
 
 
7297
 
 
7298
 
   ac_ext=cpp
7299
 
ac_cpp='$CXXCPP $CPPFLAGS'
7300
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7301
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7302
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7303
 
 
7304
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7305
 
 
7306
 
 
7307
 
  save_CXXFLAGS="$CXXFLAGS"
7308
 
  CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
7309
 
  cat >conftest.$ac_ext <<_ACEOF
7310
 
/* confdefs.h.  */
7311
 
_ACEOF
7312
 
cat confdefs.h >>conftest.$ac_ext
7313
 
cat >>conftest.$ac_ext <<_ACEOF
7314
 
/* end confdefs.h.  */
7315
 
 
7316
 
int
7317
 
main ()
7318
 
{
7319
 
 return 0;
7320
 
  ;
7321
 
  return 0;
7322
 
}
7323
 
_ACEOF
7324
 
rm -f conftest.$ac_objext conftest$ac_exeext
7325
 
if { (ac_try="$ac_link"
7326
 
case "(($ac_try" in
7327
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7328
 
  *) ac_try_echo=$ac_try;;
7329
 
esac
7330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7331
 
  (eval "$ac_link") 2>conftest.er1
7332
 
  ac_status=$?
7333
 
  grep -v '^ *+' conftest.er1 >conftest.err
7334
 
  rm -f conftest.er1
7335
 
  cat conftest.err >&5
7336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337
 
  (exit $ac_status); } && {
7338
 
         test -z "$ac_cxx_werror_flag" ||
7339
 
         test ! -s conftest.err
7340
 
       } && test -s conftest$ac_exeext &&
7341
 
       $as_test_x conftest$ac_exeext; then
7342
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7343
 
else
7344
 
  echo "$as_me: failed program was:" >&5
7345
 
sed 's/^/| /' conftest.$ac_ext >&5
7346
 
 
7347
 
 
7348
 
fi
7349
 
 
7350
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7351
 
      conftest$ac_exeext conftest.$ac_ext
7352
 
  CXXFLAGS="$save_CXXFLAGS"
7353
 
  ac_ext=c
7354
 
ac_cpp='$CPP $CPPFLAGS'
7355
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7356
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7357
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7358
 
 
7359
 
 
7360
 
fi
7361
 
 
7362
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7363
 
 { echo "$as_me:$LINENO: result: yes" >&5
7364
 
echo "${ECHO_T}yes" >&6; }
7365
 
 :
7366
 
 LDFLAGS_AS_NEEDED="-Wl,--as-needed"
7367
 
else
7368
 
 { echo "$as_me:$LINENO: result: no" >&5
7369
 
echo "${ECHO_T}no" >&6; }
7370
 
 :
7371
 
 
7372
 
fi
7373
 
 
7374
 
  fi
7375
 
 
7376
 
 
7377
 
 
7378
 
 
7379
 
  # Check whether --enable-final was given.
7380
 
if test "${enable_final+set}" = set; then
7381
 
  enableval=$enable_final; kde_use_final=$enableval
7382
 
else
7383
 
  kde_use_final=no
7384
 
fi
7385
 
 
7386
 
 
7387
 
  if test "x$kde_use_final" = "xyes"; then
7388
 
      KDE_USE_FINAL_TRUE=""
7389
 
      KDE_USE_FINAL_FALSE="#"
7390
 
   else
7391
 
      KDE_USE_FINAL_TRUE="#"
7392
 
      KDE_USE_FINAL_FALSE=""
7393
 
  fi
7394
 
 
7395
 
 
7396
 
 
7397
 
 
7398
 
  # Check whether --enable-closure was given.
7399
 
if test "${enable_closure+set}" = set; then
7400
 
  enableval=$enable_closure; kde_use_closure=$enableval
7401
 
else
7402
 
  kde_use_closure=no
7403
 
fi
7404
 
 
7405
 
 
7406
 
  KDE_NO_UNDEFINED=""
7407
 
  if test "x$kde_use_closure" = "xyes"; then
7408
 
       KDE_USE_CLOSURE_TRUE=""
7409
 
       KDE_USE_CLOSURE_FALSE="#"
7410
 
#       CXXFLAGS="$CXXFLAGS $REPO"
7411
 
  else
7412
 
       KDE_USE_CLOSURE_TRUE="#"
7413
 
       KDE_USE_CLOSURE_FALSE=""
7414
 
       KDE_NO_UNDEFINED=""
7415
 
       case $host in
7416
 
         *-*-linux-gnu)
7417
 
 
7418
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
7419
 
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6; }
7420
 
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
7421
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7422
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7423
 
else
7424
 
 
7425
 
 
7426
 
   ac_ext=cpp
7427
 
ac_cpp='$CXXCPP $CPPFLAGS'
7428
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7429
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7430
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7431
 
 
7432
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7433
 
 
7434
 
 
7435
 
  save_CXXFLAGS="$CXXFLAGS"
7436
 
  CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
7437
 
  cat >conftest.$ac_ext <<_ACEOF
7438
 
/* confdefs.h.  */
7439
 
_ACEOF
7440
 
cat confdefs.h >>conftest.$ac_ext
7441
 
cat >>conftest.$ac_ext <<_ACEOF
7442
 
/* end confdefs.h.  */
7443
 
 
7444
 
int
7445
 
main ()
7446
 
{
7447
 
 return 0;
7448
 
  ;
7449
 
  return 0;
7450
 
}
7451
 
_ACEOF
7452
 
rm -f conftest.$ac_objext conftest$ac_exeext
7453
 
if { (ac_try="$ac_link"
7454
 
case "(($ac_try" in
7455
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7456
 
  *) ac_try_echo=$ac_try;;
7457
 
esac
7458
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7459
 
  (eval "$ac_link") 2>conftest.er1
7460
 
  ac_status=$?
7461
 
  grep -v '^ *+' conftest.er1 >conftest.err
7462
 
  rm -f conftest.er1
7463
 
  cat conftest.err >&5
7464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465
 
  (exit $ac_status); } && {
7466
 
         test -z "$ac_cxx_werror_flag" ||
7467
 
         test ! -s conftest.err
7468
 
       } && test -s conftest$ac_exeext &&
7469
 
       $as_test_x conftest$ac_exeext; then
7470
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7471
 
else
7472
 
  echo "$as_me: failed program was:" >&5
7473
 
sed 's/^/| /' conftest.$ac_ext >&5
7474
 
 
7475
 
 
7476
 
fi
7477
 
 
7478
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7479
 
      conftest$ac_exeext conftest.$ac_ext
7480
 
  CXXFLAGS="$save_CXXFLAGS"
7481
 
  ac_ext=c
7482
 
ac_cpp='$CPP $CPPFLAGS'
7483
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7484
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7485
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7486
 
 
7487
 
 
7488
 
fi
7489
 
 
7490
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7491
 
 { echo "$as_me:$LINENO: result: yes" >&5
7492
 
echo "${ECHO_T}yes" >&6; }
7493
 
 :
7494
 
 
7495
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
7496
 
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6; }
7497
 
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
7498
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7499
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7500
 
else
7501
 
 
7502
 
 
7503
 
   ac_ext=cpp
7504
 
ac_cpp='$CXXCPP $CPPFLAGS'
7505
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7506
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7507
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7508
 
 
7509
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7510
 
 
7511
 
 
7512
 
  save_CXXFLAGS="$CXXFLAGS"
7513
 
  CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
7514
 
  cat >conftest.$ac_ext <<_ACEOF
7515
 
/* confdefs.h.  */
7516
 
_ACEOF
7517
 
cat confdefs.h >>conftest.$ac_ext
7518
 
cat >>conftest.$ac_ext <<_ACEOF
7519
 
/* end confdefs.h.  */
7520
 
 
7521
 
int
7522
 
main ()
7523
 
{
7524
 
 return 0;
7525
 
  ;
7526
 
  return 0;
7527
 
}
7528
 
_ACEOF
7529
 
rm -f conftest.$ac_objext conftest$ac_exeext
7530
 
if { (ac_try="$ac_link"
7531
 
case "(($ac_try" in
7532
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7533
 
  *) ac_try_echo=$ac_try;;
7534
 
esac
7535
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7536
 
  (eval "$ac_link") 2>conftest.er1
7537
 
  ac_status=$?
7538
 
  grep -v '^ *+' conftest.er1 >conftest.err
7539
 
  rm -f conftest.er1
7540
 
  cat conftest.err >&5
7541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542
 
  (exit $ac_status); } && {
7543
 
         test -z "$ac_cxx_werror_flag" ||
7544
 
         test ! -s conftest.err
7545
 
       } && test -s conftest$ac_exeext &&
7546
 
       $as_test_x conftest$ac_exeext; then
7547
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7548
 
else
7549
 
  echo "$as_me: failed program was:" >&5
7550
 
sed 's/^/| /' conftest.$ac_ext >&5
7551
 
 
7552
 
 
7553
 
fi
7554
 
 
7555
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7556
 
      conftest$ac_exeext conftest.$ac_ext
7557
 
  CXXFLAGS="$save_CXXFLAGS"
7558
 
  ac_ext=c
7559
 
ac_cpp='$CPP $CPPFLAGS'
7560
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7561
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7562
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7563
 
 
7564
 
 
7565
 
fi
7566
 
 
7567
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7568
 
 { echo "$as_me:$LINENO: result: yes" >&5
7569
 
echo "${ECHO_T}yes" >&6; }
7570
 
 :
7571
 
 KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
7572
 
else
7573
 
 { echo "$as_me:$LINENO: result: no" >&5
7574
 
echo "${ECHO_T}no" >&6; }
7575
 
 :
7576
 
 KDE_NO_UNDEFINED=""
7577
 
fi
7578
 
 
7579
 
else
7580
 
 { echo "$as_me:$LINENO: result: no" >&5
7581
 
echo "${ECHO_T}no" >&6; }
7582
 
 :
7583
 
 KDE_NO_UNDEFINED=""
7584
 
fi
7585
 
 
7586
 
           ;;
7587
 
       esac
7588
 
  fi
7589
 
 
7590
 
 
7591
 
 
7592
 
 
7593
 
 
7594
 
  # Check whether --enable-nmcheck was given.
7595
 
if test "${enable_nmcheck+set}" = set; then
7596
 
  enableval=$enable_nmcheck; kde_use_nmcheck=$enableval
7597
 
else
7598
 
  kde_use_nmcheck=no
7599
 
fi
7600
 
 
7601
 
 
7602
 
  if test "$kde_use_nmcheck" = "yes"; then
7603
 
      KDE_USE_NMCHECK_TRUE=""
7604
 
      KDE_USE_NMCHECK_FALSE="#"
7605
 
   else
7606
 
      KDE_USE_NMCHECK_TRUE="#"
7607
 
      KDE_USE_NMCHECK_FALSE=""
7608
 
  fi
7609
 
 
7610
 
 
7611
 
 
7612
 
 
7613
 
 
7614
 
 
7615
 
# Check whether --enable-shared was given.
7616
 
if test "${enable_shared+set}" = set; then
7617
 
  enableval=$enable_shared; p=${PACKAGE-default}
7618
 
    case $enableval in
7619
 
    yes) enable_shared=yes ;;
7620
 
    no) enable_shared=no ;;
7621
 
    *)
7622
 
      enable_shared=no
7623
 
      # Look at the argument we got.  We use all the common list separators.
7624
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7625
 
      for pkg in $enableval; do
7626
 
        IFS="$lt_save_ifs"
7627
 
        if test "X$pkg" = "X$p"; then
7628
 
          enable_shared=yes
7629
 
        fi
7630
 
      done
7631
 
      IFS="$lt_save_ifs"
7632
 
      ;;
7633
 
    esac
7634
 
else
7635
 
  enable_shared=yes
7636
 
fi
7637
 
 
7638
 
 
7639
 
# Check whether --enable-static was given.
7640
 
if test "${enable_static+set}" = set; then
7641
 
  enableval=$enable_static; p=${PACKAGE-default}
7642
 
    case $enableval in
7643
 
    yes) enable_static=yes ;;
7644
 
    no) enable_static=no ;;
7645
 
    *)
7646
 
     enable_static=no
7647
 
      # Look at the argument we got.  We use all the common list separators.
7648
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7649
 
      for pkg in $enableval; do
7650
 
        IFS="$lt_save_ifs"
7651
 
        if test "X$pkg" = "X$p"; then
7652
 
          enable_static=yes
7653
 
        fi
7654
 
      done
7655
 
      IFS="$lt_save_ifs"
7656
 
      ;;
7657
 
    esac
7658
 
else
7659
 
  enable_static=no
7660
 
fi
7661
 
 
7662
 
 
7663
 
 
7664
 
 
7665
 
 
7666
 
    # Check whether --enable-libsuffix was given.
7667
 
if test "${enable_libsuffix+set}" = set; then
7668
 
  enableval=$enable_libsuffix; kdelibsuff=$enableval
7669
 
else
7670
 
  kdelibsuff="auto"
7671
 
fi
7672
 
 
7673
 
 
7674
 
    if test "$kdelibsuff" = "auto"; then
7675
 
 
7676
 
cat > conftest.c << EOF
7677
 
#include <stdio.h>
7678
 
int main() {
7679
 
 return 0;
7680
 
}
7681
 
EOF
7682
 
        kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
7683
 
    s,.*/lib\([^\/]*\)/.*,\1,
7684
 
    p
7685
 
}'`
7686
 
        rm -rf conftest.*
7687
 
    fi
7688
 
 
7689
 
    if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
7690
 
       kdelibsuff=
7691
 
    fi
7692
 
    if test -z "$kdelibsuff"; then
7693
 
        { echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
7694
 
echo "${ECHO_T}not using lib directory suffix" >&6; }
7695
 
 
7696
 
cat >>confdefs.h <<\_ACEOF
7697
 
#define KDELIBSUFF ""
7698
 
_ACEOF
7699
 
 
7700
 
    else
7701
 
        if test "$libdir" = '${exec_prefix}/lib'; then
7702
 
            libdir="$libdir${kdelibsuff}"
7703
 
            libdir="$libdir"
7704
 
          fi
7705
 
 
7706
 
cat >>confdefs.h <<_ACEOF
7707
 
#define KDELIBSUFF "${kdelibsuff}"
7708
 
_ACEOF
7709
 
 
7710
 
        { echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
7711
 
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6; }
7712
 
    fi
7713
 
 
7714
 
# Check whether --enable-fast-install was given.
7715
 
if test "${enable_fast_install+set}" = set; then
7716
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7717
 
    case $enableval in
7718
 
    yes) enable_fast_install=yes ;;
7719
 
    no) enable_fast_install=no ;;
7720
 
    *)
7721
 
      enable_fast_install=no
7722
 
      # Look at the argument we got.  We use all the common list separators.
7723
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7724
 
      for pkg in $enableval; do
7725
 
        IFS="$lt_save_ifs"
7726
 
        if test "X$pkg" = "X$p"; then
7727
 
          enable_fast_install=yes
7728
 
        fi
7729
 
      done
7730
 
      IFS="$lt_save_ifs"
7731
 
      ;;
7732
 
    esac
7733
 
else
7734
 
  enable_fast_install=yes
7735
 
fi
7736
 
 
7737
 
 
7738
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7739
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7740
 
if test "${lt_cv_path_SED+set}" = set; then
7741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7742
 
else
7743
 
  # Loop through the user's path and test for sed and gsed.
7744
 
# Then use that list of sed's as ones to test for truncation.
7745
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7746
 
for as_dir in $PATH
7747
 
do
7748
 
  IFS=$as_save_IFS
7749
 
  test -z "$as_dir" && as_dir=.
7750
 
  for lt_ac_prog in sed gsed; do
7751
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7752
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7753
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7754
 
      fi
7755
 
    done
7756
 
  done
7757
 
done
7758
 
lt_ac_max=0
7759
 
lt_ac_count=0
7760
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7761
 
# along with /bin/sed that truncates output.
7762
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7763
 
  test ! -f $lt_ac_sed && break
7764
 
  cat /dev/null > conftest.in
7765
 
  lt_ac_count=0
7766
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7767
 
  # Check for GNU sed and select it if it is found.
7768
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7769
 
    lt_cv_path_SED=$lt_ac_sed
7770
 
    break
7771
 
  fi
7772
 
  while true; do
7773
 
    cat conftest.in conftest.in >conftest.tmp
7774
 
    mv conftest.tmp conftest.in
7775
 
    cp conftest.in conftest.nl
7776
 
    echo >>conftest.nl
7777
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7778
 
    cmp -s conftest.out conftest.nl || break
7779
 
    # 10000 chars as input seems more than enough
7780
 
    test $lt_ac_count -gt 10 && break
7781
 
    lt_ac_count=`expr $lt_ac_count + 1`
7782
 
    if test $lt_ac_count -gt $lt_ac_max; then
7783
 
      lt_ac_max=$lt_ac_count
7784
 
      lt_cv_path_SED=$lt_ac_sed
7785
 
    fi
7786
 
  done
7787
 
done
7788
 
 
7789
 
fi
7790
 
 
7791
 
SED=$lt_cv_path_SED
7792
 
{ echo "$as_me:$LINENO: result: $SED" >&5
7793
 
echo "${ECHO_T}$SED" >&6; }
7794
 
 
7795
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7796
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7797
 
if test "${ac_cv_path_GREP+set}" = set; then
7798
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7799
 
else
7800
 
  # Extract the first word of "grep ggrep" to use in msg output
7801
 
if test -z "$GREP"; then
7802
 
set dummy grep ggrep; ac_prog_name=$2
7803
 
if test "${ac_cv_path_GREP+set}" = set; then
7804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7805
 
else
7806
 
  ac_path_GREP_found=false
7807
 
# Loop through the user's path and test for each of PROGNAME-LIST
7808
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7810
 
do
7811
 
  IFS=$as_save_IFS
7812
 
  test -z "$as_dir" && as_dir=.
7813
 
  for ac_prog in grep ggrep; do
7814
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7815
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7816
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7817
 
    # Check for GNU ac_path_GREP and select it if it is found.
7818
 
  # Check for GNU $ac_path_GREP
7819
 
case `"$ac_path_GREP" --version 2>&1` in
7820
 
*GNU*)
7821
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7822
 
*)
7823
 
  ac_count=0
7824
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7825
 
  while :
7826
 
  do
7827
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
7828
 
    mv "conftest.tmp" "conftest.in"
7829
 
    cp "conftest.in" "conftest.nl"
7830
 
    echo 'GREP' >> "conftest.nl"
7831
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7832
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7833
 
    ac_count=`expr $ac_count + 1`
7834
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
7835
 
      # Best one so far, save it but keep looking for a better one
7836
 
      ac_cv_path_GREP="$ac_path_GREP"
7837
 
      ac_path_GREP_max=$ac_count
7838
 
    fi
7839
 
    # 10*(2^10) chars as input seems more than enough
7840
 
    test $ac_count -gt 10 && break
7841
 
  done
7842
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7843
 
esac
7844
 
 
7845
 
 
7846
 
    $ac_path_GREP_found && break 3
7847
 
  done
7848
 
done
7849
 
 
7850
 
done
7851
 
IFS=$as_save_IFS
7852
 
 
7853
 
 
7854
 
fi
7855
 
 
7856
 
GREP="$ac_cv_path_GREP"
7857
 
if test -z "$GREP"; then
7858
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7859
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7860
 
   { (exit 1); exit 1; }; }
7861
 
fi
7862
 
 
7863
 
else
7864
 
  ac_cv_path_GREP=$GREP
7865
 
fi
7866
 
 
7867
 
 
7868
 
fi
7869
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7870
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7871
 
 GREP="$ac_cv_path_GREP"
7872
 
 
7873
 
 
7874
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
7875
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7876
 
if test "${ac_cv_path_EGREP+set}" = set; then
7877
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7878
 
else
7879
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7880
 
   then ac_cv_path_EGREP="$GREP -E"
7881
 
   else
7882
 
     # Extract the first word of "egrep" to use in msg output
7883
 
if test -z "$EGREP"; then
7884
 
set dummy egrep; ac_prog_name=$2
7885
 
if test "${ac_cv_path_EGREP+set}" = set; then
7886
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7887
 
else
7888
 
  ac_path_EGREP_found=false
7889
 
# Loop through the user's path and test for each of PROGNAME-LIST
7890
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7891
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7892
 
do
7893
 
  IFS=$as_save_IFS
7894
 
  test -z "$as_dir" && as_dir=.
7895
 
  for ac_prog in egrep; do
7896
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7897
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7898
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7899
 
    # Check for GNU ac_path_EGREP and select it if it is found.
7900
 
  # Check for GNU $ac_path_EGREP
7901
 
case `"$ac_path_EGREP" --version 2>&1` in
7902
 
*GNU*)
7903
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7904
 
*)
7905
 
  ac_count=0
7906
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7907
 
  while :
7908
 
  do
7909
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
7910
 
    mv "conftest.tmp" "conftest.in"
7911
 
    cp "conftest.in" "conftest.nl"
7912
 
    echo 'EGREP' >> "conftest.nl"
7913
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7914
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7915
 
    ac_count=`expr $ac_count + 1`
7916
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7917
 
      # Best one so far, save it but keep looking for a better one
7918
 
      ac_cv_path_EGREP="$ac_path_EGREP"
7919
 
      ac_path_EGREP_max=$ac_count
7920
 
    fi
7921
 
    # 10*(2^10) chars as input seems more than enough
7922
 
    test $ac_count -gt 10 && break
7923
 
  done
7924
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7925
 
esac
7926
 
 
7927
 
 
7928
 
    $ac_path_EGREP_found && break 3
7929
 
  done
7930
 
done
7931
 
 
7932
 
done
7933
 
IFS=$as_save_IFS
7934
 
 
7935
 
 
7936
 
fi
7937
 
 
7938
 
EGREP="$ac_cv_path_EGREP"
7939
 
if test -z "$EGREP"; then
7940
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7941
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7942
 
   { (exit 1); exit 1; }; }
7943
 
fi
7944
 
 
7945
 
else
7946
 
  ac_cv_path_EGREP=$EGREP
7947
 
fi
7948
 
 
7949
 
 
7950
 
   fi
7951
 
fi
7952
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7953
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7954
 
 EGREP="$ac_cv_path_EGREP"
7955
 
 
7956
 
 
7957
 
 
7958
 
# Check whether --with-gnu-ld was given.
7959
 
if test "${with_gnu_ld+set}" = set; then
7960
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7961
 
else
7962
 
  with_gnu_ld=no
7963
 
fi
7964
 
 
7965
 
ac_prog=ld
7966
 
if test "$GCC" = yes; then
7967
 
  # Check if gcc -print-prog-name=ld gives a path.
7968
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7969
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
7970
 
  case $host in
7971
 
  *-*-mingw*)
7972
 
    # gcc leaves a trailing carriage return which upsets mingw
7973
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7974
 
  *)
7975
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7976
 
  esac
7977
 
  case $ac_prog in
7978
 
    # Accept absolute paths.
7979
 
    [\\/]* | ?:[\\/]*)
7980
 
      re_direlt='/[^/][^/]*/\.\./'
7981
 
      # Canonicalize the pathname of ld
7982
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7983
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7984
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7985
 
      done
7986
 
      test -z "$LD" && LD="$ac_prog"
7987
 
      ;;
7988
 
  "")
7989
 
    # If it fails, then pretend we aren't using GCC.
7990
 
    ac_prog=ld
7991
 
    ;;
7992
 
  *)
7993
 
    # If it is relative, then search for the first ld in PATH.
7994
 
    with_gnu_ld=unknown
7995
 
    ;;
7996
 
  esac
7997
 
elif test "$with_gnu_ld" = yes; then
7998
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
7999
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8000
 
else
8001
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8002
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8003
 
fi
8004
 
if test "${lt_cv_path_LD+set}" = set; then
8005
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8006
 
else
8007
 
  if test -z "$LD"; then
8008
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8009
 
  for ac_dir in $PATH; do
8010
 
    IFS="$lt_save_ifs"
8011
 
    test -z "$ac_dir" && ac_dir=.
8012
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8013
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
8014
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
8015
 
      # but apparently some GNU ld's only accept -v.
8016
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
8017
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8018
 
      *GNU* | *'with BFD'*)
8019
 
        test "$with_gnu_ld" != no && break
8020
 
        ;;
8021
 
      *)
8022
 
        test "$with_gnu_ld" != yes && break
8023
 
        ;;
8024
 
      esac
8025
 
    fi
8026
 
  done
8027
 
  IFS="$lt_save_ifs"
8028
 
else
8029
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
8030
 
fi
8031
 
fi
8032
 
 
8033
 
LD="$lt_cv_path_LD"
8034
 
if test -n "$LD"; then
8035
 
  { echo "$as_me:$LINENO: result: $LD" >&5
8036
 
echo "${ECHO_T}$LD" >&6; }
8037
 
else
8038
 
  { echo "$as_me:$LINENO: result: no" >&5
8039
 
echo "${ECHO_T}no" >&6; }
8040
 
fi
8041
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8042
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8043
 
   { (exit 1); exit 1; }; }
8044
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8045
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8046
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
8047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8048
 
else
8049
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8050
 
case `$LD -v 2>&1 </dev/null` in
8051
 
*GNU* | *'with BFD'*)
8052
 
  lt_cv_prog_gnu_ld=yes
8053
 
  ;;
8054
 
*)
8055
 
  lt_cv_prog_gnu_ld=no
8056
 
  ;;
8057
 
esac
8058
 
fi
8059
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8060
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
8061
 
with_gnu_ld=$lt_cv_prog_gnu_ld
8062
 
 
8063
 
 
8064
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8065
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
8066
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
8067
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8068
 
else
8069
 
  lt_cv_ld_reload_flag='-r'
8070
 
fi
8071
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8072
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
8073
 
reload_flag=$lt_cv_ld_reload_flag
8074
 
case $reload_flag in
8075
 
"" | " "*) ;;
8076
 
*) reload_flag=" $reload_flag" ;;
8077
 
esac
8078
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
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_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8090
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
8091
 
    IFS="$lt_save_ifs"
8092
 
    test -z "$ac_dir" && ac_dir=.
8093
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
8094
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8095
 
      # Check to see if the nm accepts a BSD-compat flag.
8096
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8097
 
      #   nm: unknown option "B" ignored
8098
 
      # Tru64's nm complains that /dev/null is an invalid object file
8099
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8100
 
      */dev/null* | *'Invalid file or object type'*)
8101
 
        lt_cv_path_NM="$tmp_nm -B"
8102
 
        break
8103
 
        ;;
8104
 
      *)
8105
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8106
 
        */dev/null*)
8107
 
          lt_cv_path_NM="$tmp_nm -p"
8108
 
          break
8109
 
          ;;
8110
 
        *)
8111
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8112
 
          continue # so that we can try to find one that supports BSD flags
8113
 
          ;;
8114
 
        esac
8115
 
      esac
8116
 
    fi
8117
 
  done
8118
 
  IFS="$lt_save_ifs"
8119
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8120
 
fi
8121
 
fi
8122
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8123
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
8124
 
NM="$lt_cv_path_NM"
8125
 
 
8126
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
8127
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
8128
 
LN_S=$as_ln_s
8129
 
if test "$LN_S" = "ln -s"; then
8130
 
  { echo "$as_me:$LINENO: result: yes" >&5
8131
 
echo "${ECHO_T}yes" >&6; }
8132
 
else
8133
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8134
 
echo "${ECHO_T}no, using $LN_S" >&6; }
8135
 
fi
8136
 
 
8137
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
8138
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
8139
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
8140
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8141
 
else
8142
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
8143
 
lt_cv_file_magic_test_file=
8144
 
lt_cv_deplibs_check_method='unknown'
8145
 
# Need to set the preceding variable on all platforms that support
8146
 
# interlibrary dependencies.
8147
 
# 'none' -- dependencies not supported.
8148
 
# `unknown' -- same as none, but documents that we really don't know.
8149
 
# 'pass_all' -- all dependencies passed with no checks.
8150
 
# 'test_compile' -- check by making test program.
8151
 
# 'file_magic [[regex]]' -- check by looking for files in library path
8152
 
# which responds to the $file_magic_cmd with a given extended regex.
8153
 
# If you have `file' or equivalent on your system and you're not sure
8154
 
# whether `pass_all' will *always* work, you probably want this one.
8155
 
 
8156
 
case $host_os in
8157
 
aix4* | aix5*)
8158
 
  lt_cv_deplibs_check_method=pass_all
8159
 
  ;;
8160
 
 
8161
 
beos*)
8162
 
  lt_cv_deplibs_check_method=pass_all
8163
 
  ;;
8164
 
 
8165
 
bsdi4*)
8166
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8167
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
8168
 
  lt_cv_file_magic_test_file=/shlib/libc.so
8169
 
  ;;
8170
 
 
8171
 
cygwin*)
8172
 
  lt_cv_deplibs_check_method=pass_all
8173
 
  ;;
8174
 
 
8175
 
mingw* | pw32*)
8176
 
  # win32_libid is a shell function defined in ltmain.sh
8177
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8178
 
  lt_cv_file_magic_cmd='win32_libid'
8179
 
  ;;
8180
 
 
8181
 
darwin* | rhapsody*)
8182
 
  # this will be overwritten by pass_all, but leave it in just in case
8183
 
  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
8184
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
8185
 
  case "$host_os" in
8186
 
  rhapsody* | darwin1.[012])
8187
 
    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
8188
 
    ;;
8189
 
  *) # Darwin 1.3 on
8190
 
    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
8191
 
    ;;
8192
 
  esac
8193
 
  lt_cv_deplibs_check_method=pass_all
8194
 
  ;;
8195
 
 
8196
 
freebsd* | kfreebsd*-gnu)
8197
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8198
 
    case $host_cpu in
8199
 
    i*86 )
8200
 
      # Not sure whether the presence of OpenBSD here was a mistake.
8201
 
      # Let's accept both of them until this is cleared up.
8202
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
8203
 
      lt_cv_file_magic_cmd=/usr/bin/file
8204
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8205
 
      ;;
8206
 
    esac
8207
 
  else
8208
 
    lt_cv_deplibs_check_method=pass_all
8209
 
  fi
8210
 
  ;;
8211
 
 
8212
 
gnu*)
8213
 
  lt_cv_deplibs_check_method=pass_all
8214
 
  ;;
8215
 
 
8216
 
hpux10.20* | hpux11*)
8217
 
  lt_cv_file_magic_cmd=/usr/bin/file
8218
 
  case "$host_cpu" in
8219
 
  ia64*)
8220
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8221
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8222
 
    ;;
8223
 
  hppa*64*)
8224
 
    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]'
8225
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8226
 
    ;;
8227
 
  *)
8228
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8229
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
8230
 
    ;;
8231
 
  esac
8232
 
  ;;
8233
 
 
8234
 
irix5* | irix6* | nonstopux*)
8235
 
  case $host_os in
8236
 
  irix5* | nonstopux*)
8237
 
    # this will be overridden with pass_all, but let us keep it just in case
8238
 
    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
8239
 
    ;;
8240
 
  *)
8241
 
    case $LD in
8242
 
    *-32|*"-32 ") libmagic=32-bit;;
8243
 
    *-n32|*"-n32 ") libmagic=N32;;
8244
 
    *-64|*"-64 ") libmagic=64-bit;;
8245
 
    *) libmagic=never-match;;
8246
 
    esac
8247
 
    # this will be overridden with pass_all, but let us keep it just in case
8248
 
    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
8249
 
    ;;
8250
 
  esac
8251
 
  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
8252
 
  lt_cv_deplibs_check_method=pass_all
8253
 
  ;;
8254
 
 
8255
 
# This must be Linux ELF.
8256
 
linux*)
8257
 
  case $host_cpu in
8258
 
  alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
8259
 
    lt_cv_deplibs_check_method=pass_all ;;
8260
 
  # the debian people say, arm and glibc 2.3.1 works for them with pass_all
8261
 
  arm* )
8262
 
    lt_cv_deplibs_check_method=pass_all ;;
8263
 
  *)
8264
 
    # glibc up to 2.1.1 does not perform some relocations on ARM
8265
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
8266
 
  esac
8267
 
  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
8268
 
  ;;
8269
 
 
8270
 
netbsd*)
8271
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8272
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8273
 
  else
8274
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8275
 
  fi
8276
 
  ;;
8277
 
 
8278
 
newos6*)
8279
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8280
 
  lt_cv_file_magic_cmd=/usr/bin/file
8281
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
8282
 
  ;;
8283
 
 
8284
 
nto-qnx*)
8285
 
  lt_cv_deplibs_check_method=unknown
8286
 
  ;;
8287
 
 
8288
 
openbsd*)
8289
 
  lt_cv_file_magic_cmd=/usr/bin/file
8290
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8291
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8292
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
8293
 
  else
8294
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
8295
 
  fi
8296
 
  ;;
8297
 
 
8298
 
osf3* | osf4* | osf5*)
8299
 
  # this will be overridden with pass_all, but let us keep it just in case
8300
 
  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
8301
 
  lt_cv_file_magic_test_file=/shlib/libc.so
8302
 
  lt_cv_deplibs_check_method=pass_all
8303
 
  ;;
8304
 
 
8305
 
sco3.2v5*)
8306
 
  lt_cv_deplibs_check_method=pass_all
8307
 
  ;;
8308
 
 
8309
 
solaris*)
8310
 
  lt_cv_deplibs_check_method=pass_all
8311
 
  lt_cv_file_magic_test_file=/lib/libc.so
8312
 
  ;;
8313
 
 
8314
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8315
 
  case $host_vendor in
8316
 
  motorola)
8317
 
    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]'
8318
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8319
 
    ;;
8320
 
  ncr)
8321
 
    lt_cv_deplibs_check_method=pass_all
8322
 
    ;;
8323
 
  sequent)
8324
 
    lt_cv_file_magic_cmd='/bin/file'
8325
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8326
 
    ;;
8327
 
  sni)
8328
 
    lt_cv_file_magic_cmd='/bin/file'
8329
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8330
 
    lt_cv_file_magic_test_file=/lib/libc.so
8331
 
    ;;
8332
 
  siemens)
8333
 
    lt_cv_deplibs_check_method=pass_all
8334
 
    ;;
8335
 
  esac
8336
 
  ;;
8337
 
 
8338
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
8339
 
  lt_cv_deplibs_check_method=pass_all
8340
 
  ;;
8341
 
esac
8342
 
 
8343
 
fi
8344
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8345
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8346
 
file_magic_cmd=$lt_cv_file_magic_cmd
8347
 
deplibs_check_method=$lt_cv_deplibs_check_method
8348
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8349
 
 
8350
 
 
8351
 
# If no C compiler was specified, use CC.
8352
 
LTCC=${LTCC-"$CC"}
8353
 
 
8354
 
# Allow CC to be a program name with arguments.
8355
 
compiler=$CC
8356
 
 
8357
 
# Check whether --enable-libtool-lock was given.
8358
 
if test "${enable_libtool_lock+set}" = set; then
8359
 
  enableval=$enable_libtool_lock;
8360
 
fi
8361
 
 
8362
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8363
 
 
8364
 
# Some flags need to be propagated to the compiler or linker for good
8365
 
# libtool support.
8366
 
case $host in
8367
 
ia64-*-hpux*)
8368
 
  # Find out which ABI we are using.
8369
 
  echo 'int i;' > conftest.$ac_ext
8370
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8371
 
  (eval $ac_compile) 2>&5
8372
 
  ac_status=$?
8373
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374
 
  (exit $ac_status); }; then
8375
 
    case `/usr/bin/file conftest.$ac_objext` in
8376
 
    *ELF-32*)
8377
 
      HPUX_IA64_MODE="32"
8378
 
      ;;
8379
 
    *ELF-64*)
8380
 
      HPUX_IA64_MODE="64"
8381
 
      ;;
8382
 
    esac
8383
 
  fi
8384
 
  rm -rf conftest*
8385
 
  ;;
8386
 
*-*-irix6*)
8387
 
  # Find out which ABI we are using.
8388
 
  echo '#line 8388 "configure"' > conftest.$ac_ext
8389
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8390
 
  (eval $ac_compile) 2>&5
8391
 
  ac_status=$?
8392
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393
 
  (exit $ac_status); }; then
8394
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
8395
 
    case `/usr/bin/file conftest.$ac_objext` in
8396
 
    *32-bit*)
8397
 
      LD="${LD-ld} -melf32bsmip"
8398
 
      ;;
8399
 
    *N32*)
8400
 
      LD="${LD-ld} -melf32bmipn32"
8401
 
      ;;
8402
 
    *64-bit*)
8403
 
      LD="${LD-ld} -melf64bmip"
8404
 
      ;;
8405
 
    esac
8406
 
   else
8407
 
    case `/usr/bin/file conftest.$ac_objext` in
8408
 
    *32-bit*)
8409
 
      LD="${LD-ld} -32"
8410
 
      ;;
8411
 
    *N32*)
8412
 
      LD="${LD-ld} -n32"
8413
 
      ;;
8414
 
    *64-bit*)
8415
 
      LD="${LD-ld} -64"
8416
 
      ;;
8417
 
    esac
8418
 
   fi
8419
 
  fi
8420
 
  rm -rf conftest*
8421
 
  ;;
8422
 
 
8423
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
8424
 
  # Find out which ABI we are using.
8425
 
  echo 'int i;' > conftest.$ac_ext
8426
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8427
 
  (eval $ac_compile) 2>&5
8428
 
  ac_status=$?
8429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430
 
  (exit $ac_status); }; then
8431
 
    case "`/usr/bin/file conftest.o`" in
8432
 
    *32-bit*)
8433
 
      LINUX_64_MODE="32"
8434
 
      case $host in
8435
 
        x86_64-*linux*)
8436
 
          LD="${LD-ld} -m elf_i386"
8437
 
          ;;
8438
 
        ppc64-*linux*)
8439
 
          LD="${LD-ld} -m elf32ppclinux"
8440
 
          ;;
8441
 
        s390x-*linux*)
8442
 
          LD="${LD-ld} -m elf_s390"
8443
 
          ;;
8444
 
        sparc64-*linux*)
8445
 
          LD="${LD-ld} -m elf32_sparc"
8446
 
          ;;
8447
 
      esac
8448
 
      ;;
8449
 
    *64-bit*)
8450
 
      LINUX_64_MODE="64"
8451
 
      case $host in
8452
 
        x86_64-*linux*)
8453
 
          LD="${LD-ld} -m elf_x86_64"
8454
 
          ;;
8455
 
        ppc*-*linux*|powerpc*-*linux*)
8456
 
          LD="${LD-ld} -m elf64ppc"
8457
 
          ;;
8458
 
        s390*-*linux*)
8459
 
          LD="${LD-ld} -m elf64_s390"
8460
 
          ;;
8461
 
        sparc*-*linux*)
8462
 
          LD="${LD-ld} -m elf64_sparc"
8463
 
          ;;
8464
 
      esac
8465
 
      ;;
8466
 
    esac
8467
 
  fi
8468
 
  rm -rf conftest*
8469
 
  ;;
8470
 
 
8471
 
*-*-sco3.2v5*)
8472
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8473
 
  SAVE_CFLAGS="$CFLAGS"
8474
 
  CFLAGS="$CFLAGS -belf"
8475
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8476
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
8477
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
8478
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8479
 
else
8480
 
  ac_ext=c
8481
 
ac_cpp='$CPP $CPPFLAGS'
8482
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8485
 
 
8486
 
     cat >conftest.$ac_ext <<_ACEOF
8487
 
/* confdefs.h.  */
8488
 
_ACEOF
8489
 
cat confdefs.h >>conftest.$ac_ext
8490
 
cat >>conftest.$ac_ext <<_ACEOF
8491
 
/* end confdefs.h.  */
8492
 
 
8493
 
int
8494
 
main ()
8495
 
{
8496
 
 
8497
 
  ;
8498
 
  return 0;
8499
 
}
8500
 
_ACEOF
8501
 
rm -f conftest.$ac_objext conftest$ac_exeext
8502
 
if { (ac_try="$ac_link"
8503
 
case "(($ac_try" in
8504
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8505
 
  *) ac_try_echo=$ac_try;;
8506
 
esac
8507
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8508
 
  (eval "$ac_link") 2>conftest.er1
8509
 
  ac_status=$?
8510
 
  grep -v '^ *+' conftest.er1 >conftest.err
8511
 
  rm -f conftest.er1
8512
 
  cat conftest.err >&5
8513
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514
 
  (exit $ac_status); } && {
8515
 
         test -z "$ac_c_werror_flag" ||
8516
 
         test ! -s conftest.err
8517
 
       } && test -s conftest$ac_exeext &&
8518
 
       $as_test_x conftest$ac_exeext; then
8519
 
  lt_cv_cc_needs_belf=yes
8520
 
else
8521
 
  echo "$as_me: failed program was:" >&5
8522
 
sed 's/^/| /' conftest.$ac_ext >&5
8523
 
 
8524
 
        lt_cv_cc_needs_belf=no
8525
 
fi
8526
 
 
8527
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8528
 
      conftest$ac_exeext conftest.$ac_ext
8529
 
     ac_ext=c
8530
 
ac_cpp='$CPP $CPPFLAGS'
8531
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8532
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8533
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8534
 
 
8535
 
fi
8536
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8537
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
8538
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8539
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8540
 
    CFLAGS="$SAVE_CFLAGS"
8541
 
  fi
8542
 
  ;;
8543
 
 
8544
 
esac
8545
 
 
8546
 
need_locks="$enable_libtool_lock"
8547
 
 
8548
 
 
8549
 
 
8550
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8551
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8552
 
if test "${ac_cv_header_stdc+set}" = set; then
8553
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8554
 
else
8555
 
  cat >conftest.$ac_ext <<_ACEOF
8556
 
/* confdefs.h.  */
8557
 
_ACEOF
8558
 
cat confdefs.h >>conftest.$ac_ext
8559
 
cat >>conftest.$ac_ext <<_ACEOF
8560
 
/* end confdefs.h.  */
8561
 
#include <stdlib.h>
8562
 
#include <stdarg.h>
8563
 
#include <string.h>
8564
 
#include <float.h>
8565
 
 
8566
 
int
8567
 
main ()
8568
 
{
8569
 
 
8570
 
  ;
8571
 
  return 0;
8572
 
}
8573
 
_ACEOF
8574
 
rm -f conftest.$ac_objext
8575
 
if { (ac_try="$ac_compile"
8576
 
case "(($ac_try" in
8577
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8578
 
  *) ac_try_echo=$ac_try;;
8579
 
esac
8580
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8581
 
  (eval "$ac_compile") 2>conftest.er1
8582
 
  ac_status=$?
8583
 
  grep -v '^ *+' conftest.er1 >conftest.err
8584
 
  rm -f conftest.er1
8585
 
  cat conftest.err >&5
8586
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587
 
  (exit $ac_status); } && {
8588
 
         test -z "$ac_c_werror_flag" ||
8589
 
         test ! -s conftest.err
8590
 
       } && test -s conftest.$ac_objext; then
8591
 
  ac_cv_header_stdc=yes
8592
 
else
8593
 
  echo "$as_me: failed program was:" >&5
8594
 
sed 's/^/| /' conftest.$ac_ext >&5
8595
 
 
8596
 
        ac_cv_header_stdc=no
8597
 
fi
8598
 
 
8599
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8600
 
 
8601
 
if test $ac_cv_header_stdc = yes; then
8602
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8603
 
  cat >conftest.$ac_ext <<_ACEOF
8604
 
/* confdefs.h.  */
8605
 
_ACEOF
8606
 
cat confdefs.h >>conftest.$ac_ext
8607
 
cat >>conftest.$ac_ext <<_ACEOF
8608
 
/* end confdefs.h.  */
8609
 
#include <string.h>
8610
 
 
8611
 
_ACEOF
8612
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8613
 
  $EGREP "memchr" >/dev/null 2>&1; then
8614
 
  :
8615
 
else
8616
 
  ac_cv_header_stdc=no
8617
 
fi
8618
 
rm -f conftest*
8619
 
 
8620
 
fi
8621
 
 
8622
 
if test $ac_cv_header_stdc = yes; then
8623
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8624
 
  cat >conftest.$ac_ext <<_ACEOF
8625
 
/* confdefs.h.  */
8626
 
_ACEOF
8627
 
cat confdefs.h >>conftest.$ac_ext
8628
 
cat >>conftest.$ac_ext <<_ACEOF
8629
 
/* end confdefs.h.  */
8630
 
#include <stdlib.h>
8631
 
 
8632
 
_ACEOF
8633
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8634
 
  $EGREP "free" >/dev/null 2>&1; then
8635
 
  :
8636
 
else
8637
 
  ac_cv_header_stdc=no
8638
 
fi
8639
 
rm -f conftest*
8640
 
 
8641
 
fi
8642
 
 
8643
 
if test $ac_cv_header_stdc = yes; then
8644
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8645
 
  if test "$cross_compiling" = yes; then
8646
 
  :
8647
 
else
8648
 
  cat >conftest.$ac_ext <<_ACEOF
8649
 
/* confdefs.h.  */
8650
 
_ACEOF
8651
 
cat confdefs.h >>conftest.$ac_ext
8652
 
cat >>conftest.$ac_ext <<_ACEOF
8653
 
/* end confdefs.h.  */
8654
 
#include <ctype.h>
8655
 
#include <stdlib.h>
8656
 
#if ((' ' & 0x0FF) == 0x020)
8657
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8658
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8659
 
#else
8660
 
# define ISLOWER(c) \
8661
 
                   (('a' <= (c) && (c) <= 'i') \
8662
 
                     || ('j' <= (c) && (c) <= 'r') \
8663
 
                     || ('s' <= (c) && (c) <= 'z'))
8664
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8665
 
#endif
8666
 
 
8667
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8668
 
int
8669
 
main ()
8670
 
{
8671
 
  int i;
8672
 
  for (i = 0; i < 256; i++)
8673
 
    if (XOR (islower (i), ISLOWER (i))
8674
 
        || toupper (i) != TOUPPER (i))
8675
 
      return 2;
8676
 
  return 0;
8677
 
}
8678
 
_ACEOF
8679
 
rm -f conftest$ac_exeext
8680
 
if { (ac_try="$ac_link"
8681
 
case "(($ac_try" in
8682
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8683
 
  *) ac_try_echo=$ac_try;;
8684
 
esac
8685
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8686
 
  (eval "$ac_link") 2>&5
8687
 
  ac_status=$?
8688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8690
 
  { (case "(($ac_try" in
8691
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8692
 
  *) ac_try_echo=$ac_try;;
8693
 
esac
8694
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8695
 
  (eval "$ac_try") 2>&5
8696
 
  ac_status=$?
8697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698
 
  (exit $ac_status); }; }; then
8699
 
  :
8700
 
else
8701
 
  echo "$as_me: program exited with status $ac_status" >&5
8702
 
echo "$as_me: failed program was:" >&5
8703
 
sed 's/^/| /' conftest.$ac_ext >&5
8704
 
 
8705
 
( exit $ac_status )
8706
 
ac_cv_header_stdc=no
8707
 
fi
8708
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8709
 
fi
8710
 
 
8711
 
 
8712
 
fi
8713
 
fi
8714
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8715
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8716
 
if test $ac_cv_header_stdc = yes; then
8717
 
 
8718
 
cat >>confdefs.h <<\_ACEOF
8719
 
#define STDC_HEADERS 1
8720
 
_ACEOF
8721
 
 
8722
 
fi
8723
 
 
8724
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8725
 
 
8726
 
 
8727
 
 
8728
 
 
8729
 
 
8730
 
 
8731
 
 
8732
 
 
8733
 
 
8734
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8735
 
                  inttypes.h stdint.h unistd.h
8736
 
do
8737
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8738
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8739
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8740
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8742
 
else
8743
 
  cat >conftest.$ac_ext <<_ACEOF
8744
 
/* confdefs.h.  */
8745
 
_ACEOF
8746
 
cat confdefs.h >>conftest.$ac_ext
8747
 
cat >>conftest.$ac_ext <<_ACEOF
8748
 
/* end confdefs.h.  */
8749
 
$ac_includes_default
8750
 
 
8751
 
#include <$ac_header>
8752
 
_ACEOF
8753
 
rm -f conftest.$ac_objext
8754
 
if { (ac_try="$ac_compile"
8755
 
case "(($ac_try" in
8756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757
 
  *) ac_try_echo=$ac_try;;
8758
 
esac
8759
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760
 
  (eval "$ac_compile") 2>conftest.er1
8761
 
  ac_status=$?
8762
 
  grep -v '^ *+' conftest.er1 >conftest.err
8763
 
  rm -f conftest.er1
8764
 
  cat conftest.err >&5
8765
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766
 
  (exit $ac_status); } && {
8767
 
         test -z "$ac_c_werror_flag" ||
8768
 
         test ! -s conftest.err
8769
 
       } && test -s conftest.$ac_objext; then
8770
 
  eval "$as_ac_Header=yes"
8771
 
else
8772
 
  echo "$as_me: failed program was:" >&5
8773
 
sed 's/^/| /' conftest.$ac_ext >&5
8774
 
 
8775
 
        eval "$as_ac_Header=no"
8776
 
fi
8777
 
 
8778
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8779
 
fi
8780
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8781
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8782
 
echo "${ECHO_T}$ac_res" >&6; }
8783
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8784
 
  cat >>confdefs.h <<_ACEOF
8785
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8786
 
_ACEOF
8787
 
 
8788
 
fi
8789
 
 
8790
 
done
8791
 
 
8792
 
 
8793
 
 
8794
 
for ac_header in dlfcn.h
8795
 
do
8796
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8797
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8798
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8799
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8800
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8801
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8802
 
fi
8803
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8804
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8805
 
echo "${ECHO_T}$ac_res" >&6; }
8806
 
else
8807
 
  # Is the header compilable?
8808
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8809
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8810
 
cat >conftest.$ac_ext <<_ACEOF
8811
 
/* confdefs.h.  */
8812
 
_ACEOF
8813
 
cat confdefs.h >>conftest.$ac_ext
8814
 
cat >>conftest.$ac_ext <<_ACEOF
8815
 
/* end confdefs.h.  */
8816
 
$ac_includes_default
8817
 
#include <$ac_header>
8818
 
_ACEOF
8819
 
rm -f conftest.$ac_objext
8820
 
if { (ac_try="$ac_compile"
8821
 
case "(($ac_try" in
8822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8823
 
  *) ac_try_echo=$ac_try;;
8824
 
esac
8825
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8826
 
  (eval "$ac_compile") 2>conftest.er1
8827
 
  ac_status=$?
8828
 
  grep -v '^ *+' conftest.er1 >conftest.err
8829
 
  rm -f conftest.er1
8830
 
  cat conftest.err >&5
8831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832
 
  (exit $ac_status); } && {
8833
 
         test -z "$ac_c_werror_flag" ||
8834
 
         test ! -s conftest.err
8835
 
       } && test -s conftest.$ac_objext; then
8836
 
  ac_header_compiler=yes
8837
 
else
8838
 
  echo "$as_me: failed program was:" >&5
8839
 
sed 's/^/| /' conftest.$ac_ext >&5
8840
 
 
8841
 
        ac_header_compiler=no
8842
 
fi
8843
 
 
8844
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8845
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8846
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
8847
 
 
8848
 
# Is the header present?
8849
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8850
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8851
 
cat >conftest.$ac_ext <<_ACEOF
8852
 
/* confdefs.h.  */
8853
 
_ACEOF
8854
 
cat confdefs.h >>conftest.$ac_ext
8855
 
cat >>conftest.$ac_ext <<_ACEOF
8856
 
/* end confdefs.h.  */
8857
 
#include <$ac_header>
8858
 
_ACEOF
8859
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8860
 
case "(($ac_try" in
8861
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8862
 
  *) ac_try_echo=$ac_try;;
8863
 
esac
8864
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8865
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8866
 
  ac_status=$?
8867
 
  grep -v '^ *+' conftest.er1 >conftest.err
8868
 
  rm -f conftest.er1
8869
 
  cat conftest.err >&5
8870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871
 
  (exit $ac_status); } >/dev/null && {
8872
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8873
 
         test ! -s conftest.err
8874
 
       }; then
8875
 
  ac_header_preproc=yes
8876
 
else
8877
 
  echo "$as_me: failed program was:" >&5
8878
 
sed 's/^/| /' conftest.$ac_ext >&5
8879
 
 
8880
 
  ac_header_preproc=no
8881
 
fi
8882
 
 
8883
 
rm -f conftest.err conftest.$ac_ext
8884
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8885
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
8886
 
 
8887
 
# So?  What about this header?
8888
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8889
 
  yes:no: )
8890
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8891
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8892
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8893
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8894
 
    ac_header_preproc=yes
8895
 
    ;;
8896
 
  no:yes:* )
8897
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8898
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8899
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8900
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8901
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8902
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8903
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8904
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8905
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8906
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8907
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8908
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8909
 
 
8910
 
    ;;
8911
 
esac
8912
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8913
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8914
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8915
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8916
 
else
8917
 
  eval "$as_ac_Header=\$ac_header_preproc"
8918
 
fi
8919
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8920
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8921
 
echo "${ECHO_T}$ac_res" >&6; }
8922
 
 
8923
 
fi
8924
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8925
 
  cat >>confdefs.h <<_ACEOF
8926
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8927
 
_ACEOF
8928
 
 
8929
 
fi
8930
 
 
8931
 
done
8932
 
 
8933
 
ac_ext=f
8934
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8935
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8936
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8937
 
if test -n "$ac_tool_prefix"; then
8938
 
  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
8939
 
  do
8940
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8941
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8942
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8943
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8944
 
if test "${ac_cv_prog_F77+set}" = set; then
8945
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8946
 
else
8947
 
  if test -n "$F77"; then
8948
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
8949
 
else
8950
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8951
 
for as_dir in $PATH
8952
 
do
8953
 
  IFS=$as_save_IFS
8954
 
  test -z "$as_dir" && as_dir=.
8955
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8956
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8957
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8958
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8959
 
    break 2
8960
 
  fi
8961
 
done
8962
 
done
8963
 
IFS=$as_save_IFS
8964
 
 
8965
 
fi
8966
 
fi
8967
 
F77=$ac_cv_prog_F77
8968
 
if test -n "$F77"; then
8969
 
  { echo "$as_me:$LINENO: result: $F77" >&5
8970
 
echo "${ECHO_T}$F77" >&6; }
8971
 
else
8972
 
  { echo "$as_me:$LINENO: result: no" >&5
8973
 
echo "${ECHO_T}no" >&6; }
8974
 
fi
8975
 
 
8976
 
 
8977
 
    test -n "$F77" && break
8978
 
  done
8979
 
fi
8980
 
if test -z "$F77"; then
8981
 
  ac_ct_F77=$F77
8982
 
  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
8983
 
do
8984
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8985
 
set dummy $ac_prog; ac_word=$2
8986
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8987
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8988
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8989
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8990
 
else
8991
 
  if test -n "$ac_ct_F77"; then
8992
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
8993
 
else
8994
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8995
 
for as_dir in $PATH
8996
 
do
8997
 
  IFS=$as_save_IFS
8998
 
  test -z "$as_dir" && as_dir=.
8999
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9000
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9001
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
9002
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9003
 
    break 2
9004
 
  fi
9005
 
done
9006
 
done
9007
 
IFS=$as_save_IFS
9008
 
 
9009
 
fi
9010
 
fi
9011
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
9012
 
if test -n "$ac_ct_F77"; then
9013
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
9014
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
9015
 
else
9016
 
  { echo "$as_me:$LINENO: result: no" >&5
9017
 
echo "${ECHO_T}no" >&6; }
9018
 
fi
9019
 
 
9020
 
 
9021
 
  test -n "$ac_ct_F77" && break
9022
 
done
9023
 
 
9024
 
  if test "x$ac_ct_F77" = x; then
9025
 
    F77=""
9026
 
  else
9027
 
    case $cross_compiling:$ac_tool_warned in
9028
 
yes:)
9029
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9030
 
whose name does not start with the host triplet.  If you think this
9031
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9032
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9033
 
whose name does not start with the host triplet.  If you think this
9034
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9035
 
ac_tool_warned=yes ;;
9036
 
esac
9037
 
    F77=$ac_ct_F77
9038
 
  fi
9039
 
fi
9040
 
 
9041
 
 
9042
 
# Provide some information about the compiler.
9043
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
9044
 
ac_compiler=`set X $ac_compile; echo $2`
9045
 
{ (ac_try="$ac_compiler --version >&5"
9046
 
case "(($ac_try" in
9047
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9048
 
  *) ac_try_echo=$ac_try;;
9049
 
esac
9050
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9051
 
  (eval "$ac_compiler --version >&5") 2>&5
9052
 
  ac_status=$?
9053
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054
 
  (exit $ac_status); }
9055
 
{ (ac_try="$ac_compiler -v >&5"
9056
 
case "(($ac_try" in
9057
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9058
 
  *) ac_try_echo=$ac_try;;
9059
 
esac
9060
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9061
 
  (eval "$ac_compiler -v >&5") 2>&5
9062
 
  ac_status=$?
9063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064
 
  (exit $ac_status); }
9065
 
{ (ac_try="$ac_compiler -V >&5"
9066
 
case "(($ac_try" in
9067
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9068
 
  *) ac_try_echo=$ac_try;;
9069
 
esac
9070
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9071
 
  (eval "$ac_compiler -V >&5") 2>&5
9072
 
  ac_status=$?
9073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074
 
  (exit $ac_status); }
9075
 
rm -f a.out
9076
 
 
9077
 
# If we don't use `.F' as extension, the preprocessor is not run on the
9078
 
# input file.  (Note that this only needs to work for GNU compilers.)
9079
 
ac_save_ext=$ac_ext
9080
 
ac_ext=F
9081
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
9082
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
9083
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
9084
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9085
 
else
9086
 
  cat >conftest.$ac_ext <<_ACEOF
9087
 
      program main
9088
 
#ifndef __GNUC__
9089
 
       choke me
9090
 
#endif
9091
 
 
9092
 
      end
9093
 
_ACEOF
9094
 
rm -f conftest.$ac_objext
9095
 
if { (ac_try="$ac_compile"
9096
 
case "(($ac_try" in
9097
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9098
 
  *) ac_try_echo=$ac_try;;
9099
 
esac
9100
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9101
 
  (eval "$ac_compile") 2>conftest.er1
9102
 
  ac_status=$?
9103
 
  grep -v '^ *+' conftest.er1 >conftest.err
9104
 
  rm -f conftest.er1
9105
 
  cat conftest.err >&5
9106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107
 
  (exit $ac_status); } && {
9108
 
         test -z "$ac_f77_werror_flag" ||
9109
 
         test ! -s conftest.err
9110
 
       } && test -s conftest.$ac_objext; then
9111
 
  ac_compiler_gnu=yes
9112
 
else
9113
 
  echo "$as_me: failed program was:" >&5
9114
 
sed 's/^/| /' conftest.$ac_ext >&5
9115
 
 
9116
 
        ac_compiler_gnu=no
9117
 
fi
9118
 
 
9119
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9120
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
9121
 
 
9122
 
fi
9123
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9124
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
9125
 
ac_ext=$ac_save_ext
9126
 
ac_test_FFLAGS=${FFLAGS+set}
9127
 
ac_save_FFLAGS=$FFLAGS
9128
 
FFLAGS=
9129
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9130
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
9131
 
if test "${ac_cv_prog_f77_g+set}" = set; then
9132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9133
 
else
9134
 
  FFLAGS=-g
9135
 
cat >conftest.$ac_ext <<_ACEOF
9136
 
      program main
9137
 
 
9138
 
      end
9139
 
_ACEOF
9140
 
rm -f conftest.$ac_objext
9141
 
if { (ac_try="$ac_compile"
9142
 
case "(($ac_try" in
9143
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9144
 
  *) ac_try_echo=$ac_try;;
9145
 
esac
9146
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9147
 
  (eval "$ac_compile") 2>conftest.er1
9148
 
  ac_status=$?
9149
 
  grep -v '^ *+' conftest.er1 >conftest.err
9150
 
  rm -f conftest.er1
9151
 
  cat conftest.err >&5
9152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153
 
  (exit $ac_status); } && {
9154
 
         test -z "$ac_f77_werror_flag" ||
9155
 
         test ! -s conftest.err
9156
 
       } && test -s conftest.$ac_objext; then
9157
 
  ac_cv_prog_f77_g=yes
9158
 
else
9159
 
  echo "$as_me: failed program was:" >&5
9160
 
sed 's/^/| /' conftest.$ac_ext >&5
9161
 
 
9162
 
        ac_cv_prog_f77_g=no
9163
 
fi
9164
 
 
9165
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9166
 
 
9167
 
fi
9168
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9169
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
9170
 
if test "$ac_test_FFLAGS" = set; then
9171
 
  FFLAGS=$ac_save_FFLAGS
9172
 
elif test $ac_cv_prog_f77_g = yes; then
9173
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9174
 
    FFLAGS="-g -O2"
9175
 
  else
9176
 
    FFLAGS="-g"
9177
 
  fi
9178
 
else
9179
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9180
 
    FFLAGS="-O2"
9181
 
  else
9182
 
    FFLAGS=
9183
 
  fi
9184
 
fi
9185
 
 
9186
 
G77=`test $ac_compiler_gnu = yes && echo yes`
9187
 
ac_ext=c
9188
 
ac_cpp='$CPP $CPPFLAGS'
9189
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9190
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9191
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9192
 
 
9193
 
 
9194
 
 
9195
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
9196
 
 
9197
 
# find the maximum length of command line arguments
9198
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9199
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9200
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9201
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9202
 
else
9203
 
    i=0
9204
 
  testring="ABCD"
9205
 
 
9206
 
  case $build_os in
9207
 
  msdosdjgpp*)
9208
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
9209
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
9210
 
    # during glob expansion).  Even if it were fixed, the result of this
9211
 
    # check would be larger than it should be.
9212
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
9213
 
    ;;
9214
 
 
9215
 
  gnu*)
9216
 
    # Under GNU Hurd, this test is not required because there is
9217
 
    # no limit to the length of command line arguments.
9218
 
    # Libtool will interpret -1 as no limit whatsoever
9219
 
    lt_cv_sys_max_cmd_len=-1;
9220
 
    ;;
9221
 
 
9222
 
  cygwin* | mingw*)
9223
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
9224
 
    # about 5 minutes as the teststring grows exponentially.
9225
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
9226
 
    # you end up with a "frozen" computer, even though with patience
9227
 
    # the test eventually succeeds (with a max line length of 256k).
9228
 
    # Instead, let's just punt: use the minimum linelength reported by
9229
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
9230
 
    lt_cv_sys_max_cmd_len=8192;
9231
 
    ;;
9232
 
 
9233
 
 *)
9234
 
    # If test is not a shell built-in, we'll probably end up computing a
9235
 
    # maximum length that is only half of the actual maximum length, but
9236
 
    # we can't tell.
9237
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
9238
 
               = "XX$testring") >/dev/null 2>&1 &&
9239
 
            new_result=`expr "X$testring" : ".*" 2>&1` &&
9240
 
            lt_cv_sys_max_cmd_len=$new_result &&
9241
 
            test $i != 17 # 1/2 MB should be enough
9242
 
    do
9243
 
      i=`expr $i + 1`
9244
 
      testring=$testring$testring
9245
 
    done
9246
 
    testring=
9247
 
    # Add a significant safety factor because C++ compilers can tack on massive
9248
 
    # amounts of additional arguments before passing them to the linker.
9249
 
    # It appears as though 1/2 is a usable value.
9250
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9251
 
    ;;
9252
 
  esac
9253
 
 
9254
 
fi
9255
 
 
9256
 
if test -n $lt_cv_sys_max_cmd_len ; then
9257
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9258
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9259
 
else
9260
 
  { echo "$as_me:$LINENO: result: none" >&5
9261
 
echo "${ECHO_T}none" >&6; }
9262
 
fi
9263
 
 
9264
 
 
9265
 
 
9266
 
 
9267
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
9268
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9269
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9270
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9271
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9272
 
else
9273
 
 
9274
 
# These are sane defaults that work on at least a few old systems.
9275
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9276
 
 
9277
 
# Character class describing NM global symbol codes.
9278
 
symcode='[BCDEGRST]'
9279
 
 
9280
 
# Regexp to match symbols that can be accessed directly from C.
9281
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9282
 
 
9283
 
# Transform the above into a raw symbol and a C symbol.
9284
 
symxfrm='\1 \2\3 \3'
9285
 
 
9286
 
# Transform an extracted symbol line into a proper C declaration
9287
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9288
 
 
9289
 
# Transform an extracted symbol line into symbol name and symbol address
9290
 
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'"
9291
 
 
9292
 
# Define system-specific variables.
9293
 
case $host_os in
9294
 
aix*)
9295
 
  symcode='[BCDT]'
9296
 
  ;;
9297
 
cygwin* | mingw* | pw32*)
9298
 
  symcode='[ABCDGISTW]'
9299
 
  ;;
9300
 
hpux*) # Its linker distinguishes data from code symbols
9301
 
  if test "$host_cpu" = ia64; then
9302
 
    symcode='[ABCDEGRST]'
9303
 
  fi
9304
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9305
 
  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'"
9306
 
  ;;
9307
 
irix* | nonstopux*)
9308
 
  symcode='[BCDEGRST]'
9309
 
  ;;
9310
 
osf*)
9311
 
  symcode='[BCDEGQRST]'
9312
 
  ;;
9313
 
solaris* | sysv5*)
9314
 
  symcode='[BDT]'
9315
 
  ;;
9316
 
sysv4)
9317
 
  symcode='[DFNSTU]'
9318
 
  ;;
9319
 
esac
9320
 
 
9321
 
# Handle CRLF in mingw tool chain
9322
 
opt_cr=
9323
 
case $build_os in
9324
 
mingw*)
9325
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9326
 
  ;;
9327
 
esac
9328
 
 
9329
 
# If we're using GNU nm, then use its standard symbol codes.
9330
 
case `$NM -V 2>&1` in
9331
 
*GNU* | *'with BFD'*)
9332
 
  symcode='[ABCDGISTW]' ;;
9333
 
esac
9334
 
 
9335
 
# Try without a prefix undercore, then with it.
9336
 
for ac_symprfx in "" "_"; do
9337
 
 
9338
 
  # Write the raw and C identifiers.
9339
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
9340
 
 
9341
 
  # Check to see that the pipe works correctly.
9342
 
  pipe_works=no
9343
 
 
9344
 
  rm -f conftest*
9345
 
  cat > conftest.$ac_ext <<EOF
9346
 
#ifdef __cplusplus
9347
 
extern "C" {
9348
 
#endif
9349
 
char nm_test_var;
9350
 
void nm_test_func(){}
9351
 
#ifdef __cplusplus
9352
 
}
9353
 
#endif
9354
 
int main(){nm_test_var='a';nm_test_func();return(0);}
9355
 
EOF
9356
 
 
9357
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9358
 
  (eval $ac_compile) 2>&5
9359
 
  ac_status=$?
9360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361
 
  (exit $ac_status); }; then
9362
 
    # Now try to grab the symbols.
9363
 
    nlist=conftest.nm
9364
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9365
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9366
 
  ac_status=$?
9367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368
 
  (exit $ac_status); } && test -s "$nlist"; then
9369
 
      # Try sorting and uniquifying the output.
9370
 
      if sort "$nlist" | uniq > "$nlist"T; then
9371
 
        mv -f "$nlist"T "$nlist"
9372
 
      else
9373
 
        rm -f "$nlist"T
9374
 
      fi
9375
 
 
9376
 
      # Make sure that we snagged all the symbols we need.
9377
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
9378
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
9379
 
          cat <<EOF > conftest.$ac_ext
9380
 
#ifdef __cplusplus
9381
 
extern "C" {
9382
 
#endif
9383
 
 
9384
 
EOF
9385
 
          # Now generate the symbol file.
9386
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9387
 
 
9388
 
          cat <<EOF >> conftest.$ac_ext
9389
 
#if defined (__STDC__) && __STDC__
9390
 
# define lt_ptr_t void *
9391
 
#else
9392
 
# define lt_ptr_t char *
9393
 
# define const
9394
 
#endif
9395
 
 
9396
 
/* The mapping between symbol names and symbols. */
9397
 
const struct {
9398
 
  const char *name;
9399
 
  lt_ptr_t address;
9400
 
}
9401
 
lt_preloaded_symbols[] =
9402
 
{
9403
 
EOF
9404
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9405
 
          cat <<\EOF >> conftest.$ac_ext
9406
 
  {0, (lt_ptr_t) 0}
9407
 
};
9408
 
 
9409
 
#ifdef __cplusplus
9410
 
}
9411
 
#endif
9412
 
EOF
9413
 
          # Now try linking the two files.
9414
 
          mv conftest.$ac_objext conftstm.$ac_objext
9415
 
          lt_save_LIBS="$LIBS"
9416
 
          lt_save_CFLAGS="$CFLAGS"
9417
 
          LIBS="conftstm.$ac_objext"
9418
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9419
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9420
 
  (eval $ac_link) 2>&5
9421
 
  ac_status=$?
9422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
9424
 
            pipe_works=yes
9425
 
          fi
9426
 
          LIBS="$lt_save_LIBS"
9427
 
          CFLAGS="$lt_save_CFLAGS"
9428
 
        else
9429
 
          echo "cannot find nm_test_func in $nlist" >&5
9430
 
        fi
9431
 
      else
9432
 
        echo "cannot find nm_test_var in $nlist" >&5
9433
 
      fi
9434
 
    else
9435
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9436
 
    fi
9437
 
  else
9438
 
    echo "$progname: failed program was:" >&5
9439
 
    cat conftest.$ac_ext >&5
9440
 
  fi
9441
 
  rm -f conftest* conftst*
9442
 
 
9443
 
  # Do not use the global_symbol_pipe unless it works.
9444
 
  if test "$pipe_works" = yes; then
9445
 
    break
9446
 
  else
9447
 
    lt_cv_sys_global_symbol_pipe=
9448
 
  fi
9449
 
done
9450
 
 
9451
 
fi
9452
 
 
9453
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
9454
 
  lt_cv_sys_global_symbol_to_cdecl=
9455
 
fi
9456
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9457
 
  { echo "$as_me:$LINENO: result: failed" >&5
9458
 
echo "${ECHO_T}failed" >&6; }
9459
 
else
9460
 
  { echo "$as_me:$LINENO: result: ok" >&5
9461
 
echo "${ECHO_T}ok" >&6; }
9462
 
fi
9463
 
 
9464
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
9465
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9466
 
if test "${lt_cv_objdir+set}" = set; then
9467
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9468
 
else
9469
 
  rm -f .libs 2>/dev/null
9470
 
mkdir .libs 2>/dev/null
9471
 
if test -d .libs; then
9472
 
  lt_cv_objdir=.libs
9473
 
else
9474
 
  # MS-DOS does not allow filenames that begin with a dot.
9475
 
  lt_cv_objdir=_libs
9476
 
fi
9477
 
rmdir .libs 2>/dev/null
9478
 
fi
9479
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9480
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
9481
 
objdir=$lt_cv_objdir
9482
 
 
9483
 
 
9484
 
 
9485
 
 
9486
 
 
9487
 
case $host_os in
9488
 
aix3*)
9489
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
9490
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
9491
 
  # vanish in a puff of smoke.
9492
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
9493
 
    COLLECT_NAMES=
9494
 
    export COLLECT_NAMES
9495
 
  fi
9496
 
  ;;
9497
 
esac
9498
 
 
9499
 
# Sed substitution that helps us do robust quoting.  It backslashifies
9500
 
# metacharacters that are still active within double-quoted strings.
9501
 
Xsed='sed -e s/^X//'
9502
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
9503
 
 
9504
 
# Same as above, but do not quote variable references.
9505
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
9506
 
 
9507
 
# Sed substitution to delay expansion of an escaped shell variable in a
9508
 
# double_quote_subst'ed string.
9509
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9510
 
 
9511
 
# Sed substitution to avoid accidental globbing in evaled expressions
9512
 
no_glob_subst='s/\*/\\\*/g'
9513
 
 
9514
 
# Constants:
9515
 
rm="rm -f"
9516
 
 
9517
 
# Global variables:
9518
 
default_ofile=libtool
9519
 
can_build_shared=yes
9520
 
 
9521
 
# All known linkers require a `.a' archive for static linking (except M$VC,
9522
 
# which needs '.lib').
9523
 
libext=a
9524
 
ltmain="$ac_aux_dir/ltmain.sh"
9525
 
ofile="$default_ofile"
9526
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
9527
 
 
9528
 
if test -n "$ac_tool_prefix"; then
9529
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9530
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
9531
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9532
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9533
 
if test "${ac_cv_prog_AR+set}" = set; then
9534
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9535
 
else
9536
 
  if test -n "$AR"; then
9537
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
9538
 
else
9539
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9540
 
for as_dir in $PATH
9541
 
do
9542
 
  IFS=$as_save_IFS
9543
 
  test -z "$as_dir" && as_dir=.
9544
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9545
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9546
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
9547
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9548
 
    break 2
9549
 
  fi
9550
 
done
9551
 
done
9552
 
IFS=$as_save_IFS
9553
 
 
9554
 
fi
9555
 
fi
9556
 
AR=$ac_cv_prog_AR
9557
 
if test -n "$AR"; then
9558
 
  { echo "$as_me:$LINENO: result: $AR" >&5
9559
 
echo "${ECHO_T}$AR" >&6; }
9560
 
else
9561
 
  { echo "$as_me:$LINENO: result: no" >&5
9562
 
echo "${ECHO_T}no" >&6; }
9563
 
fi
9564
 
 
9565
 
 
9566
 
fi
9567
 
if test -z "$ac_cv_prog_AR"; then
9568
 
  ac_ct_AR=$AR
9569
 
  # Extract the first word of "ar", so it can be a program name with args.
9570
 
set dummy ar; ac_word=$2
9571
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9572
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9573
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9574
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9575
 
else
9576
 
  if test -n "$ac_ct_AR"; then
9577
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9578
 
else
9579
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9580
 
for as_dir in $PATH
9581
 
do
9582
 
  IFS=$as_save_IFS
9583
 
  test -z "$as_dir" && as_dir=.
9584
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9585
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9586
 
    ac_cv_prog_ac_ct_AR="ar"
9587
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9588
 
    break 2
9589
 
  fi
9590
 
done
9591
 
done
9592
 
IFS=$as_save_IFS
9593
 
 
9594
 
fi
9595
 
fi
9596
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
9597
 
if test -n "$ac_ct_AR"; then
9598
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9599
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
9600
 
else
9601
 
  { echo "$as_me:$LINENO: result: no" >&5
9602
 
echo "${ECHO_T}no" >&6; }
9603
 
fi
9604
 
 
9605
 
  if test "x$ac_ct_AR" = x; then
9606
 
    AR="false"
9607
 
  else
9608
 
    case $cross_compiling:$ac_tool_warned in
9609
 
yes:)
9610
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9611
 
whose name does not start with the host triplet.  If you think this
9612
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9613
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9614
 
whose name does not start with the host triplet.  If you think this
9615
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9616
 
ac_tool_warned=yes ;;
9617
 
esac
9618
 
    AR=$ac_ct_AR
9619
 
  fi
9620
 
else
9621
 
  AR="$ac_cv_prog_AR"
9622
 
fi
9623
 
 
9624
 
if test -n "$ac_tool_prefix"; then
9625
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9626
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9627
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9628
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9629
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
9630
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9631
 
else
9632
 
  if test -n "$RANLIB"; then
9633
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9634
 
else
9635
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9636
 
for as_dir in $PATH
9637
 
do
9638
 
  IFS=$as_save_IFS
9639
 
  test -z "$as_dir" && as_dir=.
9640
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9641
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9642
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9643
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9644
 
    break 2
9645
 
  fi
9646
 
done
9647
 
done
9648
 
IFS=$as_save_IFS
9649
 
 
9650
 
fi
9651
 
fi
9652
 
RANLIB=$ac_cv_prog_RANLIB
9653
 
if test -n "$RANLIB"; then
9654
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
9655
 
echo "${ECHO_T}$RANLIB" >&6; }
9656
 
else
9657
 
  { echo "$as_me:$LINENO: result: no" >&5
9658
 
echo "${ECHO_T}no" >&6; }
9659
 
fi
9660
 
 
9661
 
 
9662
 
fi
9663
 
if test -z "$ac_cv_prog_RANLIB"; then
9664
 
  ac_ct_RANLIB=$RANLIB
9665
 
  # Extract the first word of "ranlib", so it can be a program name with args.
9666
 
set dummy ranlib; ac_word=$2
9667
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9668
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9669
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9670
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9671
 
else
9672
 
  if test -n "$ac_ct_RANLIB"; then
9673
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9674
 
else
9675
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9676
 
for as_dir in $PATH
9677
 
do
9678
 
  IFS=$as_save_IFS
9679
 
  test -z "$as_dir" && as_dir=.
9680
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9681
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9682
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
9683
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9684
 
    break 2
9685
 
  fi
9686
 
done
9687
 
done
9688
 
IFS=$as_save_IFS
9689
 
 
9690
 
fi
9691
 
fi
9692
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9693
 
if test -n "$ac_ct_RANLIB"; then
9694
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9695
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9696
 
else
9697
 
  { echo "$as_me:$LINENO: result: no" >&5
9698
 
echo "${ECHO_T}no" >&6; }
9699
 
fi
9700
 
 
9701
 
  if test "x$ac_ct_RANLIB" = x; then
9702
 
    RANLIB=":"
9703
 
  else
9704
 
    case $cross_compiling:$ac_tool_warned in
9705
 
yes:)
9706
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9707
 
whose name does not start with the host triplet.  If you think this
9708
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9709
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9710
 
whose name does not start with the host triplet.  If you think this
9711
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9712
 
ac_tool_warned=yes ;;
9713
 
esac
9714
 
    RANLIB=$ac_ct_RANLIB
9715
 
  fi
9716
 
else
9717
 
  RANLIB="$ac_cv_prog_RANLIB"
9718
 
fi
9719
 
 
9720
 
if test -n "$ac_tool_prefix"; then
9721
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9722
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
9723
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9724
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9725
 
if test "${ac_cv_prog_STRIP+set}" = set; then
9726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9727
 
else
9728
 
  if test -n "$STRIP"; then
9729
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9730
 
else
9731
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9732
 
for as_dir in $PATH
9733
 
do
9734
 
  IFS=$as_save_IFS
9735
 
  test -z "$as_dir" && as_dir=.
9736
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9737
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9738
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9739
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9740
 
    break 2
9741
 
  fi
9742
 
done
9743
 
done
9744
 
IFS=$as_save_IFS
9745
 
 
9746
 
fi
9747
 
fi
9748
 
STRIP=$ac_cv_prog_STRIP
9749
 
if test -n "$STRIP"; then
9750
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
9751
 
echo "${ECHO_T}$STRIP" >&6; }
9752
 
else
9753
 
  { echo "$as_me:$LINENO: result: no" >&5
9754
 
echo "${ECHO_T}no" >&6; }
9755
 
fi
9756
 
 
9757
 
 
9758
 
fi
9759
 
if test -z "$ac_cv_prog_STRIP"; then
9760
 
  ac_ct_STRIP=$STRIP
9761
 
  # Extract the first word of "strip", so it can be a program name with args.
9762
 
set dummy strip; ac_word=$2
9763
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9764
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9765
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9766
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9767
 
else
9768
 
  if test -n "$ac_ct_STRIP"; then
9769
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9770
 
else
9771
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9772
 
for as_dir in $PATH
9773
 
do
9774
 
  IFS=$as_save_IFS
9775
 
  test -z "$as_dir" && as_dir=.
9776
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9777
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9778
 
    ac_cv_prog_ac_ct_STRIP="strip"
9779
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9780
 
    break 2
9781
 
  fi
9782
 
done
9783
 
done
9784
 
IFS=$as_save_IFS
9785
 
 
9786
 
fi
9787
 
fi
9788
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9789
 
if test -n "$ac_ct_STRIP"; then
9790
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9791
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9792
 
else
9793
 
  { echo "$as_me:$LINENO: result: no" >&5
9794
 
echo "${ECHO_T}no" >&6; }
9795
 
fi
9796
 
 
9797
 
  if test "x$ac_ct_STRIP" = x; then
9798
 
    STRIP=":"
9799
 
  else
9800
 
    case $cross_compiling:$ac_tool_warned in
9801
 
yes:)
9802
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9803
 
whose name does not start with the host triplet.  If you think this
9804
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9805
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9806
 
whose name does not start with the host triplet.  If you think this
9807
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9808
 
ac_tool_warned=yes ;;
9809
 
esac
9810
 
    STRIP=$ac_ct_STRIP
9811
 
  fi
9812
 
else
9813
 
  STRIP="$ac_cv_prog_STRIP"
9814
 
fi
9815
 
 
9816
 
 
9817
 
old_CC="$CC"
9818
 
old_CFLAGS="$CFLAGS"
9819
 
 
9820
 
# Set sane defaults for various variables
9821
 
test -z "$AR" && AR=ar
9822
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
9823
 
test -z "$AS" && AS=as
9824
 
test -z "$CC" && CC=cc
9825
 
test -z "$LTCC" && LTCC=$CC
9826
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
9827
 
test -z "$LD" && LD=ld
9828
 
test -z "$LN_S" && LN_S="ln -s"
9829
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9830
 
test -z "$NM" && NM=nm
9831
 
test -z "$SED" && SED=sed
9832
 
test -z "$OBJDUMP" && OBJDUMP=objdump
9833
 
test -z "$RANLIB" && RANLIB=:
9834
 
test -z "$STRIP" && STRIP=:
9835
 
test -z "$ac_objext" && ac_objext=o
9836
 
 
9837
 
# Determine commands to create old-style static archives.
9838
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
9839
 
old_postinstall_cmds='chmod 644 $oldlib'
9840
 
old_postuninstall_cmds=
9841
 
 
9842
 
if test -n "$RANLIB"; then
9843
 
  case $host_os in
9844
 
  openbsd*)
9845
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
9846
 
    ;;
9847
 
  *)
9848
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
9849
 
    ;;
9850
 
  esac
9851
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9852
 
fi
9853
 
 
9854
 
# Only perform the check for file, if the check method requires it
9855
 
case $deplibs_check_method in
9856
 
file_magic*)
9857
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9858
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9859
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9860
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9861
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9862
 
else
9863
 
  case $MAGIC_CMD in
9864
 
[\\/*] |  ?:[\\/]*)
9865
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9866
 
  ;;
9867
 
*)
9868
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9869
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9870
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9871
 
  for ac_dir in $ac_dummy; do
9872
 
    IFS="$lt_save_ifs"
9873
 
    test -z "$ac_dir" && ac_dir=.
9874
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
9875
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9876
 
      if test -n "$file_magic_test_file"; then
9877
 
        case $deplibs_check_method in
9878
 
        "file_magic "*)
9879
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9880
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9881
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9882
 
            $EGREP "$file_magic_regex" > /dev/null; then
9883
 
            :
9884
 
          else
9885
 
            cat <<EOF 1>&2
9886
 
 
9887
 
*** Warning: the command libtool uses to detect shared libraries,
9888
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9889
 
*** The result is that libtool may fail to recognize shared libraries
9890
 
*** as such.  This will affect the creation of libtool libraries that
9891
 
*** depend on shared libraries, but programs linked with such libtool
9892
 
*** libraries will work regardless of this problem.  Nevertheless, you
9893
 
*** may want to report the problem to your system manager and/or to
9894
 
*** bug-libtool@gnu.org
9895
 
 
9896
 
EOF
9897
 
          fi ;;
9898
 
        esac
9899
 
      fi
9900
 
      break
9901
 
    fi
9902
 
  done
9903
 
  IFS="$lt_save_ifs"
9904
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9905
 
  ;;
9906
 
esac
9907
 
fi
9908
 
 
9909
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9910
 
if test -n "$MAGIC_CMD"; then
9911
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9912
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9913
 
else
9914
 
  { echo "$as_me:$LINENO: result: no" >&5
9915
 
echo "${ECHO_T}no" >&6; }
9916
 
fi
9917
 
 
9918
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
9919
 
  if test -n "$ac_tool_prefix"; then
9920
 
    { echo "$as_me:$LINENO: checking for file" >&5
9921
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9922
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9923
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9924
 
else
9925
 
  case $MAGIC_CMD in
9926
 
[\\/*] |  ?:[\\/]*)
9927
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9928
 
  ;;
9929
 
*)
9930
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9931
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9932
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9933
 
  for ac_dir in $ac_dummy; do
9934
 
    IFS="$lt_save_ifs"
9935
 
    test -z "$ac_dir" && ac_dir=.
9936
 
    if test -f $ac_dir/file; then
9937
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9938
 
      if test -n "$file_magic_test_file"; then
9939
 
        case $deplibs_check_method in
9940
 
        "file_magic "*)
9941
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9942
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9943
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9944
 
            $EGREP "$file_magic_regex" > /dev/null; then
9945
 
            :
9946
 
          else
9947
 
            cat <<EOF 1>&2
9948
 
 
9949
 
*** Warning: the command libtool uses to detect shared libraries,
9950
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9951
 
*** The result is that libtool may fail to recognize shared libraries
9952
 
*** as such.  This will affect the creation of libtool libraries that
9953
 
*** depend on shared libraries, but programs linked with such libtool
9954
 
*** libraries will work regardless of this problem.  Nevertheless, you
9955
 
*** may want to report the problem to your system manager and/or to
9956
 
*** bug-libtool@gnu.org
9957
 
 
9958
 
EOF
9959
 
          fi ;;
9960
 
        esac
9961
 
      fi
9962
 
      break
9963
 
    fi
9964
 
  done
9965
 
  IFS="$lt_save_ifs"
9966
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9967
 
  ;;
9968
 
esac
9969
 
fi
9970
 
 
9971
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9972
 
if test -n "$MAGIC_CMD"; then
9973
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9974
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9975
 
else
9976
 
  { echo "$as_me:$LINENO: result: no" >&5
9977
 
echo "${ECHO_T}no" >&6; }
9978
 
fi
9979
 
 
9980
 
  else
9981
 
    MAGIC_CMD=:
9982
 
  fi
9983
 
fi
9984
 
 
9985
 
  fi
9986
 
  ;;
9987
 
esac
9988
 
 
9989
 
enable_dlopen=yes
9990
 
enable_win32_dll=no
9991
 
 
9992
 
# Check whether --enable-libtool-lock was given.
9993
 
if test "${enable_libtool_lock+set}" = set; then
9994
 
  enableval=$enable_libtool_lock;
9995
 
fi
9996
 
 
9997
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9998
 
 
9999
 
 
10000
 
# Check whether --with-pic was given.
10001
 
if test "${with_pic+set}" = set; then
10002
 
  withval=$with_pic; pic_mode="$withval"
10003
 
else
10004
 
  pic_mode=default
10005
 
fi
10006
 
 
10007
 
test -z "$pic_mode" && pic_mode=default
10008
 
 
10009
 
# Use C for the default configuration in the libtool script
10010
 
tagname=
10011
 
lt_save_CC="$CC"
10012
 
ac_ext=c
10013
 
ac_cpp='$CPP $CPPFLAGS'
10014
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10015
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10016
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10017
 
 
10018
 
 
10019
 
# Source file extension for C test sources.
10020
 
ac_ext=c
10021
 
 
10022
 
# Object file extension for compiled C test sources.
10023
 
objext=o
10024
 
objext=$objext
10025
 
 
10026
 
# Code to be used in simple compile tests
10027
 
lt_simple_compile_test_code="int some_variable = 0;\n"
10028
 
 
10029
 
# Code to be used in simple link tests
10030
 
lt_simple_link_test_code='int main(){return(0);}\n'
10031
 
 
10032
 
 
10033
 
# If no C compiler was specified, use CC.
10034
 
LTCC=${LTCC-"$CC"}
10035
 
 
10036
 
# Allow CC to be a program name with arguments.
10037
 
compiler=$CC
10038
 
 
10039
 
 
10040
 
#
10041
 
# Check for any special shared library compilation flags.
10042
 
#
10043
 
lt_prog_cc_shlib=
10044
 
if test "$GCC" = no; then
10045
 
  case $host_os in
10046
 
  sco3.2v5*)
10047
 
    lt_prog_cc_shlib='-belf'
10048
 
    ;;
10049
 
  esac
10050
 
fi
10051
 
if test -n "$lt_prog_cc_shlib"; then
10052
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
10053
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
10054
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
10055
 
  else
10056
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
10057
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
10058
 
    lt_cv_prog_cc_can_build_shared=no
10059
 
  fi
10060
 
fi
10061
 
 
10062
 
 
10063
 
#
10064
 
# Check to make sure the static flag actually works.
10065
 
#
10066
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
10067
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
10068
 
if test "${lt_prog_compiler_static_works+set}" = set; then
10069
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10070
 
else
10071
 
  lt_prog_compiler_static_works=no
10072
 
   save_LDFLAGS="$LDFLAGS"
10073
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
10074
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
10075
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10076
 
     # The compiler can only warn and ignore the option if not recognized
10077
 
     # So say no if there are warnings
10078
 
     if test -s conftest.err; then
10079
 
       # Append any errors to the config.log.
10080
 
       cat conftest.err 1>&5
10081
 
     else
10082
 
       lt_prog_compiler_static_works=yes
10083
 
     fi
10084
 
   fi
10085
 
   $rm conftest*
10086
 
   LDFLAGS="$save_LDFLAGS"
10087
 
 
10088
 
fi
10089
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10090
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
10091
 
 
10092
 
if test x"$lt_prog_compiler_static_works" = xyes; then
10093
 
    :
10094
 
else
10095
 
    lt_prog_compiler_static=
10096
 
fi
10097
 
 
10098
 
 
10099
 
 
10100
 
## CAVEAT EMPTOR:
10101
 
## There is no encapsulation within the following macros, do not change
10102
 
## the running order or otherwise move them around unless you know exactly
10103
 
## what you are doing...
10104
 
 
10105
 
lt_prog_compiler_no_builtin_flag=
10106
 
 
10107
 
if test "$GCC" = yes; then
10108
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10109
 
 
10110
 
 
10111
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10112
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10113
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10114
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10115
 
else
10116
 
  lt_cv_prog_compiler_rtti_exceptions=no
10117
 
  ac_outfile=conftest.$ac_objext
10118
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10119
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
10120
 
   # Insert the option either (1) after the last *FLAGS variable, or
10121
 
   # (2) before a word containing "conftest.", or (3) at the end.
10122
 
   # Note that $ac_compile itself does not contain backslashes and begins
10123
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10124
 
   # The option is referenced via a variable to avoid confusing sed.
10125
 
   lt_compile=`echo "$ac_compile" | $SED \
10126
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10127
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10128
 
   -e 's:$: $lt_compiler_flag:'`
10129
 
   (eval echo "\"\$as_me:10129: $lt_compile\"" >&5)
10130
 
   (eval "$lt_compile" 2>conftest.err)
10131
 
   ac_status=$?
10132
 
   cat conftest.err >&5
10133
 
   echo "$as_me:10133: \$? = $ac_status" >&5
10134
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
10135
 
     # The compiler can only warn and ignore the option if not recognized
10136
 
     # So say no if there are warnings
10137
 
     if test ! -s conftest.err; then
10138
 
       lt_cv_prog_compiler_rtti_exceptions=yes
10139
 
     fi
10140
 
   fi
10141
 
   $rm conftest*
10142
 
 
10143
 
fi
10144
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10145
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10146
 
 
10147
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10148
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10149
 
else
10150
 
    :
10151
 
fi
10152
 
 
10153
 
fi
10154
 
 
10155
 
lt_prog_compiler_wl=
10156
 
lt_prog_compiler_pic=
10157
 
lt_prog_compiler_static=
10158
 
 
10159
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10160
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10161
 
 
10162
 
  if test "$GCC" = yes; then
10163
 
    lt_prog_compiler_wl='-Wl,'
10164
 
    lt_prog_compiler_static='-static'
10165
 
 
10166
 
    case $host_os in
10167
 
      aix*)
10168
 
      # All AIX code is PIC.
10169
 
      if test "$host_cpu" = ia64; then
10170
 
        # AIX 5 now supports IA64 processor
10171
 
        lt_prog_compiler_static='-Bstatic'
10172
 
      fi
10173
 
      ;;
10174
 
 
10175
 
    amigaos*)
10176
 
      # FIXME: we need at least 68020 code to build shared libraries, but
10177
 
      # adding the `-m68020' flag to GCC prevents building anything better,
10178
 
      # like `-m68040'.
10179
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10180
 
      ;;
10181
 
 
10182
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10183
 
      # PIC is the default for these OSes.
10184
 
      ;;
10185
 
 
10186
 
    mingw* | pw32* | os2*)
10187
 
      # This hack is so that the source file can tell whether it is being
10188
 
      # built for inclusion in a dll (and should export symbols for example).
10189
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
10190
 
      ;;
10191
 
 
10192
 
    darwin* | rhapsody*)
10193
 
      # PIC is the default on this platform
10194
 
      # Common symbols not allowed in MH_DYLIB files
10195
 
      lt_prog_compiler_pic='-fno-common'
10196
 
      ;;
10197
 
 
10198
 
    msdosdjgpp*)
10199
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
10200
 
      # on systems that don't support them.
10201
 
      lt_prog_compiler_can_build_shared=no
10202
 
      enable_shared=no
10203
 
      ;;
10204
 
 
10205
 
    sysv4*MP*)
10206
 
      if test -d /usr/nec; then
10207
 
        lt_prog_compiler_pic=-Kconform_pic
10208
 
      fi
10209
 
      ;;
10210
 
 
10211
 
    hpux*)
10212
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10213
 
      # not for PA HP-UX.
10214
 
      case "$host_cpu" in
10215
 
      hppa*64*|ia64*)
10216
 
        # +Z the default
10217
 
        ;;
10218
 
      *)
10219
 
        lt_prog_compiler_pic='-fPIC'
10220
 
        ;;
10221
 
      esac
10222
 
      ;;
10223
 
 
10224
 
    *)
10225
 
      lt_prog_compiler_pic='-fPIC'
10226
 
      ;;
10227
 
    esac
10228
 
  else
10229
 
    # PORTME Check for flag to pass linker flags through the system compiler.
10230
 
    case $host_os in
10231
 
    aix*)
10232
 
      lt_prog_compiler_wl='-Wl,'
10233
 
      if test "$host_cpu" = ia64; then
10234
 
        # AIX 5 now supports IA64 processor
10235
 
        lt_prog_compiler_static='-Bstatic'
10236
 
      else
10237
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10238
 
      fi
10239
 
      ;;
10240
 
 
10241
 
    mingw* | pw32* | os2*)
10242
 
      # This hack is so that the source file can tell whether it is being
10243
 
      # built for inclusion in a dll (and should export symbols for example).
10244
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
10245
 
      ;;
10246
 
 
10247
 
    hpux9* | hpux10* | hpux11*)
10248
 
      lt_prog_compiler_wl='-Wl,'
10249
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10250
 
      # not for PA HP-UX.
10251
 
      case "$host_cpu" in
10252
 
      hppa*64*|ia64*)
10253
 
        # +Z the default
10254
 
        ;;
10255
 
      *)
10256
 
        lt_prog_compiler_pic='+Z'
10257
 
        ;;
10258
 
      esac
10259
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10260
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
10261
 
      ;;
10262
 
 
10263
 
    irix5* | irix6* | nonstopux*)
10264
 
      lt_prog_compiler_wl='-Wl,'
10265
 
      # PIC (with -KPIC) is the default.
10266
 
      lt_prog_compiler_static='-non_shared'
10267
 
      ;;
10268
 
 
10269
 
    newsos6)
10270
 
      lt_prog_compiler_pic='-KPIC'
10271
 
      lt_prog_compiler_static='-Bstatic'
10272
 
      ;;
10273
 
 
10274
 
    linux*)
10275
 
      case $CC in
10276
 
      icc* | ecc*)
10277
 
        lt_prog_compiler_wl='-Wl,'
10278
 
        lt_prog_compiler_pic='-KPIC'
10279
 
        lt_prog_compiler_static='-static'
10280
 
        ;;
10281
 
      ccc*)
10282
 
        lt_prog_compiler_wl='-Wl,'
10283
 
        # All Alpha code is PIC.
10284
 
        lt_prog_compiler_static='-non_shared'
10285
 
        ;;
10286
 
      esac
10287
 
      ;;
10288
 
 
10289
 
    osf3* | osf4* | osf5*)
10290
 
      lt_prog_compiler_wl='-Wl,'
10291
 
      # All OSF/1 code is PIC.
10292
 
      lt_prog_compiler_static='-non_shared'
10293
 
      ;;
10294
 
 
10295
 
    sco3.2v5*)
10296
 
      lt_prog_compiler_pic='-Kpic'
10297
 
      lt_prog_compiler_static='-dn'
10298
 
      ;;
10299
 
 
10300
 
    solaris*)
10301
 
      lt_prog_compiler_wl='-Wl,'
10302
 
      lt_prog_compiler_pic='-KPIC'
10303
 
      lt_prog_compiler_static='-Bstatic'
10304
 
      ;;
10305
 
 
10306
 
    sunos4*)
10307
 
      lt_prog_compiler_wl='-Qoption ld '
10308
 
      lt_prog_compiler_pic='-PIC'
10309
 
      lt_prog_compiler_static='-Bstatic'
10310
 
      ;;
10311
 
 
10312
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10313
 
      lt_prog_compiler_wl='-Wl,'
10314
 
      lt_prog_compiler_pic='-KPIC'
10315
 
      lt_prog_compiler_static='-Bstatic'
10316
 
      ;;
10317
 
 
10318
 
    sysv4*MP*)
10319
 
      if test -d /usr/nec ;then
10320
 
        lt_prog_compiler_pic='-Kconform_pic'
10321
 
        lt_prog_compiler_static='-Bstatic'
10322
 
      fi
10323
 
      ;;
10324
 
 
10325
 
    uts4*)
10326
 
      lt_prog_compiler_pic='-pic'
10327
 
      lt_prog_compiler_static='-Bstatic'
10328
 
      ;;
10329
 
 
10330
 
    *)
10331
 
      lt_prog_compiler_can_build_shared=no
10332
 
      ;;
10333
 
    esac
10334
 
  fi
10335
 
 
10336
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10337
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10338
 
 
10339
 
#
10340
 
# Check to make sure the PIC flag actually works.
10341
 
#
10342
 
if test -n "$lt_prog_compiler_pic"; then
10343
 
 
10344
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10345
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10346
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
10347
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10348
 
else
10349
 
  lt_prog_compiler_pic_works=no
10350
 
  ac_outfile=conftest.$ac_objext
10351
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10352
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10353
 
   # Insert the option either (1) after the last *FLAGS variable, or
10354
 
   # (2) before a word containing "conftest.", or (3) at the end.
10355
 
   # Note that $ac_compile itself does not contain backslashes and begins
10356
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10357
 
   # The option is referenced via a variable to avoid confusing sed.
10358
 
   lt_compile=`echo "$ac_compile" | $SED \
10359
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10360
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10361
 
   -e 's:$: $lt_compiler_flag:'`
10362
 
   (eval echo "\"\$as_me:10362: $lt_compile\"" >&5)
10363
 
   (eval "$lt_compile" 2>conftest.err)
10364
 
   ac_status=$?
10365
 
   cat conftest.err >&5
10366
 
   echo "$as_me:10366: \$? = $ac_status" >&5
10367
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
10368
 
     # The compiler can only warn and ignore the option if not recognized
10369
 
     # So say no if there are warnings
10370
 
     if test ! -s conftest.err; then
10371
 
       lt_prog_compiler_pic_works=yes
10372
 
     fi
10373
 
   fi
10374
 
   $rm conftest*
10375
 
 
10376
 
fi
10377
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10378
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
10379
 
 
10380
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
10381
 
    case $lt_prog_compiler_pic in
10382
 
     "" | " "*) ;;
10383
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10384
 
     esac
10385
 
else
10386
 
    lt_prog_compiler_pic=
10387
 
     lt_prog_compiler_can_build_shared=no
10388
 
fi
10389
 
 
10390
 
fi
10391
 
case "$host_os" in
10392
 
  # For platforms which do not support PIC, -DPIC is meaningless:
10393
 
  *djgpp*)
10394
 
    lt_prog_compiler_pic=
10395
 
    ;;
10396
 
  *)
10397
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10398
 
    ;;
10399
 
esac
10400
 
 
10401
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10402
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10403
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10404
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10405
 
else
10406
 
  lt_cv_prog_compiler_c_o=no
10407
 
   $rm -r conftest 2>/dev/null
10408
 
   mkdir conftest
10409
 
   cd conftest
10410
 
   mkdir out
10411
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10412
 
 
10413
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10414
 
   # that will create temporary files in the current directory regardless of
10415
 
   # the output directory.  Thus, making CWD read-only will cause this test
10416
 
   # to fail, enabling locking or at least warning the user not to do parallel
10417
 
   # builds.
10418
 
   chmod -w .
10419
 
 
10420
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
10421
 
   # Insert the option either (1) after the last *FLAGS variable, or
10422
 
   # (2) before a word containing "conftest.", or (3) at the end.
10423
 
   # Note that $ac_compile itself does not contain backslashes and begins
10424
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10425
 
   lt_compile=`echo "$ac_compile" | $SED \
10426
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10427
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10428
 
   -e 's:$: $lt_compiler_flag:'`
10429
 
   (eval echo "\"\$as_me:10429: $lt_compile\"" >&5)
10430
 
   (eval "$lt_compile" 2>out/conftest.err)
10431
 
   ac_status=$?
10432
 
   cat out/conftest.err >&5
10433
 
   echo "$as_me:10433: \$? = $ac_status" >&5
10434
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10435
 
   then
10436
 
     # The compiler can only warn and ignore the option if not recognized
10437
 
     # So say no if there are warnings
10438
 
     if test ! -s out/conftest.err; then
10439
 
       lt_cv_prog_compiler_c_o=yes
10440
 
     fi
10441
 
   fi
10442
 
   chmod u+w .
10443
 
   $rm conftest* out/*
10444
 
   rmdir out
10445
 
   cd ..
10446
 
   rmdir conftest
10447
 
   $rm conftest*
10448
 
 
10449
 
fi
10450
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10451
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10452
 
 
10453
 
 
10454
 
hard_links="nottested"
10455
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10456
 
  # do not overwrite the value of need_locks provided by the user
10457
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10458
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10459
 
  hard_links=yes
10460
 
  $rm conftest*
10461
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10462
 
  touch conftest.a
10463
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
10464
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10465
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
10466
 
echo "${ECHO_T}$hard_links" >&6; }
10467
 
  if test "$hard_links" = no; then
10468
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10469
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10470
 
    need_locks=warn
10471
 
  fi
10472
 
else
10473
 
  need_locks=no
10474
 
fi
10475
 
 
10476
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10477
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10478
 
 
10479
 
  runpath_var=
10480
 
  allow_undefined_flag=
10481
 
  enable_shared_with_static_runtimes=no
10482
 
  archive_cmds=
10483
 
  archive_expsym_cmds=
10484
 
  old_archive_From_new_cmds=
10485
 
  old_archive_from_expsyms_cmds=
10486
 
  export_dynamic_flag_spec=
10487
 
  whole_archive_flag_spec=
10488
 
  thread_safe_flag_spec=
10489
 
  hardcode_libdir_flag_spec=
10490
 
  hardcode_libdir_flag_spec_ld=
10491
 
  hardcode_libdir_separator=
10492
 
  hardcode_direct=no
10493
 
  hardcode_minus_L=no
10494
 
  hardcode_shlibpath_var=unsupported
10495
 
  link_all_deplibs=unknown
10496
 
  hardcode_automatic=no
10497
 
  module_cmds=
10498
 
  module_expsym_cmds=
10499
 
  always_export_symbols=no
10500
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10501
 
  # include_expsyms should be a list of space-separated symbols to be *always*
10502
 
  # included in the symbol list
10503
 
  include_expsyms=
10504
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
10505
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
10506
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10507
 
  # as well as any symbol that contains `d'.
10508
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10509
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10510
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
10511
 
  # the symbol is explicitly referenced.  Since portable code cannot
10512
 
  # rely on this symbol name, it's probably fine to never include it in
10513
 
  # preloaded symbol tables.
10514
 
  extract_expsyms_cmds=
10515
 
 
10516
 
  case $host_os in
10517
 
  cygwin* | mingw* | pw32*)
10518
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10519
 
    # When not using gcc, we currently assume that we are using
10520
 
    # Microsoft Visual C++.
10521
 
    if test "$GCC" != yes; then
10522
 
      with_gnu_ld=no
10523
 
    fi
10524
 
    ;;
10525
 
  openbsd*)
10526
 
    with_gnu_ld=no
10527
 
    ;;
10528
 
  esac
10529
 
 
10530
 
  ld_shlibs=yes
10531
 
  if test "$with_gnu_ld" = yes; then
10532
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10533
 
    wlarc='${wl}'
10534
 
 
10535
 
    # See if GNU ld supports shared libraries.
10536
 
    case $host_os in
10537
 
    aix3* | aix4* | aix5*)
10538
 
      # On AIX/PPC, the GNU linker is very broken
10539
 
      if test "$host_cpu" != ia64; then
10540
 
        ld_shlibs=no
10541
 
        cat <<EOF 1>&2
10542
 
 
10543
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10544
 
*** to be unable to reliably create shared libraries on AIX.
10545
 
*** Therefore, libtool is disabling shared libraries support.  If you
10546
 
*** really care for shared libraries, you may want to modify your PATH
10547
 
*** so that a non-GNU linker is found, and then restart.
10548
 
 
10549
 
EOF
10550
 
      fi
10551
 
      ;;
10552
 
 
10553
 
    amigaos*)
10554
 
      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)'
10555
 
      hardcode_libdir_flag_spec='-L$libdir'
10556
 
      hardcode_minus_L=yes
10557
 
 
10558
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10559
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
10560
 
      # to version 4, is to share data among multiple programs linked
10561
 
      # with the same dynamic library.  Since this doesn't match the
10562
 
      # behavior of shared libraries on other platforms, we can't use
10563
 
      # them.
10564
 
      ld_shlibs=no
10565
 
      ;;
10566
 
 
10567
 
    beos*)
10568
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10569
 
        allow_undefined_flag=unsupported
10570
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10571
 
        # support --undefined.  This deserves some investigation.  FIXME
10572
 
        archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10573
 
      else
10574
 
        ld_shlibs=no
10575
 
      fi
10576
 
      ;;
10577
 
 
10578
 
    cygwin* | mingw* | pw32*)
10579
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10580
 
      # as there is no search path for DLLs.
10581
 
      hardcode_libdir_flag_spec='-L$libdir'
10582
 
      allow_undefined_flag=no
10583
 
      always_export_symbols=no
10584
 
      enable_shared_with_static_runtimes=yes
10585
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10586
 
 
10587
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10588
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10589
 
        # If the export-symbols file already is a .def file (1st line
10590
 
        # is EXPORTS), use it as is; otherwise, prepend...
10591
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10592
 
          cp $export_symbols $output_objdir/$soname.def;
10593
 
        else
10594
 
          echo EXPORTS > $output_objdir/$soname.def;
10595
 
          cat $export_symbols >> $output_objdir/$soname.def;
10596
 
        fi~
10597
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
10598
 
      else
10599
 
        ld_shlibs=no
10600
 
      fi
10601
 
      ;;
10602
 
 
10603
 
    netbsd*)
10604
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10605
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10606
 
        wlarc=
10607
 
      else
10608
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10609
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10610
 
      fi
10611
 
      ;;
10612
 
 
10613
 
    solaris* | sysv5*)
10614
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10615
 
        ld_shlibs=no
10616
 
        cat <<EOF 1>&2
10617
 
 
10618
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10619
 
*** create shared libraries on Solaris systems.  Therefore, libtool
10620
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
10621
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
10622
 
*** your PATH or compiler configuration so that the native linker is
10623
 
*** used, and then restart.
10624
 
 
10625
 
EOF
10626
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10627
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10628
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10629
 
      else
10630
 
        ld_shlibs=no
10631
 
      fi
10632
 
      ;;
10633
 
 
10634
 
    sunos4*)
10635
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10636
 
      wlarc=
10637
 
      hardcode_direct=yes
10638
 
      hardcode_shlibpath_var=no
10639
 
      ;;
10640
 
 
10641
 
    *)
10642
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10643
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10644
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10645
 
      else
10646
 
        ld_shlibs=no
10647
 
      fi
10648
 
      ;;
10649
 
    esac
10650
 
 
10651
 
    if test "$ld_shlibs" = yes; then
10652
 
      runpath_var=LD_RUN_PATH
10653
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10654
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
10655
 
      # ancient GNU ld didn't support --whole-archive et. al.
10656
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10657
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10658
 
      else
10659
 
        whole_archive_flag_spec=
10660
 
      fi
10661
 
    fi
10662
 
  else
10663
 
    # PORTME fill in a description of your system's linker (not GNU ld)
10664
 
    case $host_os in
10665
 
    aix3*)
10666
 
      allow_undefined_flag=unsupported
10667
 
      always_export_symbols=yes
10668
 
      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'
10669
 
      # Note: this linker hardcodes the directories in LIBPATH if there
10670
 
      # are no directories specified by -L.
10671
 
      hardcode_minus_L=yes
10672
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
10673
 
        # Neither direct hardcoding nor static linking is supported with a
10674
 
        # broken collect2.
10675
 
        hardcode_direct=unsupported
10676
 
      fi
10677
 
      ;;
10678
 
 
10679
 
    aix4* | aix5*)
10680
 
      if test "$host_cpu" = ia64; then
10681
 
        # On IA64, the linker does run time linking by default, so we don't
10682
 
        # have to do anything special.
10683
 
        aix_use_runtimelinking=no
10684
 
        exp_sym_flag='-Bexport'
10685
 
        no_entry_flag=""
10686
 
      else
10687
 
        # If we're using GNU nm, then we don't want the "-C" option.
10688
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10689
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10690
 
          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'
10691
 
        else
10692
 
          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'
10693
 
        fi
10694
 
 
10695
 
        # KDE requires run time linking.  Make it the default.
10696
 
        aix_use_runtimelinking=yes
10697
 
        exp_sym_flag='-bexport'
10698
 
        no_entry_flag='-bnoentry'
10699
 
      fi
10700
 
 
10701
 
      # When large executables or shared objects are built, AIX ld can
10702
 
      # have problems creating the table of contents.  If linking a library
10703
 
      # or program results in "error TOC overflow" add -mminimal-toc to
10704
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10705
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10706
 
 
10707
 
      archive_cmds=''
10708
 
      hardcode_direct=yes
10709
 
      hardcode_libdir_separator=':'
10710
 
      link_all_deplibs=yes
10711
 
 
10712
 
      if test "$GCC" = yes; then
10713
 
        case $host_os in aix4.012|aix4.012.*)
10714
 
        # We only want to do this on AIX 4.2 and lower, the check
10715
 
        # below for broken collect2 doesn't work under 4.3+
10716
 
          collect2name=`${CC} -print-prog-name=collect2`
10717
 
          if test -f "$collect2name" && \
10718
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10719
 
          then
10720
 
          # We have reworked collect2
10721
 
          hardcode_direct=yes
10722
 
          else
10723
 
          # We have old collect2
10724
 
          hardcode_direct=unsupported
10725
 
          # It fails to find uninstalled libraries when the uninstalled
10726
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10727
 
          # to unsupported forces relinking
10728
 
          hardcode_minus_L=yes
10729
 
          hardcode_libdir_flag_spec='-L$libdir'
10730
 
          hardcode_libdir_separator=
10731
 
          fi
10732
 
        esac
10733
 
        shared_flag='-shared'
10734
 
      else
10735
 
        # not using gcc
10736
 
        if test "$host_cpu" = ia64; then
10737
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10738
 
        # chokes on -Wl,-G. The following line is correct:
10739
 
          shared_flag='-G'
10740
 
        else
10741
 
        if test "$aix_use_runtimelinking" = yes; then
10742
 
            shared_flag='-qmkshrobj ${wl}-G'
10743
 
          else
10744
 
            shared_flag='-qmkshrobj'
10745
 
        fi
10746
 
        fi
10747
 
      fi
10748
 
 
10749
 
      # Let the compiler handle the export list.
10750
 
      always_export_symbols=no
10751
 
      if test "$aix_use_runtimelinking" = yes; then
10752
 
        # Warning - without using the other runtime loading flags (-brtl),
10753
 
        # -berok will link without error, but may produce a broken library.
10754
 
        allow_undefined_flag='-berok'
10755
 
       # Determine the default libpath from the value encoded in an empty executable.
10756
 
        cat >conftest.$ac_ext <<_ACEOF
10757
 
/* confdefs.h.  */
10758
 
_ACEOF
10759
 
cat confdefs.h >>conftest.$ac_ext
10760
 
cat >>conftest.$ac_ext <<_ACEOF
10761
 
/* end confdefs.h.  */
10762
 
 
10763
 
int
10764
 
main ()
10765
 
{
10766
 
 
10767
 
  ;
10768
 
  return 0;
10769
 
}
10770
 
_ACEOF
10771
 
rm -f conftest.$ac_objext conftest$ac_exeext
10772
 
if { (ac_try="$ac_link"
10773
 
case "(($ac_try" in
10774
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10775
 
  *) ac_try_echo=$ac_try;;
10776
 
esac
10777
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10778
 
  (eval "$ac_link") 2>conftest.er1
10779
 
  ac_status=$?
10780
 
  grep -v '^ *+' conftest.er1 >conftest.err
10781
 
  rm -f conftest.er1
10782
 
  cat conftest.err >&5
10783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784
 
  (exit $ac_status); } && {
10785
 
         test -z "$ac_c_werror_flag" ||
10786
 
         test ! -s conftest.err
10787
 
       } && test -s conftest$ac_exeext &&
10788
 
       $as_test_x conftest$ac_exeext; then
10789
 
 
10790
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10791
 
}'`
10792
 
# Check for a 64-bit object if we didn't find anything.
10793
 
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; }
10794
 
}'`; fi
10795
 
else
10796
 
  echo "$as_me: failed program was:" >&5
10797
 
sed 's/^/| /' conftest.$ac_ext >&5
10798
 
 
10799
 
 
10800
 
fi
10801
 
 
10802
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10803
 
      conftest$ac_exeext conftest.$ac_ext
10804
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10805
 
 
10806
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10807
 
        archive_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
10808
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10809
 
       else
10810
 
        if test "$host_cpu" = ia64; then
10811
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10812
 
          allow_undefined_flag="-z nodefs"
10813
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
10814
 
        else
10815
 
         # Determine the default libpath from the value encoded in an empty executable.
10816
 
         cat >conftest.$ac_ext <<_ACEOF
10817
 
/* confdefs.h.  */
10818
 
_ACEOF
10819
 
cat confdefs.h >>conftest.$ac_ext
10820
 
cat >>conftest.$ac_ext <<_ACEOF
10821
 
/* end confdefs.h.  */
10822
 
 
10823
 
int
10824
 
main ()
10825
 
{
10826
 
 
10827
 
  ;
10828
 
  return 0;
10829
 
}
10830
 
_ACEOF
10831
 
rm -f conftest.$ac_objext conftest$ac_exeext
10832
 
if { (ac_try="$ac_link"
10833
 
case "(($ac_try" in
10834
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10835
 
  *) ac_try_echo=$ac_try;;
10836
 
esac
10837
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10838
 
  (eval "$ac_link") 2>conftest.er1
10839
 
  ac_status=$?
10840
 
  grep -v '^ *+' conftest.er1 >conftest.err
10841
 
  rm -f conftest.er1
10842
 
  cat conftest.err >&5
10843
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844
 
  (exit $ac_status); } && {
10845
 
         test -z "$ac_c_werror_flag" ||
10846
 
         test ! -s conftest.err
10847
 
       } && test -s conftest$ac_exeext &&
10848
 
       $as_test_x conftest$ac_exeext; then
10849
 
 
10850
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10851
 
}'`
10852
 
# Check for a 64-bit object if we didn't find anything.
10853
 
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; }
10854
 
}'`; fi
10855
 
else
10856
 
  echo "$as_me: failed program was:" >&5
10857
 
sed 's/^/| /' conftest.$ac_ext >&5
10858
 
 
10859
 
 
10860
 
fi
10861
 
 
10862
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10863
 
      conftest$ac_exeext conftest.$ac_ext
10864
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10865
 
 
10866
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10867
 
          # Warning - without using the other run time loading flags,
10868
 
          # -berok will link without error, but may produce a broken library.
10869
 
          no_undefined_flag=' ${wl}-bernotok'
10870
 
          allow_undefined_flag=' ${wl}-berok'
10871
 
          # -bexpall does not export symbols beginning with underscore (_)
10872
 
          always_export_symbols=yes
10873
 
          # Exported symbols can be pulled into shared objects from archives
10874
 
          whole_archive_flag_spec=' '
10875
 
          archive_cmds_need_lc=yes
10876
 
          # This is similar to how AIX traditionally builds it's shared libraries.
10877
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10878
 
        fi
10879
 
      fi
10880
 
      ;;
10881
 
 
10882
 
    amigaos*)
10883
 
      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)'
10884
 
      hardcode_libdir_flag_spec='-L$libdir'
10885
 
      hardcode_minus_L=yes
10886
 
      # see comment about different semantics on the GNU ld section
10887
 
      ld_shlibs=no
10888
 
      ;;
10889
 
 
10890
 
    bsdi4*)
10891
 
      export_dynamic_flag_spec=-rdynamic
10892
 
      ;;
10893
 
 
10894
 
    cygwin* | mingw* | pw32*)
10895
 
      # When not using gcc, we currently assume that we are using
10896
 
      # Microsoft Visual C++.
10897
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10898
 
      # no search path for DLLs.
10899
 
      hardcode_libdir_flag_spec=' '
10900
 
      allow_undefined_flag=no
10901
 
      # Tell ltmain to make .lib files, not .a files.
10902
 
      libext=lib
10903
 
      # Tell ltmain to make .dll files, not .so files.
10904
 
      shrext=".dll"
10905
 
      # FIXME: Setting linknames here is a bad hack.
10906
 
      archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10907
 
      # The linker will automatically build a .lib file if we build a DLL.
10908
 
      old_archive_From_new_cmds='true'
10909
 
      # FIXME: Should let the user specify the lib program.
10910
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
10911
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10912
 
      enable_shared_with_static_runtimes=yes
10913
 
      ;;
10914
 
 
10915
 
    darwin* | rhapsody*)
10916
 
    if test "$GXX" = yes ; then
10917
 
      archive_cmds_need_lc=no
10918
 
      case "$host_os" in
10919
 
      rhapsody* | darwin1.[012])
10920
 
        allow_undefined_flag='-Wl,-undefined -Wl,suppress'
10921
 
        ;;
10922
 
      *) # Darwin 1.3 on
10923
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10924
 
          allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10925
 
        else
10926
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
10927
 
            10.012)
10928
 
              allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10929
 
              ;;
10930
 
            10.*)
10931
 
              allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
10932
 
              ;;
10933
 
          esac
10934
 
        fi
10935
 
        ;;
10936
 
      esac
10937
 
        lt_int_apple_cc_single_mod=no
10938
 
        output_verbose_link_cmd='echo'
10939
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10940
 
          lt_int_apple_cc_single_mod=yes
10941
 
        fi
10942
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10943
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
10944
 
        else
10945
 
        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
10946
 
      fi
10947
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
10948
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10949
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10950
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10951
 
        else
10952
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10953
 
        fi
10954
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10955
 
      hardcode_direct=no
10956
 
      hardcode_automatic=yes
10957
 
      hardcode_shlibpath_var=unsupported
10958
 
      whole_archive_flag_spec='-all_load $convenience'
10959
 
      link_all_deplibs=yes
10960
 
    else
10961
 
      ld_shlibs=no
10962
 
    fi
10963
 
      ;;
10964
 
 
10965
 
    dgux*)
10966
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10967
 
      hardcode_libdir_flag_spec='-L$libdir'
10968
 
      hardcode_shlibpath_var=no
10969
 
      ;;
10970
 
 
10971
 
    freebsd1*)
10972
 
      ld_shlibs=no
10973
 
      ;;
10974
 
 
10975
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10976
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10977
 
    # does not break anything, and helps significantly (at the cost of a little
10978
 
    # extra space).
10979
 
    freebsd2.2*)
10980
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10981
 
      hardcode_libdir_flag_spec='-R$libdir'
10982
 
      hardcode_direct=yes
10983
 
      hardcode_shlibpath_var=no
10984
 
      ;;
10985
 
 
10986
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10987
 
    freebsd2*)
10988
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10989
 
      hardcode_direct=yes
10990
 
      hardcode_minus_L=yes
10991
 
      hardcode_shlibpath_var=no
10992
 
      ;;
10993
 
 
10994
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10995
 
    freebsd* | kfreebsd*-gnu)
10996
 
      archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
10997
 
      hardcode_libdir_flag_spec='-R$libdir'
10998
 
      hardcode_direct=yes
10999
 
      hardcode_shlibpath_var=no
11000
 
      ;;
11001
 
 
11002
 
    hpux9*)
11003
 
      if test "$GCC" = yes; then
11004
 
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11005
 
      else
11006
 
        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'
11007
 
      fi
11008
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11009
 
      hardcode_libdir_separator=:
11010
 
      hardcode_direct=yes
11011
 
 
11012
 
      # hardcode_minus_L: Not really in the search PATH,
11013
 
      # but as the default location of the library.
11014
 
      hardcode_minus_L=yes
11015
 
      export_dynamic_flag_spec='${wl}-E'
11016
 
      ;;
11017
 
 
11018
 
    hpux10* | hpux11*)
11019
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11020
 
        case "$host_cpu" in
11021
 
        hppa*64*|ia64*)
11022
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11023
 
          ;;
11024
 
        *)
11025
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
11026
 
          ;;
11027
 
        esac
11028
 
      else
11029
 
        case "$host_cpu" in
11030
 
        hppa*64*|ia64*)
11031
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
11032
 
          ;;
11033
 
        *)
11034
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11035
 
          ;;
11036
 
        esac
11037
 
      fi
11038
 
      if test "$with_gnu_ld" = no; then
11039
 
        case "$host_cpu" in
11040
 
        hppa*64*)
11041
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11042
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
11043
 
          hardcode_libdir_separator=:
11044
 
          hardcode_direct=no
11045
 
          hardcode_shlibpath_var=no
11046
 
          ;;
11047
 
        ia64*)
11048
 
          hardcode_libdir_flag_spec='-L$libdir'
11049
 
          hardcode_direct=no
11050
 
          hardcode_shlibpath_var=no
11051
 
 
11052
 
          # hardcode_minus_L: Not really in the search PATH,
11053
 
          # but as the default location of the library.
11054
 
          hardcode_minus_L=yes
11055
 
          ;;
11056
 
        *)
11057
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11058
 
          hardcode_libdir_separator=:
11059
 
          hardcode_direct=yes
11060
 
          export_dynamic_flag_spec='${wl}-E'
11061
 
 
11062
 
          # hardcode_minus_L: Not really in the search PATH,
11063
 
          # but as the default location of the library.
11064
 
          hardcode_minus_L=yes
11065
 
          ;;
11066
 
        esac
11067
 
      fi
11068
 
      ;;
11069
 
 
11070
 
    irix5* | irix6* | nonstopux*)
11071
 
      if test "$GCC" = yes; then
11072
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11073
 
      else
11074
 
        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'
11075
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
11076
 
      fi
11077
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11078
 
      hardcode_libdir_separator=:
11079
 
      link_all_deplibs=yes
11080
 
      ;;
11081
 
 
11082
 
    netbsd*)
11083
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11084
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11085
 
      else
11086
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11087
 
      fi
11088
 
      hardcode_libdir_flag_spec='-R$libdir'
11089
 
      hardcode_direct=yes
11090
 
      hardcode_shlibpath_var=no
11091
 
      ;;
11092
 
 
11093
 
    newsos6)
11094
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11095
 
      hardcode_direct=yes
11096
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11097
 
      hardcode_libdir_separator=:
11098
 
      hardcode_shlibpath_var=no
11099
 
      ;;
11100
 
 
11101
 
    openbsd*)
11102
 
      hardcode_direct=yes
11103
 
      hardcode_shlibpath_var=no
11104
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11105
 
        archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11106
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11107
 
        export_dynamic_flag_spec='${wl}-E'
11108
 
      else
11109
 
       case $host_os in
11110
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11111
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11112
 
           hardcode_libdir_flag_spec='-R$libdir'
11113
 
           ;;
11114
 
         *)
11115
 
           archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11116
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11117
 
           ;;
11118
 
       esac
11119
 
      fi
11120
 
      ;;
11121
 
 
11122
 
    os2*)
11123
 
      hardcode_libdir_flag_spec='-L$libdir'
11124
 
      hardcode_minus_L=yes
11125
 
      allow_undefined_flag=unsupported
11126
 
      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
11127
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11128
 
      ;;
11129
 
 
11130
 
    osf3*)
11131
 
      if test "$GCC" = yes; then
11132
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11133
 
        archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11134
 
      else
11135
 
        allow_undefined_flag=' -expect_unresolved \*'
11136
 
        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'
11137
 
      fi
11138
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11139
 
      hardcode_libdir_separator=:
11140
 
      ;;
11141
 
 
11142
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
11143
 
      if test "$GCC" = yes; then
11144
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11145
 
        archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11146
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11147
 
      else
11148
 
        allow_undefined_flag=' -expect_unresolved \*'
11149
 
        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'
11150
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11151
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
11152
 
 
11153
 
        # Both c and cxx compiler support -rpath directly
11154
 
        hardcode_libdir_flag_spec='-rpath $libdir'
11155
 
      fi
11156
 
      hardcode_libdir_separator=:
11157
 
      ;;
11158
 
 
11159
 
    sco3.2v5*)
11160
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11161
 
      hardcode_shlibpath_var=no
11162
 
      export_dynamic_flag_spec='${wl}-Bexport'
11163
 
      runpath_var=LD_RUN_PATH
11164
 
      hardcode_runpath_var=yes
11165
 
      ;;
11166
 
 
11167
 
    solaris*)
11168
 
      no_undefined_flag=' -z text'
11169
 
      if test "$GCC" = yes; then
11170
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11171
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11172
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
11173
 
      else
11174
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11175
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11176
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11177
 
      fi
11178
 
      hardcode_libdir_flag_spec='-R$libdir'
11179
 
      hardcode_shlibpath_var=no
11180
 
      case $host_os in
11181
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
11182
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
11183
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
11184
 
      esac
11185
 
      link_all_deplibs=yes
11186
 
      ;;
11187
 
 
11188
 
    sunos4*)
11189
 
      if test "x$host_vendor" = xsequent; then
11190
 
        # Use $CC to link under sequent, because it throws in some extra .o
11191
 
        # files that make .init and .fini sections work.
11192
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
11193
 
      else
11194
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11195
 
      fi
11196
 
      hardcode_libdir_flag_spec='-L$libdir'
11197
 
      hardcode_direct=yes
11198
 
      hardcode_minus_L=yes
11199
 
      hardcode_shlibpath_var=no
11200
 
      ;;
11201
 
 
11202
 
    sysv4)
11203
 
      case $host_vendor in
11204
 
        sni)
11205
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11206
 
          hardcode_direct=yes # is this really true???
11207
 
        ;;
11208
 
        siemens)
11209
 
          ## LD is ld it makes a PLAMLIB
11210
 
          ## CC just makes a GrossModule.
11211
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11212
 
          reload_cmds='$CC -r -o $output$reload_objs'
11213
 
          hardcode_direct=no
11214
 
        ;;
11215
 
        motorola)
11216
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11217
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11218
 
        ;;
11219
 
      esac
11220
 
      runpath_var='LD_RUN_PATH'
11221
 
      hardcode_shlibpath_var=no
11222
 
      ;;
11223
 
 
11224
 
    sysv4.3*)
11225
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11226
 
      hardcode_shlibpath_var=no
11227
 
      export_dynamic_flag_spec='-Bexport'
11228
 
      ;;
11229
 
 
11230
 
    sysv4*MP*)
11231
 
      if test -d /usr/nec; then
11232
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11233
 
        hardcode_shlibpath_var=no
11234
 
        runpath_var=LD_RUN_PATH
11235
 
        hardcode_runpath_var=yes
11236
 
        ld_shlibs=yes
11237
 
      fi
11238
 
      ;;
11239
 
 
11240
 
    sysv4.2uw2*)
11241
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11242
 
      hardcode_direct=yes
11243
 
      hardcode_minus_L=no
11244
 
      hardcode_shlibpath_var=no
11245
 
      hardcode_runpath_var=yes
11246
 
      runpath_var=LD_RUN_PATH
11247
 
      ;;
11248
 
 
11249
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
11250
 
      no_undefined_flag='${wl}-z ${wl}text'
11251
 
      if test "$GCC" = yes; then
11252
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11253
 
      else
11254
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11255
 
      fi
11256
 
      runpath_var='LD_RUN_PATH'
11257
 
      hardcode_shlibpath_var=no
11258
 
      ;;
11259
 
 
11260
 
    sysv5*)
11261
 
      no_undefined_flag=' -z text'
11262
 
      # $CC -shared without GNU ld will not create a library from C++
11263
 
      # object files and a static libstdc++, better avoid it by now
11264
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11265
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11266
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11267
 
      hardcode_libdir_flag_spec=
11268
 
      hardcode_shlibpath_var=no
11269
 
      runpath_var='LD_RUN_PATH'
11270
 
      ;;
11271
 
 
11272
 
    uts4*)
11273
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11274
 
      hardcode_libdir_flag_spec='-L$libdir'
11275
 
      hardcode_shlibpath_var=no
11276
 
      ;;
11277
 
 
11278
 
    *)
11279
 
      ld_shlibs=no
11280
 
      ;;
11281
 
    esac
11282
 
  fi
11283
 
 
11284
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11285
 
echo "${ECHO_T}$ld_shlibs" >&6; }
11286
 
test "$ld_shlibs" = no && can_build_shared=no
11287
 
 
11288
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11289
 
if test "$GCC" = yes; then
11290
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11291
 
fi
11292
 
 
11293
 
#
11294
 
# Do we need to explicitly link libc?
11295
 
#
11296
 
case "x$archive_cmds_need_lc" in
11297
 
x|xyes)
11298
 
  # Assume -lc should be added
11299
 
  archive_cmds_need_lc=yes
11300
 
 
11301
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
11302
 
    case $archive_cmds in
11303
 
    *'~'*)
11304
 
      # FIXME: we may have to deal with multi-command sequences.
11305
 
      ;;
11306
 
    '$CC '*)
11307
 
      # Test whether the compiler implicitly links with -lc since on some
11308
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11309
 
      # to ld, don't add -lc before -lgcc.
11310
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11311
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11312
 
      $rm conftest*
11313
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11314
 
 
11315
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11316
 
  (eval $ac_compile) 2>&5
11317
 
  ac_status=$?
11318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319
 
  (exit $ac_status); } 2>conftest.err; then
11320
 
        soname=conftest
11321
 
        lib=conftest
11322
 
        libobjs=conftest.$ac_objext
11323
 
        deplibs=
11324
 
        wl=$lt_prog_compiler_wl
11325
 
        compiler_flags=-v
11326
 
        linker_flags=-v
11327
 
        verstring=
11328
 
        output_objdir=.
11329
 
        libname=conftest
11330
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
11331
 
        allow_undefined_flag=
11332
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11333
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11334
 
  ac_status=$?
11335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336
 
  (exit $ac_status); }
11337
 
        then
11338
 
          archive_cmds_need_lc=no
11339
 
        else
11340
 
          archive_cmds_need_lc=yes
11341
 
        fi
11342
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
11343
 
      else
11344
 
        cat conftest.err 1>&5
11345
 
      fi
11346
 
      $rm conftest*
11347
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11348
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11349
 
      ;;
11350
 
    esac
11351
 
  fi
11352
 
  ;;
11353
 
esac
11354
 
 
11355
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11356
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11357
 
library_names_spec=
11358
 
libname_spec='lib$name'
11359
 
soname_spec=
11360
 
shrext=".so"
11361
 
postinstall_cmds=
11362
 
postuninstall_cmds=
11363
 
finish_cmds=
11364
 
finish_eval=
11365
 
shlibpath_var=
11366
 
shlibpath_overrides_runpath=unknown
11367
 
version_type=none
11368
 
dynamic_linker="$host_os ld.so"
11369
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11370
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11371
 
need_lib_prefix=unknown
11372
 
hardcode_into_libs=no
11373
 
 
11374
 
# when you set need_version to no, make sure it does not cause -set_version
11375
 
# flags to be left without arguments
11376
 
need_version=unknown
11377
 
 
11378
 
case $host_os in
11379
 
aix3*)
11380
 
  version_type=linux
11381
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11382
 
  shlibpath_var=LIBPATH
11383
 
 
11384
 
  # AIX 3 has no versioning support, so we append a major version to the name.
11385
 
  soname_spec='${libname}${release}${shared_ext}$major'
11386
 
  ;;
11387
 
 
11388
 
aix4* | aix5*)
11389
 
  version_type=linux
11390
 
  need_lib_prefix=no
11391
 
  need_version=no
11392
 
  hardcode_into_libs=yes
11393
 
  if test "$host_cpu" = ia64; then
11394
 
    # AIX 5 supports IA64
11395
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11396
 
    shlibpath_var=LD_LIBRARY_PATH
11397
 
  else
11398
 
    # With GCC up to 2.95.x, collect2 would create an import file
11399
 
    # for dependence libraries.  The import file would start with
11400
 
    # the line `#! .'.  This would cause the generated library to
11401
 
    # depend on `.', always an invalid library.  This was fixed in
11402
 
    # development snapshots of GCC prior to 3.0.
11403
 
    case $host_os in
11404
 
      aix4 | aix4.[01] | aix4.[01].*)
11405
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11406
 
           echo ' yes '
11407
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11408
 
        :
11409
 
      else
11410
 
        can_build_shared=no
11411
 
      fi
11412
 
      ;;
11413
 
    esac
11414
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11415
 
    # soname into executable. Probably we can add versioning support to
11416
 
    # collect2, so additional links can be useful in future.
11417
 
    if test "$aix_use_runtimelinking" = yes; then
11418
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11419
 
      # instead of lib<name>.a to let people know that these are not
11420
 
      # typical AIX shared libraries.
11421
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11422
 
    else
11423
 
      # We preserve .a as extension for shared libraries through AIX4.2
11424
 
      # and later when we are not doing run time linking.
11425
 
      library_names_spec='${libname}${release}.a $libname.a'
11426
 
      soname_spec='${libname}${release}${shared_ext}$major'
11427
 
    fi
11428
 
    shlibpath_var=LIBPATH
11429
 
  fi
11430
 
  ;;
11431
 
 
11432
 
amigaos*)
11433
 
  library_names_spec='$libname.ixlibrary $libname.a'
11434
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
11435
 
  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'
11436
 
  ;;
11437
 
 
11438
 
beos*)
11439
 
  library_names_spec='${libname}${shared_ext}'
11440
 
  dynamic_linker="$host_os ld.so"
11441
 
  shlibpath_var=LIBRARY_PATH
11442
 
  ;;
11443
 
 
11444
 
bsdi4*)
11445
 
  version_type=linux
11446
 
  need_version=no
11447
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11448
 
  soname_spec='${libname}${release}${shared_ext}$major'
11449
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11450
 
  shlibpath_var=LD_LIBRARY_PATH
11451
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11452
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11453
 
  # the default ld.so.conf also contains /usr/contrib/lib and
11454
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11455
 
  # libtool to hard-code these into programs
11456
 
  ;;
11457
 
 
11458
 
cygwin* | mingw* | pw32*)
11459
 
  version_type=windows
11460
 
  shrext=".dll"
11461
 
  need_version=no
11462
 
  need_lib_prefix=no
11463
 
 
11464
 
  case $GCC,$host_os in
11465
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
11466
 
    library_names_spec='$libname.dll.a'
11467
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11468
 
    postinstall_cmds='base_file=`basename \${file}`~
11469
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11470
 
      dldir=$destdir/`dirname \$dlpath`~
11471
 
      test -d \$dldir || mkdir -p \$dldir~
11472
 
      $install_prog $dir/$dlname \$dldir/$dlname'
11473
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11474
 
      dlpath=$dir/\$dldll~
11475
 
       $rm \$dlpath'
11476
 
    shlibpath_overrides_runpath=yes
11477
 
 
11478
 
    case $host_os in
11479
 
    cygwin*)
11480
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11481
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11482
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11483
 
      ;;
11484
 
    mingw*)
11485
 
      # MinGW DLLs use traditional 'lib' prefix
11486
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11487
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11488
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11489
 
        # It is most probably a Windows format PATH printed by
11490
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11491
 
        # path with ; separators, and with drive letters. We can handle the
11492
 
        # drive letters (cygwin fileutils understands them), so leave them,
11493
 
        # especially as we might pass files found there to a mingw objdump,
11494
 
        # which wouldn't understand a cygwinified path. Ahh.
11495
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11496
 
      else
11497
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11498
 
      fi
11499
 
      ;;
11500
 
    pw32*)
11501
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11502
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11503
 
      ;;
11504
 
    esac
11505
 
    ;;
11506
 
 
11507
 
  *)
11508
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11509
 
    ;;
11510
 
  esac
11511
 
  dynamic_linker='Win32 ld.exe'
11512
 
  # FIXME: first we should search . and the directory the executable is in
11513
 
  shlibpath_var=PATH
11514
 
  ;;
11515
 
 
11516
 
darwin* | rhapsody*)
11517
 
  dynamic_linker="$host_os dyld"
11518
 
  version_type=darwin
11519
 
  need_lib_prefix=no
11520
 
  need_version=no
11521
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11522
 
  soname_spec='${libname}${release}${major}$shared_ext'
11523
 
  shlibpath_overrides_runpath=yes
11524
 
  shlibpath_var=DYLD_LIBRARY_PATH
11525
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11526
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11527
 
  if test "$GCC" = yes; then
11528
 
    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"`
11529
 
  else
11530
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11531
 
  fi
11532
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11533
 
  ;;
11534
 
 
11535
 
dgux*)
11536
 
  version_type=linux
11537
 
  need_lib_prefix=no
11538
 
  need_version=no
11539
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11540
 
  soname_spec='${libname}${release}${shared_ext}$major'
11541
 
  shlibpath_var=LD_LIBRARY_PATH
11542
 
  ;;
11543
 
 
11544
 
freebsd1*)
11545
 
  dynamic_linker=no
11546
 
  ;;
11547
 
 
11548
 
kfreebsd*-gnu*)
11549
 
  version_type=linux
11550
 
  need_lib_prefix=no
11551
 
  need_version=no
11552
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11553
 
  soname_spec='${libname}${release}${shared_ext}$major'
11554
 
  shlibpath_var=LD_LIBRARY_PATH
11555
 
  shlibpath_overrides_runpath=no
11556
 
  hardcode_into_libs=yes
11557
 
  dynamic_linker='GNU ld.so'
11558
 
  ;;
11559
 
 
11560
 
freebsd*)
11561
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11562
 
  version_type=freebsd-$objformat
11563
 
  case $version_type in
11564
 
    freebsd-elf*)
11565
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11566
 
      need_version=no
11567
 
      need_lib_prefix=no
11568
 
      ;;
11569
 
    freebsd-*)
11570
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11571
 
      need_version=yes
11572
 
      ;;
11573
 
  esac
11574
 
  shlibpath_var=LD_LIBRARY_PATH
11575
 
  case $host_os in
11576
 
  freebsd2*)
11577
 
    shlibpath_overrides_runpath=yes
11578
 
    ;;
11579
 
  freebsd3.01* | freebsdelf3.01*)
11580
 
    shlibpath_overrides_runpath=yes
11581
 
    hardcode_into_libs=yes
11582
 
    ;;
11583
 
  *) # from 3.2 on
11584
 
    shlibpath_overrides_runpath=no
11585
 
    hardcode_into_libs=yes
11586
 
    ;;
11587
 
  esac
11588
 
  ;;
11589
 
 
11590
 
gnu*)
11591
 
  version_type=linux
11592
 
  need_lib_prefix=no
11593
 
  need_version=no
11594
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11595
 
  soname_spec='${libname}${release}${shared_ext}$major'
11596
 
  shlibpath_var=LD_LIBRARY_PATH
11597
 
  hardcode_into_libs=yes
11598
 
  ;;
11599
 
 
11600
 
hpux9* | hpux10* | hpux11*)
11601
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
11602
 
  # link against other versions.
11603
 
  version_type=sunos
11604
 
  need_lib_prefix=no
11605
 
  need_version=no
11606
 
  case "$host_cpu" in
11607
 
  ia64*)
11608
 
    shrext='.so'
11609
 
    hardcode_into_libs=yes
11610
 
    dynamic_linker="$host_os dld.so"
11611
 
    shlibpath_var=LD_LIBRARY_PATH
11612
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11613
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11614
 
    soname_spec='${libname}${release}${shared_ext}$major'
11615
 
    if test "X$HPUX_IA64_MODE" = X32; then
11616
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11617
 
    else
11618
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11619
 
    fi
11620
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11621
 
    ;;
11622
 
   hppa*64*)
11623
 
     shrext='.sl'
11624
 
     hardcode_into_libs=yes
11625
 
     dynamic_linker="$host_os dld.sl"
11626
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11627
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11628
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629
 
     soname_spec='${libname}${release}${shared_ext}$major'
11630
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11631
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11632
 
     ;;
11633
 
   *)
11634
 
    shrext='.sl'
11635
 
    dynamic_linker="$host_os dld.sl"
11636
 
    shlibpath_var=SHLIB_PATH
11637
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11638
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11639
 
    soname_spec='${libname}${release}${shared_ext}$major'
11640
 
    ;;
11641
 
  esac
11642
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11643
 
  postinstall_cmds='chmod 555 $lib'
11644
 
  ;;
11645
 
 
11646
 
irix5* | irix6* | nonstopux*)
11647
 
  case $host_os in
11648
 
    nonstopux*) version_type=nonstopux ;;
11649
 
    *)
11650
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11651
 
                version_type=linux
11652
 
        else
11653
 
                version_type=irix
11654
 
        fi ;;
11655
 
  esac
11656
 
  need_lib_prefix=no
11657
 
  need_version=no
11658
 
  soname_spec='${libname}${release}${shared_ext}$major'
11659
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11660
 
  case $host_os in
11661
 
  irix5* | nonstopux*)
11662
 
    libsuff= shlibsuff=
11663
 
    ;;
11664
 
  *)
11665
 
    case $LD in # libtool.m4 will add one of these switches to LD
11666
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11667
 
      libsuff= shlibsuff= libmagic=32-bit;;
11668
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11669
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11670
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11671
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11672
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11673
 
    esac
11674
 
    ;;
11675
 
  esac
11676
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11677
 
  shlibpath_overrides_runpath=no
11678
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11679
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11680
 
  hardcode_into_libs=yes
11681
 
  ;;
11682
 
 
11683
 
# No shared lib support for Linux oldld, aout, or coff.
11684
 
linux*oldld* | linux*aout* | linux*coff*)
11685
 
  dynamic_linker=no
11686
 
  ;;
11687
 
 
11688
 
# This must be Linux ELF.
11689
 
linux*)
11690
 
  version_type=linux
11691
 
  need_lib_prefix=no
11692
 
  need_version=no
11693
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11694
 
  soname_spec='${libname}${release}${shared_ext}$major'
11695
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11696
 
  libsuff=
11697
 
  if test "x$LINUX_64_MODE" = x64; then
11698
 
    # Some platforms are per default 64-bit, so there's no /lib64
11699
 
    if test -d /lib64; then
11700
 
      libsuff=64
11701
 
    fi
11702
 
  fi
11703
 
  shlibpath_var=LD_LIBRARY_PATH
11704
 
  shlibpath_overrides_runpath=no
11705
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
11706
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11707
 
  # This implies no fast_install, which is unacceptable.
11708
 
  # Some rework will be needed to allow for fast_install
11709
 
  # before this can be enabled.
11710
 
  hardcode_into_libs=yes
11711
 
 
11712
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11713
 
  # powerpc, because MkLinux only supported shared libraries with the
11714
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11715
 
  # most powerpc-linux boxes support dynamic linking these days and
11716
 
  # people can always --disable-shared, the test was removed, and we
11717
 
  # assume the GNU/Linux dynamic linker is in use.
11718
 
  dynamic_linker='GNU/Linux ld.so'
11719
 
  ;;
11720
 
 
11721
 
netbsd*)
11722
 
  version_type=sunos
11723
 
  need_lib_prefix=no
11724
 
  need_version=no
11725
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11726
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11727
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11728
 
    dynamic_linker='NetBSD (a.out) ld.so'
11729
 
  else
11730
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11731
 
    soname_spec='${libname}${release}${shared_ext}$major'
11732
 
    dynamic_linker='NetBSD ld.elf_so'
11733
 
  fi
11734
 
  shlibpath_var=LD_LIBRARY_PATH
11735
 
  shlibpath_overrides_runpath=yes
11736
 
  hardcode_into_libs=yes
11737
 
  ;;
11738
 
 
11739
 
newsos6)
11740
 
  version_type=linux
11741
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11742
 
  shlibpath_var=LD_LIBRARY_PATH
11743
 
  shlibpath_overrides_runpath=yes
11744
 
  ;;
11745
 
 
11746
 
nto-qnx*)
11747
 
  version_type=linux
11748
 
  need_lib_prefix=no
11749
 
  need_version=no
11750
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11751
 
  soname_spec='${libname}${release}${shared_ext}$major'
11752
 
  shlibpath_var=LD_LIBRARY_PATH
11753
 
  shlibpath_overrides_runpath=yes
11754
 
  ;;
11755
 
 
11756
 
openbsd*)
11757
 
  version_type=sunos
11758
 
  need_lib_prefix=no
11759
 
  need_version=no
11760
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11761
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11762
 
  shlibpath_var=LD_LIBRARY_PATH
11763
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11764
 
    case $host_os in
11765
 
      openbsd2.[89] | openbsd2.[89].*)
11766
 
        shlibpath_overrides_runpath=no
11767
 
        ;;
11768
 
      *)
11769
 
        shlibpath_overrides_runpath=yes
11770
 
        ;;
11771
 
      esac
11772
 
  else
11773
 
    shlibpath_overrides_runpath=yes
11774
 
  fi
11775
 
  ;;
11776
 
 
11777
 
os2*)
11778
 
  libname_spec='$name'
11779
 
  shrext=".dll"
11780
 
  need_lib_prefix=no
11781
 
  library_names_spec='$libname${shared_ext} $libname.a'
11782
 
  dynamic_linker='OS/2 ld.exe'
11783
 
  shlibpath_var=LIBPATH
11784
 
  ;;
11785
 
 
11786
 
osf3* | osf4* | osf5*)
11787
 
  version_type=osf
11788
 
  need_lib_prefix=no
11789
 
  need_version=no
11790
 
  soname_spec='${libname}${release}${shared_ext}$major'
11791
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11792
 
  shlibpath_var=LD_LIBRARY_PATH
11793
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11794
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11795
 
  ;;
11796
 
 
11797
 
sco3.2v5*)
11798
 
  version_type=osf
11799
 
  soname_spec='${libname}${release}${shared_ext}$major'
11800
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11801
 
  shlibpath_var=LD_LIBRARY_PATH
11802
 
  ;;
11803
 
 
11804
 
solaris*)
11805
 
  version_type=linux
11806
 
  need_lib_prefix=no
11807
 
  need_version=no
11808
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11809
 
  soname_spec='${libname}${release}${shared_ext}$major'
11810
 
  shlibpath_var=LD_LIBRARY_PATH
11811
 
  shlibpath_overrides_runpath=yes
11812
 
  hardcode_into_libs=yes
11813
 
  # ldd complains unless libraries are executable
11814
 
  postinstall_cmds='chmod +x $lib'
11815
 
  ;;
11816
 
 
11817
 
sunos4*)
11818
 
  version_type=sunos
11819
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11820
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11821
 
  shlibpath_var=LD_LIBRARY_PATH
11822
 
  shlibpath_overrides_runpath=yes
11823
 
  if test "$with_gnu_ld" = yes; then
11824
 
    need_lib_prefix=no
11825
 
  fi
11826
 
  need_version=yes
11827
 
  ;;
11828
 
 
11829
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11830
 
  version_type=linux
11831
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11832
 
  soname_spec='${libname}${release}${shared_ext}$major'
11833
 
  shlibpath_var=LD_LIBRARY_PATH
11834
 
  case $host_vendor in
11835
 
    sni)
11836
 
      shlibpath_overrides_runpath=no
11837
 
      need_lib_prefix=no
11838
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
11839
 
      runpath_var=LD_RUN_PATH
11840
 
      ;;
11841
 
    siemens)
11842
 
      need_lib_prefix=no
11843
 
      ;;
11844
 
    motorola)
11845
 
      need_lib_prefix=no
11846
 
      need_version=no
11847
 
      shlibpath_overrides_runpath=no
11848
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11849
 
      ;;
11850
 
  esac
11851
 
  ;;
11852
 
 
11853
 
sysv4*MP*)
11854
 
  if test -d /usr/nec ;then
11855
 
    version_type=linux
11856
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11857
 
    soname_spec='$libname${shared_ext}.$major'
11858
 
    shlibpath_var=LD_LIBRARY_PATH
11859
 
  fi
11860
 
  ;;
11861
 
 
11862
 
uts4*)
11863
 
  version_type=linux
11864
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11865
 
  soname_spec='${libname}${release}${shared_ext}$major'
11866
 
  shlibpath_var=LD_LIBRARY_PATH
11867
 
  ;;
11868
 
 
11869
 
*)
11870
 
  dynamic_linker=no
11871
 
  ;;
11872
 
esac
11873
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11874
 
echo "${ECHO_T}$dynamic_linker" >&6; }
11875
 
test "$dynamic_linker" = no && can_build_shared=no
11876
 
 
11877
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11878
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11879
 
hardcode_action=
11880
 
if test -n "$hardcode_libdir_flag_spec" || \
11881
 
   test -n "$runpath_var " || \
11882
 
   test "X$hardcode_automatic"="Xyes" ; then
11883
 
 
11884
 
  # We can hardcode non-existant directories.
11885
 
  if test "$hardcode_direct" != no &&
11886
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11887
 
     # have to relink, otherwise we might link with an installed library
11888
 
     # when we should be linking with a yet-to-be-installed one
11889
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11890
 
     test "$hardcode_minus_L" != no; then
11891
 
    # Linking always hardcodes the temporary library directory.
11892
 
    hardcode_action=relink
11893
 
  else
11894
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11895
 
    hardcode_action=immediate
11896
 
  fi
11897
 
else
11898
 
  # We cannot hardcode anything, or else we can only hardcode existing
11899
 
  # directories.
11900
 
  hardcode_action=unsupported
11901
 
fi
11902
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11903
 
echo "${ECHO_T}$hardcode_action" >&6; }
11904
 
 
11905
 
if test "$hardcode_action" = relink; then
11906
 
  # Fast installation is not supported
11907
 
  enable_fast_install=no
11908
 
elif test "$shlibpath_overrides_runpath" = yes ||
11909
 
     test "$enable_shared" = no; then
11910
 
  # Fast installation is not necessary
11911
 
  enable_fast_install=needless
11912
 
fi
11913
 
 
11914
 
striplib=
11915
 
old_striplib=
11916
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11917
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11918
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11919
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11920
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11921
 
  { echo "$as_me:$LINENO: result: yes" >&5
11922
 
echo "${ECHO_T}yes" >&6; }
11923
 
else
11924
 
# FIXME - insert some real tests, host_os isn't really good enough
11925
 
  case $host_os in
11926
 
   darwin*)
11927
 
       if test -n "$STRIP" ; then
11928
 
         striplib="$STRIP -x"
11929
 
         { echo "$as_me:$LINENO: result: yes" >&5
11930
 
echo "${ECHO_T}yes" >&6; }
11931
 
       else
11932
 
  { echo "$as_me:$LINENO: result: no" >&5
11933
 
echo "${ECHO_T}no" >&6; }
11934
 
fi
11935
 
       ;;
11936
 
   *)
11937
 
  { echo "$as_me:$LINENO: result: no" >&5
11938
 
echo "${ECHO_T}no" >&6; }
11939
 
    ;;
11940
 
  esac
11941
 
fi
11942
 
 
11943
 
if test "x$enable_dlopen" != xyes; then
11944
 
  enable_dlopen=unknown
11945
 
  enable_dlopen_self=unknown
11946
 
  enable_dlopen_self_static=unknown
11947
 
else
11948
 
  lt_cv_dlopen=no
11949
 
  lt_cv_dlopen_libs=
11950
 
 
11951
 
  case $host_os in
11952
 
  beos*)
11953
 
    lt_cv_dlopen="load_add_on"
11954
 
    lt_cv_dlopen_libs=
11955
 
    lt_cv_dlopen_self=yes
11956
 
    ;;
11957
 
 
11958
 
  mingw* | pw32*)
11959
 
    lt_cv_dlopen="LoadLibrary"
11960
 
    lt_cv_dlopen_libs=
11961
 
   ;;
11962
 
 
11963
 
  cygwin*)
11964
 
    lt_cv_dlopen="dlopen"
11965
 
    lt_cv_dlopen_libs=
11966
 
   ;;
11967
 
 
11968
 
  darwin*)
11969
 
  # if libdl is installed we need to link against it
11970
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11971
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11972
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11973
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11974
 
else
11975
 
  ac_check_lib_save_LIBS=$LIBS
11976
 
LIBS="-ldl  $LIBS"
11977
 
cat >conftest.$ac_ext <<_ACEOF
11978
 
/* confdefs.h.  */
11979
 
_ACEOF
11980
 
cat confdefs.h >>conftest.$ac_ext
11981
 
cat >>conftest.$ac_ext <<_ACEOF
11982
 
/* end confdefs.h.  */
11983
 
 
11984
 
/* Override any GCC internal prototype to avoid an error.
11985
 
   Use char because int might match the return type of a GCC
11986
 
   builtin and then its argument prototype would still apply.  */
11987
 
#ifdef __cplusplus
11988
 
extern "C"
11989
 
#endif
11990
 
char dlopen ();
11991
 
int
11992
 
main ()
11993
 
{
11994
 
return dlopen ();
11995
 
  ;
11996
 
  return 0;
11997
 
}
11998
 
_ACEOF
11999
 
rm -f conftest.$ac_objext conftest$ac_exeext
12000
 
if { (ac_try="$ac_link"
12001
 
case "(($ac_try" in
12002
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12003
 
  *) ac_try_echo=$ac_try;;
12004
 
esac
12005
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12006
 
  (eval "$ac_link") 2>conftest.er1
12007
 
  ac_status=$?
12008
 
  grep -v '^ *+' conftest.er1 >conftest.err
12009
 
  rm -f conftest.er1
12010
 
  cat conftest.err >&5
12011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012
 
  (exit $ac_status); } && {
12013
 
         test -z "$ac_c_werror_flag" ||
12014
 
         test ! -s conftest.err
12015
 
       } && test -s conftest$ac_exeext &&
12016
 
       $as_test_x conftest$ac_exeext; then
12017
 
  ac_cv_lib_dl_dlopen=yes
12018
 
else
12019
 
  echo "$as_me: failed program was:" >&5
12020
 
sed 's/^/| /' conftest.$ac_ext >&5
12021
 
 
12022
 
        ac_cv_lib_dl_dlopen=no
12023
 
fi
12024
 
 
12025
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12026
 
      conftest$ac_exeext conftest.$ac_ext
12027
 
LIBS=$ac_check_lib_save_LIBS
12028
 
fi
12029
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12030
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12031
 
if test $ac_cv_lib_dl_dlopen = yes; then
12032
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12033
 
else
12034
 
 
12035
 
    lt_cv_dlopen="dyld"
12036
 
    lt_cv_dlopen_libs=
12037
 
    lt_cv_dlopen_self=yes
12038
 
 
12039
 
fi
12040
 
 
12041
 
   ;;
12042
 
 
12043
 
  *)
12044
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
12045
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12046
 
if test "${ac_cv_func_shl_load+set}" = set; then
12047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12048
 
else
12049
 
  cat >conftest.$ac_ext <<_ACEOF
12050
 
/* confdefs.h.  */
12051
 
_ACEOF
12052
 
cat confdefs.h >>conftest.$ac_ext
12053
 
cat >>conftest.$ac_ext <<_ACEOF
12054
 
/* end confdefs.h.  */
12055
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12056
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12057
 
#define shl_load innocuous_shl_load
12058
 
 
12059
 
/* System header to define __stub macros and hopefully few prototypes,
12060
 
    which can conflict with char shl_load (); below.
12061
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12062
 
    <limits.h> exists even on freestanding compilers.  */
12063
 
 
12064
 
#ifdef __STDC__
12065
 
# include <limits.h>
12066
 
#else
12067
 
# include <assert.h>
12068
 
#endif
12069
 
 
12070
 
#undef shl_load
12071
 
 
12072
 
/* Override any GCC internal prototype to avoid an error.
12073
 
   Use char because int might match the return type of a GCC
12074
 
   builtin and then its argument prototype would still apply.  */
12075
 
#ifdef __cplusplus
12076
 
extern "C"
12077
 
#endif
12078
 
char shl_load ();
12079
 
/* The GNU C library defines this for functions which it implements
12080
 
    to always fail with ENOSYS.  Some functions are actually named
12081
 
    something starting with __ and the normal name is an alias.  */
12082
 
#if defined __stub_shl_load || defined __stub___shl_load
12083
 
choke me
12084
 
#endif
12085
 
 
12086
 
int
12087
 
main ()
12088
 
{
12089
 
return shl_load ();
12090
 
  ;
12091
 
  return 0;
12092
 
}
12093
 
_ACEOF
12094
 
rm -f conftest.$ac_objext conftest$ac_exeext
12095
 
if { (ac_try="$ac_link"
12096
 
case "(($ac_try" in
12097
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12098
 
  *) ac_try_echo=$ac_try;;
12099
 
esac
12100
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12101
 
  (eval "$ac_link") 2>conftest.er1
12102
 
  ac_status=$?
12103
 
  grep -v '^ *+' conftest.er1 >conftest.err
12104
 
  rm -f conftest.er1
12105
 
  cat conftest.err >&5
12106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107
 
  (exit $ac_status); } && {
12108
 
         test -z "$ac_c_werror_flag" ||
12109
 
         test ! -s conftest.err
12110
 
       } && test -s conftest$ac_exeext &&
12111
 
       $as_test_x conftest$ac_exeext; then
12112
 
  ac_cv_func_shl_load=yes
12113
 
else
12114
 
  echo "$as_me: failed program was:" >&5
12115
 
sed 's/^/| /' conftest.$ac_ext >&5
12116
 
 
12117
 
        ac_cv_func_shl_load=no
12118
 
fi
12119
 
 
12120
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12121
 
      conftest$ac_exeext conftest.$ac_ext
12122
 
fi
12123
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12124
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12125
 
if test $ac_cv_func_shl_load = yes; then
12126
 
  lt_cv_dlopen="shl_load"
12127
 
else
12128
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12129
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12130
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12131
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12132
 
else
12133
 
  ac_check_lib_save_LIBS=$LIBS
12134
 
LIBS="-ldld  $LIBS"
12135
 
cat >conftest.$ac_ext <<_ACEOF
12136
 
/* confdefs.h.  */
12137
 
_ACEOF
12138
 
cat confdefs.h >>conftest.$ac_ext
12139
 
cat >>conftest.$ac_ext <<_ACEOF
12140
 
/* end confdefs.h.  */
12141
 
 
12142
 
/* Override any GCC internal prototype to avoid an error.
12143
 
   Use char because int might match the return type of a GCC
12144
 
   builtin and then its argument prototype would still apply.  */
12145
 
#ifdef __cplusplus
12146
 
extern "C"
12147
 
#endif
12148
 
char shl_load ();
12149
 
int
12150
 
main ()
12151
 
{
12152
 
return shl_load ();
12153
 
  ;
12154
 
  return 0;
12155
 
}
12156
 
_ACEOF
12157
 
rm -f conftest.$ac_objext conftest$ac_exeext
12158
 
if { (ac_try="$ac_link"
12159
 
case "(($ac_try" in
12160
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12161
 
  *) ac_try_echo=$ac_try;;
12162
 
esac
12163
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12164
 
  (eval "$ac_link") 2>conftest.er1
12165
 
  ac_status=$?
12166
 
  grep -v '^ *+' conftest.er1 >conftest.err
12167
 
  rm -f conftest.er1
12168
 
  cat conftest.err >&5
12169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170
 
  (exit $ac_status); } && {
12171
 
         test -z "$ac_c_werror_flag" ||
12172
 
         test ! -s conftest.err
12173
 
       } && test -s conftest$ac_exeext &&
12174
 
       $as_test_x conftest$ac_exeext; then
12175
 
  ac_cv_lib_dld_shl_load=yes
12176
 
else
12177
 
  echo "$as_me: failed program was:" >&5
12178
 
sed 's/^/| /' conftest.$ac_ext >&5
12179
 
 
12180
 
        ac_cv_lib_dld_shl_load=no
12181
 
fi
12182
 
 
12183
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12184
 
      conftest$ac_exeext conftest.$ac_ext
12185
 
LIBS=$ac_check_lib_save_LIBS
12186
 
fi
12187
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12188
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12189
 
if test $ac_cv_lib_dld_shl_load = yes; then
12190
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12191
 
else
12192
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
12193
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12194
 
if test "${ac_cv_func_dlopen+set}" = set; then
12195
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12196
 
else
12197
 
  cat >conftest.$ac_ext <<_ACEOF
12198
 
/* confdefs.h.  */
12199
 
_ACEOF
12200
 
cat confdefs.h >>conftest.$ac_ext
12201
 
cat >>conftest.$ac_ext <<_ACEOF
12202
 
/* end confdefs.h.  */
12203
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12204
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12205
 
#define dlopen innocuous_dlopen
12206
 
 
12207
 
/* System header to define __stub macros and hopefully few prototypes,
12208
 
    which can conflict with char dlopen (); below.
12209
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12210
 
    <limits.h> exists even on freestanding compilers.  */
12211
 
 
12212
 
#ifdef __STDC__
12213
 
# include <limits.h>
12214
 
#else
12215
 
# include <assert.h>
12216
 
#endif
12217
 
 
12218
 
#undef dlopen
12219
 
 
12220
 
/* Override any GCC internal prototype to avoid an error.
12221
 
   Use char because int might match the return type of a GCC
12222
 
   builtin and then its argument prototype would still apply.  */
12223
 
#ifdef __cplusplus
12224
 
extern "C"
12225
 
#endif
12226
 
char dlopen ();
12227
 
/* The GNU C library defines this for functions which it implements
12228
 
    to always fail with ENOSYS.  Some functions are actually named
12229
 
    something starting with __ and the normal name is an alias.  */
12230
 
#if defined __stub_dlopen || defined __stub___dlopen
12231
 
choke me
12232
 
#endif
12233
 
 
12234
 
int
12235
 
main ()
12236
 
{
12237
 
return dlopen ();
12238
 
  ;
12239
 
  return 0;
12240
 
}
12241
 
_ACEOF
12242
 
rm -f conftest.$ac_objext conftest$ac_exeext
12243
 
if { (ac_try="$ac_link"
12244
 
case "(($ac_try" in
12245
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12246
 
  *) ac_try_echo=$ac_try;;
12247
 
esac
12248
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12249
 
  (eval "$ac_link") 2>conftest.er1
12250
 
  ac_status=$?
12251
 
  grep -v '^ *+' conftest.er1 >conftest.err
12252
 
  rm -f conftest.er1
12253
 
  cat conftest.err >&5
12254
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255
 
  (exit $ac_status); } && {
12256
 
         test -z "$ac_c_werror_flag" ||
12257
 
         test ! -s conftest.err
12258
 
       } && test -s conftest$ac_exeext &&
12259
 
       $as_test_x conftest$ac_exeext; then
12260
 
  ac_cv_func_dlopen=yes
12261
 
else
12262
 
  echo "$as_me: failed program was:" >&5
12263
 
sed 's/^/| /' conftest.$ac_ext >&5
12264
 
 
12265
 
        ac_cv_func_dlopen=no
12266
 
fi
12267
 
 
12268
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12269
 
      conftest$ac_exeext conftest.$ac_ext
12270
 
fi
12271
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12272
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12273
 
if test $ac_cv_func_dlopen = yes; then
12274
 
  lt_cv_dlopen="dlopen"
12275
 
else
12276
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12277
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12278
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12279
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12280
 
else
12281
 
  ac_check_lib_save_LIBS=$LIBS
12282
 
LIBS="-ldl  $LIBS"
12283
 
cat >conftest.$ac_ext <<_ACEOF
12284
 
/* confdefs.h.  */
12285
 
_ACEOF
12286
 
cat confdefs.h >>conftest.$ac_ext
12287
 
cat >>conftest.$ac_ext <<_ACEOF
12288
 
/* end confdefs.h.  */
12289
 
 
12290
 
/* Override any GCC internal prototype to avoid an error.
12291
 
   Use char because int might match the return type of a GCC
12292
 
   builtin and then its argument prototype would still apply.  */
12293
 
#ifdef __cplusplus
12294
 
extern "C"
12295
 
#endif
12296
 
char dlopen ();
12297
 
int
12298
 
main ()
12299
 
{
12300
 
return dlopen ();
12301
 
  ;
12302
 
  return 0;
12303
 
}
12304
 
_ACEOF
12305
 
rm -f conftest.$ac_objext conftest$ac_exeext
12306
 
if { (ac_try="$ac_link"
12307
 
case "(($ac_try" in
12308
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12309
 
  *) ac_try_echo=$ac_try;;
12310
 
esac
12311
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12312
 
  (eval "$ac_link") 2>conftest.er1
12313
 
  ac_status=$?
12314
 
  grep -v '^ *+' conftest.er1 >conftest.err
12315
 
  rm -f conftest.er1
12316
 
  cat conftest.err >&5
12317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318
 
  (exit $ac_status); } && {
12319
 
         test -z "$ac_c_werror_flag" ||
12320
 
         test ! -s conftest.err
12321
 
       } && test -s conftest$ac_exeext &&
12322
 
       $as_test_x conftest$ac_exeext; then
12323
 
  ac_cv_lib_dl_dlopen=yes
12324
 
else
12325
 
  echo "$as_me: failed program was:" >&5
12326
 
sed 's/^/| /' conftest.$ac_ext >&5
12327
 
 
12328
 
        ac_cv_lib_dl_dlopen=no
12329
 
fi
12330
 
 
12331
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12332
 
      conftest$ac_exeext conftest.$ac_ext
12333
 
LIBS=$ac_check_lib_save_LIBS
12334
 
fi
12335
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12336
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12337
 
if test $ac_cv_lib_dl_dlopen = yes; then
12338
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12339
 
else
12340
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12341
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12342
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12343
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12344
 
else
12345
 
  ac_check_lib_save_LIBS=$LIBS
12346
 
LIBS="-lsvld  $LIBS"
12347
 
cat >conftest.$ac_ext <<_ACEOF
12348
 
/* confdefs.h.  */
12349
 
_ACEOF
12350
 
cat confdefs.h >>conftest.$ac_ext
12351
 
cat >>conftest.$ac_ext <<_ACEOF
12352
 
/* end confdefs.h.  */
12353
 
 
12354
 
/* Override any GCC internal prototype to avoid an error.
12355
 
   Use char because int might match the return type of a GCC
12356
 
   builtin and then its argument prototype would still apply.  */
12357
 
#ifdef __cplusplus
12358
 
extern "C"
12359
 
#endif
12360
 
char dlopen ();
12361
 
int
12362
 
main ()
12363
 
{
12364
 
return dlopen ();
12365
 
  ;
12366
 
  return 0;
12367
 
}
12368
 
_ACEOF
12369
 
rm -f conftest.$ac_objext conftest$ac_exeext
12370
 
if { (ac_try="$ac_link"
12371
 
case "(($ac_try" in
12372
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12373
 
  *) ac_try_echo=$ac_try;;
12374
 
esac
12375
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12376
 
  (eval "$ac_link") 2>conftest.er1
12377
 
  ac_status=$?
12378
 
  grep -v '^ *+' conftest.er1 >conftest.err
12379
 
  rm -f conftest.er1
12380
 
  cat conftest.err >&5
12381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382
 
  (exit $ac_status); } && {
12383
 
         test -z "$ac_c_werror_flag" ||
12384
 
         test ! -s conftest.err
12385
 
       } && test -s conftest$ac_exeext &&
12386
 
       $as_test_x conftest$ac_exeext; then
12387
 
  ac_cv_lib_svld_dlopen=yes
12388
 
else
12389
 
  echo "$as_me: failed program was:" >&5
12390
 
sed 's/^/| /' conftest.$ac_ext >&5
12391
 
 
12392
 
        ac_cv_lib_svld_dlopen=no
12393
 
fi
12394
 
 
12395
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12396
 
      conftest$ac_exeext conftest.$ac_ext
12397
 
LIBS=$ac_check_lib_save_LIBS
12398
 
fi
12399
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12400
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12401
 
if test $ac_cv_lib_svld_dlopen = yes; then
12402
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12403
 
else
12404
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12405
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12406
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12407
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12408
 
else
12409
 
  ac_check_lib_save_LIBS=$LIBS
12410
 
LIBS="-ldld  $LIBS"
12411
 
cat >conftest.$ac_ext <<_ACEOF
12412
 
/* confdefs.h.  */
12413
 
_ACEOF
12414
 
cat confdefs.h >>conftest.$ac_ext
12415
 
cat >>conftest.$ac_ext <<_ACEOF
12416
 
/* end confdefs.h.  */
12417
 
 
12418
 
/* Override any GCC internal prototype to avoid an error.
12419
 
   Use char because int might match the return type of a GCC
12420
 
   builtin and then its argument prototype would still apply.  */
12421
 
#ifdef __cplusplus
12422
 
extern "C"
12423
 
#endif
12424
 
char dld_link ();
12425
 
int
12426
 
main ()
12427
 
{
12428
 
return dld_link ();
12429
 
  ;
12430
 
  return 0;
12431
 
}
12432
 
_ACEOF
12433
 
rm -f conftest.$ac_objext conftest$ac_exeext
12434
 
if { (ac_try="$ac_link"
12435
 
case "(($ac_try" in
12436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12437
 
  *) ac_try_echo=$ac_try;;
12438
 
esac
12439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12440
 
  (eval "$ac_link") 2>conftest.er1
12441
 
  ac_status=$?
12442
 
  grep -v '^ *+' conftest.er1 >conftest.err
12443
 
  rm -f conftest.er1
12444
 
  cat conftest.err >&5
12445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446
 
  (exit $ac_status); } && {
12447
 
         test -z "$ac_c_werror_flag" ||
12448
 
         test ! -s conftest.err
12449
 
       } && test -s conftest$ac_exeext &&
12450
 
       $as_test_x conftest$ac_exeext; then
12451
 
  ac_cv_lib_dld_dld_link=yes
12452
 
else
12453
 
  echo "$as_me: failed program was:" >&5
12454
 
sed 's/^/| /' conftest.$ac_ext >&5
12455
 
 
12456
 
        ac_cv_lib_dld_dld_link=no
12457
 
fi
12458
 
 
12459
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12460
 
      conftest$ac_exeext conftest.$ac_ext
12461
 
LIBS=$ac_check_lib_save_LIBS
12462
 
fi
12463
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12464
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12465
 
if test $ac_cv_lib_dld_dld_link = yes; then
12466
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12467
 
fi
12468
 
 
12469
 
 
12470
 
fi
12471
 
 
12472
 
 
12473
 
fi
12474
 
 
12475
 
 
12476
 
fi
12477
 
 
12478
 
 
12479
 
fi
12480
 
 
12481
 
 
12482
 
fi
12483
 
 
12484
 
    ;;
12485
 
  esac
12486
 
 
12487
 
  if test "x$lt_cv_dlopen" != xno; then
12488
 
    enable_dlopen=yes
12489
 
  else
12490
 
    enable_dlopen=no
12491
 
  fi
12492
 
 
12493
 
  case $lt_cv_dlopen in
12494
 
  dlopen)
12495
 
    save_CPPFLAGS="$CPPFLAGS"
12496
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12497
 
 
12498
 
    save_LDFLAGS="$LDFLAGS"
12499
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12500
 
 
12501
 
    save_LIBS="$LIBS"
12502
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12503
 
 
12504
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12505
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12506
 
if test "${lt_cv_dlopen_self+set}" = set; then
12507
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12508
 
else
12509
 
          if test "$cross_compiling" = yes; then :
12510
 
  lt_cv_dlopen_self=cross
12511
 
else
12512
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12513
 
  lt_status=$lt_dlunknown
12514
 
  cat > conftest.$ac_ext <<EOF
12515
 
#line 12515 "configure"
12516
 
#include "confdefs.h"
12517
 
 
12518
 
#if HAVE_DLFCN_H
12519
 
#include <dlfcn.h>
12520
 
#endif
12521
 
 
12522
 
#include <stdio.h>
12523
 
 
12524
 
#ifdef RTLD_GLOBAL
12525
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12526
 
#else
12527
 
#  ifdef DL_GLOBAL
12528
 
#    define LT_DLGLOBAL         DL_GLOBAL
12529
 
#  else
12530
 
#    define LT_DLGLOBAL         0
12531
 
#  endif
12532
 
#endif
12533
 
 
12534
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12535
 
   find out it does not work in some platform. */
12536
 
#ifndef LT_DLLAZY_OR_NOW
12537
 
#  ifdef RTLD_LAZY
12538
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12539
 
#  else
12540
 
#    ifdef DL_LAZY
12541
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12542
 
#    else
12543
 
#      ifdef RTLD_NOW
12544
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12545
 
#      else
12546
 
#        ifdef DL_NOW
12547
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12548
 
#        else
12549
 
#          define LT_DLLAZY_OR_NOW      0
12550
 
#        endif
12551
 
#      endif
12552
 
#    endif
12553
 
#  endif
12554
 
#endif
12555
 
 
12556
 
#ifdef __cplusplus
12557
 
extern "C" void exit (int);
12558
 
#endif
12559
 
 
12560
 
void fnord() { int i=42;}
12561
 
int main ()
12562
 
{
12563
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12564
 
  int status = $lt_dlunknown;
12565
 
 
12566
 
  if (self)
12567
 
    {
12568
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12569
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12570
 
      /* dlclose (self); */
12571
 
    }
12572
 
 
12573
 
    exit (status);
12574
 
}
12575
 
EOF
12576
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12577
 
  (eval $ac_link) 2>&5
12578
 
  ac_status=$?
12579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12581
 
    (./conftest; exit; ) 2>/dev/null
12582
 
    lt_status=$?
12583
 
    case x$lt_status in
12584
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12585
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12586
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12587
 
    esac
12588
 
  else :
12589
 
    # compilation failed
12590
 
    lt_cv_dlopen_self=no
12591
 
  fi
12592
 
fi
12593
 
rm -fr conftest*
12594
 
 
12595
 
 
12596
 
fi
12597
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12598
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12599
 
 
12600
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12601
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12602
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12603
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12604
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12605
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12606
 
else
12607
 
          if test "$cross_compiling" = yes; then :
12608
 
  lt_cv_dlopen_self_static=cross
12609
 
else
12610
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12611
 
  lt_status=$lt_dlunknown
12612
 
  cat > conftest.$ac_ext <<EOF
12613
 
#line 12613 "configure"
12614
 
#include "confdefs.h"
12615
 
 
12616
 
#if HAVE_DLFCN_H
12617
 
#include <dlfcn.h>
12618
 
#endif
12619
 
 
12620
 
#include <stdio.h>
12621
 
 
12622
 
#ifdef RTLD_GLOBAL
12623
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12624
 
#else
12625
 
#  ifdef DL_GLOBAL
12626
 
#    define LT_DLGLOBAL         DL_GLOBAL
12627
 
#  else
12628
 
#    define LT_DLGLOBAL         0
12629
 
#  endif
12630
 
#endif
12631
 
 
12632
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12633
 
   find out it does not work in some platform. */
12634
 
#ifndef LT_DLLAZY_OR_NOW
12635
 
#  ifdef RTLD_LAZY
12636
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12637
 
#  else
12638
 
#    ifdef DL_LAZY
12639
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12640
 
#    else
12641
 
#      ifdef RTLD_NOW
12642
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12643
 
#      else
12644
 
#        ifdef DL_NOW
12645
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12646
 
#        else
12647
 
#          define LT_DLLAZY_OR_NOW      0
12648
 
#        endif
12649
 
#      endif
12650
 
#    endif
12651
 
#  endif
12652
 
#endif
12653
 
 
12654
 
#ifdef __cplusplus
12655
 
extern "C" void exit (int);
12656
 
#endif
12657
 
 
12658
 
void fnord() { int i=42;}
12659
 
int main ()
12660
 
{
12661
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12662
 
  int status = $lt_dlunknown;
12663
 
 
12664
 
  if (self)
12665
 
    {
12666
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12667
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12668
 
      /* dlclose (self); */
12669
 
    }
12670
 
 
12671
 
    exit (status);
12672
 
}
12673
 
EOF
12674
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12675
 
  (eval $ac_link) 2>&5
12676
 
  ac_status=$?
12677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12679
 
    (./conftest; exit; ) 2>/dev/null
12680
 
    lt_status=$?
12681
 
    case x$lt_status in
12682
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12683
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12684
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12685
 
    esac
12686
 
  else :
12687
 
    # compilation failed
12688
 
    lt_cv_dlopen_self_static=no
12689
 
  fi
12690
 
fi
12691
 
rm -fr conftest*
12692
 
 
12693
 
 
12694
 
fi
12695
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12696
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12697
 
    fi
12698
 
 
12699
 
    CPPFLAGS="$save_CPPFLAGS"
12700
 
    LDFLAGS="$save_LDFLAGS"
12701
 
    LIBS="$save_LIBS"
12702
 
    ;;
12703
 
  esac
12704
 
 
12705
 
  case $lt_cv_dlopen_self in
12706
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12707
 
  *) enable_dlopen_self=unknown ;;
12708
 
  esac
12709
 
 
12710
 
  case $lt_cv_dlopen_self_static in
12711
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12712
 
  *) enable_dlopen_self_static=unknown ;;
12713
 
  esac
12714
 
fi
12715
 
 
12716
 
 
12717
 
# Report which librarie types wil actually be built
12718
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12719
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12720
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12721
 
echo "${ECHO_T}$can_build_shared" >&6; }
12722
 
 
12723
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12724
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12725
 
test "$can_build_shared" = "no" && enable_shared=no
12726
 
 
12727
 
# On AIX, shared libraries and static libraries use the same namespace, and
12728
 
# are all built from PIC.
12729
 
case "$host_os" in
12730
 
aix3*)
12731
 
  test "$enable_shared" = yes && enable_static=no
12732
 
  if test -n "$RANLIB"; then
12733
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
12734
 
    postinstall_cmds='$RANLIB $lib'
12735
 
  fi
12736
 
  ;;
12737
 
 
12738
 
aix4*)
12739
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12740
 
    test "$enable_shared" = yes && enable_static=no
12741
 
  fi
12742
 
  ;;
12743
 
  darwin* | rhapsody*)
12744
 
  if test "$GCC" = yes; then
12745
 
    archive_cmds_need_lc=no
12746
 
    case "$host_os" in
12747
 
    rhapsody* | darwin1.[012])
12748
 
      allow_undefined_flag='-Wl,-undefined -Wl,suppress'
12749
 
      ;;
12750
 
    *) # Darwin 1.3 on
12751
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12752
 
        allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12753
 
      else
12754
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
12755
 
          10.012)
12756
 
            allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12757
 
            ;;
12758
 
          10.*)
12759
 
            allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
12760
 
            ;;
12761
 
        esac
12762
 
      fi
12763
 
      ;;
12764
 
    esac
12765
 
    output_verbose_link_cmd='echo'
12766
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
12767
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
12768
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12769
 
    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12770
 
    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12771
 
    hardcode_direct=no
12772
 
    hardcode_automatic=yes
12773
 
    hardcode_shlibpath_var=unsupported
12774
 
    whole_archive_flag_spec='-all_load $convenience'
12775
 
    link_all_deplibs=yes
12776
 
  else
12777
 
    ld_shlibs=no
12778
 
  fi
12779
 
    ;;
12780
 
esac
12781
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12782
 
echo "${ECHO_T}$enable_shared" >&6; }
12783
 
 
12784
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12785
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12786
 
# Make sure either enable_shared or enable_static is yes.
12787
 
test "$enable_shared" = yes || enable_static=yes
12788
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
12789
 
echo "${ECHO_T}$enable_static" >&6; }
12790
 
 
12791
 
# The else clause should only fire when bootstrapping the
12792
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
12793
 
# with your package, and you will get complaints that there are
12794
 
# no rules to generate ltmain.sh.
12795
 
if test -f "$ltmain"; then
12796
 
  # See if we are running on zsh, and set the options which allow our commands through
12797
 
  # without removal of \ escapes.
12798
 
  if test -n "${ZSH_VERSION+set}" ; then
12799
 
    setopt NO_GLOB_SUBST
12800
 
  fi
12801
 
  # Now quote all the things that may contain metacharacters while being
12802
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12803
 
  # variables and quote the copies for generation of the libtool script.
12804
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12805
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12806
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12807
 
    deplibs_check_method reload_flag reload_cmds need_locks \
12808
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12809
 
    lt_cv_sys_global_symbol_to_c_name_address \
12810
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12811
 
    old_postinstall_cmds old_postuninstall_cmds \
12812
 
    compiler \
12813
 
    CC \
12814
 
    LD \
12815
 
    lt_prog_compiler_wl \
12816
 
    lt_prog_compiler_pic \
12817
 
    lt_prog_compiler_static \
12818
 
    lt_prog_compiler_no_builtin_flag \
12819
 
    export_dynamic_flag_spec \
12820
 
    thread_safe_flag_spec \
12821
 
    whole_archive_flag_spec \
12822
 
    enable_shared_with_static_runtimes \
12823
 
    old_archive_cmds \
12824
 
    old_archive_from_new_cmds \
12825
 
    predep_objects \
12826
 
    postdep_objects \
12827
 
    predeps \
12828
 
    postdeps \
12829
 
    compiler_lib_search_path \
12830
 
    archive_cmds \
12831
 
    archive_expsym_cmds \
12832
 
    postinstall_cmds \
12833
 
    postuninstall_cmds \
12834
 
    old_archive_from_expsyms_cmds \
12835
 
    allow_undefined_flag \
12836
 
    no_undefined_flag \
12837
 
    export_symbols_cmds \
12838
 
    hardcode_libdir_flag_spec \
12839
 
    hardcode_libdir_flag_spec_ld \
12840
 
    hardcode_libdir_separator \
12841
 
    hardcode_automatic \
12842
 
    module_cmds \
12843
 
    module_expsym_cmds \
12844
 
    lt_cv_prog_compiler_c_o \
12845
 
    exclude_expsyms \
12846
 
    include_expsyms; do
12847
 
 
12848
 
    case $var in
12849
 
    old_archive_cmds | \
12850
 
    old_archive_from_new_cmds | \
12851
 
    archive_cmds | \
12852
 
    archive_expsym_cmds | \
12853
 
    module_cmds | \
12854
 
    module_expsym_cmds | \
12855
 
    old_archive_from_expsyms_cmds | \
12856
 
    export_symbols_cmds | \
12857
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
12858
 
    postinstall_cmds | postuninstall_cmds | \
12859
 
    old_postinstall_cmds | old_postuninstall_cmds | \
12860
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12861
 
      # Double-quote double-evaled strings.
12862
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12863
 
      ;;
12864
 
    *)
12865
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12866
 
      ;;
12867
 
    esac
12868
 
  done
12869
 
 
12870
 
  case $lt_echo in
12871
 
  *'\$0 --fallback-echo"')
12872
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12873
 
    ;;
12874
 
  esac
12875
 
 
12876
 
cfgfile="${ofile}T"
12877
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12878
 
  $rm -f "$cfgfile"
12879
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
12880
 
echo "$as_me: creating $ofile" >&6;}
12881
 
 
12882
 
  cat <<__EOF__ >> "$cfgfile"
12883
 
#! $SHELL
12884
 
 
12885
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12886
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12887
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12888
 
#
12889
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
12890
 
# Free Software Foundation, Inc.
12891
 
#
12892
 
# This file is part of GNU Libtool:
12893
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12894
 
#
12895
 
# This program is free software; you can redistribute it and/or modify
12896
 
# it under the terms of the GNU General Public License as published by
12897
 
# the Free Software Foundation; either version 2 of the License, or
12898
 
# (at your option) any later version.
12899
 
#
12900
 
# This program is distributed in the hope that it will be useful, but
12901
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
12902
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12903
 
# General Public License for more details.
12904
 
#
12905
 
# You should have received a copy of the GNU General Public License
12906
 
# along with this program; if not, write to the Free Software
12907
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12908
 
#
12909
 
# As a special exception to the GNU General Public License, if you
12910
 
# distribute this file as part of a program that contains a
12911
 
# configuration script generated by Autoconf, you may include it under
12912
 
# the same distribution terms that you use for the rest of that program.
12913
 
 
12914
 
# A sed program that does not truncate output.
12915
 
SED=$lt_SED
12916
 
 
12917
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12918
 
Xsed="$SED -e s/^X//"
12919
 
 
12920
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
12921
 
# if CDPATH is set.
12922
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
12923
 
 
12924
 
# The names of the tagged configurations supported by this script.
12925
 
available_tags=
12926
 
 
12927
 
# ### BEGIN LIBTOOL CONFIG
12928
 
 
12929
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12930
 
 
12931
 
# Shell to use when invoking shell scripts.
12932
 
SHELL=$lt_SHELL
12933
 
 
12934
 
# Whether or not to build shared libraries.
12935
 
build_libtool_libs=$enable_shared
12936
 
 
12937
 
# Whether or not to build static libraries.
12938
 
build_old_libs=$enable_static
12939
 
 
12940
 
# Whether or not to add -lc for building shared libraries.
12941
 
build_libtool_need_lc=$archive_cmds_need_lc
12942
 
 
12943
 
# Whether or not to disallow shared libs when runtime libs are static
12944
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12945
 
 
12946
 
# Whether or not to optimize for fast installation.
12947
 
fast_install=$enable_fast_install
12948
 
 
12949
 
# The host system.
12950
 
host_alias=$host_alias
12951
 
host=$host
12952
 
 
12953
 
# An echo program that does not interpret backslashes.
12954
 
echo=$lt_echo
12955
 
 
12956
 
# The archiver.
12957
 
AR=$lt_AR
12958
 
AR_FLAGS=$lt_AR_FLAGS
12959
 
 
12960
 
# A C compiler.
12961
 
LTCC=$lt_LTCC
12962
 
 
12963
 
# A language-specific compiler.
12964
 
CC=$lt_compiler
12965
 
 
12966
 
# Is the compiler the GNU C compiler?
12967
 
with_gcc=$GCC
12968
 
 
12969
 
# An ERE matcher.
12970
 
EGREP=$lt_EGREP
12971
 
 
12972
 
# The linker used to build libraries.
12973
 
LD=$lt_LD
12974
 
 
12975
 
# Whether we need hard or soft links.
12976
 
LN_S=$lt_LN_S
12977
 
 
12978
 
# A BSD-compatible nm program.
12979
 
NM=$lt_NM
12980
 
 
12981
 
# A symbol stripping program
12982
 
STRIP=$STRIP
12983
 
 
12984
 
# Used to examine libraries when file_magic_cmd begins "file"
12985
 
MAGIC_CMD=$MAGIC_CMD
12986
 
 
12987
 
# Used on cygwin: DLL creation program.
12988
 
DLLTOOL="$DLLTOOL"
12989
 
 
12990
 
# Used on cygwin: object dumper.
12991
 
OBJDUMP="$OBJDUMP"
12992
 
 
12993
 
# Used on cygwin: assembler.
12994
 
AS="$AS"
12995
 
 
12996
 
# The name of the directory that contains temporary libtool files.
12997
 
objdir=$objdir
12998
 
 
12999
 
# How to create reloadable object files.
13000
 
reload_flag=$lt_reload_flag
13001
 
reload_cmds=$lt_reload_cmds
13002
 
 
13003
 
# How to pass a linker flag through the compiler.
13004
 
wl=$lt_lt_prog_compiler_wl
13005
 
 
13006
 
# Object file suffix (normally "o").
13007
 
objext="$ac_objext"
13008
 
 
13009
 
# Old archive suffix (normally "a").
13010
 
libext="$libext"
13011
 
 
13012
 
# Shared library suffix (normally ".so").
13013
 
shrext='$shrext'
13014
 
 
13015
 
# Executable file suffix (normally "").
13016
 
exeext="$exeext"
13017
 
 
13018
 
# Additional compiler flags for building library objects.
13019
 
pic_flag=$lt_lt_prog_compiler_pic
13020
 
pic_mode=$pic_mode
13021
 
 
13022
 
# What is the maximum length of a command?
13023
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13024
 
 
13025
 
# Does compiler simultaneously support -c and -o options?
13026
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13027
 
 
13028
 
# Must we lock files when doing compilation ?
13029
 
need_locks=$lt_need_locks
13030
 
 
13031
 
# Do we need the lib prefix for modules?
13032
 
need_lib_prefix=$need_lib_prefix
13033
 
 
13034
 
# Do we need a version for libraries?
13035
 
need_version=$need_version
13036
 
 
13037
 
# Whether dlopen is supported.
13038
 
dlopen_support=$enable_dlopen
13039
 
 
13040
 
# Whether dlopen of programs is supported.
13041
 
dlopen_self=$enable_dlopen_self
13042
 
 
13043
 
# Whether dlopen of statically linked programs is supported.
13044
 
dlopen_self_static=$enable_dlopen_self_static
13045
 
 
13046
 
# Compiler flag to prevent dynamic linking.
13047
 
link_static_flag=$lt_lt_prog_compiler_static
13048
 
 
13049
 
# Compiler flag to turn off builtin functions.
13050
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13051
 
 
13052
 
# Compiler flag to allow reflexive dlopens.
13053
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13054
 
 
13055
 
# Compiler flag to generate shared objects directly from archives.
13056
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
13057
 
 
13058
 
# Compiler flag to generate thread-safe objects.
13059
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
13060
 
 
13061
 
# Library versioning type.
13062
 
version_type=$version_type
13063
 
 
13064
 
# Format of library name prefix.
13065
 
libname_spec=$lt_libname_spec
13066
 
 
13067
 
# List of archive names.  First name is the real one, the rest are links.
13068
 
# The last name is the one that the linker finds with -lNAME.
13069
 
library_names_spec=$lt_library_names_spec
13070
 
 
13071
 
# The coded name of the library, if different from the real name.
13072
 
soname_spec=$lt_soname_spec
13073
 
 
13074
 
# Commands used to build and install an old-style archive.
13075
 
RANLIB=$lt_RANLIB
13076
 
old_archive_cmds=$lt_old_archive_cmds
13077
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13078
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13079
 
 
13080
 
# Create an old-style archive from a shared archive.
13081
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13082
 
 
13083
 
# Create a temporary old-style archive to link instead of a shared archive.
13084
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13085
 
 
13086
 
# Commands used to build and install a shared archive.
13087
 
archive_cmds=$lt_archive_cmds
13088
 
archive_expsym_cmds=$lt_archive_expsym_cmds
13089
 
postinstall_cmds=$lt_postinstall_cmds
13090
 
postuninstall_cmds=$lt_postuninstall_cmds
13091
 
 
13092
 
# Commands used to build a loadable module (assumed same as above if empty)
13093
 
module_cmds=$lt_module_cmds
13094
 
module_expsym_cmds=$lt_module_expsym_cmds
13095
 
 
13096
 
# Commands to strip libraries.
13097
 
old_striplib=$lt_old_striplib
13098
 
striplib=$lt_striplib
13099
 
 
13100
 
# Dependencies to place before the objects being linked to create a
13101
 
# shared library.
13102
 
predep_objects=$lt_predep_objects
13103
 
 
13104
 
# Dependencies to place after the objects being linked to create a
13105
 
# shared library.
13106
 
postdep_objects=$lt_postdep_objects
13107
 
 
13108
 
# Dependencies to place before the objects being linked to create a
13109
 
# shared library.
13110
 
predeps=$lt_predeps
13111
 
 
13112
 
# Dependencies to place after the objects being linked to create a
13113
 
# shared library.
13114
 
postdeps=$lt_postdeps
13115
 
 
13116
 
# The library search path used internally by the compiler when linking
13117
 
# a shared library.
13118
 
compiler_lib_search_path=$lt_compiler_lib_search_path
13119
 
 
13120
 
# Method to check whether dependent libraries are shared objects.
13121
 
deplibs_check_method=$lt_deplibs_check_method
13122
 
 
13123
 
# Command to use when deplibs_check_method == file_magic.
13124
 
file_magic_cmd=$lt_file_magic_cmd
13125
 
 
13126
 
# Flag that allows shared libraries with undefined symbols to be built.
13127
 
allow_undefined_flag=$lt_allow_undefined_flag
13128
 
 
13129
 
# Flag that forces no undefined symbols.
13130
 
no_undefined_flag=$lt_no_undefined_flag
13131
 
 
13132
 
# Commands used to finish a libtool library installation in a directory.
13133
 
finish_cmds=$lt_finish_cmds
13134
 
 
13135
 
# Same as above, but a single script fragment to be evaled but not shown.
13136
 
finish_eval=$lt_finish_eval
13137
 
 
13138
 
# Take the output of nm and produce a listing of raw symbols and C names.
13139
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13140
 
 
13141
 
# Transform the output of nm in a proper C declaration
13142
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13143
 
 
13144
 
# Transform the output of nm in a C name address pair
13145
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13146
 
 
13147
 
# This is the shared library runtime path variable.
13148
 
runpath_var=$runpath_var
13149
 
 
13150
 
# This is the shared library path variable.
13151
 
shlibpath_var=$shlibpath_var
13152
 
 
13153
 
# Is shlibpath searched before the hard-coded library search path?
13154
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13155
 
 
13156
 
# How to hardcode a shared library path into an executable.
13157
 
hardcode_action=$hardcode_action
13158
 
 
13159
 
# Whether we should hardcode library paths into libraries.
13160
 
hardcode_into_libs=$hardcode_into_libs
13161
 
 
13162
 
# Flag to hardcode \$libdir into a binary during linking.
13163
 
# This must work even if \$libdir does not exist.
13164
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13165
 
 
13166
 
# If ld is used when linking, flag to hardcode \$libdir into
13167
 
# a binary during linking. This must work even if \$libdir does
13168
 
# not exist.
13169
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13170
 
 
13171
 
# Whether we need a single -rpath flag with a separated argument.
13172
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13173
 
 
13174
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13175
 
# resulting binary.
13176
 
hardcode_direct=$hardcode_direct
13177
 
 
13178
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13179
 
# resulting binary.
13180
 
hardcode_minus_L=$hardcode_minus_L
13181
 
 
13182
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13183
 
# the resulting binary.
13184
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
13185
 
 
13186
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13187
 
# and all subsequent libraries and executables linked against it.
13188
 
hardcode_automatic=$hardcode_automatic
13189
 
 
13190
 
# Variables whose values should be saved in libtool wrapper scripts and
13191
 
# restored at relink time.
13192
 
variables_saved_for_relink="$variables_saved_for_relink"
13193
 
 
13194
 
# Whether libtool must link a program against all its dependency libraries.
13195
 
link_all_deplibs=$link_all_deplibs
13196
 
 
13197
 
# Compile-time system search path for libraries
13198
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13199
 
 
13200
 
# Run-time system search path for libraries
13201
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13202
 
 
13203
 
# Fix the shell variable \$srcfile for the compiler.
13204
 
fix_srcfile_path="$fix_srcfile_path"
13205
 
 
13206
 
# Set to yes if exported symbols are required.
13207
 
always_export_symbols=$always_export_symbols
13208
 
 
13209
 
# The commands to list exported symbols.
13210
 
export_symbols_cmds=$lt_export_symbols_cmds
13211
 
 
13212
 
# The commands to extract the exported symbol list from a shared archive.
13213
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13214
 
 
13215
 
# Symbols that should not be listed in the preloaded symbols.
13216
 
exclude_expsyms=$lt_exclude_expsyms
13217
 
 
13218
 
# Symbols that must always be exported.
13219
 
include_expsyms=$lt_include_expsyms
13220
 
 
13221
 
# ### END LIBTOOL CONFIG
13222
 
 
13223
 
__EOF__
13224
 
 
13225
 
 
13226
 
  case $host_os in
13227
 
  aix3*)
13228
 
    cat <<\EOF >> "$cfgfile"
13229
 
 
13230
 
# AIX sometimes has problems with the GCC collect2 program.  For some
13231
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
13232
 
# vanish in a puff of smoke.
13233
 
if test "X${COLLECT_NAMES+set}" != Xset; then
13234
 
  COLLECT_NAMES=
13235
 
  export COLLECT_NAMES
13236
 
fi
13237
 
EOF
13238
 
    ;;
13239
 
  esac
13240
 
 
13241
 
  # We use sed instead of cat because bash on DJGPP gets confused if
13242
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13243
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
13244
 
  # is reportedly fixed, but why not run on old versions too?
13245
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13246
 
 
13247
 
  mv -f "$cfgfile" "$ofile" || \
13248
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13249
 
  chmod +x "$ofile"
13250
 
 
13251
 
else
13252
 
  # If there is no Makefile yet, we rely on a make rule to execute
13253
 
  # `config.status --recheck' to rerun these tests and create the
13254
 
  # libtool script then.
13255
 
  test -f Makefile && make "$ltmain"
13256
 
fi
13257
 
 
13258
 
 
13259
 
ac_ext=c
13260
 
ac_cpp='$CPP $CPPFLAGS'
13261
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13262
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13263
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13264
 
 
13265
 
CC="$lt_save_CC"
13266
 
 
13267
 
 
13268
 
# Check whether --with-tags was given.
13269
 
if test "${with_tags+set}" = set; then
13270
 
  withval=$with_tags; tagnames="$withval"
13271
 
fi
13272
 
 
13273
 
 
13274
 
if test -f "$ltmain" && test -n "$tagnames"; then
13275
 
  if test ! -f "${ofile}"; then
13276
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13277
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13278
 
  fi
13279
 
 
13280
 
  if test -z "$LTCC"; then
13281
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13282
 
    if test -z "$LTCC"; then
13283
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13284
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13285
 
    else
13286
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13287
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13288
 
    fi
13289
 
  fi
13290
 
 
13291
 
  # Extract list of available tagged configurations in $ofile.
13292
 
  # Note that this assumes the entire list is on one line.
13293
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13294
 
 
13295
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13296
 
  for tagname in $tagnames; do
13297
 
    IFS="$lt_save_ifs"
13298
 
    # Check whether tagname contains only valid characters
13299
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13300
 
    "") ;;
13301
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13302
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
13303
 
   { (exit 1); exit 1; }; }
13304
 
        ;;
13305
 
    esac
13306
 
 
13307
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13308
 
    then
13309
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13310
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13311
 
   { (exit 1); exit 1; }; }
13312
 
    fi
13313
 
 
13314
 
    # Update the list of available tags.
13315
 
    if test -n "$tagname"; then
13316
 
      echo appending configuration tag \"$tagname\" to $ofile
13317
 
 
13318
 
      case $tagname in
13319
 
      CXX)
13320
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
13321
 
          ac_ext=cpp
13322
 
ac_cpp='$CXXCPP $CPPFLAGS'
13323
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13324
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13325
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13326
 
 
13327
 
 
13328
 
 
13329
 
 
13330
 
archive_cmds_need_lc_CXX=no
13331
 
allow_undefined_flag_CXX=
13332
 
always_export_symbols_CXX=no
13333
 
archive_expsym_cmds_CXX=
13334
 
export_dynamic_flag_spec_CXX=
13335
 
hardcode_direct_CXX=no
13336
 
hardcode_libdir_flag_spec_CXX=
13337
 
hardcode_libdir_flag_spec_ld_CXX=
13338
 
hardcode_libdir_separator_CXX=
13339
 
hardcode_minus_L_CXX=no
13340
 
hardcode_automatic_CXX=no
13341
 
module_cmds_CXX=
13342
 
module_expsym_cmds_CXX=
13343
 
link_all_deplibs_CXX=unknown
13344
 
old_archive_cmds_CXX=$old_archive_cmds
13345
 
no_undefined_flag_CXX=
13346
 
whole_archive_flag_spec_CXX=
13347
 
enable_shared_with_static_runtimes_CXX=no
13348
 
 
13349
 
# Dependencies to place before and after the object being linked:
13350
 
predep_objects_CXX=
13351
 
postdep_objects_CXX=
13352
 
predeps_CXX=
13353
 
postdeps_CXX=
13354
 
compiler_lib_search_path_CXX=
13355
 
 
13356
 
# Source file extension for C++ test sources.
13357
 
ac_ext=cc
13358
 
 
13359
 
# Object file extension for compiled C++ test sources.
13360
 
objext=o
13361
 
objext_CXX=$objext
13362
 
 
13363
 
# Code to be used in simple compile tests
13364
 
lt_simple_compile_test_code="int some_variable = 0;\n"
13365
 
 
13366
 
# Code to be used in simple link tests
13367
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
13368
 
 
13369
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13370
 
 
13371
 
# If no C compiler was specified, use CC.
13372
 
LTCC=${LTCC-"$CC"}
13373
 
 
13374
 
# Allow CC to be a program name with arguments.
13375
 
compiler=$CC
13376
 
 
13377
 
 
13378
 
# Allow CC to be a program name with arguments.
13379
 
lt_save_CC=$CC
13380
 
lt_save_LD=$LD
13381
 
lt_save_GCC=$GCC
13382
 
GCC=$GXX
13383
 
lt_save_with_gnu_ld=$with_gnu_ld
13384
 
lt_save_path_LD=$lt_cv_path_LD
13385
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13386
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13387
 
else
13388
 
  unset lt_cv_prog_gnu_ld
13389
 
fi
13390
 
if test -n "${lt_cv_path_LDCXX+set}"; then
13391
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
13392
 
else
13393
 
  unset lt_cv_path_LD
13394
 
fi
13395
 
test -z "${LDCXX+set}" || LD=$LDCXX
13396
 
CC=${CXX-"c++"}
13397
 
compiler=$CC
13398
 
compiler_CXX=$CC
13399
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13400
 
 
13401
 
# We don't want -fno-exception wen compiling C++ code, so set the
13402
 
# no_builtin_flag separately
13403
 
if test "$GXX" = yes; then
13404
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13405
 
else
13406
 
  lt_prog_compiler_no_builtin_flag_CXX=
13407
 
fi
13408
 
 
13409
 
if test "$GXX" = yes; then
13410
 
  # Set up default GNU C++ configuration
13411
 
 
13412
 
 
13413
 
# Check whether --with-gnu-ld was given.
13414
 
if test "${with_gnu_ld+set}" = set; then
13415
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13416
 
else
13417
 
  with_gnu_ld=no
13418
 
fi
13419
 
 
13420
 
ac_prog=ld
13421
 
if test "$GCC" = yes; then
13422
 
  # Check if gcc -print-prog-name=ld gives a path.
13423
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13424
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13425
 
  case $host in
13426
 
  *-*-mingw*)
13427
 
    # gcc leaves a trailing carriage return which upsets mingw
13428
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13429
 
  *)
13430
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13431
 
  esac
13432
 
  case $ac_prog in
13433
 
    # Accept absolute paths.
13434
 
    [\\/]* | ?:[\\/]*)
13435
 
      re_direlt='/[^/][^/]*/\.\./'
13436
 
      # Canonicalize the pathname of ld
13437
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13438
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13439
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13440
 
      done
13441
 
      test -z "$LD" && LD="$ac_prog"
13442
 
      ;;
13443
 
  "")
13444
 
    # If it fails, then pretend we aren't using GCC.
13445
 
    ac_prog=ld
13446
 
    ;;
13447
 
  *)
13448
 
    # If it is relative, then search for the first ld in PATH.
13449
 
    with_gnu_ld=unknown
13450
 
    ;;
13451
 
  esac
13452
 
elif test "$with_gnu_ld" = yes; then
13453
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
13454
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13455
 
else
13456
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13457
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13458
 
fi
13459
 
if test "${lt_cv_path_LD+set}" = set; then
13460
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13461
 
else
13462
 
  if test -z "$LD"; then
13463
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13464
 
  for ac_dir in $PATH; do
13465
 
    IFS="$lt_save_ifs"
13466
 
    test -z "$ac_dir" && ac_dir=.
13467
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13468
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
13469
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
13470
 
      # but apparently some GNU ld's only accept -v.
13471
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
13472
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13473
 
      *GNU* | *'with BFD'*)
13474
 
        test "$with_gnu_ld" != no && break
13475
 
        ;;
13476
 
      *)
13477
 
        test "$with_gnu_ld" != yes && break
13478
 
        ;;
13479
 
      esac
13480
 
    fi
13481
 
  done
13482
 
  IFS="$lt_save_ifs"
13483
 
else
13484
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
13485
 
fi
13486
 
fi
13487
 
 
13488
 
LD="$lt_cv_path_LD"
13489
 
if test -n "$LD"; then
13490
 
  { echo "$as_me:$LINENO: result: $LD" >&5
13491
 
echo "${ECHO_T}$LD" >&6; }
13492
 
else
13493
 
  { echo "$as_me:$LINENO: result: no" >&5
13494
 
echo "${ECHO_T}no" >&6; }
13495
 
fi
13496
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13497
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13498
 
   { (exit 1); exit 1; }; }
13499
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13500
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13501
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13502
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13503
 
else
13504
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13505
 
case `$LD -v 2>&1 </dev/null` in
13506
 
*GNU* | *'with BFD'*)
13507
 
  lt_cv_prog_gnu_ld=yes
13508
 
  ;;
13509
 
*)
13510
 
  lt_cv_prog_gnu_ld=no
13511
 
  ;;
13512
 
esac
13513
 
fi
13514
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13515
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13516
 
with_gnu_ld=$lt_cv_prog_gnu_ld
13517
 
 
13518
 
 
13519
 
 
13520
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
13521
 
  # archiving commands below assume that GNU ld is being used.
13522
 
  if test "$with_gnu_ld" = yes; then
13523
 
    archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13524
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13525
 
 
13526
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13527
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13528
 
 
13529
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
13530
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13531
 
    #     investigate it a little bit more. (MM)
13532
 
    wlarc='${wl}'
13533
 
 
13534
 
    # ancient GNU ld didn't support --whole-archive et. al.
13535
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13536
 
        grep 'no-whole-archive' > /dev/null; then
13537
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13538
 
    else
13539
 
      whole_archive_flag_spec_CXX=
13540
 
    fi
13541
 
  else
13542
 
    with_gnu_ld=no
13543
 
    wlarc=
13544
 
 
13545
 
    # A generic and very simple default shared library creation
13546
 
    # command for GNU C++ for the case where it uses the native
13547
 
    # linker, instead of GNU ld.  If possible, this setting should
13548
 
    # overridden to take advantage of the native linker features on
13549
 
    # the platform it is being used on.
13550
 
    archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
13551
 
  fi
13552
 
 
13553
 
  # Commands to make compiler produce verbose output that lists
13554
 
  # what "hidden" libraries, object files and flags are used when
13555
 
  # linking a shared library.
13556
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13557
 
 
13558
 
else
13559
 
  GXX=no
13560
 
  with_gnu_ld=no
13561
 
  wlarc=
13562
 
fi
13563
 
 
13564
 
# PORTME: fill in a description of your system's C++ link characteristics
13565
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13566
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13567
 
ld_shlibs_CXX=yes
13568
 
case $host_os in
13569
 
  aix3*)
13570
 
    # FIXME: insert proper C++ library support
13571
 
    ld_shlibs_CXX=no
13572
 
    ;;
13573
 
  aix4* | aix5*)
13574
 
    if test "$host_cpu" = ia64; then
13575
 
      # On IA64, the linker does run time linking by default, so we don't
13576
 
      # have to do anything special.
13577
 
      aix_use_runtimelinking=no
13578
 
      exp_sym_flag='-Bexport'
13579
 
      no_entry_flag=""
13580
 
    else
13581
 
      # KDE requires run time linking.  Make it the default.
13582
 
      aix_use_runtimelinking=yes
13583
 
      exp_sym_flag='-bexport'
13584
 
      no_entry_flag='-bnoentry'
13585
 
    fi
13586
 
 
13587
 
    # When large executables or shared objects are built, AIX ld can
13588
 
    # have problems creating the table of contents.  If linking a library
13589
 
    # or program results in "error TOC overflow" add -mminimal-toc to
13590
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13591
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13592
 
 
13593
 
    archive_cmds_CXX=''
13594
 
    hardcode_direct_CXX=yes
13595
 
    hardcode_libdir_separator_CXX=':'
13596
 
    link_all_deplibs_CXX=yes
13597
 
 
13598
 
    if test "$GXX" = yes; then
13599
 
      case $host_os in aix4.012|aix4.012.*)
13600
 
      # We only want to do this on AIX 4.2 and lower, the check
13601
 
      # below for broken collect2 doesn't work under 4.3+
13602
 
        collect2name=`${CC} -print-prog-name=collect2`
13603
 
        if test -f "$collect2name" && \
13604
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13605
 
        then
13606
 
          # We have reworked collect2
13607
 
          hardcode_direct_CXX=yes
13608
 
        else
13609
 
          # We have old collect2
13610
 
          hardcode_direct_CXX=unsupported
13611
 
          # It fails to find uninstalled libraries when the uninstalled
13612
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
13613
 
          # to unsupported forces relinking
13614
 
          hardcode_minus_L_CXX=yes
13615
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
13616
 
          hardcode_libdir_separator_CXX=
13617
 
        fi
13618
 
      esac
13619
 
      shared_flag='-shared'
13620
 
    else
13621
 
      # not using gcc
13622
 
      if test "$host_cpu" = ia64; then
13623
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13624
 
        # chokes on -Wl,-G. The following line is correct:
13625
 
        shared_flag='-G'
13626
 
      else
13627
 
        if test "$aix_use_runtimelinking" = yes; then
13628
 
          shared_flag='-qmkshrobj ${wl}-G'
13629
 
        else
13630
 
          shared_flag='-qmkshrobj'
13631
 
        fi
13632
 
      fi
13633
 
    fi
13634
 
 
13635
 
    # Let the compiler handle the export list.
13636
 
    always_export_symbols_CXX=no
13637
 
    if test "$aix_use_runtimelinking" = yes; then
13638
 
      # Warning - without using the other runtime loading flags (-brtl),
13639
 
      # -berok will link without error, but may produce a broken library.
13640
 
      allow_undefined_flag_CXX='-berok'
13641
 
      # Determine the default libpath from the value encoded in an empty executable.
13642
 
      cat >conftest.$ac_ext <<_ACEOF
13643
 
/* confdefs.h.  */
13644
 
_ACEOF
13645
 
cat confdefs.h >>conftest.$ac_ext
13646
 
cat >>conftest.$ac_ext <<_ACEOF
13647
 
/* end confdefs.h.  */
13648
 
 
13649
 
int
13650
 
main ()
13651
 
{
13652
 
 
13653
 
  ;
13654
 
  return 0;
13655
 
}
13656
 
_ACEOF
13657
 
rm -f conftest.$ac_objext conftest$ac_exeext
13658
 
if { (ac_try="$ac_link"
13659
 
case "(($ac_try" in
13660
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13661
 
  *) ac_try_echo=$ac_try;;
13662
 
esac
13663
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13664
 
  (eval "$ac_link") 2>conftest.er1
13665
 
  ac_status=$?
13666
 
  grep -v '^ *+' conftest.er1 >conftest.err
13667
 
  rm -f conftest.er1
13668
 
  cat conftest.err >&5
13669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670
 
  (exit $ac_status); } && {
13671
 
         test -z "$ac_cxx_werror_flag" ||
13672
 
         test ! -s conftest.err
13673
 
       } && test -s conftest$ac_exeext &&
13674
 
       $as_test_x conftest$ac_exeext; then
13675
 
 
13676
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13677
 
}'`
13678
 
# Check for a 64-bit object if we didn't find anything.
13679
 
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; }
13680
 
}'`; fi
13681
 
else
13682
 
  echo "$as_me: failed program was:" >&5
13683
 
sed 's/^/| /' conftest.$ac_ext >&5
13684
 
 
13685
 
 
13686
 
fi
13687
 
 
13688
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13689
 
      conftest$ac_exeext conftest.$ac_ext
13690
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13691
 
 
13692
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13693
 
 
13694
 
      archive_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
13695
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13696
 
     else
13697
 
      if test "$host_cpu" = ia64; then
13698
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13699
 
        allow_undefined_flag_CXX="-z nodefs"
13700
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13701
 
      else
13702
 
        # Determine the default libpath from the value encoded in an empty executable.
13703
 
        cat >conftest.$ac_ext <<_ACEOF
13704
 
/* confdefs.h.  */
13705
 
_ACEOF
13706
 
cat confdefs.h >>conftest.$ac_ext
13707
 
cat >>conftest.$ac_ext <<_ACEOF
13708
 
/* end confdefs.h.  */
13709
 
 
13710
 
int
13711
 
main ()
13712
 
{
13713
 
 
13714
 
  ;
13715
 
  return 0;
13716
 
}
13717
 
_ACEOF
13718
 
rm -f conftest.$ac_objext conftest$ac_exeext
13719
 
if { (ac_try="$ac_link"
13720
 
case "(($ac_try" in
13721
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13722
 
  *) ac_try_echo=$ac_try;;
13723
 
esac
13724
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13725
 
  (eval "$ac_link") 2>conftest.er1
13726
 
  ac_status=$?
13727
 
  grep -v '^ *+' conftest.er1 >conftest.err
13728
 
  rm -f conftest.er1
13729
 
  cat conftest.err >&5
13730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731
 
  (exit $ac_status); } && {
13732
 
         test -z "$ac_cxx_werror_flag" ||
13733
 
         test ! -s conftest.err
13734
 
       } && test -s conftest$ac_exeext &&
13735
 
       $as_test_x conftest$ac_exeext; then
13736
 
 
13737
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13738
 
}'`
13739
 
# Check for a 64-bit object if we didn't find anything.
13740
 
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; }
13741
 
}'`; fi
13742
 
else
13743
 
  echo "$as_me: failed program was:" >&5
13744
 
sed 's/^/| /' conftest.$ac_ext >&5
13745
 
 
13746
 
 
13747
 
fi
13748
 
 
13749
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13750
 
      conftest$ac_exeext conftest.$ac_ext
13751
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13752
 
 
13753
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13754
 
        # Warning - without using the other run time loading flags,
13755
 
        # -berok will link without error, but may produce a broken library.
13756
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
13757
 
        allow_undefined_flag_CXX=' ${wl}-berok'
13758
 
        # -bexpall does not export symbols beginning with underscore (_)
13759
 
        always_export_symbols_CXX=yes
13760
 
        # Exported symbols can be pulled into shared objects from archives
13761
 
        whole_archive_flag_spec_CXX=' '
13762
 
        archive_cmds_need_lc_CXX=yes
13763
 
        # This is similar to how AIX traditionally builds it's shared libraries.
13764
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13765
 
      fi
13766
 
    fi
13767
 
    ;;
13768
 
  chorus*)
13769
 
    case $cc_basename in
13770
 
      *)
13771
 
        # FIXME: insert proper C++ library support
13772
 
        ld_shlibs_CXX=no
13773
 
        ;;
13774
 
    esac
13775
 
    ;;
13776
 
 
13777
 
  cygwin* | mingw* | pw32*)
13778
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13779
 
    # as there is no search path for DLLs.
13780
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
13781
 
    allow_undefined_flag_CXX=no
13782
 
    always_export_symbols_CXX=no
13783
 
    enable_shared_with_static_runtimes_CXX=yes
13784
 
 
13785
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13786
 
      archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13787
 
      # If the export-symbols file already is a .def file (1st line
13788
 
      # is EXPORTS), use it as is; otherwise, prepend...
13789
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13790
 
        cp $export_symbols $output_objdir/$soname.def;
13791
 
      else
13792
 
        echo EXPORTS > $output_objdir/$soname.def;
13793
 
        cat $export_symbols >> $output_objdir/$soname.def;
13794
 
      fi~
13795
 
      $CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13796
 
    else
13797
 
      ld_shlibs_CXX=no
13798
 
    fi
13799
 
  ;;
13800
 
 
13801
 
  darwin* | rhapsody*)
13802
 
  if test "$GXX" = yes; then
13803
 
    archive_cmds_need_lc_CXX=no
13804
 
    case "$host_os" in
13805
 
    rhapsody* | darwin1.[012])
13806
 
      allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress'
13807
 
      ;;
13808
 
    *) # Darwin 1.3 on
13809
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13810
 
        allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13811
 
      else
13812
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
13813
 
          10.012)
13814
 
            allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13815
 
            ;;
13816
 
          10.*)
13817
 
            allow_undefined_flag_CXX='-Wl,-undefined -Wl,dynamic_lookup'
13818
 
            ;;
13819
 
        esac
13820
 
      fi
13821
 
      ;;
13822
 
    esac
13823
 
    lt_int_apple_cc_single_mod=no
13824
 
    output_verbose_link_cmd='echo'
13825
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13826
 
      lt_int_apple_cc_single_mod=yes
13827
 
    fi
13828
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13829
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
13830
 
    else
13831
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
13832
 
    fi
13833
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
13834
 
 
13835
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13836
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13837
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13838
 
    else
13839
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13840
 
    fi
13841
 
    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13842
 
    hardcode_direct_CXX=no
13843
 
    hardcode_automatic_CXX=yes
13844
 
    hardcode_shlibpath_var_CXX=unsupported
13845
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
13846
 
    link_all_deplibs_CXX=yes
13847
 
  else
13848
 
    ld_shlibs_CXX=no
13849
 
  fi
13850
 
    ;;
13851
 
 
13852
 
  dgux*)
13853
 
    case $cc_basename in
13854
 
      ec++)
13855
 
        # FIXME: insert proper C++ library support
13856
 
        ld_shlibs_CXX=no
13857
 
        ;;
13858
 
      ghcx)
13859
 
        # Green Hills C++ Compiler
13860
 
        # FIXME: insert proper C++ library support
13861
 
        ld_shlibs_CXX=no
13862
 
        ;;
13863
 
      *)
13864
 
        # FIXME: insert proper C++ library support
13865
 
        ld_shlibs_CXX=no
13866
 
        ;;
13867
 
    esac
13868
 
    ;;
13869
 
  freebsd12*)
13870
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
13871
 
    ld_shlibs_CXX=no
13872
 
    ;;
13873
 
  freebsd-elf*)
13874
 
    archive_cmds_need_lc_CXX=no
13875
 
    ;;
13876
 
  freebsd* | kfreebsd*-gnu)
13877
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13878
 
    # conventions
13879
 
    ld_shlibs_CXX=yes
13880
 
    ;;
13881
 
  gnu*)
13882
 
    ;;
13883
 
  hpux9*)
13884
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13885
 
    hardcode_libdir_separator_CXX=:
13886
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13887
 
    hardcode_direct_CXX=yes
13888
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
13889
 
                                # but as the default
13890
 
                                # location of the library.
13891
 
 
13892
 
    case $cc_basename in
13893
 
    CC)
13894
 
      # FIXME: insert proper C++ library support
13895
 
      ld_shlibs_CXX=no
13896
 
      ;;
13897
 
    aCC)
13898
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13899
 
      # Commands to make compiler produce verbose output that lists
13900
 
      # what "hidden" libraries, object files and flags are used when
13901
 
      # linking a shared library.
13902
 
      #
13903
 
      # There doesn't appear to be a way to prevent this compiler from
13904
 
      # explicitly linking system object files so we need to strip them
13905
 
      # from the output so that they don't get included in the library
13906
 
      # dependencies.
13907
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13908
 
      ;;
13909
 
    *)
13910
 
      if test "$GXX" = yes; then
13911
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13912
 
      else
13913
 
        # FIXME: insert proper C++ library support
13914
 
        ld_shlibs_CXX=no
13915
 
      fi
13916
 
      ;;
13917
 
    esac
13918
 
    ;;
13919
 
  hpux10*|hpux11*)
13920
 
    if test $with_gnu_ld = no; then
13921
 
      case "$host_cpu" in
13922
 
      hppa*64*)
13923
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13924
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13925
 
        hardcode_libdir_separator_CXX=:
13926
 
        ;;
13927
 
      ia64*)
13928
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
13929
 
        ;;
13930
 
      *)
13931
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13932
 
        hardcode_libdir_separator_CXX=:
13933
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13934
 
        ;;
13935
 
      esac
13936
 
    fi
13937
 
    case "$host_cpu" in
13938
 
    hppa*64*)
13939
 
      hardcode_direct_CXX=no
13940
 
      hardcode_shlibpath_var_CXX=no
13941
 
      ;;
13942
 
    ia64*)
13943
 
      hardcode_direct_CXX=no
13944
 
      hardcode_shlibpath_var_CXX=no
13945
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13946
 
                                              # but as the default
13947
 
                                              # location of the library.
13948
 
      ;;
13949
 
    *)
13950
 
      hardcode_direct_CXX=yes
13951
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13952
 
                                              # but as the default
13953
 
                                              # location of the library.
13954
 
      ;;
13955
 
    esac
13956
 
 
13957
 
    case $cc_basename in
13958
 
      CC)
13959
 
        # FIXME: insert proper C++ library support
13960
 
        ld_shlibs_CXX=no
13961
 
        ;;
13962
 
      aCC)
13963
 
        case "$host_cpu" in
13964
 
        hppa*64*|ia64*)
13965
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13966
 
          ;;
13967
 
        *)
13968
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13969
 
          ;;
13970
 
        esac
13971
 
        # Commands to make compiler produce verbose output that lists
13972
 
        # what "hidden" libraries, object files and flags are used when
13973
 
        # linking a shared library.
13974
 
        #
13975
 
        # There doesn't appear to be a way to prevent this compiler from
13976
 
        # explicitly linking system object files so we need to strip them
13977
 
        # from the output so that they don't get included in the library
13978
 
        # dependencies.
13979
 
        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'
13980
 
        ;;
13981
 
      *)
13982
 
        if test "$GXX" = yes; then
13983
 
          if test $with_gnu_ld = no; then
13984
 
            case "$host_cpu" in
13985
 
            ia64*|hppa*64*)
13986
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13987
 
              ;;
13988
 
            *)
13989
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13990
 
              ;;
13991
 
            esac
13992
 
          fi
13993
 
        else
13994
 
          # FIXME: insert proper C++ library support
13995
 
          ld_shlibs_CXX=no
13996
 
        fi
13997
 
        ;;
13998
 
    esac
13999
 
    ;;
14000
 
  irix5* | irix6*)
14001
 
    case $cc_basename in
14002
 
      CC)
14003
 
        # SGI C++
14004
 
        archive_cmds_CXX='$CC -shared -all -multigot $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14005
 
 
14006
 
        # Archives containing C++ object files must be created using
14007
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14008
 
        # necessary to make sure instantiated templates are included
14009
 
        # in the archive.
14010
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14011
 
        ;;
14012
 
      *)
14013
 
        if test "$GXX" = yes; then
14014
 
          if test "$with_gnu_ld" = no; then
14015
 
            archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14016
 
          else
14017
 
            archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
14018
 
          fi
14019
 
        fi
14020
 
        link_all_deplibs_CXX=yes
14021
 
        ;;
14022
 
    esac
14023
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14024
 
    hardcode_libdir_separator_CXX=:
14025
 
    ;;
14026
 
  linux*)
14027
 
    case $cc_basename in
14028
 
      KCC)
14029
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14030
 
 
14031
 
        # KCC will only create a shared library if the output file
14032
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14033
 
        # to its proper name (with version) after linking.
14034
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
14035
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14036
 
        # Commands to make compiler produce verbose output that lists
14037
 
        # what "hidden" libraries, object files and flags are used when
14038
 
        # linking a shared library.
14039
 
        #
14040
 
        # There doesn't appear to be a way to prevent this compiler from
14041
 
        # explicitly linking system object files so we need to strip them
14042
 
        # from the output so that they don't get included in the library
14043
 
        # dependencies.
14044
 
        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'
14045
 
 
14046
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
14047
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14048
 
 
14049
 
        # Archives containing C++ object files must be created using
14050
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14051
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14052
 
        ;;
14053
 
      icpc)
14054
 
        # Intel C++
14055
 
        with_gnu_ld=yes
14056
 
        archive_cmds_need_lc_CXX=no
14057
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14058
 
        archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14059
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14060
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14061
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14062
 
        ;;
14063
 
      cxx)
14064
 
        # Compaq C++
14065
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14066
 
        archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14067
 
 
14068
 
        runpath_var=LD_RUN_PATH
14069
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14070
 
        hardcode_libdir_separator_CXX=:
14071
 
 
14072
 
        # Commands to make compiler produce verbose output that lists
14073
 
        # what "hidden" libraries, object files and flags are used when
14074
 
        # linking a shared library.
14075
 
        #
14076
 
        # There doesn't appear to be a way to prevent this compiler from
14077
 
        # explicitly linking system object files so we need to strip them
14078
 
        # from the output so that they don't get included in the library
14079
 
        # dependencies.
14080
 
        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'
14081
 
        ;;
14082
 
    esac
14083
 
    ;;
14084
 
  lynxos*)
14085
 
    # FIXME: insert proper C++ library support
14086
 
    ld_shlibs_CXX=no
14087
 
    ;;
14088
 
  m88k*)
14089
 
    # FIXME: insert proper C++ library support
14090
 
    ld_shlibs_CXX=no
14091
 
    ;;
14092
 
  mvs*)
14093
 
    case $cc_basename in
14094
 
      cxx)
14095
 
        # FIXME: insert proper C++ library support
14096
 
        ld_shlibs_CXX=no
14097
 
        ;;
14098
 
      *)
14099
 
        # FIXME: insert proper C++ library support
14100
 
        ld_shlibs_CXX=no
14101
 
        ;;
14102
 
    esac
14103
 
    ;;
14104
 
  netbsd*)
14105
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14106
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14107
 
      wlarc=
14108
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
14109
 
      hardcode_direct_CXX=yes
14110
 
      hardcode_shlibpath_var_CXX=no
14111
 
    fi
14112
 
    # Workaround some broken pre-1.5 toolchains
14113
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14114
 
    ;;
14115
 
  osf3*)
14116
 
    case $cc_basename in
14117
 
      KCC)
14118
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14119
 
 
14120
 
        # KCC will only create a shared library if the output file
14121
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14122
 
        # to its proper name (with version) after linking.
14123
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
14124
 
 
14125
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14126
 
        hardcode_libdir_separator_CXX=:
14127
 
 
14128
 
        # Archives containing C++ object files must be created using
14129
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14130
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14131
 
 
14132
 
        ;;
14133
 
      RCC)
14134
 
        # Rational C++ 2.4.1
14135
 
        # FIXME: insert proper C++ library support
14136
 
        ld_shlibs_CXX=no
14137
 
        ;;
14138
 
      cxx)
14139
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14140
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14141
 
 
14142
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14143
 
        hardcode_libdir_separator_CXX=:
14144
 
 
14145
 
        # Commands to make compiler produce verbose output that lists
14146
 
        # what "hidden" libraries, object files and flags are used when
14147
 
        # linking a shared library.
14148
 
        #
14149
 
        # There doesn't appear to be a way to prevent this compiler from
14150
 
        # explicitly linking system object files so we need to strip them
14151
 
        # from the output so that they don't get included in the library
14152
 
        # dependencies.
14153
 
        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'
14154
 
        ;;
14155
 
      *)
14156
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14157
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14158
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14159
 
 
14160
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14161
 
          hardcode_libdir_separator_CXX=:
14162
 
 
14163
 
          # Commands to make compiler produce verbose output that lists
14164
 
          # what "hidden" libraries, object files and flags are used when
14165
 
          # linking a shared library.
14166
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14167
 
 
14168
 
        else
14169
 
          # FIXME: insert proper C++ library support
14170
 
          ld_shlibs_CXX=no
14171
 
        fi
14172
 
        ;;
14173
 
    esac
14174
 
    ;;
14175
 
  osf4* | osf5*)
14176
 
    case $cc_basename in
14177
 
      KCC)
14178
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14179
 
 
14180
 
        # KCC will only create a shared library if the output file
14181
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14182
 
        # to its proper name (with version) after linking.
14183
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
14184
 
 
14185
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14186
 
        hardcode_libdir_separator_CXX=:
14187
 
 
14188
 
        # Archives containing C++ object files must be created using
14189
 
        # the KAI C++ compiler.
14190
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14191
 
        ;;
14192
 
      RCC)
14193
 
        # Rational C++ 2.4.1
14194
 
        # FIXME: insert proper C++ library support
14195
 
        ld_shlibs_CXX=no
14196
 
        ;;
14197
 
      cxx)
14198
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
14199
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14200
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14201
 
          echo "-hidden">> $lib.exp~
14202
 
          $CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
14203
 
          $rm $lib.exp'
14204
 
 
14205
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14206
 
        hardcode_libdir_separator_CXX=:
14207
 
 
14208
 
        # Commands to make compiler produce verbose output that lists
14209
 
        # what "hidden" libraries, object files and flags are used when
14210
 
        # linking a shared library.
14211
 
        #
14212
 
        # There doesn't appear to be a way to prevent this compiler from
14213
 
        # explicitly linking system object files so we need to strip them
14214
 
        # from the output so that they don't get included in the library
14215
 
        # dependencies.
14216
 
        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'
14217
 
        ;;
14218
 
      *)
14219
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14220
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14221
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14222
 
 
14223
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14224
 
          hardcode_libdir_separator_CXX=:
14225
 
 
14226
 
          # Commands to make compiler produce verbose output that lists
14227
 
          # what "hidden" libraries, object files and flags are used when
14228
 
          # linking a shared library.
14229
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14230
 
 
14231
 
        else
14232
 
          # FIXME: insert proper C++ library support
14233
 
          ld_shlibs_CXX=no
14234
 
        fi
14235
 
        ;;
14236
 
    esac
14237
 
    ;;
14238
 
  psos*)
14239
 
    # FIXME: insert proper C++ library support
14240
 
    ld_shlibs_CXX=no
14241
 
    ;;
14242
 
  sco*)
14243
 
    archive_cmds_need_lc_CXX=no
14244
 
    case $cc_basename in
14245
 
      CC)
14246
 
        # FIXME: insert proper C++ library support
14247
 
        ld_shlibs_CXX=no
14248
 
        ;;
14249
 
      *)
14250
 
        # FIXME: insert proper C++ library support
14251
 
        ld_shlibs_CXX=no
14252
 
        ;;
14253
 
    esac
14254
 
    ;;
14255
 
  sunos4*)
14256
 
    case $cc_basename in
14257
 
      CC)
14258
 
        # Sun C++ 4.x
14259
 
        # FIXME: insert proper C++ library support
14260
 
        ld_shlibs_CXX=no
14261
 
        ;;
14262
 
      lcc)
14263
 
        # Lucid
14264
 
        # FIXME: insert proper C++ library support
14265
 
        ld_shlibs_CXX=no
14266
 
        ;;
14267
 
      *)
14268
 
        # FIXME: insert proper C++ library support
14269
 
        ld_shlibs_CXX=no
14270
 
        ;;
14271
 
    esac
14272
 
    ;;
14273
 
  solaris*)
14274
 
    case $cc_basename in
14275
 
      CC)
14276
 
        # Sun C++ 4.2, 5.x and Centerline C++
14277
 
        no_undefined_flag_CXX=' -zdefs'
14278
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
14279
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14280
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14281
 
 
14282
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
14283
 
        hardcode_shlibpath_var_CXX=no
14284
 
        case $host_os in
14285
 
          solaris2.0-5 | solaris2.0-5.*) ;;
14286
 
          *)
14287
 
            # The C++ compiler is used as linker so we must use $wl
14288
 
            # flag to pass the commands to the underlying system
14289
 
            # linker.
14290
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
14291
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14292
 
            ;;
14293
 
        esac
14294
 
        link_all_deplibs_CXX=yes
14295
 
 
14296
 
        # Commands to make compiler produce verbose output that lists
14297
 
        # what "hidden" libraries, object files and flags are used when
14298
 
        # linking a shared library.
14299
 
        #
14300
 
        # There doesn't appear to be a way to prevent this compiler from
14301
 
        # explicitly linking system object files so we need to strip them
14302
 
        # from the output so that they don't get included in the library
14303
 
        # dependencies.
14304
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14305
 
 
14306
 
        # Archives containing C++ object files must be created using
14307
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14308
 
        # necessary to make sure instantiated templates are included
14309
 
        # in the archive.
14310
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14311
 
        ;;
14312
 
      gcx)
14313
 
        # Green Hills C++ Compiler
14314
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14315
 
 
14316
 
        # The C++ compiler must be used to create the archive.
14317
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14318
 
        ;;
14319
 
      *)
14320
 
        # GNU C++ compiler with Solaris linker
14321
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14322
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14323
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
14324
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14325
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14326
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14327
 
 
14328
 
            # Commands to make compiler produce verbose output that lists
14329
 
            # what "hidden" libraries, object files and flags are used when
14330
 
            # linking a shared library.
14331
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14332
 
          else
14333
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
14334
 
            # platform.
14335
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14336
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14337
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14338
 
 
14339
 
            # Commands to make compiler produce verbose output that lists
14340
 
            # what "hidden" libraries, object files and flags are used when
14341
 
            # linking a shared library.
14342
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14343
 
          fi
14344
 
 
14345
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14346
 
        fi
14347
 
        ;;
14348
 
    esac
14349
 
    ;;
14350
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
14351
 
    archive_cmds_need_lc_CXX=no
14352
 
    ;;
14353
 
  tandem*)
14354
 
    case $cc_basename in
14355
 
      NCC)
14356
 
        # NonStop-UX NCC 3.20
14357
 
        # FIXME: insert proper C++ library support
14358
 
        ld_shlibs_CXX=no
14359
 
        ;;
14360
 
      *)
14361
 
        # FIXME: insert proper C++ library support
14362
 
        ld_shlibs_CXX=no
14363
 
        ;;
14364
 
    esac
14365
 
    ;;
14366
 
  vxworks*)
14367
 
    # FIXME: insert proper C++ library support
14368
 
    ld_shlibs_CXX=no
14369
 
    ;;
14370
 
  *)
14371
 
    # FIXME: insert proper C++ library support
14372
 
    ld_shlibs_CXX=no
14373
 
    ;;
14374
 
esac
14375
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14376
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14377
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14378
 
 
14379
 
GCC_CXX="$GXX"
14380
 
LD_CXX="$LD"
14381
 
 
14382
 
## CAVEAT EMPTOR:
14383
 
## There is no encapsulation within the following macros, do not change
14384
 
## the running order or otherwise move them around unless you know exactly
14385
 
## what you are doing...
14386
 
 
14387
 
cat > conftest.$ac_ext <<EOF
14388
 
class Foo
14389
 
{
14390
 
public:
14391
 
  Foo (void) { a = 0; }
14392
 
private:
14393
 
  int a;
14394
 
};
14395
 
EOF
14396
 
 
14397
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14398
 
  (eval $ac_compile) 2>&5
14399
 
  ac_status=$?
14400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401
 
  (exit $ac_status); }; then
14402
 
  # Parse the compiler output and extract the necessary
14403
 
  # objects, libraries and library flags.
14404
 
 
14405
 
  # Sentinel used to keep track of whether or not we are before
14406
 
  # the conftest object file.
14407
 
  pre_test_object_deps_done=no
14408
 
 
14409
 
  # The `*' in the case matches for architectures that use `case' in
14410
 
  # $output_verbose_cmd can trigger glob expansion during the loop
14411
 
  # eval without this substitution.
14412
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
14413
 
 
14414
 
  for p in `eval $output_verbose_link_cmd`; do
14415
 
    case $p in
14416
 
 
14417
 
    -L* | -R* | -l*)
14418
 
       # Some compilers place space between "-{L,R}" and the path.
14419
 
       # Remove the space.
14420
 
       if test $p = "-L" \
14421
 
          || test $p = "-R"; then
14422
 
         prev=$p
14423
 
         continue
14424
 
       else
14425
 
         prev=
14426
 
       fi
14427
 
 
14428
 
       if test "$pre_test_object_deps_done" = no; then
14429
 
         case $p in
14430
 
         -L* | -R*)
14431
 
           # Internal compiler library paths should come after those
14432
 
           # provided the user.  The postdeps already come after the
14433
 
           # user supplied libs so there is no need to process them.
14434
 
           if test -z "$compiler_lib_search_path_CXX"; then
14435
 
             compiler_lib_search_path_CXX="${prev}${p}"
14436
 
           else
14437
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14438
 
           fi
14439
 
           ;;
14440
 
         # The "-l" case would never come before the object being
14441
 
         # linked, so don't bother handling this case.
14442
 
         esac
14443
 
       else
14444
 
         if test -z "$postdeps_CXX"; then
14445
 
           postdeps_CXX="${prev}${p}"
14446
 
         else
14447
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14448
 
         fi
14449
 
       fi
14450
 
       ;;
14451
 
 
14452
 
    *.$objext|*.$libext)
14453
 
       # This assumes that the test object file only shows up
14454
 
       # once in the compiler output.
14455
 
       if test "$p" = "conftest.$objext"; then
14456
 
         pre_test_object_deps_done=yes
14457
 
         continue
14458
 
       fi
14459
 
 
14460
 
       if test "$pre_test_object_deps_done" = no; then
14461
 
         if test -z "$predep_objects_CXX"; then
14462
 
           predep_objects_CXX="$p"
14463
 
         else
14464
 
           predep_objects_CXX="$predep_objects_CXX $p"
14465
 
         fi
14466
 
       else
14467
 
         if test -z "$postdep_objects_CXX"; then
14468
 
           postdep_objects_CXX="$p"
14469
 
         else
14470
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
14471
 
         fi
14472
 
       fi
14473
 
       ;;
14474
 
 
14475
 
    *) ;; # Ignore the rest.
14476
 
 
14477
 
    esac
14478
 
  done
14479
 
 
14480
 
  # Clean up.
14481
 
  rm -f a.out a.exe
14482
 
else
14483
 
  echo "libtool.m4: error: problem compiling CXX test program"
14484
 
fi
14485
 
 
14486
 
$rm -f confest.$objext
14487
 
 
14488
 
case " $postdeps_CXX " in
14489
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14490
 
esac
14491
 
 
14492
 
lt_prog_compiler_wl_CXX=
14493
 
lt_prog_compiler_pic_CXX=
14494
 
lt_prog_compiler_static_CXX=
14495
 
 
14496
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14497
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14498
 
 
14499
 
  # C++ specific cases for pic, static, wl, etc.
14500
 
  if test "$GXX" = yes; then
14501
 
    lt_prog_compiler_wl_CXX='-Wl,'
14502
 
    lt_prog_compiler_static_CXX='-static'
14503
 
 
14504
 
    case $host_os in
14505
 
    aix*)
14506
 
      # All AIX code is PIC.
14507
 
      if test "$host_cpu" = ia64; then
14508
 
        # AIX 5 now supports IA64 processor
14509
 
        lt_prog_compiler_static_CXX='-Bstatic'
14510
 
      fi
14511
 
      ;;
14512
 
    amigaos*)
14513
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14514
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14515
 
      # like `-m68040'.
14516
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14517
 
      ;;
14518
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14519
 
      # PIC is the default for these OSes.
14520
 
      ;;
14521
 
    mingw* | os2* | pw32*)
14522
 
      # This hack is so that the source file can tell whether it is being
14523
 
      # built for inclusion in a dll (and should export symbols for example).
14524
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14525
 
      ;;
14526
 
    darwin* | rhapsody*)
14527
 
      # PIC is the default on this platform
14528
 
      # Common symbols not allowed in MH_DYLIB files
14529
 
      lt_prog_compiler_pic_CXX='-fno-common'
14530
 
      ;;
14531
 
    *djgpp*)
14532
 
      # DJGPP does not support shared libraries at all
14533
 
      lt_prog_compiler_pic_CXX=
14534
 
      ;;
14535
 
    sysv4*MP*)
14536
 
      if test -d /usr/nec; then
14537
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
14538
 
      fi
14539
 
      ;;
14540
 
    hpux*)
14541
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14542
 
      # not for PA HP-UX.
14543
 
      case "$host_cpu" in
14544
 
      hppa*64*|ia64*)
14545
 
        ;;
14546
 
      *)
14547
 
        lt_prog_compiler_pic_CXX='-fPIC'
14548
 
        ;;
14549
 
      esac
14550
 
      ;;
14551
 
    *)
14552
 
      lt_prog_compiler_pic_CXX='-fPIC'
14553
 
      ;;
14554
 
    esac
14555
 
  else
14556
 
    case $host_os in
14557
 
      aix4* | aix5*)
14558
 
        # All AIX code is PIC.
14559
 
        if test "$host_cpu" = ia64; then
14560
 
          # AIX 5 now supports IA64 processor
14561
 
          lt_prog_compiler_static_CXX='-Bstatic'
14562
 
        else
14563
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14564
 
        fi
14565
 
        ;;
14566
 
      chorus*)
14567
 
        case $cc_basename in
14568
 
        cxch68)
14569
 
          # Green Hills C++ Compiler
14570
 
          # _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"
14571
 
          ;;
14572
 
        esac
14573
 
        ;;
14574
 
      dgux*)
14575
 
        case $cc_basename in
14576
 
          ec++)
14577
 
            lt_prog_compiler_pic_CXX='-KPIC'
14578
 
            ;;
14579
 
          ghcx)
14580
 
            # Green Hills C++ Compiler
14581
 
            lt_prog_compiler_pic_CXX='-pic'
14582
 
            ;;
14583
 
          *)
14584
 
            ;;
14585
 
        esac
14586
 
        ;;
14587
 
      freebsd* | kfreebsd*-gnu)
14588
 
        # FreeBSD uses GNU C++
14589
 
        ;;
14590
 
      hpux9* | hpux10* | hpux11*)
14591
 
        case $cc_basename in
14592
 
          CC)
14593
 
            lt_prog_compiler_wl_CXX='-Wl,'
14594
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14595
 
            if test "$host_cpu" != ia64; then
14596
 
              lt_prog_compiler_pic_CXX='+Z'
14597
 
            fi
14598
 
            ;;
14599
 
          aCC)
14600
 
            lt_prog_compiler_wl_CXX='-Wl,'
14601
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14602
 
            case "$host_cpu" in
14603
 
            hppa*64*|ia64*)
14604
 
              # +Z the default
14605
 
              ;;
14606
 
            *)
14607
 
              lt_prog_compiler_pic_CXX='+Z'
14608
 
              ;;
14609
 
            esac
14610
 
            ;;
14611
 
          *)
14612
 
            ;;
14613
 
        esac
14614
 
        ;;
14615
 
      irix5* | irix6* | nonstopux*)
14616
 
        case $cc_basename in
14617
 
          CC)
14618
 
            lt_prog_compiler_wl_CXX='-Wl,'
14619
 
            lt_prog_compiler_static_CXX='-non_shared'
14620
 
            # CC pic flag -KPIC is the default.
14621
 
            ;;
14622
 
          *)
14623
 
            ;;
14624
 
        esac
14625
 
        ;;
14626
 
      linux*)
14627
 
        case $cc_basename in
14628
 
          KCC)
14629
 
            # KAI C++ Compiler
14630
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14631
 
            lt_prog_compiler_pic_CXX='-fPIC'
14632
 
            ;;
14633
 
          icpc)
14634
 
            # Intel C++
14635
 
            lt_prog_compiler_wl_CXX='-Wl,'
14636
 
            lt_prog_compiler_pic_CXX='-KPIC'
14637
 
            lt_prog_compiler_static_CXX='-static'
14638
 
            ;;
14639
 
          cxx)
14640
 
            # Compaq C++
14641
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14642
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14643
 
            lt_prog_compiler_pic_CXX=
14644
 
            lt_prog_compiler_static_CXX='-non_shared'
14645
 
            ;;
14646
 
          *)
14647
 
            ;;
14648
 
        esac
14649
 
        ;;
14650
 
      lynxos*)
14651
 
        ;;
14652
 
      m88k*)
14653
 
        ;;
14654
 
      mvs*)
14655
 
        case $cc_basename in
14656
 
          cxx)
14657
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
14658
 
            ;;
14659
 
          *)
14660
 
            ;;
14661
 
        esac
14662
 
        ;;
14663
 
      netbsd*)
14664
 
        ;;
14665
 
      osf3* | osf4* | osf5*)
14666
 
        case $cc_basename in
14667
 
          KCC)
14668
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14669
 
            ;;
14670
 
          RCC)
14671
 
            # Rational C++ 2.4.1
14672
 
            lt_prog_compiler_pic_CXX='-pic'
14673
 
            ;;
14674
 
          cxx)
14675
 
            # Digital/Compaq C++
14676
 
            lt_prog_compiler_wl_CXX='-Wl,'
14677
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14678
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14679
 
            lt_prog_compiler_pic_CXX=
14680
 
            lt_prog_compiler_static_CXX='-non_shared'
14681
 
            ;;
14682
 
          *)
14683
 
            ;;
14684
 
        esac
14685
 
        ;;
14686
 
      psos*)
14687
 
        ;;
14688
 
      sco*)
14689
 
        case $cc_basename in
14690
 
          CC)
14691
 
            lt_prog_compiler_pic_CXX='-fPIC'
14692
 
            ;;
14693
 
          *)
14694
 
            ;;
14695
 
        esac
14696
 
        ;;
14697
 
      solaris*)
14698
 
        case $cc_basename in
14699
 
          CC)
14700
 
            # Sun C++ 4.2, 5.x and Centerline C++
14701
 
            lt_prog_compiler_pic_CXX='-KPIC'
14702
 
            lt_prog_compiler_static_CXX='-Bstatic'
14703
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
14704
 
            ;;
14705
 
          gcx)
14706
 
            # Green Hills C++ Compiler
14707
 
            lt_prog_compiler_pic_CXX='-PIC'
14708
 
            ;;
14709
 
          *)
14710
 
            ;;
14711
 
        esac
14712
 
        ;;
14713
 
      sunos4*)
14714
 
        case $cc_basename in
14715
 
          CC)
14716
 
            # Sun C++ 4.x
14717
 
            lt_prog_compiler_pic_CXX='-pic'
14718
 
            lt_prog_compiler_static_CXX='-Bstatic'
14719
 
            ;;
14720
 
          lcc)
14721
 
            # Lucid
14722
 
            lt_prog_compiler_pic_CXX='-pic'
14723
 
            ;;
14724
 
          *)
14725
 
            ;;
14726
 
        esac
14727
 
        ;;
14728
 
      tandem*)
14729
 
        case $cc_basename in
14730
 
          NCC)
14731
 
            # NonStop-UX NCC 3.20
14732
 
            lt_prog_compiler_pic_CXX='-KPIC'
14733
 
            ;;
14734
 
          *)
14735
 
            ;;
14736
 
        esac
14737
 
        ;;
14738
 
      unixware*)
14739
 
        ;;
14740
 
      vxworks*)
14741
 
        ;;
14742
 
      *)
14743
 
        lt_prog_compiler_can_build_shared_CXX=no
14744
 
        ;;
14745
 
    esac
14746
 
  fi
14747
 
 
14748
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14749
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14750
 
 
14751
 
#
14752
 
# Check to make sure the PIC flag actually works.
14753
 
#
14754
 
if test -n "$lt_prog_compiler_pic_CXX"; then
14755
 
 
14756
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14757
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14758
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14759
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14760
 
else
14761
 
  lt_prog_compiler_pic_works_CXX=no
14762
 
  ac_outfile=conftest.$ac_objext
14763
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14764
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14765
 
   # Insert the option either (1) after the last *FLAGS variable, or
14766
 
   # (2) before a word containing "conftest.", or (3) at the end.
14767
 
   # Note that $ac_compile itself does not contain backslashes and begins
14768
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14769
 
   # The option is referenced via a variable to avoid confusing sed.
14770
 
   lt_compile=`echo "$ac_compile" | $SED \
14771
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14772
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14773
 
   -e 's:$: $lt_compiler_flag:'`
14774
 
   (eval echo "\"\$as_me:14774: $lt_compile\"" >&5)
14775
 
   (eval "$lt_compile" 2>conftest.err)
14776
 
   ac_status=$?
14777
 
   cat conftest.err >&5
14778
 
   echo "$as_me:14778: \$? = $ac_status" >&5
14779
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14780
 
     # The compiler can only warn and ignore the option if not recognized
14781
 
     # So say no if there are warnings
14782
 
     if test ! -s conftest.err; then
14783
 
       lt_prog_compiler_pic_works_CXX=yes
14784
 
     fi
14785
 
   fi
14786
 
   $rm conftest*
14787
 
 
14788
 
fi
14789
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14790
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
14791
 
 
14792
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
14793
 
    case $lt_prog_compiler_pic_CXX in
14794
 
     "" | " "*) ;;
14795
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14796
 
     esac
14797
 
else
14798
 
    lt_prog_compiler_pic_CXX=
14799
 
     lt_prog_compiler_can_build_shared_CXX=no
14800
 
fi
14801
 
 
14802
 
fi
14803
 
case "$host_os" in
14804
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14805
 
  *djgpp*)
14806
 
    lt_prog_compiler_pic_CXX=
14807
 
    ;;
14808
 
  *)
14809
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14810
 
    ;;
14811
 
esac
14812
 
 
14813
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14814
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14815
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14816
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14817
 
else
14818
 
  lt_cv_prog_compiler_c_o_CXX=no
14819
 
   $rm -r conftest 2>/dev/null
14820
 
   mkdir conftest
14821
 
   cd conftest
14822
 
   mkdir out
14823
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14824
 
 
14825
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
14826
 
   # that will create temporary files in the current directory regardless of
14827
 
   # the output directory.  Thus, making CWD read-only will cause this test
14828
 
   # to fail, enabling locking or at least warning the user not to do parallel
14829
 
   # builds.
14830
 
   chmod -w .
14831
 
 
14832
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14833
 
   # Insert the option either (1) after the last *FLAGS variable, or
14834
 
   # (2) before a word containing "conftest.", or (3) at the end.
14835
 
   # Note that $ac_compile itself does not contain backslashes and begins
14836
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14837
 
   lt_compile=`echo "$ac_compile" | $SED \
14838
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14839
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14840
 
   -e 's:$: $lt_compiler_flag:'`
14841
 
   (eval echo "\"\$as_me:14841: $lt_compile\"" >&5)
14842
 
   (eval "$lt_compile" 2>out/conftest.err)
14843
 
   ac_status=$?
14844
 
   cat out/conftest.err >&5
14845
 
   echo "$as_me:14845: \$? = $ac_status" >&5
14846
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14847
 
   then
14848
 
     # The compiler can only warn and ignore the option if not recognized
14849
 
     # So say no if there are warnings
14850
 
     if test ! -s out/conftest.err; then
14851
 
       lt_cv_prog_compiler_c_o_CXX=yes
14852
 
     fi
14853
 
   fi
14854
 
   chmod u+w .
14855
 
   $rm conftest* out/*
14856
 
   rmdir out
14857
 
   cd ..
14858
 
   rmdir conftest
14859
 
   $rm conftest*
14860
 
 
14861
 
fi
14862
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14863
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14864
 
 
14865
 
 
14866
 
hard_links="nottested"
14867
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14868
 
  # do not overwrite the value of need_locks provided by the user
14869
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14870
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14871
 
  hard_links=yes
14872
 
  $rm conftest*
14873
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14874
 
  touch conftest.a
14875
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14876
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14877
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14878
 
echo "${ECHO_T}$hard_links" >&6; }
14879
 
  if test "$hard_links" = no; then
14880
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14881
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14882
 
    need_locks=warn
14883
 
  fi
14884
 
else
14885
 
  need_locks=no
14886
 
fi
14887
 
 
14888
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14889
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14890
 
 
14891
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14892
 
  case $host_os in
14893
 
  aix4* | aix5*)
14894
 
    # If we're using GNU nm, then we don't want the "-C" option.
14895
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14896
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14897
 
      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'
14898
 
    else
14899
 
      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'
14900
 
    fi
14901
 
    ;;
14902
 
  pw32*)
14903
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14904
 
  ;;
14905
 
  cygwin* | mingw*)
14906
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14907
 
  ;;
14908
 
  *)
14909
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14910
 
  ;;
14911
 
  esac
14912
 
 
14913
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14914
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14915
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14916
 
 
14917
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14918
 
if test "$GCC" = yes; then
14919
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14920
 
fi
14921
 
 
14922
 
#
14923
 
# Do we need to explicitly link libc?
14924
 
#
14925
 
case "x$archive_cmds_need_lc_CXX" in
14926
 
x|xyes)
14927
 
  # Assume -lc should be added
14928
 
  archive_cmds_need_lc_CXX=yes
14929
 
 
14930
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14931
 
    case $archive_cmds_CXX in
14932
 
    *'~'*)
14933
 
      # FIXME: we may have to deal with multi-command sequences.
14934
 
      ;;
14935
 
    '$CC '*)
14936
 
      # Test whether the compiler implicitly links with -lc since on some
14937
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14938
 
      # to ld, don't add -lc before -lgcc.
14939
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14940
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14941
 
      $rm conftest*
14942
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14943
 
 
14944
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14945
 
  (eval $ac_compile) 2>&5
14946
 
  ac_status=$?
14947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948
 
  (exit $ac_status); } 2>conftest.err; then
14949
 
        soname=conftest
14950
 
        lib=conftest
14951
 
        libobjs=conftest.$ac_objext
14952
 
        deplibs=
14953
 
        wl=$lt_prog_compiler_wl_CXX
14954
 
        compiler_flags=-v
14955
 
        linker_flags=-v
14956
 
        verstring=
14957
 
        output_objdir=.
14958
 
        libname=conftest
14959
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14960
 
        allow_undefined_flag_CXX=
14961
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14962
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14963
 
  ac_status=$?
14964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965
 
  (exit $ac_status); }
14966
 
        then
14967
 
          archive_cmds_need_lc_CXX=no
14968
 
        else
14969
 
          archive_cmds_need_lc_CXX=yes
14970
 
        fi
14971
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14972
 
      else
14973
 
        cat conftest.err 1>&5
14974
 
      fi
14975
 
      $rm conftest*
14976
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14977
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14978
 
      ;;
14979
 
    esac
14980
 
  fi
14981
 
  ;;
14982
 
esac
14983
 
 
14984
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14985
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14986
 
library_names_spec=
14987
 
libname_spec='lib$name'
14988
 
soname_spec=
14989
 
shrext=".so"
14990
 
postinstall_cmds=
14991
 
postuninstall_cmds=
14992
 
finish_cmds=
14993
 
finish_eval=
14994
 
shlibpath_var=
14995
 
shlibpath_overrides_runpath=unknown
14996
 
version_type=none
14997
 
dynamic_linker="$host_os ld.so"
14998
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14999
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15000
 
need_lib_prefix=unknown
15001
 
hardcode_into_libs=no
15002
 
 
15003
 
# when you set need_version to no, make sure it does not cause -set_version
15004
 
# flags to be left without arguments
15005
 
need_version=unknown
15006
 
 
15007
 
case $host_os in
15008
 
aix3*)
15009
 
  version_type=linux
15010
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15011
 
  shlibpath_var=LIBPATH
15012
 
 
15013
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15014
 
  soname_spec='${libname}${release}${shared_ext}$major'
15015
 
  ;;
15016
 
 
15017
 
aix4* | aix5*)
15018
 
  version_type=linux
15019
 
  need_lib_prefix=no
15020
 
  need_version=no
15021
 
  hardcode_into_libs=yes
15022
 
  if test "$host_cpu" = ia64; then
15023
 
    # AIX 5 supports IA64
15024
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15025
 
    shlibpath_var=LD_LIBRARY_PATH
15026
 
  else
15027
 
    # With GCC up to 2.95.x, collect2 would create an import file
15028
 
    # for dependence libraries.  The import file would start with
15029
 
    # the line `#! .'.  This would cause the generated library to
15030
 
    # depend on `.', always an invalid library.  This was fixed in
15031
 
    # development snapshots of GCC prior to 3.0.
15032
 
    case $host_os in
15033
 
      aix4 | aix4.[01] | aix4.[01].*)
15034
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15035
 
           echo ' yes '
15036
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15037
 
        :
15038
 
      else
15039
 
        can_build_shared=no
15040
 
      fi
15041
 
      ;;
15042
 
    esac
15043
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15044
 
    # soname into executable. Probably we can add versioning support to
15045
 
    # collect2, so additional links can be useful in future.
15046
 
    if test "$aix_use_runtimelinking" = yes; then
15047
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15048
 
      # instead of lib<name>.a to let people know that these are not
15049
 
      # typical AIX shared libraries.
15050
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15051
 
    else
15052
 
      # We preserve .a as extension for shared libraries through AIX4.2
15053
 
      # and later when we are not doing run time linking.
15054
 
      library_names_spec='${libname}${release}.a $libname.a'
15055
 
      soname_spec='${libname}${release}${shared_ext}$major'
15056
 
    fi
15057
 
    shlibpath_var=LIBPATH
15058
 
  fi
15059
 
  ;;
15060
 
 
15061
 
amigaos*)
15062
 
  library_names_spec='$libname.ixlibrary $libname.a'
15063
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15064
 
  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'
15065
 
  ;;
15066
 
 
15067
 
beos*)
15068
 
  library_names_spec='${libname}${shared_ext}'
15069
 
  dynamic_linker="$host_os ld.so"
15070
 
  shlibpath_var=LIBRARY_PATH
15071
 
  ;;
15072
 
 
15073
 
bsdi4*)
15074
 
  version_type=linux
15075
 
  need_version=no
15076
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15077
 
  soname_spec='${libname}${release}${shared_ext}$major'
15078
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15079
 
  shlibpath_var=LD_LIBRARY_PATH
15080
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15081
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15082
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15083
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15084
 
  # libtool to hard-code these into programs
15085
 
  ;;
15086
 
 
15087
 
cygwin* | mingw* | pw32*)
15088
 
  version_type=windows
15089
 
  shrext=".dll"
15090
 
  need_version=no
15091
 
  need_lib_prefix=no
15092
 
 
15093
 
  case $GCC,$host_os in
15094
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15095
 
    library_names_spec='$libname.dll.a'
15096
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15097
 
    postinstall_cmds='base_file=`basename \${file}`~
15098
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15099
 
      dldir=$destdir/`dirname \$dlpath`~
15100
 
      test -d \$dldir || mkdir -p \$dldir~
15101
 
      $install_prog $dir/$dlname \$dldir/$dlname'
15102
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15103
 
      dlpath=$dir/\$dldll~
15104
 
       $rm \$dlpath'
15105
 
    shlibpath_overrides_runpath=yes
15106
 
 
15107
 
    case $host_os in
15108
 
    cygwin*)
15109
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15110
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15111
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15112
 
      ;;
15113
 
    mingw*)
15114
 
      # MinGW DLLs use traditional 'lib' prefix
15115
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15116
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15117
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15118
 
        # It is most probably a Windows format PATH printed by
15119
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15120
 
        # path with ; separators, and with drive letters. We can handle the
15121
 
        # drive letters (cygwin fileutils understands them), so leave them,
15122
 
        # especially as we might pass files found there to a mingw objdump,
15123
 
        # which wouldn't understand a cygwinified path. Ahh.
15124
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15125
 
      else
15126
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15127
 
      fi
15128
 
      ;;
15129
 
    pw32*)
15130
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15131
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
15132
 
      ;;
15133
 
    esac
15134
 
    ;;
15135
 
 
15136
 
  *)
15137
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15138
 
    ;;
15139
 
  esac
15140
 
  dynamic_linker='Win32 ld.exe'
15141
 
  # FIXME: first we should search . and the directory the executable is in
15142
 
  shlibpath_var=PATH
15143
 
  ;;
15144
 
 
15145
 
darwin* | rhapsody*)
15146
 
  dynamic_linker="$host_os dyld"
15147
 
  version_type=darwin
15148
 
  need_lib_prefix=no
15149
 
  need_version=no
15150
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15151
 
  soname_spec='${libname}${release}${major}$shared_ext'
15152
 
  shlibpath_overrides_runpath=yes
15153
 
  shlibpath_var=DYLD_LIBRARY_PATH
15154
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
15155
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15156
 
  if test "$GCC" = yes; then
15157
 
    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"`
15158
 
  else
15159
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15160
 
  fi
15161
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15162
 
  ;;
15163
 
 
15164
 
dgux*)
15165
 
  version_type=linux
15166
 
  need_lib_prefix=no
15167
 
  need_version=no
15168
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15169
 
  soname_spec='${libname}${release}${shared_ext}$major'
15170
 
  shlibpath_var=LD_LIBRARY_PATH
15171
 
  ;;
15172
 
 
15173
 
freebsd1*)
15174
 
  dynamic_linker=no
15175
 
  ;;
15176
 
 
15177
 
kfreebsd*-gnu*)
15178
 
  version_type=linux
15179
 
  need_lib_prefix=no
15180
 
  need_version=no
15181
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15182
 
  soname_spec='${libname}${release}${shared_ext}$major'
15183
 
  shlibpath_var=LD_LIBRARY_PATH
15184
 
  shlibpath_overrides_runpath=no
15185
 
  hardcode_into_libs=yes
15186
 
  dynamic_linker='GNU ld.so'
15187
 
  ;;
15188
 
 
15189
 
freebsd*)
15190
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15191
 
  version_type=freebsd-$objformat
15192
 
  case $version_type in
15193
 
    freebsd-elf*)
15194
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15195
 
      need_version=no
15196
 
      need_lib_prefix=no
15197
 
      ;;
15198
 
    freebsd-*)
15199
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15200
 
      need_version=yes
15201
 
      ;;
15202
 
  esac
15203
 
  shlibpath_var=LD_LIBRARY_PATH
15204
 
  case $host_os in
15205
 
  freebsd2*)
15206
 
    shlibpath_overrides_runpath=yes
15207
 
    ;;
15208
 
  freebsd3.01* | freebsdelf3.01*)
15209
 
    shlibpath_overrides_runpath=yes
15210
 
    hardcode_into_libs=yes
15211
 
    ;;
15212
 
  *) # from 3.2 on
15213
 
    shlibpath_overrides_runpath=no
15214
 
    hardcode_into_libs=yes
15215
 
    ;;
15216
 
  esac
15217
 
  ;;
15218
 
 
15219
 
gnu*)
15220
 
  version_type=linux
15221
 
  need_lib_prefix=no
15222
 
  need_version=no
15223
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15224
 
  soname_spec='${libname}${release}${shared_ext}$major'
15225
 
  shlibpath_var=LD_LIBRARY_PATH
15226
 
  hardcode_into_libs=yes
15227
 
  ;;
15228
 
 
15229
 
hpux9* | hpux10* | hpux11*)
15230
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15231
 
  # link against other versions.
15232
 
  version_type=sunos
15233
 
  need_lib_prefix=no
15234
 
  need_version=no
15235
 
  case "$host_cpu" in
15236
 
  ia64*)
15237
 
    shrext='.so'
15238
 
    hardcode_into_libs=yes
15239
 
    dynamic_linker="$host_os dld.so"
15240
 
    shlibpath_var=LD_LIBRARY_PATH
15241
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15242
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15243
 
    soname_spec='${libname}${release}${shared_ext}$major'
15244
 
    if test "X$HPUX_IA64_MODE" = X32; then
15245
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15246
 
    else
15247
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15248
 
    fi
15249
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15250
 
    ;;
15251
 
   hppa*64*)
15252
 
     shrext='.sl'
15253
 
     hardcode_into_libs=yes
15254
 
     dynamic_linker="$host_os dld.sl"
15255
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15256
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15257
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15258
 
     soname_spec='${libname}${release}${shared_ext}$major'
15259
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15260
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15261
 
     ;;
15262
 
   *)
15263
 
    shrext='.sl'
15264
 
    dynamic_linker="$host_os dld.sl"
15265
 
    shlibpath_var=SHLIB_PATH
15266
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15267
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15268
 
    soname_spec='${libname}${release}${shared_ext}$major'
15269
 
    ;;
15270
 
  esac
15271
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15272
 
  postinstall_cmds='chmod 555 $lib'
15273
 
  ;;
15274
 
 
15275
 
irix5* | irix6* | nonstopux*)
15276
 
  case $host_os in
15277
 
    nonstopux*) version_type=nonstopux ;;
15278
 
    *)
15279
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15280
 
                version_type=linux
15281
 
        else
15282
 
                version_type=irix
15283
 
        fi ;;
15284
 
  esac
15285
 
  need_lib_prefix=no
15286
 
  need_version=no
15287
 
  soname_spec='${libname}${release}${shared_ext}$major'
15288
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15289
 
  case $host_os in
15290
 
  irix5* | nonstopux*)
15291
 
    libsuff= shlibsuff=
15292
 
    ;;
15293
 
  *)
15294
 
    case $LD in # libtool.m4 will add one of these switches to LD
15295
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15296
 
      libsuff= shlibsuff= libmagic=32-bit;;
15297
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15298
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15299
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15300
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15301
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15302
 
    esac
15303
 
    ;;
15304
 
  esac
15305
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15306
 
  shlibpath_overrides_runpath=no
15307
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15308
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15309
 
  hardcode_into_libs=yes
15310
 
  ;;
15311
 
 
15312
 
# No shared lib support for Linux oldld, aout, or coff.
15313
 
linux*oldld* | linux*aout* | linux*coff*)
15314
 
  dynamic_linker=no
15315
 
  ;;
15316
 
 
15317
 
# This must be Linux ELF.
15318
 
linux*)
15319
 
  version_type=linux
15320
 
  need_lib_prefix=no
15321
 
  need_version=no
15322
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15323
 
  soname_spec='${libname}${release}${shared_ext}$major'
15324
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15325
 
  libsuff=
15326
 
  if test "x$LINUX_64_MODE" = x64; then
15327
 
    # Some platforms are per default 64-bit, so there's no /lib64
15328
 
    if test -d /lib64; then
15329
 
      libsuff=64
15330
 
    fi
15331
 
  fi
15332
 
  shlibpath_var=LD_LIBRARY_PATH
15333
 
  shlibpath_overrides_runpath=no
15334
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
15335
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15336
 
  # This implies no fast_install, which is unacceptable.
15337
 
  # Some rework will be needed to allow for fast_install
15338
 
  # before this can be enabled.
15339
 
  hardcode_into_libs=yes
15340
 
 
15341
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15342
 
  # powerpc, because MkLinux only supported shared libraries with the
15343
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15344
 
  # most powerpc-linux boxes support dynamic linking these days and
15345
 
  # people can always --disable-shared, the test was removed, and we
15346
 
  # assume the GNU/Linux dynamic linker is in use.
15347
 
  dynamic_linker='GNU/Linux ld.so'
15348
 
  ;;
15349
 
 
15350
 
netbsd*)
15351
 
  version_type=sunos
15352
 
  need_lib_prefix=no
15353
 
  need_version=no
15354
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15355
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15356
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15357
 
    dynamic_linker='NetBSD (a.out) ld.so'
15358
 
  else
15359
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
15360
 
    soname_spec='${libname}${release}${shared_ext}$major'
15361
 
    dynamic_linker='NetBSD ld.elf_so'
15362
 
  fi
15363
 
  shlibpath_var=LD_LIBRARY_PATH
15364
 
  shlibpath_overrides_runpath=yes
15365
 
  hardcode_into_libs=yes
15366
 
  ;;
15367
 
 
15368
 
newsos6)
15369
 
  version_type=linux
15370
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15371
 
  shlibpath_var=LD_LIBRARY_PATH
15372
 
  shlibpath_overrides_runpath=yes
15373
 
  ;;
15374
 
 
15375
 
nto-qnx*)
15376
 
  version_type=linux
15377
 
  need_lib_prefix=no
15378
 
  need_version=no
15379
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15380
 
  soname_spec='${libname}${release}${shared_ext}$major'
15381
 
  shlibpath_var=LD_LIBRARY_PATH
15382
 
  shlibpath_overrides_runpath=yes
15383
 
  ;;
15384
 
 
15385
 
openbsd*)
15386
 
  version_type=sunos
15387
 
  need_lib_prefix=no
15388
 
  need_version=no
15389
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15390
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15391
 
  shlibpath_var=LD_LIBRARY_PATH
15392
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15393
 
    case $host_os in
15394
 
      openbsd2.[89] | openbsd2.[89].*)
15395
 
        shlibpath_overrides_runpath=no
15396
 
        ;;
15397
 
      *)
15398
 
        shlibpath_overrides_runpath=yes
15399
 
        ;;
15400
 
      esac
15401
 
  else
15402
 
    shlibpath_overrides_runpath=yes
15403
 
  fi
15404
 
  ;;
15405
 
 
15406
 
os2*)
15407
 
  libname_spec='$name'
15408
 
  shrext=".dll"
15409
 
  need_lib_prefix=no
15410
 
  library_names_spec='$libname${shared_ext} $libname.a'
15411
 
  dynamic_linker='OS/2 ld.exe'
15412
 
  shlibpath_var=LIBPATH
15413
 
  ;;
15414
 
 
15415
 
osf3* | osf4* | osf5*)
15416
 
  version_type=osf
15417
 
  need_lib_prefix=no
15418
 
  need_version=no
15419
 
  soname_spec='${libname}${release}${shared_ext}$major'
15420
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15421
 
  shlibpath_var=LD_LIBRARY_PATH
15422
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15423
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15424
 
  ;;
15425
 
 
15426
 
sco3.2v5*)
15427
 
  version_type=osf
15428
 
  soname_spec='${libname}${release}${shared_ext}$major'
15429
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15430
 
  shlibpath_var=LD_LIBRARY_PATH
15431
 
  ;;
15432
 
 
15433
 
solaris*)
15434
 
  version_type=linux
15435
 
  need_lib_prefix=no
15436
 
  need_version=no
15437
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15438
 
  soname_spec='${libname}${release}${shared_ext}$major'
15439
 
  shlibpath_var=LD_LIBRARY_PATH
15440
 
  shlibpath_overrides_runpath=yes
15441
 
  hardcode_into_libs=yes
15442
 
  # ldd complains unless libraries are executable
15443
 
  postinstall_cmds='chmod +x $lib'
15444
 
  ;;
15445
 
 
15446
 
sunos4*)
15447
 
  version_type=sunos
15448
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15449
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15450
 
  shlibpath_var=LD_LIBRARY_PATH
15451
 
  shlibpath_overrides_runpath=yes
15452
 
  if test "$with_gnu_ld" = yes; then
15453
 
    need_lib_prefix=no
15454
 
  fi
15455
 
  need_version=yes
15456
 
  ;;
15457
 
 
15458
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15459
 
  version_type=linux
15460
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15461
 
  soname_spec='${libname}${release}${shared_ext}$major'
15462
 
  shlibpath_var=LD_LIBRARY_PATH
15463
 
  case $host_vendor in
15464
 
    sni)
15465
 
      shlibpath_overrides_runpath=no
15466
 
      need_lib_prefix=no
15467
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15468
 
      runpath_var=LD_RUN_PATH
15469
 
      ;;
15470
 
    siemens)
15471
 
      need_lib_prefix=no
15472
 
      ;;
15473
 
    motorola)
15474
 
      need_lib_prefix=no
15475
 
      need_version=no
15476
 
      shlibpath_overrides_runpath=no
15477
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15478
 
      ;;
15479
 
  esac
15480
 
  ;;
15481
 
 
15482
 
sysv4*MP*)
15483
 
  if test -d /usr/nec ;then
15484
 
    version_type=linux
15485
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15486
 
    soname_spec='$libname${shared_ext}.$major'
15487
 
    shlibpath_var=LD_LIBRARY_PATH
15488
 
  fi
15489
 
  ;;
15490
 
 
15491
 
uts4*)
15492
 
  version_type=linux
15493
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15494
 
  soname_spec='${libname}${release}${shared_ext}$major'
15495
 
  shlibpath_var=LD_LIBRARY_PATH
15496
 
  ;;
15497
 
 
15498
 
*)
15499
 
  dynamic_linker=no
15500
 
  ;;
15501
 
esac
15502
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15503
 
echo "${ECHO_T}$dynamic_linker" >&6; }
15504
 
test "$dynamic_linker" = no && can_build_shared=no
15505
 
 
15506
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15507
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15508
 
hardcode_action_CXX=
15509
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15510
 
   test -n "$runpath_var CXX" || \
15511
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
15512
 
 
15513
 
  # We can hardcode non-existant directories.
15514
 
  if test "$hardcode_direct_CXX" != no &&
15515
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15516
 
     # have to relink, otherwise we might link with an installed library
15517
 
     # when we should be linking with a yet-to-be-installed one
15518
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15519
 
     test "$hardcode_minus_L_CXX" != no; then
15520
 
    # Linking always hardcodes the temporary library directory.
15521
 
    hardcode_action_CXX=relink
15522
 
  else
15523
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15524
 
    hardcode_action_CXX=immediate
15525
 
  fi
15526
 
else
15527
 
  # We cannot hardcode anything, or else we can only hardcode existing
15528
 
  # directories.
15529
 
  hardcode_action_CXX=unsupported
15530
 
fi
15531
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15532
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15533
 
 
15534
 
if test "$hardcode_action_CXX" = relink; then
15535
 
  # Fast installation is not supported
15536
 
  enable_fast_install=no
15537
 
elif test "$shlibpath_overrides_runpath" = yes ||
15538
 
     test "$enable_shared" = no; then
15539
 
  # Fast installation is not necessary
15540
 
  enable_fast_install=needless
15541
 
fi
15542
 
 
15543
 
striplib=
15544
 
old_striplib=
15545
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15546
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15547
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15548
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15549
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15550
 
  { echo "$as_me:$LINENO: result: yes" >&5
15551
 
echo "${ECHO_T}yes" >&6; }
15552
 
else
15553
 
# FIXME - insert some real tests, host_os isn't really good enough
15554
 
  case $host_os in
15555
 
   darwin*)
15556
 
       if test -n "$STRIP" ; then
15557
 
         striplib="$STRIP -x"
15558
 
         { echo "$as_me:$LINENO: result: yes" >&5
15559
 
echo "${ECHO_T}yes" >&6; }
15560
 
       else
15561
 
  { echo "$as_me:$LINENO: result: no" >&5
15562
 
echo "${ECHO_T}no" >&6; }
15563
 
fi
15564
 
       ;;
15565
 
   *)
15566
 
  { echo "$as_me:$LINENO: result: no" >&5
15567
 
echo "${ECHO_T}no" >&6; }
15568
 
    ;;
15569
 
  esac
15570
 
fi
15571
 
 
15572
 
if test "x$enable_dlopen" != xyes; then
15573
 
  enable_dlopen=unknown
15574
 
  enable_dlopen_self=unknown
15575
 
  enable_dlopen_self_static=unknown
15576
 
else
15577
 
  lt_cv_dlopen=no
15578
 
  lt_cv_dlopen_libs=
15579
 
 
15580
 
  case $host_os in
15581
 
  beos*)
15582
 
    lt_cv_dlopen="load_add_on"
15583
 
    lt_cv_dlopen_libs=
15584
 
    lt_cv_dlopen_self=yes
15585
 
    ;;
15586
 
 
15587
 
  mingw* | pw32*)
15588
 
    lt_cv_dlopen="LoadLibrary"
15589
 
    lt_cv_dlopen_libs=
15590
 
   ;;
15591
 
 
15592
 
  cygwin*)
15593
 
    lt_cv_dlopen="dlopen"
15594
 
    lt_cv_dlopen_libs=
15595
 
   ;;
15596
 
 
15597
 
  darwin*)
15598
 
  # if libdl is installed we need to link against it
15599
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15600
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15601
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15602
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15603
 
else
15604
 
  ac_check_lib_save_LIBS=$LIBS
15605
 
LIBS="-ldl  $LIBS"
15606
 
cat >conftest.$ac_ext <<_ACEOF
15607
 
/* confdefs.h.  */
15608
 
_ACEOF
15609
 
cat confdefs.h >>conftest.$ac_ext
15610
 
cat >>conftest.$ac_ext <<_ACEOF
15611
 
/* end confdefs.h.  */
15612
 
 
15613
 
/* Override any GCC internal prototype to avoid an error.
15614
 
   Use char because int might match the return type of a GCC
15615
 
   builtin and then its argument prototype would still apply.  */
15616
 
#ifdef __cplusplus
15617
 
extern "C"
15618
 
#endif
15619
 
char dlopen ();
15620
 
int
15621
 
main ()
15622
 
{
15623
 
return dlopen ();
15624
 
  ;
15625
 
  return 0;
15626
 
}
15627
 
_ACEOF
15628
 
rm -f conftest.$ac_objext conftest$ac_exeext
15629
 
if { (ac_try="$ac_link"
15630
 
case "(($ac_try" in
15631
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15632
 
  *) ac_try_echo=$ac_try;;
15633
 
esac
15634
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15635
 
  (eval "$ac_link") 2>conftest.er1
15636
 
  ac_status=$?
15637
 
  grep -v '^ *+' conftest.er1 >conftest.err
15638
 
  rm -f conftest.er1
15639
 
  cat conftest.err >&5
15640
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641
 
  (exit $ac_status); } && {
15642
 
         test -z "$ac_cxx_werror_flag" ||
15643
 
         test ! -s conftest.err
15644
 
       } && test -s conftest$ac_exeext &&
15645
 
       $as_test_x conftest$ac_exeext; then
15646
 
  ac_cv_lib_dl_dlopen=yes
15647
 
else
15648
 
  echo "$as_me: failed program was:" >&5
15649
 
sed 's/^/| /' conftest.$ac_ext >&5
15650
 
 
15651
 
        ac_cv_lib_dl_dlopen=no
15652
 
fi
15653
 
 
15654
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15655
 
      conftest$ac_exeext conftest.$ac_ext
15656
 
LIBS=$ac_check_lib_save_LIBS
15657
 
fi
15658
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15659
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15660
 
if test $ac_cv_lib_dl_dlopen = yes; then
15661
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15662
 
else
15663
 
 
15664
 
    lt_cv_dlopen="dyld"
15665
 
    lt_cv_dlopen_libs=
15666
 
    lt_cv_dlopen_self=yes
15667
 
 
15668
 
fi
15669
 
 
15670
 
   ;;
15671
 
 
15672
 
  *)
15673
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
15674
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
15675
 
if test "${ac_cv_func_shl_load+set}" = set; then
15676
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15677
 
else
15678
 
  cat >conftest.$ac_ext <<_ACEOF
15679
 
/* confdefs.h.  */
15680
 
_ACEOF
15681
 
cat confdefs.h >>conftest.$ac_ext
15682
 
cat >>conftest.$ac_ext <<_ACEOF
15683
 
/* end confdefs.h.  */
15684
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15685
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15686
 
#define shl_load innocuous_shl_load
15687
 
 
15688
 
/* System header to define __stub macros and hopefully few prototypes,
15689
 
    which can conflict with char shl_load (); below.
15690
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15691
 
    <limits.h> exists even on freestanding compilers.  */
15692
 
 
15693
 
#ifdef __STDC__
15694
 
# include <limits.h>
15695
 
#else
15696
 
# include <assert.h>
15697
 
#endif
15698
 
 
15699
 
#undef shl_load
15700
 
 
15701
 
/* Override any GCC internal prototype to avoid an error.
15702
 
   Use char because int might match the return type of a GCC
15703
 
   builtin and then its argument prototype would still apply.  */
15704
 
#ifdef __cplusplus
15705
 
extern "C"
15706
 
#endif
15707
 
char shl_load ();
15708
 
/* The GNU C library defines this for functions which it implements
15709
 
    to always fail with ENOSYS.  Some functions are actually named
15710
 
    something starting with __ and the normal name is an alias.  */
15711
 
#if defined __stub_shl_load || defined __stub___shl_load
15712
 
choke me
15713
 
#endif
15714
 
 
15715
 
int
15716
 
main ()
15717
 
{
15718
 
return shl_load ();
15719
 
  ;
15720
 
  return 0;
15721
 
}
15722
 
_ACEOF
15723
 
rm -f conftest.$ac_objext conftest$ac_exeext
15724
 
if { (ac_try="$ac_link"
15725
 
case "(($ac_try" in
15726
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15727
 
  *) ac_try_echo=$ac_try;;
15728
 
esac
15729
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15730
 
  (eval "$ac_link") 2>conftest.er1
15731
 
  ac_status=$?
15732
 
  grep -v '^ *+' conftest.er1 >conftest.err
15733
 
  rm -f conftest.er1
15734
 
  cat conftest.err >&5
15735
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736
 
  (exit $ac_status); } && {
15737
 
         test -z "$ac_cxx_werror_flag" ||
15738
 
         test ! -s conftest.err
15739
 
       } && test -s conftest$ac_exeext &&
15740
 
       $as_test_x conftest$ac_exeext; then
15741
 
  ac_cv_func_shl_load=yes
15742
 
else
15743
 
  echo "$as_me: failed program was:" >&5
15744
 
sed 's/^/| /' conftest.$ac_ext >&5
15745
 
 
15746
 
        ac_cv_func_shl_load=no
15747
 
fi
15748
 
 
15749
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15750
 
      conftest$ac_exeext conftest.$ac_ext
15751
 
fi
15752
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15753
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
15754
 
if test $ac_cv_func_shl_load = yes; then
15755
 
  lt_cv_dlopen="shl_load"
15756
 
else
15757
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15758
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
15759
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15760
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15761
 
else
15762
 
  ac_check_lib_save_LIBS=$LIBS
15763
 
LIBS="-ldld  $LIBS"
15764
 
cat >conftest.$ac_ext <<_ACEOF
15765
 
/* confdefs.h.  */
15766
 
_ACEOF
15767
 
cat confdefs.h >>conftest.$ac_ext
15768
 
cat >>conftest.$ac_ext <<_ACEOF
15769
 
/* end confdefs.h.  */
15770
 
 
15771
 
/* Override any GCC internal prototype to avoid an error.
15772
 
   Use char because int might match the return type of a GCC
15773
 
   builtin and then its argument prototype would still apply.  */
15774
 
#ifdef __cplusplus
15775
 
extern "C"
15776
 
#endif
15777
 
char shl_load ();
15778
 
int
15779
 
main ()
15780
 
{
15781
 
return shl_load ();
15782
 
  ;
15783
 
  return 0;
15784
 
}
15785
 
_ACEOF
15786
 
rm -f conftest.$ac_objext conftest$ac_exeext
15787
 
if { (ac_try="$ac_link"
15788
 
case "(($ac_try" in
15789
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15790
 
  *) ac_try_echo=$ac_try;;
15791
 
esac
15792
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15793
 
  (eval "$ac_link") 2>conftest.er1
15794
 
  ac_status=$?
15795
 
  grep -v '^ *+' conftest.er1 >conftest.err
15796
 
  rm -f conftest.er1
15797
 
  cat conftest.err >&5
15798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799
 
  (exit $ac_status); } && {
15800
 
         test -z "$ac_cxx_werror_flag" ||
15801
 
         test ! -s conftest.err
15802
 
       } && test -s conftest$ac_exeext &&
15803
 
       $as_test_x conftest$ac_exeext; then
15804
 
  ac_cv_lib_dld_shl_load=yes
15805
 
else
15806
 
  echo "$as_me: failed program was:" >&5
15807
 
sed 's/^/| /' conftest.$ac_ext >&5
15808
 
 
15809
 
        ac_cv_lib_dld_shl_load=no
15810
 
fi
15811
 
 
15812
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15813
 
      conftest$ac_exeext conftest.$ac_ext
15814
 
LIBS=$ac_check_lib_save_LIBS
15815
 
fi
15816
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15817
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
15818
 
if test $ac_cv_lib_dld_shl_load = yes; then
15819
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15820
 
else
15821
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
15822
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
15823
 
if test "${ac_cv_func_dlopen+set}" = set; then
15824
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15825
 
else
15826
 
  cat >conftest.$ac_ext <<_ACEOF
15827
 
/* confdefs.h.  */
15828
 
_ACEOF
15829
 
cat confdefs.h >>conftest.$ac_ext
15830
 
cat >>conftest.$ac_ext <<_ACEOF
15831
 
/* end confdefs.h.  */
15832
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15833
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15834
 
#define dlopen innocuous_dlopen
15835
 
 
15836
 
/* System header to define __stub macros and hopefully few prototypes,
15837
 
    which can conflict with char dlopen (); below.
15838
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15839
 
    <limits.h> exists even on freestanding compilers.  */
15840
 
 
15841
 
#ifdef __STDC__
15842
 
# include <limits.h>
15843
 
#else
15844
 
# include <assert.h>
15845
 
#endif
15846
 
 
15847
 
#undef dlopen
15848
 
 
15849
 
/* Override any GCC internal prototype to avoid an error.
15850
 
   Use char because int might match the return type of a GCC
15851
 
   builtin and then its argument prototype would still apply.  */
15852
 
#ifdef __cplusplus
15853
 
extern "C"
15854
 
#endif
15855
 
char dlopen ();
15856
 
/* The GNU C library defines this for functions which it implements
15857
 
    to always fail with ENOSYS.  Some functions are actually named
15858
 
    something starting with __ and the normal name is an alias.  */
15859
 
#if defined __stub_dlopen || defined __stub___dlopen
15860
 
choke me
15861
 
#endif
15862
 
 
15863
 
int
15864
 
main ()
15865
 
{
15866
 
return dlopen ();
15867
 
  ;
15868
 
  return 0;
15869
 
}
15870
 
_ACEOF
15871
 
rm -f conftest.$ac_objext conftest$ac_exeext
15872
 
if { (ac_try="$ac_link"
15873
 
case "(($ac_try" in
15874
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15875
 
  *) ac_try_echo=$ac_try;;
15876
 
esac
15877
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15878
 
  (eval "$ac_link") 2>conftest.er1
15879
 
  ac_status=$?
15880
 
  grep -v '^ *+' conftest.er1 >conftest.err
15881
 
  rm -f conftest.er1
15882
 
  cat conftest.err >&5
15883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884
 
  (exit $ac_status); } && {
15885
 
         test -z "$ac_cxx_werror_flag" ||
15886
 
         test ! -s conftest.err
15887
 
       } && test -s conftest$ac_exeext &&
15888
 
       $as_test_x conftest$ac_exeext; then
15889
 
  ac_cv_func_dlopen=yes
15890
 
else
15891
 
  echo "$as_me: failed program was:" >&5
15892
 
sed 's/^/| /' conftest.$ac_ext >&5
15893
 
 
15894
 
        ac_cv_func_dlopen=no
15895
 
fi
15896
 
 
15897
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15898
 
      conftest$ac_exeext conftest.$ac_ext
15899
 
fi
15900
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15901
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
15902
 
if test $ac_cv_func_dlopen = yes; then
15903
 
  lt_cv_dlopen="dlopen"
15904
 
else
15905
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15906
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15907
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15908
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15909
 
else
15910
 
  ac_check_lib_save_LIBS=$LIBS
15911
 
LIBS="-ldl  $LIBS"
15912
 
cat >conftest.$ac_ext <<_ACEOF
15913
 
/* confdefs.h.  */
15914
 
_ACEOF
15915
 
cat confdefs.h >>conftest.$ac_ext
15916
 
cat >>conftest.$ac_ext <<_ACEOF
15917
 
/* end confdefs.h.  */
15918
 
 
15919
 
/* Override any GCC internal prototype to avoid an error.
15920
 
   Use char because int might match the return type of a GCC
15921
 
   builtin and then its argument prototype would still apply.  */
15922
 
#ifdef __cplusplus
15923
 
extern "C"
15924
 
#endif
15925
 
char dlopen ();
15926
 
int
15927
 
main ()
15928
 
{
15929
 
return dlopen ();
15930
 
  ;
15931
 
  return 0;
15932
 
}
15933
 
_ACEOF
15934
 
rm -f conftest.$ac_objext conftest$ac_exeext
15935
 
if { (ac_try="$ac_link"
15936
 
case "(($ac_try" in
15937
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15938
 
  *) ac_try_echo=$ac_try;;
15939
 
esac
15940
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15941
 
  (eval "$ac_link") 2>conftest.er1
15942
 
  ac_status=$?
15943
 
  grep -v '^ *+' conftest.er1 >conftest.err
15944
 
  rm -f conftest.er1
15945
 
  cat conftest.err >&5
15946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947
 
  (exit $ac_status); } && {
15948
 
         test -z "$ac_cxx_werror_flag" ||
15949
 
         test ! -s conftest.err
15950
 
       } && test -s conftest$ac_exeext &&
15951
 
       $as_test_x conftest$ac_exeext; then
15952
 
  ac_cv_lib_dl_dlopen=yes
15953
 
else
15954
 
  echo "$as_me: failed program was:" >&5
15955
 
sed 's/^/| /' conftest.$ac_ext >&5
15956
 
 
15957
 
        ac_cv_lib_dl_dlopen=no
15958
 
fi
15959
 
 
15960
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15961
 
      conftest$ac_exeext conftest.$ac_ext
15962
 
LIBS=$ac_check_lib_save_LIBS
15963
 
fi
15964
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15965
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15966
 
if test $ac_cv_lib_dl_dlopen = yes; then
15967
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15968
 
else
15969
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15970
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
15971
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15972
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15973
 
else
15974
 
  ac_check_lib_save_LIBS=$LIBS
15975
 
LIBS="-lsvld  $LIBS"
15976
 
cat >conftest.$ac_ext <<_ACEOF
15977
 
/* confdefs.h.  */
15978
 
_ACEOF
15979
 
cat confdefs.h >>conftest.$ac_ext
15980
 
cat >>conftest.$ac_ext <<_ACEOF
15981
 
/* end confdefs.h.  */
15982
 
 
15983
 
/* Override any GCC internal prototype to avoid an error.
15984
 
   Use char because int might match the return type of a GCC
15985
 
   builtin and then its argument prototype would still apply.  */
15986
 
#ifdef __cplusplus
15987
 
extern "C"
15988
 
#endif
15989
 
char dlopen ();
15990
 
int
15991
 
main ()
15992
 
{
15993
 
return dlopen ();
15994
 
  ;
15995
 
  return 0;
15996
 
}
15997
 
_ACEOF
15998
 
rm -f conftest.$ac_objext conftest$ac_exeext
15999
 
if { (ac_try="$ac_link"
16000
 
case "(($ac_try" in
16001
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16002
 
  *) ac_try_echo=$ac_try;;
16003
 
esac
16004
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16005
 
  (eval "$ac_link") 2>conftest.er1
16006
 
  ac_status=$?
16007
 
  grep -v '^ *+' conftest.er1 >conftest.err
16008
 
  rm -f conftest.er1
16009
 
  cat conftest.err >&5
16010
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011
 
  (exit $ac_status); } && {
16012
 
         test -z "$ac_cxx_werror_flag" ||
16013
 
         test ! -s conftest.err
16014
 
       } && test -s conftest$ac_exeext &&
16015
 
       $as_test_x conftest$ac_exeext; then
16016
 
  ac_cv_lib_svld_dlopen=yes
16017
 
else
16018
 
  echo "$as_me: failed program was:" >&5
16019
 
sed 's/^/| /' conftest.$ac_ext >&5
16020
 
 
16021
 
        ac_cv_lib_svld_dlopen=no
16022
 
fi
16023
 
 
16024
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16025
 
      conftest$ac_exeext conftest.$ac_ext
16026
 
LIBS=$ac_check_lib_save_LIBS
16027
 
fi
16028
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16029
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
16030
 
if test $ac_cv_lib_svld_dlopen = yes; then
16031
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16032
 
else
16033
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16034
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
16035
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16036
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16037
 
else
16038
 
  ac_check_lib_save_LIBS=$LIBS
16039
 
LIBS="-ldld  $LIBS"
16040
 
cat >conftest.$ac_ext <<_ACEOF
16041
 
/* confdefs.h.  */
16042
 
_ACEOF
16043
 
cat confdefs.h >>conftest.$ac_ext
16044
 
cat >>conftest.$ac_ext <<_ACEOF
16045
 
/* end confdefs.h.  */
16046
 
 
16047
 
/* Override any GCC internal prototype to avoid an error.
16048
 
   Use char because int might match the return type of a GCC
16049
 
   builtin and then its argument prototype would still apply.  */
16050
 
#ifdef __cplusplus
16051
 
extern "C"
16052
 
#endif
16053
 
char dld_link ();
16054
 
int
16055
 
main ()
16056
 
{
16057
 
return dld_link ();
16058
 
  ;
16059
 
  return 0;
16060
 
}
16061
 
_ACEOF
16062
 
rm -f conftest.$ac_objext conftest$ac_exeext
16063
 
if { (ac_try="$ac_link"
16064
 
case "(($ac_try" in
16065
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16066
 
  *) ac_try_echo=$ac_try;;
16067
 
esac
16068
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16069
 
  (eval "$ac_link") 2>conftest.er1
16070
 
  ac_status=$?
16071
 
  grep -v '^ *+' conftest.er1 >conftest.err
16072
 
  rm -f conftest.er1
16073
 
  cat conftest.err >&5
16074
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075
 
  (exit $ac_status); } && {
16076
 
         test -z "$ac_cxx_werror_flag" ||
16077
 
         test ! -s conftest.err
16078
 
       } && test -s conftest$ac_exeext &&
16079
 
       $as_test_x conftest$ac_exeext; then
16080
 
  ac_cv_lib_dld_dld_link=yes
16081
 
else
16082
 
  echo "$as_me: failed program was:" >&5
16083
 
sed 's/^/| /' conftest.$ac_ext >&5
16084
 
 
16085
 
        ac_cv_lib_dld_dld_link=no
16086
 
fi
16087
 
 
16088
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16089
 
      conftest$ac_exeext conftest.$ac_ext
16090
 
LIBS=$ac_check_lib_save_LIBS
16091
 
fi
16092
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
16093
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
16094
 
if test $ac_cv_lib_dld_dld_link = yes; then
16095
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
16096
 
fi
16097
 
 
16098
 
 
16099
 
fi
16100
 
 
16101
 
 
16102
 
fi
16103
 
 
16104
 
 
16105
 
fi
16106
 
 
16107
 
 
16108
 
fi
16109
 
 
16110
 
 
16111
 
fi
16112
 
 
16113
 
    ;;
16114
 
  esac
16115
 
 
16116
 
  if test "x$lt_cv_dlopen" != xno; then
16117
 
    enable_dlopen=yes
16118
 
  else
16119
 
    enable_dlopen=no
16120
 
  fi
16121
 
 
16122
 
  case $lt_cv_dlopen in
16123
 
  dlopen)
16124
 
    save_CPPFLAGS="$CPPFLAGS"
16125
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16126
 
 
16127
 
    save_LDFLAGS="$LDFLAGS"
16128
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16129
 
 
16130
 
    save_LIBS="$LIBS"
16131
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
16132
 
 
16133
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
16134
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
16135
 
if test "${lt_cv_dlopen_self+set}" = set; then
16136
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16137
 
else
16138
 
          if test "$cross_compiling" = yes; then :
16139
 
  lt_cv_dlopen_self=cross
16140
 
else
16141
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16142
 
  lt_status=$lt_dlunknown
16143
 
  cat > conftest.$ac_ext <<EOF
16144
 
#line 16144 "configure"
16145
 
#include "confdefs.h"
16146
 
 
16147
 
#if HAVE_DLFCN_H
16148
 
#include <dlfcn.h>
16149
 
#endif
16150
 
 
16151
 
#include <stdio.h>
16152
 
 
16153
 
#ifdef RTLD_GLOBAL
16154
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
16155
 
#else
16156
 
#  ifdef DL_GLOBAL
16157
 
#    define LT_DLGLOBAL         DL_GLOBAL
16158
 
#  else
16159
 
#    define LT_DLGLOBAL         0
16160
 
#  endif
16161
 
#endif
16162
 
 
16163
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16164
 
   find out it does not work in some platform. */
16165
 
#ifndef LT_DLLAZY_OR_NOW
16166
 
#  ifdef RTLD_LAZY
16167
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
16168
 
#  else
16169
 
#    ifdef DL_LAZY
16170
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
16171
 
#    else
16172
 
#      ifdef RTLD_NOW
16173
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
16174
 
#      else
16175
 
#        ifdef DL_NOW
16176
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
16177
 
#        else
16178
 
#          define LT_DLLAZY_OR_NOW      0
16179
 
#        endif
16180
 
#      endif
16181
 
#    endif
16182
 
#  endif
16183
 
#endif
16184
 
 
16185
 
#ifdef __cplusplus
16186
 
extern "C" void exit (int);
16187
 
#endif
16188
 
 
16189
 
void fnord() { int i=42;}
16190
 
int main ()
16191
 
{
16192
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16193
 
  int status = $lt_dlunknown;
16194
 
 
16195
 
  if (self)
16196
 
    {
16197
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16198
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16199
 
      /* dlclose (self); */
16200
 
    }
16201
 
 
16202
 
    exit (status);
16203
 
}
16204
 
EOF
16205
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16206
 
  (eval $ac_link) 2>&5
16207
 
  ac_status=$?
16208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16210
 
    (./conftest; exit; ) 2>/dev/null
16211
 
    lt_status=$?
16212
 
    case x$lt_status in
16213
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16214
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16215
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
16216
 
    esac
16217
 
  else :
16218
 
    # compilation failed
16219
 
    lt_cv_dlopen_self=no
16220
 
  fi
16221
 
fi
16222
 
rm -fr conftest*
16223
 
 
16224
 
 
16225
 
fi
16226
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
16227
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
16228
 
 
16229
 
    if test "x$lt_cv_dlopen_self" = xyes; then
16230
 
      LDFLAGS="$LDFLAGS $link_static_flag"
16231
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
16232
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
16233
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
16234
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16235
 
else
16236
 
          if test "$cross_compiling" = yes; then :
16237
 
  lt_cv_dlopen_self_static=cross
16238
 
else
16239
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16240
 
  lt_status=$lt_dlunknown
16241
 
  cat > conftest.$ac_ext <<EOF
16242
 
#line 16242 "configure"
16243
 
#include "confdefs.h"
16244
 
 
16245
 
#if HAVE_DLFCN_H
16246
 
#include <dlfcn.h>
16247
 
#endif
16248
 
 
16249
 
#include <stdio.h>
16250
 
 
16251
 
#ifdef RTLD_GLOBAL
16252
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
16253
 
#else
16254
 
#  ifdef DL_GLOBAL
16255
 
#    define LT_DLGLOBAL         DL_GLOBAL
16256
 
#  else
16257
 
#    define LT_DLGLOBAL         0
16258
 
#  endif
16259
 
#endif
16260
 
 
16261
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16262
 
   find out it does not work in some platform. */
16263
 
#ifndef LT_DLLAZY_OR_NOW
16264
 
#  ifdef RTLD_LAZY
16265
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
16266
 
#  else
16267
 
#    ifdef DL_LAZY
16268
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
16269
 
#    else
16270
 
#      ifdef RTLD_NOW
16271
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
16272
 
#      else
16273
 
#        ifdef DL_NOW
16274
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
16275
 
#        else
16276
 
#          define LT_DLLAZY_OR_NOW      0
16277
 
#        endif
16278
 
#      endif
16279
 
#    endif
16280
 
#  endif
16281
 
#endif
16282
 
 
16283
 
#ifdef __cplusplus
16284
 
extern "C" void exit (int);
16285
 
#endif
16286
 
 
16287
 
void fnord() { int i=42;}
16288
 
int main ()
16289
 
{
16290
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16291
 
  int status = $lt_dlunknown;
16292
 
 
16293
 
  if (self)
16294
 
    {
16295
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16296
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16297
 
      /* dlclose (self); */
16298
 
    }
16299
 
 
16300
 
    exit (status);
16301
 
}
16302
 
EOF
16303
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16304
 
  (eval $ac_link) 2>&5
16305
 
  ac_status=$?
16306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16308
 
    (./conftest; exit; ) 2>/dev/null
16309
 
    lt_status=$?
16310
 
    case x$lt_status in
16311
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16312
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16313
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
16314
 
    esac
16315
 
  else :
16316
 
    # compilation failed
16317
 
    lt_cv_dlopen_self_static=no
16318
 
  fi
16319
 
fi
16320
 
rm -fr conftest*
16321
 
 
16322
 
 
16323
 
fi
16324
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16325
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
16326
 
    fi
16327
 
 
16328
 
    CPPFLAGS="$save_CPPFLAGS"
16329
 
    LDFLAGS="$save_LDFLAGS"
16330
 
    LIBS="$save_LIBS"
16331
 
    ;;
16332
 
  esac
16333
 
 
16334
 
  case $lt_cv_dlopen_self in
16335
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16336
 
  *) enable_dlopen_self=unknown ;;
16337
 
  esac
16338
 
 
16339
 
  case $lt_cv_dlopen_self_static in
16340
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16341
 
  *) enable_dlopen_self_static=unknown ;;
16342
 
  esac
16343
 
fi
16344
 
 
16345
 
 
16346
 
# The else clause should only fire when bootstrapping the
16347
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16348
 
# with your package, and you will get complaints that there are
16349
 
# no rules to generate ltmain.sh.
16350
 
if test -f "$ltmain"; then
16351
 
  # See if we are running on zsh, and set the options which allow our commands through
16352
 
  # without removal of \ escapes.
16353
 
  if test -n "${ZSH_VERSION+set}" ; then
16354
 
    setopt NO_GLOB_SUBST
16355
 
  fi
16356
 
  # Now quote all the things that may contain metacharacters while being
16357
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16358
 
  # variables and quote the copies for generation of the libtool script.
16359
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
16360
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16361
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16362
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16363
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16364
 
    lt_cv_sys_global_symbol_to_c_name_address \
16365
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16366
 
    old_postinstall_cmds old_postuninstall_cmds \
16367
 
    compiler_CXX \
16368
 
    CC_CXX \
16369
 
    LD_CXX \
16370
 
    lt_prog_compiler_wl_CXX \
16371
 
    lt_prog_compiler_pic_CXX \
16372
 
    lt_prog_compiler_static_CXX \
16373
 
    lt_prog_compiler_no_builtin_flag_CXX \
16374
 
    export_dynamic_flag_spec_CXX \
16375
 
    thread_safe_flag_spec_CXX \
16376
 
    whole_archive_flag_spec_CXX \
16377
 
    enable_shared_with_static_runtimes_CXX \
16378
 
    old_archive_cmds_CXX \
16379
 
    old_archive_from_new_cmds_CXX \
16380
 
    predep_objects_CXX \
16381
 
    postdep_objects_CXX \
16382
 
    predeps_CXX \
16383
 
    postdeps_CXX \
16384
 
    compiler_lib_search_path_CXX \
16385
 
    archive_cmds_CXX \
16386
 
    archive_expsym_cmds_CXX \
16387
 
    postinstall_cmds_CXX \
16388
 
    postuninstall_cmds_CXX \
16389
 
    old_archive_from_expsyms_cmds_CXX \
16390
 
    allow_undefined_flag_CXX \
16391
 
    no_undefined_flag_CXX \
16392
 
    export_symbols_cmds_CXX \
16393
 
    hardcode_libdir_flag_spec_CXX \
16394
 
    hardcode_libdir_flag_spec_ld_CXX \
16395
 
    hardcode_libdir_separator_CXX \
16396
 
    hardcode_automatic_CXX \
16397
 
    module_cmds_CXX \
16398
 
    module_expsym_cmds_CXX \
16399
 
    lt_cv_prog_compiler_c_o_CXX \
16400
 
    exclude_expsyms_CXX \
16401
 
    include_expsyms_CXX; do
16402
 
 
16403
 
    case $var in
16404
 
    old_archive_cmds_CXX | \
16405
 
    old_archive_from_new_cmds_CXX | \
16406
 
    archive_cmds_CXX | \
16407
 
    archive_expsym_cmds_CXX | \
16408
 
    module_cmds_CXX | \
16409
 
    module_expsym_cmds_CXX | \
16410
 
    old_archive_from_expsyms_cmds_CXX | \
16411
 
    export_symbols_cmds_CXX | \
16412
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16413
 
    postinstall_cmds | postuninstall_cmds | \
16414
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16415
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16416
 
      # Double-quote double-evaled strings.
16417
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16418
 
      ;;
16419
 
    *)
16420
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16421
 
      ;;
16422
 
    esac
16423
 
  done
16424
 
 
16425
 
  case $lt_echo in
16426
 
  *'\$0 --fallback-echo"')
16427
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16428
 
    ;;
16429
 
  esac
16430
 
 
16431
 
cfgfile="$ofile"
16432
 
 
16433
 
  cat <<__EOF__ >> "$cfgfile"
16434
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16435
 
 
16436
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16437
 
 
16438
 
# Shell to use when invoking shell scripts.
16439
 
SHELL=$lt_SHELL
16440
 
 
16441
 
# Whether or not to build shared libraries.
16442
 
build_libtool_libs=$enable_shared
16443
 
 
16444
 
# Whether or not to build static libraries.
16445
 
build_old_libs=$enable_static
16446
 
 
16447
 
# Whether or not to add -lc for building shared libraries.
16448
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
16449
 
 
16450
 
# Whether or not to disallow shared libs when runtime libs are static
16451
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16452
 
 
16453
 
# Whether or not to optimize for fast installation.
16454
 
fast_install=$enable_fast_install
16455
 
 
16456
 
# The host system.
16457
 
host_alias=$host_alias
16458
 
host=$host
16459
 
 
16460
 
# An echo program that does not interpret backslashes.
16461
 
echo=$lt_echo
16462
 
 
16463
 
# The archiver.
16464
 
AR=$lt_AR
16465
 
AR_FLAGS=$lt_AR_FLAGS
16466
 
 
16467
 
# A C compiler.
16468
 
LTCC=$lt_LTCC
16469
 
 
16470
 
# A language-specific compiler.
16471
 
CC=$lt_compiler_CXX
16472
 
 
16473
 
# Is the compiler the GNU C compiler?
16474
 
with_gcc=$GCC_CXX
16475
 
 
16476
 
# An ERE matcher.
16477
 
EGREP=$lt_EGREP
16478
 
 
16479
 
# The linker used to build libraries.
16480
 
LD=$lt_LD_CXX
16481
 
 
16482
 
# Whether we need hard or soft links.
16483
 
LN_S=$lt_LN_S
16484
 
 
16485
 
# A BSD-compatible nm program.
16486
 
NM=$lt_NM
16487
 
 
16488
 
# A symbol stripping program
16489
 
STRIP=$STRIP
16490
 
 
16491
 
# Used to examine libraries when file_magic_cmd begins "file"
16492
 
MAGIC_CMD=$MAGIC_CMD
16493
 
 
16494
 
# Used on cygwin: DLL creation program.
16495
 
DLLTOOL="$DLLTOOL"
16496
 
 
16497
 
# Used on cygwin: object dumper.
16498
 
OBJDUMP="$OBJDUMP"
16499
 
 
16500
 
# Used on cygwin: assembler.
16501
 
AS="$AS"
16502
 
 
16503
 
# The name of the directory that contains temporary libtool files.
16504
 
objdir=$objdir
16505
 
 
16506
 
# How to create reloadable object files.
16507
 
reload_flag=$lt_reload_flag
16508
 
reload_cmds=$lt_reload_cmds
16509
 
 
16510
 
# How to pass a linker flag through the compiler.
16511
 
wl=$lt_lt_prog_compiler_wl_CXX
16512
 
 
16513
 
# Object file suffix (normally "o").
16514
 
objext="$ac_objext"
16515
 
 
16516
 
# Old archive suffix (normally "a").
16517
 
libext="$libext"
16518
 
 
16519
 
# Shared library suffix (normally ".so").
16520
 
shrext='$shrext'
16521
 
 
16522
 
# Executable file suffix (normally "").
16523
 
exeext="$exeext"
16524
 
 
16525
 
# Additional compiler flags for building library objects.
16526
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
16527
 
pic_mode=$pic_mode
16528
 
 
16529
 
# What is the maximum length of a command?
16530
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16531
 
 
16532
 
# Does compiler simultaneously support -c and -o options?
16533
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16534
 
 
16535
 
# Must we lock files when doing compilation ?
16536
 
need_locks=$lt_need_locks
16537
 
 
16538
 
# Do we need the lib prefix for modules?
16539
 
need_lib_prefix=$need_lib_prefix
16540
 
 
16541
 
# Do we need a version for libraries?
16542
 
need_version=$need_version
16543
 
 
16544
 
# Whether dlopen is supported.
16545
 
dlopen_support=$enable_dlopen
16546
 
 
16547
 
# Whether dlopen of programs is supported.
16548
 
dlopen_self=$enable_dlopen_self
16549
 
 
16550
 
# Whether dlopen of statically linked programs is supported.
16551
 
dlopen_self_static=$enable_dlopen_self_static
16552
 
 
16553
 
# Compiler flag to prevent dynamic linking.
16554
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
16555
 
 
16556
 
# Compiler flag to turn off builtin functions.
16557
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16558
 
 
16559
 
# Compiler flag to allow reflexive dlopens.
16560
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16561
 
 
16562
 
# Compiler flag to generate shared objects directly from archives.
16563
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16564
 
 
16565
 
# Compiler flag to generate thread-safe objects.
16566
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16567
 
 
16568
 
# Library versioning type.
16569
 
version_type=$version_type
16570
 
 
16571
 
# Format of library name prefix.
16572
 
libname_spec=$lt_libname_spec
16573
 
 
16574
 
# List of archive names.  First name is the real one, the rest are links.
16575
 
# The last name is the one that the linker finds with -lNAME.
16576
 
library_names_spec=$lt_library_names_spec
16577
 
 
16578
 
# The coded name of the library, if different from the real name.
16579
 
soname_spec=$lt_soname_spec
16580
 
 
16581
 
# Commands used to build and install an old-style archive.
16582
 
RANLIB=$lt_RANLIB
16583
 
old_archive_cmds=$lt_old_archive_cmds_CXX
16584
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16585
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16586
 
 
16587
 
# Create an old-style archive from a shared archive.
16588
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16589
 
 
16590
 
# Create a temporary old-style archive to link instead of a shared archive.
16591
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16592
 
 
16593
 
# Commands used to build and install a shared archive.
16594
 
archive_cmds=$lt_archive_cmds_CXX
16595
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16596
 
postinstall_cmds=$lt_postinstall_cmds
16597
 
postuninstall_cmds=$lt_postuninstall_cmds
16598
 
 
16599
 
# Commands used to build a loadable module (assumed same as above if empty)
16600
 
module_cmds=$lt_module_cmds_CXX
16601
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
16602
 
 
16603
 
# Commands to strip libraries.
16604
 
old_striplib=$lt_old_striplib
16605
 
striplib=$lt_striplib
16606
 
 
16607
 
# Dependencies to place before the objects being linked to create a
16608
 
# shared library.
16609
 
predep_objects=$lt_predep_objects_CXX
16610
 
 
16611
 
# Dependencies to place after the objects being linked to create a
16612
 
# shared library.
16613
 
postdep_objects=$lt_postdep_objects_CXX
16614
 
 
16615
 
# Dependencies to place before the objects being linked to create a
16616
 
# shared library.
16617
 
predeps=$lt_predeps_CXX
16618
 
 
16619
 
# Dependencies to place after the objects being linked to create a
16620
 
# shared library.
16621
 
postdeps=$lt_postdeps_CXX
16622
 
 
16623
 
# The library search path used internally by the compiler when linking
16624
 
# a shared library.
16625
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16626
 
 
16627
 
# Method to check whether dependent libraries are shared objects.
16628
 
deplibs_check_method=$lt_deplibs_check_method
16629
 
 
16630
 
# Command to use when deplibs_check_method == file_magic.
16631
 
file_magic_cmd=$lt_file_magic_cmd
16632
 
 
16633
 
# Flag that allows shared libraries with undefined symbols to be built.
16634
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
16635
 
 
16636
 
# Flag that forces no undefined symbols.
16637
 
no_undefined_flag=$lt_no_undefined_flag_CXX
16638
 
 
16639
 
# Commands used to finish a libtool library installation in a directory.
16640
 
finish_cmds=$lt_finish_cmds
16641
 
 
16642
 
# Same as above, but a single script fragment to be evaled but not shown.
16643
 
finish_eval=$lt_finish_eval
16644
 
 
16645
 
# Take the output of nm and produce a listing of raw symbols and C names.
16646
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16647
 
 
16648
 
# Transform the output of nm in a proper C declaration
16649
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16650
 
 
16651
 
# Transform the output of nm in a C name address pair
16652
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16653
 
 
16654
 
# This is the shared library runtime path variable.
16655
 
runpath_var=$runpath_var
16656
 
 
16657
 
# This is the shared library path variable.
16658
 
shlibpath_var=$shlibpath_var
16659
 
 
16660
 
# Is shlibpath searched before the hard-coded library search path?
16661
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16662
 
 
16663
 
# How to hardcode a shared library path into an executable.
16664
 
hardcode_action=$hardcode_action_CXX
16665
 
 
16666
 
# Whether we should hardcode library paths into libraries.
16667
 
hardcode_into_libs=$hardcode_into_libs
16668
 
 
16669
 
# Flag to hardcode \$libdir into a binary during linking.
16670
 
# This must work even if \$libdir does not exist.
16671
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16672
 
 
16673
 
# If ld is used when linking, flag to hardcode \$libdir into
16674
 
# a binary during linking. This must work even if \$libdir does
16675
 
# not exist.
16676
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16677
 
 
16678
 
# Whether we need a single -rpath flag with a separated argument.
16679
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16680
 
 
16681
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16682
 
# resulting binary.
16683
 
hardcode_direct=$hardcode_direct_CXX
16684
 
 
16685
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16686
 
# resulting binary.
16687
 
hardcode_minus_L=$hardcode_minus_L_CXX
16688
 
 
16689
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16690
 
# the resulting binary.
16691
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16692
 
 
16693
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16694
 
# and all subsequent libraries and executables linked against it.
16695
 
hardcode_automatic=$hardcode_automatic_CXX
16696
 
 
16697
 
# Variables whose values should be saved in libtool wrapper scripts and
16698
 
# restored at relink time.
16699
 
variables_saved_for_relink="$variables_saved_for_relink"
16700
 
 
16701
 
# Whether libtool must link a program against all its dependency libraries.
16702
 
link_all_deplibs=$link_all_deplibs_CXX
16703
 
 
16704
 
# Compile-time system search path for libraries
16705
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16706
 
 
16707
 
# Run-time system search path for libraries
16708
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16709
 
 
16710
 
# Fix the shell variable \$srcfile for the compiler.
16711
 
fix_srcfile_path="$fix_srcfile_path_CXX"
16712
 
 
16713
 
# Set to yes if exported symbols are required.
16714
 
always_export_symbols=$always_export_symbols_CXX
16715
 
 
16716
 
# The commands to list exported symbols.
16717
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
16718
 
 
16719
 
# The commands to extract the exported symbol list from a shared archive.
16720
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16721
 
 
16722
 
# Symbols that should not be listed in the preloaded symbols.
16723
 
exclude_expsyms=$lt_exclude_expsyms_CXX
16724
 
 
16725
 
# Symbols that must always be exported.
16726
 
include_expsyms=$lt_include_expsyms_CXX
16727
 
 
16728
 
# ### END LIBTOOL TAG CONFIG: $tagname
16729
 
 
16730
 
__EOF__
16731
 
 
16732
 
 
16733
 
else
16734
 
  # If there is no Makefile yet, we rely on a make rule to execute
16735
 
  # `config.status --recheck' to rerun these tests and create the
16736
 
  # libtool script then.
16737
 
  test -f Makefile && make "$ltmain"
16738
 
fi
16739
 
 
16740
 
 
16741
 
ac_ext=c
16742
 
ac_cpp='$CPP $CPPFLAGS'
16743
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16744
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16745
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16746
 
 
16747
 
CC=$lt_save_CC
16748
 
LDCXX=$LD
16749
 
LD=$lt_save_LD
16750
 
GCC=$lt_save_GCC
16751
 
with_gnu_ldcxx=$with_gnu_ld
16752
 
with_gnu_ld=$lt_save_with_gnu_ld
16753
 
lt_cv_path_LDCXX=$lt_cv_path_LD
16754
 
lt_cv_path_LD=$lt_save_path_LD
16755
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16756
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16757
 
 
16758
 
        else
16759
 
          tagname=""
16760
 
        fi
16761
 
        ;;
16762
 
 
16763
 
      F77)
16764
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
16765
 
 
16766
 
ac_ext=f
16767
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16768
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16769
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16770
 
 
16771
 
 
16772
 
archive_cmds_need_lc_F77=no
16773
 
allow_undefined_flag_F77=
16774
 
always_export_symbols_F77=no
16775
 
archive_expsym_cmds_F77=
16776
 
export_dynamic_flag_spec_F77=
16777
 
hardcode_direct_F77=no
16778
 
hardcode_libdir_flag_spec_F77=
16779
 
hardcode_libdir_flag_spec_ld_F77=
16780
 
hardcode_libdir_separator_F77=
16781
 
hardcode_minus_L_F77=no
16782
 
hardcode_automatic_F77=no
16783
 
module_cmds_F77=
16784
 
module_expsym_cmds_F77=
16785
 
link_all_deplibs_F77=unknown
16786
 
old_archive_cmds_F77=$old_archive_cmds
16787
 
no_undefined_flag_F77=
16788
 
whole_archive_flag_spec_F77=
16789
 
enable_shared_with_static_runtimes_F77=no
16790
 
 
16791
 
# Source file extension for f77 test sources.
16792
 
ac_ext=f
16793
 
 
16794
 
# Object file extension for compiled f77 test sources.
16795
 
objext=o
16796
 
objext_F77=$objext
16797
 
 
16798
 
# Code to be used in simple compile tests
16799
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
16800
 
 
16801
 
# Code to be used in simple link tests
16802
 
lt_simple_link_test_code="      program t\n      end\n"
16803
 
 
16804
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16805
 
 
16806
 
# If no C compiler was specified, use CC.
16807
 
LTCC=${LTCC-"$CC"}
16808
 
 
16809
 
# Allow CC to be a program name with arguments.
16810
 
compiler=$CC
16811
 
 
16812
 
 
16813
 
# Allow CC to be a program name with arguments.
16814
 
lt_save_CC="$CC"
16815
 
CC=${F77-"f77"}
16816
 
compiler=$CC
16817
 
compiler_F77=$CC
16818
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16819
 
 
16820
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16821
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
16822
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
16823
 
echo "${ECHO_T}$can_build_shared" >&6; }
16824
 
 
16825
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16826
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16827
 
test "$can_build_shared" = "no" && enable_shared=no
16828
 
 
16829
 
# On AIX, shared libraries and static libraries use the same namespace, and
16830
 
# are all built from PIC.
16831
 
case "$host_os" in
16832
 
aix3*)
16833
 
  test "$enable_shared" = yes && enable_static=no
16834
 
  if test -n "$RANLIB"; then
16835
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
16836
 
    postinstall_cmds='$RANLIB $lib'
16837
 
  fi
16838
 
  ;;
16839
 
aix4*)
16840
 
  test "$enable_shared" = yes && enable_static=no
16841
 
  ;;
16842
 
esac
16843
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
16844
 
echo "${ECHO_T}$enable_shared" >&6; }
16845
 
 
16846
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16847
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16848
 
# Make sure either enable_shared or enable_static is yes.
16849
 
test "$enable_shared" = yes || enable_static=yes
16850
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
16851
 
echo "${ECHO_T}$enable_static" >&6; }
16852
 
 
16853
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16854
 
 
16855
 
GCC_F77="$G77"
16856
 
LD_F77="$LD"
16857
 
 
16858
 
lt_prog_compiler_wl_F77=
16859
 
lt_prog_compiler_pic_F77=
16860
 
lt_prog_compiler_static_F77=
16861
 
 
16862
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16863
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16864
 
 
16865
 
  if test "$GCC" = yes; then
16866
 
    lt_prog_compiler_wl_F77='-Wl,'
16867
 
    lt_prog_compiler_static_F77='-static'
16868
 
 
16869
 
    case $host_os in
16870
 
      aix*)
16871
 
      # All AIX code is PIC.
16872
 
      if test "$host_cpu" = ia64; then
16873
 
        # AIX 5 now supports IA64 processor
16874
 
        lt_prog_compiler_static_F77='-Bstatic'
16875
 
      fi
16876
 
      ;;
16877
 
 
16878
 
    amigaos*)
16879
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16880
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16881
 
      # like `-m68040'.
16882
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16883
 
      ;;
16884
 
 
16885
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16886
 
      # PIC is the default for these OSes.
16887
 
      ;;
16888
 
 
16889
 
    mingw* | pw32* | os2*)
16890
 
      # This hack is so that the source file can tell whether it is being
16891
 
      # built for inclusion in a dll (and should export symbols for example).
16892
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16893
 
      ;;
16894
 
 
16895
 
    darwin* | rhapsody*)
16896
 
      # PIC is the default on this platform
16897
 
      # Common symbols not allowed in MH_DYLIB files
16898
 
      lt_prog_compiler_pic_F77='-fno-common'
16899
 
      ;;
16900
 
 
16901
 
    msdosdjgpp*)
16902
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16903
 
      # on systems that don't support them.
16904
 
      lt_prog_compiler_can_build_shared_F77=no
16905
 
      enable_shared=no
16906
 
      ;;
16907
 
 
16908
 
    sysv4*MP*)
16909
 
      if test -d /usr/nec; then
16910
 
        lt_prog_compiler_pic_F77=-Kconform_pic
16911
 
      fi
16912
 
      ;;
16913
 
 
16914
 
    hpux*)
16915
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16916
 
      # not for PA HP-UX.
16917
 
      case "$host_cpu" in
16918
 
      hppa*64*|ia64*)
16919
 
        # +Z the default
16920
 
        ;;
16921
 
      *)
16922
 
        lt_prog_compiler_pic_F77='-fPIC'
16923
 
        ;;
16924
 
      esac
16925
 
      ;;
16926
 
 
16927
 
    *)
16928
 
      lt_prog_compiler_pic_F77='-fPIC'
16929
 
      ;;
16930
 
    esac
16931
 
  else
16932
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16933
 
    case $host_os in
16934
 
    aix*)
16935
 
      lt_prog_compiler_wl_F77='-Wl,'
16936
 
      if test "$host_cpu" = ia64; then
16937
 
        # AIX 5 now supports IA64 processor
16938
 
        lt_prog_compiler_static_F77='-Bstatic'
16939
 
      else
16940
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16941
 
      fi
16942
 
      ;;
16943
 
 
16944
 
    mingw* | pw32* | os2*)
16945
 
      # This hack is so that the source file can tell whether it is being
16946
 
      # built for inclusion in a dll (and should export symbols for example).
16947
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16948
 
      ;;
16949
 
 
16950
 
    hpux9* | hpux10* | hpux11*)
16951
 
      lt_prog_compiler_wl_F77='-Wl,'
16952
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16953
 
      # not for PA HP-UX.
16954
 
      case "$host_cpu" in
16955
 
      hppa*64*|ia64*)
16956
 
        # +Z the default
16957
 
        ;;
16958
 
      *)
16959
 
        lt_prog_compiler_pic_F77='+Z'
16960
 
        ;;
16961
 
      esac
16962
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16963
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16964
 
      ;;
16965
 
 
16966
 
    irix5* | irix6* | nonstopux*)
16967
 
      lt_prog_compiler_wl_F77='-Wl,'
16968
 
      # PIC (with -KPIC) is the default.
16969
 
      lt_prog_compiler_static_F77='-non_shared'
16970
 
      ;;
16971
 
 
16972
 
    newsos6)
16973
 
      lt_prog_compiler_pic_F77='-KPIC'
16974
 
      lt_prog_compiler_static_F77='-Bstatic'
16975
 
      ;;
16976
 
 
16977
 
    linux*)
16978
 
      case $CC in
16979
 
      icc* | ecc*)
16980
 
        lt_prog_compiler_wl_F77='-Wl,'
16981
 
        lt_prog_compiler_pic_F77='-KPIC'
16982
 
        lt_prog_compiler_static_F77='-static'
16983
 
        ;;
16984
 
      ccc*)
16985
 
        lt_prog_compiler_wl_F77='-Wl,'
16986
 
        # All Alpha code is PIC.
16987
 
        lt_prog_compiler_static_F77='-non_shared'
16988
 
        ;;
16989
 
      esac
16990
 
      ;;
16991
 
 
16992
 
    osf3* | osf4* | osf5*)
16993
 
      lt_prog_compiler_wl_F77='-Wl,'
16994
 
      # All OSF/1 code is PIC.
16995
 
      lt_prog_compiler_static_F77='-non_shared'
16996
 
      ;;
16997
 
 
16998
 
    sco3.2v5*)
16999
 
      lt_prog_compiler_pic_F77='-Kpic'
17000
 
      lt_prog_compiler_static_F77='-dn'
17001
 
      ;;
17002
 
 
17003
 
    solaris*)
17004
 
      lt_prog_compiler_wl_F77='-Wl,'
17005
 
      lt_prog_compiler_pic_F77='-KPIC'
17006
 
      lt_prog_compiler_static_F77='-Bstatic'
17007
 
      ;;
17008
 
 
17009
 
    sunos4*)
17010
 
      lt_prog_compiler_wl_F77='-Qoption ld '
17011
 
      lt_prog_compiler_pic_F77='-PIC'
17012
 
      lt_prog_compiler_static_F77='-Bstatic'
17013
 
      ;;
17014
 
 
17015
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17016
 
      lt_prog_compiler_wl_F77='-Wl,'
17017
 
      lt_prog_compiler_pic_F77='-KPIC'
17018
 
      lt_prog_compiler_static_F77='-Bstatic'
17019
 
      ;;
17020
 
 
17021
 
    sysv4*MP*)
17022
 
      if test -d /usr/nec ;then
17023
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
17024
 
        lt_prog_compiler_static_F77='-Bstatic'
17025
 
      fi
17026
 
      ;;
17027
 
 
17028
 
    uts4*)
17029
 
      lt_prog_compiler_pic_F77='-pic'
17030
 
      lt_prog_compiler_static_F77='-Bstatic'
17031
 
      ;;
17032
 
 
17033
 
    *)
17034
 
      lt_prog_compiler_can_build_shared_F77=no
17035
 
      ;;
17036
 
    esac
17037
 
  fi
17038
 
 
17039
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
17040
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
17041
 
 
17042
 
#
17043
 
# Check to make sure the PIC flag actually works.
17044
 
#
17045
 
if test -n "$lt_prog_compiler_pic_F77"; then
17046
 
 
17047
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17048
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
17049
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
17050
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17051
 
else
17052
 
  lt_prog_compiler_pic_works_F77=no
17053
 
  ac_outfile=conftest.$ac_objext
17054
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17055
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
17056
 
   # Insert the option either (1) after the last *FLAGS variable, or
17057
 
   # (2) before a word containing "conftest.", or (3) at the end.
17058
 
   # Note that $ac_compile itself does not contain backslashes and begins
17059
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17060
 
   # The option is referenced via a variable to avoid confusing sed.
17061
 
   lt_compile=`echo "$ac_compile" | $SED \
17062
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17063
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17064
 
   -e 's:$: $lt_compiler_flag:'`
17065
 
   (eval echo "\"\$as_me:17065: $lt_compile\"" >&5)
17066
 
   (eval "$lt_compile" 2>conftest.err)
17067
 
   ac_status=$?
17068
 
   cat conftest.err >&5
17069
 
   echo "$as_me:17069: \$? = $ac_status" >&5
17070
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17071
 
     # The compiler can only warn and ignore the option if not recognized
17072
 
     # So say no if there are warnings
17073
 
     if test ! -s conftest.err; then
17074
 
       lt_prog_compiler_pic_works_F77=yes
17075
 
     fi
17076
 
   fi
17077
 
   $rm conftest*
17078
 
 
17079
 
fi
17080
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
17081
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
17082
 
 
17083
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
17084
 
    case $lt_prog_compiler_pic_F77 in
17085
 
     "" | " "*) ;;
17086
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
17087
 
     esac
17088
 
else
17089
 
    lt_prog_compiler_pic_F77=
17090
 
     lt_prog_compiler_can_build_shared_F77=no
17091
 
fi
17092
 
 
17093
 
fi
17094
 
case "$host_os" in
17095
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17096
 
  *djgpp*)
17097
 
    lt_prog_compiler_pic_F77=
17098
 
    ;;
17099
 
  *)
17100
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
17101
 
    ;;
17102
 
esac
17103
 
 
17104
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17105
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17106
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17107
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17108
 
else
17109
 
  lt_cv_prog_compiler_c_o_F77=no
17110
 
   $rm -r conftest 2>/dev/null
17111
 
   mkdir conftest
17112
 
   cd conftest
17113
 
   mkdir out
17114
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17115
 
 
17116
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
17117
 
   # that will create temporary files in the current directory regardless of
17118
 
   # the output directory.  Thus, making CWD read-only will cause this test
17119
 
   # to fail, enabling locking or at least warning the user not to do parallel
17120
 
   # builds.
17121
 
   chmod -w .
17122
 
 
17123
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17124
 
   # Insert the option either (1) after the last *FLAGS variable, or
17125
 
   # (2) before a word containing "conftest.", or (3) at the end.
17126
 
   # Note that $ac_compile itself does not contain backslashes and begins
17127
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17128
 
   lt_compile=`echo "$ac_compile" | $SED \
17129
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17130
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17131
 
   -e 's:$: $lt_compiler_flag:'`
17132
 
   (eval echo "\"\$as_me:17132: $lt_compile\"" >&5)
17133
 
   (eval "$lt_compile" 2>out/conftest.err)
17134
 
   ac_status=$?
17135
 
   cat out/conftest.err >&5
17136
 
   echo "$as_me:17136: \$? = $ac_status" >&5
17137
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17138
 
   then
17139
 
     # The compiler can only warn and ignore the option if not recognized
17140
 
     # So say no if there are warnings
17141
 
     if test ! -s out/conftest.err; then
17142
 
       lt_cv_prog_compiler_c_o_F77=yes
17143
 
     fi
17144
 
   fi
17145
 
   chmod u+w .
17146
 
   $rm conftest* out/*
17147
 
   rmdir out
17148
 
   cd ..
17149
 
   rmdir conftest
17150
 
   $rm conftest*
17151
 
 
17152
 
fi
17153
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17154
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
17155
 
 
17156
 
 
17157
 
hard_links="nottested"
17158
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
17159
 
  # do not overwrite the value of need_locks provided by the user
17160
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17161
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17162
 
  hard_links=yes
17163
 
  $rm conftest*
17164
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17165
 
  touch conftest.a
17166
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17167
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17168
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17169
 
echo "${ECHO_T}$hard_links" >&6; }
17170
 
  if test "$hard_links" = no; then
17171
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17172
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17173
 
    need_locks=warn
17174
 
  fi
17175
 
else
17176
 
  need_locks=no
17177
 
fi
17178
 
 
17179
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17180
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17181
 
 
17182
 
  runpath_var=
17183
 
  allow_undefined_flag_F77=
17184
 
  enable_shared_with_static_runtimes_F77=no
17185
 
  archive_cmds_F77=
17186
 
  archive_expsym_cmds_F77=
17187
 
  old_archive_From_new_cmds_F77=
17188
 
  old_archive_from_expsyms_cmds_F77=
17189
 
  export_dynamic_flag_spec_F77=
17190
 
  whole_archive_flag_spec_F77=
17191
 
  thread_safe_flag_spec_F77=
17192
 
  hardcode_libdir_flag_spec_F77=
17193
 
  hardcode_libdir_flag_spec_ld_F77=
17194
 
  hardcode_libdir_separator_F77=
17195
 
  hardcode_direct_F77=no
17196
 
  hardcode_minus_L_F77=no
17197
 
  hardcode_shlibpath_var_F77=unsupported
17198
 
  link_all_deplibs_F77=unknown
17199
 
  hardcode_automatic_F77=no
17200
 
  module_cmds_F77=
17201
 
  module_expsym_cmds_F77=
17202
 
  always_export_symbols_F77=no
17203
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17204
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17205
 
  # included in the symbol list
17206
 
  include_expsyms_F77=
17207
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17208
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17209
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17210
 
  # as well as any symbol that contains `d'.
17211
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
17212
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17213
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17214
 
  # the symbol is explicitly referenced.  Since portable code cannot
17215
 
  # rely on this symbol name, it's probably fine to never include it in
17216
 
  # preloaded symbol tables.
17217
 
  extract_expsyms_cmds=
17218
 
 
17219
 
  case $host_os in
17220
 
  cygwin* | mingw* | pw32*)
17221
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17222
 
    # When not using gcc, we currently assume that we are using
17223
 
    # Microsoft Visual C++.
17224
 
    if test "$GCC" != yes; then
17225
 
      with_gnu_ld=no
17226
 
    fi
17227
 
    ;;
17228
 
  openbsd*)
17229
 
    with_gnu_ld=no
17230
 
    ;;
17231
 
  esac
17232
 
 
17233
 
  ld_shlibs_F77=yes
17234
 
  if test "$with_gnu_ld" = yes; then
17235
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17236
 
    wlarc='${wl}'
17237
 
 
17238
 
    # See if GNU ld supports shared libraries.
17239
 
    case $host_os in
17240
 
    aix3* | aix4* | aix5*)
17241
 
      # On AIX/PPC, the GNU linker is very broken
17242
 
      if test "$host_cpu" != ia64; then
17243
 
        ld_shlibs_F77=no
17244
 
        cat <<EOF 1>&2
17245
 
 
17246
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17247
 
*** to be unable to reliably create shared libraries on AIX.
17248
 
*** Therefore, libtool is disabling shared libraries support.  If you
17249
 
*** really care for shared libraries, you may want to modify your PATH
17250
 
*** so that a non-GNU linker is found, and then restart.
17251
 
 
17252
 
EOF
17253
 
      fi
17254
 
      ;;
17255
 
 
17256
 
    amigaos*)
17257
 
      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)'
17258
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17259
 
      hardcode_minus_L_F77=yes
17260
 
 
17261
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17262
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17263
 
      # to version 4, is to share data among multiple programs linked
17264
 
      # with the same dynamic library.  Since this doesn't match the
17265
 
      # behavior of shared libraries on other platforms, we can't use
17266
 
      # them.
17267
 
      ld_shlibs_F77=no
17268
 
      ;;
17269
 
 
17270
 
    beos*)
17271
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17272
 
        allow_undefined_flag_F77=unsupported
17273
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17274
 
        # support --undefined.  This deserves some investigation.  FIXME
17275
 
        archive_cmds_F77='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17276
 
      else
17277
 
        ld_shlibs_F77=no
17278
 
      fi
17279
 
      ;;
17280
 
 
17281
 
    cygwin* | mingw* | pw32*)
17282
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17283
 
      # as there is no search path for DLLs.
17284
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17285
 
      allow_undefined_flag_F77=no
17286
 
      always_export_symbols_F77=no
17287
 
      enable_shared_with_static_runtimes_F77=yes
17288
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17289
 
 
17290
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17291
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17292
 
        # If the export-symbols file already is a .def file (1st line
17293
 
        # is EXPORTS), use it as is; otherwise, prepend...
17294
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17295
 
          cp $export_symbols $output_objdir/$soname.def;
17296
 
        else
17297
 
          echo EXPORTS > $output_objdir/$soname.def;
17298
 
          cat $export_symbols >> $output_objdir/$soname.def;
17299
 
        fi~
17300
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
17301
 
      else
17302
 
        ld_shlibs=no
17303
 
      fi
17304
 
      ;;
17305
 
 
17306
 
    netbsd*)
17307
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17308
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17309
 
        wlarc=
17310
 
      else
17311
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17312
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17313
 
      fi
17314
 
      ;;
17315
 
 
17316
 
    solaris* | sysv5*)
17317
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17318
 
        ld_shlibs_F77=no
17319
 
        cat <<EOF 1>&2
17320
 
 
17321
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17322
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17323
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17324
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17325
 
*** your PATH or compiler configuration so that the native linker is
17326
 
*** used, and then restart.
17327
 
 
17328
 
EOF
17329
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17330
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17331
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17332
 
      else
17333
 
        ld_shlibs_F77=no
17334
 
      fi
17335
 
      ;;
17336
 
 
17337
 
    sunos4*)
17338
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17339
 
      wlarc=
17340
 
      hardcode_direct_F77=yes
17341
 
      hardcode_shlibpath_var_F77=no
17342
 
      ;;
17343
 
 
17344
 
    *)
17345
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17346
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17347
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17348
 
      else
17349
 
        ld_shlibs_F77=no
17350
 
      fi
17351
 
      ;;
17352
 
    esac
17353
 
 
17354
 
    if test "$ld_shlibs_F77" = yes; then
17355
 
      runpath_var=LD_RUN_PATH
17356
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
17357
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17358
 
      # ancient GNU ld didn't support --whole-archive et. al.
17359
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17360
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17361
 
      else
17362
 
        whole_archive_flag_spec_F77=
17363
 
      fi
17364
 
    fi
17365
 
  else
17366
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17367
 
    case $host_os in
17368
 
    aix3*)
17369
 
      allow_undefined_flag_F77=unsupported
17370
 
      always_export_symbols_F77=yes
17371
 
      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'
17372
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17373
 
      # are no directories specified by -L.
17374
 
      hardcode_minus_L_F77=yes
17375
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
17376
 
        # Neither direct hardcoding nor static linking is supported with a
17377
 
        # broken collect2.
17378
 
        hardcode_direct_F77=unsupported
17379
 
      fi
17380
 
      ;;
17381
 
 
17382
 
    aix4* | aix5*)
17383
 
      if test "$host_cpu" = ia64; then
17384
 
        # On IA64, the linker does run time linking by default, so we don't
17385
 
        # have to do anything special.
17386
 
        aix_use_runtimelinking=no
17387
 
        exp_sym_flag='-Bexport'
17388
 
        no_entry_flag=""
17389
 
      else
17390
 
        # If we're using GNU nm, then we don't want the "-C" option.
17391
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17392
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17393
 
          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'
17394
 
        else
17395
 
          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'
17396
 
        fi
17397
 
 
17398
 
        # KDE requires run time linking.  Make it the default.
17399
 
        aix_use_runtimelinking=yes
17400
 
        exp_sym_flag='-bexport'
17401
 
        no_entry_flag='-bnoentry'
17402
 
      fi
17403
 
 
17404
 
      # When large executables or shared objects are built, AIX ld can
17405
 
      # have problems creating the table of contents.  If linking a library
17406
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17407
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17408
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17409
 
 
17410
 
      archive_cmds_F77=''
17411
 
      hardcode_direct_F77=yes
17412
 
      hardcode_libdir_separator_F77=':'
17413
 
      link_all_deplibs_F77=yes
17414
 
 
17415
 
      if test "$GCC" = yes; then
17416
 
        case $host_os in aix4.012|aix4.012.*)
17417
 
        # We only want to do this on AIX 4.2 and lower, the check
17418
 
        # below for broken collect2 doesn't work under 4.3+
17419
 
          collect2name=`${CC} -print-prog-name=collect2`
17420
 
          if test -f "$collect2name" && \
17421
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17422
 
          then
17423
 
          # We have reworked collect2
17424
 
          hardcode_direct_F77=yes
17425
 
          else
17426
 
          # We have old collect2
17427
 
          hardcode_direct_F77=unsupported
17428
 
          # It fails to find uninstalled libraries when the uninstalled
17429
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17430
 
          # to unsupported forces relinking
17431
 
          hardcode_minus_L_F77=yes
17432
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17433
 
          hardcode_libdir_separator_F77=
17434
 
          fi
17435
 
        esac
17436
 
        shared_flag='-shared'
17437
 
      else
17438
 
        # not using gcc
17439
 
        if test "$host_cpu" = ia64; then
17440
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17441
 
        # chokes on -Wl,-G. The following line is correct:
17442
 
          shared_flag='-G'
17443
 
        else
17444
 
        if test "$aix_use_runtimelinking" = yes; then
17445
 
            shared_flag='-qmkshrobj ${wl}-G'
17446
 
          else
17447
 
            shared_flag='-qmkshrobj'
17448
 
        fi
17449
 
        fi
17450
 
      fi
17451
 
 
17452
 
      # Let the compiler handle the export list.
17453
 
      always_export_symbols_F77=no
17454
 
      if test "$aix_use_runtimelinking" = yes; then
17455
 
        # Warning - without using the other runtime loading flags (-brtl),
17456
 
        # -berok will link without error, but may produce a broken library.
17457
 
        allow_undefined_flag_F77='-berok'
17458
 
       # Determine the default libpath from the value encoded in an empty executable.
17459
 
        cat >conftest.$ac_ext <<_ACEOF
17460
 
      program main
17461
 
 
17462
 
      end
17463
 
_ACEOF
17464
 
rm -f conftest.$ac_objext conftest$ac_exeext
17465
 
if { (ac_try="$ac_link"
17466
 
case "(($ac_try" in
17467
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17468
 
  *) ac_try_echo=$ac_try;;
17469
 
esac
17470
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17471
 
  (eval "$ac_link") 2>conftest.er1
17472
 
  ac_status=$?
17473
 
  grep -v '^ *+' conftest.er1 >conftest.err
17474
 
  rm -f conftest.er1
17475
 
  cat conftest.err >&5
17476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477
 
  (exit $ac_status); } && {
17478
 
         test -z "$ac_f77_werror_flag" ||
17479
 
         test ! -s conftest.err
17480
 
       } && test -s conftest$ac_exeext &&
17481
 
       $as_test_x conftest$ac_exeext; then
17482
 
 
17483
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17484
 
}'`
17485
 
# Check for a 64-bit object if we didn't find anything.
17486
 
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; }
17487
 
}'`; fi
17488
 
else
17489
 
  echo "$as_me: failed program was:" >&5
17490
 
sed 's/^/| /' conftest.$ac_ext >&5
17491
 
 
17492
 
 
17493
 
fi
17494
 
 
17495
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17496
 
      conftest$ac_exeext conftest.$ac_ext
17497
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17498
 
 
17499
 
        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17500
 
        archive_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
17501
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17502
 
       else
17503
 
        if test "$host_cpu" = ia64; then
17504
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17505
 
          allow_undefined_flag_F77="-z nodefs"
17506
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
17507
 
        else
17508
 
         # Determine the default libpath from the value encoded in an empty executable.
17509
 
         cat >conftest.$ac_ext <<_ACEOF
17510
 
      program main
17511
 
 
17512
 
      end
17513
 
_ACEOF
17514
 
rm -f conftest.$ac_objext conftest$ac_exeext
17515
 
if { (ac_try="$ac_link"
17516
 
case "(($ac_try" in
17517
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17518
 
  *) ac_try_echo=$ac_try;;
17519
 
esac
17520
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17521
 
  (eval "$ac_link") 2>conftest.er1
17522
 
  ac_status=$?
17523
 
  grep -v '^ *+' conftest.er1 >conftest.err
17524
 
  rm -f conftest.er1
17525
 
  cat conftest.err >&5
17526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527
 
  (exit $ac_status); } && {
17528
 
         test -z "$ac_f77_werror_flag" ||
17529
 
         test ! -s conftest.err
17530
 
       } && test -s conftest$ac_exeext &&
17531
 
       $as_test_x conftest$ac_exeext; then
17532
 
 
17533
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17534
 
}'`
17535
 
# Check for a 64-bit object if we didn't find anything.
17536
 
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; }
17537
 
}'`; fi
17538
 
else
17539
 
  echo "$as_me: failed program was:" >&5
17540
 
sed 's/^/| /' conftest.$ac_ext >&5
17541
 
 
17542
 
 
17543
 
fi
17544
 
 
17545
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17546
 
      conftest$ac_exeext conftest.$ac_ext
17547
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17548
 
 
17549
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17550
 
          # Warning - without using the other run time loading flags,
17551
 
          # -berok will link without error, but may produce a broken library.
17552
 
          no_undefined_flag_F77=' ${wl}-bernotok'
17553
 
          allow_undefined_flag_F77=' ${wl}-berok'
17554
 
          # -bexpall does not export symbols beginning with underscore (_)
17555
 
          always_export_symbols_F77=yes
17556
 
          # Exported symbols can be pulled into shared objects from archives
17557
 
          whole_archive_flag_spec_F77=' '
17558
 
          archive_cmds_need_lc_F77=yes
17559
 
          # This is similar to how AIX traditionally builds it's shared libraries.
17560
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17561
 
        fi
17562
 
      fi
17563
 
      ;;
17564
 
 
17565
 
    amigaos*)
17566
 
      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)'
17567
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17568
 
      hardcode_minus_L_F77=yes
17569
 
      # see comment about different semantics on the GNU ld section
17570
 
      ld_shlibs_F77=no
17571
 
      ;;
17572
 
 
17573
 
    bsdi4*)
17574
 
      export_dynamic_flag_spec_F77=-rdynamic
17575
 
      ;;
17576
 
 
17577
 
    cygwin* | mingw* | pw32*)
17578
 
      # When not using gcc, we currently assume that we are using
17579
 
      # Microsoft Visual C++.
17580
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17581
 
      # no search path for DLLs.
17582
 
      hardcode_libdir_flag_spec_F77=' '
17583
 
      allow_undefined_flag_F77=no
17584
 
      # Tell ltmain to make .lib files, not .a files.
17585
 
      libext=lib
17586
 
      # Tell ltmain to make .dll files, not .so files.
17587
 
      shrext=".dll"
17588
 
      # FIXME: Setting linknames here is a bad hack.
17589
 
      archive_cmds_F77='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17590
 
      # The linker will automatically build a .lib file if we build a DLL.
17591
 
      old_archive_From_new_cmds_F77='true'
17592
 
      # FIXME: Should let the user specify the lib program.
17593
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
17594
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
17595
 
      enable_shared_with_static_runtimes_F77=yes
17596
 
      ;;
17597
 
 
17598
 
    darwin* | rhapsody*)
17599
 
    if test "$GXX" = yes ; then
17600
 
      archive_cmds_need_lc_F77=no
17601
 
      case "$host_os" in
17602
 
      rhapsody* | darwin1.[012])
17603
 
        allow_undefined_flag_F77='-Wl,-undefined -Wl,suppress'
17604
 
        ;;
17605
 
      *) # Darwin 1.3 on
17606
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17607
 
          allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17608
 
        else
17609
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
17610
 
            10.012)
17611
 
              allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17612
 
              ;;
17613
 
            10.*)
17614
 
              allow_undefined_flag_F77='-Wl,-undefined -Wl,dynamic_lookup'
17615
 
              ;;
17616
 
          esac
17617
 
        fi
17618
 
        ;;
17619
 
      esac
17620
 
        lt_int_apple_cc_single_mod=no
17621
 
        output_verbose_link_cmd='echo'
17622
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17623
 
          lt_int_apple_cc_single_mod=yes
17624
 
        fi
17625
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17626
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
17627
 
        else
17628
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
17629
 
      fi
17630
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
17631
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17632
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17633
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17634
 
        else
17635
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17636
 
        fi
17637
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17638
 
      hardcode_direct_F77=no
17639
 
      hardcode_automatic_F77=yes
17640
 
      hardcode_shlibpath_var_F77=unsupported
17641
 
      whole_archive_flag_spec_F77='-all_load $convenience'
17642
 
      link_all_deplibs_F77=yes
17643
 
    else
17644
 
      ld_shlibs_F77=no
17645
 
    fi
17646
 
      ;;
17647
 
 
17648
 
    dgux*)
17649
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17650
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17651
 
      hardcode_shlibpath_var_F77=no
17652
 
      ;;
17653
 
 
17654
 
    freebsd1*)
17655
 
      ld_shlibs_F77=no
17656
 
      ;;
17657
 
 
17658
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17659
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17660
 
    # does not break anything, and helps significantly (at the cost of a little
17661
 
    # extra space).
17662
 
    freebsd2.2*)
17663
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17664
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17665
 
      hardcode_direct_F77=yes
17666
 
      hardcode_shlibpath_var_F77=no
17667
 
      ;;
17668
 
 
17669
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17670
 
    freebsd2*)
17671
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17672
 
      hardcode_direct_F77=yes
17673
 
      hardcode_minus_L_F77=yes
17674
 
      hardcode_shlibpath_var_F77=no
17675
 
      ;;
17676
 
 
17677
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17678
 
    freebsd* | kfreebsd*-gnu)
17679
 
      archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
17680
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17681
 
      hardcode_direct_F77=yes
17682
 
      hardcode_shlibpath_var_F77=no
17683
 
      ;;
17684
 
 
17685
 
    hpux9*)
17686
 
      if test "$GCC" = yes; then
17687
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17688
 
      else
17689
 
        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'
17690
 
      fi
17691
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17692
 
      hardcode_libdir_separator_F77=:
17693
 
      hardcode_direct_F77=yes
17694
 
 
17695
 
      # hardcode_minus_L: Not really in the search PATH,
17696
 
      # but as the default location of the library.
17697
 
      hardcode_minus_L_F77=yes
17698
 
      export_dynamic_flag_spec_F77='${wl}-E'
17699
 
      ;;
17700
 
 
17701
 
    hpux10* | hpux11*)
17702
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17703
 
        case "$host_cpu" in
17704
 
        hppa*64*|ia64*)
17705
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17706
 
          ;;
17707
 
        *)
17708
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
17709
 
          ;;
17710
 
        esac
17711
 
      else
17712
 
        case "$host_cpu" in
17713
 
        hppa*64*|ia64*)
17714
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17715
 
          ;;
17716
 
        *)
17717
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17718
 
          ;;
17719
 
        esac
17720
 
      fi
17721
 
      if test "$with_gnu_ld" = no; then
17722
 
        case "$host_cpu" in
17723
 
        hppa*64*)
17724
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17725
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17726
 
          hardcode_libdir_separator_F77=:
17727
 
          hardcode_direct_F77=no
17728
 
          hardcode_shlibpath_var_F77=no
17729
 
          ;;
17730
 
        ia64*)
17731
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17732
 
          hardcode_direct_F77=no
17733
 
          hardcode_shlibpath_var_F77=no
17734
 
 
17735
 
          # hardcode_minus_L: Not really in the search PATH,
17736
 
          # but as the default location of the library.
17737
 
          hardcode_minus_L_F77=yes
17738
 
          ;;
17739
 
        *)
17740
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17741
 
          hardcode_libdir_separator_F77=:
17742
 
          hardcode_direct_F77=yes
17743
 
          export_dynamic_flag_spec_F77='${wl}-E'
17744
 
 
17745
 
          # hardcode_minus_L: Not really in the search PATH,
17746
 
          # but as the default location of the library.
17747
 
          hardcode_minus_L_F77=yes
17748
 
          ;;
17749
 
        esac
17750
 
      fi
17751
 
      ;;
17752
 
 
17753
 
    irix5* | irix6* | nonstopux*)
17754
 
      if test "$GCC" = yes; then
17755
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17756
 
      else
17757
 
        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'
17758
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17759
 
      fi
17760
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17761
 
      hardcode_libdir_separator_F77=:
17762
 
      link_all_deplibs_F77=yes
17763
 
      ;;
17764
 
 
17765
 
    netbsd*)
17766
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17767
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17768
 
      else
17769
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17770
 
      fi
17771
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17772
 
      hardcode_direct_F77=yes
17773
 
      hardcode_shlibpath_var_F77=no
17774
 
      ;;
17775
 
 
17776
 
    newsos6)
17777
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17778
 
      hardcode_direct_F77=yes
17779
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17780
 
      hardcode_libdir_separator_F77=:
17781
 
      hardcode_shlibpath_var_F77=no
17782
 
      ;;
17783
 
 
17784
 
    openbsd*)
17785
 
      hardcode_direct_F77=yes
17786
 
      hardcode_shlibpath_var_F77=no
17787
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17788
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17789
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17790
 
        export_dynamic_flag_spec_F77='${wl}-E'
17791
 
      else
17792
 
       case $host_os in
17793
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17794
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17795
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
17796
 
           ;;
17797
 
         *)
17798
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17799
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17800
 
           ;;
17801
 
       esac
17802
 
      fi
17803
 
      ;;
17804
 
 
17805
 
    os2*)
17806
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17807
 
      hardcode_minus_L_F77=yes
17808
 
      allow_undefined_flag_F77=unsupported
17809
 
      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
17810
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17811
 
      ;;
17812
 
 
17813
 
    osf3*)
17814
 
      if test "$GCC" = yes; then
17815
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17816
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17817
 
      else
17818
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17819
 
        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'
17820
 
      fi
17821
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17822
 
      hardcode_libdir_separator_F77=:
17823
 
      ;;
17824
 
 
17825
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17826
 
      if test "$GCC" = yes; then
17827
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17828
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17829
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17830
 
      else
17831
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17832
 
        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'
17833
 
        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~
17834
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
17835
 
 
17836
 
        # Both c and cxx compiler support -rpath directly
17837
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
17838
 
      fi
17839
 
      hardcode_libdir_separator_F77=:
17840
 
      ;;
17841
 
 
17842
 
    sco3.2v5*)
17843
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17844
 
      hardcode_shlibpath_var_F77=no
17845
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
17846
 
      runpath_var=LD_RUN_PATH
17847
 
      hardcode_runpath_var=yes
17848
 
      ;;
17849
 
 
17850
 
    solaris*)
17851
 
      no_undefined_flag_F77=' -z text'
17852
 
      if test "$GCC" = yes; then
17853
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17854
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17855
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
17856
 
      else
17857
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17858
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17859
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17860
 
      fi
17861
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17862
 
      hardcode_shlibpath_var_F77=no
17863
 
      case $host_os in
17864
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17865
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17866
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
17867
 
      esac
17868
 
      link_all_deplibs_F77=yes
17869
 
      ;;
17870
 
 
17871
 
    sunos4*)
17872
 
      if test "x$host_vendor" = xsequent; then
17873
 
        # Use $CC to link under sequent, because it throws in some extra .o
17874
 
        # files that make .init and .fini sections work.
17875
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
17876
 
      else
17877
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17878
 
      fi
17879
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17880
 
      hardcode_direct_F77=yes
17881
 
      hardcode_minus_L_F77=yes
17882
 
      hardcode_shlibpath_var_F77=no
17883
 
      ;;
17884
 
 
17885
 
    sysv4)
17886
 
      case $host_vendor in
17887
 
        sni)
17888
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17889
 
          hardcode_direct_F77=yes # is this really true???
17890
 
        ;;
17891
 
        siemens)
17892
 
          ## LD is ld it makes a PLAMLIB
17893
 
          ## CC just makes a GrossModule.
17894
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17895
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
17896
 
          hardcode_direct_F77=no
17897
 
        ;;
17898
 
        motorola)
17899
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17900
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17901
 
        ;;
17902
 
      esac
17903
 
      runpath_var='LD_RUN_PATH'
17904
 
      hardcode_shlibpath_var_F77=no
17905
 
      ;;
17906
 
 
17907
 
    sysv4.3*)
17908
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17909
 
      hardcode_shlibpath_var_F77=no
17910
 
      export_dynamic_flag_spec_F77='-Bexport'
17911
 
      ;;
17912
 
 
17913
 
    sysv4*MP*)
17914
 
      if test -d /usr/nec; then
17915
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17916
 
        hardcode_shlibpath_var_F77=no
17917
 
        runpath_var=LD_RUN_PATH
17918
 
        hardcode_runpath_var=yes
17919
 
        ld_shlibs_F77=yes
17920
 
      fi
17921
 
      ;;
17922
 
 
17923
 
    sysv4.2uw2*)
17924
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17925
 
      hardcode_direct_F77=yes
17926
 
      hardcode_minus_L_F77=no
17927
 
      hardcode_shlibpath_var_F77=no
17928
 
      hardcode_runpath_var=yes
17929
 
      runpath_var=LD_RUN_PATH
17930
 
      ;;
17931
 
 
17932
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
17933
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
17934
 
      if test "$GCC" = yes; then
17935
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17936
 
      else
17937
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17938
 
      fi
17939
 
      runpath_var='LD_RUN_PATH'
17940
 
      hardcode_shlibpath_var_F77=no
17941
 
      ;;
17942
 
 
17943
 
    sysv5*)
17944
 
      no_undefined_flag_F77=' -z text'
17945
 
      # $CC -shared without GNU ld will not create a library from C++
17946
 
      # object files and a static libstdc++, better avoid it by now
17947
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17948
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17949
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17950
 
      hardcode_libdir_flag_spec_F77=
17951
 
      hardcode_shlibpath_var_F77=no
17952
 
      runpath_var='LD_RUN_PATH'
17953
 
      ;;
17954
 
 
17955
 
    uts4*)
17956
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17957
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17958
 
      hardcode_shlibpath_var_F77=no
17959
 
      ;;
17960
 
 
17961
 
    *)
17962
 
      ld_shlibs_F77=no
17963
 
      ;;
17964
 
    esac
17965
 
  fi
17966
 
 
17967
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17968
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17969
 
test "$ld_shlibs_F77" = no && can_build_shared=no
17970
 
 
17971
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17972
 
if test "$GCC" = yes; then
17973
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17974
 
fi
17975
 
 
17976
 
#
17977
 
# Do we need to explicitly link libc?
17978
 
#
17979
 
case "x$archive_cmds_need_lc_F77" in
17980
 
x|xyes)
17981
 
  # Assume -lc should be added
17982
 
  archive_cmds_need_lc_F77=yes
17983
 
 
17984
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17985
 
    case $archive_cmds_F77 in
17986
 
    *'~'*)
17987
 
      # FIXME: we may have to deal with multi-command sequences.
17988
 
      ;;
17989
 
    '$CC '*)
17990
 
      # Test whether the compiler implicitly links with -lc since on some
17991
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17992
 
      # to ld, don't add -lc before -lgcc.
17993
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17994
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17995
 
      $rm conftest*
17996
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17997
 
 
17998
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17999
 
  (eval $ac_compile) 2>&5
18000
 
  ac_status=$?
18001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002
 
  (exit $ac_status); } 2>conftest.err; then
18003
 
        soname=conftest
18004
 
        lib=conftest
18005
 
        libobjs=conftest.$ac_objext
18006
 
        deplibs=
18007
 
        wl=$lt_prog_compiler_wl_F77
18008
 
        compiler_flags=-v
18009
 
        linker_flags=-v
18010
 
        verstring=
18011
 
        output_objdir=.
18012
 
        libname=conftest
18013
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
18014
 
        allow_undefined_flag_F77=
18015
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18016
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18017
 
  ac_status=$?
18018
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019
 
  (exit $ac_status); }
18020
 
        then
18021
 
          archive_cmds_need_lc_F77=no
18022
 
        else
18023
 
          archive_cmds_need_lc_F77=yes
18024
 
        fi
18025
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
18026
 
      else
18027
 
        cat conftest.err 1>&5
18028
 
      fi
18029
 
      $rm conftest*
18030
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18031
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
18032
 
      ;;
18033
 
    esac
18034
 
  fi
18035
 
  ;;
18036
 
esac
18037
 
 
18038
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18039
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18040
 
library_names_spec=
18041
 
libname_spec='lib$name'
18042
 
soname_spec=
18043
 
shrext=".so"
18044
 
postinstall_cmds=
18045
 
postuninstall_cmds=
18046
 
finish_cmds=
18047
 
finish_eval=
18048
 
shlibpath_var=
18049
 
shlibpath_overrides_runpath=unknown
18050
 
version_type=none
18051
 
dynamic_linker="$host_os ld.so"
18052
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18053
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18054
 
need_lib_prefix=unknown
18055
 
hardcode_into_libs=no
18056
 
 
18057
 
# when you set need_version to no, make sure it does not cause -set_version
18058
 
# flags to be left without arguments
18059
 
need_version=unknown
18060
 
 
18061
 
case $host_os in
18062
 
aix3*)
18063
 
  version_type=linux
18064
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18065
 
  shlibpath_var=LIBPATH
18066
 
 
18067
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18068
 
  soname_spec='${libname}${release}${shared_ext}$major'
18069
 
  ;;
18070
 
 
18071
 
aix4* | aix5*)
18072
 
  version_type=linux
18073
 
  need_lib_prefix=no
18074
 
  need_version=no
18075
 
  hardcode_into_libs=yes
18076
 
  if test "$host_cpu" = ia64; then
18077
 
    # AIX 5 supports IA64
18078
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18079
 
    shlibpath_var=LD_LIBRARY_PATH
18080
 
  else
18081
 
    # With GCC up to 2.95.x, collect2 would create an import file
18082
 
    # for dependence libraries.  The import file would start with
18083
 
    # the line `#! .'.  This would cause the generated library to
18084
 
    # depend on `.', always an invalid library.  This was fixed in
18085
 
    # development snapshots of GCC prior to 3.0.
18086
 
    case $host_os in
18087
 
      aix4 | aix4.[01] | aix4.[01].*)
18088
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18089
 
           echo ' yes '
18090
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18091
 
        :
18092
 
      else
18093
 
        can_build_shared=no
18094
 
      fi
18095
 
      ;;
18096
 
    esac
18097
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18098
 
    # soname into executable. Probably we can add versioning support to
18099
 
    # collect2, so additional links can be useful in future.
18100
 
    if test "$aix_use_runtimelinking" = yes; then
18101
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18102
 
      # instead of lib<name>.a to let people know that these are not
18103
 
      # typical AIX shared libraries.
18104
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18105
 
    else
18106
 
      # We preserve .a as extension for shared libraries through AIX4.2
18107
 
      # and later when we are not doing run time linking.
18108
 
      library_names_spec='${libname}${release}.a $libname.a'
18109
 
      soname_spec='${libname}${release}${shared_ext}$major'
18110
 
    fi
18111
 
    shlibpath_var=LIBPATH
18112
 
  fi
18113
 
  ;;
18114
 
 
18115
 
amigaos*)
18116
 
  library_names_spec='$libname.ixlibrary $libname.a'
18117
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18118
 
  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'
18119
 
  ;;
18120
 
 
18121
 
beos*)
18122
 
  library_names_spec='${libname}${shared_ext}'
18123
 
  dynamic_linker="$host_os ld.so"
18124
 
  shlibpath_var=LIBRARY_PATH
18125
 
  ;;
18126
 
 
18127
 
bsdi4*)
18128
 
  version_type=linux
18129
 
  need_version=no
18130
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18131
 
  soname_spec='${libname}${release}${shared_ext}$major'
18132
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18133
 
  shlibpath_var=LD_LIBRARY_PATH
18134
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18135
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18136
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18137
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18138
 
  # libtool to hard-code these into programs
18139
 
  ;;
18140
 
 
18141
 
cygwin* | mingw* | pw32*)
18142
 
  version_type=windows
18143
 
  shrext=".dll"
18144
 
  need_version=no
18145
 
  need_lib_prefix=no
18146
 
 
18147
 
  case $GCC,$host_os in
18148
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18149
 
    library_names_spec='$libname.dll.a'
18150
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18151
 
    postinstall_cmds='base_file=`basename \${file}`~
18152
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18153
 
      dldir=$destdir/`dirname \$dlpath`~
18154
 
      test -d \$dldir || mkdir -p \$dldir~
18155
 
      $install_prog $dir/$dlname \$dldir/$dlname'
18156
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18157
 
      dlpath=$dir/\$dldll~
18158
 
       $rm \$dlpath'
18159
 
    shlibpath_overrides_runpath=yes
18160
 
 
18161
 
    case $host_os in
18162
 
    cygwin*)
18163
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18164
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18165
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18166
 
      ;;
18167
 
    mingw*)
18168
 
      # MinGW DLLs use traditional 'lib' prefix
18169
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18170
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18171
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18172
 
        # It is most probably a Windows format PATH printed by
18173
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18174
 
        # path with ; separators, and with drive letters. We can handle the
18175
 
        # drive letters (cygwin fileutils understands them), so leave them,
18176
 
        # especially as we might pass files found there to a mingw objdump,
18177
 
        # which wouldn't understand a cygwinified path. Ahh.
18178
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18179
 
      else
18180
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18181
 
      fi
18182
 
      ;;
18183
 
    pw32*)
18184
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18185
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18186
 
      ;;
18187
 
    esac
18188
 
    ;;
18189
 
 
18190
 
  *)
18191
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18192
 
    ;;
18193
 
  esac
18194
 
  dynamic_linker='Win32 ld.exe'
18195
 
  # FIXME: first we should search . and the directory the executable is in
18196
 
  shlibpath_var=PATH
18197
 
  ;;
18198
 
 
18199
 
darwin* | rhapsody*)
18200
 
  dynamic_linker="$host_os dyld"
18201
 
  version_type=darwin
18202
 
  need_lib_prefix=no
18203
 
  need_version=no
18204
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18205
 
  soname_spec='${libname}${release}${major}$shared_ext'
18206
 
  shlibpath_overrides_runpath=yes
18207
 
  shlibpath_var=DYLD_LIBRARY_PATH
18208
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
18209
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18210
 
  if test "$GCC" = yes; then
18211
 
    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"`
18212
 
  else
18213
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18214
 
  fi
18215
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18216
 
  ;;
18217
 
 
18218
 
dgux*)
18219
 
  version_type=linux
18220
 
  need_lib_prefix=no
18221
 
  need_version=no
18222
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18223
 
  soname_spec='${libname}${release}${shared_ext}$major'
18224
 
  shlibpath_var=LD_LIBRARY_PATH
18225
 
  ;;
18226
 
 
18227
 
freebsd1*)
18228
 
  dynamic_linker=no
18229
 
  ;;
18230
 
 
18231
 
kfreebsd*-gnu*)
18232
 
  version_type=linux
18233
 
  need_lib_prefix=no
18234
 
  need_version=no
18235
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18236
 
  soname_spec='${libname}${release}${shared_ext}$major'
18237
 
  shlibpath_var=LD_LIBRARY_PATH
18238
 
  shlibpath_overrides_runpath=no
18239
 
  hardcode_into_libs=yes
18240
 
  dynamic_linker='GNU ld.so'
18241
 
  ;;
18242
 
 
18243
 
freebsd*)
18244
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18245
 
  version_type=freebsd-$objformat
18246
 
  case $version_type in
18247
 
    freebsd-elf*)
18248
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18249
 
      need_version=no
18250
 
      need_lib_prefix=no
18251
 
      ;;
18252
 
    freebsd-*)
18253
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18254
 
      need_version=yes
18255
 
      ;;
18256
 
  esac
18257
 
  shlibpath_var=LD_LIBRARY_PATH
18258
 
  case $host_os in
18259
 
  freebsd2*)
18260
 
    shlibpath_overrides_runpath=yes
18261
 
    ;;
18262
 
  freebsd3.01* | freebsdelf3.01*)
18263
 
    shlibpath_overrides_runpath=yes
18264
 
    hardcode_into_libs=yes
18265
 
    ;;
18266
 
  *) # from 3.2 on
18267
 
    shlibpath_overrides_runpath=no
18268
 
    hardcode_into_libs=yes
18269
 
    ;;
18270
 
  esac
18271
 
  ;;
18272
 
 
18273
 
gnu*)
18274
 
  version_type=linux
18275
 
  need_lib_prefix=no
18276
 
  need_version=no
18277
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18278
 
  soname_spec='${libname}${release}${shared_ext}$major'
18279
 
  shlibpath_var=LD_LIBRARY_PATH
18280
 
  hardcode_into_libs=yes
18281
 
  ;;
18282
 
 
18283
 
hpux9* | hpux10* | hpux11*)
18284
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18285
 
  # link against other versions.
18286
 
  version_type=sunos
18287
 
  need_lib_prefix=no
18288
 
  need_version=no
18289
 
  case "$host_cpu" in
18290
 
  ia64*)
18291
 
    shrext='.so'
18292
 
    hardcode_into_libs=yes
18293
 
    dynamic_linker="$host_os dld.so"
18294
 
    shlibpath_var=LD_LIBRARY_PATH
18295
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18296
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18297
 
    soname_spec='${libname}${release}${shared_ext}$major'
18298
 
    if test "X$HPUX_IA64_MODE" = X32; then
18299
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18300
 
    else
18301
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18302
 
    fi
18303
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18304
 
    ;;
18305
 
   hppa*64*)
18306
 
     shrext='.sl'
18307
 
     hardcode_into_libs=yes
18308
 
     dynamic_linker="$host_os dld.sl"
18309
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18310
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18311
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18312
 
     soname_spec='${libname}${release}${shared_ext}$major'
18313
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18314
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18315
 
     ;;
18316
 
   *)
18317
 
    shrext='.sl'
18318
 
    dynamic_linker="$host_os dld.sl"
18319
 
    shlibpath_var=SHLIB_PATH
18320
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18321
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18322
 
    soname_spec='${libname}${release}${shared_ext}$major'
18323
 
    ;;
18324
 
  esac
18325
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18326
 
  postinstall_cmds='chmod 555 $lib'
18327
 
  ;;
18328
 
 
18329
 
irix5* | irix6* | nonstopux*)
18330
 
  case $host_os in
18331
 
    nonstopux*) version_type=nonstopux ;;
18332
 
    *)
18333
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18334
 
                version_type=linux
18335
 
        else
18336
 
                version_type=irix
18337
 
        fi ;;
18338
 
  esac
18339
 
  need_lib_prefix=no
18340
 
  need_version=no
18341
 
  soname_spec='${libname}${release}${shared_ext}$major'
18342
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18343
 
  case $host_os in
18344
 
  irix5* | nonstopux*)
18345
 
    libsuff= shlibsuff=
18346
 
    ;;
18347
 
  *)
18348
 
    case $LD in # libtool.m4 will add one of these switches to LD
18349
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18350
 
      libsuff= shlibsuff= libmagic=32-bit;;
18351
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18352
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18353
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18354
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18355
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18356
 
    esac
18357
 
    ;;
18358
 
  esac
18359
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18360
 
  shlibpath_overrides_runpath=no
18361
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18362
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18363
 
  hardcode_into_libs=yes
18364
 
  ;;
18365
 
 
18366
 
# No shared lib support for Linux oldld, aout, or coff.
18367
 
linux*oldld* | linux*aout* | linux*coff*)
18368
 
  dynamic_linker=no
18369
 
  ;;
18370
 
 
18371
 
# This must be Linux ELF.
18372
 
linux*)
18373
 
  version_type=linux
18374
 
  need_lib_prefix=no
18375
 
  need_version=no
18376
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18377
 
  soname_spec='${libname}${release}${shared_ext}$major'
18378
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18379
 
  libsuff=
18380
 
  if test "x$LINUX_64_MODE" = x64; then
18381
 
    # Some platforms are per default 64-bit, so there's no /lib64
18382
 
    if test -d /lib64; then
18383
 
      libsuff=64
18384
 
    fi
18385
 
  fi
18386
 
  shlibpath_var=LD_LIBRARY_PATH
18387
 
  shlibpath_overrides_runpath=no
18388
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
18389
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18390
 
  # This implies no fast_install, which is unacceptable.
18391
 
  # Some rework will be needed to allow for fast_install
18392
 
  # before this can be enabled.
18393
 
  hardcode_into_libs=yes
18394
 
 
18395
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18396
 
  # powerpc, because MkLinux only supported shared libraries with the
18397
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18398
 
  # most powerpc-linux boxes support dynamic linking these days and
18399
 
  # people can always --disable-shared, the test was removed, and we
18400
 
  # assume the GNU/Linux dynamic linker is in use.
18401
 
  dynamic_linker='GNU/Linux ld.so'
18402
 
  ;;
18403
 
 
18404
 
netbsd*)
18405
 
  version_type=sunos
18406
 
  need_lib_prefix=no
18407
 
  need_version=no
18408
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18409
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18410
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18411
 
    dynamic_linker='NetBSD (a.out) ld.so'
18412
 
  else
18413
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
18414
 
    soname_spec='${libname}${release}${shared_ext}$major'
18415
 
    dynamic_linker='NetBSD ld.elf_so'
18416
 
  fi
18417
 
  shlibpath_var=LD_LIBRARY_PATH
18418
 
  shlibpath_overrides_runpath=yes
18419
 
  hardcode_into_libs=yes
18420
 
  ;;
18421
 
 
18422
 
newsos6)
18423
 
  version_type=linux
18424
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18425
 
  shlibpath_var=LD_LIBRARY_PATH
18426
 
  shlibpath_overrides_runpath=yes
18427
 
  ;;
18428
 
 
18429
 
nto-qnx*)
18430
 
  version_type=linux
18431
 
  need_lib_prefix=no
18432
 
  need_version=no
18433
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18434
 
  soname_spec='${libname}${release}${shared_ext}$major'
18435
 
  shlibpath_var=LD_LIBRARY_PATH
18436
 
  shlibpath_overrides_runpath=yes
18437
 
  ;;
18438
 
 
18439
 
openbsd*)
18440
 
  version_type=sunos
18441
 
  need_lib_prefix=no
18442
 
  need_version=no
18443
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18444
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18445
 
  shlibpath_var=LD_LIBRARY_PATH
18446
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18447
 
    case $host_os in
18448
 
      openbsd2.[89] | openbsd2.[89].*)
18449
 
        shlibpath_overrides_runpath=no
18450
 
        ;;
18451
 
      *)
18452
 
        shlibpath_overrides_runpath=yes
18453
 
        ;;
18454
 
      esac
18455
 
  else
18456
 
    shlibpath_overrides_runpath=yes
18457
 
  fi
18458
 
  ;;
18459
 
 
18460
 
os2*)
18461
 
  libname_spec='$name'
18462
 
  shrext=".dll"
18463
 
  need_lib_prefix=no
18464
 
  library_names_spec='$libname${shared_ext} $libname.a'
18465
 
  dynamic_linker='OS/2 ld.exe'
18466
 
  shlibpath_var=LIBPATH
18467
 
  ;;
18468
 
 
18469
 
osf3* | osf4* | osf5*)
18470
 
  version_type=osf
18471
 
  need_lib_prefix=no
18472
 
  need_version=no
18473
 
  soname_spec='${libname}${release}${shared_ext}$major'
18474
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18475
 
  shlibpath_var=LD_LIBRARY_PATH
18476
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18477
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18478
 
  ;;
18479
 
 
18480
 
sco3.2v5*)
18481
 
  version_type=osf
18482
 
  soname_spec='${libname}${release}${shared_ext}$major'
18483
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18484
 
  shlibpath_var=LD_LIBRARY_PATH
18485
 
  ;;
18486
 
 
18487
 
solaris*)
18488
 
  version_type=linux
18489
 
  need_lib_prefix=no
18490
 
  need_version=no
18491
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18492
 
  soname_spec='${libname}${release}${shared_ext}$major'
18493
 
  shlibpath_var=LD_LIBRARY_PATH
18494
 
  shlibpath_overrides_runpath=yes
18495
 
  hardcode_into_libs=yes
18496
 
  # ldd complains unless libraries are executable
18497
 
  postinstall_cmds='chmod +x $lib'
18498
 
  ;;
18499
 
 
18500
 
sunos4*)
18501
 
  version_type=sunos
18502
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18503
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18504
 
  shlibpath_var=LD_LIBRARY_PATH
18505
 
  shlibpath_overrides_runpath=yes
18506
 
  if test "$with_gnu_ld" = yes; then
18507
 
    need_lib_prefix=no
18508
 
  fi
18509
 
  need_version=yes
18510
 
  ;;
18511
 
 
18512
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18513
 
  version_type=linux
18514
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18515
 
  soname_spec='${libname}${release}${shared_ext}$major'
18516
 
  shlibpath_var=LD_LIBRARY_PATH
18517
 
  case $host_vendor in
18518
 
    sni)
18519
 
      shlibpath_overrides_runpath=no
18520
 
      need_lib_prefix=no
18521
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18522
 
      runpath_var=LD_RUN_PATH
18523
 
      ;;
18524
 
    siemens)
18525
 
      need_lib_prefix=no
18526
 
      ;;
18527
 
    motorola)
18528
 
      need_lib_prefix=no
18529
 
      need_version=no
18530
 
      shlibpath_overrides_runpath=no
18531
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18532
 
      ;;
18533
 
  esac
18534
 
  ;;
18535
 
 
18536
 
sysv4*MP*)
18537
 
  if test -d /usr/nec ;then
18538
 
    version_type=linux
18539
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18540
 
    soname_spec='$libname${shared_ext}.$major'
18541
 
    shlibpath_var=LD_LIBRARY_PATH
18542
 
  fi
18543
 
  ;;
18544
 
 
18545
 
uts4*)
18546
 
  version_type=linux
18547
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18548
 
  soname_spec='${libname}${release}${shared_ext}$major'
18549
 
  shlibpath_var=LD_LIBRARY_PATH
18550
 
  ;;
18551
 
 
18552
 
*)
18553
 
  dynamic_linker=no
18554
 
  ;;
18555
 
esac
18556
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18557
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18558
 
test "$dynamic_linker" = no && can_build_shared=no
18559
 
 
18560
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18561
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18562
 
hardcode_action_F77=
18563
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
18564
 
   test -n "$runpath_var F77" || \
18565
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
18566
 
 
18567
 
  # We can hardcode non-existant directories.
18568
 
  if test "$hardcode_direct_F77" != no &&
18569
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18570
 
     # have to relink, otherwise we might link with an installed library
18571
 
     # when we should be linking with a yet-to-be-installed one
18572
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18573
 
     test "$hardcode_minus_L_F77" != no; then
18574
 
    # Linking always hardcodes the temporary library directory.
18575
 
    hardcode_action_F77=relink
18576
 
  else
18577
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18578
 
    hardcode_action_F77=immediate
18579
 
  fi
18580
 
else
18581
 
  # We cannot hardcode anything, or else we can only hardcode existing
18582
 
  # directories.
18583
 
  hardcode_action_F77=unsupported
18584
 
fi
18585
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18586
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
18587
 
 
18588
 
if test "$hardcode_action_F77" = relink; then
18589
 
  # Fast installation is not supported
18590
 
  enable_fast_install=no
18591
 
elif test "$shlibpath_overrides_runpath" = yes ||
18592
 
     test "$enable_shared" = no; then
18593
 
  # Fast installation is not necessary
18594
 
  enable_fast_install=needless
18595
 
fi
18596
 
 
18597
 
striplib=
18598
 
old_striplib=
18599
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18600
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
18601
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18602
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18603
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18604
 
  { echo "$as_me:$LINENO: result: yes" >&5
18605
 
echo "${ECHO_T}yes" >&6; }
18606
 
else
18607
 
# FIXME - insert some real tests, host_os isn't really good enough
18608
 
  case $host_os in
18609
 
   darwin*)
18610
 
       if test -n "$STRIP" ; then
18611
 
         striplib="$STRIP -x"
18612
 
         { echo "$as_me:$LINENO: result: yes" >&5
18613
 
echo "${ECHO_T}yes" >&6; }
18614
 
       else
18615
 
  { echo "$as_me:$LINENO: result: no" >&5
18616
 
echo "${ECHO_T}no" >&6; }
18617
 
fi
18618
 
       ;;
18619
 
   *)
18620
 
  { echo "$as_me:$LINENO: result: no" >&5
18621
 
echo "${ECHO_T}no" >&6; }
18622
 
    ;;
18623
 
  esac
18624
 
fi
18625
 
 
18626
 
 
18627
 
 
18628
 
# The else clause should only fire when bootstrapping the
18629
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18630
 
# with your package, and you will get complaints that there are
18631
 
# no rules to generate ltmain.sh.
18632
 
if test -f "$ltmain"; then
18633
 
  # See if we are running on zsh, and set the options which allow our commands through
18634
 
  # without removal of \ escapes.
18635
 
  if test -n "${ZSH_VERSION+set}" ; then
18636
 
    setopt NO_GLOB_SUBST
18637
 
  fi
18638
 
  # Now quote all the things that may contain metacharacters while being
18639
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18640
 
  # variables and quote the copies for generation of the libtool script.
18641
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18642
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18643
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18644
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18645
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18646
 
    lt_cv_sys_global_symbol_to_c_name_address \
18647
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18648
 
    old_postinstall_cmds old_postuninstall_cmds \
18649
 
    compiler_F77 \
18650
 
    CC_F77 \
18651
 
    LD_F77 \
18652
 
    lt_prog_compiler_wl_F77 \
18653
 
    lt_prog_compiler_pic_F77 \
18654
 
    lt_prog_compiler_static_F77 \
18655
 
    lt_prog_compiler_no_builtin_flag_F77 \
18656
 
    export_dynamic_flag_spec_F77 \
18657
 
    thread_safe_flag_spec_F77 \
18658
 
    whole_archive_flag_spec_F77 \
18659
 
    enable_shared_with_static_runtimes_F77 \
18660
 
    old_archive_cmds_F77 \
18661
 
    old_archive_from_new_cmds_F77 \
18662
 
    predep_objects_F77 \
18663
 
    postdep_objects_F77 \
18664
 
    predeps_F77 \
18665
 
    postdeps_F77 \
18666
 
    compiler_lib_search_path_F77 \
18667
 
    archive_cmds_F77 \
18668
 
    archive_expsym_cmds_F77 \
18669
 
    postinstall_cmds_F77 \
18670
 
    postuninstall_cmds_F77 \
18671
 
    old_archive_from_expsyms_cmds_F77 \
18672
 
    allow_undefined_flag_F77 \
18673
 
    no_undefined_flag_F77 \
18674
 
    export_symbols_cmds_F77 \
18675
 
    hardcode_libdir_flag_spec_F77 \
18676
 
    hardcode_libdir_flag_spec_ld_F77 \
18677
 
    hardcode_libdir_separator_F77 \
18678
 
    hardcode_automatic_F77 \
18679
 
    module_cmds_F77 \
18680
 
    module_expsym_cmds_F77 \
18681
 
    lt_cv_prog_compiler_c_o_F77 \
18682
 
    exclude_expsyms_F77 \
18683
 
    include_expsyms_F77; do
18684
 
 
18685
 
    case $var in
18686
 
    old_archive_cmds_F77 | \
18687
 
    old_archive_from_new_cmds_F77 | \
18688
 
    archive_cmds_F77 | \
18689
 
    archive_expsym_cmds_F77 | \
18690
 
    module_cmds_F77 | \
18691
 
    module_expsym_cmds_F77 | \
18692
 
    old_archive_from_expsyms_cmds_F77 | \
18693
 
    export_symbols_cmds_F77 | \
18694
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18695
 
    postinstall_cmds | postuninstall_cmds | \
18696
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18697
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18698
 
      # Double-quote double-evaled strings.
18699
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18700
 
      ;;
18701
 
    *)
18702
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18703
 
      ;;
18704
 
    esac
18705
 
  done
18706
 
 
18707
 
  case $lt_echo in
18708
 
  *'\$0 --fallback-echo"')
18709
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18710
 
    ;;
18711
 
  esac
18712
 
 
18713
 
cfgfile="$ofile"
18714
 
 
18715
 
  cat <<__EOF__ >> "$cfgfile"
18716
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18717
 
 
18718
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18719
 
 
18720
 
# Shell to use when invoking shell scripts.
18721
 
SHELL=$lt_SHELL
18722
 
 
18723
 
# Whether or not to build shared libraries.
18724
 
build_libtool_libs=$enable_shared
18725
 
 
18726
 
# Whether or not to build static libraries.
18727
 
build_old_libs=$enable_static
18728
 
 
18729
 
# Whether or not to add -lc for building shared libraries.
18730
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
18731
 
 
18732
 
# Whether or not to disallow shared libs when runtime libs are static
18733
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18734
 
 
18735
 
# Whether or not to optimize for fast installation.
18736
 
fast_install=$enable_fast_install
18737
 
 
18738
 
# The host system.
18739
 
host_alias=$host_alias
18740
 
host=$host
18741
 
 
18742
 
# An echo program that does not interpret backslashes.
18743
 
echo=$lt_echo
18744
 
 
18745
 
# The archiver.
18746
 
AR=$lt_AR
18747
 
AR_FLAGS=$lt_AR_FLAGS
18748
 
 
18749
 
# A C compiler.
18750
 
LTCC=$lt_LTCC
18751
 
 
18752
 
# A language-specific compiler.
18753
 
CC=$lt_compiler_F77
18754
 
 
18755
 
# Is the compiler the GNU C compiler?
18756
 
with_gcc=$GCC_F77
18757
 
 
18758
 
# An ERE matcher.
18759
 
EGREP=$lt_EGREP
18760
 
 
18761
 
# The linker used to build libraries.
18762
 
LD=$lt_LD_F77
18763
 
 
18764
 
# Whether we need hard or soft links.
18765
 
LN_S=$lt_LN_S
18766
 
 
18767
 
# A BSD-compatible nm program.
18768
 
NM=$lt_NM
18769
 
 
18770
 
# A symbol stripping program
18771
 
STRIP=$STRIP
18772
 
 
18773
 
# Used to examine libraries when file_magic_cmd begins "file"
18774
 
MAGIC_CMD=$MAGIC_CMD
18775
 
 
18776
 
# Used on cygwin: DLL creation program.
18777
 
DLLTOOL="$DLLTOOL"
18778
 
 
18779
 
# Used on cygwin: object dumper.
18780
 
OBJDUMP="$OBJDUMP"
18781
 
 
18782
 
# Used on cygwin: assembler.
18783
 
AS="$AS"
18784
 
 
18785
 
# The name of the directory that contains temporary libtool files.
18786
 
objdir=$objdir
18787
 
 
18788
 
# How to create reloadable object files.
18789
 
reload_flag=$lt_reload_flag
18790
 
reload_cmds=$lt_reload_cmds
18791
 
 
18792
 
# How to pass a linker flag through the compiler.
18793
 
wl=$lt_lt_prog_compiler_wl_F77
18794
 
 
18795
 
# Object file suffix (normally "o").
18796
 
objext="$ac_objext"
18797
 
 
18798
 
# Old archive suffix (normally "a").
18799
 
libext="$libext"
18800
 
 
18801
 
# Shared library suffix (normally ".so").
18802
 
shrext='$shrext'
18803
 
 
18804
 
# Executable file suffix (normally "").
18805
 
exeext="$exeext"
18806
 
 
18807
 
# Additional compiler flags for building library objects.
18808
 
pic_flag=$lt_lt_prog_compiler_pic_F77
18809
 
pic_mode=$pic_mode
18810
 
 
18811
 
# What is the maximum length of a command?
18812
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18813
 
 
18814
 
# Does compiler simultaneously support -c and -o options?
18815
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18816
 
 
18817
 
# Must we lock files when doing compilation ?
18818
 
need_locks=$lt_need_locks
18819
 
 
18820
 
# Do we need the lib prefix for modules?
18821
 
need_lib_prefix=$need_lib_prefix
18822
 
 
18823
 
# Do we need a version for libraries?
18824
 
need_version=$need_version
18825
 
 
18826
 
# Whether dlopen is supported.
18827
 
dlopen_support=$enable_dlopen
18828
 
 
18829
 
# Whether dlopen of programs is supported.
18830
 
dlopen_self=$enable_dlopen_self
18831
 
 
18832
 
# Whether dlopen of statically linked programs is supported.
18833
 
dlopen_self_static=$enable_dlopen_self_static
18834
 
 
18835
 
# Compiler flag to prevent dynamic linking.
18836
 
link_static_flag=$lt_lt_prog_compiler_static_F77
18837
 
 
18838
 
# Compiler flag to turn off builtin functions.
18839
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18840
 
 
18841
 
# Compiler flag to allow reflexive dlopens.
18842
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18843
 
 
18844
 
# Compiler flag to generate shared objects directly from archives.
18845
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18846
 
 
18847
 
# Compiler flag to generate thread-safe objects.
18848
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18849
 
 
18850
 
# Library versioning type.
18851
 
version_type=$version_type
18852
 
 
18853
 
# Format of library name prefix.
18854
 
libname_spec=$lt_libname_spec
18855
 
 
18856
 
# List of archive names.  First name is the real one, the rest are links.
18857
 
# The last name is the one that the linker finds with -lNAME.
18858
 
library_names_spec=$lt_library_names_spec
18859
 
 
18860
 
# The coded name of the library, if different from the real name.
18861
 
soname_spec=$lt_soname_spec
18862
 
 
18863
 
# Commands used to build and install an old-style archive.
18864
 
RANLIB=$lt_RANLIB
18865
 
old_archive_cmds=$lt_old_archive_cmds_F77
18866
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18867
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18868
 
 
18869
 
# Create an old-style archive from a shared archive.
18870
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18871
 
 
18872
 
# Create a temporary old-style archive to link instead of a shared archive.
18873
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18874
 
 
18875
 
# Commands used to build and install a shared archive.
18876
 
archive_cmds=$lt_archive_cmds_F77
18877
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18878
 
postinstall_cmds=$lt_postinstall_cmds
18879
 
postuninstall_cmds=$lt_postuninstall_cmds
18880
 
 
18881
 
# Commands used to build a loadable module (assumed same as above if empty)
18882
 
module_cmds=$lt_module_cmds_F77
18883
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
18884
 
 
18885
 
# Commands to strip libraries.
18886
 
old_striplib=$lt_old_striplib
18887
 
striplib=$lt_striplib
18888
 
 
18889
 
# Dependencies to place before the objects being linked to create a
18890
 
# shared library.
18891
 
predep_objects=$lt_predep_objects_F77
18892
 
 
18893
 
# Dependencies to place after the objects being linked to create a
18894
 
# shared library.
18895
 
postdep_objects=$lt_postdep_objects_F77
18896
 
 
18897
 
# Dependencies to place before the objects being linked to create a
18898
 
# shared library.
18899
 
predeps=$lt_predeps_F77
18900
 
 
18901
 
# Dependencies to place after the objects being linked to create a
18902
 
# shared library.
18903
 
postdeps=$lt_postdeps_F77
18904
 
 
18905
 
# The library search path used internally by the compiler when linking
18906
 
# a shared library.
18907
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18908
 
 
18909
 
# Method to check whether dependent libraries are shared objects.
18910
 
deplibs_check_method=$lt_deplibs_check_method
18911
 
 
18912
 
# Command to use when deplibs_check_method == file_magic.
18913
 
file_magic_cmd=$lt_file_magic_cmd
18914
 
 
18915
 
# Flag that allows shared libraries with undefined symbols to be built.
18916
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
18917
 
 
18918
 
# Flag that forces no undefined symbols.
18919
 
no_undefined_flag=$lt_no_undefined_flag_F77
18920
 
 
18921
 
# Commands used to finish a libtool library installation in a directory.
18922
 
finish_cmds=$lt_finish_cmds
18923
 
 
18924
 
# Same as above, but a single script fragment to be evaled but not shown.
18925
 
finish_eval=$lt_finish_eval
18926
 
 
18927
 
# Take the output of nm and produce a listing of raw symbols and C names.
18928
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18929
 
 
18930
 
# Transform the output of nm in a proper C declaration
18931
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18932
 
 
18933
 
# Transform the output of nm in a C name address pair
18934
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18935
 
 
18936
 
# This is the shared library runtime path variable.
18937
 
runpath_var=$runpath_var
18938
 
 
18939
 
# This is the shared library path variable.
18940
 
shlibpath_var=$shlibpath_var
18941
 
 
18942
 
# Is shlibpath searched before the hard-coded library search path?
18943
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18944
 
 
18945
 
# How to hardcode a shared library path into an executable.
18946
 
hardcode_action=$hardcode_action_F77
18947
 
 
18948
 
# Whether we should hardcode library paths into libraries.
18949
 
hardcode_into_libs=$hardcode_into_libs
18950
 
 
18951
 
# Flag to hardcode \$libdir into a binary during linking.
18952
 
# This must work even if \$libdir does not exist.
18953
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18954
 
 
18955
 
# If ld is used when linking, flag to hardcode \$libdir into
18956
 
# a binary during linking. This must work even if \$libdir does
18957
 
# not exist.
18958
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18959
 
 
18960
 
# Whether we need a single -rpath flag with a separated argument.
18961
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18962
 
 
18963
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18964
 
# resulting binary.
18965
 
hardcode_direct=$hardcode_direct_F77
18966
 
 
18967
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18968
 
# resulting binary.
18969
 
hardcode_minus_L=$hardcode_minus_L_F77
18970
 
 
18971
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18972
 
# the resulting binary.
18973
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18974
 
 
18975
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18976
 
# and all subsequent libraries and executables linked against it.
18977
 
hardcode_automatic=$hardcode_automatic_F77
18978
 
 
18979
 
# Variables whose values should be saved in libtool wrapper scripts and
18980
 
# restored at relink time.
18981
 
variables_saved_for_relink="$variables_saved_for_relink"
18982
 
 
18983
 
# Whether libtool must link a program against all its dependency libraries.
18984
 
link_all_deplibs=$link_all_deplibs_F77
18985
 
 
18986
 
# Compile-time system search path for libraries
18987
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18988
 
 
18989
 
# Run-time system search path for libraries
18990
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18991
 
 
18992
 
# Fix the shell variable \$srcfile for the compiler.
18993
 
fix_srcfile_path="$fix_srcfile_path_F77"
18994
 
 
18995
 
# Set to yes if exported symbols are required.
18996
 
always_export_symbols=$always_export_symbols_F77
18997
 
 
18998
 
# The commands to list exported symbols.
18999
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
19000
 
 
19001
 
# The commands to extract the exported symbol list from a shared archive.
19002
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19003
 
 
19004
 
# Symbols that should not be listed in the preloaded symbols.
19005
 
exclude_expsyms=$lt_exclude_expsyms_F77
19006
 
 
19007
 
# Symbols that must always be exported.
19008
 
include_expsyms=$lt_include_expsyms_F77
19009
 
 
19010
 
# ### END LIBTOOL TAG CONFIG: $tagname
19011
 
 
19012
 
__EOF__
19013
 
 
19014
 
 
19015
 
else
19016
 
  # If there is no Makefile yet, we rely on a make rule to execute
19017
 
  # `config.status --recheck' to rerun these tests and create the
19018
 
  # libtool script then.
19019
 
  test -f Makefile && make "$ltmain"
19020
 
fi
19021
 
 
19022
 
 
19023
 
ac_ext=c
19024
 
ac_cpp='$CPP $CPPFLAGS'
19025
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19026
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19027
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19028
 
 
19029
 
CC="$lt_save_CC"
19030
 
 
19031
 
        else
19032
 
          tagname=""
19033
 
        fi
19034
 
        ;;
19035
 
 
19036
 
      GCJ)
19037
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
19038
 
 
19039
 
 
19040
 
# Source file extension for Java test sources.
19041
 
ac_ext=java
19042
 
 
19043
 
# Object file extension for compiled Java test sources.
19044
 
objext=o
19045
 
objext_GCJ=$objext
19046
 
 
19047
 
# Code to be used in simple compile tests
19048
 
lt_simple_compile_test_code="class foo {}\n"
19049
 
 
19050
 
# Code to be used in simple link tests
19051
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
19052
 
 
19053
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19054
 
 
19055
 
# If no C compiler was specified, use CC.
19056
 
LTCC=${LTCC-"$CC"}
19057
 
 
19058
 
# Allow CC to be a program name with arguments.
19059
 
compiler=$CC
19060
 
 
19061
 
 
19062
 
# Allow CC to be a program name with arguments.
19063
 
lt_save_CC="$CC"
19064
 
CC=${GCJ-"gcj"}
19065
 
compiler=$CC
19066
 
compiler_GCJ=$CC
19067
 
 
19068
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
19069
 
archive_cmds_need_lc_GCJ=no
19070
 
 
19071
 
## CAVEAT EMPTOR:
19072
 
## There is no encapsulation within the following macros, do not change
19073
 
## the running order or otherwise move them around unless you know exactly
19074
 
## what you are doing...
19075
 
 
19076
 
lt_prog_compiler_no_builtin_flag_GCJ=
19077
 
 
19078
 
if test "$GCC" = yes; then
19079
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
19080
 
 
19081
 
 
19082
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
19083
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
19084
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
19085
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19086
 
else
19087
 
  lt_cv_prog_compiler_rtti_exceptions=no
19088
 
  ac_outfile=conftest.$ac_objext
19089
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19090
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
19091
 
   # Insert the option either (1) after the last *FLAGS variable, or
19092
 
   # (2) before a word containing "conftest.", or (3) at the end.
19093
 
   # Note that $ac_compile itself does not contain backslashes and begins
19094
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19095
 
   # The option is referenced via a variable to avoid confusing sed.
19096
 
   lt_compile=`echo "$ac_compile" | $SED \
19097
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19098
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19099
 
   -e 's:$: $lt_compiler_flag:'`
19100
 
   (eval echo "\"\$as_me:19100: $lt_compile\"" >&5)
19101
 
   (eval "$lt_compile" 2>conftest.err)
19102
 
   ac_status=$?
19103
 
   cat conftest.err >&5
19104
 
   echo "$as_me:19104: \$? = $ac_status" >&5
19105
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19106
 
     # The compiler can only warn and ignore the option if not recognized
19107
 
     # So say no if there are warnings
19108
 
     if test ! -s conftest.err; then
19109
 
       lt_cv_prog_compiler_rtti_exceptions=yes
19110
 
     fi
19111
 
   fi
19112
 
   $rm conftest*
19113
 
 
19114
 
fi
19115
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
19116
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
19117
 
 
19118
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
19119
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
19120
 
else
19121
 
    :
19122
 
fi
19123
 
 
19124
 
fi
19125
 
 
19126
 
lt_prog_compiler_wl_GCJ=
19127
 
lt_prog_compiler_pic_GCJ=
19128
 
lt_prog_compiler_static_GCJ=
19129
 
 
19130
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19131
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19132
 
 
19133
 
  if test "$GCC" = yes; then
19134
 
    lt_prog_compiler_wl_GCJ='-Wl,'
19135
 
    lt_prog_compiler_static_GCJ='-static'
19136
 
 
19137
 
    case $host_os in
19138
 
      aix*)
19139
 
      # All AIX code is PIC.
19140
 
      if test "$host_cpu" = ia64; then
19141
 
        # AIX 5 now supports IA64 processor
19142
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19143
 
      fi
19144
 
      ;;
19145
 
 
19146
 
    amigaos*)
19147
 
      # FIXME: we need at least 68020 code to build shared libraries, but
19148
 
      # adding the `-m68020' flag to GCC prevents building anything better,
19149
 
      # like `-m68040'.
19150
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
19151
 
      ;;
19152
 
 
19153
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19154
 
      # PIC is the default for these OSes.
19155
 
      ;;
19156
 
 
19157
 
    mingw* | pw32* | os2*)
19158
 
      # This hack is so that the source file can tell whether it is being
19159
 
      # built for inclusion in a dll (and should export symbols for example).
19160
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19161
 
      ;;
19162
 
 
19163
 
    darwin* | rhapsody*)
19164
 
      # PIC is the default on this platform
19165
 
      # Common symbols not allowed in MH_DYLIB files
19166
 
      lt_prog_compiler_pic_GCJ='-fno-common'
19167
 
      ;;
19168
 
 
19169
 
    msdosdjgpp*)
19170
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
19171
 
      # on systems that don't support them.
19172
 
      lt_prog_compiler_can_build_shared_GCJ=no
19173
 
      enable_shared=no
19174
 
      ;;
19175
 
 
19176
 
    sysv4*MP*)
19177
 
      if test -d /usr/nec; then
19178
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
19179
 
      fi
19180
 
      ;;
19181
 
 
19182
 
    hpux*)
19183
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19184
 
      # not for PA HP-UX.
19185
 
      case "$host_cpu" in
19186
 
      hppa*64*|ia64*)
19187
 
        # +Z the default
19188
 
        ;;
19189
 
      *)
19190
 
        lt_prog_compiler_pic_GCJ='-fPIC'
19191
 
        ;;
19192
 
      esac
19193
 
      ;;
19194
 
 
19195
 
    *)
19196
 
      lt_prog_compiler_pic_GCJ='-fPIC'
19197
 
      ;;
19198
 
    esac
19199
 
  else
19200
 
    # PORTME Check for flag to pass linker flags through the system compiler.
19201
 
    case $host_os in
19202
 
    aix*)
19203
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19204
 
      if test "$host_cpu" = ia64; then
19205
 
        # AIX 5 now supports IA64 processor
19206
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19207
 
      else
19208
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19209
 
      fi
19210
 
      ;;
19211
 
 
19212
 
    mingw* | pw32* | os2*)
19213
 
      # This hack is so that the source file can tell whether it is being
19214
 
      # built for inclusion in a dll (and should export symbols for example).
19215
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19216
 
      ;;
19217
 
 
19218
 
    hpux9* | hpux10* | hpux11*)
19219
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19220
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19221
 
      # not for PA HP-UX.
19222
 
      case "$host_cpu" in
19223
 
      hppa*64*|ia64*)
19224
 
        # +Z the default
19225
 
        ;;
19226
 
      *)
19227
 
        lt_prog_compiler_pic_GCJ='+Z'
19228
 
        ;;
19229
 
      esac
19230
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
19231
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19232
 
      ;;
19233
 
 
19234
 
    irix5* | irix6* | nonstopux*)
19235
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19236
 
      # PIC (with -KPIC) is the default.
19237
 
      lt_prog_compiler_static_GCJ='-non_shared'
19238
 
      ;;
19239
 
 
19240
 
    newsos6)
19241
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19242
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19243
 
      ;;
19244
 
 
19245
 
    linux*)
19246
 
      case $CC in
19247
 
      icc* | ecc*)
19248
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19249
 
        lt_prog_compiler_pic_GCJ='-KPIC'
19250
 
        lt_prog_compiler_static_GCJ='-static'
19251
 
        ;;
19252
 
      ccc*)
19253
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19254
 
        # All Alpha code is PIC.
19255
 
        lt_prog_compiler_static_GCJ='-non_shared'
19256
 
        ;;
19257
 
      esac
19258
 
      ;;
19259
 
 
19260
 
    osf3* | osf4* | osf5*)
19261
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19262
 
      # All OSF/1 code is PIC.
19263
 
      lt_prog_compiler_static_GCJ='-non_shared'
19264
 
      ;;
19265
 
 
19266
 
    sco3.2v5*)
19267
 
      lt_prog_compiler_pic_GCJ='-Kpic'
19268
 
      lt_prog_compiler_static_GCJ='-dn'
19269
 
      ;;
19270
 
 
19271
 
    solaris*)
19272
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19273
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19274
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19275
 
      ;;
19276
 
 
19277
 
    sunos4*)
19278
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
19279
 
      lt_prog_compiler_pic_GCJ='-PIC'
19280
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19281
 
      ;;
19282
 
 
19283
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19284
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19285
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19286
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19287
 
      ;;
19288
 
 
19289
 
    sysv4*MP*)
19290
 
      if test -d /usr/nec ;then
19291
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
19292
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19293
 
      fi
19294
 
      ;;
19295
 
 
19296
 
    uts4*)
19297
 
      lt_prog_compiler_pic_GCJ='-pic'
19298
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19299
 
      ;;
19300
 
 
19301
 
    *)
19302
 
      lt_prog_compiler_can_build_shared_GCJ=no
19303
 
      ;;
19304
 
    esac
19305
 
  fi
19306
 
 
19307
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19308
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
19309
 
 
19310
 
#
19311
 
# Check to make sure the PIC flag actually works.
19312
 
#
19313
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
19314
 
 
19315
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19316
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19317
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
19318
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19319
 
else
19320
 
  lt_prog_compiler_pic_works_GCJ=no
19321
 
  ac_outfile=conftest.$ac_objext
19322
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19323
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19324
 
   # Insert the option either (1) after the last *FLAGS variable, or
19325
 
   # (2) before a word containing "conftest.", or (3) at the end.
19326
 
   # Note that $ac_compile itself does not contain backslashes and begins
19327
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19328
 
   # The option is referenced via a variable to avoid confusing sed.
19329
 
   lt_compile=`echo "$ac_compile" | $SED \
19330
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19331
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19332
 
   -e 's:$: $lt_compiler_flag:'`
19333
 
   (eval echo "\"\$as_me:19333: $lt_compile\"" >&5)
19334
 
   (eval "$lt_compile" 2>conftest.err)
19335
 
   ac_status=$?
19336
 
   cat conftest.err >&5
19337
 
   echo "$as_me:19337: \$? = $ac_status" >&5
19338
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19339
 
     # The compiler can only warn and ignore the option if not recognized
19340
 
     # So say no if there are warnings
19341
 
     if test ! -s conftest.err; then
19342
 
       lt_prog_compiler_pic_works_GCJ=yes
19343
 
     fi
19344
 
   fi
19345
 
   $rm conftest*
19346
 
 
19347
 
fi
19348
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
19349
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
19350
 
 
19351
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
19352
 
    case $lt_prog_compiler_pic_GCJ in
19353
 
     "" | " "*) ;;
19354
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19355
 
     esac
19356
 
else
19357
 
    lt_prog_compiler_pic_GCJ=
19358
 
     lt_prog_compiler_can_build_shared_GCJ=no
19359
 
fi
19360
 
 
19361
 
fi
19362
 
case "$host_os" in
19363
 
  # For platforms which do not support PIC, -DPIC is meaningless:
19364
 
  *djgpp*)
19365
 
    lt_prog_compiler_pic_GCJ=
19366
 
    ;;
19367
 
  *)
19368
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19369
 
    ;;
19370
 
esac
19371
 
 
19372
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19373
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19374
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19375
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19376
 
else
19377
 
  lt_cv_prog_compiler_c_o_GCJ=no
19378
 
   $rm -r conftest 2>/dev/null
19379
 
   mkdir conftest
19380
 
   cd conftest
19381
 
   mkdir out
19382
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19383
 
 
19384
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
19385
 
   # that will create temporary files in the current directory regardless of
19386
 
   # the output directory.  Thus, making CWD read-only will cause this test
19387
 
   # to fail, enabling locking or at least warning the user not to do parallel
19388
 
   # builds.
19389
 
   chmod -w .
19390
 
 
19391
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
19392
 
   # Insert the option either (1) after the last *FLAGS variable, or
19393
 
   # (2) before a word containing "conftest.", or (3) at the end.
19394
 
   # Note that $ac_compile itself does not contain backslashes and begins
19395
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19396
 
   lt_compile=`echo "$ac_compile" | $SED \
19397
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19398
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19399
 
   -e 's:$: $lt_compiler_flag:'`
19400
 
   (eval echo "\"\$as_me:19400: $lt_compile\"" >&5)
19401
 
   (eval "$lt_compile" 2>out/conftest.err)
19402
 
   ac_status=$?
19403
 
   cat out/conftest.err >&5
19404
 
   echo "$as_me:19404: \$? = $ac_status" >&5
19405
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
19406
 
   then
19407
 
     # The compiler can only warn and ignore the option if not recognized
19408
 
     # So say no if there are warnings
19409
 
     if test ! -s out/conftest.err; then
19410
 
       lt_cv_prog_compiler_c_o_GCJ=yes
19411
 
     fi
19412
 
   fi
19413
 
   chmod u+w .
19414
 
   $rm conftest* out/*
19415
 
   rmdir out
19416
 
   cd ..
19417
 
   rmdir conftest
19418
 
   $rm conftest*
19419
 
 
19420
 
fi
19421
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19422
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19423
 
 
19424
 
 
19425
 
hard_links="nottested"
19426
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19427
 
  # do not overwrite the value of need_locks provided by the user
19428
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19429
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19430
 
  hard_links=yes
19431
 
  $rm conftest*
19432
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19433
 
  touch conftest.a
19434
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
19435
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19436
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
19437
 
echo "${ECHO_T}$hard_links" >&6; }
19438
 
  if test "$hard_links" = no; then
19439
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19440
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19441
 
    need_locks=warn
19442
 
  fi
19443
 
else
19444
 
  need_locks=no
19445
 
fi
19446
 
 
19447
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19448
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19449
 
 
19450
 
  runpath_var=
19451
 
  allow_undefined_flag_GCJ=
19452
 
  enable_shared_with_static_runtimes_GCJ=no
19453
 
  archive_cmds_GCJ=
19454
 
  archive_expsym_cmds_GCJ=
19455
 
  old_archive_From_new_cmds_GCJ=
19456
 
  old_archive_from_expsyms_cmds_GCJ=
19457
 
  export_dynamic_flag_spec_GCJ=
19458
 
  whole_archive_flag_spec_GCJ=
19459
 
  thread_safe_flag_spec_GCJ=
19460
 
  hardcode_libdir_flag_spec_GCJ=
19461
 
  hardcode_libdir_flag_spec_ld_GCJ=
19462
 
  hardcode_libdir_separator_GCJ=
19463
 
  hardcode_direct_GCJ=no
19464
 
  hardcode_minus_L_GCJ=no
19465
 
  hardcode_shlibpath_var_GCJ=unsupported
19466
 
  link_all_deplibs_GCJ=unknown
19467
 
  hardcode_automatic_GCJ=no
19468
 
  module_cmds_GCJ=
19469
 
  module_expsym_cmds_GCJ=
19470
 
  always_export_symbols_GCJ=no
19471
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19472
 
  # include_expsyms should be a list of space-separated symbols to be *always*
19473
 
  # included in the symbol list
19474
 
  include_expsyms_GCJ=
19475
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
19476
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
19477
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19478
 
  # as well as any symbol that contains `d'.
19479
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
19480
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19481
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
19482
 
  # the symbol is explicitly referenced.  Since portable code cannot
19483
 
  # rely on this symbol name, it's probably fine to never include it in
19484
 
  # preloaded symbol tables.
19485
 
  extract_expsyms_cmds=
19486
 
 
19487
 
  case $host_os in
19488
 
  cygwin* | mingw* | pw32*)
19489
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
19490
 
    # When not using gcc, we currently assume that we are using
19491
 
    # Microsoft Visual C++.
19492
 
    if test "$GCC" != yes; then
19493
 
      with_gnu_ld=no
19494
 
    fi
19495
 
    ;;
19496
 
  openbsd*)
19497
 
    with_gnu_ld=no
19498
 
    ;;
19499
 
  esac
19500
 
 
19501
 
  ld_shlibs_GCJ=yes
19502
 
  if test "$with_gnu_ld" = yes; then
19503
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
19504
 
    wlarc='${wl}'
19505
 
 
19506
 
    # See if GNU ld supports shared libraries.
19507
 
    case $host_os in
19508
 
    aix3* | aix4* | aix5*)
19509
 
      # On AIX/PPC, the GNU linker is very broken
19510
 
      if test "$host_cpu" != ia64; then
19511
 
        ld_shlibs_GCJ=no
19512
 
        cat <<EOF 1>&2
19513
 
 
19514
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19515
 
*** to be unable to reliably create shared libraries on AIX.
19516
 
*** Therefore, libtool is disabling shared libraries support.  If you
19517
 
*** really care for shared libraries, you may want to modify your PATH
19518
 
*** so that a non-GNU linker is found, and then restart.
19519
 
 
19520
 
EOF
19521
 
      fi
19522
 
      ;;
19523
 
 
19524
 
    amigaos*)
19525
 
      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)'
19526
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19527
 
      hardcode_minus_L_GCJ=yes
19528
 
 
19529
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19530
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
19531
 
      # to version 4, is to share data among multiple programs linked
19532
 
      # with the same dynamic library.  Since this doesn't match the
19533
 
      # behavior of shared libraries on other platforms, we can't use
19534
 
      # them.
19535
 
      ld_shlibs_GCJ=no
19536
 
      ;;
19537
 
 
19538
 
    beos*)
19539
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19540
 
        allow_undefined_flag_GCJ=unsupported
19541
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19542
 
        # support --undefined.  This deserves some investigation.  FIXME
19543
 
        archive_cmds_GCJ='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19544
 
      else
19545
 
        ld_shlibs_GCJ=no
19546
 
      fi
19547
 
      ;;
19548
 
 
19549
 
    cygwin* | mingw* | pw32*)
19550
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19551
 
      # as there is no search path for DLLs.
19552
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19553
 
      allow_undefined_flag_GCJ=no
19554
 
      always_export_symbols_GCJ=no
19555
 
      enable_shared_with_static_runtimes_GCJ=yes
19556
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19557
 
 
19558
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19559
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19560
 
        # If the export-symbols file already is a .def file (1st line
19561
 
        # is EXPORTS), use it as is; otherwise, prepend...
19562
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19563
 
          cp $export_symbols $output_objdir/$soname.def;
19564
 
        else
19565
 
          echo EXPORTS > $output_objdir/$soname.def;
19566
 
          cat $export_symbols >> $output_objdir/$soname.def;
19567
 
        fi~
19568
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
19569
 
      else
19570
 
        ld_shlibs=no
19571
 
      fi
19572
 
      ;;
19573
 
 
19574
 
    netbsd*)
19575
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19576
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19577
 
        wlarc=
19578
 
      else
19579
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19580
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19581
 
      fi
19582
 
      ;;
19583
 
 
19584
 
    solaris* | sysv5*)
19585
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19586
 
        ld_shlibs_GCJ=no
19587
 
        cat <<EOF 1>&2
19588
 
 
19589
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19590
 
*** create shared libraries on Solaris systems.  Therefore, libtool
19591
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
19592
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
19593
 
*** your PATH or compiler configuration so that the native linker is
19594
 
*** used, and then restart.
19595
 
 
19596
 
EOF
19597
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19598
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19599
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19600
 
      else
19601
 
        ld_shlibs_GCJ=no
19602
 
      fi
19603
 
      ;;
19604
 
 
19605
 
    sunos4*)
19606
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19607
 
      wlarc=
19608
 
      hardcode_direct_GCJ=yes
19609
 
      hardcode_shlibpath_var_GCJ=no
19610
 
      ;;
19611
 
 
19612
 
    *)
19613
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19614
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19615
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19616
 
      else
19617
 
        ld_shlibs_GCJ=no
19618
 
      fi
19619
 
      ;;
19620
 
    esac
19621
 
 
19622
 
    if test "$ld_shlibs_GCJ" = yes; then
19623
 
      runpath_var=LD_RUN_PATH
19624
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19625
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19626
 
      # ancient GNU ld didn't support --whole-archive et. al.
19627
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19628
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19629
 
      else
19630
 
        whole_archive_flag_spec_GCJ=
19631
 
      fi
19632
 
    fi
19633
 
  else
19634
 
    # PORTME fill in a description of your system's linker (not GNU ld)
19635
 
    case $host_os in
19636
 
    aix3*)
19637
 
      allow_undefined_flag_GCJ=unsupported
19638
 
      always_export_symbols_GCJ=yes
19639
 
      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'
19640
 
      # Note: this linker hardcodes the directories in LIBPATH if there
19641
 
      # are no directories specified by -L.
19642
 
      hardcode_minus_L_GCJ=yes
19643
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
19644
 
        # Neither direct hardcoding nor static linking is supported with a
19645
 
        # broken collect2.
19646
 
        hardcode_direct_GCJ=unsupported
19647
 
      fi
19648
 
      ;;
19649
 
 
19650
 
    aix4* | aix5*)
19651
 
      if test "$host_cpu" = ia64; then
19652
 
        # On IA64, the linker does run time linking by default, so we don't
19653
 
        # have to do anything special.
19654
 
        aix_use_runtimelinking=no
19655
 
        exp_sym_flag='-Bexport'
19656
 
        no_entry_flag=""
19657
 
      else
19658
 
        # If we're using GNU nm, then we don't want the "-C" option.
19659
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
19660
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19661
 
          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'
19662
 
        else
19663
 
          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'
19664
 
        fi
19665
 
 
19666
 
        # KDE requires run time linking.  Make it the default.
19667
 
        aix_use_runtimelinking=yes
19668
 
        exp_sym_flag='-bexport'
19669
 
        no_entry_flag='-bnoentry'
19670
 
      fi
19671
 
 
19672
 
      # When large executables or shared objects are built, AIX ld can
19673
 
      # have problems creating the table of contents.  If linking a library
19674
 
      # or program results in "error TOC overflow" add -mminimal-toc to
19675
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19676
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19677
 
 
19678
 
      archive_cmds_GCJ=''
19679
 
      hardcode_direct_GCJ=yes
19680
 
      hardcode_libdir_separator_GCJ=':'
19681
 
      link_all_deplibs_GCJ=yes
19682
 
 
19683
 
      if test "$GCC" = yes; then
19684
 
        case $host_os in aix4.012|aix4.012.*)
19685
 
        # We only want to do this on AIX 4.2 and lower, the check
19686
 
        # below for broken collect2 doesn't work under 4.3+
19687
 
          collect2name=`${CC} -print-prog-name=collect2`
19688
 
          if test -f "$collect2name" && \
19689
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
19690
 
          then
19691
 
          # We have reworked collect2
19692
 
          hardcode_direct_GCJ=yes
19693
 
          else
19694
 
          # We have old collect2
19695
 
          hardcode_direct_GCJ=unsupported
19696
 
          # It fails to find uninstalled libraries when the uninstalled
19697
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
19698
 
          # to unsupported forces relinking
19699
 
          hardcode_minus_L_GCJ=yes
19700
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
19701
 
          hardcode_libdir_separator_GCJ=
19702
 
          fi
19703
 
        esac
19704
 
        shared_flag='-shared'
19705
 
      else
19706
 
        # not using gcc
19707
 
        if test "$host_cpu" = ia64; then
19708
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19709
 
        # chokes on -Wl,-G. The following line is correct:
19710
 
          shared_flag='-G'
19711
 
        else
19712
 
        if test "$aix_use_runtimelinking" = yes; then
19713
 
            shared_flag='-qmkshrobj ${wl}-G'
19714
 
          else
19715
 
            shared_flag='-qmkshrobj'
19716
 
        fi
19717
 
        fi
19718
 
      fi
19719
 
 
19720
 
      # Let the compiler handle the export list.
19721
 
      always_export_symbols_GCJ=no
19722
 
      if test "$aix_use_runtimelinking" = yes; then
19723
 
        # Warning - without using the other runtime loading flags (-brtl),
19724
 
        # -berok will link without error, but may produce a broken library.
19725
 
        allow_undefined_flag_GCJ='-berok'
19726
 
       # Determine the default libpath from the value encoded in an empty executable.
19727
 
        cat >conftest.$ac_ext <<_ACEOF
19728
 
/* confdefs.h.  */
19729
 
_ACEOF
19730
 
cat confdefs.h >>conftest.$ac_ext
19731
 
cat >>conftest.$ac_ext <<_ACEOF
19732
 
/* end confdefs.h.  */
19733
 
 
19734
 
int
19735
 
main ()
19736
 
{
19737
 
 
19738
 
  ;
19739
 
  return 0;
19740
 
}
19741
 
_ACEOF
19742
 
rm -f conftest.$ac_objext conftest$ac_exeext
19743
 
if { (ac_try="$ac_link"
19744
 
case "(($ac_try" in
19745
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19746
 
  *) ac_try_echo=$ac_try;;
19747
 
esac
19748
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749
 
  (eval "$ac_link") 2>conftest.er1
19750
 
  ac_status=$?
19751
 
  grep -v '^ *+' conftest.er1 >conftest.err
19752
 
  rm -f conftest.er1
19753
 
  cat conftest.err >&5
19754
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755
 
  (exit $ac_status); } && {
19756
 
         test -z "$ac_c_werror_flag" ||
19757
 
         test ! -s conftest.err
19758
 
       } && test -s conftest$ac_exeext &&
19759
 
       $as_test_x conftest$ac_exeext; then
19760
 
 
19761
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19762
 
}'`
19763
 
# Check for a 64-bit object if we didn't find anything.
19764
 
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; }
19765
 
}'`; fi
19766
 
else
19767
 
  echo "$as_me: failed program was:" >&5
19768
 
sed 's/^/| /' conftest.$ac_ext >&5
19769
 
 
19770
 
 
19771
 
fi
19772
 
 
19773
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19774
 
      conftest$ac_exeext conftest.$ac_ext
19775
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19776
 
 
19777
 
        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19778
 
        archive_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
19779
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19780
 
       else
19781
 
        if test "$host_cpu" = ia64; then
19782
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19783
 
          allow_undefined_flag_GCJ="-z nodefs"
19784
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
19785
 
        else
19786
 
         # Determine the default libpath from the value encoded in an empty executable.
19787
 
         cat >conftest.$ac_ext <<_ACEOF
19788
 
/* confdefs.h.  */
19789
 
_ACEOF
19790
 
cat confdefs.h >>conftest.$ac_ext
19791
 
cat >>conftest.$ac_ext <<_ACEOF
19792
 
/* end confdefs.h.  */
19793
 
 
19794
 
int
19795
 
main ()
19796
 
{
19797
 
 
19798
 
  ;
19799
 
  return 0;
19800
 
}
19801
 
_ACEOF
19802
 
rm -f conftest.$ac_objext conftest$ac_exeext
19803
 
if { (ac_try="$ac_link"
19804
 
case "(($ac_try" in
19805
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19806
 
  *) ac_try_echo=$ac_try;;
19807
 
esac
19808
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19809
 
  (eval "$ac_link") 2>conftest.er1
19810
 
  ac_status=$?
19811
 
  grep -v '^ *+' conftest.er1 >conftest.err
19812
 
  rm -f conftest.er1
19813
 
  cat conftest.err >&5
19814
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815
 
  (exit $ac_status); } && {
19816
 
         test -z "$ac_c_werror_flag" ||
19817
 
         test ! -s conftest.err
19818
 
       } && test -s conftest$ac_exeext &&
19819
 
       $as_test_x conftest$ac_exeext; then
19820
 
 
19821
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19822
 
}'`
19823
 
# Check for a 64-bit object if we didn't find anything.
19824
 
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; }
19825
 
}'`; fi
19826
 
else
19827
 
  echo "$as_me: failed program was:" >&5
19828
 
sed 's/^/| /' conftest.$ac_ext >&5
19829
 
 
19830
 
 
19831
 
fi
19832
 
 
19833
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19834
 
      conftest$ac_exeext conftest.$ac_ext
19835
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19836
 
 
19837
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19838
 
          # Warning - without using the other run time loading flags,
19839
 
          # -berok will link without error, but may produce a broken library.
19840
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
19841
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
19842
 
          # -bexpall does not export symbols beginning with underscore (_)
19843
 
          always_export_symbols_GCJ=yes
19844
 
          # Exported symbols can be pulled into shared objects from archives
19845
 
          whole_archive_flag_spec_GCJ=' '
19846
 
          archive_cmds_need_lc_GCJ=yes
19847
 
          # This is similar to how AIX traditionally builds it's shared libraries.
19848
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
19849
 
        fi
19850
 
      fi
19851
 
      ;;
19852
 
 
19853
 
    amigaos*)
19854
 
      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)'
19855
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19856
 
      hardcode_minus_L_GCJ=yes
19857
 
      # see comment about different semantics on the GNU ld section
19858
 
      ld_shlibs_GCJ=no
19859
 
      ;;
19860
 
 
19861
 
    bsdi4*)
19862
 
      export_dynamic_flag_spec_GCJ=-rdynamic
19863
 
      ;;
19864
 
 
19865
 
    cygwin* | mingw* | pw32*)
19866
 
      # When not using gcc, we currently assume that we are using
19867
 
      # Microsoft Visual C++.
19868
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
19869
 
      # no search path for DLLs.
19870
 
      hardcode_libdir_flag_spec_GCJ=' '
19871
 
      allow_undefined_flag_GCJ=no
19872
 
      # Tell ltmain to make .lib files, not .a files.
19873
 
      libext=lib
19874
 
      # Tell ltmain to make .dll files, not .so files.
19875
 
      shrext=".dll"
19876
 
      # FIXME: Setting linknames here is a bad hack.
19877
 
      archive_cmds_GCJ='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19878
 
      # The linker will automatically build a .lib file if we build a DLL.
19879
 
      old_archive_From_new_cmds_GCJ='true'
19880
 
      # FIXME: Should let the user specify the lib program.
19881
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
19882
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
19883
 
      enable_shared_with_static_runtimes_GCJ=yes
19884
 
      ;;
19885
 
 
19886
 
    darwin* | rhapsody*)
19887
 
    if test "$GXX" = yes ; then
19888
 
      archive_cmds_need_lc_GCJ=no
19889
 
      case "$host_os" in
19890
 
      rhapsody* | darwin1.[012])
19891
 
        allow_undefined_flag_GCJ='-Wl,-undefined -Wl,suppress'
19892
 
        ;;
19893
 
      *) # Darwin 1.3 on
19894
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19895
 
          allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19896
 
        else
19897
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
19898
 
            10.012)
19899
 
              allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19900
 
              ;;
19901
 
            10.*)
19902
 
              allow_undefined_flag_GCJ='-Wl,-undefined -Wl,dynamic_lookup'
19903
 
              ;;
19904
 
          esac
19905
 
        fi
19906
 
        ;;
19907
 
      esac
19908
 
        lt_int_apple_cc_single_mod=no
19909
 
        output_verbose_link_cmd='echo'
19910
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
19911
 
          lt_int_apple_cc_single_mod=yes
19912
 
        fi
19913
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19914
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
19915
 
        else
19916
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
19917
 
      fi
19918
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
19919
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19920
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19921
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19922
 
        else
19923
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19924
 
        fi
19925
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19926
 
      hardcode_direct_GCJ=no
19927
 
      hardcode_automatic_GCJ=yes
19928
 
      hardcode_shlibpath_var_GCJ=unsupported
19929
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
19930
 
      link_all_deplibs_GCJ=yes
19931
 
    else
19932
 
      ld_shlibs_GCJ=no
19933
 
    fi
19934
 
      ;;
19935
 
 
19936
 
    dgux*)
19937
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19938
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19939
 
      hardcode_shlibpath_var_GCJ=no
19940
 
      ;;
19941
 
 
19942
 
    freebsd1*)
19943
 
      ld_shlibs_GCJ=no
19944
 
      ;;
19945
 
 
19946
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19947
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
19948
 
    # does not break anything, and helps significantly (at the cost of a little
19949
 
    # extra space).
19950
 
    freebsd2.2*)
19951
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19952
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19953
 
      hardcode_direct_GCJ=yes
19954
 
      hardcode_shlibpath_var_GCJ=no
19955
 
      ;;
19956
 
 
19957
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19958
 
    freebsd2*)
19959
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19960
 
      hardcode_direct_GCJ=yes
19961
 
      hardcode_minus_L_GCJ=yes
19962
 
      hardcode_shlibpath_var_GCJ=no
19963
 
      ;;
19964
 
 
19965
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19966
 
    freebsd* | kfreebsd*-gnu)
19967
 
      archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
19968
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19969
 
      hardcode_direct_GCJ=yes
19970
 
      hardcode_shlibpath_var_GCJ=no
19971
 
      ;;
19972
 
 
19973
 
    hpux9*)
19974
 
      if test "$GCC" = yes; then
19975
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19976
 
      else
19977
 
        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'
19978
 
      fi
19979
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19980
 
      hardcode_libdir_separator_GCJ=:
19981
 
      hardcode_direct_GCJ=yes
19982
 
 
19983
 
      # hardcode_minus_L: Not really in the search PATH,
19984
 
      # but as the default location of the library.
19985
 
      hardcode_minus_L_GCJ=yes
19986
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
19987
 
      ;;
19988
 
 
19989
 
    hpux10* | hpux11*)
19990
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19991
 
        case "$host_cpu" in
19992
 
        hppa*64*|ia64*)
19993
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19994
 
          ;;
19995
 
        *)
19996
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
19997
 
          ;;
19998
 
        esac
19999
 
      else
20000
 
        case "$host_cpu" in
20001
 
        hppa*64*|ia64*)
20002
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
20003
 
          ;;
20004
 
        *)
20005
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20006
 
          ;;
20007
 
        esac
20008
 
      fi
20009
 
      if test "$with_gnu_ld" = no; then
20010
 
        case "$host_cpu" in
20011
 
        hppa*64*)
20012
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20013
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
20014
 
          hardcode_libdir_separator_GCJ=:
20015
 
          hardcode_direct_GCJ=no
20016
 
          hardcode_shlibpath_var_GCJ=no
20017
 
          ;;
20018
 
        ia64*)
20019
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
20020
 
          hardcode_direct_GCJ=no
20021
 
          hardcode_shlibpath_var_GCJ=no
20022
 
 
20023
 
          # hardcode_minus_L: Not really in the search PATH,
20024
 
          # but as the default location of the library.
20025
 
          hardcode_minus_L_GCJ=yes
20026
 
          ;;
20027
 
        *)
20028
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20029
 
          hardcode_libdir_separator_GCJ=:
20030
 
          hardcode_direct_GCJ=yes
20031
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
20032
 
 
20033
 
          # hardcode_minus_L: Not really in the search PATH,
20034
 
          # but as the default location of the library.
20035
 
          hardcode_minus_L_GCJ=yes
20036
 
          ;;
20037
 
        esac
20038
 
      fi
20039
 
      ;;
20040
 
 
20041
 
    irix5* | irix6* | nonstopux*)
20042
 
      if test "$GCC" = yes; then
20043
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20044
 
      else
20045
 
        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'
20046
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
20047
 
      fi
20048
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20049
 
      hardcode_libdir_separator_GCJ=:
20050
 
      link_all_deplibs_GCJ=yes
20051
 
      ;;
20052
 
 
20053
 
    netbsd*)
20054
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20055
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
20056
 
      else
20057
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
20058
 
      fi
20059
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20060
 
      hardcode_direct_GCJ=yes
20061
 
      hardcode_shlibpath_var_GCJ=no
20062
 
      ;;
20063
 
 
20064
 
    newsos6)
20065
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20066
 
      hardcode_direct_GCJ=yes
20067
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20068
 
      hardcode_libdir_separator_GCJ=:
20069
 
      hardcode_shlibpath_var_GCJ=no
20070
 
      ;;
20071
 
 
20072
 
    openbsd*)
20073
 
      hardcode_direct_GCJ=yes
20074
 
      hardcode_shlibpath_var_GCJ=no
20075
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20076
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20077
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20078
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
20079
 
      else
20080
 
       case $host_os in
20081
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20082
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20083
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
20084
 
           ;;
20085
 
         *)
20086
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20087
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20088
 
           ;;
20089
 
       esac
20090
 
      fi
20091
 
      ;;
20092
 
 
20093
 
    os2*)
20094
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20095
 
      hardcode_minus_L_GCJ=yes
20096
 
      allow_undefined_flag_GCJ=unsupported
20097
 
      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
20098
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20099
 
      ;;
20100
 
 
20101
 
    osf3*)
20102
 
      if test "$GCC" = yes; then
20103
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20104
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20105
 
      else
20106
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20107
 
        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'
20108
 
      fi
20109
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20110
 
      hardcode_libdir_separator_GCJ=:
20111
 
      ;;
20112
 
 
20113
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
20114
 
      if test "$GCC" = yes; then
20115
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20116
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20117
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20118
 
      else
20119
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20120
 
        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'
20121
 
        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~
20122
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
20123
 
 
20124
 
        # Both c and cxx compiler support -rpath directly
20125
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20126
 
      fi
20127
 
      hardcode_libdir_separator_GCJ=:
20128
 
      ;;
20129
 
 
20130
 
    sco3.2v5*)
20131
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20132
 
      hardcode_shlibpath_var_GCJ=no
20133
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20134
 
      runpath_var=LD_RUN_PATH
20135
 
      hardcode_runpath_var=yes
20136
 
      ;;
20137
 
 
20138
 
    solaris*)
20139
 
      no_undefined_flag_GCJ=' -z text'
20140
 
      if test "$GCC" = yes; then
20141
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20142
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20143
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
20144
 
      else
20145
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20146
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20147
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20148
 
      fi
20149
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20150
 
      hardcode_shlibpath_var_GCJ=no
20151
 
      case $host_os in
20152
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
20153
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
20154
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
20155
 
      esac
20156
 
      link_all_deplibs_GCJ=yes
20157
 
      ;;
20158
 
 
20159
 
    sunos4*)
20160
 
      if test "x$host_vendor" = xsequent; then
20161
 
        # Use $CC to link under sequent, because it throws in some extra .o
20162
 
        # files that make .init and .fini sections work.
20163
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
20164
 
      else
20165
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20166
 
      fi
20167
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20168
 
      hardcode_direct_GCJ=yes
20169
 
      hardcode_minus_L_GCJ=yes
20170
 
      hardcode_shlibpath_var_GCJ=no
20171
 
      ;;
20172
 
 
20173
 
    sysv4)
20174
 
      case $host_vendor in
20175
 
        sni)
20176
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20177
 
          hardcode_direct_GCJ=yes # is this really true???
20178
 
        ;;
20179
 
        siemens)
20180
 
          ## LD is ld it makes a PLAMLIB
20181
 
          ## CC just makes a GrossModule.
20182
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20183
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20184
 
          hardcode_direct_GCJ=no
20185
 
        ;;
20186
 
        motorola)
20187
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20188
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20189
 
        ;;
20190
 
      esac
20191
 
      runpath_var='LD_RUN_PATH'
20192
 
      hardcode_shlibpath_var_GCJ=no
20193
 
      ;;
20194
 
 
20195
 
    sysv4.3*)
20196
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20197
 
      hardcode_shlibpath_var_GCJ=no
20198
 
      export_dynamic_flag_spec_GCJ='-Bexport'
20199
 
      ;;
20200
 
 
20201
 
    sysv4*MP*)
20202
 
      if test -d /usr/nec; then
20203
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20204
 
        hardcode_shlibpath_var_GCJ=no
20205
 
        runpath_var=LD_RUN_PATH
20206
 
        hardcode_runpath_var=yes
20207
 
        ld_shlibs_GCJ=yes
20208
 
      fi
20209
 
      ;;
20210
 
 
20211
 
    sysv4.2uw2*)
20212
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20213
 
      hardcode_direct_GCJ=yes
20214
 
      hardcode_minus_L_GCJ=no
20215
 
      hardcode_shlibpath_var_GCJ=no
20216
 
      hardcode_runpath_var=yes
20217
 
      runpath_var=LD_RUN_PATH
20218
 
      ;;
20219
 
 
20220
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
20221
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
20222
 
      if test "$GCC" = yes; then
20223
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20224
 
      else
20225
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20226
 
      fi
20227
 
      runpath_var='LD_RUN_PATH'
20228
 
      hardcode_shlibpath_var_GCJ=no
20229
 
      ;;
20230
 
 
20231
 
    sysv5*)
20232
 
      no_undefined_flag_GCJ=' -z text'
20233
 
      # $CC -shared without GNU ld will not create a library from C++
20234
 
      # object files and a static libstdc++, better avoid it by now
20235
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20236
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20237
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20238
 
      hardcode_libdir_flag_spec_GCJ=
20239
 
      hardcode_shlibpath_var_GCJ=no
20240
 
      runpath_var='LD_RUN_PATH'
20241
 
      ;;
20242
 
 
20243
 
    uts4*)
20244
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20245
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20246
 
      hardcode_shlibpath_var_GCJ=no
20247
 
      ;;
20248
 
 
20249
 
    *)
20250
 
      ld_shlibs_GCJ=no
20251
 
      ;;
20252
 
    esac
20253
 
  fi
20254
 
 
20255
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20256
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20257
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20258
 
 
20259
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20260
 
if test "$GCC" = yes; then
20261
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20262
 
fi
20263
 
 
20264
 
#
20265
 
# Do we need to explicitly link libc?
20266
 
#
20267
 
case "x$archive_cmds_need_lc_GCJ" in
20268
 
x|xyes)
20269
 
  # Assume -lc should be added
20270
 
  archive_cmds_need_lc_GCJ=yes
20271
 
 
20272
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
20273
 
    case $archive_cmds_GCJ in
20274
 
    *'~'*)
20275
 
      # FIXME: we may have to deal with multi-command sequences.
20276
 
      ;;
20277
 
    '$CC '*)
20278
 
      # Test whether the compiler implicitly links with -lc since on some
20279
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20280
 
      # to ld, don't add -lc before -lgcc.
20281
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20282
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20283
 
      $rm conftest*
20284
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20285
 
 
20286
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20287
 
  (eval $ac_compile) 2>&5
20288
 
  ac_status=$?
20289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290
 
  (exit $ac_status); } 2>conftest.err; then
20291
 
        soname=conftest
20292
 
        lib=conftest
20293
 
        libobjs=conftest.$ac_objext
20294
 
        deplibs=
20295
 
        wl=$lt_prog_compiler_wl_GCJ
20296
 
        compiler_flags=-v
20297
 
        linker_flags=-v
20298
 
        verstring=
20299
 
        output_objdir=.
20300
 
        libname=conftest
20301
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20302
 
        allow_undefined_flag_GCJ=
20303
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20304
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20305
 
  ac_status=$?
20306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307
 
  (exit $ac_status); }
20308
 
        then
20309
 
          archive_cmds_need_lc_GCJ=no
20310
 
        else
20311
 
          archive_cmds_need_lc_GCJ=yes
20312
 
        fi
20313
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20314
 
      else
20315
 
        cat conftest.err 1>&5
20316
 
      fi
20317
 
      $rm conftest*
20318
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20319
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20320
 
      ;;
20321
 
    esac
20322
 
  fi
20323
 
  ;;
20324
 
esac
20325
 
 
20326
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20327
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20328
 
library_names_spec=
20329
 
libname_spec='lib$name'
20330
 
soname_spec=
20331
 
shrext=".so"
20332
 
postinstall_cmds=
20333
 
postuninstall_cmds=
20334
 
finish_cmds=
20335
 
finish_eval=
20336
 
shlibpath_var=
20337
 
shlibpath_overrides_runpath=unknown
20338
 
version_type=none
20339
 
dynamic_linker="$host_os ld.so"
20340
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20341
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20342
 
need_lib_prefix=unknown
20343
 
hardcode_into_libs=no
20344
 
 
20345
 
# when you set need_version to no, make sure it does not cause -set_version
20346
 
# flags to be left without arguments
20347
 
need_version=unknown
20348
 
 
20349
 
case $host_os in
20350
 
aix3*)
20351
 
  version_type=linux
20352
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20353
 
  shlibpath_var=LIBPATH
20354
 
 
20355
 
  # AIX 3 has no versioning support, so we append a major version to the name.
20356
 
  soname_spec='${libname}${release}${shared_ext}$major'
20357
 
  ;;
20358
 
 
20359
 
aix4* | aix5*)
20360
 
  version_type=linux
20361
 
  need_lib_prefix=no
20362
 
  need_version=no
20363
 
  hardcode_into_libs=yes
20364
 
  if test "$host_cpu" = ia64; then
20365
 
    # AIX 5 supports IA64
20366
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20367
 
    shlibpath_var=LD_LIBRARY_PATH
20368
 
  else
20369
 
    # With GCC up to 2.95.x, collect2 would create an import file
20370
 
    # for dependence libraries.  The import file would start with
20371
 
    # the line `#! .'.  This would cause the generated library to
20372
 
    # depend on `.', always an invalid library.  This was fixed in
20373
 
    # development snapshots of GCC prior to 3.0.
20374
 
    case $host_os in
20375
 
      aix4 | aix4.[01] | aix4.[01].*)
20376
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20377
 
           echo ' yes '
20378
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20379
 
        :
20380
 
      else
20381
 
        can_build_shared=no
20382
 
      fi
20383
 
      ;;
20384
 
    esac
20385
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20386
 
    # soname into executable. Probably we can add versioning support to
20387
 
    # collect2, so additional links can be useful in future.
20388
 
    if test "$aix_use_runtimelinking" = yes; then
20389
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20390
 
      # instead of lib<name>.a to let people know that these are not
20391
 
      # typical AIX shared libraries.
20392
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20393
 
    else
20394
 
      # We preserve .a as extension for shared libraries through AIX4.2
20395
 
      # and later when we are not doing run time linking.
20396
 
      library_names_spec='${libname}${release}.a $libname.a'
20397
 
      soname_spec='${libname}${release}${shared_ext}$major'
20398
 
    fi
20399
 
    shlibpath_var=LIBPATH
20400
 
  fi
20401
 
  ;;
20402
 
 
20403
 
amigaos*)
20404
 
  library_names_spec='$libname.ixlibrary $libname.a'
20405
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
20406
 
  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'
20407
 
  ;;
20408
 
 
20409
 
beos*)
20410
 
  library_names_spec='${libname}${shared_ext}'
20411
 
  dynamic_linker="$host_os ld.so"
20412
 
  shlibpath_var=LIBRARY_PATH
20413
 
  ;;
20414
 
 
20415
 
bsdi4*)
20416
 
  version_type=linux
20417
 
  need_version=no
20418
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20419
 
  soname_spec='${libname}${release}${shared_ext}$major'
20420
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20421
 
  shlibpath_var=LD_LIBRARY_PATH
20422
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20423
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20424
 
  # the default ld.so.conf also contains /usr/contrib/lib and
20425
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20426
 
  # libtool to hard-code these into programs
20427
 
  ;;
20428
 
 
20429
 
cygwin* | mingw* | pw32*)
20430
 
  version_type=windows
20431
 
  shrext=".dll"
20432
 
  need_version=no
20433
 
  need_lib_prefix=no
20434
 
 
20435
 
  case $GCC,$host_os in
20436
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
20437
 
    library_names_spec='$libname.dll.a'
20438
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
20439
 
    postinstall_cmds='base_file=`basename \${file}`~
20440
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20441
 
      dldir=$destdir/`dirname \$dlpath`~
20442
 
      test -d \$dldir || mkdir -p \$dldir~
20443
 
      $install_prog $dir/$dlname \$dldir/$dlname'
20444
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20445
 
      dlpath=$dir/\$dldll~
20446
 
       $rm \$dlpath'
20447
 
    shlibpath_overrides_runpath=yes
20448
 
 
20449
 
    case $host_os in
20450
 
    cygwin*)
20451
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20452
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20453
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20454
 
      ;;
20455
 
    mingw*)
20456
 
      # MinGW DLLs use traditional 'lib' prefix
20457
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20458
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20459
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20460
 
        # It is most probably a Windows format PATH printed by
20461
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
20462
 
        # path with ; separators, and with drive letters. We can handle the
20463
 
        # drive letters (cygwin fileutils understands them), so leave them,
20464
 
        # especially as we might pass files found there to a mingw objdump,
20465
 
        # which wouldn't understand a cygwinified path. Ahh.
20466
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20467
 
      else
20468
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20469
 
      fi
20470
 
      ;;
20471
 
    pw32*)
20472
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
20473
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
20474
 
      ;;
20475
 
    esac
20476
 
    ;;
20477
 
 
20478
 
  *)
20479
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20480
 
    ;;
20481
 
  esac
20482
 
  dynamic_linker='Win32 ld.exe'
20483
 
  # FIXME: first we should search . and the directory the executable is in
20484
 
  shlibpath_var=PATH
20485
 
  ;;
20486
 
 
20487
 
darwin* | rhapsody*)
20488
 
  dynamic_linker="$host_os dyld"
20489
 
  version_type=darwin
20490
 
  need_lib_prefix=no
20491
 
  need_version=no
20492
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20493
 
  soname_spec='${libname}${release}${major}$shared_ext'
20494
 
  shlibpath_overrides_runpath=yes
20495
 
  shlibpath_var=DYLD_LIBRARY_PATH
20496
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
20497
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20498
 
  if test "$GCC" = yes; then
20499
 
    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"`
20500
 
  else
20501
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20502
 
  fi
20503
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20504
 
  ;;
20505
 
 
20506
 
dgux*)
20507
 
  version_type=linux
20508
 
  need_lib_prefix=no
20509
 
  need_version=no
20510
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20511
 
  soname_spec='${libname}${release}${shared_ext}$major'
20512
 
  shlibpath_var=LD_LIBRARY_PATH
20513
 
  ;;
20514
 
 
20515
 
freebsd1*)
20516
 
  dynamic_linker=no
20517
 
  ;;
20518
 
 
20519
 
kfreebsd*-gnu*)
20520
 
  version_type=linux
20521
 
  need_lib_prefix=no
20522
 
  need_version=no
20523
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20524
 
  soname_spec='${libname}${release}${shared_ext}$major'
20525
 
  shlibpath_var=LD_LIBRARY_PATH
20526
 
  shlibpath_overrides_runpath=no
20527
 
  hardcode_into_libs=yes
20528
 
  dynamic_linker='GNU ld.so'
20529
 
  ;;
20530
 
 
20531
 
freebsd*)
20532
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
20533
 
  version_type=freebsd-$objformat
20534
 
  case $version_type in
20535
 
    freebsd-elf*)
20536
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20537
 
      need_version=no
20538
 
      need_lib_prefix=no
20539
 
      ;;
20540
 
    freebsd-*)
20541
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20542
 
      need_version=yes
20543
 
      ;;
20544
 
  esac
20545
 
  shlibpath_var=LD_LIBRARY_PATH
20546
 
  case $host_os in
20547
 
  freebsd2*)
20548
 
    shlibpath_overrides_runpath=yes
20549
 
    ;;
20550
 
  freebsd3.01* | freebsdelf3.01*)
20551
 
    shlibpath_overrides_runpath=yes
20552
 
    hardcode_into_libs=yes
20553
 
    ;;
20554
 
  *) # from 3.2 on
20555
 
    shlibpath_overrides_runpath=no
20556
 
    hardcode_into_libs=yes
20557
 
    ;;
20558
 
  esac
20559
 
  ;;
20560
 
 
20561
 
gnu*)
20562
 
  version_type=linux
20563
 
  need_lib_prefix=no
20564
 
  need_version=no
20565
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20566
 
  soname_spec='${libname}${release}${shared_ext}$major'
20567
 
  shlibpath_var=LD_LIBRARY_PATH
20568
 
  hardcode_into_libs=yes
20569
 
  ;;
20570
 
 
20571
 
hpux9* | hpux10* | hpux11*)
20572
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
20573
 
  # link against other versions.
20574
 
  version_type=sunos
20575
 
  need_lib_prefix=no
20576
 
  need_version=no
20577
 
  case "$host_cpu" in
20578
 
  ia64*)
20579
 
    shrext='.so'
20580
 
    hardcode_into_libs=yes
20581
 
    dynamic_linker="$host_os dld.so"
20582
 
    shlibpath_var=LD_LIBRARY_PATH
20583
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20584
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20585
 
    soname_spec='${libname}${release}${shared_ext}$major'
20586
 
    if test "X$HPUX_IA64_MODE" = X32; then
20587
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20588
 
    else
20589
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20590
 
    fi
20591
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20592
 
    ;;
20593
 
   hppa*64*)
20594
 
     shrext='.sl'
20595
 
     hardcode_into_libs=yes
20596
 
     dynamic_linker="$host_os dld.sl"
20597
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20598
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20599
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20600
 
     soname_spec='${libname}${release}${shared_ext}$major'
20601
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20602
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20603
 
     ;;
20604
 
   *)
20605
 
    shrext='.sl'
20606
 
    dynamic_linker="$host_os dld.sl"
20607
 
    shlibpath_var=SHLIB_PATH
20608
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20609
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20610
 
    soname_spec='${libname}${release}${shared_ext}$major'
20611
 
    ;;
20612
 
  esac
20613
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
20614
 
  postinstall_cmds='chmod 555 $lib'
20615
 
  ;;
20616
 
 
20617
 
irix5* | irix6* | nonstopux*)
20618
 
  case $host_os in
20619
 
    nonstopux*) version_type=nonstopux ;;
20620
 
    *)
20621
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
20622
 
                version_type=linux
20623
 
        else
20624
 
                version_type=irix
20625
 
        fi ;;
20626
 
  esac
20627
 
  need_lib_prefix=no
20628
 
  need_version=no
20629
 
  soname_spec='${libname}${release}${shared_ext}$major'
20630
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20631
 
  case $host_os in
20632
 
  irix5* | nonstopux*)
20633
 
    libsuff= shlibsuff=
20634
 
    ;;
20635
 
  *)
20636
 
    case $LD in # libtool.m4 will add one of these switches to LD
20637
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20638
 
      libsuff= shlibsuff= libmagic=32-bit;;
20639
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20640
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
20641
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20642
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
20643
 
    *) libsuff= shlibsuff= libmagic=never-match;;
20644
 
    esac
20645
 
    ;;
20646
 
  esac
20647
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20648
 
  shlibpath_overrides_runpath=no
20649
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20650
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20651
 
  hardcode_into_libs=yes
20652
 
  ;;
20653
 
 
20654
 
# No shared lib support for Linux oldld, aout, or coff.
20655
 
linux*oldld* | linux*aout* | linux*coff*)
20656
 
  dynamic_linker=no
20657
 
  ;;
20658
 
 
20659
 
# This must be Linux ELF.
20660
 
linux*)
20661
 
  version_type=linux
20662
 
  need_lib_prefix=no
20663
 
  need_version=no
20664
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20665
 
  soname_spec='${libname}${release}${shared_ext}$major'
20666
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20667
 
  libsuff=
20668
 
  if test "x$LINUX_64_MODE" = x64; then
20669
 
    # Some platforms are per default 64-bit, so there's no /lib64
20670
 
    if test -d /lib64; then
20671
 
      libsuff=64
20672
 
    fi
20673
 
  fi
20674
 
  shlibpath_var=LD_LIBRARY_PATH
20675
 
  shlibpath_overrides_runpath=no
20676
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
20677
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
20678
 
  # This implies no fast_install, which is unacceptable.
20679
 
  # Some rework will be needed to allow for fast_install
20680
 
  # before this can be enabled.
20681
 
  hardcode_into_libs=yes
20682
 
 
20683
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
20684
 
  # powerpc, because MkLinux only supported shared libraries with the
20685
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
20686
 
  # most powerpc-linux boxes support dynamic linking these days and
20687
 
  # people can always --disable-shared, the test was removed, and we
20688
 
  # assume the GNU/Linux dynamic linker is in use.
20689
 
  dynamic_linker='GNU/Linux ld.so'
20690
 
  ;;
20691
 
 
20692
 
netbsd*)
20693
 
  version_type=sunos
20694
 
  need_lib_prefix=no
20695
 
  need_version=no
20696
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20697
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20698
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20699
 
    dynamic_linker='NetBSD (a.out) ld.so'
20700
 
  else
20701
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
20702
 
    soname_spec='${libname}${release}${shared_ext}$major'
20703
 
    dynamic_linker='NetBSD ld.elf_so'
20704
 
  fi
20705
 
  shlibpath_var=LD_LIBRARY_PATH
20706
 
  shlibpath_overrides_runpath=yes
20707
 
  hardcode_into_libs=yes
20708
 
  ;;
20709
 
 
20710
 
newsos6)
20711
 
  version_type=linux
20712
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20713
 
  shlibpath_var=LD_LIBRARY_PATH
20714
 
  shlibpath_overrides_runpath=yes
20715
 
  ;;
20716
 
 
20717
 
nto-qnx*)
20718
 
  version_type=linux
20719
 
  need_lib_prefix=no
20720
 
  need_version=no
20721
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20722
 
  soname_spec='${libname}${release}${shared_ext}$major'
20723
 
  shlibpath_var=LD_LIBRARY_PATH
20724
 
  shlibpath_overrides_runpath=yes
20725
 
  ;;
20726
 
 
20727
 
openbsd*)
20728
 
  version_type=sunos
20729
 
  need_lib_prefix=no
20730
 
  need_version=no
20731
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20732
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20733
 
  shlibpath_var=LD_LIBRARY_PATH
20734
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20735
 
    case $host_os in
20736
 
      openbsd2.[89] | openbsd2.[89].*)
20737
 
        shlibpath_overrides_runpath=no
20738
 
        ;;
20739
 
      *)
20740
 
        shlibpath_overrides_runpath=yes
20741
 
        ;;
20742
 
      esac
20743
 
  else
20744
 
    shlibpath_overrides_runpath=yes
20745
 
  fi
20746
 
  ;;
20747
 
 
20748
 
os2*)
20749
 
  libname_spec='$name'
20750
 
  shrext=".dll"
20751
 
  need_lib_prefix=no
20752
 
  library_names_spec='$libname${shared_ext} $libname.a'
20753
 
  dynamic_linker='OS/2 ld.exe'
20754
 
  shlibpath_var=LIBPATH
20755
 
  ;;
20756
 
 
20757
 
osf3* | osf4* | osf5*)
20758
 
  version_type=osf
20759
 
  need_lib_prefix=no
20760
 
  need_version=no
20761
 
  soname_spec='${libname}${release}${shared_ext}$major'
20762
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20763
 
  shlibpath_var=LD_LIBRARY_PATH
20764
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20765
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20766
 
  ;;
20767
 
 
20768
 
sco3.2v5*)
20769
 
  version_type=osf
20770
 
  soname_spec='${libname}${release}${shared_ext}$major'
20771
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20772
 
  shlibpath_var=LD_LIBRARY_PATH
20773
 
  ;;
20774
 
 
20775
 
solaris*)
20776
 
  version_type=linux
20777
 
  need_lib_prefix=no
20778
 
  need_version=no
20779
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20780
 
  soname_spec='${libname}${release}${shared_ext}$major'
20781
 
  shlibpath_var=LD_LIBRARY_PATH
20782
 
  shlibpath_overrides_runpath=yes
20783
 
  hardcode_into_libs=yes
20784
 
  # ldd complains unless libraries are executable
20785
 
  postinstall_cmds='chmod +x $lib'
20786
 
  ;;
20787
 
 
20788
 
sunos4*)
20789
 
  version_type=sunos
20790
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20791
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20792
 
  shlibpath_var=LD_LIBRARY_PATH
20793
 
  shlibpath_overrides_runpath=yes
20794
 
  if test "$with_gnu_ld" = yes; then
20795
 
    need_lib_prefix=no
20796
 
  fi
20797
 
  need_version=yes
20798
 
  ;;
20799
 
 
20800
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20801
 
  version_type=linux
20802
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20803
 
  soname_spec='${libname}${release}${shared_ext}$major'
20804
 
  shlibpath_var=LD_LIBRARY_PATH
20805
 
  case $host_vendor in
20806
 
    sni)
20807
 
      shlibpath_overrides_runpath=no
20808
 
      need_lib_prefix=no
20809
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
20810
 
      runpath_var=LD_RUN_PATH
20811
 
      ;;
20812
 
    siemens)
20813
 
      need_lib_prefix=no
20814
 
      ;;
20815
 
    motorola)
20816
 
      need_lib_prefix=no
20817
 
      need_version=no
20818
 
      shlibpath_overrides_runpath=no
20819
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20820
 
      ;;
20821
 
  esac
20822
 
  ;;
20823
 
 
20824
 
sysv4*MP*)
20825
 
  if test -d /usr/nec ;then
20826
 
    version_type=linux
20827
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20828
 
    soname_spec='$libname${shared_ext}.$major'
20829
 
    shlibpath_var=LD_LIBRARY_PATH
20830
 
  fi
20831
 
  ;;
20832
 
 
20833
 
uts4*)
20834
 
  version_type=linux
20835
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20836
 
  soname_spec='${libname}${release}${shared_ext}$major'
20837
 
  shlibpath_var=LD_LIBRARY_PATH
20838
 
  ;;
20839
 
 
20840
 
*)
20841
 
  dynamic_linker=no
20842
 
  ;;
20843
 
esac
20844
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20845
 
echo "${ECHO_T}$dynamic_linker" >&6; }
20846
 
test "$dynamic_linker" = no && can_build_shared=no
20847
 
 
20848
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20849
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20850
 
hardcode_action_GCJ=
20851
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20852
 
   test -n "$runpath_var GCJ" || \
20853
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
20854
 
 
20855
 
  # We can hardcode non-existant directories.
20856
 
  if test "$hardcode_direct_GCJ" != no &&
20857
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
20858
 
     # have to relink, otherwise we might link with an installed library
20859
 
     # when we should be linking with a yet-to-be-installed one
20860
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20861
 
     test "$hardcode_minus_L_GCJ" != no; then
20862
 
    # Linking always hardcodes the temporary library directory.
20863
 
    hardcode_action_GCJ=relink
20864
 
  else
20865
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
20866
 
    hardcode_action_GCJ=immediate
20867
 
  fi
20868
 
else
20869
 
  # We cannot hardcode anything, or else we can only hardcode existing
20870
 
  # directories.
20871
 
  hardcode_action_GCJ=unsupported
20872
 
fi
20873
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20874
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20875
 
 
20876
 
if test "$hardcode_action_GCJ" = relink; then
20877
 
  # Fast installation is not supported
20878
 
  enable_fast_install=no
20879
 
elif test "$shlibpath_overrides_runpath" = yes ||
20880
 
     test "$enable_shared" = no; then
20881
 
  # Fast installation is not necessary
20882
 
  enable_fast_install=needless
20883
 
fi
20884
 
 
20885
 
striplib=
20886
 
old_striplib=
20887
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20888
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
20889
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
20890
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
20891
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
20892
 
  { echo "$as_me:$LINENO: result: yes" >&5
20893
 
echo "${ECHO_T}yes" >&6; }
20894
 
else
20895
 
# FIXME - insert some real tests, host_os isn't really good enough
20896
 
  case $host_os in
20897
 
   darwin*)
20898
 
       if test -n "$STRIP" ; then
20899
 
         striplib="$STRIP -x"
20900
 
         { echo "$as_me:$LINENO: result: yes" >&5
20901
 
echo "${ECHO_T}yes" >&6; }
20902
 
       else
20903
 
  { echo "$as_me:$LINENO: result: no" >&5
20904
 
echo "${ECHO_T}no" >&6; }
20905
 
fi
20906
 
       ;;
20907
 
   *)
20908
 
  { echo "$as_me:$LINENO: result: no" >&5
20909
 
echo "${ECHO_T}no" >&6; }
20910
 
    ;;
20911
 
  esac
20912
 
fi
20913
 
 
20914
 
if test "x$enable_dlopen" != xyes; then
20915
 
  enable_dlopen=unknown
20916
 
  enable_dlopen_self=unknown
20917
 
  enable_dlopen_self_static=unknown
20918
 
else
20919
 
  lt_cv_dlopen=no
20920
 
  lt_cv_dlopen_libs=
20921
 
 
20922
 
  case $host_os in
20923
 
  beos*)
20924
 
    lt_cv_dlopen="load_add_on"
20925
 
    lt_cv_dlopen_libs=
20926
 
    lt_cv_dlopen_self=yes
20927
 
    ;;
20928
 
 
20929
 
  mingw* | pw32*)
20930
 
    lt_cv_dlopen="LoadLibrary"
20931
 
    lt_cv_dlopen_libs=
20932
 
   ;;
20933
 
 
20934
 
  cygwin*)
20935
 
    lt_cv_dlopen="dlopen"
20936
 
    lt_cv_dlopen_libs=
20937
 
   ;;
20938
 
 
20939
 
  darwin*)
20940
 
  # if libdl is installed we need to link against it
20941
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20942
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20943
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20945
 
else
20946
 
  ac_check_lib_save_LIBS=$LIBS
20947
 
LIBS="-ldl  $LIBS"
20948
 
cat >conftest.$ac_ext <<_ACEOF
20949
 
/* confdefs.h.  */
20950
 
_ACEOF
20951
 
cat confdefs.h >>conftest.$ac_ext
20952
 
cat >>conftest.$ac_ext <<_ACEOF
20953
 
/* end confdefs.h.  */
20954
 
 
20955
 
/* Override any GCC internal prototype to avoid an error.
20956
 
   Use char because int might match the return type of a GCC
20957
 
   builtin and then its argument prototype would still apply.  */
20958
 
#ifdef __cplusplus
20959
 
extern "C"
20960
 
#endif
20961
 
char dlopen ();
20962
 
int
20963
 
main ()
20964
 
{
20965
 
return dlopen ();
20966
 
  ;
20967
 
  return 0;
20968
 
}
20969
 
_ACEOF
20970
 
rm -f conftest.$ac_objext conftest$ac_exeext
20971
 
if { (ac_try="$ac_link"
20972
 
case "(($ac_try" in
20973
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20974
 
  *) ac_try_echo=$ac_try;;
20975
 
esac
20976
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20977
 
  (eval "$ac_link") 2>conftest.er1
20978
 
  ac_status=$?
20979
 
  grep -v '^ *+' conftest.er1 >conftest.err
20980
 
  rm -f conftest.er1
20981
 
  cat conftest.err >&5
20982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983
 
  (exit $ac_status); } && {
20984
 
         test -z "$ac_c_werror_flag" ||
20985
 
         test ! -s conftest.err
20986
 
       } && test -s conftest$ac_exeext &&
20987
 
       $as_test_x conftest$ac_exeext; then
20988
 
  ac_cv_lib_dl_dlopen=yes
20989
 
else
20990
 
  echo "$as_me: failed program was:" >&5
20991
 
sed 's/^/| /' conftest.$ac_ext >&5
20992
 
 
20993
 
        ac_cv_lib_dl_dlopen=no
20994
 
fi
20995
 
 
20996
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20997
 
      conftest$ac_exeext conftest.$ac_ext
20998
 
LIBS=$ac_check_lib_save_LIBS
20999
 
fi
21000
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21001
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
21002
 
if test $ac_cv_lib_dl_dlopen = yes; then
21003
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21004
 
else
21005
 
 
21006
 
    lt_cv_dlopen="dyld"
21007
 
    lt_cv_dlopen_libs=
21008
 
    lt_cv_dlopen_self=yes
21009
 
 
21010
 
fi
21011
 
 
21012
 
   ;;
21013
 
 
21014
 
  *)
21015
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
21016
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
21017
 
if test "${ac_cv_func_shl_load+set}" = set; then
21018
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21019
 
else
21020
 
  cat >conftest.$ac_ext <<_ACEOF
21021
 
/* confdefs.h.  */
21022
 
_ACEOF
21023
 
cat confdefs.h >>conftest.$ac_ext
21024
 
cat >>conftest.$ac_ext <<_ACEOF
21025
 
/* end confdefs.h.  */
21026
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
21027
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21028
 
#define shl_load innocuous_shl_load
21029
 
 
21030
 
/* System header to define __stub macros and hopefully few prototypes,
21031
 
    which can conflict with char shl_load (); below.
21032
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21033
 
    <limits.h> exists even on freestanding compilers.  */
21034
 
 
21035
 
#ifdef __STDC__
21036
 
# include <limits.h>
21037
 
#else
21038
 
# include <assert.h>
21039
 
#endif
21040
 
 
21041
 
#undef shl_load
21042
 
 
21043
 
/* Override any GCC internal prototype to avoid an error.
21044
 
   Use char because int might match the return type of a GCC
21045
 
   builtin and then its argument prototype would still apply.  */
21046
 
#ifdef __cplusplus
21047
 
extern "C"
21048
 
#endif
21049
 
char shl_load ();
21050
 
/* The GNU C library defines this for functions which it implements
21051
 
    to always fail with ENOSYS.  Some functions are actually named
21052
 
    something starting with __ and the normal name is an alias.  */
21053
 
#if defined __stub_shl_load || defined __stub___shl_load
21054
 
choke me
21055
 
#endif
21056
 
 
21057
 
int
21058
 
main ()
21059
 
{
21060
 
return shl_load ();
21061
 
  ;
21062
 
  return 0;
21063
 
}
21064
 
_ACEOF
21065
 
rm -f conftest.$ac_objext conftest$ac_exeext
21066
 
if { (ac_try="$ac_link"
21067
 
case "(($ac_try" in
21068
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21069
 
  *) ac_try_echo=$ac_try;;
21070
 
esac
21071
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21072
 
  (eval "$ac_link") 2>conftest.er1
21073
 
  ac_status=$?
21074
 
  grep -v '^ *+' conftest.er1 >conftest.err
21075
 
  rm -f conftest.er1
21076
 
  cat conftest.err >&5
21077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078
 
  (exit $ac_status); } && {
21079
 
         test -z "$ac_c_werror_flag" ||
21080
 
         test ! -s conftest.err
21081
 
       } && test -s conftest$ac_exeext &&
21082
 
       $as_test_x conftest$ac_exeext; then
21083
 
  ac_cv_func_shl_load=yes
21084
 
else
21085
 
  echo "$as_me: failed program was:" >&5
21086
 
sed 's/^/| /' conftest.$ac_ext >&5
21087
 
 
21088
 
        ac_cv_func_shl_load=no
21089
 
fi
21090
 
 
21091
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21092
 
      conftest$ac_exeext conftest.$ac_ext
21093
 
fi
21094
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
21095
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
21096
 
if test $ac_cv_func_shl_load = yes; then
21097
 
  lt_cv_dlopen="shl_load"
21098
 
else
21099
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
21100
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
21101
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
21102
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21103
 
else
21104
 
  ac_check_lib_save_LIBS=$LIBS
21105
 
LIBS="-ldld  $LIBS"
21106
 
cat >conftest.$ac_ext <<_ACEOF
21107
 
/* confdefs.h.  */
21108
 
_ACEOF
21109
 
cat confdefs.h >>conftest.$ac_ext
21110
 
cat >>conftest.$ac_ext <<_ACEOF
21111
 
/* end confdefs.h.  */
21112
 
 
21113
 
/* Override any GCC internal prototype to avoid an error.
21114
 
   Use char because int might match the return type of a GCC
21115
 
   builtin and then its argument prototype would still apply.  */
21116
 
#ifdef __cplusplus
21117
 
extern "C"
21118
 
#endif
21119
 
char shl_load ();
21120
 
int
21121
 
main ()
21122
 
{
21123
 
return shl_load ();
21124
 
  ;
21125
 
  return 0;
21126
 
}
21127
 
_ACEOF
21128
 
rm -f conftest.$ac_objext conftest$ac_exeext
21129
 
if { (ac_try="$ac_link"
21130
 
case "(($ac_try" in
21131
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21132
 
  *) ac_try_echo=$ac_try;;
21133
 
esac
21134
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21135
 
  (eval "$ac_link") 2>conftest.er1
21136
 
  ac_status=$?
21137
 
  grep -v '^ *+' conftest.er1 >conftest.err
21138
 
  rm -f conftest.er1
21139
 
  cat conftest.err >&5
21140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141
 
  (exit $ac_status); } && {
21142
 
         test -z "$ac_c_werror_flag" ||
21143
 
         test ! -s conftest.err
21144
 
       } && test -s conftest$ac_exeext &&
21145
 
       $as_test_x conftest$ac_exeext; then
21146
 
  ac_cv_lib_dld_shl_load=yes
21147
 
else
21148
 
  echo "$as_me: failed program was:" >&5
21149
 
sed 's/^/| /' conftest.$ac_ext >&5
21150
 
 
21151
 
        ac_cv_lib_dld_shl_load=no
21152
 
fi
21153
 
 
21154
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21155
 
      conftest$ac_exeext conftest.$ac_ext
21156
 
LIBS=$ac_check_lib_save_LIBS
21157
 
fi
21158
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
21159
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
21160
 
if test $ac_cv_lib_dld_shl_load = yes; then
21161
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
21162
 
else
21163
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
21164
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
21165
 
if test "${ac_cv_func_dlopen+set}" = set; then
21166
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21167
 
else
21168
 
  cat >conftest.$ac_ext <<_ACEOF
21169
 
/* confdefs.h.  */
21170
 
_ACEOF
21171
 
cat confdefs.h >>conftest.$ac_ext
21172
 
cat >>conftest.$ac_ext <<_ACEOF
21173
 
/* end confdefs.h.  */
21174
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
21175
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21176
 
#define dlopen innocuous_dlopen
21177
 
 
21178
 
/* System header to define __stub macros and hopefully few prototypes,
21179
 
    which can conflict with char dlopen (); below.
21180
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21181
 
    <limits.h> exists even on freestanding compilers.  */
21182
 
 
21183
 
#ifdef __STDC__
21184
 
# include <limits.h>
21185
 
#else
21186
 
# include <assert.h>
21187
 
#endif
21188
 
 
21189
 
#undef dlopen
21190
 
 
21191
 
/* Override any GCC internal prototype to avoid an error.
21192
 
   Use char because int might match the return type of a GCC
21193
 
   builtin and then its argument prototype would still apply.  */
21194
 
#ifdef __cplusplus
21195
 
extern "C"
21196
 
#endif
21197
 
char dlopen ();
21198
 
/* The GNU C library defines this for functions which it implements
21199
 
    to always fail with ENOSYS.  Some functions are actually named
21200
 
    something starting with __ and the normal name is an alias.  */
21201
 
#if defined __stub_dlopen || defined __stub___dlopen
21202
 
choke me
21203
 
#endif
21204
 
 
21205
 
int
21206
 
main ()
21207
 
{
21208
 
return dlopen ();
21209
 
  ;
21210
 
  return 0;
21211
 
}
21212
 
_ACEOF
21213
 
rm -f conftest.$ac_objext conftest$ac_exeext
21214
 
if { (ac_try="$ac_link"
21215
 
case "(($ac_try" in
21216
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21217
 
  *) ac_try_echo=$ac_try;;
21218
 
esac
21219
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21220
 
  (eval "$ac_link") 2>conftest.er1
21221
 
  ac_status=$?
21222
 
  grep -v '^ *+' conftest.er1 >conftest.err
21223
 
  rm -f conftest.er1
21224
 
  cat conftest.err >&5
21225
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226
 
  (exit $ac_status); } && {
21227
 
         test -z "$ac_c_werror_flag" ||
21228
 
         test ! -s conftest.err
21229
 
       } && test -s conftest$ac_exeext &&
21230
 
       $as_test_x conftest$ac_exeext; then
21231
 
  ac_cv_func_dlopen=yes
21232
 
else
21233
 
  echo "$as_me: failed program was:" >&5
21234
 
sed 's/^/| /' conftest.$ac_ext >&5
21235
 
 
21236
 
        ac_cv_func_dlopen=no
21237
 
fi
21238
 
 
21239
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21240
 
      conftest$ac_exeext conftest.$ac_ext
21241
 
fi
21242
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
21243
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
21244
 
if test $ac_cv_func_dlopen = yes; then
21245
 
  lt_cv_dlopen="dlopen"
21246
 
else
21247
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21248
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
21249
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21250
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21251
 
else
21252
 
  ac_check_lib_save_LIBS=$LIBS
21253
 
LIBS="-ldl  $LIBS"
21254
 
cat >conftest.$ac_ext <<_ACEOF
21255
 
/* confdefs.h.  */
21256
 
_ACEOF
21257
 
cat confdefs.h >>conftest.$ac_ext
21258
 
cat >>conftest.$ac_ext <<_ACEOF
21259
 
/* end confdefs.h.  */
21260
 
 
21261
 
/* Override any GCC internal prototype to avoid an error.
21262
 
   Use char because int might match the return type of a GCC
21263
 
   builtin and then its argument prototype would still apply.  */
21264
 
#ifdef __cplusplus
21265
 
extern "C"
21266
 
#endif
21267
 
char dlopen ();
21268
 
int
21269
 
main ()
21270
 
{
21271
 
return dlopen ();
21272
 
  ;
21273
 
  return 0;
21274
 
}
21275
 
_ACEOF
21276
 
rm -f conftest.$ac_objext conftest$ac_exeext
21277
 
if { (ac_try="$ac_link"
21278
 
case "(($ac_try" in
21279
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21280
 
  *) ac_try_echo=$ac_try;;
21281
 
esac
21282
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283
 
  (eval "$ac_link") 2>conftest.er1
21284
 
  ac_status=$?
21285
 
  grep -v '^ *+' conftest.er1 >conftest.err
21286
 
  rm -f conftest.er1
21287
 
  cat conftest.err >&5
21288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289
 
  (exit $ac_status); } && {
21290
 
         test -z "$ac_c_werror_flag" ||
21291
 
         test ! -s conftest.err
21292
 
       } && test -s conftest$ac_exeext &&
21293
 
       $as_test_x conftest$ac_exeext; then
21294
 
  ac_cv_lib_dl_dlopen=yes
21295
 
else
21296
 
  echo "$as_me: failed program was:" >&5
21297
 
sed 's/^/| /' conftest.$ac_ext >&5
21298
 
 
21299
 
        ac_cv_lib_dl_dlopen=no
21300
 
fi
21301
 
 
21302
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21303
 
      conftest$ac_exeext conftest.$ac_ext
21304
 
LIBS=$ac_check_lib_save_LIBS
21305
 
fi
21306
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21307
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
21308
 
if test $ac_cv_lib_dl_dlopen = yes; then
21309
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21310
 
else
21311
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
21312
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
21313
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
21314
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21315
 
else
21316
 
  ac_check_lib_save_LIBS=$LIBS
21317
 
LIBS="-lsvld  $LIBS"
21318
 
cat >conftest.$ac_ext <<_ACEOF
21319
 
/* confdefs.h.  */
21320
 
_ACEOF
21321
 
cat confdefs.h >>conftest.$ac_ext
21322
 
cat >>conftest.$ac_ext <<_ACEOF
21323
 
/* end confdefs.h.  */
21324
 
 
21325
 
/* Override any GCC internal prototype to avoid an error.
21326
 
   Use char because int might match the return type of a GCC
21327
 
   builtin and then its argument prototype would still apply.  */
21328
 
#ifdef __cplusplus
21329
 
extern "C"
21330
 
#endif
21331
 
char dlopen ();
21332
 
int
21333
 
main ()
21334
 
{
21335
 
return dlopen ();
21336
 
  ;
21337
 
  return 0;
21338
 
}
21339
 
_ACEOF
21340
 
rm -f conftest.$ac_objext conftest$ac_exeext
21341
 
if { (ac_try="$ac_link"
21342
 
case "(($ac_try" in
21343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344
 
  *) ac_try_echo=$ac_try;;
21345
 
esac
21346
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347
 
  (eval "$ac_link") 2>conftest.er1
21348
 
  ac_status=$?
21349
 
  grep -v '^ *+' conftest.er1 >conftest.err
21350
 
  rm -f conftest.er1
21351
 
  cat conftest.err >&5
21352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353
 
  (exit $ac_status); } && {
21354
 
         test -z "$ac_c_werror_flag" ||
21355
 
         test ! -s conftest.err
21356
 
       } && test -s conftest$ac_exeext &&
21357
 
       $as_test_x conftest$ac_exeext; then
21358
 
  ac_cv_lib_svld_dlopen=yes
21359
 
else
21360
 
  echo "$as_me: failed program was:" >&5
21361
 
sed 's/^/| /' conftest.$ac_ext >&5
21362
 
 
21363
 
        ac_cv_lib_svld_dlopen=no
21364
 
fi
21365
 
 
21366
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21367
 
      conftest$ac_exeext conftest.$ac_ext
21368
 
LIBS=$ac_check_lib_save_LIBS
21369
 
fi
21370
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
21371
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
21372
 
if test $ac_cv_lib_svld_dlopen = yes; then
21373
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
21374
 
else
21375
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
21376
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
21377
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
21378
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21379
 
else
21380
 
  ac_check_lib_save_LIBS=$LIBS
21381
 
LIBS="-ldld  $LIBS"
21382
 
cat >conftest.$ac_ext <<_ACEOF
21383
 
/* confdefs.h.  */
21384
 
_ACEOF
21385
 
cat confdefs.h >>conftest.$ac_ext
21386
 
cat >>conftest.$ac_ext <<_ACEOF
21387
 
/* end confdefs.h.  */
21388
 
 
21389
 
/* Override any GCC internal prototype to avoid an error.
21390
 
   Use char because int might match the return type of a GCC
21391
 
   builtin and then its argument prototype would still apply.  */
21392
 
#ifdef __cplusplus
21393
 
extern "C"
21394
 
#endif
21395
 
char dld_link ();
21396
 
int
21397
 
main ()
21398
 
{
21399
 
return dld_link ();
21400
 
  ;
21401
 
  return 0;
21402
 
}
21403
 
_ACEOF
21404
 
rm -f conftest.$ac_objext conftest$ac_exeext
21405
 
if { (ac_try="$ac_link"
21406
 
case "(($ac_try" in
21407
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21408
 
  *) ac_try_echo=$ac_try;;
21409
 
esac
21410
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21411
 
  (eval "$ac_link") 2>conftest.er1
21412
 
  ac_status=$?
21413
 
  grep -v '^ *+' conftest.er1 >conftest.err
21414
 
  rm -f conftest.er1
21415
 
  cat conftest.err >&5
21416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417
 
  (exit $ac_status); } && {
21418
 
         test -z "$ac_c_werror_flag" ||
21419
 
         test ! -s conftest.err
21420
 
       } && test -s conftest$ac_exeext &&
21421
 
       $as_test_x conftest$ac_exeext; then
21422
 
  ac_cv_lib_dld_dld_link=yes
21423
 
else
21424
 
  echo "$as_me: failed program was:" >&5
21425
 
sed 's/^/| /' conftest.$ac_ext >&5
21426
 
 
21427
 
        ac_cv_lib_dld_dld_link=no
21428
 
fi
21429
 
 
21430
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21431
 
      conftest$ac_exeext conftest.$ac_ext
21432
 
LIBS=$ac_check_lib_save_LIBS
21433
 
fi
21434
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
21435
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
21436
 
if test $ac_cv_lib_dld_dld_link = yes; then
21437
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
21438
 
fi
21439
 
 
21440
 
 
21441
 
fi
21442
 
 
21443
 
 
21444
 
fi
21445
 
 
21446
 
 
21447
 
fi
21448
 
 
21449
 
 
21450
 
fi
21451
 
 
21452
 
 
21453
 
fi
21454
 
 
21455
 
    ;;
21456
 
  esac
21457
 
 
21458
 
  if test "x$lt_cv_dlopen" != xno; then
21459
 
    enable_dlopen=yes
21460
 
  else
21461
 
    enable_dlopen=no
21462
 
  fi
21463
 
 
21464
 
  case $lt_cv_dlopen in
21465
 
  dlopen)
21466
 
    save_CPPFLAGS="$CPPFLAGS"
21467
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
21468
 
 
21469
 
    save_LDFLAGS="$LDFLAGS"
21470
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
21471
 
 
21472
 
    save_LIBS="$LIBS"
21473
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
21474
 
 
21475
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
21476
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
21477
 
if test "${lt_cv_dlopen_self+set}" = set; then
21478
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21479
 
else
21480
 
          if test "$cross_compiling" = yes; then :
21481
 
  lt_cv_dlopen_self=cross
21482
 
else
21483
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21484
 
  lt_status=$lt_dlunknown
21485
 
  cat > conftest.$ac_ext <<EOF
21486
 
#line 21486 "configure"
21487
 
#include "confdefs.h"
21488
 
 
21489
 
#if HAVE_DLFCN_H
21490
 
#include <dlfcn.h>
21491
 
#endif
21492
 
 
21493
 
#include <stdio.h>
21494
 
 
21495
 
#ifdef RTLD_GLOBAL
21496
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
21497
 
#else
21498
 
#  ifdef DL_GLOBAL
21499
 
#    define LT_DLGLOBAL         DL_GLOBAL
21500
 
#  else
21501
 
#    define LT_DLGLOBAL         0
21502
 
#  endif
21503
 
#endif
21504
 
 
21505
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21506
 
   find out it does not work in some platform. */
21507
 
#ifndef LT_DLLAZY_OR_NOW
21508
 
#  ifdef RTLD_LAZY
21509
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
21510
 
#  else
21511
 
#    ifdef DL_LAZY
21512
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
21513
 
#    else
21514
 
#      ifdef RTLD_NOW
21515
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
21516
 
#      else
21517
 
#        ifdef DL_NOW
21518
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
21519
 
#        else
21520
 
#          define LT_DLLAZY_OR_NOW      0
21521
 
#        endif
21522
 
#      endif
21523
 
#    endif
21524
 
#  endif
21525
 
#endif
21526
 
 
21527
 
#ifdef __cplusplus
21528
 
extern "C" void exit (int);
21529
 
#endif
21530
 
 
21531
 
void fnord() { int i=42;}
21532
 
int main ()
21533
 
{
21534
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21535
 
  int status = $lt_dlunknown;
21536
 
 
21537
 
  if (self)
21538
 
    {
21539
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
21540
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21541
 
      /* dlclose (self); */
21542
 
    }
21543
 
 
21544
 
    exit (status);
21545
 
}
21546
 
EOF
21547
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21548
 
  (eval $ac_link) 2>&5
21549
 
  ac_status=$?
21550
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21552
 
    (./conftest; exit; ) 2>/dev/null
21553
 
    lt_status=$?
21554
 
    case x$lt_status in
21555
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
21556
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
21557
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
21558
 
    esac
21559
 
  else :
21560
 
    # compilation failed
21561
 
    lt_cv_dlopen_self=no
21562
 
  fi
21563
 
fi
21564
 
rm -fr conftest*
21565
 
 
21566
 
 
21567
 
fi
21568
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
21569
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
21570
 
 
21571
 
    if test "x$lt_cv_dlopen_self" = xyes; then
21572
 
      LDFLAGS="$LDFLAGS $link_static_flag"
21573
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
21574
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
21575
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
21576
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21577
 
else
21578
 
          if test "$cross_compiling" = yes; then :
21579
 
  lt_cv_dlopen_self_static=cross
21580
 
else
21581
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21582
 
  lt_status=$lt_dlunknown
21583
 
  cat > conftest.$ac_ext <<EOF
21584
 
#line 21584 "configure"
21585
 
#include "confdefs.h"
21586
 
 
21587
 
#if HAVE_DLFCN_H
21588
 
#include <dlfcn.h>
21589
 
#endif
21590
 
 
21591
 
#include <stdio.h>
21592
 
 
21593
 
#ifdef RTLD_GLOBAL
21594
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
21595
 
#else
21596
 
#  ifdef DL_GLOBAL
21597
 
#    define LT_DLGLOBAL         DL_GLOBAL
21598
 
#  else
21599
 
#    define LT_DLGLOBAL         0
21600
 
#  endif
21601
 
#endif
21602
 
 
21603
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21604
 
   find out it does not work in some platform. */
21605
 
#ifndef LT_DLLAZY_OR_NOW
21606
 
#  ifdef RTLD_LAZY
21607
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
21608
 
#  else
21609
 
#    ifdef DL_LAZY
21610
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
21611
 
#    else
21612
 
#      ifdef RTLD_NOW
21613
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
21614
 
#      else
21615
 
#        ifdef DL_NOW
21616
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
21617
 
#        else
21618
 
#          define LT_DLLAZY_OR_NOW      0
21619
 
#        endif
21620
 
#      endif
21621
 
#    endif
21622
 
#  endif
21623
 
#endif
21624
 
 
21625
 
#ifdef __cplusplus
21626
 
extern "C" void exit (int);
21627
 
#endif
21628
 
 
21629
 
void fnord() { int i=42;}
21630
 
int main ()
21631
 
{
21632
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21633
 
  int status = $lt_dlunknown;
21634
 
 
21635
 
  if (self)
21636
 
    {
21637
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
21638
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21639
 
      /* dlclose (self); */
21640
 
    }
21641
 
 
21642
 
    exit (status);
21643
 
}
21644
 
EOF
21645
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21646
 
  (eval $ac_link) 2>&5
21647
 
  ac_status=$?
21648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21650
 
    (./conftest; exit; ) 2>/dev/null
21651
 
    lt_status=$?
21652
 
    case x$lt_status in
21653
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
21654
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
21655
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
21656
 
    esac
21657
 
  else :
21658
 
    # compilation failed
21659
 
    lt_cv_dlopen_self_static=no
21660
 
  fi
21661
 
fi
21662
 
rm -fr conftest*
21663
 
 
21664
 
 
21665
 
fi
21666
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
21667
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
21668
 
    fi
21669
 
 
21670
 
    CPPFLAGS="$save_CPPFLAGS"
21671
 
    LDFLAGS="$save_LDFLAGS"
21672
 
    LIBS="$save_LIBS"
21673
 
    ;;
21674
 
  esac
21675
 
 
21676
 
  case $lt_cv_dlopen_self in
21677
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
21678
 
  *) enable_dlopen_self=unknown ;;
21679
 
  esac
21680
 
 
21681
 
  case $lt_cv_dlopen_self_static in
21682
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
21683
 
  *) enable_dlopen_self_static=unknown ;;
21684
 
  esac
21685
 
fi
21686
 
 
21687
 
 
21688
 
# The else clause should only fire when bootstrapping the
21689
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
21690
 
# with your package, and you will get complaints that there are
21691
 
# no rules to generate ltmain.sh.
21692
 
if test -f "$ltmain"; then
21693
 
  # See if we are running on zsh, and set the options which allow our commands through
21694
 
  # without removal of \ escapes.
21695
 
  if test -n "${ZSH_VERSION+set}" ; then
21696
 
    setopt NO_GLOB_SUBST
21697
 
  fi
21698
 
  # Now quote all the things that may contain metacharacters while being
21699
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21700
 
  # variables and quote the copies for generation of the libtool script.
21701
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
21702
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21703
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21704
 
    deplibs_check_method reload_flag reload_cmds need_locks \
21705
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21706
 
    lt_cv_sys_global_symbol_to_c_name_address \
21707
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21708
 
    old_postinstall_cmds old_postuninstall_cmds \
21709
 
    compiler_GCJ \
21710
 
    CC_GCJ \
21711
 
    LD_GCJ \
21712
 
    lt_prog_compiler_wl_GCJ \
21713
 
    lt_prog_compiler_pic_GCJ \
21714
 
    lt_prog_compiler_static_GCJ \
21715
 
    lt_prog_compiler_no_builtin_flag_GCJ \
21716
 
    export_dynamic_flag_spec_GCJ \
21717
 
    thread_safe_flag_spec_GCJ \
21718
 
    whole_archive_flag_spec_GCJ \
21719
 
    enable_shared_with_static_runtimes_GCJ \
21720
 
    old_archive_cmds_GCJ \
21721
 
    old_archive_from_new_cmds_GCJ \
21722
 
    predep_objects_GCJ \
21723
 
    postdep_objects_GCJ \
21724
 
    predeps_GCJ \
21725
 
    postdeps_GCJ \
21726
 
    compiler_lib_search_path_GCJ \
21727
 
    archive_cmds_GCJ \
21728
 
    archive_expsym_cmds_GCJ \
21729
 
    postinstall_cmds_GCJ \
21730
 
    postuninstall_cmds_GCJ \
21731
 
    old_archive_from_expsyms_cmds_GCJ \
21732
 
    allow_undefined_flag_GCJ \
21733
 
    no_undefined_flag_GCJ \
21734
 
    export_symbols_cmds_GCJ \
21735
 
    hardcode_libdir_flag_spec_GCJ \
21736
 
    hardcode_libdir_flag_spec_ld_GCJ \
21737
 
    hardcode_libdir_separator_GCJ \
21738
 
    hardcode_automatic_GCJ \
21739
 
    module_cmds_GCJ \
21740
 
    module_expsym_cmds_GCJ \
21741
 
    lt_cv_prog_compiler_c_o_GCJ \
21742
 
    exclude_expsyms_GCJ \
21743
 
    include_expsyms_GCJ; do
21744
 
 
21745
 
    case $var in
21746
 
    old_archive_cmds_GCJ | \
21747
 
    old_archive_from_new_cmds_GCJ | \
21748
 
    archive_cmds_GCJ | \
21749
 
    archive_expsym_cmds_GCJ | \
21750
 
    module_cmds_GCJ | \
21751
 
    module_expsym_cmds_GCJ | \
21752
 
    old_archive_from_expsyms_cmds_GCJ | \
21753
 
    export_symbols_cmds_GCJ | \
21754
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21755
 
    postinstall_cmds | postuninstall_cmds | \
21756
 
    old_postinstall_cmds | old_postuninstall_cmds | \
21757
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21758
 
      # Double-quote double-evaled strings.
21759
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21760
 
      ;;
21761
 
    *)
21762
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21763
 
      ;;
21764
 
    esac
21765
 
  done
21766
 
 
21767
 
  case $lt_echo in
21768
 
  *'\$0 --fallback-echo"')
21769
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21770
 
    ;;
21771
 
  esac
21772
 
 
21773
 
cfgfile="$ofile"
21774
 
 
21775
 
  cat <<__EOF__ >> "$cfgfile"
21776
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21777
 
 
21778
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21779
 
 
21780
 
# Shell to use when invoking shell scripts.
21781
 
SHELL=$lt_SHELL
21782
 
 
21783
 
# Whether or not to build shared libraries.
21784
 
build_libtool_libs=$enable_shared
21785
 
 
21786
 
# Whether or not to build static libraries.
21787
 
build_old_libs=$enable_static
21788
 
 
21789
 
# Whether or not to add -lc for building shared libraries.
21790
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21791
 
 
21792
 
# Whether or not to disallow shared libs when runtime libs are static
21793
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21794
 
 
21795
 
# Whether or not to optimize for fast installation.
21796
 
fast_install=$enable_fast_install
21797
 
 
21798
 
# The host system.
21799
 
host_alias=$host_alias
21800
 
host=$host
21801
 
 
21802
 
# An echo program that does not interpret backslashes.
21803
 
echo=$lt_echo
21804
 
 
21805
 
# The archiver.
21806
 
AR=$lt_AR
21807
 
AR_FLAGS=$lt_AR_FLAGS
21808
 
 
21809
 
# A C compiler.
21810
 
LTCC=$lt_LTCC
21811
 
 
21812
 
# A language-specific compiler.
21813
 
CC=$lt_compiler_GCJ
21814
 
 
21815
 
# Is the compiler the GNU C compiler?
21816
 
with_gcc=$GCC_GCJ
21817
 
 
21818
 
# An ERE matcher.
21819
 
EGREP=$lt_EGREP
21820
 
 
21821
 
# The linker used to build libraries.
21822
 
LD=$lt_LD_GCJ
21823
 
 
21824
 
# Whether we need hard or soft links.
21825
 
LN_S=$lt_LN_S
21826
 
 
21827
 
# A BSD-compatible nm program.
21828
 
NM=$lt_NM
21829
 
 
21830
 
# A symbol stripping program
21831
 
STRIP=$STRIP
21832
 
 
21833
 
# Used to examine libraries when file_magic_cmd begins "file"
21834
 
MAGIC_CMD=$MAGIC_CMD
21835
 
 
21836
 
# Used on cygwin: DLL creation program.
21837
 
DLLTOOL="$DLLTOOL"
21838
 
 
21839
 
# Used on cygwin: object dumper.
21840
 
OBJDUMP="$OBJDUMP"
21841
 
 
21842
 
# Used on cygwin: assembler.
21843
 
AS="$AS"
21844
 
 
21845
 
# The name of the directory that contains temporary libtool files.
21846
 
objdir=$objdir
21847
 
 
21848
 
# How to create reloadable object files.
21849
 
reload_flag=$lt_reload_flag
21850
 
reload_cmds=$lt_reload_cmds
21851
 
 
21852
 
# How to pass a linker flag through the compiler.
21853
 
wl=$lt_lt_prog_compiler_wl_GCJ
21854
 
 
21855
 
# Object file suffix (normally "o").
21856
 
objext="$ac_objext"
21857
 
 
21858
 
# Old archive suffix (normally "a").
21859
 
libext="$libext"
21860
 
 
21861
 
# Shared library suffix (normally ".so").
21862
 
shrext='$shrext'
21863
 
 
21864
 
# Executable file suffix (normally "").
21865
 
exeext="$exeext"
21866
 
 
21867
 
# Additional compiler flags for building library objects.
21868
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21869
 
pic_mode=$pic_mode
21870
 
 
21871
 
# What is the maximum length of a command?
21872
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21873
 
 
21874
 
# Does compiler simultaneously support -c and -o options?
21875
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21876
 
 
21877
 
# Must we lock files when doing compilation ?
21878
 
need_locks=$lt_need_locks
21879
 
 
21880
 
# Do we need the lib prefix for modules?
21881
 
need_lib_prefix=$need_lib_prefix
21882
 
 
21883
 
# Do we need a version for libraries?
21884
 
need_version=$need_version
21885
 
 
21886
 
# Whether dlopen is supported.
21887
 
dlopen_support=$enable_dlopen
21888
 
 
21889
 
# Whether dlopen of programs is supported.
21890
 
dlopen_self=$enable_dlopen_self
21891
 
 
21892
 
# Whether dlopen of statically linked programs is supported.
21893
 
dlopen_self_static=$enable_dlopen_self_static
21894
 
 
21895
 
# Compiler flag to prevent dynamic linking.
21896
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21897
 
 
21898
 
# Compiler flag to turn off builtin functions.
21899
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21900
 
 
21901
 
# Compiler flag to allow reflexive dlopens.
21902
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21903
 
 
21904
 
# Compiler flag to generate shared objects directly from archives.
21905
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21906
 
 
21907
 
# Compiler flag to generate thread-safe objects.
21908
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21909
 
 
21910
 
# Library versioning type.
21911
 
version_type=$version_type
21912
 
 
21913
 
# Format of library name prefix.
21914
 
libname_spec=$lt_libname_spec
21915
 
 
21916
 
# List of archive names.  First name is the real one, the rest are links.
21917
 
# The last name is the one that the linker finds with -lNAME.
21918
 
library_names_spec=$lt_library_names_spec
21919
 
 
21920
 
# The coded name of the library, if different from the real name.
21921
 
soname_spec=$lt_soname_spec
21922
 
 
21923
 
# Commands used to build and install an old-style archive.
21924
 
RANLIB=$lt_RANLIB
21925
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
21926
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21927
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21928
 
 
21929
 
# Create an old-style archive from a shared archive.
21930
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21931
 
 
21932
 
# Create a temporary old-style archive to link instead of a shared archive.
21933
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21934
 
 
21935
 
# Commands used to build and install a shared archive.
21936
 
archive_cmds=$lt_archive_cmds_GCJ
21937
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21938
 
postinstall_cmds=$lt_postinstall_cmds
21939
 
postuninstall_cmds=$lt_postuninstall_cmds
21940
 
 
21941
 
# Commands used to build a loadable module (assumed same as above if empty)
21942
 
module_cmds=$lt_module_cmds_GCJ
21943
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21944
 
 
21945
 
# Commands to strip libraries.
21946
 
old_striplib=$lt_old_striplib
21947
 
striplib=$lt_striplib
21948
 
 
21949
 
# Dependencies to place before the objects being linked to create a
21950
 
# shared library.
21951
 
predep_objects=$lt_predep_objects_GCJ
21952
 
 
21953
 
# Dependencies to place after the objects being linked to create a
21954
 
# shared library.
21955
 
postdep_objects=$lt_postdep_objects_GCJ
21956
 
 
21957
 
# Dependencies to place before the objects being linked to create a
21958
 
# shared library.
21959
 
predeps=$lt_predeps_GCJ
21960
 
 
21961
 
# Dependencies to place after the objects being linked to create a
21962
 
# shared library.
21963
 
postdeps=$lt_postdeps_GCJ
21964
 
 
21965
 
# The library search path used internally by the compiler when linking
21966
 
# a shared library.
21967
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21968
 
 
21969
 
# Method to check whether dependent libraries are shared objects.
21970
 
deplibs_check_method=$lt_deplibs_check_method
21971
 
 
21972
 
# Command to use when deplibs_check_method == file_magic.
21973
 
file_magic_cmd=$lt_file_magic_cmd
21974
 
 
21975
 
# Flag that allows shared libraries with undefined symbols to be built.
21976
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21977
 
 
21978
 
# Flag that forces no undefined symbols.
21979
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
21980
 
 
21981
 
# Commands used to finish a libtool library installation in a directory.
21982
 
finish_cmds=$lt_finish_cmds
21983
 
 
21984
 
# Same as above, but a single script fragment to be evaled but not shown.
21985
 
finish_eval=$lt_finish_eval
21986
 
 
21987
 
# Take the output of nm and produce a listing of raw symbols and C names.
21988
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21989
 
 
21990
 
# Transform the output of nm in a proper C declaration
21991
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21992
 
 
21993
 
# Transform the output of nm in a C name address pair
21994
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21995
 
 
21996
 
# This is the shared library runtime path variable.
21997
 
runpath_var=$runpath_var
21998
 
 
21999
 
# This is the shared library path variable.
22000
 
shlibpath_var=$shlibpath_var
22001
 
 
22002
 
# Is shlibpath searched before the hard-coded library search path?
22003
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22004
 
 
22005
 
# How to hardcode a shared library path into an executable.
22006
 
hardcode_action=$hardcode_action_GCJ
22007
 
 
22008
 
# Whether we should hardcode library paths into libraries.
22009
 
hardcode_into_libs=$hardcode_into_libs
22010
 
 
22011
 
# Flag to hardcode \$libdir into a binary during linking.
22012
 
# This must work even if \$libdir does not exist.
22013
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
22014
 
 
22015
 
# If ld is used when linking, flag to hardcode \$libdir into
22016
 
# a binary during linking. This must work even if \$libdir does
22017
 
# not exist.
22018
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
22019
 
 
22020
 
# Whether we need a single -rpath flag with a separated argument.
22021
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
22022
 
 
22023
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22024
 
# resulting binary.
22025
 
hardcode_direct=$hardcode_direct_GCJ
22026
 
 
22027
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22028
 
# resulting binary.
22029
 
hardcode_minus_L=$hardcode_minus_L_GCJ
22030
 
 
22031
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22032
 
# the resulting binary.
22033
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
22034
 
 
22035
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
22036
 
# and all subsequent libraries and executables linked against it.
22037
 
hardcode_automatic=$hardcode_automatic_GCJ
22038
 
 
22039
 
# Variables whose values should be saved in libtool wrapper scripts and
22040
 
# restored at relink time.
22041
 
variables_saved_for_relink="$variables_saved_for_relink"
22042
 
 
22043
 
# Whether libtool must link a program against all its dependency libraries.
22044
 
link_all_deplibs=$link_all_deplibs_GCJ
22045
 
 
22046
 
# Compile-time system search path for libraries
22047
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22048
 
 
22049
 
# Run-time system search path for libraries
22050
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22051
 
 
22052
 
# Fix the shell variable \$srcfile for the compiler.
22053
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
22054
 
 
22055
 
# Set to yes if exported symbols are required.
22056
 
always_export_symbols=$always_export_symbols_GCJ
22057
 
 
22058
 
# The commands to list exported symbols.
22059
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
22060
 
 
22061
 
# The commands to extract the exported symbol list from a shared archive.
22062
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22063
 
 
22064
 
# Symbols that should not be listed in the preloaded symbols.
22065
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
22066
 
 
22067
 
# Symbols that must always be exported.
22068
 
include_expsyms=$lt_include_expsyms_GCJ
22069
 
 
22070
 
# ### END LIBTOOL TAG CONFIG: $tagname
22071
 
 
22072
 
__EOF__
22073
 
 
22074
 
 
22075
 
else
22076
 
  # If there is no Makefile yet, we rely on a make rule to execute
22077
 
  # `config.status --recheck' to rerun these tests and create the
22078
 
  # libtool script then.
22079
 
  test -f Makefile && make "$ltmain"
22080
 
fi
22081
 
 
22082
 
 
22083
 
ac_ext=c
22084
 
ac_cpp='$CPP $CPPFLAGS'
22085
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22086
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22087
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22088
 
 
22089
 
CC="$lt_save_CC"
22090
 
 
22091
 
        else
22092
 
          tagname=""
22093
 
        fi
22094
 
        ;;
22095
 
 
22096
 
      RC)
22097
 
 
22098
 
 
22099
 
# Source file extension for RC test sources.
22100
 
ac_ext=rc
22101
 
 
22102
 
# Object file extension for compiled RC test sources.
22103
 
objext=o
22104
 
objext_RC=$objext
22105
 
 
22106
 
# Code to be used in simple compile tests
22107
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
22108
 
 
22109
 
# Code to be used in simple link tests
22110
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
22111
 
 
22112
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
22113
 
 
22114
 
# If no C compiler was specified, use CC.
22115
 
LTCC=${LTCC-"$CC"}
22116
 
 
22117
 
# Allow CC to be a program name with arguments.
22118
 
compiler=$CC
22119
 
 
22120
 
 
22121
 
# Allow CC to be a program name with arguments.
22122
 
lt_save_CC="$CC"
22123
 
CC=${RC-"windres"}
22124
 
compiler=$CC
22125
 
compiler_RC=$CC
22126
 
lt_cv_prog_compiler_c_o_RC=yes
22127
 
 
22128
 
# The else clause should only fire when bootstrapping the
22129
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
22130
 
# with your package, and you will get complaints that there are
22131
 
# no rules to generate ltmain.sh.
22132
 
if test -f "$ltmain"; then
22133
 
  # See if we are running on zsh, and set the options which allow our commands through
22134
 
  # without removal of \ escapes.
22135
 
  if test -n "${ZSH_VERSION+set}" ; then
22136
 
    setopt NO_GLOB_SUBST
22137
 
  fi
22138
 
  # Now quote all the things that may contain metacharacters while being
22139
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
22140
 
  # variables and quote the copies for generation of the libtool script.
22141
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
22142
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22143
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22144
 
    deplibs_check_method reload_flag reload_cmds need_locks \
22145
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22146
 
    lt_cv_sys_global_symbol_to_c_name_address \
22147
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22148
 
    old_postinstall_cmds old_postuninstall_cmds \
22149
 
    compiler_RC \
22150
 
    CC_RC \
22151
 
    LD_RC \
22152
 
    lt_prog_compiler_wl_RC \
22153
 
    lt_prog_compiler_pic_RC \
22154
 
    lt_prog_compiler_static_RC \
22155
 
    lt_prog_compiler_no_builtin_flag_RC \
22156
 
    export_dynamic_flag_spec_RC \
22157
 
    thread_safe_flag_spec_RC \
22158
 
    whole_archive_flag_spec_RC \
22159
 
    enable_shared_with_static_runtimes_RC \
22160
 
    old_archive_cmds_RC \
22161
 
    old_archive_from_new_cmds_RC \
22162
 
    predep_objects_RC \
22163
 
    postdep_objects_RC \
22164
 
    predeps_RC \
22165
 
    postdeps_RC \
22166
 
    compiler_lib_search_path_RC \
22167
 
    archive_cmds_RC \
22168
 
    archive_expsym_cmds_RC \
22169
 
    postinstall_cmds_RC \
22170
 
    postuninstall_cmds_RC \
22171
 
    old_archive_from_expsyms_cmds_RC \
22172
 
    allow_undefined_flag_RC \
22173
 
    no_undefined_flag_RC \
22174
 
    export_symbols_cmds_RC \
22175
 
    hardcode_libdir_flag_spec_RC \
22176
 
    hardcode_libdir_flag_spec_ld_RC \
22177
 
    hardcode_libdir_separator_RC \
22178
 
    hardcode_automatic_RC \
22179
 
    module_cmds_RC \
22180
 
    module_expsym_cmds_RC \
22181
 
    lt_cv_prog_compiler_c_o_RC \
22182
 
    exclude_expsyms_RC \
22183
 
    include_expsyms_RC; do
22184
 
 
22185
 
    case $var in
22186
 
    old_archive_cmds_RC | \
22187
 
    old_archive_from_new_cmds_RC | \
22188
 
    archive_cmds_RC | \
22189
 
    archive_expsym_cmds_RC | \
22190
 
    module_cmds_RC | \
22191
 
    module_expsym_cmds_RC | \
22192
 
    old_archive_from_expsyms_cmds_RC | \
22193
 
    export_symbols_cmds_RC | \
22194
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
22195
 
    postinstall_cmds | postuninstall_cmds | \
22196
 
    old_postinstall_cmds | old_postuninstall_cmds | \
22197
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22198
 
      # Double-quote double-evaled strings.
22199
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22200
 
      ;;
22201
 
    *)
22202
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22203
 
      ;;
22204
 
    esac
22205
 
  done
22206
 
 
22207
 
  case $lt_echo in
22208
 
  *'\$0 --fallback-echo"')
22209
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22210
 
    ;;
22211
 
  esac
22212
 
 
22213
 
cfgfile="$ofile"
22214
 
 
22215
 
  cat <<__EOF__ >> "$cfgfile"
22216
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
22217
 
 
22218
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22219
 
 
22220
 
# Shell to use when invoking shell scripts.
22221
 
SHELL=$lt_SHELL
22222
 
 
22223
 
# Whether or not to build shared libraries.
22224
 
build_libtool_libs=$enable_shared
22225
 
 
22226
 
# Whether or not to build static libraries.
22227
 
build_old_libs=$enable_static
22228
 
 
22229
 
# Whether or not to add -lc for building shared libraries.
22230
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
22231
 
 
22232
 
# Whether or not to disallow shared libs when runtime libs are static
22233
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22234
 
 
22235
 
# Whether or not to optimize for fast installation.
22236
 
fast_install=$enable_fast_install
22237
 
 
22238
 
# The host system.
22239
 
host_alias=$host_alias
22240
 
host=$host
22241
 
 
22242
 
# An echo program that does not interpret backslashes.
22243
 
echo=$lt_echo
22244
 
 
22245
 
# The archiver.
22246
 
AR=$lt_AR
22247
 
AR_FLAGS=$lt_AR_FLAGS
22248
 
 
22249
 
# A C compiler.
22250
 
LTCC=$lt_LTCC
22251
 
 
22252
 
# A language-specific compiler.
22253
 
CC=$lt_compiler_RC
22254
 
 
22255
 
# Is the compiler the GNU C compiler?
22256
 
with_gcc=$GCC_RC
22257
 
 
22258
 
# An ERE matcher.
22259
 
EGREP=$lt_EGREP
22260
 
 
22261
 
# The linker used to build libraries.
22262
 
LD=$lt_LD_RC
22263
 
 
22264
 
# Whether we need hard or soft links.
22265
 
LN_S=$lt_LN_S
22266
 
 
22267
 
# A BSD-compatible nm program.
22268
 
NM=$lt_NM
22269
 
 
22270
 
# A symbol stripping program
22271
 
STRIP=$STRIP
22272
 
 
22273
 
# Used to examine libraries when file_magic_cmd begins "file"
22274
 
MAGIC_CMD=$MAGIC_CMD
22275
 
 
22276
 
# Used on cygwin: DLL creation program.
22277
 
DLLTOOL="$DLLTOOL"
22278
 
 
22279
 
# Used on cygwin: object dumper.
22280
 
OBJDUMP="$OBJDUMP"
22281
 
 
22282
 
# Used on cygwin: assembler.
22283
 
AS="$AS"
22284
 
 
22285
 
# The name of the directory that contains temporary libtool files.
22286
 
objdir=$objdir
22287
 
 
22288
 
# How to create reloadable object files.
22289
 
reload_flag=$lt_reload_flag
22290
 
reload_cmds=$lt_reload_cmds
22291
 
 
22292
 
# How to pass a linker flag through the compiler.
22293
 
wl=$lt_lt_prog_compiler_wl_RC
22294
 
 
22295
 
# Object file suffix (normally "o").
22296
 
objext="$ac_objext"
22297
 
 
22298
 
# Old archive suffix (normally "a").
22299
 
libext="$libext"
22300
 
 
22301
 
# Shared library suffix (normally ".so").
22302
 
shrext='$shrext'
22303
 
 
22304
 
# Executable file suffix (normally "").
22305
 
exeext="$exeext"
22306
 
 
22307
 
# Additional compiler flags for building library objects.
22308
 
pic_flag=$lt_lt_prog_compiler_pic_RC
22309
 
pic_mode=$pic_mode
22310
 
 
22311
 
# What is the maximum length of a command?
22312
 
max_cmd_len=$lt_cv_sys_max_cmd_len
22313
 
 
22314
 
# Does compiler simultaneously support -c and -o options?
22315
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22316
 
 
22317
 
# Must we lock files when doing compilation ?
22318
 
need_locks=$lt_need_locks
22319
 
 
22320
 
# Do we need the lib prefix for modules?
22321
 
need_lib_prefix=$need_lib_prefix
22322
 
 
22323
 
# Do we need a version for libraries?
22324
 
need_version=$need_version
22325
 
 
22326
 
# Whether dlopen is supported.
22327
 
dlopen_support=$enable_dlopen
22328
 
 
22329
 
# Whether dlopen of programs is supported.
22330
 
dlopen_self=$enable_dlopen_self
22331
 
 
22332
 
# Whether dlopen of statically linked programs is supported.
22333
 
dlopen_self_static=$enable_dlopen_self_static
22334
 
 
22335
 
# Compiler flag to prevent dynamic linking.
22336
 
link_static_flag=$lt_lt_prog_compiler_static_RC
22337
 
 
22338
 
# Compiler flag to turn off builtin functions.
22339
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22340
 
 
22341
 
# Compiler flag to allow reflexive dlopens.
22342
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22343
 
 
22344
 
# Compiler flag to generate shared objects directly from archives.
22345
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22346
 
 
22347
 
# Compiler flag to generate thread-safe objects.
22348
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22349
 
 
22350
 
# Library versioning type.
22351
 
version_type=$version_type
22352
 
 
22353
 
# Format of library name prefix.
22354
 
libname_spec=$lt_libname_spec
22355
 
 
22356
 
# List of archive names.  First name is the real one, the rest are links.
22357
 
# The last name is the one that the linker finds with -lNAME.
22358
 
library_names_spec=$lt_library_names_spec
22359
 
 
22360
 
# The coded name of the library, if different from the real name.
22361
 
soname_spec=$lt_soname_spec
22362
 
 
22363
 
# Commands used to build and install an old-style archive.
22364
 
RANLIB=$lt_RANLIB
22365
 
old_archive_cmds=$lt_old_archive_cmds_RC
22366
 
old_postinstall_cmds=$lt_old_postinstall_cmds
22367
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22368
 
 
22369
 
# Create an old-style archive from a shared archive.
22370
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22371
 
 
22372
 
# Create a temporary old-style archive to link instead of a shared archive.
22373
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22374
 
 
22375
 
# Commands used to build and install a shared archive.
22376
 
archive_cmds=$lt_archive_cmds_RC
22377
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22378
 
postinstall_cmds=$lt_postinstall_cmds
22379
 
postuninstall_cmds=$lt_postuninstall_cmds
22380
 
 
22381
 
# Commands used to build a loadable module (assumed same as above if empty)
22382
 
module_cmds=$lt_module_cmds_RC
22383
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
22384
 
 
22385
 
# Commands to strip libraries.
22386
 
old_striplib=$lt_old_striplib
22387
 
striplib=$lt_striplib
22388
 
 
22389
 
# Dependencies to place before the objects being linked to create a
22390
 
# shared library.
22391
 
predep_objects=$lt_predep_objects_RC
22392
 
 
22393
 
# Dependencies to place after the objects being linked to create a
22394
 
# shared library.
22395
 
postdep_objects=$lt_postdep_objects_RC
22396
 
 
22397
 
# Dependencies to place before the objects being linked to create a
22398
 
# shared library.
22399
 
predeps=$lt_predeps_RC
22400
 
 
22401
 
# Dependencies to place after the objects being linked to create a
22402
 
# shared library.
22403
 
postdeps=$lt_postdeps_RC
22404
 
 
22405
 
# The library search path used internally by the compiler when linking
22406
 
# a shared library.
22407
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22408
 
 
22409
 
# Method to check whether dependent libraries are shared objects.
22410
 
deplibs_check_method=$lt_deplibs_check_method
22411
 
 
22412
 
# Command to use when deplibs_check_method == file_magic.
22413
 
file_magic_cmd=$lt_file_magic_cmd
22414
 
 
22415
 
# Flag that allows shared libraries with undefined symbols to be built.
22416
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
22417
 
 
22418
 
# Flag that forces no undefined symbols.
22419
 
no_undefined_flag=$lt_no_undefined_flag_RC
22420
 
 
22421
 
# Commands used to finish a libtool library installation in a directory.
22422
 
finish_cmds=$lt_finish_cmds
22423
 
 
22424
 
# Same as above, but a single script fragment to be evaled but not shown.
22425
 
finish_eval=$lt_finish_eval
22426
 
 
22427
 
# Take the output of nm and produce a listing of raw symbols and C names.
22428
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22429
 
 
22430
 
# Transform the output of nm in a proper C declaration
22431
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22432
 
 
22433
 
# Transform the output of nm in a C name address pair
22434
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22435
 
 
22436
 
# This is the shared library runtime path variable.
22437
 
runpath_var=$runpath_var
22438
 
 
22439
 
# This is the shared library path variable.
22440
 
shlibpath_var=$shlibpath_var
22441
 
 
22442
 
# Is shlibpath searched before the hard-coded library search path?
22443
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22444
 
 
22445
 
# How to hardcode a shared library path into an executable.
22446
 
hardcode_action=$hardcode_action_RC
22447
 
 
22448
 
# Whether we should hardcode library paths into libraries.
22449
 
hardcode_into_libs=$hardcode_into_libs
22450
 
 
22451
 
# Flag to hardcode \$libdir into a binary during linking.
22452
 
# This must work even if \$libdir does not exist.
22453
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22454
 
 
22455
 
# If ld is used when linking, flag to hardcode \$libdir into
22456
 
# a binary during linking. This must work even if \$libdir does
22457
 
# not exist.
22458
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22459
 
 
22460
 
# Whether we need a single -rpath flag with a separated argument.
22461
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22462
 
 
22463
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22464
 
# resulting binary.
22465
 
hardcode_direct=$hardcode_direct_RC
22466
 
 
22467
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22468
 
# resulting binary.
22469
 
hardcode_minus_L=$hardcode_minus_L_RC
22470
 
 
22471
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22472
 
# the resulting binary.
22473
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22474
 
 
22475
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
22476
 
# and all subsequent libraries and executables linked against it.
22477
 
hardcode_automatic=$hardcode_automatic_RC
22478
 
 
22479
 
# Variables whose values should be saved in libtool wrapper scripts and
22480
 
# restored at relink time.
22481
 
variables_saved_for_relink="$variables_saved_for_relink"
22482
 
 
22483
 
# Whether libtool must link a program against all its dependency libraries.
22484
 
link_all_deplibs=$link_all_deplibs_RC
22485
 
 
22486
 
# Compile-time system search path for libraries
22487
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22488
 
 
22489
 
# Run-time system search path for libraries
22490
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22491
 
 
22492
 
# Fix the shell variable \$srcfile for the compiler.
22493
 
fix_srcfile_path="$fix_srcfile_path_RC"
22494
 
 
22495
 
# Set to yes if exported symbols are required.
22496
 
always_export_symbols=$always_export_symbols_RC
22497
 
 
22498
 
# The commands to list exported symbols.
22499
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
22500
 
 
22501
 
# The commands to extract the exported symbol list from a shared archive.
22502
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22503
 
 
22504
 
# Symbols that should not be listed in the preloaded symbols.
22505
 
exclude_expsyms=$lt_exclude_expsyms_RC
22506
 
 
22507
 
# Symbols that must always be exported.
22508
 
include_expsyms=$lt_include_expsyms_RC
22509
 
 
22510
 
# ### END LIBTOOL TAG CONFIG: $tagname
22511
 
 
22512
 
__EOF__
22513
 
 
22514
 
 
22515
 
else
22516
 
  # If there is no Makefile yet, we rely on a make rule to execute
22517
 
  # `config.status --recheck' to rerun these tests and create the
22518
 
  # libtool script then.
22519
 
  test -f Makefile && make "$ltmain"
22520
 
fi
22521
 
 
22522
 
 
22523
 
ac_ext=c
22524
 
ac_cpp='$CPP $CPPFLAGS'
22525
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22528
 
 
22529
 
CC="$lt_save_CC"
22530
 
 
22531
 
        ;;
22532
 
 
22533
 
      *)
22534
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22535
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22536
 
   { (exit 1); exit 1; }; }
22537
 
        ;;
22538
 
      esac
22539
 
 
22540
 
      # Append the new tag name to the list of available tags.
22541
 
      if test -n "$tagname" ; then
22542
 
      available_tags="$available_tags $tagname"
22543
 
    fi
22544
 
    fi
22545
 
  done
22546
 
  IFS="$lt_save_ifs"
22547
 
 
22548
 
  # Now substitute the updated list of available tags.
22549
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22550
 
    mv "${ofile}T" "$ofile"
22551
 
    chmod +x "$ofile"
22552
 
  else
22553
 
    rm -f "${ofile}T"
22554
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22555
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22556
 
   { (exit 1); exit 1; }; }
22557
 
  fi
22558
 
fi
22559
 
 
22560
 
 
22561
 
 
22562
 
# This can be used to rebuild libtool when needed
22563
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
22564
 
 
22565
 
# Always use our own libtool.
22566
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
22567
 
 
22568
 
# Prevent multiple expansion
22569
 
 
22570
 
 
22571
 
 
22572
 
 
22573
 
 
22574
 
 
22575
 
 
22576
 
 
22577
 
 
22578
 
 
22579
 
 
22580
 
 
22581
 
 
22582
 
 
22583
 
 
22584
 
 
22585
 
 
22586
 
 
22587
 
 
22588
 
 
22589
 
 
22590
 
 
22591
 
 
22592
 
 
22593
 
 
22594
 
 
22595
 
 
22596
 
 
22597
 
 
22598
 
 
22599
 
 
22600
 
 
22601
 
 
22602
 
 
22603
 
LIBTOOL_SHELL="/bin/sh ./libtool"
22604
 
#  LIBTOOL="$LIBTOOL --silent"
22605
 
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
22606
 
 
22607
 
 
22608
 
# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
22609
 
KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
22610
 
 
22611
 
 
22612
 
# we patch configure quite some so we better keep that consistent for incremental runs
22613
 
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
22614
 
 
22615
 
 
22616
 
 
22617
 
 
22618
 
 
22619
 
    # Extract the first word of "msgfmt", so it can be a program name with args.
22620
 
set dummy msgfmt; ac_word=$2
22621
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22622
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22623
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
22624
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22625
 
else
22626
 
  case "$MSGFMT" in
22627
 
  /*)
22628
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22629
 
  ;;
22630
 
  *)
22631
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22632
 
  for ac_dir in $PATH; do
22633
 
    test -z "$ac_dir" && ac_dir=.
22634
 
    if test -f $ac_dir/$ac_word; then
22635
 
      if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
22636
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22637
 
        break
22638
 
      fi
22639
 
    fi
22640
 
  done
22641
 
  IFS="$ac_save_ifs"
22642
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
22643
 
  ;;
22644
 
esac
22645
 
fi
22646
 
MSGFMT="$ac_cv_path_MSGFMT"
22647
 
if test -n "$MSGFMT"; then
22648
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
22649
 
echo "${ECHO_T}$MSGFMT" >&6; }
22650
 
else
22651
 
  { echo "$as_me:$LINENO: result: no" >&5
22652
 
echo "${ECHO_T}no" >&6; }
22653
 
fi
22654
 
 
22655
 
    # Extract the first word of "gmsgfmt", so it can be a program name with args.
22656
 
set dummy gmsgfmt; ac_word=$2
22657
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22658
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22659
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22660
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22661
 
else
22662
 
  case $GMSGFMT in
22663
 
  [\\/]* | ?:[\\/]*)
22664
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22665
 
  ;;
22666
 
  *)
22667
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22668
 
for as_dir in $PATH
22669
 
do
22670
 
  IFS=$as_save_IFS
22671
 
  test -z "$as_dir" && as_dir=.
22672
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22673
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22674
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22675
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22676
 
    break 2
22677
 
  fi
22678
 
done
22679
 
done
22680
 
IFS=$as_save_IFS
22681
 
 
22682
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22683
 
  ;;
22684
 
esac
22685
 
fi
22686
 
GMSGFMT=$ac_cv_path_GMSGFMT
22687
 
if test -n "$GMSGFMT"; then
22688
 
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22689
 
echo "${ECHO_T}$GMSGFMT" >&6; }
22690
 
else
22691
 
  { echo "$as_me:$LINENO: result: no" >&5
22692
 
echo "${ECHO_T}no" >&6; }
22693
 
fi
22694
 
 
22695
 
 
22696
 
 
22697
 
     if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
22698
 
        { echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
22699
 
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
22700
 
        GMSGFMT=":"
22701
 
      fi
22702
 
      MSGFMT=$GMSGFMT
22703
 
 
22704
 
 
22705
 
 
22706
 
      # Extract the first word of "xgettext", so it can be a program name with args.
22707
 
set dummy xgettext; ac_word=$2
22708
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22709
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22710
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22711
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22712
 
else
22713
 
  case "$XGETTEXT" in
22714
 
  /*)
22715
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22716
 
  ;;
22717
 
  *)
22718
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22719
 
  for ac_dir in $PATH; do
22720
 
    test -z "$ac_dir" && ac_dir=.
22721
 
    if test -f $ac_dir/$ac_word; then
22722
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22723
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22724
 
        break
22725
 
      fi
22726
 
    fi
22727
 
  done
22728
 
  IFS="$ac_save_ifs"
22729
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22730
 
  ;;
22731
 
esac
22732
 
fi
22733
 
XGETTEXT="$ac_cv_path_XGETTEXT"
22734
 
if test -n "$XGETTEXT"; then
22735
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22736
 
echo "${ECHO_T}$XGETTEXT" >&6; }
22737
 
else
22738
 
  { echo "$as_me:$LINENO: result: no" >&5
22739
 
echo "${ECHO_T}no" >&6; }
22740
 
fi
22741
 
 
22742
 
 
22743
 
            if test "$XGETTEXT" != ":"; then
22744
 
                        if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22745
 
          : ;
22746
 
        else
22747
 
          { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
22748
 
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
22749
 
          XGETTEXT=":"
22750
 
        fi
22751
 
      fi
22752
 
 
22753
 
 
22754
 
 
22755
 
 
22756
 
 
22757
 
if test -z "3"; then
22758
 
  # Current default Qt version: 3.3
22759
 
  kde_qtver=3
22760
 
  kde_qtsubver=3
22761
 
else
22762
 
  kde_qtsubver=`echo "3" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
22763
 
  # following is the check if subversion isnt found in passed argument
22764
 
  if test "$kde_qtsubver" = "3"; then
22765
 
    kde_qtsubver=1
22766
 
  fi
22767
 
  kde_qtver=`echo "3" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
22768
 
  if test "$kde_qtver" = "1"; then
22769
 
    kde_qtsubver=42
22770
 
  fi
22771
 
fi
22772
 
 
22773
 
if test -z ""; then
22774
 
  if test "$kde_qtver" = "2"; then
22775
 
    if test $kde_qtsubver -gt 0; then
22776
 
      kde_qt_minversion=">= Qt 2.2.2"
22777
 
    else
22778
 
      kde_qt_minversion=">= Qt 2.0.2"
22779
 
    fi
22780
 
  fi
22781
 
  if test "$kde_qtver" = "3"; then
22782
 
    if test $kde_qtsubver -gt 0; then
22783
 
         if test $kde_qtsubver -gt 1; then
22784
 
            if test $kde_qtsubver -gt 2; then
22785
 
                kde_qt_minversion=">= Qt 3.3 and < 4.0"
22786
 
            else
22787
 
                kde_qt_minversion=">= Qt 3.2 and < 4.0"
22788
 
            fi
22789
 
         else
22790
 
            kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
22791
 
         fi
22792
 
    else
22793
 
      kde_qt_minversion=">= Qt 3.0 and < 4.0"
22794
 
    fi
22795
 
  fi
22796
 
  if test "$kde_qtver" = "1"; then
22797
 
    kde_qt_minversion=">= 1.42 and < 2.0"
22798
 
  fi
22799
 
else
22800
 
   kde_qt_minversion=""
22801
 
fi
22802
 
 
22803
 
if test -z ""; then
22804
 
   if test $kde_qtver = 3; then
22805
 
     if test $kde_qtsubver -gt 0; then
22806
 
       kde_qt_verstring="QT_VERSION >= 0x03@VER@00 && QT_VERSION < 0x040000"
22807
 
       qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
22808
 
       kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
22809
 
     else
22810
 
       kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
22811
 
     fi
22812
 
   fi
22813
 
   if test $kde_qtver = 2; then
22814
 
     if test $kde_qtsubver -gt 0; then
22815
 
       kde_qt_verstring="QT_VERSION >= 222"
22816
 
     else
22817
 
       kde_qt_verstring="QT_VERSION >= 200"
22818
 
     fi
22819
 
   fi
22820
 
   if test $kde_qtver = 1; then
22821
 
    kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
22822
 
   fi
22823
 
else
22824
 
   kde_qt_verstring=""
22825
 
fi
22826
 
 
22827
 
if test $kde_qtver = 4; then
22828
 
  kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
22829
 
fi
22830
 
if test $kde_qtver = 3; then
22831
 
  kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
22832
 
fi
22833
 
if test $kde_qtver = 2; then
22834
 
   kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
22835
 
fi
22836
 
if test $kde_qtver = 1; then
22837
 
   kde_qt_dirs="$QTDIR /usr/lib/qt"
22838
 
fi
22839
 
 
22840
 
 
22841
 
 
22842
 
     ac_ext=cpp
22843
 
ac_cpp='$CXXCPP $CPPFLAGS'
22844
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22845
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22846
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22847
 
 
22848
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22849
 
 
22850
 
 
22851
 
    ac_save_CXXFLAGS="$CXXFLAGS"
22852
 
    CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
22853
 
 
22854
 
    { echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
22855
 
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6; }
22856
 
    if test "${kde_cv_stl_works+set}" = set; then
22857
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22858
 
else
22859
 
 
22860
 
      cat >conftest.$ac_ext <<_ACEOF
22861
 
/* confdefs.h.  */
22862
 
_ACEOF
22863
 
cat confdefs.h >>conftest.$ac_ext
22864
 
cat >>conftest.$ac_ext <<_ACEOF
22865
 
/* end confdefs.h.  */
22866
 
 
22867
 
#include <string>
22868
 
using namespace std;
22869
 
 
22870
 
int
22871
 
main ()
22872
 
{
22873
 
 
22874
 
  string astring="Hallo Welt.";
22875
 
  astring.erase(0, 6); // now astring is "Welt"
22876
 
  return 0;
22877
 
 
22878
 
  ;
22879
 
  return 0;
22880
 
}
22881
 
_ACEOF
22882
 
rm -f conftest.$ac_objext
22883
 
if { (ac_try="$ac_compile"
22884
 
case "(($ac_try" in
22885
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22886
 
  *) ac_try_echo=$ac_try;;
22887
 
esac
22888
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22889
 
  (eval "$ac_compile") 2>conftest.er1
22890
 
  ac_status=$?
22891
 
  grep -v '^ *+' conftest.er1 >conftest.err
22892
 
  rm -f conftest.er1
22893
 
  cat conftest.err >&5
22894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895
 
  (exit $ac_status); } && {
22896
 
         test -z "$ac_cxx_werror_flag" ||
22897
 
         test ! -s conftest.err
22898
 
       } && test -s conftest.$ac_objext; then
22899
 
  kde_cv_stl_works=yes
22900
 
else
22901
 
  echo "$as_me: failed program was:" >&5
22902
 
sed 's/^/| /' conftest.$ac_ext >&5
22903
 
 
22904
 
        kde_cv_stl_works=no
22905
 
fi
22906
 
 
22907
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22908
 
 
22909
 
fi
22910
 
 
22911
 
 
22912
 
   { echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
22913
 
echo "${ECHO_T}$kde_cv_stl_works" >&6; }
22914
 
 
22915
 
   if test "$kde_cv_stl_works" = "yes"; then
22916
 
     # back compatible
22917
 
 
22918
 
cat >>confdefs.h <<_ACEOF
22919
 
#define HAVE_SGI_STL 1
22920
 
_ACEOF
22921
 
 
22922
 
   else
22923
 
         { { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
22924
 
Check config.log for details - if you're using a Linux distribution you might miss
22925
 
a package named similar to libstdc++-dev." >&5
22926
 
echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
22927
 
Check config.log for details - if you're using a Linux distribution you might miss
22928
 
a package named similar to libstdc++-dev." >&2;}
22929
 
   { (exit 1); exit 1; }; }
22930
 
   fi
22931
 
 
22932
 
   CXXFLAGS="$ac_save_CXXFLAGS"
22933
 
   ac_ext=c
22934
 
ac_cpp='$CPP $CPPFLAGS'
22935
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22936
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22937
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22938
 
 
22939
 
 
22940
 
 
22941
 
 
22942
 
{ echo "$as_me:$LINENO: checking for strlcat" >&5
22943
 
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; }
22944
 
if test "${kde_cv_func_strlcat+set}" = set; then
22945
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22946
 
else
22947
 
 
22948
 
 
22949
 
 ac_ext=cpp
22950
 
ac_cpp='$CXXCPP $CPPFLAGS'
22951
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22954
 
 
22955
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22956
 
 
22957
 
 
22958
 
save_CXXFLAGS="$CXXFLAGS"
22959
 
kde_safe_LIBS="$LIBS"
22960
 
LIBS="$LIBS $X_EXTRA_LIBS"
22961
 
if test "$GXX" = "yes"; then
22962
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
22963
 
fi
22964
 
cat >conftest.$ac_ext <<_ACEOF
22965
 
/* confdefs.h.  */
22966
 
_ACEOF
22967
 
cat confdefs.h >>conftest.$ac_ext
22968
 
cat >>conftest.$ac_ext <<_ACEOF
22969
 
/* end confdefs.h.  */
22970
 
 
22971
 
 
22972
 
#include <string.h>
22973
 
 
22974
 
 
22975
 
int
22976
 
main ()
22977
 
{
22978
 
 
22979
 
 char buf[20];
22980
 
  buf[0]='\0';
22981
 
  strlcat(buf, "KDE function test", sizeof(buf));
22982
 
 
22983
 
 
22984
 
  ;
22985
 
  return 0;
22986
 
}
22987
 
_ACEOF
22988
 
rm -f conftest.$ac_objext
22989
 
if { (ac_try="$ac_compile"
22990
 
case "(($ac_try" in
22991
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22992
 
  *) ac_try_echo=$ac_try;;
22993
 
esac
22994
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22995
 
  (eval "$ac_compile") 2>conftest.er1
22996
 
  ac_status=$?
22997
 
  grep -v '^ *+' conftest.er1 >conftest.err
22998
 
  rm -f conftest.er1
22999
 
  cat conftest.err >&5
23000
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001
 
  (exit $ac_status); } && {
23002
 
         test -z "$ac_cxx_werror_flag" ||
23003
 
         test ! -s conftest.err
23004
 
       } && test -s conftest.$ac_objext; then
23005
 
  kde_cv_func_strlcat=yes
23006
 
else
23007
 
  echo "$as_me: failed program was:" >&5
23008
 
sed 's/^/| /' conftest.$ac_ext >&5
23009
 
 
23010
 
        kde_cv_func_strlcat=no
23011
 
fi
23012
 
 
23013
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23014
 
CXXFLAGS="$save_CXXFLAGS"
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
 
 
23023
 
fi
23024
 
 
23025
 
 
23026
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
23027
 
echo "${ECHO_T}$kde_cv_func_strlcat" >&6; }
23028
 
 
23029
 
{ echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
23030
 
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6; }
23031
 
if test "${kde_cv_proto_strlcat+set}" = set; then
23032
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23033
 
else
23034
 
 
23035
 
if test "x$kde_cv_func_strlcat" = xyes; then
23036
 
  kde_cv_proto_strlcat=no
23037
 
else
23038
 
  case "strlcat" in
23039
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23040
 
                kde_cv_proto_strlcat="yes - in libkdefakes"
23041
 
                ;;
23042
 
        *)
23043
 
                kde_cv_proto_strlcat=unknown
23044
 
                ;;
23045
 
  esac
23046
 
fi
23047
 
 
23048
 
if test "x$kde_cv_proto_strlcat" = xunknown; then
23049
 
 
23050
 
 
23051
 
 ac_ext=cpp
23052
 
ac_cpp='$CXXCPP $CPPFLAGS'
23053
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23056
 
 
23057
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23058
 
 
23059
 
 
23060
 
  kde_safe_libs=$LIBS
23061
 
  LIBS="$LIBS $X_EXTRA_LIBS"
23062
 
  cat >conftest.$ac_ext <<_ACEOF
23063
 
/* confdefs.h.  */
23064
 
_ACEOF
23065
 
cat confdefs.h >>conftest.$ac_ext
23066
 
cat >>conftest.$ac_ext <<_ACEOF
23067
 
/* end confdefs.h.  */
23068
 
 
23069
 
 
23070
 
#include <string.h>
23071
 
 
23072
 
 
23073
 
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
23074
 
 
23075
 
int
23076
 
main ()
23077
 
{
23078
 
 
23079
 
 char buf[20];
23080
 
  buf[0]='\0';
23081
 
  strlcat(buf, "KDE function test", sizeof(buf));
23082
 
 
23083
 
 
23084
 
  ;
23085
 
  return 0;
23086
 
}
23087
 
_ACEOF
23088
 
rm -f conftest.$ac_objext conftest$ac_exeext
23089
 
if { (ac_try="$ac_link"
23090
 
case "(($ac_try" in
23091
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23092
 
  *) ac_try_echo=$ac_try;;
23093
 
esac
23094
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23095
 
  (eval "$ac_link") 2>conftest.er1
23096
 
  ac_status=$?
23097
 
  grep -v '^ *+' conftest.er1 >conftest.err
23098
 
  rm -f conftest.er1
23099
 
  cat conftest.err >&5
23100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101
 
  (exit $ac_status); } && {
23102
 
         test -z "$ac_cxx_werror_flag" ||
23103
 
         test ! -s conftest.err
23104
 
       } && test -s conftest$ac_exeext &&
23105
 
       $as_test_x conftest$ac_exeext; then
23106
 
   kde_cv_func_strlcat=yes
23107
 
  kde_cv_proto_strlcat=yes
23108
 
else
23109
 
  echo "$as_me: failed program was:" >&5
23110
 
sed 's/^/| /' conftest.$ac_ext >&5
23111
 
 
23112
 
        kde_cv_proto_strlcat="strlcat unavailable"
23113
 
 
23114
 
fi
23115
 
 
23116
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23117
 
      conftest$ac_exeext conftest.$ac_ext
23118
 
LIBS=$kde_safe_libs
23119
 
ac_ext=c
23120
 
ac_cpp='$CPP $CPPFLAGS'
23121
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23122
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23123
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23124
 
 
23125
 
fi
23126
 
 
23127
 
fi
23128
 
 
23129
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
23130
 
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6; }
23131
 
 
23132
 
if test "x$kde_cv_func_strlcat" = xyes; then
23133
 
 
23134
 
cat >>confdefs.h <<\_ACEOF
23135
 
#define HAVE_STRLCAT 1
23136
 
_ACEOF
23137
 
 
23138
 
 
23139
 
fi
23140
 
if test "x$kde_cv_proto_strlcat" = xno; then
23141
 
 
23142
 
cat >>confdefs.h <<\_ACEOF
23143
 
#define HAVE_STRLCAT_PROTO 1
23144
 
_ACEOF
23145
 
 
23146
 
fi
23147
 
 
23148
 
 
23149
 
 
23150
 
 
23151
 
 
23152
 
 
23153
 
 
23154
 
{ echo "$as_me:$LINENO: checking for strlcpy" >&5
23155
 
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; }
23156
 
if test "${kde_cv_func_strlcpy+set}" = set; then
23157
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23158
 
else
23159
 
 
23160
 
 
23161
 
 ac_ext=cpp
23162
 
ac_cpp='$CXXCPP $CPPFLAGS'
23163
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23166
 
 
23167
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23168
 
 
23169
 
 
23170
 
save_CXXFLAGS="$CXXFLAGS"
23171
 
kde_safe_LIBS="$LIBS"
23172
 
LIBS="$LIBS $X_EXTRA_LIBS"
23173
 
if test "$GXX" = "yes"; then
23174
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
23175
 
fi
23176
 
cat >conftest.$ac_ext <<_ACEOF
23177
 
/* confdefs.h.  */
23178
 
_ACEOF
23179
 
cat confdefs.h >>conftest.$ac_ext
23180
 
cat >>conftest.$ac_ext <<_ACEOF
23181
 
/* end confdefs.h.  */
23182
 
 
23183
 
 
23184
 
#include <string.h>
23185
 
 
23186
 
 
23187
 
int
23188
 
main ()
23189
 
{
23190
 
 
23191
 
 char buf[20];
23192
 
  strlcpy(buf, "KDE function test", sizeof(buf));
23193
 
 
23194
 
 
23195
 
  ;
23196
 
  return 0;
23197
 
}
23198
 
_ACEOF
23199
 
rm -f conftest.$ac_objext
23200
 
if { (ac_try="$ac_compile"
23201
 
case "(($ac_try" in
23202
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23203
 
  *) ac_try_echo=$ac_try;;
23204
 
esac
23205
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23206
 
  (eval "$ac_compile") 2>conftest.er1
23207
 
  ac_status=$?
23208
 
  grep -v '^ *+' conftest.er1 >conftest.err
23209
 
  rm -f conftest.er1
23210
 
  cat conftest.err >&5
23211
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212
 
  (exit $ac_status); } && {
23213
 
         test -z "$ac_cxx_werror_flag" ||
23214
 
         test ! -s conftest.err
23215
 
       } && test -s conftest.$ac_objext; then
23216
 
  kde_cv_func_strlcpy=yes
23217
 
else
23218
 
  echo "$as_me: failed program was:" >&5
23219
 
sed 's/^/| /' conftest.$ac_ext >&5
23220
 
 
23221
 
        kde_cv_func_strlcpy=no
23222
 
fi
23223
 
 
23224
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23225
 
CXXFLAGS="$save_CXXFLAGS"
23226
 
LIBS="$kde_safe_LIBS"
23227
 
ac_ext=c
23228
 
ac_cpp='$CPP $CPPFLAGS'
23229
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23230
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23231
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23232
 
 
23233
 
 
23234
 
fi
23235
 
 
23236
 
 
23237
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
23238
 
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6; }
23239
 
 
23240
 
{ echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
23241
 
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6; }
23242
 
if test "${kde_cv_proto_strlcpy+set}" = set; then
23243
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23244
 
else
23245
 
 
23246
 
if test "x$kde_cv_func_strlcpy" = xyes; then
23247
 
  kde_cv_proto_strlcpy=no
23248
 
else
23249
 
  case "strlcpy" in
23250
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23251
 
                kde_cv_proto_strlcpy="yes - in libkdefakes"
23252
 
                ;;
23253
 
        *)
23254
 
                kde_cv_proto_strlcpy=unknown
23255
 
                ;;
23256
 
  esac
23257
 
fi
23258
 
 
23259
 
if test "x$kde_cv_proto_strlcpy" = xunknown; then
23260
 
 
23261
 
 
23262
 
 ac_ext=cpp
23263
 
ac_cpp='$CXXCPP $CPPFLAGS'
23264
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23265
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23266
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23267
 
 
23268
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23269
 
 
23270
 
 
23271
 
  kde_safe_libs=$LIBS
23272
 
  LIBS="$LIBS $X_EXTRA_LIBS"
23273
 
  cat >conftest.$ac_ext <<_ACEOF
23274
 
/* confdefs.h.  */
23275
 
_ACEOF
23276
 
cat confdefs.h >>conftest.$ac_ext
23277
 
cat >>conftest.$ac_ext <<_ACEOF
23278
 
/* end confdefs.h.  */
23279
 
 
23280
 
 
23281
 
#include <string.h>
23282
 
 
23283
 
 
23284
 
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
23285
 
 
23286
 
int
23287
 
main ()
23288
 
{
23289
 
 
23290
 
 char buf[20];
23291
 
  strlcpy(buf, "KDE function test", sizeof(buf));
23292
 
 
23293
 
 
23294
 
  ;
23295
 
  return 0;
23296
 
}
23297
 
_ACEOF
23298
 
rm -f conftest.$ac_objext conftest$ac_exeext
23299
 
if { (ac_try="$ac_link"
23300
 
case "(($ac_try" in
23301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23302
 
  *) ac_try_echo=$ac_try;;
23303
 
esac
23304
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23305
 
  (eval "$ac_link") 2>conftest.er1
23306
 
  ac_status=$?
23307
 
  grep -v '^ *+' conftest.er1 >conftest.err
23308
 
  rm -f conftest.er1
23309
 
  cat conftest.err >&5
23310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311
 
  (exit $ac_status); } && {
23312
 
         test -z "$ac_cxx_werror_flag" ||
23313
 
         test ! -s conftest.err
23314
 
       } && test -s conftest$ac_exeext &&
23315
 
       $as_test_x conftest$ac_exeext; then
23316
 
   kde_cv_func_strlcpy=yes
23317
 
  kde_cv_proto_strlcpy=yes
23318
 
else
23319
 
  echo "$as_me: failed program was:" >&5
23320
 
sed 's/^/| /' conftest.$ac_ext >&5
23321
 
 
23322
 
        kde_cv_proto_strlcpy="strlcpy unavailable"
23323
 
 
23324
 
fi
23325
 
 
23326
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23327
 
      conftest$ac_exeext conftest.$ac_ext
23328
 
LIBS=$kde_safe_libs
23329
 
ac_ext=c
23330
 
ac_cpp='$CPP $CPPFLAGS'
23331
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23334
 
 
23335
 
fi
23336
 
 
23337
 
fi
23338
 
 
23339
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
23340
 
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6; }
23341
 
 
23342
 
if test "x$kde_cv_func_strlcpy" = xyes; then
23343
 
 
23344
 
cat >>confdefs.h <<\_ACEOF
23345
 
#define HAVE_STRLCPY 1
23346
 
_ACEOF
23347
 
 
23348
 
 
23349
 
fi
23350
 
if test "x$kde_cv_proto_strlcpy" = xno; then
23351
 
 
23352
 
cat >>confdefs.h <<\_ACEOF
23353
 
#define HAVE_STRLCPY_PROTO 1
23354
 
_ACEOF
23355
 
 
23356
 
fi
23357
 
 
23358
 
 
23359
 
 
23360
 
 
23361
 
 
23362
 
 
23363
 
      { echo "$as_me:$LINENO: checking for main in -lutil" >&5
23364
 
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6; }
23365
 
if test "${ac_cv_lib_util_main+set}" = set; then
23366
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23367
 
else
23368
 
  ac_check_lib_save_LIBS=$LIBS
23369
 
LIBS="-lutil  $LIBS"
23370
 
cat >conftest.$ac_ext <<_ACEOF
23371
 
/* confdefs.h.  */
23372
 
_ACEOF
23373
 
cat confdefs.h >>conftest.$ac_ext
23374
 
cat >>conftest.$ac_ext <<_ACEOF
23375
 
/* end confdefs.h.  */
23376
 
 
23377
 
 
23378
 
int
23379
 
main ()
23380
 
{
23381
 
return main ();
23382
 
  ;
23383
 
  return 0;
23384
 
}
23385
 
_ACEOF
23386
 
rm -f conftest.$ac_objext conftest$ac_exeext
23387
 
if { (ac_try="$ac_link"
23388
 
case "(($ac_try" in
23389
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23390
 
  *) ac_try_echo=$ac_try;;
23391
 
esac
23392
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23393
 
  (eval "$ac_link") 2>conftest.er1
23394
 
  ac_status=$?
23395
 
  grep -v '^ *+' conftest.er1 >conftest.err
23396
 
  rm -f conftest.er1
23397
 
  cat conftest.err >&5
23398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399
 
  (exit $ac_status); } && {
23400
 
         test -z "$ac_c_werror_flag" ||
23401
 
         test ! -s conftest.err
23402
 
       } && test -s conftest$ac_exeext &&
23403
 
       $as_test_x conftest$ac_exeext; then
23404
 
  ac_cv_lib_util_main=yes
23405
 
else
23406
 
  echo "$as_me: failed program was:" >&5
23407
 
sed 's/^/| /' conftest.$ac_ext >&5
23408
 
 
23409
 
        ac_cv_lib_util_main=no
23410
 
fi
23411
 
 
23412
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23413
 
      conftest$ac_exeext conftest.$ac_ext
23414
 
LIBS=$ac_check_lib_save_LIBS
23415
 
fi
23416
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
23417
 
echo "${ECHO_T}$ac_cv_lib_util_main" >&6; }
23418
 
if test $ac_cv_lib_util_main = yes; then
23419
 
  LIBUTIL="-lutil"
23420
 
fi
23421
 
 
23422
 
   { echo "$as_me:$LINENO: checking for main in -lcompat" >&5
23423
 
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
23424
 
if test "${ac_cv_lib_compat_main+set}" = set; then
23425
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23426
 
else
23427
 
  ac_check_lib_save_LIBS=$LIBS
23428
 
LIBS="-lcompat  $LIBS"
23429
 
cat >conftest.$ac_ext <<_ACEOF
23430
 
/* confdefs.h.  */
23431
 
_ACEOF
23432
 
cat confdefs.h >>conftest.$ac_ext
23433
 
cat >>conftest.$ac_ext <<_ACEOF
23434
 
/* end confdefs.h.  */
23435
 
 
23436
 
 
23437
 
int
23438
 
main ()
23439
 
{
23440
 
return main ();
23441
 
  ;
23442
 
  return 0;
23443
 
}
23444
 
_ACEOF
23445
 
rm -f conftest.$ac_objext conftest$ac_exeext
23446
 
if { (ac_try="$ac_link"
23447
 
case "(($ac_try" in
23448
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23449
 
  *) ac_try_echo=$ac_try;;
23450
 
esac
23451
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23452
 
  (eval "$ac_link") 2>conftest.er1
23453
 
  ac_status=$?
23454
 
  grep -v '^ *+' conftest.er1 >conftest.err
23455
 
  rm -f conftest.er1
23456
 
  cat conftest.err >&5
23457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458
 
  (exit $ac_status); } && {
23459
 
         test -z "$ac_c_werror_flag" ||
23460
 
         test ! -s conftest.err
23461
 
       } && test -s conftest$ac_exeext &&
23462
 
       $as_test_x conftest$ac_exeext; then
23463
 
  ac_cv_lib_compat_main=yes
23464
 
else
23465
 
  echo "$as_me: failed program was:" >&5
23466
 
sed 's/^/| /' conftest.$ac_ext >&5
23467
 
 
23468
 
        ac_cv_lib_compat_main=no
23469
 
fi
23470
 
 
23471
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23472
 
      conftest$ac_exeext conftest.$ac_ext
23473
 
LIBS=$ac_check_lib_save_LIBS
23474
 
fi
23475
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
23476
 
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
23477
 
if test $ac_cv_lib_compat_main = yes; then
23478
 
  LIBCOMPAT="-lcompat"
23479
 
fi
23480
 
 
23481
 
   kde_have_crypt=
23482
 
   { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
23483
 
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
23484
 
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
23485
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23486
 
else
23487
 
  ac_check_lib_save_LIBS=$LIBS
23488
 
LIBS="-lcrypt  $LIBS"
23489
 
cat >conftest.$ac_ext <<_ACEOF
23490
 
/* confdefs.h.  */
23491
 
_ACEOF
23492
 
cat confdefs.h >>conftest.$ac_ext
23493
 
cat >>conftest.$ac_ext <<_ACEOF
23494
 
/* end confdefs.h.  */
23495
 
 
23496
 
/* Override any GCC internal prototype to avoid an error.
23497
 
   Use char because int might match the return type of a GCC
23498
 
   builtin and then its argument prototype would still apply.  */
23499
 
#ifdef __cplusplus
23500
 
extern "C"
23501
 
#endif
23502
 
char crypt ();
23503
 
int
23504
 
main ()
23505
 
{
23506
 
return crypt ();
23507
 
  ;
23508
 
  return 0;
23509
 
}
23510
 
_ACEOF
23511
 
rm -f conftest.$ac_objext conftest$ac_exeext
23512
 
if { (ac_try="$ac_link"
23513
 
case "(($ac_try" in
23514
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23515
 
  *) ac_try_echo=$ac_try;;
23516
 
esac
23517
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23518
 
  (eval "$ac_link") 2>conftest.er1
23519
 
  ac_status=$?
23520
 
  grep -v '^ *+' conftest.er1 >conftest.err
23521
 
  rm -f conftest.er1
23522
 
  cat conftest.err >&5
23523
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524
 
  (exit $ac_status); } && {
23525
 
         test -z "$ac_c_werror_flag" ||
23526
 
         test ! -s conftest.err
23527
 
       } && test -s conftest$ac_exeext &&
23528
 
       $as_test_x conftest$ac_exeext; then
23529
 
  ac_cv_lib_crypt_crypt=yes
23530
 
else
23531
 
  echo "$as_me: failed program was:" >&5
23532
 
sed 's/^/| /' conftest.$ac_ext >&5
23533
 
 
23534
 
        ac_cv_lib_crypt_crypt=no
23535
 
fi
23536
 
 
23537
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23538
 
      conftest$ac_exeext conftest.$ac_ext
23539
 
LIBS=$ac_check_lib_save_LIBS
23540
 
fi
23541
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
23542
 
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
23543
 
if test $ac_cv_lib_crypt_crypt = yes; then
23544
 
  LIBCRYPT="-lcrypt"; kde_have_crypt=yes
23545
 
else
23546
 
  { echo "$as_me:$LINENO: checking for crypt in -lc" >&5
23547
 
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
23548
 
if test "${ac_cv_lib_c_crypt+set}" = set; then
23549
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23550
 
else
23551
 
  ac_check_lib_save_LIBS=$LIBS
23552
 
LIBS="-lc  $LIBS"
23553
 
cat >conftest.$ac_ext <<_ACEOF
23554
 
/* confdefs.h.  */
23555
 
_ACEOF
23556
 
cat confdefs.h >>conftest.$ac_ext
23557
 
cat >>conftest.$ac_ext <<_ACEOF
23558
 
/* end confdefs.h.  */
23559
 
 
23560
 
/* Override any GCC internal prototype to avoid an error.
23561
 
   Use char because int might match the return type of a GCC
23562
 
   builtin and then its argument prototype would still apply.  */
23563
 
#ifdef __cplusplus
23564
 
extern "C"
23565
 
#endif
23566
 
char crypt ();
23567
 
int
23568
 
main ()
23569
 
{
23570
 
return crypt ();
23571
 
  ;
23572
 
  return 0;
23573
 
}
23574
 
_ACEOF
23575
 
rm -f conftest.$ac_objext conftest$ac_exeext
23576
 
if { (ac_try="$ac_link"
23577
 
case "(($ac_try" in
23578
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23579
 
  *) ac_try_echo=$ac_try;;
23580
 
esac
23581
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23582
 
  (eval "$ac_link") 2>conftest.er1
23583
 
  ac_status=$?
23584
 
  grep -v '^ *+' conftest.er1 >conftest.err
23585
 
  rm -f conftest.er1
23586
 
  cat conftest.err >&5
23587
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588
 
  (exit $ac_status); } && {
23589
 
         test -z "$ac_c_werror_flag" ||
23590
 
         test ! -s conftest.err
23591
 
       } && test -s conftest$ac_exeext &&
23592
 
       $as_test_x conftest$ac_exeext; then
23593
 
  ac_cv_lib_c_crypt=yes
23594
 
else
23595
 
  echo "$as_me: failed program was:" >&5
23596
 
sed 's/^/| /' conftest.$ac_ext >&5
23597
 
 
23598
 
        ac_cv_lib_c_crypt=no
23599
 
fi
23600
 
 
23601
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23602
 
      conftest$ac_exeext conftest.$ac_ext
23603
 
LIBS=$ac_check_lib_save_LIBS
23604
 
fi
23605
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
23606
 
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
23607
 
if test $ac_cv_lib_c_crypt = yes; then
23608
 
  kde_have_crypt=yes
23609
 
else
23610
 
 
23611
 
        { echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
23612
 
You should install libcrypt from another source or configure with PAM
23613
 
support" >&5
23614
 
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
23615
 
You should install libcrypt from another source or configure with PAM
23616
 
support" >&2;}
23617
 
        kde_have_crypt=no
23618
 
 
23619
 
fi
23620
 
 
23621
 
fi
23622
 
 
23623
 
 
23624
 
   if test $kde_have_crypt = yes; then
23625
 
 
23626
 
cat >>confdefs.h <<_ACEOF
23627
 
#define HAVE_CRYPT 1
23628
 
_ACEOF
23629
 
 
23630
 
   fi
23631
 
 
23632
 
   { echo "$as_me:$LINENO: checking for socklen_t" >&5
23633
 
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
23634
 
   if test "${kde_cv_socklen_t+set}" = set; then
23635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23636
 
else
23637
 
 
23638
 
      ac_ext=cpp
23639
 
ac_cpp='$CXXCPP $CPPFLAGS'
23640
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23641
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23642
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23643
 
 
23644
 
      kde_cv_socklen_t=no
23645
 
      cat >conftest.$ac_ext <<_ACEOF
23646
 
/* confdefs.h.  */
23647
 
_ACEOF
23648
 
cat confdefs.h >>conftest.$ac_ext
23649
 
cat >>conftest.$ac_ext <<_ACEOF
23650
 
/* end confdefs.h.  */
23651
 
 
23652
 
         #include <sys/types.h>
23653
 
         #include <sys/socket.h>
23654
 
 
23655
 
int
23656
 
main ()
23657
 
{
23658
 
 
23659
 
         socklen_t len;
23660
 
         getpeername(0,0,&len);
23661
 
 
23662
 
  ;
23663
 
  return 0;
23664
 
}
23665
 
_ACEOF
23666
 
rm -f conftest.$ac_objext
23667
 
if { (ac_try="$ac_compile"
23668
 
case "(($ac_try" in
23669
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23670
 
  *) ac_try_echo=$ac_try;;
23671
 
esac
23672
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23673
 
  (eval "$ac_compile") 2>conftest.er1
23674
 
  ac_status=$?
23675
 
  grep -v '^ *+' conftest.er1 >conftest.err
23676
 
  rm -f conftest.er1
23677
 
  cat conftest.err >&5
23678
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679
 
  (exit $ac_status); } && {
23680
 
         test -z "$ac_cxx_werror_flag" ||
23681
 
         test ! -s conftest.err
23682
 
       } && test -s conftest.$ac_objext; then
23683
 
 
23684
 
         kde_cv_socklen_t=yes
23685
 
         kde_cv_socklen_t_equiv=socklen_t
23686
 
 
23687
 
else
23688
 
  echo "$as_me: failed program was:" >&5
23689
 
sed 's/^/| /' conftest.$ac_ext >&5
23690
 
 
23691
 
 
23692
 
fi
23693
 
 
23694
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23695
 
      ac_ext=c
23696
 
ac_cpp='$CPP $CPPFLAGS'
23697
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23698
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23699
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23700
 
 
23701
 
 
23702
 
fi
23703
 
 
23704
 
   { echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
23705
 
echo "${ECHO_T}$kde_cv_socklen_t" >&6; }
23706
 
   if test $kde_cv_socklen_t = no; then
23707
 
      { echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
23708
 
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6; }
23709
 
      if test "${kde_cv_socklen_t_equiv+set}" = set; then
23710
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23711
 
else
23712
 
 
23713
 
         kde_cv_socklen_t_equiv=int
23714
 
         ac_ext=cpp
23715
 
ac_cpp='$CXXCPP $CPPFLAGS'
23716
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23717
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23718
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23719
 
 
23720
 
         for t in int size_t unsigned long "unsigned long"; do
23721
 
            cat >conftest.$ac_ext <<_ACEOF
23722
 
/* confdefs.h.  */
23723
 
_ACEOF
23724
 
cat confdefs.h >>conftest.$ac_ext
23725
 
cat >>conftest.$ac_ext <<_ACEOF
23726
 
/* end confdefs.h.  */
23727
 
 
23728
 
               #include <sys/types.h>
23729
 
               #include <sys/socket.h>
23730
 
 
23731
 
int
23732
 
main ()
23733
 
{
23734
 
 
23735
 
               $t len;
23736
 
               getpeername(0,0,&len);
23737
 
 
23738
 
  ;
23739
 
  return 0;
23740
 
}
23741
 
_ACEOF
23742
 
rm -f conftest.$ac_objext
23743
 
if { (ac_try="$ac_compile"
23744
 
case "(($ac_try" in
23745
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23746
 
  *) ac_try_echo=$ac_try;;
23747
 
esac
23748
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23749
 
  (eval "$ac_compile") 2>conftest.er1
23750
 
  ac_status=$?
23751
 
  grep -v '^ *+' conftest.er1 >conftest.err
23752
 
  rm -f conftest.er1
23753
 
  cat conftest.err >&5
23754
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755
 
  (exit $ac_status); } && {
23756
 
         test -z "$ac_cxx_werror_flag" ||
23757
 
         test ! -s conftest.err
23758
 
       } && test -s conftest.$ac_objext; then
23759
 
 
23760
 
               kde_cv_socklen_t_equiv="$t"
23761
 
               break
23762
 
 
23763
 
else
23764
 
  echo "$as_me: failed program was:" >&5
23765
 
sed 's/^/| /' conftest.$ac_ext >&5
23766
 
 
23767
 
 
23768
 
fi
23769
 
 
23770
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23771
 
         done
23772
 
         ac_ext=c
23773
 
ac_cpp='$CPP $CPPFLAGS'
23774
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23775
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23776
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23777
 
 
23778
 
 
23779
 
fi
23780
 
 
23781
 
      { echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
23782
 
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6; }
23783
 
   fi
23784
 
 
23785
 
cat >>confdefs.h <<_ACEOF
23786
 
#define kde_socklen_t $kde_cv_socklen_t_equiv
23787
 
_ACEOF
23788
 
 
23789
 
 
23790
 
cat >>confdefs.h <<_ACEOF
23791
 
#define ksize_t $kde_cv_socklen_t_equiv
23792
 
_ACEOF
23793
 
 
23794
 
 
23795
 
   { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23796
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
23797
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23798
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23799
 
else
23800
 
  ac_check_lib_save_LIBS=$LIBS
23801
 
LIBS="-ldnet  $LIBS"
23802
 
cat >conftest.$ac_ext <<_ACEOF
23803
 
/* confdefs.h.  */
23804
 
_ACEOF
23805
 
cat confdefs.h >>conftest.$ac_ext
23806
 
cat >>conftest.$ac_ext <<_ACEOF
23807
 
/* end confdefs.h.  */
23808
 
 
23809
 
/* Override any GCC internal prototype to avoid an error.
23810
 
   Use char because int might match the return type of a GCC
23811
 
   builtin and then its argument prototype would still apply.  */
23812
 
#ifdef __cplusplus
23813
 
extern "C"
23814
 
#endif
23815
 
char dnet_ntoa ();
23816
 
int
23817
 
main ()
23818
 
{
23819
 
return dnet_ntoa ();
23820
 
  ;
23821
 
  return 0;
23822
 
}
23823
 
_ACEOF
23824
 
rm -f conftest.$ac_objext conftest$ac_exeext
23825
 
if { (ac_try="$ac_link"
23826
 
case "(($ac_try" in
23827
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23828
 
  *) ac_try_echo=$ac_try;;
23829
 
esac
23830
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23831
 
  (eval "$ac_link") 2>conftest.er1
23832
 
  ac_status=$?
23833
 
  grep -v '^ *+' conftest.er1 >conftest.err
23834
 
  rm -f conftest.er1
23835
 
  cat conftest.err >&5
23836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837
 
  (exit $ac_status); } && {
23838
 
         test -z "$ac_c_werror_flag" ||
23839
 
         test ! -s conftest.err
23840
 
       } && test -s conftest$ac_exeext &&
23841
 
       $as_test_x conftest$ac_exeext; then
23842
 
  ac_cv_lib_dnet_dnet_ntoa=yes
23843
 
else
23844
 
  echo "$as_me: failed program was:" >&5
23845
 
sed 's/^/| /' conftest.$ac_ext >&5
23846
 
 
23847
 
        ac_cv_lib_dnet_dnet_ntoa=no
23848
 
fi
23849
 
 
23850
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23851
 
      conftest$ac_exeext conftest.$ac_ext
23852
 
LIBS=$ac_check_lib_save_LIBS
23853
 
fi
23854
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23855
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23856
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23857
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23858
 
fi
23859
 
 
23860
 
   if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23861
 
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23862
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
23863
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23864
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23865
 
else
23866
 
  ac_check_lib_save_LIBS=$LIBS
23867
 
LIBS="-ldnet_stub  $LIBS"
23868
 
cat >conftest.$ac_ext <<_ACEOF
23869
 
/* confdefs.h.  */
23870
 
_ACEOF
23871
 
cat confdefs.h >>conftest.$ac_ext
23872
 
cat >>conftest.$ac_ext <<_ACEOF
23873
 
/* end confdefs.h.  */
23874
 
 
23875
 
/* Override any GCC internal prototype to avoid an error.
23876
 
   Use char because int might match the return type of a GCC
23877
 
   builtin and then its argument prototype would still apply.  */
23878
 
#ifdef __cplusplus
23879
 
extern "C"
23880
 
#endif
23881
 
char dnet_ntoa ();
23882
 
int
23883
 
main ()
23884
 
{
23885
 
return dnet_ntoa ();
23886
 
  ;
23887
 
  return 0;
23888
 
}
23889
 
_ACEOF
23890
 
rm -f conftest.$ac_objext conftest$ac_exeext
23891
 
if { (ac_try="$ac_link"
23892
 
case "(($ac_try" in
23893
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23894
 
  *) ac_try_echo=$ac_try;;
23895
 
esac
23896
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23897
 
  (eval "$ac_link") 2>conftest.er1
23898
 
  ac_status=$?
23899
 
  grep -v '^ *+' conftest.er1 >conftest.err
23900
 
  rm -f conftest.er1
23901
 
  cat conftest.err >&5
23902
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903
 
  (exit $ac_status); } && {
23904
 
         test -z "$ac_c_werror_flag" ||
23905
 
         test ! -s conftest.err
23906
 
       } && test -s conftest$ac_exeext &&
23907
 
       $as_test_x conftest$ac_exeext; then
23908
 
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
23909
 
else
23910
 
  echo "$as_me: failed program was:" >&5
23911
 
sed 's/^/| /' conftest.$ac_ext >&5
23912
 
 
23913
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
23914
 
fi
23915
 
 
23916
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23917
 
      conftest$ac_exeext conftest.$ac_ext
23918
 
LIBS=$ac_check_lib_save_LIBS
23919
 
fi
23920
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23921
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23922
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23923
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23924
 
fi
23925
 
 
23926
 
   fi
23927
 
   { echo "$as_me:$LINENO: checking for inet_ntoa" >&5
23928
 
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6; }
23929
 
if test "${ac_cv_func_inet_ntoa+set}" = set; then
23930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23931
 
else
23932
 
  cat >conftest.$ac_ext <<_ACEOF
23933
 
/* confdefs.h.  */
23934
 
_ACEOF
23935
 
cat confdefs.h >>conftest.$ac_ext
23936
 
cat >>conftest.$ac_ext <<_ACEOF
23937
 
/* end confdefs.h.  */
23938
 
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
23939
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23940
 
#define inet_ntoa innocuous_inet_ntoa
23941
 
 
23942
 
/* System header to define __stub macros and hopefully few prototypes,
23943
 
    which can conflict with char inet_ntoa (); below.
23944
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23945
 
    <limits.h> exists even on freestanding compilers.  */
23946
 
 
23947
 
#ifdef __STDC__
23948
 
# include <limits.h>
23949
 
#else
23950
 
# include <assert.h>
23951
 
#endif
23952
 
 
23953
 
#undef inet_ntoa
23954
 
 
23955
 
/* Override any GCC internal prototype to avoid an error.
23956
 
   Use char because int might match the return type of a GCC
23957
 
   builtin and then its argument prototype would still apply.  */
23958
 
#ifdef __cplusplus
23959
 
extern "C"
23960
 
#endif
23961
 
char inet_ntoa ();
23962
 
/* The GNU C library defines this for functions which it implements
23963
 
    to always fail with ENOSYS.  Some functions are actually named
23964
 
    something starting with __ and the normal name is an alias.  */
23965
 
#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
23966
 
choke me
23967
 
#endif
23968
 
 
23969
 
int
23970
 
main ()
23971
 
{
23972
 
return inet_ntoa ();
23973
 
  ;
23974
 
  return 0;
23975
 
}
23976
 
_ACEOF
23977
 
rm -f conftest.$ac_objext conftest$ac_exeext
23978
 
if { (ac_try="$ac_link"
23979
 
case "(($ac_try" in
23980
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23981
 
  *) ac_try_echo=$ac_try;;
23982
 
esac
23983
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23984
 
  (eval "$ac_link") 2>conftest.er1
23985
 
  ac_status=$?
23986
 
  grep -v '^ *+' conftest.er1 >conftest.err
23987
 
  rm -f conftest.er1
23988
 
  cat conftest.err >&5
23989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990
 
  (exit $ac_status); } && {
23991
 
         test -z "$ac_c_werror_flag" ||
23992
 
         test ! -s conftest.err
23993
 
       } && test -s conftest$ac_exeext &&
23994
 
       $as_test_x conftest$ac_exeext; then
23995
 
  ac_cv_func_inet_ntoa=yes
23996
 
else
23997
 
  echo "$as_me: failed program was:" >&5
23998
 
sed 's/^/| /' conftest.$ac_ext >&5
23999
 
 
24000
 
        ac_cv_func_inet_ntoa=no
24001
 
fi
24002
 
 
24003
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24004
 
      conftest$ac_exeext conftest.$ac_ext
24005
 
fi
24006
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
24007
 
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6; }
24008
 
 
24009
 
   if test $ac_cv_func_inet_ntoa = no; then
24010
 
     { echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
24011
 
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6; }
24012
 
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
24013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24014
 
else
24015
 
  ac_check_lib_save_LIBS=$LIBS
24016
 
LIBS="-lnsl  $LIBS"
24017
 
cat >conftest.$ac_ext <<_ACEOF
24018
 
/* confdefs.h.  */
24019
 
_ACEOF
24020
 
cat confdefs.h >>conftest.$ac_ext
24021
 
cat >>conftest.$ac_ext <<_ACEOF
24022
 
/* end confdefs.h.  */
24023
 
 
24024
 
/* Override any GCC internal prototype to avoid an error.
24025
 
   Use char because int might match the return type of a GCC
24026
 
   builtin and then its argument prototype would still apply.  */
24027
 
#ifdef __cplusplus
24028
 
extern "C"
24029
 
#endif
24030
 
char inet_ntoa ();
24031
 
int
24032
 
main ()
24033
 
{
24034
 
return inet_ntoa ();
24035
 
  ;
24036
 
  return 0;
24037
 
}
24038
 
_ACEOF
24039
 
rm -f conftest.$ac_objext conftest$ac_exeext
24040
 
if { (ac_try="$ac_link"
24041
 
case "(($ac_try" in
24042
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24043
 
  *) ac_try_echo=$ac_try;;
24044
 
esac
24045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24046
 
  (eval "$ac_link") 2>conftest.er1
24047
 
  ac_status=$?
24048
 
  grep -v '^ *+' conftest.er1 >conftest.err
24049
 
  rm -f conftest.er1
24050
 
  cat conftest.err >&5
24051
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052
 
  (exit $ac_status); } && {
24053
 
         test -z "$ac_c_werror_flag" ||
24054
 
         test ! -s conftest.err
24055
 
       } && test -s conftest$ac_exeext &&
24056
 
       $as_test_x conftest$ac_exeext; then
24057
 
  ac_cv_lib_nsl_inet_ntoa=yes
24058
 
else
24059
 
  echo "$as_me: failed program was:" >&5
24060
 
sed 's/^/| /' conftest.$ac_ext >&5
24061
 
 
24062
 
        ac_cv_lib_nsl_inet_ntoa=no
24063
 
fi
24064
 
 
24065
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24066
 
      conftest$ac_exeext conftest.$ac_ext
24067
 
LIBS=$ac_check_lib_save_LIBS
24068
 
fi
24069
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
24070
 
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6; }
24071
 
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
24072
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24073
 
fi
24074
 
 
24075
 
   fi
24076
 
   { echo "$as_me:$LINENO: checking for connect" >&5
24077
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
24078
 
if test "${ac_cv_func_connect+set}" = set; then
24079
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24080
 
else
24081
 
  cat >conftest.$ac_ext <<_ACEOF
24082
 
/* confdefs.h.  */
24083
 
_ACEOF
24084
 
cat confdefs.h >>conftest.$ac_ext
24085
 
cat >>conftest.$ac_ext <<_ACEOF
24086
 
/* end confdefs.h.  */
24087
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
24088
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24089
 
#define connect innocuous_connect
24090
 
 
24091
 
/* System header to define __stub macros and hopefully few prototypes,
24092
 
    which can conflict with char connect (); below.
24093
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24094
 
    <limits.h> exists even on freestanding compilers.  */
24095
 
 
24096
 
#ifdef __STDC__
24097
 
# include <limits.h>
24098
 
#else
24099
 
# include <assert.h>
24100
 
#endif
24101
 
 
24102
 
#undef connect
24103
 
 
24104
 
/* Override any GCC internal prototype to avoid an error.
24105
 
   Use char because int might match the return type of a GCC
24106
 
   builtin and then its argument prototype would still apply.  */
24107
 
#ifdef __cplusplus
24108
 
extern "C"
24109
 
#endif
24110
 
char connect ();
24111
 
/* The GNU C library defines this for functions which it implements
24112
 
    to always fail with ENOSYS.  Some functions are actually named
24113
 
    something starting with __ and the normal name is an alias.  */
24114
 
#if defined __stub_connect || defined __stub___connect
24115
 
choke me
24116
 
#endif
24117
 
 
24118
 
int
24119
 
main ()
24120
 
{
24121
 
return connect ();
24122
 
  ;
24123
 
  return 0;
24124
 
}
24125
 
_ACEOF
24126
 
rm -f conftest.$ac_objext conftest$ac_exeext
24127
 
if { (ac_try="$ac_link"
24128
 
case "(($ac_try" in
24129
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24130
 
  *) ac_try_echo=$ac_try;;
24131
 
esac
24132
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24133
 
  (eval "$ac_link") 2>conftest.er1
24134
 
  ac_status=$?
24135
 
  grep -v '^ *+' conftest.er1 >conftest.err
24136
 
  rm -f conftest.er1
24137
 
  cat conftest.err >&5
24138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139
 
  (exit $ac_status); } && {
24140
 
         test -z "$ac_c_werror_flag" ||
24141
 
         test ! -s conftest.err
24142
 
       } && test -s conftest$ac_exeext &&
24143
 
       $as_test_x conftest$ac_exeext; then
24144
 
  ac_cv_func_connect=yes
24145
 
else
24146
 
  echo "$as_me: failed program was:" >&5
24147
 
sed 's/^/| /' conftest.$ac_ext >&5
24148
 
 
24149
 
        ac_cv_func_connect=no
24150
 
fi
24151
 
 
24152
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24153
 
      conftest$ac_exeext conftest.$ac_ext
24154
 
fi
24155
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24156
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
24157
 
 
24158
 
   if test $ac_cv_func_connect = no; then
24159
 
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24160
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
24161
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
24162
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24163
 
else
24164
 
  ac_check_lib_save_LIBS=$LIBS
24165
 
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24166
 
cat >conftest.$ac_ext <<_ACEOF
24167
 
/* confdefs.h.  */
24168
 
_ACEOF
24169
 
cat confdefs.h >>conftest.$ac_ext
24170
 
cat >>conftest.$ac_ext <<_ACEOF
24171
 
/* end confdefs.h.  */
24172
 
 
24173
 
/* Override any GCC internal prototype to avoid an error.
24174
 
   Use char because int might match the return type of a GCC
24175
 
   builtin and then its argument prototype would still apply.  */
24176
 
#ifdef __cplusplus
24177
 
extern "C"
24178
 
#endif
24179
 
char connect ();
24180
 
int
24181
 
main ()
24182
 
{
24183
 
return connect ();
24184
 
  ;
24185
 
  return 0;
24186
 
}
24187
 
_ACEOF
24188
 
rm -f conftest.$ac_objext conftest$ac_exeext
24189
 
if { (ac_try="$ac_link"
24190
 
case "(($ac_try" in
24191
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24192
 
  *) ac_try_echo=$ac_try;;
24193
 
esac
24194
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24195
 
  (eval "$ac_link") 2>conftest.er1
24196
 
  ac_status=$?
24197
 
  grep -v '^ *+' conftest.er1 >conftest.err
24198
 
  rm -f conftest.er1
24199
 
  cat conftest.err >&5
24200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201
 
  (exit $ac_status); } && {
24202
 
         test -z "$ac_c_werror_flag" ||
24203
 
         test ! -s conftest.err
24204
 
       } && test -s conftest$ac_exeext &&
24205
 
       $as_test_x conftest$ac_exeext; then
24206
 
  ac_cv_lib_socket_connect=yes
24207
 
else
24208
 
  echo "$as_me: failed program was:" >&5
24209
 
sed 's/^/| /' conftest.$ac_ext >&5
24210
 
 
24211
 
        ac_cv_lib_socket_connect=no
24212
 
fi
24213
 
 
24214
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24215
 
      conftest$ac_exeext conftest.$ac_ext
24216
 
LIBS=$ac_check_lib_save_LIBS
24217
 
fi
24218
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24219
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
24220
 
if test $ac_cv_lib_socket_connect = yes; then
24221
 
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24222
 
fi
24223
 
 
24224
 
   fi
24225
 
 
24226
 
   { echo "$as_me:$LINENO: checking for remove" >&5
24227
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
24228
 
if test "${ac_cv_func_remove+set}" = set; then
24229
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24230
 
else
24231
 
  cat >conftest.$ac_ext <<_ACEOF
24232
 
/* confdefs.h.  */
24233
 
_ACEOF
24234
 
cat confdefs.h >>conftest.$ac_ext
24235
 
cat >>conftest.$ac_ext <<_ACEOF
24236
 
/* end confdefs.h.  */
24237
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
24238
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24239
 
#define remove innocuous_remove
24240
 
 
24241
 
/* System header to define __stub macros and hopefully few prototypes,
24242
 
    which can conflict with char remove (); below.
24243
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24244
 
    <limits.h> exists even on freestanding compilers.  */
24245
 
 
24246
 
#ifdef __STDC__
24247
 
# include <limits.h>
24248
 
#else
24249
 
# include <assert.h>
24250
 
#endif
24251
 
 
24252
 
#undef remove
24253
 
 
24254
 
/* Override any GCC internal prototype to avoid an error.
24255
 
   Use char because int might match the return type of a GCC
24256
 
   builtin and then its argument prototype would still apply.  */
24257
 
#ifdef __cplusplus
24258
 
extern "C"
24259
 
#endif
24260
 
char remove ();
24261
 
/* The GNU C library defines this for functions which it implements
24262
 
    to always fail with ENOSYS.  Some functions are actually named
24263
 
    something starting with __ and the normal name is an alias.  */
24264
 
#if defined __stub_remove || defined __stub___remove
24265
 
choke me
24266
 
#endif
24267
 
 
24268
 
int
24269
 
main ()
24270
 
{
24271
 
return remove ();
24272
 
  ;
24273
 
  return 0;
24274
 
}
24275
 
_ACEOF
24276
 
rm -f conftest.$ac_objext conftest$ac_exeext
24277
 
if { (ac_try="$ac_link"
24278
 
case "(($ac_try" in
24279
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24280
 
  *) ac_try_echo=$ac_try;;
24281
 
esac
24282
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24283
 
  (eval "$ac_link") 2>conftest.er1
24284
 
  ac_status=$?
24285
 
  grep -v '^ *+' conftest.er1 >conftest.err
24286
 
  rm -f conftest.er1
24287
 
  cat conftest.err >&5
24288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289
 
  (exit $ac_status); } && {
24290
 
         test -z "$ac_c_werror_flag" ||
24291
 
         test ! -s conftest.err
24292
 
       } && test -s conftest$ac_exeext &&
24293
 
       $as_test_x conftest$ac_exeext; then
24294
 
  ac_cv_func_remove=yes
24295
 
else
24296
 
  echo "$as_me: failed program was:" >&5
24297
 
sed 's/^/| /' conftest.$ac_ext >&5
24298
 
 
24299
 
        ac_cv_func_remove=no
24300
 
fi
24301
 
 
24302
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24303
 
      conftest$ac_exeext conftest.$ac_ext
24304
 
fi
24305
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24306
 
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
24307
 
 
24308
 
   if test $ac_cv_func_remove = no; then
24309
 
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24310
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
24311
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
24312
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24313
 
else
24314
 
  ac_check_lib_save_LIBS=$LIBS
24315
 
LIBS="-lposix  $LIBS"
24316
 
cat >conftest.$ac_ext <<_ACEOF
24317
 
/* confdefs.h.  */
24318
 
_ACEOF
24319
 
cat confdefs.h >>conftest.$ac_ext
24320
 
cat >>conftest.$ac_ext <<_ACEOF
24321
 
/* end confdefs.h.  */
24322
 
 
24323
 
/* Override any GCC internal prototype to avoid an error.
24324
 
   Use char because int might match the return type of a GCC
24325
 
   builtin and then its argument prototype would still apply.  */
24326
 
#ifdef __cplusplus
24327
 
extern "C"
24328
 
#endif
24329
 
char remove ();
24330
 
int
24331
 
main ()
24332
 
{
24333
 
return remove ();
24334
 
  ;
24335
 
  return 0;
24336
 
}
24337
 
_ACEOF
24338
 
rm -f conftest.$ac_objext conftest$ac_exeext
24339
 
if { (ac_try="$ac_link"
24340
 
case "(($ac_try" in
24341
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24342
 
  *) ac_try_echo=$ac_try;;
24343
 
esac
24344
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24345
 
  (eval "$ac_link") 2>conftest.er1
24346
 
  ac_status=$?
24347
 
  grep -v '^ *+' conftest.er1 >conftest.err
24348
 
  rm -f conftest.er1
24349
 
  cat conftest.err >&5
24350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351
 
  (exit $ac_status); } && {
24352
 
         test -z "$ac_c_werror_flag" ||
24353
 
         test ! -s conftest.err
24354
 
       } && test -s conftest$ac_exeext &&
24355
 
       $as_test_x conftest$ac_exeext; then
24356
 
  ac_cv_lib_posix_remove=yes
24357
 
else
24358
 
  echo "$as_me: failed program was:" >&5
24359
 
sed 's/^/| /' conftest.$ac_ext >&5
24360
 
 
24361
 
        ac_cv_lib_posix_remove=no
24362
 
fi
24363
 
 
24364
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24365
 
      conftest$ac_exeext conftest.$ac_ext
24366
 
LIBS=$ac_check_lib_save_LIBS
24367
 
fi
24368
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24369
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
24370
 
if test $ac_cv_lib_posix_remove = yes; then
24371
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24372
 
fi
24373
 
 
24374
 
   fi
24375
 
 
24376
 
   # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24377
 
   { echo "$as_me:$LINENO: checking for shmat" >&5
24378
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
24379
 
if test "${ac_cv_func_shmat+set}" = set; then
24380
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24381
 
else
24382
 
  cat >conftest.$ac_ext <<_ACEOF
24383
 
/* confdefs.h.  */
24384
 
_ACEOF
24385
 
cat confdefs.h >>conftest.$ac_ext
24386
 
cat >>conftest.$ac_ext <<_ACEOF
24387
 
/* end confdefs.h.  */
24388
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24389
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24390
 
#define shmat innocuous_shmat
24391
 
 
24392
 
/* System header to define __stub macros and hopefully few prototypes,
24393
 
    which can conflict with char shmat (); below.
24394
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24395
 
    <limits.h> exists even on freestanding compilers.  */
24396
 
 
24397
 
#ifdef __STDC__
24398
 
# include <limits.h>
24399
 
#else
24400
 
# include <assert.h>
24401
 
#endif
24402
 
 
24403
 
#undef shmat
24404
 
 
24405
 
/* Override any GCC internal prototype to avoid an error.
24406
 
   Use char because int might match the return type of a GCC
24407
 
   builtin and then its argument prototype would still apply.  */
24408
 
#ifdef __cplusplus
24409
 
extern "C"
24410
 
#endif
24411
 
char shmat ();
24412
 
/* The GNU C library defines this for functions which it implements
24413
 
    to always fail with ENOSYS.  Some functions are actually named
24414
 
    something starting with __ and the normal name is an alias.  */
24415
 
#if defined __stub_shmat || defined __stub___shmat
24416
 
choke me
24417
 
#endif
24418
 
 
24419
 
int
24420
 
main ()
24421
 
{
24422
 
return shmat ();
24423
 
  ;
24424
 
  return 0;
24425
 
}
24426
 
_ACEOF
24427
 
rm -f conftest.$ac_objext conftest$ac_exeext
24428
 
if { (ac_try="$ac_link"
24429
 
case "(($ac_try" in
24430
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24431
 
  *) ac_try_echo=$ac_try;;
24432
 
esac
24433
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24434
 
  (eval "$ac_link") 2>conftest.er1
24435
 
  ac_status=$?
24436
 
  grep -v '^ *+' conftest.er1 >conftest.err
24437
 
  rm -f conftest.er1
24438
 
  cat conftest.err >&5
24439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440
 
  (exit $ac_status); } && {
24441
 
         test -z "$ac_c_werror_flag" ||
24442
 
         test ! -s conftest.err
24443
 
       } && test -s conftest$ac_exeext &&
24444
 
       $as_test_x conftest$ac_exeext; then
24445
 
  ac_cv_func_shmat=yes
24446
 
else
24447
 
  echo "$as_me: failed program was:" >&5
24448
 
sed 's/^/| /' conftest.$ac_ext >&5
24449
 
 
24450
 
        ac_cv_func_shmat=no
24451
 
fi
24452
 
 
24453
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24454
 
      conftest$ac_exeext conftest.$ac_ext
24455
 
fi
24456
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24457
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
24458
 
if test $ac_cv_func_shmat = yes; then
24459
 
  :
24460
 
else
24461
 
  { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24462
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
24463
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24465
 
else
24466
 
  ac_check_lib_save_LIBS=$LIBS
24467
 
LIBS="-lipc  $LIBS"
24468
 
cat >conftest.$ac_ext <<_ACEOF
24469
 
/* confdefs.h.  */
24470
 
_ACEOF
24471
 
cat confdefs.h >>conftest.$ac_ext
24472
 
cat >>conftest.$ac_ext <<_ACEOF
24473
 
/* end confdefs.h.  */
24474
 
 
24475
 
/* Override any GCC internal prototype to avoid an error.
24476
 
   Use char because int might match the return type of a GCC
24477
 
   builtin and then its argument prototype would still apply.  */
24478
 
#ifdef __cplusplus
24479
 
extern "C"
24480
 
#endif
24481
 
char shmat ();
24482
 
int
24483
 
main ()
24484
 
{
24485
 
return shmat ();
24486
 
  ;
24487
 
  return 0;
24488
 
}
24489
 
_ACEOF
24490
 
rm -f conftest.$ac_objext conftest$ac_exeext
24491
 
if { (ac_try="$ac_link"
24492
 
case "(($ac_try" in
24493
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24494
 
  *) ac_try_echo=$ac_try;;
24495
 
esac
24496
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24497
 
  (eval "$ac_link") 2>conftest.er1
24498
 
  ac_status=$?
24499
 
  grep -v '^ *+' conftest.er1 >conftest.err
24500
 
  rm -f conftest.er1
24501
 
  cat conftest.err >&5
24502
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503
 
  (exit $ac_status); } && {
24504
 
         test -z "$ac_c_werror_flag" ||
24505
 
         test ! -s conftest.err
24506
 
       } && test -s conftest$ac_exeext &&
24507
 
       $as_test_x conftest$ac_exeext; then
24508
 
  ac_cv_lib_ipc_shmat=yes
24509
 
else
24510
 
  echo "$as_me: failed program was:" >&5
24511
 
sed 's/^/| /' conftest.$ac_ext >&5
24512
 
 
24513
 
        ac_cv_lib_ipc_shmat=no
24514
 
fi
24515
 
 
24516
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24517
 
      conftest$ac_exeext conftest.$ac_ext
24518
 
LIBS=$ac_check_lib_save_LIBS
24519
 
fi
24520
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24521
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
24522
 
if test $ac_cv_lib_ipc_shmat = yes; then
24523
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24524
 
fi
24525
 
 
24526
 
fi
24527
 
 
24528
 
 
24529
 
   # more headers that need to be explicitly included on darwin
24530
 
 
24531
 
 
24532
 
for ac_header in sys/types.h stdint.h
24533
 
do
24534
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24535
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24536
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24537
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24538
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24539
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24540
 
fi
24541
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24542
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24543
 
echo "${ECHO_T}$ac_res" >&6; }
24544
 
else
24545
 
  # Is the header compilable?
24546
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24547
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24548
 
cat >conftest.$ac_ext <<_ACEOF
24549
 
/* confdefs.h.  */
24550
 
_ACEOF
24551
 
cat confdefs.h >>conftest.$ac_ext
24552
 
cat >>conftest.$ac_ext <<_ACEOF
24553
 
/* end confdefs.h.  */
24554
 
$ac_includes_default
24555
 
#include <$ac_header>
24556
 
_ACEOF
24557
 
rm -f conftest.$ac_objext
24558
 
if { (ac_try="$ac_compile"
24559
 
case "(($ac_try" in
24560
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24561
 
  *) ac_try_echo=$ac_try;;
24562
 
esac
24563
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24564
 
  (eval "$ac_compile") 2>conftest.er1
24565
 
  ac_status=$?
24566
 
  grep -v '^ *+' conftest.er1 >conftest.err
24567
 
  rm -f conftest.er1
24568
 
  cat conftest.err >&5
24569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570
 
  (exit $ac_status); } && {
24571
 
         test -z "$ac_c_werror_flag" ||
24572
 
         test ! -s conftest.err
24573
 
       } && test -s conftest.$ac_objext; then
24574
 
  ac_header_compiler=yes
24575
 
else
24576
 
  echo "$as_me: failed program was:" >&5
24577
 
sed 's/^/| /' conftest.$ac_ext >&5
24578
 
 
24579
 
        ac_header_compiler=no
24580
 
fi
24581
 
 
24582
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24583
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24584
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24585
 
 
24586
 
# Is the header present?
24587
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24588
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24589
 
cat >conftest.$ac_ext <<_ACEOF
24590
 
/* confdefs.h.  */
24591
 
_ACEOF
24592
 
cat confdefs.h >>conftest.$ac_ext
24593
 
cat >>conftest.$ac_ext <<_ACEOF
24594
 
/* end confdefs.h.  */
24595
 
#include <$ac_header>
24596
 
_ACEOF
24597
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
24610
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24611
 
         test ! -s conftest.err
24612
 
       }; then
24613
 
  ac_header_preproc=yes
24614
 
else
24615
 
  echo "$as_me: failed program was:" >&5
24616
 
sed 's/^/| /' conftest.$ac_ext >&5
24617
 
 
24618
 
  ac_header_preproc=no
24619
 
fi
24620
 
 
24621
 
rm -f conftest.err conftest.$ac_ext
24622
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24623
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24624
 
 
24625
 
# So?  What about this header?
24626
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24627
 
  yes:no: )
24628
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24629
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24630
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24631
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24632
 
    ac_header_preproc=yes
24633
 
    ;;
24634
 
  no:yes:* )
24635
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24636
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24637
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24638
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24639
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24640
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24641
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24642
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24643
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24644
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24645
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24646
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24647
 
 
24648
 
    ;;
24649
 
esac
24650
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24651
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24652
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24653
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24654
 
else
24655
 
  eval "$as_ac_Header=\$ac_header_preproc"
24656
 
fi
24657
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24658
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24659
 
echo "${ECHO_T}$ac_res" >&6; }
24660
 
 
24661
 
fi
24662
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24663
 
  cat >>confdefs.h <<_ACEOF
24664
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24665
 
_ACEOF
24666
 
 
24667
 
fi
24668
 
 
24669
 
done
24670
 
 
24671
 
 
24672
 
   # sys/bitypes.h is needed for uint32_t and friends on Tru64
24673
 
 
24674
 
for ac_header in sys/bitypes.h
24675
 
do
24676
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24677
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24678
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24679
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24680
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24681
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24682
 
fi
24683
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24684
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24685
 
echo "${ECHO_T}$ac_res" >&6; }
24686
 
else
24687
 
  # Is the header compilable?
24688
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24689
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24690
 
cat >conftest.$ac_ext <<_ACEOF
24691
 
/* confdefs.h.  */
24692
 
_ACEOF
24693
 
cat confdefs.h >>conftest.$ac_ext
24694
 
cat >>conftest.$ac_ext <<_ACEOF
24695
 
/* end confdefs.h.  */
24696
 
$ac_includes_default
24697
 
#include <$ac_header>
24698
 
_ACEOF
24699
 
rm -f conftest.$ac_objext
24700
 
if { (ac_try="$ac_compile"
24701
 
case "(($ac_try" in
24702
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24703
 
  *) ac_try_echo=$ac_try;;
24704
 
esac
24705
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24706
 
  (eval "$ac_compile") 2>conftest.er1
24707
 
  ac_status=$?
24708
 
  grep -v '^ *+' conftest.er1 >conftest.err
24709
 
  rm -f conftest.er1
24710
 
  cat conftest.err >&5
24711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712
 
  (exit $ac_status); } && {
24713
 
         test -z "$ac_c_werror_flag" ||
24714
 
         test ! -s conftest.err
24715
 
       } && test -s conftest.$ac_objext; then
24716
 
  ac_header_compiler=yes
24717
 
else
24718
 
  echo "$as_me: failed program was:" >&5
24719
 
sed 's/^/| /' conftest.$ac_ext >&5
24720
 
 
24721
 
        ac_header_compiler=no
24722
 
fi
24723
 
 
24724
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24725
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24726
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24727
 
 
24728
 
# Is the header present?
24729
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24730
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24731
 
cat >conftest.$ac_ext <<_ACEOF
24732
 
/* confdefs.h.  */
24733
 
_ACEOF
24734
 
cat confdefs.h >>conftest.$ac_ext
24735
 
cat >>conftest.$ac_ext <<_ACEOF
24736
 
/* end confdefs.h.  */
24737
 
#include <$ac_header>
24738
 
_ACEOF
24739
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24740
 
case "(($ac_try" in
24741
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24742
 
  *) ac_try_echo=$ac_try;;
24743
 
esac
24744
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24745
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24746
 
  ac_status=$?
24747
 
  grep -v '^ *+' conftest.er1 >conftest.err
24748
 
  rm -f conftest.er1
24749
 
  cat conftest.err >&5
24750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751
 
  (exit $ac_status); } >/dev/null && {
24752
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24753
 
         test ! -s conftest.err
24754
 
       }; then
24755
 
  ac_header_preproc=yes
24756
 
else
24757
 
  echo "$as_me: failed program was:" >&5
24758
 
sed 's/^/| /' conftest.$ac_ext >&5
24759
 
 
24760
 
  ac_header_preproc=no
24761
 
fi
24762
 
 
24763
 
rm -f conftest.err conftest.$ac_ext
24764
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24765
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24766
 
 
24767
 
# So?  What about this header?
24768
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24769
 
  yes:no: )
24770
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24771
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24772
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24773
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24774
 
    ac_header_preproc=yes
24775
 
    ;;
24776
 
  no:yes:* )
24777
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24778
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24779
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24780
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24781
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24782
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24783
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24784
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24785
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24786
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24787
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24788
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24789
 
 
24790
 
    ;;
24791
 
esac
24792
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24793
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24794
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24796
 
else
24797
 
  eval "$as_ac_Header=\$ac_header_preproc"
24798
 
fi
24799
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24800
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24801
 
echo "${ECHO_T}$ac_res" >&6; }
24802
 
 
24803
 
fi
24804
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24805
 
  cat >>confdefs.h <<_ACEOF
24806
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24807
 
_ACEOF
24808
 
 
24809
 
fi
24810
 
 
24811
 
done
24812
 
 
24813
 
 
24814
 
   # darwin requires a poll emulation library
24815
 
   { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
24816
 
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
24817
 
if test "${ac_cv_lib_poll_poll+set}" = set; then
24818
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24819
 
else
24820
 
  ac_check_lib_save_LIBS=$LIBS
24821
 
LIBS="-lpoll  $LIBS"
24822
 
cat >conftest.$ac_ext <<_ACEOF
24823
 
/* confdefs.h.  */
24824
 
_ACEOF
24825
 
cat confdefs.h >>conftest.$ac_ext
24826
 
cat >>conftest.$ac_ext <<_ACEOF
24827
 
/* end confdefs.h.  */
24828
 
 
24829
 
/* Override any GCC internal prototype to avoid an error.
24830
 
   Use char because int might match the return type of a GCC
24831
 
   builtin and then its argument prototype would still apply.  */
24832
 
#ifdef __cplusplus
24833
 
extern "C"
24834
 
#endif
24835
 
char poll ();
24836
 
int
24837
 
main ()
24838
 
{
24839
 
return poll ();
24840
 
  ;
24841
 
  return 0;
24842
 
}
24843
 
_ACEOF
24844
 
rm -f conftest.$ac_objext conftest$ac_exeext
24845
 
if { (ac_try="$ac_link"
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_link") 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); } && {
24858
 
         test -z "$ac_c_werror_flag" ||
24859
 
         test ! -s conftest.err
24860
 
       } && test -s conftest$ac_exeext &&
24861
 
       $as_test_x conftest$ac_exeext; then
24862
 
  ac_cv_lib_poll_poll=yes
24863
 
else
24864
 
  echo "$as_me: failed program was:" >&5
24865
 
sed 's/^/| /' conftest.$ac_ext >&5
24866
 
 
24867
 
        ac_cv_lib_poll_poll=no
24868
 
fi
24869
 
 
24870
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24871
 
      conftest$ac_exeext conftest.$ac_ext
24872
 
LIBS=$ac_check_lib_save_LIBS
24873
 
fi
24874
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
24875
 
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
24876
 
if test $ac_cv_lib_poll_poll = yes; then
24877
 
  LIB_POLL="-lpoll"
24878
 
fi
24879
 
 
24880
 
 
24881
 
   # for some image handling on Mac OS X
24882
 
 
24883
 
for ac_header in Carbon/Carbon.h
24884
 
do
24885
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24886
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24887
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24888
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24889
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24890
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24891
 
fi
24892
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24893
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24894
 
echo "${ECHO_T}$ac_res" >&6; }
24895
 
else
24896
 
  # Is the header compilable?
24897
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24898
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24899
 
cat >conftest.$ac_ext <<_ACEOF
24900
 
/* confdefs.h.  */
24901
 
_ACEOF
24902
 
cat confdefs.h >>conftest.$ac_ext
24903
 
cat >>conftest.$ac_ext <<_ACEOF
24904
 
/* end confdefs.h.  */
24905
 
$ac_includes_default
24906
 
#include <$ac_header>
24907
 
_ACEOF
24908
 
rm -f conftest.$ac_objext
24909
 
if { (ac_try="$ac_compile"
24910
 
case "(($ac_try" in
24911
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24912
 
  *) ac_try_echo=$ac_try;;
24913
 
esac
24914
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24915
 
  (eval "$ac_compile") 2>conftest.er1
24916
 
  ac_status=$?
24917
 
  grep -v '^ *+' conftest.er1 >conftest.err
24918
 
  rm -f conftest.er1
24919
 
  cat conftest.err >&5
24920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921
 
  (exit $ac_status); } && {
24922
 
         test -z "$ac_c_werror_flag" ||
24923
 
         test ! -s conftest.err
24924
 
       } && test -s conftest.$ac_objext; then
24925
 
  ac_header_compiler=yes
24926
 
else
24927
 
  echo "$as_me: failed program was:" >&5
24928
 
sed 's/^/| /' conftest.$ac_ext >&5
24929
 
 
24930
 
        ac_header_compiler=no
24931
 
fi
24932
 
 
24933
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24934
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24935
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24936
 
 
24937
 
# Is the header present?
24938
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24939
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24940
 
cat >conftest.$ac_ext <<_ACEOF
24941
 
/* confdefs.h.  */
24942
 
_ACEOF
24943
 
cat confdefs.h >>conftest.$ac_ext
24944
 
cat >>conftest.$ac_ext <<_ACEOF
24945
 
/* end confdefs.h.  */
24946
 
#include <$ac_header>
24947
 
_ACEOF
24948
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24949
 
case "(($ac_try" in
24950
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24951
 
  *) ac_try_echo=$ac_try;;
24952
 
esac
24953
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24954
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24955
 
  ac_status=$?
24956
 
  grep -v '^ *+' conftest.er1 >conftest.err
24957
 
  rm -f conftest.er1
24958
 
  cat conftest.err >&5
24959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960
 
  (exit $ac_status); } >/dev/null && {
24961
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24962
 
         test ! -s conftest.err
24963
 
       }; then
24964
 
  ac_header_preproc=yes
24965
 
else
24966
 
  echo "$as_me: failed program was:" >&5
24967
 
sed 's/^/| /' conftest.$ac_ext >&5
24968
 
 
24969
 
  ac_header_preproc=no
24970
 
fi
24971
 
 
24972
 
rm -f conftest.err conftest.$ac_ext
24973
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24974
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24975
 
 
24976
 
# So?  What about this header?
24977
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24978
 
  yes:no: )
24979
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24980
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24981
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24982
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24983
 
    ac_header_preproc=yes
24984
 
    ;;
24985
 
  no:yes:* )
24986
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24987
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24988
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24989
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24990
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24991
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24992
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24993
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24994
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24995
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24996
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24997
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24998
 
 
24999
 
    ;;
25000
 
esac
25001
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25002
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25003
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25004
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25005
 
else
25006
 
  eval "$as_ac_Header=\$ac_header_preproc"
25007
 
fi
25008
 
ac_res=`eval echo '${'$as_ac_Header'}'`
25009
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
25010
 
echo "${ECHO_T}$ac_res" >&6; }
25011
 
 
25012
 
fi
25013
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25014
 
  cat >>confdefs.h <<_ACEOF
25015
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25016
 
_ACEOF
25017
 
 
25018
 
fi
25019
 
 
25020
 
done
25021
 
 
25022
 
 
25023
 
   # CoreAudio framework
25024
 
   if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25025
 
  { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25026
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
25027
 
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25028
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25029
 
fi
25030
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25031
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25032
 
else
25033
 
  # Is the header compilable?
25034
 
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
25035
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
25036
 
cat >conftest.$ac_ext <<_ACEOF
25037
 
/* confdefs.h.  */
25038
 
_ACEOF
25039
 
cat confdefs.h >>conftest.$ac_ext
25040
 
cat >>conftest.$ac_ext <<_ACEOF
25041
 
/* end confdefs.h.  */
25042
 
$ac_includes_default
25043
 
#include <CoreAudio/CoreAudio.h>
25044
 
_ACEOF
25045
 
rm -f conftest.$ac_objext
25046
 
if { (ac_try="$ac_compile"
25047
 
case "(($ac_try" in
25048
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25049
 
  *) ac_try_echo=$ac_try;;
25050
 
esac
25051
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25052
 
  (eval "$ac_compile") 2>conftest.er1
25053
 
  ac_status=$?
25054
 
  grep -v '^ *+' conftest.er1 >conftest.err
25055
 
  rm -f conftest.er1
25056
 
  cat conftest.err >&5
25057
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058
 
  (exit $ac_status); } && {
25059
 
         test -z "$ac_c_werror_flag" ||
25060
 
         test ! -s conftest.err
25061
 
       } && test -s conftest.$ac_objext; then
25062
 
  ac_header_compiler=yes
25063
 
else
25064
 
  echo "$as_me: failed program was:" >&5
25065
 
sed 's/^/| /' conftest.$ac_ext >&5
25066
 
 
25067
 
        ac_header_compiler=no
25068
 
fi
25069
 
 
25070
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25071
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25072
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
25073
 
 
25074
 
# Is the header present?
25075
 
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
25076
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
25077
 
cat >conftest.$ac_ext <<_ACEOF
25078
 
/* confdefs.h.  */
25079
 
_ACEOF
25080
 
cat confdefs.h >>conftest.$ac_ext
25081
 
cat >>conftest.$ac_ext <<_ACEOF
25082
 
/* end confdefs.h.  */
25083
 
#include <CoreAudio/CoreAudio.h>
25084
 
_ACEOF
25085
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
25086
 
case "(($ac_try" in
25087
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25088
 
  *) ac_try_echo=$ac_try;;
25089
 
esac
25090
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25091
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25092
 
  ac_status=$?
25093
 
  grep -v '^ *+' conftest.er1 >conftest.err
25094
 
  rm -f conftest.er1
25095
 
  cat conftest.err >&5
25096
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097
 
  (exit $ac_status); } >/dev/null && {
25098
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25099
 
         test ! -s conftest.err
25100
 
       }; then
25101
 
  ac_header_preproc=yes
25102
 
else
25103
 
  echo "$as_me: failed program was:" >&5
25104
 
sed 's/^/| /' conftest.$ac_ext >&5
25105
 
 
25106
 
  ac_header_preproc=no
25107
 
fi
25108
 
 
25109
 
rm -f conftest.err conftest.$ac_ext
25110
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25111
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
25112
 
 
25113
 
# So?  What about this header?
25114
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25115
 
  yes:no: )
25116
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25117
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25118
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
25119
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
25120
 
    ac_header_preproc=yes
25121
 
    ;;
25122
 
  no:yes:* )
25123
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
25124
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
25125
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
25126
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
25127
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
25128
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
25129
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
25130
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
25131
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
25132
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
25133
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
25134
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
25135
 
 
25136
 
    ;;
25137
 
esac
25138
 
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25139
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
25140
 
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25141
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25142
 
else
25143
 
  ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
25144
 
fi
25145
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25146
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25147
 
 
25148
 
fi
25149
 
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
25150
 
 
25151
 
 
25152
 
cat >>confdefs.h <<\_ACEOF
25153
 
#define HAVE_COREAUDIO 1
25154
 
_ACEOF
25155
 
 
25156
 
     FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
25157
 
 
25158
 
fi
25159
 
 
25160
 
 
25161
 
 
25162
 
 
25163
 
  { echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
25164
 
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6; }
25165
 
  kde_libs_safe="$LIBS"
25166
 
  LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
25167
 
  cat >conftest.$ac_ext <<_ACEOF
25168
 
/* confdefs.h.  */
25169
 
_ACEOF
25170
 
cat confdefs.h >>conftest.$ac_ext
25171
 
cat >>conftest.$ac_ext <<_ACEOF
25172
 
/* end confdefs.h.  */
25173
 
 
25174
 
#include <sys/types.h>
25175
 
#include <netinet/in.h>
25176
 
#include <arpa/nameser.h>
25177
 
#include <resolv.h>
25178
 
 
25179
 
int
25180
 
main ()
25181
 
{
25182
 
 
25183
 
      res_init();
25184
 
 
25185
 
  ;
25186
 
  return 0;
25187
 
}
25188
 
_ACEOF
25189
 
rm -f conftest.$ac_objext conftest$ac_exeext
25190
 
if { (ac_try="$ac_link"
25191
 
case "(($ac_try" in
25192
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25193
 
  *) ac_try_echo=$ac_try;;
25194
 
esac
25195
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25196
 
  (eval "$ac_link") 2>conftest.er1
25197
 
  ac_status=$?
25198
 
  grep -v '^ *+' conftest.er1 >conftest.err
25199
 
  rm -f conftest.er1
25200
 
  cat conftest.err >&5
25201
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202
 
  (exit $ac_status); } && {
25203
 
         test -z "$ac_c_werror_flag" ||
25204
 
         test ! -s conftest.err
25205
 
       } && test -s conftest$ac_exeext &&
25206
 
       $as_test_x conftest$ac_exeext; then
25207
 
 
25208
 
      LIBRESOLV="-lresolv"
25209
 
      { echo "$as_me:$LINENO: result: yes" >&5
25210
 
echo "${ECHO_T}yes" >&6; }
25211
 
 
25212
 
cat >>confdefs.h <<\_ACEOF
25213
 
#define HAVE_RES_INIT 1
25214
 
_ACEOF
25215
 
 
25216
 
 
25217
 
else
25218
 
  echo "$as_me: failed program was:" >&5
25219
 
sed 's/^/| /' conftest.$ac_ext >&5
25220
 
 
25221
 
         { echo "$as_me:$LINENO: result: no" >&5
25222
 
echo "${ECHO_T}no" >&6; }
25223
 
 
25224
 
fi
25225
 
 
25226
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25227
 
      conftest$ac_exeext conftest.$ac_ext
25228
 
  LIBS=$kde_libs_safe
25229
 
 
25230
 
 
25231
 
 
25232
 
{ echo "$as_me:$LINENO: checking for res_init" >&5
25233
 
echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
25234
 
if test "${kde_cv_func_res_init+set}" = set; then
25235
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25236
 
else
25237
 
 
25238
 
 
25239
 
 ac_ext=cpp
25240
 
ac_cpp='$CXXCPP $CPPFLAGS'
25241
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25242
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25243
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25244
 
 
25245
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25246
 
 
25247
 
 
25248
 
save_CXXFLAGS="$CXXFLAGS"
25249
 
kde_safe_LIBS="$LIBS"
25250
 
LIBS="$LIBS $X_EXTRA_LIBS"
25251
 
if test "$GXX" = "yes"; then
25252
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
25253
 
fi
25254
 
cat >conftest.$ac_ext <<_ACEOF
25255
 
/* confdefs.h.  */
25256
 
_ACEOF
25257
 
cat confdefs.h >>conftest.$ac_ext
25258
 
cat >>conftest.$ac_ext <<_ACEOF
25259
 
/* end confdefs.h.  */
25260
 
 
25261
 
 
25262
 
#include <sys/types.h>
25263
 
#include <netinet/in.h>
25264
 
#include <arpa/nameser.h>
25265
 
#include <resolv.h>
25266
 
 
25267
 
 
25268
 
int
25269
 
main ()
25270
 
{
25271
 
 
25272
 
res_init()
25273
 
 
25274
 
  ;
25275
 
  return 0;
25276
 
}
25277
 
_ACEOF
25278
 
rm -f conftest.$ac_objext
25279
 
if { (ac_try="$ac_compile"
25280
 
case "(($ac_try" in
25281
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25282
 
  *) ac_try_echo=$ac_try;;
25283
 
esac
25284
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25285
 
  (eval "$ac_compile") 2>conftest.er1
25286
 
  ac_status=$?
25287
 
  grep -v '^ *+' conftest.er1 >conftest.err
25288
 
  rm -f conftest.er1
25289
 
  cat conftest.err >&5
25290
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291
 
  (exit $ac_status); } && {
25292
 
         test -z "$ac_cxx_werror_flag" ||
25293
 
         test ! -s conftest.err
25294
 
       } && test -s conftest.$ac_objext; then
25295
 
  kde_cv_func_res_init=yes
25296
 
else
25297
 
  echo "$as_me: failed program was:" >&5
25298
 
sed 's/^/| /' conftest.$ac_ext >&5
25299
 
 
25300
 
        kde_cv_func_res_init=no
25301
 
fi
25302
 
 
25303
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25304
 
CXXFLAGS="$save_CXXFLAGS"
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
 
 
25313
 
fi
25314
 
 
25315
 
 
25316
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
25317
 
echo "${ECHO_T}$kde_cv_func_res_init" >&6; }
25318
 
 
25319
 
{ echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
25320
 
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6; }
25321
 
if test "${kde_cv_proto_res_init+set}" = set; then
25322
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25323
 
else
25324
 
 
25325
 
if test "x$kde_cv_func_res_init" = xyes; then
25326
 
  kde_cv_proto_res_init=no
25327
 
else
25328
 
  case "res_init" in
25329
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
25330
 
                kde_cv_proto_res_init="yes - in libkdefakes"
25331
 
                ;;
25332
 
        *)
25333
 
                kde_cv_proto_res_init=unknown
25334
 
                ;;
25335
 
  esac
25336
 
fi
25337
 
 
25338
 
if test "x$kde_cv_proto_res_init" = xunknown; then
25339
 
 
25340
 
 
25341
 
 ac_ext=cpp
25342
 
ac_cpp='$CXXCPP $CPPFLAGS'
25343
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25344
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25345
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25346
 
 
25347
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25348
 
 
25349
 
 
25350
 
  kde_safe_libs=$LIBS
25351
 
  LIBS="$LIBS $X_EXTRA_LIBS"
25352
 
  cat >conftest.$ac_ext <<_ACEOF
25353
 
/* confdefs.h.  */
25354
 
_ACEOF
25355
 
cat confdefs.h >>conftest.$ac_ext
25356
 
cat >>conftest.$ac_ext <<_ACEOF
25357
 
/* end confdefs.h.  */
25358
 
 
25359
 
 
25360
 
#include <sys/types.h>
25361
 
#include <netinet/in.h>
25362
 
#include <arpa/nameser.h>
25363
 
#include <resolv.h>
25364
 
 
25365
 
 
25366
 
extern "C" int res_init(void);
25367
 
 
25368
 
int
25369
 
main ()
25370
 
{
25371
 
 
25372
 
res_init()
25373
 
 
25374
 
  ;
25375
 
  return 0;
25376
 
}
25377
 
_ACEOF
25378
 
rm -f conftest.$ac_objext conftest$ac_exeext
25379
 
if { (ac_try="$ac_link"
25380
 
case "(($ac_try" in
25381
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25382
 
  *) ac_try_echo=$ac_try;;
25383
 
esac
25384
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25385
 
  (eval "$ac_link") 2>conftest.er1
25386
 
  ac_status=$?
25387
 
  grep -v '^ *+' conftest.er1 >conftest.err
25388
 
  rm -f conftest.er1
25389
 
  cat conftest.err >&5
25390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391
 
  (exit $ac_status); } && {
25392
 
         test -z "$ac_cxx_werror_flag" ||
25393
 
         test ! -s conftest.err
25394
 
       } && test -s conftest$ac_exeext &&
25395
 
       $as_test_x conftest$ac_exeext; then
25396
 
   kde_cv_func_res_init=yes
25397
 
  kde_cv_proto_res_init=yes
25398
 
else
25399
 
  echo "$as_me: failed program was:" >&5
25400
 
sed 's/^/| /' conftest.$ac_ext >&5
25401
 
 
25402
 
        kde_cv_proto_res_init="res_init unavailable"
25403
 
 
25404
 
fi
25405
 
 
25406
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25407
 
      conftest$ac_exeext conftest.$ac_ext
25408
 
LIBS=$kde_safe_libs
25409
 
ac_ext=c
25410
 
ac_cpp='$CPP $CPPFLAGS'
25411
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25412
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25413
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25414
 
 
25415
 
fi
25416
 
 
25417
 
fi
25418
 
 
25419
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
25420
 
echo "${ECHO_T}$kde_cv_proto_res_init" >&6; }
25421
 
 
25422
 
if test "x$kde_cv_func_res_init" = xyes; then
25423
 
 
25424
 
cat >>confdefs.h <<\_ACEOF
25425
 
#define HAVE_RES_INIT 1
25426
 
_ACEOF
25427
 
 
25428
 
 
25429
 
fi
25430
 
if test "x$kde_cv_proto_res_init" = xno; then
25431
 
 
25432
 
cat >>confdefs.h <<\_ACEOF
25433
 
#define HAVE_RES_INIT_PROTO 1
25434
 
_ACEOF
25435
 
 
25436
 
fi
25437
 
 
25438
 
 
25439
 
 
25440
 
 
25441
 
 
25442
 
 
25443
 
 
25444
 
   LIBSOCKET="$X_EXTRA_LIBS"
25445
 
 
25446
 
 
25447
 
   { echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
25448
 
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6; }
25449
 
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
25450
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25451
 
else
25452
 
  ac_check_lib_save_LIBS=$LIBS
25453
 
LIBS="-lucb  $LIBS"
25454
 
cat >conftest.$ac_ext <<_ACEOF
25455
 
/* confdefs.h.  */
25456
 
_ACEOF
25457
 
cat confdefs.h >>conftest.$ac_ext
25458
 
cat >>conftest.$ac_ext <<_ACEOF
25459
 
/* end confdefs.h.  */
25460
 
 
25461
 
/* Override any GCC internal prototype to avoid an error.
25462
 
   Use char because int might match the return type of a GCC
25463
 
   builtin and then its argument prototype would still apply.  */
25464
 
#ifdef __cplusplus
25465
 
extern "C"
25466
 
#endif
25467
 
char killpg ();
25468
 
int
25469
 
main ()
25470
 
{
25471
 
return killpg ();
25472
 
  ;
25473
 
  return 0;
25474
 
}
25475
 
_ACEOF
25476
 
rm -f conftest.$ac_objext conftest$ac_exeext
25477
 
if { (ac_try="$ac_link"
25478
 
case "(($ac_try" in
25479
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25480
 
  *) ac_try_echo=$ac_try;;
25481
 
esac
25482
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25483
 
  (eval "$ac_link") 2>conftest.er1
25484
 
  ac_status=$?
25485
 
  grep -v '^ *+' conftest.er1 >conftest.err
25486
 
  rm -f conftest.er1
25487
 
  cat conftest.err >&5
25488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489
 
  (exit $ac_status); } && {
25490
 
         test -z "$ac_c_werror_flag" ||
25491
 
         test ! -s conftest.err
25492
 
       } && test -s conftest$ac_exeext &&
25493
 
       $as_test_x conftest$ac_exeext; then
25494
 
  ac_cv_lib_ucb_killpg=yes
25495
 
else
25496
 
  echo "$as_me: failed program was:" >&5
25497
 
sed 's/^/| /' conftest.$ac_ext >&5
25498
 
 
25499
 
        ac_cv_lib_ucb_killpg=no
25500
 
fi
25501
 
 
25502
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25503
 
      conftest$ac_exeext conftest.$ac_ext
25504
 
LIBS=$ac_check_lib_save_LIBS
25505
 
fi
25506
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
25507
 
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6; }
25508
 
if test $ac_cv_lib_ucb_killpg = yes; then
25509
 
  LIBUCB="-lucb"
25510
 
fi
25511
 
 
25512
 
 
25513
 
   case $host in     *-*-lynxos* )
25514
 
        { echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
25515
 
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6; }
25516
 
        CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
25517
 
        { echo "$as_me:$LINENO: result: disabled" >&5
25518
 
echo "${ECHO_T}disabled" >&6; }
25519
 
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25520
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
25521
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25522
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25523
 
else
25524
 
  ac_check_lib_save_LIBS=$LIBS
25525
 
LIBS="-lbsd  $LIBS"
25526
 
cat >conftest.$ac_ext <<_ACEOF
25527
 
/* confdefs.h.  */
25528
 
_ACEOF
25529
 
cat confdefs.h >>conftest.$ac_ext
25530
 
cat >>conftest.$ac_ext <<_ACEOF
25531
 
/* end confdefs.h.  */
25532
 
 
25533
 
/* Override any GCC internal prototype to avoid an error.
25534
 
   Use char because int might match the return type of a GCC
25535
 
   builtin and then its argument prototype would still apply.  */
25536
 
#ifdef __cplusplus
25537
 
extern "C"
25538
 
#endif
25539
 
char gethostbyname ();
25540
 
int
25541
 
main ()
25542
 
{
25543
 
return gethostbyname ();
25544
 
  ;
25545
 
  return 0;
25546
 
}
25547
 
_ACEOF
25548
 
rm -f conftest.$ac_objext conftest$ac_exeext
25549
 
if { (ac_try="$ac_link"
25550
 
case "(($ac_try" in
25551
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25552
 
  *) ac_try_echo=$ac_try;;
25553
 
esac
25554
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25555
 
  (eval "$ac_link") 2>conftest.er1
25556
 
  ac_status=$?
25557
 
  grep -v '^ *+' conftest.er1 >conftest.err
25558
 
  rm -f conftest.er1
25559
 
  cat conftest.err >&5
25560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561
 
  (exit $ac_status); } && {
25562
 
         test -z "$ac_c_werror_flag" ||
25563
 
         test ! -s conftest.err
25564
 
       } && test -s conftest$ac_exeext &&
25565
 
       $as_test_x conftest$ac_exeext; then
25566
 
  ac_cv_lib_bsd_gethostbyname=yes
25567
 
else
25568
 
  echo "$as_me: failed program was:" >&5
25569
 
sed 's/^/| /' conftest.$ac_ext >&5
25570
 
 
25571
 
        ac_cv_lib_bsd_gethostbyname=no
25572
 
fi
25573
 
 
25574
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25575
 
      conftest$ac_exeext conftest.$ac_ext
25576
 
LIBS=$ac_check_lib_save_LIBS
25577
 
fi
25578
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25579
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
25580
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
25581
 
  LIBSOCKET="-lbsd"
25582
 
fi
25583
 
          ;;
25584
 
    esac
25585
 
 
25586
 
     { echo "$as_me:$LINENO: checking for int" >&5
25587
 
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
25588
 
if test "${ac_cv_type_int+set}" = set; then
25589
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25590
 
else
25591
 
  cat >conftest.$ac_ext <<_ACEOF
25592
 
/* confdefs.h.  */
25593
 
_ACEOF
25594
 
cat confdefs.h >>conftest.$ac_ext
25595
 
cat >>conftest.$ac_ext <<_ACEOF
25596
 
/* end confdefs.h.  */
25597
 
$ac_includes_default
25598
 
typedef int ac__type_new_;
25599
 
int
25600
 
main ()
25601
 
{
25602
 
if ((ac__type_new_ *) 0)
25603
 
  return 0;
25604
 
if (sizeof (ac__type_new_))
25605
 
  return 0;
25606
 
  ;
25607
 
  return 0;
25608
 
}
25609
 
_ACEOF
25610
 
rm -f conftest.$ac_objext
25611
 
if { (ac_try="$ac_compile"
25612
 
case "(($ac_try" in
25613
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25614
 
  *) ac_try_echo=$ac_try;;
25615
 
esac
25616
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25617
 
  (eval "$ac_compile") 2>conftest.er1
25618
 
  ac_status=$?
25619
 
  grep -v '^ *+' conftest.er1 >conftest.err
25620
 
  rm -f conftest.er1
25621
 
  cat conftest.err >&5
25622
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623
 
  (exit $ac_status); } && {
25624
 
         test -z "$ac_c_werror_flag" ||
25625
 
         test ! -s conftest.err
25626
 
       } && test -s conftest.$ac_objext; then
25627
 
  ac_cv_type_int=yes
25628
 
else
25629
 
  echo "$as_me: failed program was:" >&5
25630
 
sed 's/^/| /' conftest.$ac_ext >&5
25631
 
 
25632
 
        ac_cv_type_int=no
25633
 
fi
25634
 
 
25635
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25636
 
fi
25637
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
25638
 
echo "${ECHO_T}$ac_cv_type_int" >&6; }
25639
 
 
25640
 
# The cast to long int works around a bug in the HP C Compiler
25641
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25642
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25643
 
# This bug is HP SR number 8606223364.
25644
 
{ echo "$as_me:$LINENO: checking size of int" >&5
25645
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
25646
 
if test "${ac_cv_sizeof_int+set}" = set; then
25647
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25648
 
else
25649
 
  if test "$cross_compiling" = yes; then
25650
 
  # Depending upon the size, compute the lo and hi bounds.
25651
 
cat >conftest.$ac_ext <<_ACEOF
25652
 
/* confdefs.h.  */
25653
 
_ACEOF
25654
 
cat confdefs.h >>conftest.$ac_ext
25655
 
cat >>conftest.$ac_ext <<_ACEOF
25656
 
/* end confdefs.h.  */
25657
 
$ac_includes_default
25658
 
   typedef int ac__type_sizeof_;
25659
 
int
25660
 
main ()
25661
 
{
25662
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25663
 
test_array [0] = 0
25664
 
 
25665
 
  ;
25666
 
  return 0;
25667
 
}
25668
 
_ACEOF
25669
 
rm -f conftest.$ac_objext
25670
 
if { (ac_try="$ac_compile"
25671
 
case "(($ac_try" in
25672
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25673
 
  *) ac_try_echo=$ac_try;;
25674
 
esac
25675
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25676
 
  (eval "$ac_compile") 2>conftest.er1
25677
 
  ac_status=$?
25678
 
  grep -v '^ *+' conftest.er1 >conftest.err
25679
 
  rm -f conftest.er1
25680
 
  cat conftest.err >&5
25681
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682
 
  (exit $ac_status); } && {
25683
 
         test -z "$ac_c_werror_flag" ||
25684
 
         test ! -s conftest.err
25685
 
       } && test -s conftest.$ac_objext; then
25686
 
  ac_lo=0 ac_mid=0
25687
 
  while :; do
25688
 
    cat >conftest.$ac_ext <<_ACEOF
25689
 
/* confdefs.h.  */
25690
 
_ACEOF
25691
 
cat confdefs.h >>conftest.$ac_ext
25692
 
cat >>conftest.$ac_ext <<_ACEOF
25693
 
/* end confdefs.h.  */
25694
 
$ac_includes_default
25695
 
   typedef int ac__type_sizeof_;
25696
 
int
25697
 
main ()
25698
 
{
25699
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25700
 
test_array [0] = 0
25701
 
 
25702
 
  ;
25703
 
  return 0;
25704
 
}
25705
 
_ACEOF
25706
 
rm -f conftest.$ac_objext
25707
 
if { (ac_try="$ac_compile"
25708
 
case "(($ac_try" in
25709
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25710
 
  *) ac_try_echo=$ac_try;;
25711
 
esac
25712
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25713
 
  (eval "$ac_compile") 2>conftest.er1
25714
 
  ac_status=$?
25715
 
  grep -v '^ *+' conftest.er1 >conftest.err
25716
 
  rm -f conftest.er1
25717
 
  cat conftest.err >&5
25718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719
 
  (exit $ac_status); } && {
25720
 
         test -z "$ac_c_werror_flag" ||
25721
 
         test ! -s conftest.err
25722
 
       } && test -s conftest.$ac_objext; then
25723
 
  ac_hi=$ac_mid; break
25724
 
else
25725
 
  echo "$as_me: failed program was:" >&5
25726
 
sed 's/^/| /' conftest.$ac_ext >&5
25727
 
 
25728
 
        ac_lo=`expr $ac_mid + 1`
25729
 
                        if test $ac_lo -le $ac_mid; then
25730
 
                          ac_lo= ac_hi=
25731
 
                          break
25732
 
                        fi
25733
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25734
 
fi
25735
 
 
25736
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25737
 
  done
25738
 
else
25739
 
  echo "$as_me: failed program was:" >&5
25740
 
sed 's/^/| /' conftest.$ac_ext >&5
25741
 
 
25742
 
        cat >conftest.$ac_ext <<_ACEOF
25743
 
/* confdefs.h.  */
25744
 
_ACEOF
25745
 
cat confdefs.h >>conftest.$ac_ext
25746
 
cat >>conftest.$ac_ext <<_ACEOF
25747
 
/* end confdefs.h.  */
25748
 
$ac_includes_default
25749
 
   typedef int ac__type_sizeof_;
25750
 
int
25751
 
main ()
25752
 
{
25753
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25754
 
test_array [0] = 0
25755
 
 
25756
 
  ;
25757
 
  return 0;
25758
 
}
25759
 
_ACEOF
25760
 
rm -f conftest.$ac_objext
25761
 
if { (ac_try="$ac_compile"
25762
 
case "(($ac_try" in
25763
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25764
 
  *) ac_try_echo=$ac_try;;
25765
 
esac
25766
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25767
 
  (eval "$ac_compile") 2>conftest.er1
25768
 
  ac_status=$?
25769
 
  grep -v '^ *+' conftest.er1 >conftest.err
25770
 
  rm -f conftest.er1
25771
 
  cat conftest.err >&5
25772
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773
 
  (exit $ac_status); } && {
25774
 
         test -z "$ac_c_werror_flag" ||
25775
 
         test ! -s conftest.err
25776
 
       } && test -s conftest.$ac_objext; then
25777
 
  ac_hi=-1 ac_mid=-1
25778
 
  while :; do
25779
 
    cat >conftest.$ac_ext <<_ACEOF
25780
 
/* confdefs.h.  */
25781
 
_ACEOF
25782
 
cat confdefs.h >>conftest.$ac_ext
25783
 
cat >>conftest.$ac_ext <<_ACEOF
25784
 
/* end confdefs.h.  */
25785
 
$ac_includes_default
25786
 
   typedef int ac__type_sizeof_;
25787
 
int
25788
 
main ()
25789
 
{
25790
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25791
 
test_array [0] = 0
25792
 
 
25793
 
  ;
25794
 
  return 0;
25795
 
}
25796
 
_ACEOF
25797
 
rm -f conftest.$ac_objext
25798
 
if { (ac_try="$ac_compile"
25799
 
case "(($ac_try" in
25800
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25801
 
  *) ac_try_echo=$ac_try;;
25802
 
esac
25803
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25804
 
  (eval "$ac_compile") 2>conftest.er1
25805
 
  ac_status=$?
25806
 
  grep -v '^ *+' conftest.er1 >conftest.err
25807
 
  rm -f conftest.er1
25808
 
  cat conftest.err >&5
25809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810
 
  (exit $ac_status); } && {
25811
 
         test -z "$ac_c_werror_flag" ||
25812
 
         test ! -s conftest.err
25813
 
       } && test -s conftest.$ac_objext; then
25814
 
  ac_lo=$ac_mid; break
25815
 
else
25816
 
  echo "$as_me: failed program was:" >&5
25817
 
sed 's/^/| /' conftest.$ac_ext >&5
25818
 
 
25819
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
25820
 
                        if test $ac_mid -le $ac_hi; then
25821
 
                          ac_lo= ac_hi=
25822
 
                          break
25823
 
                        fi
25824
 
                        ac_mid=`expr 2 '*' $ac_mid`
25825
 
fi
25826
 
 
25827
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25828
 
  done
25829
 
else
25830
 
  echo "$as_me: failed program was:" >&5
25831
 
sed 's/^/| /' conftest.$ac_ext >&5
25832
 
 
25833
 
        ac_lo= ac_hi=
25834
 
fi
25835
 
 
25836
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25837
 
fi
25838
 
 
25839
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25840
 
# Binary search between lo and hi bounds.
25841
 
while test "x$ac_lo" != "x$ac_hi"; do
25842
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25843
 
  cat >conftest.$ac_ext <<_ACEOF
25844
 
/* confdefs.h.  */
25845
 
_ACEOF
25846
 
cat confdefs.h >>conftest.$ac_ext
25847
 
cat >>conftest.$ac_ext <<_ACEOF
25848
 
/* end confdefs.h.  */
25849
 
$ac_includes_default
25850
 
   typedef int ac__type_sizeof_;
25851
 
int
25852
 
main ()
25853
 
{
25854
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25855
 
test_array [0] = 0
25856
 
 
25857
 
  ;
25858
 
  return 0;
25859
 
}
25860
 
_ACEOF
25861
 
rm -f conftest.$ac_objext
25862
 
if { (ac_try="$ac_compile"
25863
 
case "(($ac_try" in
25864
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25865
 
  *) ac_try_echo=$ac_try;;
25866
 
esac
25867
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25868
 
  (eval "$ac_compile") 2>conftest.er1
25869
 
  ac_status=$?
25870
 
  grep -v '^ *+' conftest.er1 >conftest.err
25871
 
  rm -f conftest.er1
25872
 
  cat conftest.err >&5
25873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25874
 
  (exit $ac_status); } && {
25875
 
         test -z "$ac_c_werror_flag" ||
25876
 
         test ! -s conftest.err
25877
 
       } && test -s conftest.$ac_objext; then
25878
 
  ac_hi=$ac_mid
25879
 
else
25880
 
  echo "$as_me: failed program was:" >&5
25881
 
sed 's/^/| /' conftest.$ac_ext >&5
25882
 
 
25883
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
25884
 
fi
25885
 
 
25886
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25887
 
done
25888
 
case $ac_lo in
25889
 
?*) ac_cv_sizeof_int=$ac_lo;;
25890
 
'') if test "$ac_cv_type_int" = yes; then
25891
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25892
 
See \`config.log' for more details." >&5
25893
 
echo "$as_me: error: cannot compute sizeof (int)
25894
 
See \`config.log' for more details." >&2;}
25895
 
   { (exit 77); exit 77; }; }
25896
 
   else
25897
 
     ac_cv_sizeof_int=0
25898
 
   fi ;;
25899
 
esac
25900
 
else
25901
 
  cat >conftest.$ac_ext <<_ACEOF
25902
 
/* confdefs.h.  */
25903
 
_ACEOF
25904
 
cat confdefs.h >>conftest.$ac_ext
25905
 
cat >>conftest.$ac_ext <<_ACEOF
25906
 
/* end confdefs.h.  */
25907
 
$ac_includes_default
25908
 
   typedef int ac__type_sizeof_;
25909
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25910
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25911
 
#include <stdio.h>
25912
 
#include <stdlib.h>
25913
 
int
25914
 
main ()
25915
 
{
25916
 
 
25917
 
  FILE *f = fopen ("conftest.val", "w");
25918
 
  if (! f)
25919
 
    return 1;
25920
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25921
 
    {
25922
 
      long int i = longval ();
25923
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25924
 
        return 1;
25925
 
      fprintf (f, "%ld\n", i);
25926
 
    }
25927
 
  else
25928
 
    {
25929
 
      unsigned long int i = ulongval ();
25930
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25931
 
        return 1;
25932
 
      fprintf (f, "%lu\n", i);
25933
 
    }
25934
 
  return ferror (f) || fclose (f) != 0;
25935
 
 
25936
 
  ;
25937
 
  return 0;
25938
 
}
25939
 
_ACEOF
25940
 
rm -f conftest$ac_exeext
25941
 
if { (ac_try="$ac_link"
25942
 
case "(($ac_try" in
25943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944
 
  *) ac_try_echo=$ac_try;;
25945
 
esac
25946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947
 
  (eval "$ac_link") 2>&5
25948
 
  ac_status=$?
25949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25951
 
  { (case "(($ac_try" in
25952
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25953
 
  *) ac_try_echo=$ac_try;;
25954
 
esac
25955
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25956
 
  (eval "$ac_try") 2>&5
25957
 
  ac_status=$?
25958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959
 
  (exit $ac_status); }; }; then
25960
 
  ac_cv_sizeof_int=`cat conftest.val`
25961
 
else
25962
 
  echo "$as_me: program exited with status $ac_status" >&5
25963
 
echo "$as_me: failed program was:" >&5
25964
 
sed 's/^/| /' conftest.$ac_ext >&5
25965
 
 
25966
 
( exit $ac_status )
25967
 
if test "$ac_cv_type_int" = yes; then
25968
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25969
 
See \`config.log' for more details." >&5
25970
 
echo "$as_me: error: cannot compute sizeof (int)
25971
 
See \`config.log' for more details." >&2;}
25972
 
   { (exit 77); exit 77; }; }
25973
 
   else
25974
 
     ac_cv_sizeof_int=0
25975
 
   fi
25976
 
fi
25977
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25978
 
fi
25979
 
rm -f conftest.val
25980
 
fi
25981
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
25982
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
25983
 
 
25984
 
 
25985
 
 
25986
 
cat >>confdefs.h <<_ACEOF
25987
 
#define SIZEOF_INT $ac_cv_sizeof_int
25988
 
_ACEOF
25989
 
 
25990
 
   { echo "$as_me:$LINENO: checking for short" >&5
25991
 
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
25992
 
if test "${ac_cv_type_short+set}" = set; then
25993
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25994
 
else
25995
 
  cat >conftest.$ac_ext <<_ACEOF
25996
 
/* confdefs.h.  */
25997
 
_ACEOF
25998
 
cat confdefs.h >>conftest.$ac_ext
25999
 
cat >>conftest.$ac_ext <<_ACEOF
26000
 
/* end confdefs.h.  */
26001
 
$ac_includes_default
26002
 
typedef short ac__type_new_;
26003
 
int
26004
 
main ()
26005
 
{
26006
 
if ((ac__type_new_ *) 0)
26007
 
  return 0;
26008
 
if (sizeof (ac__type_new_))
26009
 
  return 0;
26010
 
  ;
26011
 
  return 0;
26012
 
}
26013
 
_ACEOF
26014
 
rm -f conftest.$ac_objext
26015
 
if { (ac_try="$ac_compile"
26016
 
case "(($ac_try" in
26017
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26018
 
  *) ac_try_echo=$ac_try;;
26019
 
esac
26020
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26021
 
  (eval "$ac_compile") 2>conftest.er1
26022
 
  ac_status=$?
26023
 
  grep -v '^ *+' conftest.er1 >conftest.err
26024
 
  rm -f conftest.er1
26025
 
  cat conftest.err >&5
26026
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027
 
  (exit $ac_status); } && {
26028
 
         test -z "$ac_c_werror_flag" ||
26029
 
         test ! -s conftest.err
26030
 
       } && test -s conftest.$ac_objext; then
26031
 
  ac_cv_type_short=yes
26032
 
else
26033
 
  echo "$as_me: failed program was:" >&5
26034
 
sed 's/^/| /' conftest.$ac_ext >&5
26035
 
 
26036
 
        ac_cv_type_short=no
26037
 
fi
26038
 
 
26039
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26040
 
fi
26041
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
26042
 
echo "${ECHO_T}$ac_cv_type_short" >&6; }
26043
 
 
26044
 
# The cast to long int works around a bug in the HP C Compiler
26045
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26046
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26047
 
# This bug is HP SR number 8606223364.
26048
 
{ echo "$as_me:$LINENO: checking size of short" >&5
26049
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
26050
 
if test "${ac_cv_sizeof_short+set}" = set; then
26051
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26052
 
else
26053
 
  if test "$cross_compiling" = yes; then
26054
 
  # Depending upon the size, compute the lo and hi bounds.
26055
 
cat >conftest.$ac_ext <<_ACEOF
26056
 
/* confdefs.h.  */
26057
 
_ACEOF
26058
 
cat confdefs.h >>conftest.$ac_ext
26059
 
cat >>conftest.$ac_ext <<_ACEOF
26060
 
/* end confdefs.h.  */
26061
 
$ac_includes_default
26062
 
   typedef short ac__type_sizeof_;
26063
 
int
26064
 
main ()
26065
 
{
26066
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26067
 
test_array [0] = 0
26068
 
 
26069
 
  ;
26070
 
  return 0;
26071
 
}
26072
 
_ACEOF
26073
 
rm -f conftest.$ac_objext
26074
 
if { (ac_try="$ac_compile"
26075
 
case "(($ac_try" in
26076
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26077
 
  *) ac_try_echo=$ac_try;;
26078
 
esac
26079
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26080
 
  (eval "$ac_compile") 2>conftest.er1
26081
 
  ac_status=$?
26082
 
  grep -v '^ *+' conftest.er1 >conftest.err
26083
 
  rm -f conftest.er1
26084
 
  cat conftest.err >&5
26085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086
 
  (exit $ac_status); } && {
26087
 
         test -z "$ac_c_werror_flag" ||
26088
 
         test ! -s conftest.err
26089
 
       } && test -s conftest.$ac_objext; then
26090
 
  ac_lo=0 ac_mid=0
26091
 
  while :; do
26092
 
    cat >conftest.$ac_ext <<_ACEOF
26093
 
/* confdefs.h.  */
26094
 
_ACEOF
26095
 
cat confdefs.h >>conftest.$ac_ext
26096
 
cat >>conftest.$ac_ext <<_ACEOF
26097
 
/* end confdefs.h.  */
26098
 
$ac_includes_default
26099
 
   typedef short ac__type_sizeof_;
26100
 
int
26101
 
main ()
26102
 
{
26103
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26104
 
test_array [0] = 0
26105
 
 
26106
 
  ;
26107
 
  return 0;
26108
 
}
26109
 
_ACEOF
26110
 
rm -f conftest.$ac_objext
26111
 
if { (ac_try="$ac_compile"
26112
 
case "(($ac_try" in
26113
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26114
 
  *) ac_try_echo=$ac_try;;
26115
 
esac
26116
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26117
 
  (eval "$ac_compile") 2>conftest.er1
26118
 
  ac_status=$?
26119
 
  grep -v '^ *+' conftest.er1 >conftest.err
26120
 
  rm -f conftest.er1
26121
 
  cat conftest.err >&5
26122
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123
 
  (exit $ac_status); } && {
26124
 
         test -z "$ac_c_werror_flag" ||
26125
 
         test ! -s conftest.err
26126
 
       } && test -s conftest.$ac_objext; then
26127
 
  ac_hi=$ac_mid; break
26128
 
else
26129
 
  echo "$as_me: failed program was:" >&5
26130
 
sed 's/^/| /' conftest.$ac_ext >&5
26131
 
 
26132
 
        ac_lo=`expr $ac_mid + 1`
26133
 
                        if test $ac_lo -le $ac_mid; then
26134
 
                          ac_lo= ac_hi=
26135
 
                          break
26136
 
                        fi
26137
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26138
 
fi
26139
 
 
26140
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26141
 
  done
26142
 
else
26143
 
  echo "$as_me: failed program was:" >&5
26144
 
sed 's/^/| /' conftest.$ac_ext >&5
26145
 
 
26146
 
        cat >conftest.$ac_ext <<_ACEOF
26147
 
/* confdefs.h.  */
26148
 
_ACEOF
26149
 
cat confdefs.h >>conftest.$ac_ext
26150
 
cat >>conftest.$ac_ext <<_ACEOF
26151
 
/* end confdefs.h.  */
26152
 
$ac_includes_default
26153
 
   typedef short ac__type_sizeof_;
26154
 
int
26155
 
main ()
26156
 
{
26157
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26158
 
test_array [0] = 0
26159
 
 
26160
 
  ;
26161
 
  return 0;
26162
 
}
26163
 
_ACEOF
26164
 
rm -f conftest.$ac_objext
26165
 
if { (ac_try="$ac_compile"
26166
 
case "(($ac_try" in
26167
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26168
 
  *) ac_try_echo=$ac_try;;
26169
 
esac
26170
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26171
 
  (eval "$ac_compile") 2>conftest.er1
26172
 
  ac_status=$?
26173
 
  grep -v '^ *+' conftest.er1 >conftest.err
26174
 
  rm -f conftest.er1
26175
 
  cat conftest.err >&5
26176
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177
 
  (exit $ac_status); } && {
26178
 
         test -z "$ac_c_werror_flag" ||
26179
 
         test ! -s conftest.err
26180
 
       } && test -s conftest.$ac_objext; then
26181
 
  ac_hi=-1 ac_mid=-1
26182
 
  while :; do
26183
 
    cat >conftest.$ac_ext <<_ACEOF
26184
 
/* confdefs.h.  */
26185
 
_ACEOF
26186
 
cat confdefs.h >>conftest.$ac_ext
26187
 
cat >>conftest.$ac_ext <<_ACEOF
26188
 
/* end confdefs.h.  */
26189
 
$ac_includes_default
26190
 
   typedef short ac__type_sizeof_;
26191
 
int
26192
 
main ()
26193
 
{
26194
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26195
 
test_array [0] = 0
26196
 
 
26197
 
  ;
26198
 
  return 0;
26199
 
}
26200
 
_ACEOF
26201
 
rm -f conftest.$ac_objext
26202
 
if { (ac_try="$ac_compile"
26203
 
case "(($ac_try" in
26204
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26205
 
  *) ac_try_echo=$ac_try;;
26206
 
esac
26207
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26208
 
  (eval "$ac_compile") 2>conftest.er1
26209
 
  ac_status=$?
26210
 
  grep -v '^ *+' conftest.er1 >conftest.err
26211
 
  rm -f conftest.er1
26212
 
  cat conftest.err >&5
26213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214
 
  (exit $ac_status); } && {
26215
 
         test -z "$ac_c_werror_flag" ||
26216
 
         test ! -s conftest.err
26217
 
       } && test -s conftest.$ac_objext; then
26218
 
  ac_lo=$ac_mid; break
26219
 
else
26220
 
  echo "$as_me: failed program was:" >&5
26221
 
sed 's/^/| /' conftest.$ac_ext >&5
26222
 
 
26223
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26224
 
                        if test $ac_mid -le $ac_hi; then
26225
 
                          ac_lo= ac_hi=
26226
 
                          break
26227
 
                        fi
26228
 
                        ac_mid=`expr 2 '*' $ac_mid`
26229
 
fi
26230
 
 
26231
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26232
 
  done
26233
 
else
26234
 
  echo "$as_me: failed program was:" >&5
26235
 
sed 's/^/| /' conftest.$ac_ext >&5
26236
 
 
26237
 
        ac_lo= ac_hi=
26238
 
fi
26239
 
 
26240
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26241
 
fi
26242
 
 
26243
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244
 
# Binary search between lo and hi bounds.
26245
 
while test "x$ac_lo" != "x$ac_hi"; do
26246
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26247
 
  cat >conftest.$ac_ext <<_ACEOF
26248
 
/* confdefs.h.  */
26249
 
_ACEOF
26250
 
cat confdefs.h >>conftest.$ac_ext
26251
 
cat >>conftest.$ac_ext <<_ACEOF
26252
 
/* end confdefs.h.  */
26253
 
$ac_includes_default
26254
 
   typedef short ac__type_sizeof_;
26255
 
int
26256
 
main ()
26257
 
{
26258
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26259
 
test_array [0] = 0
26260
 
 
26261
 
  ;
26262
 
  return 0;
26263
 
}
26264
 
_ACEOF
26265
 
rm -f conftest.$ac_objext
26266
 
if { (ac_try="$ac_compile"
26267
 
case "(($ac_try" in
26268
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26269
 
  *) ac_try_echo=$ac_try;;
26270
 
esac
26271
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26272
 
  (eval "$ac_compile") 2>conftest.er1
26273
 
  ac_status=$?
26274
 
  grep -v '^ *+' conftest.er1 >conftest.err
26275
 
  rm -f conftest.er1
26276
 
  cat conftest.err >&5
26277
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278
 
  (exit $ac_status); } && {
26279
 
         test -z "$ac_c_werror_flag" ||
26280
 
         test ! -s conftest.err
26281
 
       } && test -s conftest.$ac_objext; then
26282
 
  ac_hi=$ac_mid
26283
 
else
26284
 
  echo "$as_me: failed program was:" >&5
26285
 
sed 's/^/| /' conftest.$ac_ext >&5
26286
 
 
26287
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26288
 
fi
26289
 
 
26290
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26291
 
done
26292
 
case $ac_lo in
26293
 
?*) ac_cv_sizeof_short=$ac_lo;;
26294
 
'') if test "$ac_cv_type_short" = yes; then
26295
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26296
 
See \`config.log' for more details." >&5
26297
 
echo "$as_me: error: cannot compute sizeof (short)
26298
 
See \`config.log' for more details." >&2;}
26299
 
   { (exit 77); exit 77; }; }
26300
 
   else
26301
 
     ac_cv_sizeof_short=0
26302
 
   fi ;;
26303
 
esac
26304
 
else
26305
 
  cat >conftest.$ac_ext <<_ACEOF
26306
 
/* confdefs.h.  */
26307
 
_ACEOF
26308
 
cat confdefs.h >>conftest.$ac_ext
26309
 
cat >>conftest.$ac_ext <<_ACEOF
26310
 
/* end confdefs.h.  */
26311
 
$ac_includes_default
26312
 
   typedef short ac__type_sizeof_;
26313
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26314
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26315
 
#include <stdio.h>
26316
 
#include <stdlib.h>
26317
 
int
26318
 
main ()
26319
 
{
26320
 
 
26321
 
  FILE *f = fopen ("conftest.val", "w");
26322
 
  if (! f)
26323
 
    return 1;
26324
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26325
 
    {
26326
 
      long int i = longval ();
26327
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26328
 
        return 1;
26329
 
      fprintf (f, "%ld\n", i);
26330
 
    }
26331
 
  else
26332
 
    {
26333
 
      unsigned long int i = ulongval ();
26334
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26335
 
        return 1;
26336
 
      fprintf (f, "%lu\n", i);
26337
 
    }
26338
 
  return ferror (f) || fclose (f) != 0;
26339
 
 
26340
 
  ;
26341
 
  return 0;
26342
 
}
26343
 
_ACEOF
26344
 
rm -f conftest$ac_exeext
26345
 
if { (ac_try="$ac_link"
26346
 
case "(($ac_try" in
26347
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26348
 
  *) ac_try_echo=$ac_try;;
26349
 
esac
26350
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26351
 
  (eval "$ac_link") 2>&5
26352
 
  ac_status=$?
26353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26355
 
  { (case "(($ac_try" in
26356
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26357
 
  *) ac_try_echo=$ac_try;;
26358
 
esac
26359
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26360
 
  (eval "$ac_try") 2>&5
26361
 
  ac_status=$?
26362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26363
 
  (exit $ac_status); }; }; then
26364
 
  ac_cv_sizeof_short=`cat conftest.val`
26365
 
else
26366
 
  echo "$as_me: program exited with status $ac_status" >&5
26367
 
echo "$as_me: failed program was:" >&5
26368
 
sed 's/^/| /' conftest.$ac_ext >&5
26369
 
 
26370
 
( exit $ac_status )
26371
 
if test "$ac_cv_type_short" = yes; then
26372
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26373
 
See \`config.log' for more details." >&5
26374
 
echo "$as_me: error: cannot compute sizeof (short)
26375
 
See \`config.log' for more details." >&2;}
26376
 
   { (exit 77); exit 77; }; }
26377
 
   else
26378
 
     ac_cv_sizeof_short=0
26379
 
   fi
26380
 
fi
26381
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26382
 
fi
26383
 
rm -f conftest.val
26384
 
fi
26385
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
26386
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
26387
 
 
26388
 
 
26389
 
 
26390
 
cat >>confdefs.h <<_ACEOF
26391
 
#define SIZEOF_SHORT $ac_cv_sizeof_short
26392
 
_ACEOF
26393
 
 
26394
 
  { echo "$as_me:$LINENO: checking for long" >&5
26395
 
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
26396
 
if test "${ac_cv_type_long+set}" = set; then
26397
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26398
 
else
26399
 
  cat >conftest.$ac_ext <<_ACEOF
26400
 
/* confdefs.h.  */
26401
 
_ACEOF
26402
 
cat confdefs.h >>conftest.$ac_ext
26403
 
cat >>conftest.$ac_ext <<_ACEOF
26404
 
/* end confdefs.h.  */
26405
 
$ac_includes_default
26406
 
typedef long ac__type_new_;
26407
 
int
26408
 
main ()
26409
 
{
26410
 
if ((ac__type_new_ *) 0)
26411
 
  return 0;
26412
 
if (sizeof (ac__type_new_))
26413
 
  return 0;
26414
 
  ;
26415
 
  return 0;
26416
 
}
26417
 
_ACEOF
26418
 
rm -f conftest.$ac_objext
26419
 
if { (ac_try="$ac_compile"
26420
 
case "(($ac_try" in
26421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26422
 
  *) ac_try_echo=$ac_try;;
26423
 
esac
26424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26425
 
  (eval "$ac_compile") 2>conftest.er1
26426
 
  ac_status=$?
26427
 
  grep -v '^ *+' conftest.er1 >conftest.err
26428
 
  rm -f conftest.er1
26429
 
  cat conftest.err >&5
26430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431
 
  (exit $ac_status); } && {
26432
 
         test -z "$ac_c_werror_flag" ||
26433
 
         test ! -s conftest.err
26434
 
       } && test -s conftest.$ac_objext; then
26435
 
  ac_cv_type_long=yes
26436
 
else
26437
 
  echo "$as_me: failed program was:" >&5
26438
 
sed 's/^/| /' conftest.$ac_ext >&5
26439
 
 
26440
 
        ac_cv_type_long=no
26441
 
fi
26442
 
 
26443
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26444
 
fi
26445
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
26446
 
echo "${ECHO_T}$ac_cv_type_long" >&6; }
26447
 
 
26448
 
# The cast to long int works around a bug in the HP C Compiler
26449
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26450
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26451
 
# This bug is HP SR number 8606223364.
26452
 
{ echo "$as_me:$LINENO: checking size of long" >&5
26453
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
26454
 
if test "${ac_cv_sizeof_long+set}" = set; then
26455
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26456
 
else
26457
 
  if test "$cross_compiling" = yes; then
26458
 
  # Depending upon the size, compute the lo and hi bounds.
26459
 
cat >conftest.$ac_ext <<_ACEOF
26460
 
/* confdefs.h.  */
26461
 
_ACEOF
26462
 
cat confdefs.h >>conftest.$ac_ext
26463
 
cat >>conftest.$ac_ext <<_ACEOF
26464
 
/* end confdefs.h.  */
26465
 
$ac_includes_default
26466
 
   typedef long ac__type_sizeof_;
26467
 
int
26468
 
main ()
26469
 
{
26470
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26471
 
test_array [0] = 0
26472
 
 
26473
 
  ;
26474
 
  return 0;
26475
 
}
26476
 
_ACEOF
26477
 
rm -f conftest.$ac_objext
26478
 
if { (ac_try="$ac_compile"
26479
 
case "(($ac_try" in
26480
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26481
 
  *) ac_try_echo=$ac_try;;
26482
 
esac
26483
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26484
 
  (eval "$ac_compile") 2>conftest.er1
26485
 
  ac_status=$?
26486
 
  grep -v '^ *+' conftest.er1 >conftest.err
26487
 
  rm -f conftest.er1
26488
 
  cat conftest.err >&5
26489
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490
 
  (exit $ac_status); } && {
26491
 
         test -z "$ac_c_werror_flag" ||
26492
 
         test ! -s conftest.err
26493
 
       } && test -s conftest.$ac_objext; then
26494
 
  ac_lo=0 ac_mid=0
26495
 
  while :; do
26496
 
    cat >conftest.$ac_ext <<_ACEOF
26497
 
/* confdefs.h.  */
26498
 
_ACEOF
26499
 
cat confdefs.h >>conftest.$ac_ext
26500
 
cat >>conftest.$ac_ext <<_ACEOF
26501
 
/* end confdefs.h.  */
26502
 
$ac_includes_default
26503
 
   typedef long ac__type_sizeof_;
26504
 
int
26505
 
main ()
26506
 
{
26507
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26508
 
test_array [0] = 0
26509
 
 
26510
 
  ;
26511
 
  return 0;
26512
 
}
26513
 
_ACEOF
26514
 
rm -f conftest.$ac_objext
26515
 
if { (ac_try="$ac_compile"
26516
 
case "(($ac_try" in
26517
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26518
 
  *) ac_try_echo=$ac_try;;
26519
 
esac
26520
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26521
 
  (eval "$ac_compile") 2>conftest.er1
26522
 
  ac_status=$?
26523
 
  grep -v '^ *+' conftest.er1 >conftest.err
26524
 
  rm -f conftest.er1
26525
 
  cat conftest.err >&5
26526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527
 
  (exit $ac_status); } && {
26528
 
         test -z "$ac_c_werror_flag" ||
26529
 
         test ! -s conftest.err
26530
 
       } && test -s conftest.$ac_objext; then
26531
 
  ac_hi=$ac_mid; break
26532
 
else
26533
 
  echo "$as_me: failed program was:" >&5
26534
 
sed 's/^/| /' conftest.$ac_ext >&5
26535
 
 
26536
 
        ac_lo=`expr $ac_mid + 1`
26537
 
                        if test $ac_lo -le $ac_mid; then
26538
 
                          ac_lo= ac_hi=
26539
 
                          break
26540
 
                        fi
26541
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26542
 
fi
26543
 
 
26544
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26545
 
  done
26546
 
else
26547
 
  echo "$as_me: failed program was:" >&5
26548
 
sed 's/^/| /' conftest.$ac_ext >&5
26549
 
 
26550
 
        cat >conftest.$ac_ext <<_ACEOF
26551
 
/* confdefs.h.  */
26552
 
_ACEOF
26553
 
cat confdefs.h >>conftest.$ac_ext
26554
 
cat >>conftest.$ac_ext <<_ACEOF
26555
 
/* end confdefs.h.  */
26556
 
$ac_includes_default
26557
 
   typedef long ac__type_sizeof_;
26558
 
int
26559
 
main ()
26560
 
{
26561
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26562
 
test_array [0] = 0
26563
 
 
26564
 
  ;
26565
 
  return 0;
26566
 
}
26567
 
_ACEOF
26568
 
rm -f conftest.$ac_objext
26569
 
if { (ac_try="$ac_compile"
26570
 
case "(($ac_try" in
26571
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26572
 
  *) ac_try_echo=$ac_try;;
26573
 
esac
26574
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26575
 
  (eval "$ac_compile") 2>conftest.er1
26576
 
  ac_status=$?
26577
 
  grep -v '^ *+' conftest.er1 >conftest.err
26578
 
  rm -f conftest.er1
26579
 
  cat conftest.err >&5
26580
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581
 
  (exit $ac_status); } && {
26582
 
         test -z "$ac_c_werror_flag" ||
26583
 
         test ! -s conftest.err
26584
 
       } && test -s conftest.$ac_objext; then
26585
 
  ac_hi=-1 ac_mid=-1
26586
 
  while :; do
26587
 
    cat >conftest.$ac_ext <<_ACEOF
26588
 
/* confdefs.h.  */
26589
 
_ACEOF
26590
 
cat confdefs.h >>conftest.$ac_ext
26591
 
cat >>conftest.$ac_ext <<_ACEOF
26592
 
/* end confdefs.h.  */
26593
 
$ac_includes_default
26594
 
   typedef long ac__type_sizeof_;
26595
 
int
26596
 
main ()
26597
 
{
26598
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26599
 
test_array [0] = 0
26600
 
 
26601
 
  ;
26602
 
  return 0;
26603
 
}
26604
 
_ACEOF
26605
 
rm -f conftest.$ac_objext
26606
 
if { (ac_try="$ac_compile"
26607
 
case "(($ac_try" in
26608
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26609
 
  *) ac_try_echo=$ac_try;;
26610
 
esac
26611
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26612
 
  (eval "$ac_compile") 2>conftest.er1
26613
 
  ac_status=$?
26614
 
  grep -v '^ *+' conftest.er1 >conftest.err
26615
 
  rm -f conftest.er1
26616
 
  cat conftest.err >&5
26617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618
 
  (exit $ac_status); } && {
26619
 
         test -z "$ac_c_werror_flag" ||
26620
 
         test ! -s conftest.err
26621
 
       } && test -s conftest.$ac_objext; then
26622
 
  ac_lo=$ac_mid; break
26623
 
else
26624
 
  echo "$as_me: failed program was:" >&5
26625
 
sed 's/^/| /' conftest.$ac_ext >&5
26626
 
 
26627
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26628
 
                        if test $ac_mid -le $ac_hi; then
26629
 
                          ac_lo= ac_hi=
26630
 
                          break
26631
 
                        fi
26632
 
                        ac_mid=`expr 2 '*' $ac_mid`
26633
 
fi
26634
 
 
26635
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26636
 
  done
26637
 
else
26638
 
  echo "$as_me: failed program was:" >&5
26639
 
sed 's/^/| /' conftest.$ac_ext >&5
26640
 
 
26641
 
        ac_lo= ac_hi=
26642
 
fi
26643
 
 
26644
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26645
 
fi
26646
 
 
26647
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648
 
# Binary search between lo and hi bounds.
26649
 
while test "x$ac_lo" != "x$ac_hi"; do
26650
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26651
 
  cat >conftest.$ac_ext <<_ACEOF
26652
 
/* confdefs.h.  */
26653
 
_ACEOF
26654
 
cat confdefs.h >>conftest.$ac_ext
26655
 
cat >>conftest.$ac_ext <<_ACEOF
26656
 
/* end confdefs.h.  */
26657
 
$ac_includes_default
26658
 
   typedef long ac__type_sizeof_;
26659
 
int
26660
 
main ()
26661
 
{
26662
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26663
 
test_array [0] = 0
26664
 
 
26665
 
  ;
26666
 
  return 0;
26667
 
}
26668
 
_ACEOF
26669
 
rm -f conftest.$ac_objext
26670
 
if { (ac_try="$ac_compile"
26671
 
case "(($ac_try" in
26672
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26673
 
  *) ac_try_echo=$ac_try;;
26674
 
esac
26675
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26676
 
  (eval "$ac_compile") 2>conftest.er1
26677
 
  ac_status=$?
26678
 
  grep -v '^ *+' conftest.er1 >conftest.err
26679
 
  rm -f conftest.er1
26680
 
  cat conftest.err >&5
26681
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682
 
  (exit $ac_status); } && {
26683
 
         test -z "$ac_c_werror_flag" ||
26684
 
         test ! -s conftest.err
26685
 
       } && test -s conftest.$ac_objext; then
26686
 
  ac_hi=$ac_mid
26687
 
else
26688
 
  echo "$as_me: failed program was:" >&5
26689
 
sed 's/^/| /' conftest.$ac_ext >&5
26690
 
 
26691
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26692
 
fi
26693
 
 
26694
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26695
 
done
26696
 
case $ac_lo in
26697
 
?*) ac_cv_sizeof_long=$ac_lo;;
26698
 
'') if test "$ac_cv_type_long" = yes; then
26699
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26700
 
See \`config.log' for more details." >&5
26701
 
echo "$as_me: error: cannot compute sizeof (long)
26702
 
See \`config.log' for more details." >&2;}
26703
 
   { (exit 77); exit 77; }; }
26704
 
   else
26705
 
     ac_cv_sizeof_long=0
26706
 
   fi ;;
26707
 
esac
26708
 
else
26709
 
  cat >conftest.$ac_ext <<_ACEOF
26710
 
/* confdefs.h.  */
26711
 
_ACEOF
26712
 
cat confdefs.h >>conftest.$ac_ext
26713
 
cat >>conftest.$ac_ext <<_ACEOF
26714
 
/* end confdefs.h.  */
26715
 
$ac_includes_default
26716
 
   typedef long ac__type_sizeof_;
26717
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26718
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26719
 
#include <stdio.h>
26720
 
#include <stdlib.h>
26721
 
int
26722
 
main ()
26723
 
{
26724
 
 
26725
 
  FILE *f = fopen ("conftest.val", "w");
26726
 
  if (! f)
26727
 
    return 1;
26728
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26729
 
    {
26730
 
      long int i = longval ();
26731
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26732
 
        return 1;
26733
 
      fprintf (f, "%ld\n", i);
26734
 
    }
26735
 
  else
26736
 
    {
26737
 
      unsigned long int i = ulongval ();
26738
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26739
 
        return 1;
26740
 
      fprintf (f, "%lu\n", i);
26741
 
    }
26742
 
  return ferror (f) || fclose (f) != 0;
26743
 
 
26744
 
  ;
26745
 
  return 0;
26746
 
}
26747
 
_ACEOF
26748
 
rm -f conftest$ac_exeext
26749
 
if { (ac_try="$ac_link"
26750
 
case "(($ac_try" in
26751
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26752
 
  *) ac_try_echo=$ac_try;;
26753
 
esac
26754
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26755
 
  (eval "$ac_link") 2>&5
26756
 
  ac_status=$?
26757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26759
 
  { (case "(($ac_try" in
26760
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26761
 
  *) ac_try_echo=$ac_try;;
26762
 
esac
26763
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26764
 
  (eval "$ac_try") 2>&5
26765
 
  ac_status=$?
26766
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767
 
  (exit $ac_status); }; }; then
26768
 
  ac_cv_sizeof_long=`cat conftest.val`
26769
 
else
26770
 
  echo "$as_me: program exited with status $ac_status" >&5
26771
 
echo "$as_me: failed program was:" >&5
26772
 
sed 's/^/| /' conftest.$ac_ext >&5
26773
 
 
26774
 
( exit $ac_status )
26775
 
if test "$ac_cv_type_long" = yes; then
26776
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26777
 
See \`config.log' for more details." >&5
26778
 
echo "$as_me: error: cannot compute sizeof (long)
26779
 
See \`config.log' for more details." >&2;}
26780
 
   { (exit 77); exit 77; }; }
26781
 
   else
26782
 
     ac_cv_sizeof_long=0
26783
 
   fi
26784
 
fi
26785
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26786
 
fi
26787
 
rm -f conftest.val
26788
 
fi
26789
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
26790
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
26791
 
 
26792
 
 
26793
 
 
26794
 
cat >>confdefs.h <<_ACEOF
26795
 
#define SIZEOF_LONG $ac_cv_sizeof_long
26796
 
_ACEOF
26797
 
 
26798
 
  { echo "$as_me:$LINENO: checking for char *" >&5
26799
 
echo $ECHO_N "checking for char *... $ECHO_C" >&6; }
26800
 
if test "${ac_cv_type_char_p+set}" = set; then
26801
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26802
 
else
26803
 
  cat >conftest.$ac_ext <<_ACEOF
26804
 
/* confdefs.h.  */
26805
 
_ACEOF
26806
 
cat confdefs.h >>conftest.$ac_ext
26807
 
cat >>conftest.$ac_ext <<_ACEOF
26808
 
/* end confdefs.h.  */
26809
 
$ac_includes_default
26810
 
typedef char * ac__type_new_;
26811
 
int
26812
 
main ()
26813
 
{
26814
 
if ((ac__type_new_ *) 0)
26815
 
  return 0;
26816
 
if (sizeof (ac__type_new_))
26817
 
  return 0;
26818
 
  ;
26819
 
  return 0;
26820
 
}
26821
 
_ACEOF
26822
 
rm -f conftest.$ac_objext
26823
 
if { (ac_try="$ac_compile"
26824
 
case "(($ac_try" in
26825
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26826
 
  *) ac_try_echo=$ac_try;;
26827
 
esac
26828
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26829
 
  (eval "$ac_compile") 2>conftest.er1
26830
 
  ac_status=$?
26831
 
  grep -v '^ *+' conftest.er1 >conftest.err
26832
 
  rm -f conftest.er1
26833
 
  cat conftest.err >&5
26834
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835
 
  (exit $ac_status); } && {
26836
 
         test -z "$ac_c_werror_flag" ||
26837
 
         test ! -s conftest.err
26838
 
       } && test -s conftest.$ac_objext; then
26839
 
  ac_cv_type_char_p=yes
26840
 
else
26841
 
  echo "$as_me: failed program was:" >&5
26842
 
sed 's/^/| /' conftest.$ac_ext >&5
26843
 
 
26844
 
        ac_cv_type_char_p=no
26845
 
fi
26846
 
 
26847
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26848
 
fi
26849
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
26850
 
echo "${ECHO_T}$ac_cv_type_char_p" >&6; }
26851
 
 
26852
 
# The cast to long int works around a bug in the HP C Compiler
26853
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26854
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26855
 
# This bug is HP SR number 8606223364.
26856
 
{ echo "$as_me:$LINENO: checking size of char *" >&5
26857
 
echo $ECHO_N "checking size of char *... $ECHO_C" >&6; }
26858
 
if test "${ac_cv_sizeof_char_p+set}" = set; then
26859
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26860
 
else
26861
 
  if test "$cross_compiling" = yes; then
26862
 
  # Depending upon the size, compute the lo and hi bounds.
26863
 
cat >conftest.$ac_ext <<_ACEOF
26864
 
/* confdefs.h.  */
26865
 
_ACEOF
26866
 
cat confdefs.h >>conftest.$ac_ext
26867
 
cat >>conftest.$ac_ext <<_ACEOF
26868
 
/* end confdefs.h.  */
26869
 
$ac_includes_default
26870
 
   typedef char * ac__type_sizeof_;
26871
 
int
26872
 
main ()
26873
 
{
26874
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26875
 
test_array [0] = 0
26876
 
 
26877
 
  ;
26878
 
  return 0;
26879
 
}
26880
 
_ACEOF
26881
 
rm -f conftest.$ac_objext
26882
 
if { (ac_try="$ac_compile"
26883
 
case "(($ac_try" in
26884
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26885
 
  *) ac_try_echo=$ac_try;;
26886
 
esac
26887
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26888
 
  (eval "$ac_compile") 2>conftest.er1
26889
 
  ac_status=$?
26890
 
  grep -v '^ *+' conftest.er1 >conftest.err
26891
 
  rm -f conftest.er1
26892
 
  cat conftest.err >&5
26893
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894
 
  (exit $ac_status); } && {
26895
 
         test -z "$ac_c_werror_flag" ||
26896
 
         test ! -s conftest.err
26897
 
       } && test -s conftest.$ac_objext; then
26898
 
  ac_lo=0 ac_mid=0
26899
 
  while :; do
26900
 
    cat >conftest.$ac_ext <<_ACEOF
26901
 
/* confdefs.h.  */
26902
 
_ACEOF
26903
 
cat confdefs.h >>conftest.$ac_ext
26904
 
cat >>conftest.$ac_ext <<_ACEOF
26905
 
/* end confdefs.h.  */
26906
 
$ac_includes_default
26907
 
   typedef char * ac__type_sizeof_;
26908
 
int
26909
 
main ()
26910
 
{
26911
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26912
 
test_array [0] = 0
26913
 
 
26914
 
  ;
26915
 
  return 0;
26916
 
}
26917
 
_ACEOF
26918
 
rm -f conftest.$ac_objext
26919
 
if { (ac_try="$ac_compile"
26920
 
case "(($ac_try" in
26921
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26922
 
  *) ac_try_echo=$ac_try;;
26923
 
esac
26924
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26925
 
  (eval "$ac_compile") 2>conftest.er1
26926
 
  ac_status=$?
26927
 
  grep -v '^ *+' conftest.er1 >conftest.err
26928
 
  rm -f conftest.er1
26929
 
  cat conftest.err >&5
26930
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931
 
  (exit $ac_status); } && {
26932
 
         test -z "$ac_c_werror_flag" ||
26933
 
         test ! -s conftest.err
26934
 
       } && test -s conftest.$ac_objext; then
26935
 
  ac_hi=$ac_mid; break
26936
 
else
26937
 
  echo "$as_me: failed program was:" >&5
26938
 
sed 's/^/| /' conftest.$ac_ext >&5
26939
 
 
26940
 
        ac_lo=`expr $ac_mid + 1`
26941
 
                        if test $ac_lo -le $ac_mid; then
26942
 
                          ac_lo= ac_hi=
26943
 
                          break
26944
 
                        fi
26945
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26946
 
fi
26947
 
 
26948
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26949
 
  done
26950
 
else
26951
 
  echo "$as_me: failed program was:" >&5
26952
 
sed 's/^/| /' conftest.$ac_ext >&5
26953
 
 
26954
 
        cat >conftest.$ac_ext <<_ACEOF
26955
 
/* confdefs.h.  */
26956
 
_ACEOF
26957
 
cat confdefs.h >>conftest.$ac_ext
26958
 
cat >>conftest.$ac_ext <<_ACEOF
26959
 
/* end confdefs.h.  */
26960
 
$ac_includes_default
26961
 
   typedef char * ac__type_sizeof_;
26962
 
int
26963
 
main ()
26964
 
{
26965
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26966
 
test_array [0] = 0
26967
 
 
26968
 
  ;
26969
 
  return 0;
26970
 
}
26971
 
_ACEOF
26972
 
rm -f conftest.$ac_objext
26973
 
if { (ac_try="$ac_compile"
26974
 
case "(($ac_try" in
26975
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26976
 
  *) ac_try_echo=$ac_try;;
26977
 
esac
26978
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26979
 
  (eval "$ac_compile") 2>conftest.er1
26980
 
  ac_status=$?
26981
 
  grep -v '^ *+' conftest.er1 >conftest.err
26982
 
  rm -f conftest.er1
26983
 
  cat conftest.err >&5
26984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985
 
  (exit $ac_status); } && {
26986
 
         test -z "$ac_c_werror_flag" ||
26987
 
         test ! -s conftest.err
26988
 
       } && test -s conftest.$ac_objext; then
26989
 
  ac_hi=-1 ac_mid=-1
26990
 
  while :; do
26991
 
    cat >conftest.$ac_ext <<_ACEOF
26992
 
/* confdefs.h.  */
26993
 
_ACEOF
26994
 
cat confdefs.h >>conftest.$ac_ext
26995
 
cat >>conftest.$ac_ext <<_ACEOF
26996
 
/* end confdefs.h.  */
26997
 
$ac_includes_default
26998
 
   typedef char * ac__type_sizeof_;
26999
 
int
27000
 
main ()
27001
 
{
27002
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27003
 
test_array [0] = 0
27004
 
 
27005
 
  ;
27006
 
  return 0;
27007
 
}
27008
 
_ACEOF
27009
 
rm -f conftest.$ac_objext
27010
 
if { (ac_try="$ac_compile"
27011
 
case "(($ac_try" in
27012
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27013
 
  *) ac_try_echo=$ac_try;;
27014
 
esac
27015
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27016
 
  (eval "$ac_compile") 2>conftest.er1
27017
 
  ac_status=$?
27018
 
  grep -v '^ *+' conftest.er1 >conftest.err
27019
 
  rm -f conftest.er1
27020
 
  cat conftest.err >&5
27021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022
 
  (exit $ac_status); } && {
27023
 
         test -z "$ac_c_werror_flag" ||
27024
 
         test ! -s conftest.err
27025
 
       } && test -s conftest.$ac_objext; then
27026
 
  ac_lo=$ac_mid; break
27027
 
else
27028
 
  echo "$as_me: failed program was:" >&5
27029
 
sed 's/^/| /' conftest.$ac_ext >&5
27030
 
 
27031
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27032
 
                        if test $ac_mid -le $ac_hi; then
27033
 
                          ac_lo= ac_hi=
27034
 
                          break
27035
 
                        fi
27036
 
                        ac_mid=`expr 2 '*' $ac_mid`
27037
 
fi
27038
 
 
27039
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27040
 
  done
27041
 
else
27042
 
  echo "$as_me: failed program was:" >&5
27043
 
sed 's/^/| /' conftest.$ac_ext >&5
27044
 
 
27045
 
        ac_lo= ac_hi=
27046
 
fi
27047
 
 
27048
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27049
 
fi
27050
 
 
27051
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27052
 
# Binary search between lo and hi bounds.
27053
 
while test "x$ac_lo" != "x$ac_hi"; do
27054
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27055
 
  cat >conftest.$ac_ext <<_ACEOF
27056
 
/* confdefs.h.  */
27057
 
_ACEOF
27058
 
cat confdefs.h >>conftest.$ac_ext
27059
 
cat >>conftest.$ac_ext <<_ACEOF
27060
 
/* end confdefs.h.  */
27061
 
$ac_includes_default
27062
 
   typedef char * ac__type_sizeof_;
27063
 
int
27064
 
main ()
27065
 
{
27066
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27067
 
test_array [0] = 0
27068
 
 
27069
 
  ;
27070
 
  return 0;
27071
 
}
27072
 
_ACEOF
27073
 
rm -f conftest.$ac_objext
27074
 
if { (ac_try="$ac_compile"
27075
 
case "(($ac_try" in
27076
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27077
 
  *) ac_try_echo=$ac_try;;
27078
 
esac
27079
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27080
 
  (eval "$ac_compile") 2>conftest.er1
27081
 
  ac_status=$?
27082
 
  grep -v '^ *+' conftest.er1 >conftest.err
27083
 
  rm -f conftest.er1
27084
 
  cat conftest.err >&5
27085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086
 
  (exit $ac_status); } && {
27087
 
         test -z "$ac_c_werror_flag" ||
27088
 
         test ! -s conftest.err
27089
 
       } && test -s conftest.$ac_objext; then
27090
 
  ac_hi=$ac_mid
27091
 
else
27092
 
  echo "$as_me: failed program was:" >&5
27093
 
sed 's/^/| /' conftest.$ac_ext >&5
27094
 
 
27095
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
27096
 
fi
27097
 
 
27098
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27099
 
done
27100
 
case $ac_lo in
27101
 
?*) ac_cv_sizeof_char_p=$ac_lo;;
27102
 
'') if test "$ac_cv_type_char_p" = yes; then
27103
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27104
 
See \`config.log' for more details." >&5
27105
 
echo "$as_me: error: cannot compute sizeof (char *)
27106
 
See \`config.log' for more details." >&2;}
27107
 
   { (exit 77); exit 77; }; }
27108
 
   else
27109
 
     ac_cv_sizeof_char_p=0
27110
 
   fi ;;
27111
 
esac
27112
 
else
27113
 
  cat >conftest.$ac_ext <<_ACEOF
27114
 
/* confdefs.h.  */
27115
 
_ACEOF
27116
 
cat confdefs.h >>conftest.$ac_ext
27117
 
cat >>conftest.$ac_ext <<_ACEOF
27118
 
/* end confdefs.h.  */
27119
 
$ac_includes_default
27120
 
   typedef char * ac__type_sizeof_;
27121
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27122
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27123
 
#include <stdio.h>
27124
 
#include <stdlib.h>
27125
 
int
27126
 
main ()
27127
 
{
27128
 
 
27129
 
  FILE *f = fopen ("conftest.val", "w");
27130
 
  if (! f)
27131
 
    return 1;
27132
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27133
 
    {
27134
 
      long int i = longval ();
27135
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27136
 
        return 1;
27137
 
      fprintf (f, "%ld\n", i);
27138
 
    }
27139
 
  else
27140
 
    {
27141
 
      unsigned long int i = ulongval ();
27142
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27143
 
        return 1;
27144
 
      fprintf (f, "%lu\n", i);
27145
 
    }
27146
 
  return ferror (f) || fclose (f) != 0;
27147
 
 
27148
 
  ;
27149
 
  return 0;
27150
 
}
27151
 
_ACEOF
27152
 
rm -f conftest$ac_exeext
27153
 
if { (ac_try="$ac_link"
27154
 
case "(($ac_try" in
27155
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27156
 
  *) ac_try_echo=$ac_try;;
27157
 
esac
27158
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27159
 
  (eval "$ac_link") 2>&5
27160
 
  ac_status=$?
27161
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27163
 
  { (case "(($ac_try" in
27164
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27165
 
  *) ac_try_echo=$ac_try;;
27166
 
esac
27167
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27168
 
  (eval "$ac_try") 2>&5
27169
 
  ac_status=$?
27170
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171
 
  (exit $ac_status); }; }; then
27172
 
  ac_cv_sizeof_char_p=`cat conftest.val`
27173
 
else
27174
 
  echo "$as_me: program exited with status $ac_status" >&5
27175
 
echo "$as_me: failed program was:" >&5
27176
 
sed 's/^/| /' conftest.$ac_ext >&5
27177
 
 
27178
 
( exit $ac_status )
27179
 
if test "$ac_cv_type_char_p" = yes; then
27180
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27181
 
See \`config.log' for more details." >&5
27182
 
echo "$as_me: error: cannot compute sizeof (char *)
27183
 
See \`config.log' for more details." >&2;}
27184
 
   { (exit 77); exit 77; }; }
27185
 
   else
27186
 
     ac_cv_sizeof_char_p=0
27187
 
   fi
27188
 
fi
27189
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27190
 
fi
27191
 
rm -f conftest.val
27192
 
fi
27193
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
27194
 
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6; }
27195
 
 
27196
 
 
27197
 
 
27198
 
cat >>confdefs.h <<_ACEOF
27199
 
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
27200
 
_ACEOF
27201
 
 
27202
 
 
27203
 
 
27204
 
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27205
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
27206
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27207
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27208
 
else
27209
 
  ac_check_lib_save_LIBS=$LIBS
27210
 
LIBS="-ldl  $LIBS"
27211
 
cat >conftest.$ac_ext <<_ACEOF
27212
 
/* confdefs.h.  */
27213
 
_ACEOF
27214
 
cat confdefs.h >>conftest.$ac_ext
27215
 
cat >>conftest.$ac_ext <<_ACEOF
27216
 
/* end confdefs.h.  */
27217
 
 
27218
 
/* Override any GCC internal prototype to avoid an error.
27219
 
   Use char because int might match the return type of a GCC
27220
 
   builtin and then its argument prototype would still apply.  */
27221
 
#ifdef __cplusplus
27222
 
extern "C"
27223
 
#endif
27224
 
char dlopen ();
27225
 
int
27226
 
main ()
27227
 
{
27228
 
return dlopen ();
27229
 
  ;
27230
 
  return 0;
27231
 
}
27232
 
_ACEOF
27233
 
rm -f conftest.$ac_objext conftest$ac_exeext
27234
 
if { (ac_try="$ac_link"
27235
 
case "(($ac_try" in
27236
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27237
 
  *) ac_try_echo=$ac_try;;
27238
 
esac
27239
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27240
 
  (eval "$ac_link") 2>conftest.er1
27241
 
  ac_status=$?
27242
 
  grep -v '^ *+' conftest.er1 >conftest.err
27243
 
  rm -f conftest.er1
27244
 
  cat conftest.err >&5
27245
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246
 
  (exit $ac_status); } && {
27247
 
         test -z "$ac_c_werror_flag" ||
27248
 
         test ! -s conftest.err
27249
 
       } && test -s conftest$ac_exeext &&
27250
 
       $as_test_x conftest$ac_exeext; then
27251
 
  ac_cv_lib_dl_dlopen=yes
27252
 
else
27253
 
  echo "$as_me: failed program was:" >&5
27254
 
sed 's/^/| /' conftest.$ac_ext >&5
27255
 
 
27256
 
        ac_cv_lib_dl_dlopen=no
27257
 
fi
27258
 
 
27259
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27260
 
      conftest$ac_exeext conftest.$ac_ext
27261
 
LIBS=$ac_check_lib_save_LIBS
27262
 
fi
27263
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27264
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
27265
 
if test $ac_cv_lib_dl_dlopen = yes; then
27266
 
 
27267
 
LIBDL="-ldl"
27268
 
ac_cv_have_dlfcn=yes
27269
 
 
27270
 
fi
27271
 
 
27272
 
 
27273
 
{ echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
27274
 
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6; }
27275
 
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
27276
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27277
 
else
27278
 
  ac_check_lib_save_LIBS=$LIBS
27279
 
LIBS="-ldld  $LIBS"
27280
 
cat >conftest.$ac_ext <<_ACEOF
27281
 
/* confdefs.h.  */
27282
 
_ACEOF
27283
 
cat confdefs.h >>conftest.$ac_ext
27284
 
cat >>conftest.$ac_ext <<_ACEOF
27285
 
/* end confdefs.h.  */
27286
 
 
27287
 
/* Override any GCC internal prototype to avoid an error.
27288
 
   Use char because int might match the return type of a GCC
27289
 
   builtin and then its argument prototype would still apply.  */
27290
 
#ifdef __cplusplus
27291
 
extern "C"
27292
 
#endif
27293
 
char shl_unload ();
27294
 
int
27295
 
main ()
27296
 
{
27297
 
return shl_unload ();
27298
 
  ;
27299
 
  return 0;
27300
 
}
27301
 
_ACEOF
27302
 
rm -f conftest.$ac_objext conftest$ac_exeext
27303
 
if { (ac_try="$ac_link"
27304
 
case "(($ac_try" in
27305
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27306
 
  *) ac_try_echo=$ac_try;;
27307
 
esac
27308
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27309
 
  (eval "$ac_link") 2>conftest.er1
27310
 
  ac_status=$?
27311
 
  grep -v '^ *+' conftest.er1 >conftest.err
27312
 
  rm -f conftest.er1
27313
 
  cat conftest.err >&5
27314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315
 
  (exit $ac_status); } && {
27316
 
         test -z "$ac_c_werror_flag" ||
27317
 
         test ! -s conftest.err
27318
 
       } && test -s conftest$ac_exeext &&
27319
 
       $as_test_x conftest$ac_exeext; then
27320
 
  ac_cv_lib_dld_shl_unload=yes
27321
 
else
27322
 
  echo "$as_me: failed program was:" >&5
27323
 
sed 's/^/| /' conftest.$ac_ext >&5
27324
 
 
27325
 
        ac_cv_lib_dld_shl_unload=no
27326
 
fi
27327
 
 
27328
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27329
 
      conftest$ac_exeext conftest.$ac_ext
27330
 
LIBS=$ac_check_lib_save_LIBS
27331
 
fi
27332
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
27333
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6; }
27334
 
if test $ac_cv_lib_dld_shl_unload = yes; then
27335
 
 
27336
 
LIBDL="-ldld"
27337
 
ac_cv_have_shload=yes
27338
 
 
27339
 
fi
27340
 
 
27341
 
 
27342
 
 
27343
 
 
27344
 
 
27345
 
 
27346
 
 
27347
 
  { echo "$as_me:$LINENO: checking for size_t" >&5
27348
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
27349
 
if test "${ac_cv_type_size_t+set}" = set; then
27350
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27351
 
else
27352
 
  cat >conftest.$ac_ext <<_ACEOF
27353
 
/* confdefs.h.  */
27354
 
_ACEOF
27355
 
cat confdefs.h >>conftest.$ac_ext
27356
 
cat >>conftest.$ac_ext <<_ACEOF
27357
 
/* end confdefs.h.  */
27358
 
$ac_includes_default
27359
 
typedef size_t ac__type_new_;
27360
 
int
27361
 
main ()
27362
 
{
27363
 
if ((ac__type_new_ *) 0)
27364
 
  return 0;
27365
 
if (sizeof (ac__type_new_))
27366
 
  return 0;
27367
 
  ;
27368
 
  return 0;
27369
 
}
27370
 
_ACEOF
27371
 
rm -f conftest.$ac_objext
27372
 
if { (ac_try="$ac_compile"
27373
 
case "(($ac_try" in
27374
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27375
 
  *) ac_try_echo=$ac_try;;
27376
 
esac
27377
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27378
 
  (eval "$ac_compile") 2>conftest.er1
27379
 
  ac_status=$?
27380
 
  grep -v '^ *+' conftest.er1 >conftest.err
27381
 
  rm -f conftest.er1
27382
 
  cat conftest.err >&5
27383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384
 
  (exit $ac_status); } && {
27385
 
         test -z "$ac_c_werror_flag" ||
27386
 
         test ! -s conftest.err
27387
 
       } && test -s conftest.$ac_objext; then
27388
 
  ac_cv_type_size_t=yes
27389
 
else
27390
 
  echo "$as_me: failed program was:" >&5
27391
 
sed 's/^/| /' conftest.$ac_ext >&5
27392
 
 
27393
 
        ac_cv_type_size_t=no
27394
 
fi
27395
 
 
27396
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27397
 
fi
27398
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27399
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
27400
 
 
27401
 
# The cast to long int works around a bug in the HP C Compiler
27402
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27403
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27404
 
# This bug is HP SR number 8606223364.
27405
 
{ echo "$as_me:$LINENO: checking size of size_t" >&5
27406
 
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
27407
 
if test "${ac_cv_sizeof_size_t+set}" = set; then
27408
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27409
 
else
27410
 
  if test "$cross_compiling" = yes; then
27411
 
  # Depending upon the size, compute the lo and hi bounds.
27412
 
cat >conftest.$ac_ext <<_ACEOF
27413
 
/* confdefs.h.  */
27414
 
_ACEOF
27415
 
cat confdefs.h >>conftest.$ac_ext
27416
 
cat >>conftest.$ac_ext <<_ACEOF
27417
 
/* end confdefs.h.  */
27418
 
$ac_includes_default
27419
 
   typedef size_t ac__type_sizeof_;
27420
 
int
27421
 
main ()
27422
 
{
27423
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27424
 
test_array [0] = 0
27425
 
 
27426
 
  ;
27427
 
  return 0;
27428
 
}
27429
 
_ACEOF
27430
 
rm -f conftest.$ac_objext
27431
 
if { (ac_try="$ac_compile"
27432
 
case "(($ac_try" in
27433
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27434
 
  *) ac_try_echo=$ac_try;;
27435
 
esac
27436
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27437
 
  (eval "$ac_compile") 2>conftest.er1
27438
 
  ac_status=$?
27439
 
  grep -v '^ *+' conftest.er1 >conftest.err
27440
 
  rm -f conftest.er1
27441
 
  cat conftest.err >&5
27442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443
 
  (exit $ac_status); } && {
27444
 
         test -z "$ac_c_werror_flag" ||
27445
 
         test ! -s conftest.err
27446
 
       } && test -s conftest.$ac_objext; then
27447
 
  ac_lo=0 ac_mid=0
27448
 
  while :; do
27449
 
    cat >conftest.$ac_ext <<_ACEOF
27450
 
/* confdefs.h.  */
27451
 
_ACEOF
27452
 
cat confdefs.h >>conftest.$ac_ext
27453
 
cat >>conftest.$ac_ext <<_ACEOF
27454
 
/* end confdefs.h.  */
27455
 
$ac_includes_default
27456
 
   typedef size_t ac__type_sizeof_;
27457
 
int
27458
 
main ()
27459
 
{
27460
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27461
 
test_array [0] = 0
27462
 
 
27463
 
  ;
27464
 
  return 0;
27465
 
}
27466
 
_ACEOF
27467
 
rm -f conftest.$ac_objext
27468
 
if { (ac_try="$ac_compile"
27469
 
case "(($ac_try" in
27470
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27471
 
  *) ac_try_echo=$ac_try;;
27472
 
esac
27473
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27474
 
  (eval "$ac_compile") 2>conftest.er1
27475
 
  ac_status=$?
27476
 
  grep -v '^ *+' conftest.er1 >conftest.err
27477
 
  rm -f conftest.er1
27478
 
  cat conftest.err >&5
27479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480
 
  (exit $ac_status); } && {
27481
 
         test -z "$ac_c_werror_flag" ||
27482
 
         test ! -s conftest.err
27483
 
       } && test -s conftest.$ac_objext; then
27484
 
  ac_hi=$ac_mid; break
27485
 
else
27486
 
  echo "$as_me: failed program was:" >&5
27487
 
sed 's/^/| /' conftest.$ac_ext >&5
27488
 
 
27489
 
        ac_lo=`expr $ac_mid + 1`
27490
 
                        if test $ac_lo -le $ac_mid; then
27491
 
                          ac_lo= ac_hi=
27492
 
                          break
27493
 
                        fi
27494
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27495
 
fi
27496
 
 
27497
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27498
 
  done
27499
 
else
27500
 
  echo "$as_me: failed program was:" >&5
27501
 
sed 's/^/| /' conftest.$ac_ext >&5
27502
 
 
27503
 
        cat >conftest.$ac_ext <<_ACEOF
27504
 
/* confdefs.h.  */
27505
 
_ACEOF
27506
 
cat confdefs.h >>conftest.$ac_ext
27507
 
cat >>conftest.$ac_ext <<_ACEOF
27508
 
/* end confdefs.h.  */
27509
 
$ac_includes_default
27510
 
   typedef size_t ac__type_sizeof_;
27511
 
int
27512
 
main ()
27513
 
{
27514
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27515
 
test_array [0] = 0
27516
 
 
27517
 
  ;
27518
 
  return 0;
27519
 
}
27520
 
_ACEOF
27521
 
rm -f conftest.$ac_objext
27522
 
if { (ac_try="$ac_compile"
27523
 
case "(($ac_try" in
27524
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27525
 
  *) ac_try_echo=$ac_try;;
27526
 
esac
27527
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27528
 
  (eval "$ac_compile") 2>conftest.er1
27529
 
  ac_status=$?
27530
 
  grep -v '^ *+' conftest.er1 >conftest.err
27531
 
  rm -f conftest.er1
27532
 
  cat conftest.err >&5
27533
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534
 
  (exit $ac_status); } && {
27535
 
         test -z "$ac_c_werror_flag" ||
27536
 
         test ! -s conftest.err
27537
 
       } && test -s conftest.$ac_objext; then
27538
 
  ac_hi=-1 ac_mid=-1
27539
 
  while :; do
27540
 
    cat >conftest.$ac_ext <<_ACEOF
27541
 
/* confdefs.h.  */
27542
 
_ACEOF
27543
 
cat confdefs.h >>conftest.$ac_ext
27544
 
cat >>conftest.$ac_ext <<_ACEOF
27545
 
/* end confdefs.h.  */
27546
 
$ac_includes_default
27547
 
   typedef size_t ac__type_sizeof_;
27548
 
int
27549
 
main ()
27550
 
{
27551
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27552
 
test_array [0] = 0
27553
 
 
27554
 
  ;
27555
 
  return 0;
27556
 
}
27557
 
_ACEOF
27558
 
rm -f conftest.$ac_objext
27559
 
if { (ac_try="$ac_compile"
27560
 
case "(($ac_try" in
27561
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27562
 
  *) ac_try_echo=$ac_try;;
27563
 
esac
27564
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27565
 
  (eval "$ac_compile") 2>conftest.er1
27566
 
  ac_status=$?
27567
 
  grep -v '^ *+' conftest.er1 >conftest.err
27568
 
  rm -f conftest.er1
27569
 
  cat conftest.err >&5
27570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571
 
  (exit $ac_status); } && {
27572
 
         test -z "$ac_c_werror_flag" ||
27573
 
         test ! -s conftest.err
27574
 
       } && test -s conftest.$ac_objext; then
27575
 
  ac_lo=$ac_mid; break
27576
 
else
27577
 
  echo "$as_me: failed program was:" >&5
27578
 
sed 's/^/| /' conftest.$ac_ext >&5
27579
 
 
27580
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27581
 
                        if test $ac_mid -le $ac_hi; then
27582
 
                          ac_lo= ac_hi=
27583
 
                          break
27584
 
                        fi
27585
 
                        ac_mid=`expr 2 '*' $ac_mid`
27586
 
fi
27587
 
 
27588
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27589
 
  done
27590
 
else
27591
 
  echo "$as_me: failed program was:" >&5
27592
 
sed 's/^/| /' conftest.$ac_ext >&5
27593
 
 
27594
 
        ac_lo= ac_hi=
27595
 
fi
27596
 
 
27597
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27598
 
fi
27599
 
 
27600
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27601
 
# Binary search between lo and hi bounds.
27602
 
while test "x$ac_lo" != "x$ac_hi"; do
27603
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27604
 
  cat >conftest.$ac_ext <<_ACEOF
27605
 
/* confdefs.h.  */
27606
 
_ACEOF
27607
 
cat confdefs.h >>conftest.$ac_ext
27608
 
cat >>conftest.$ac_ext <<_ACEOF
27609
 
/* end confdefs.h.  */
27610
 
$ac_includes_default
27611
 
   typedef size_t ac__type_sizeof_;
27612
 
int
27613
 
main ()
27614
 
{
27615
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27616
 
test_array [0] = 0
27617
 
 
27618
 
  ;
27619
 
  return 0;
27620
 
}
27621
 
_ACEOF
27622
 
rm -f conftest.$ac_objext
27623
 
if { (ac_try="$ac_compile"
27624
 
case "(($ac_try" in
27625
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27626
 
  *) ac_try_echo=$ac_try;;
27627
 
esac
27628
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27629
 
  (eval "$ac_compile") 2>conftest.er1
27630
 
  ac_status=$?
27631
 
  grep -v '^ *+' conftest.er1 >conftest.err
27632
 
  rm -f conftest.er1
27633
 
  cat conftest.err >&5
27634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635
 
  (exit $ac_status); } && {
27636
 
         test -z "$ac_c_werror_flag" ||
27637
 
         test ! -s conftest.err
27638
 
       } && test -s conftest.$ac_objext; then
27639
 
  ac_hi=$ac_mid
27640
 
else
27641
 
  echo "$as_me: failed program was:" >&5
27642
 
sed 's/^/| /' conftest.$ac_ext >&5
27643
 
 
27644
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
27645
 
fi
27646
 
 
27647
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27648
 
done
27649
 
case $ac_lo in
27650
 
?*) ac_cv_sizeof_size_t=$ac_lo;;
27651
 
'') if test "$ac_cv_type_size_t" = yes; then
27652
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27653
 
See \`config.log' for more details." >&5
27654
 
echo "$as_me: error: cannot compute sizeof (size_t)
27655
 
See \`config.log' for more details." >&2;}
27656
 
   { (exit 77); exit 77; }; }
27657
 
   else
27658
 
     ac_cv_sizeof_size_t=0
27659
 
   fi ;;
27660
 
esac
27661
 
else
27662
 
  cat >conftest.$ac_ext <<_ACEOF
27663
 
/* confdefs.h.  */
27664
 
_ACEOF
27665
 
cat confdefs.h >>conftest.$ac_ext
27666
 
cat >>conftest.$ac_ext <<_ACEOF
27667
 
/* end confdefs.h.  */
27668
 
$ac_includes_default
27669
 
   typedef size_t ac__type_sizeof_;
27670
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27671
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27672
 
#include <stdio.h>
27673
 
#include <stdlib.h>
27674
 
int
27675
 
main ()
27676
 
{
27677
 
 
27678
 
  FILE *f = fopen ("conftest.val", "w");
27679
 
  if (! f)
27680
 
    return 1;
27681
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27682
 
    {
27683
 
      long int i = longval ();
27684
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27685
 
        return 1;
27686
 
      fprintf (f, "%ld\n", i);
27687
 
    }
27688
 
  else
27689
 
    {
27690
 
      unsigned long int i = ulongval ();
27691
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27692
 
        return 1;
27693
 
      fprintf (f, "%lu\n", i);
27694
 
    }
27695
 
  return ferror (f) || fclose (f) != 0;
27696
 
 
27697
 
  ;
27698
 
  return 0;
27699
 
}
27700
 
_ACEOF
27701
 
rm -f conftest$ac_exeext
27702
 
if { (ac_try="$ac_link"
27703
 
case "(($ac_try" in
27704
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27705
 
  *) ac_try_echo=$ac_try;;
27706
 
esac
27707
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27708
 
  (eval "$ac_link") 2>&5
27709
 
  ac_status=$?
27710
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27712
 
  { (case "(($ac_try" in
27713
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27714
 
  *) ac_try_echo=$ac_try;;
27715
 
esac
27716
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27717
 
  (eval "$ac_try") 2>&5
27718
 
  ac_status=$?
27719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720
 
  (exit $ac_status); }; }; then
27721
 
  ac_cv_sizeof_size_t=`cat conftest.val`
27722
 
else
27723
 
  echo "$as_me: program exited with status $ac_status" >&5
27724
 
echo "$as_me: failed program was:" >&5
27725
 
sed 's/^/| /' conftest.$ac_ext >&5
27726
 
 
27727
 
( exit $ac_status )
27728
 
if test "$ac_cv_type_size_t" = yes; then
27729
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27730
 
See \`config.log' for more details." >&5
27731
 
echo "$as_me: error: cannot compute sizeof (size_t)
27732
 
See \`config.log' for more details." >&2;}
27733
 
   { (exit 77); exit 77; }; }
27734
 
   else
27735
 
     ac_cv_sizeof_size_t=0
27736
 
   fi
27737
 
fi
27738
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27739
 
fi
27740
 
rm -f conftest.val
27741
 
fi
27742
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
27743
 
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
27744
 
 
27745
 
 
27746
 
 
27747
 
cat >>confdefs.h <<_ACEOF
27748
 
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
27749
 
_ACEOF
27750
 
 
27751
 
 
27752
 
  { echo "$as_me:$LINENO: checking for unsigned long" >&5
27753
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
27754
 
if test "${ac_cv_type_unsigned_long+set}" = set; then
27755
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27756
 
else
27757
 
  cat >conftest.$ac_ext <<_ACEOF
27758
 
/* confdefs.h.  */
27759
 
_ACEOF
27760
 
cat confdefs.h >>conftest.$ac_ext
27761
 
cat >>conftest.$ac_ext <<_ACEOF
27762
 
/* end confdefs.h.  */
27763
 
$ac_includes_default
27764
 
typedef unsigned long ac__type_new_;
27765
 
int
27766
 
main ()
27767
 
{
27768
 
if ((ac__type_new_ *) 0)
27769
 
  return 0;
27770
 
if (sizeof (ac__type_new_))
27771
 
  return 0;
27772
 
  ;
27773
 
  return 0;
27774
 
}
27775
 
_ACEOF
27776
 
rm -f conftest.$ac_objext
27777
 
if { (ac_try="$ac_compile"
27778
 
case "(($ac_try" in
27779
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27780
 
  *) ac_try_echo=$ac_try;;
27781
 
esac
27782
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27783
 
  (eval "$ac_compile") 2>conftest.er1
27784
 
  ac_status=$?
27785
 
  grep -v '^ *+' conftest.er1 >conftest.err
27786
 
  rm -f conftest.er1
27787
 
  cat conftest.err >&5
27788
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789
 
  (exit $ac_status); } && {
27790
 
         test -z "$ac_c_werror_flag" ||
27791
 
         test ! -s conftest.err
27792
 
       } && test -s conftest.$ac_objext; then
27793
 
  ac_cv_type_unsigned_long=yes
27794
 
else
27795
 
  echo "$as_me: failed program was:" >&5
27796
 
sed 's/^/| /' conftest.$ac_ext >&5
27797
 
 
27798
 
        ac_cv_type_unsigned_long=no
27799
 
fi
27800
 
 
27801
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27802
 
fi
27803
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
27804
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
27805
 
 
27806
 
# The cast to long int works around a bug in the HP C Compiler
27807
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27808
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27809
 
# This bug is HP SR number 8606223364.
27810
 
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
27811
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
27812
 
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
27813
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27814
 
else
27815
 
  if test "$cross_compiling" = yes; then
27816
 
  # Depending upon the size, compute the lo and hi bounds.
27817
 
cat >conftest.$ac_ext <<_ACEOF
27818
 
/* confdefs.h.  */
27819
 
_ACEOF
27820
 
cat confdefs.h >>conftest.$ac_ext
27821
 
cat >>conftest.$ac_ext <<_ACEOF
27822
 
/* end confdefs.h.  */
27823
 
$ac_includes_default
27824
 
   typedef unsigned long ac__type_sizeof_;
27825
 
int
27826
 
main ()
27827
 
{
27828
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27829
 
test_array [0] = 0
27830
 
 
27831
 
  ;
27832
 
  return 0;
27833
 
}
27834
 
_ACEOF
27835
 
rm -f conftest.$ac_objext
27836
 
if { (ac_try="$ac_compile"
27837
 
case "(($ac_try" in
27838
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27839
 
  *) ac_try_echo=$ac_try;;
27840
 
esac
27841
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27842
 
  (eval "$ac_compile") 2>conftest.er1
27843
 
  ac_status=$?
27844
 
  grep -v '^ *+' conftest.er1 >conftest.err
27845
 
  rm -f conftest.er1
27846
 
  cat conftest.err >&5
27847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848
 
  (exit $ac_status); } && {
27849
 
         test -z "$ac_c_werror_flag" ||
27850
 
         test ! -s conftest.err
27851
 
       } && test -s conftest.$ac_objext; then
27852
 
  ac_lo=0 ac_mid=0
27853
 
  while :; do
27854
 
    cat >conftest.$ac_ext <<_ACEOF
27855
 
/* confdefs.h.  */
27856
 
_ACEOF
27857
 
cat confdefs.h >>conftest.$ac_ext
27858
 
cat >>conftest.$ac_ext <<_ACEOF
27859
 
/* end confdefs.h.  */
27860
 
$ac_includes_default
27861
 
   typedef unsigned long ac__type_sizeof_;
27862
 
int
27863
 
main ()
27864
 
{
27865
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27866
 
test_array [0] = 0
27867
 
 
27868
 
  ;
27869
 
  return 0;
27870
 
}
27871
 
_ACEOF
27872
 
rm -f conftest.$ac_objext
27873
 
if { (ac_try="$ac_compile"
27874
 
case "(($ac_try" in
27875
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27876
 
  *) ac_try_echo=$ac_try;;
27877
 
esac
27878
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27879
 
  (eval "$ac_compile") 2>conftest.er1
27880
 
  ac_status=$?
27881
 
  grep -v '^ *+' conftest.er1 >conftest.err
27882
 
  rm -f conftest.er1
27883
 
  cat conftest.err >&5
27884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885
 
  (exit $ac_status); } && {
27886
 
         test -z "$ac_c_werror_flag" ||
27887
 
         test ! -s conftest.err
27888
 
       } && test -s conftest.$ac_objext; then
27889
 
  ac_hi=$ac_mid; break
27890
 
else
27891
 
  echo "$as_me: failed program was:" >&5
27892
 
sed 's/^/| /' conftest.$ac_ext >&5
27893
 
 
27894
 
        ac_lo=`expr $ac_mid + 1`
27895
 
                        if test $ac_lo -le $ac_mid; then
27896
 
                          ac_lo= ac_hi=
27897
 
                          break
27898
 
                        fi
27899
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27900
 
fi
27901
 
 
27902
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27903
 
  done
27904
 
else
27905
 
  echo "$as_me: failed program was:" >&5
27906
 
sed 's/^/| /' conftest.$ac_ext >&5
27907
 
 
27908
 
        cat >conftest.$ac_ext <<_ACEOF
27909
 
/* confdefs.h.  */
27910
 
_ACEOF
27911
 
cat confdefs.h >>conftest.$ac_ext
27912
 
cat >>conftest.$ac_ext <<_ACEOF
27913
 
/* end confdefs.h.  */
27914
 
$ac_includes_default
27915
 
   typedef unsigned long ac__type_sizeof_;
27916
 
int
27917
 
main ()
27918
 
{
27919
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27920
 
test_array [0] = 0
27921
 
 
27922
 
  ;
27923
 
  return 0;
27924
 
}
27925
 
_ACEOF
27926
 
rm -f conftest.$ac_objext
27927
 
if { (ac_try="$ac_compile"
27928
 
case "(($ac_try" in
27929
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27930
 
  *) ac_try_echo=$ac_try;;
27931
 
esac
27932
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27933
 
  (eval "$ac_compile") 2>conftest.er1
27934
 
  ac_status=$?
27935
 
  grep -v '^ *+' conftest.er1 >conftest.err
27936
 
  rm -f conftest.er1
27937
 
  cat conftest.err >&5
27938
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939
 
  (exit $ac_status); } && {
27940
 
         test -z "$ac_c_werror_flag" ||
27941
 
         test ! -s conftest.err
27942
 
       } && test -s conftest.$ac_objext; then
27943
 
  ac_hi=-1 ac_mid=-1
27944
 
  while :; do
27945
 
    cat >conftest.$ac_ext <<_ACEOF
27946
 
/* confdefs.h.  */
27947
 
_ACEOF
27948
 
cat confdefs.h >>conftest.$ac_ext
27949
 
cat >>conftest.$ac_ext <<_ACEOF
27950
 
/* end confdefs.h.  */
27951
 
$ac_includes_default
27952
 
   typedef unsigned long ac__type_sizeof_;
27953
 
int
27954
 
main ()
27955
 
{
27956
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27957
 
test_array [0] = 0
27958
 
 
27959
 
  ;
27960
 
  return 0;
27961
 
}
27962
 
_ACEOF
27963
 
rm -f conftest.$ac_objext
27964
 
if { (ac_try="$ac_compile"
27965
 
case "(($ac_try" in
27966
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27967
 
  *) ac_try_echo=$ac_try;;
27968
 
esac
27969
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27970
 
  (eval "$ac_compile") 2>conftest.er1
27971
 
  ac_status=$?
27972
 
  grep -v '^ *+' conftest.er1 >conftest.err
27973
 
  rm -f conftest.er1
27974
 
  cat conftest.err >&5
27975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976
 
  (exit $ac_status); } && {
27977
 
         test -z "$ac_c_werror_flag" ||
27978
 
         test ! -s conftest.err
27979
 
       } && test -s conftest.$ac_objext; then
27980
 
  ac_lo=$ac_mid; break
27981
 
else
27982
 
  echo "$as_me: failed program was:" >&5
27983
 
sed 's/^/| /' conftest.$ac_ext >&5
27984
 
 
27985
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27986
 
                        if test $ac_mid -le $ac_hi; then
27987
 
                          ac_lo= ac_hi=
27988
 
                          break
27989
 
                        fi
27990
 
                        ac_mid=`expr 2 '*' $ac_mid`
27991
 
fi
27992
 
 
27993
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27994
 
  done
27995
 
else
27996
 
  echo "$as_me: failed program was:" >&5
27997
 
sed 's/^/| /' conftest.$ac_ext >&5
27998
 
 
27999
 
        ac_lo= ac_hi=
28000
 
fi
28001
 
 
28002
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28003
 
fi
28004
 
 
28005
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28006
 
# Binary search between lo and hi bounds.
28007
 
while test "x$ac_lo" != "x$ac_hi"; do
28008
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28009
 
  cat >conftest.$ac_ext <<_ACEOF
28010
 
/* confdefs.h.  */
28011
 
_ACEOF
28012
 
cat confdefs.h >>conftest.$ac_ext
28013
 
cat >>conftest.$ac_ext <<_ACEOF
28014
 
/* end confdefs.h.  */
28015
 
$ac_includes_default
28016
 
   typedef unsigned long ac__type_sizeof_;
28017
 
int
28018
 
main ()
28019
 
{
28020
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28021
 
test_array [0] = 0
28022
 
 
28023
 
  ;
28024
 
  return 0;
28025
 
}
28026
 
_ACEOF
28027
 
rm -f conftest.$ac_objext
28028
 
if { (ac_try="$ac_compile"
28029
 
case "(($ac_try" in
28030
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28031
 
  *) ac_try_echo=$ac_try;;
28032
 
esac
28033
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28034
 
  (eval "$ac_compile") 2>conftest.er1
28035
 
  ac_status=$?
28036
 
  grep -v '^ *+' conftest.er1 >conftest.err
28037
 
  rm -f conftest.er1
28038
 
  cat conftest.err >&5
28039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040
 
  (exit $ac_status); } && {
28041
 
         test -z "$ac_c_werror_flag" ||
28042
 
         test ! -s conftest.err
28043
 
       } && test -s conftest.$ac_objext; then
28044
 
  ac_hi=$ac_mid
28045
 
else
28046
 
  echo "$as_me: failed program was:" >&5
28047
 
sed 's/^/| /' conftest.$ac_ext >&5
28048
 
 
28049
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
28050
 
fi
28051
 
 
28052
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28053
 
done
28054
 
case $ac_lo in
28055
 
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
28056
 
'') if test "$ac_cv_type_unsigned_long" = yes; then
28057
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28058
 
See \`config.log' for more details." >&5
28059
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
28060
 
See \`config.log' for more details." >&2;}
28061
 
   { (exit 77); exit 77; }; }
28062
 
   else
28063
 
     ac_cv_sizeof_unsigned_long=0
28064
 
   fi ;;
28065
 
esac
28066
 
else
28067
 
  cat >conftest.$ac_ext <<_ACEOF
28068
 
/* confdefs.h.  */
28069
 
_ACEOF
28070
 
cat confdefs.h >>conftest.$ac_ext
28071
 
cat >>conftest.$ac_ext <<_ACEOF
28072
 
/* end confdefs.h.  */
28073
 
$ac_includes_default
28074
 
   typedef unsigned long ac__type_sizeof_;
28075
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28076
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28077
 
#include <stdio.h>
28078
 
#include <stdlib.h>
28079
 
int
28080
 
main ()
28081
 
{
28082
 
 
28083
 
  FILE *f = fopen ("conftest.val", "w");
28084
 
  if (! f)
28085
 
    return 1;
28086
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28087
 
    {
28088
 
      long int i = longval ();
28089
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
28090
 
        return 1;
28091
 
      fprintf (f, "%ld\n", i);
28092
 
    }
28093
 
  else
28094
 
    {
28095
 
      unsigned long int i = ulongval ();
28096
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
28097
 
        return 1;
28098
 
      fprintf (f, "%lu\n", i);
28099
 
    }
28100
 
  return ferror (f) || fclose (f) != 0;
28101
 
 
28102
 
  ;
28103
 
  return 0;
28104
 
}
28105
 
_ACEOF
28106
 
rm -f conftest$ac_exeext
28107
 
if { (ac_try="$ac_link"
28108
 
case "(($ac_try" in
28109
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28110
 
  *) ac_try_echo=$ac_try;;
28111
 
esac
28112
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28113
 
  (eval "$ac_link") 2>&5
28114
 
  ac_status=$?
28115
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28117
 
  { (case "(($ac_try" in
28118
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28119
 
  *) ac_try_echo=$ac_try;;
28120
 
esac
28121
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28122
 
  (eval "$ac_try") 2>&5
28123
 
  ac_status=$?
28124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125
 
  (exit $ac_status); }; }; then
28126
 
  ac_cv_sizeof_unsigned_long=`cat conftest.val`
28127
 
else
28128
 
  echo "$as_me: program exited with status $ac_status" >&5
28129
 
echo "$as_me: failed program was:" >&5
28130
 
sed 's/^/| /' conftest.$ac_ext >&5
28131
 
 
28132
 
( exit $ac_status )
28133
 
if test "$ac_cv_type_unsigned_long" = yes; then
28134
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28135
 
See \`config.log' for more details." >&5
28136
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
28137
 
See \`config.log' for more details." >&2;}
28138
 
   { (exit 77); exit 77; }; }
28139
 
   else
28140
 
     ac_cv_sizeof_unsigned_long=0
28141
 
   fi
28142
 
fi
28143
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28144
 
fi
28145
 
rm -f conftest.val
28146
 
fi
28147
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
28148
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
28149
 
 
28150
 
 
28151
 
 
28152
 
cat >>confdefs.h <<_ACEOF
28153
 
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
28154
 
_ACEOF
28155
 
 
28156
 
 
28157
 
 
28158
 
  { echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
28159
 
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6; }
28160
 
  cat >conftest.$ac_ext <<_ACEOF
28161
 
/* confdefs.h.  */
28162
 
_ACEOF
28163
 
cat confdefs.h >>conftest.$ac_ext
28164
 
cat >>conftest.$ac_ext <<_ACEOF
28165
 
/* end confdefs.h.  */
28166
 
 
28167
 
int
28168
 
main ()
28169
 
{
28170
 
 
28171
 
    #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
28172
 
       choke me
28173
 
    #endif
28174
 
 
28175
 
  ;
28176
 
  return 0;
28177
 
}
28178
 
_ACEOF
28179
 
rm -f conftest.$ac_objext
28180
 
if { (ac_try="$ac_compile"
28181
 
case "(($ac_try" in
28182
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28183
 
  *) ac_try_echo=$ac_try;;
28184
 
esac
28185
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28186
 
  (eval "$ac_compile") 2>conftest.er1
28187
 
  ac_status=$?
28188
 
  grep -v '^ *+' conftest.er1 >conftest.err
28189
 
  rm -f conftest.er1
28190
 
  cat conftest.err >&5
28191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192
 
  (exit $ac_status); } && {
28193
 
         test -z "$ac_c_werror_flag" ||
28194
 
         test ! -s conftest.err
28195
 
       } && test -s conftest.$ac_objext; then
28196
 
  { echo "$as_me:$LINENO: result: yes" >&5
28197
 
echo "${ECHO_T}yes" >&6; }
28198
 
else
28199
 
  echo "$as_me: failed program was:" >&5
28200
 
sed 's/^/| /' conftest.$ac_ext >&5
28201
 
 
28202
 
 
28203
 
      { echo "$as_me:$LINENO: result: no" >&5
28204
 
echo "${ECHO_T}no" >&6; }
28205
 
      { { echo "$as_me:$LINENO: error:
28206
 
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28207
 
       does not apply. Please mail kde-devel@kde.org with a description of your system!
28208
 
      " >&5
28209
 
echo "$as_me: error:
28210
 
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28211
 
       does not apply. Please mail kde-devel@kde.org with a description of your system!
28212
 
      " >&2;}
28213
 
   { (exit 1); exit 1; }; }
28214
 
 
28215
 
fi
28216
 
 
28217
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28218
 
 
28219
 
 
28220
 
  { echo "$as_me:$LINENO: checking for PIE support" >&5
28221
 
echo $ECHO_N "checking for PIE support... $ECHO_C" >&6; }
28222
 
if test "${kde_cv_val_pie_support+set}" = set; then
28223
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28224
 
else
28225
 
 
28226
 
 
28227
 
     ac_ext=cpp
28228
 
ac_cpp='$CXXCPP $CPPFLAGS'
28229
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28230
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28231
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28232
 
 
28233
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28234
 
 
28235
 
 
28236
 
    safe_CXXFLAGS=$CXXFLAGS
28237
 
    safe_LDFLAGS=$LDFLAGS
28238
 
    CXXFLAGS="$CXXFLAGS -fPIE"
28239
 
    LDFLAGS="$LDFLAGS -pie"
28240
 
 
28241
 
    cat >conftest.$ac_ext <<_ACEOF
28242
 
/* confdefs.h.  */
28243
 
_ACEOF
28244
 
cat confdefs.h >>conftest.$ac_ext
28245
 
cat >>conftest.$ac_ext <<_ACEOF
28246
 
/* end confdefs.h.  */
28247
 
int foo;
28248
 
int
28249
 
main ()
28250
 
{
28251
 
 
28252
 
  ;
28253
 
  return 0;
28254
 
}
28255
 
_ACEOF
28256
 
rm -f conftest.$ac_objext conftest$ac_exeext
28257
 
if { (ac_try="$ac_link"
28258
 
case "(($ac_try" in
28259
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28260
 
  *) ac_try_echo=$ac_try;;
28261
 
esac
28262
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28263
 
  (eval "$ac_link") 2>conftest.er1
28264
 
  ac_status=$?
28265
 
  grep -v '^ *+' conftest.er1 >conftest.err
28266
 
  rm -f conftest.er1
28267
 
  cat conftest.err >&5
28268
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28269
 
  (exit $ac_status); } && {
28270
 
         test -z "$ac_cxx_werror_flag" ||
28271
 
         test ! -s conftest.err
28272
 
       } && test -s conftest$ac_exeext &&
28273
 
       $as_test_x conftest$ac_exeext; then
28274
 
  kde_cv_val_pie_support=yes
28275
 
else
28276
 
  echo "$as_me: failed program was:" >&5
28277
 
sed 's/^/| /' conftest.$ac_ext >&5
28278
 
 
28279
 
        kde_cv_val_pie_support=no
28280
 
fi
28281
 
 
28282
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28283
 
      conftest$ac_exeext conftest.$ac_ext
28284
 
 
28285
 
    CXXFLAGS=$safe_CXXFLAGS
28286
 
    LDFLAGS=$safe_LDFLAGS
28287
 
    ac_ext=c
28288
 
ac_cpp='$CPP $CPPFLAGS'
28289
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28290
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28291
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28292
 
 
28293
 
 
28294
 
fi
28295
 
{ echo "$as_me:$LINENO: result: $kde_cv_val_pie_support" >&5
28296
 
echo "${ECHO_T}$kde_cv_val_pie_support" >&6; }
28297
 
 
28298
 
  { echo "$as_me:$LINENO: checking if enabling -pie/fPIE support" >&5
28299
 
echo $ECHO_N "checking if enabling -pie/fPIE support... $ECHO_C" >&6; }
28300
 
 
28301
 
  # Check whether --enable-pie was given.
28302
 
if test "${enable_pie+set}" = set; then
28303
 
  enableval=$enable_pie; kde_has_pie_support=$enableval
28304
 
else
28305
 
  kde_has_pie_support=detect
28306
 
fi
28307
 
 
28308
 
 
28309
 
  if test "$kde_has_pie_support" = "detect"; then
28310
 
    kde_has_pie_support=$kde_cv_val_pie_support
28311
 
  fi
28312
 
 
28313
 
  { echo "$as_me:$LINENO: result: $kde_has_pie_support" >&5
28314
 
echo "${ECHO_T}$kde_has_pie_support" >&6; }
28315
 
 
28316
 
  KDE_USE_FPIE=""
28317
 
  KDE_USE_PIE=""
28318
 
 
28319
 
 
28320
 
 
28321
 
 
28322
 
  if test "$kde_has_pie_support" = "yes"; then
28323
 
    KDE_USE_FPIE="-fPIE"
28324
 
    KDE_USE_PIE="-pie"
28325
 
  fi
28326
 
 
28327
 
 
28328
 
# darwin needs this to initialize the environment
28329
 
 
28330
 
for ac_header in crt_externs.h
28331
 
do
28332
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28333
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28334
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
28335
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28336
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28338
 
fi
28339
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28340
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28341
 
echo "${ECHO_T}$ac_res" >&6; }
28342
 
else
28343
 
  # Is the header compilable?
28344
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28345
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28346
 
cat >conftest.$ac_ext <<_ACEOF
28347
 
/* confdefs.h.  */
28348
 
_ACEOF
28349
 
cat confdefs.h >>conftest.$ac_ext
28350
 
cat >>conftest.$ac_ext <<_ACEOF
28351
 
/* end confdefs.h.  */
28352
 
$ac_includes_default
28353
 
#include <$ac_header>
28354
 
_ACEOF
28355
 
rm -f conftest.$ac_objext
28356
 
if { (ac_try="$ac_compile"
28357
 
case "(($ac_try" in
28358
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28359
 
  *) ac_try_echo=$ac_try;;
28360
 
esac
28361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362
 
  (eval "$ac_compile") 2>conftest.er1
28363
 
  ac_status=$?
28364
 
  grep -v '^ *+' conftest.er1 >conftest.err
28365
 
  rm -f conftest.er1
28366
 
  cat conftest.err >&5
28367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368
 
  (exit $ac_status); } && {
28369
 
         test -z "$ac_c_werror_flag" ||
28370
 
         test ! -s conftest.err
28371
 
       } && test -s conftest.$ac_objext; then
28372
 
  ac_header_compiler=yes
28373
 
else
28374
 
  echo "$as_me: failed program was:" >&5
28375
 
sed 's/^/| /' conftest.$ac_ext >&5
28376
 
 
28377
 
        ac_header_compiler=no
28378
 
fi
28379
 
 
28380
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28381
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28382
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
28383
 
 
28384
 
# Is the header present?
28385
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28386
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28387
 
cat >conftest.$ac_ext <<_ACEOF
28388
 
/* confdefs.h.  */
28389
 
_ACEOF
28390
 
cat confdefs.h >>conftest.$ac_ext
28391
 
cat >>conftest.$ac_ext <<_ACEOF
28392
 
/* end confdefs.h.  */
28393
 
#include <$ac_header>
28394
 
_ACEOF
28395
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28396
 
case "(($ac_try" in
28397
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28398
 
  *) ac_try_echo=$ac_try;;
28399
 
esac
28400
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28401
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28402
 
  ac_status=$?
28403
 
  grep -v '^ *+' conftest.er1 >conftest.err
28404
 
  rm -f conftest.er1
28405
 
  cat conftest.err >&5
28406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407
 
  (exit $ac_status); } >/dev/null && {
28408
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28409
 
         test ! -s conftest.err
28410
 
       }; then
28411
 
  ac_header_preproc=yes
28412
 
else
28413
 
  echo "$as_me: failed program was:" >&5
28414
 
sed 's/^/| /' conftest.$ac_ext >&5
28415
 
 
28416
 
  ac_header_preproc=no
28417
 
fi
28418
 
 
28419
 
rm -f conftest.err conftest.$ac_ext
28420
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28421
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
28422
 
 
28423
 
# So?  What about this header?
28424
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28425
 
  yes:no: )
28426
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28427
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28428
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28429
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28430
 
    ac_header_preproc=yes
28431
 
    ;;
28432
 
  no:yes:* )
28433
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28434
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28435
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28436
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28437
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28438
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28439
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28440
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28441
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28442
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28443
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28444
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28445
 
 
28446
 
    ;;
28447
 
esac
28448
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28449
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28450
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28451
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28452
 
else
28453
 
  eval "$as_ac_Header=\$ac_header_preproc"
28454
 
fi
28455
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28456
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28457
 
echo "${ECHO_T}$ac_res" >&6; }
28458
 
 
28459
 
fi
28460
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
28461
 
  cat >>confdefs.h <<_ACEOF
28462
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28463
 
_ACEOF
28464
 
 
28465
 
fi
28466
 
 
28467
 
done
28468
 
 
28469
 
{ echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
28470
 
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6; }
28471
 
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
28472
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28473
 
else
28474
 
  cat >conftest.$ac_ext <<_ACEOF
28475
 
/* confdefs.h.  */
28476
 
_ACEOF
28477
 
cat confdefs.h >>conftest.$ac_ext
28478
 
cat >>conftest.$ac_ext <<_ACEOF
28479
 
/* end confdefs.h.  */
28480
 
/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
28481
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28482
 
#define _NSGetEnviron innocuous__NSGetEnviron
28483
 
 
28484
 
/* System header to define __stub macros and hopefully few prototypes,
28485
 
    which can conflict with char _NSGetEnviron (); below.
28486
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28487
 
    <limits.h> exists even on freestanding compilers.  */
28488
 
 
28489
 
#ifdef __STDC__
28490
 
# include <limits.h>
28491
 
#else
28492
 
# include <assert.h>
28493
 
#endif
28494
 
 
28495
 
#undef _NSGetEnviron
28496
 
 
28497
 
/* Override any GCC internal prototype to avoid an error.
28498
 
   Use char because int might match the return type of a GCC
28499
 
   builtin and then its argument prototype would still apply.  */
28500
 
#ifdef __cplusplus
28501
 
extern "C"
28502
 
#endif
28503
 
char _NSGetEnviron ();
28504
 
/* The GNU C library defines this for functions which it implements
28505
 
    to always fail with ENOSYS.  Some functions are actually named
28506
 
    something starting with __ and the normal name is an alias.  */
28507
 
#if defined __stub__NSGetEnviron || defined __stub____NSGetEnviron
28508
 
choke me
28509
 
#endif
28510
 
 
28511
 
int
28512
 
main ()
28513
 
{
28514
 
return _NSGetEnviron ();
28515
 
  ;
28516
 
  return 0;
28517
 
}
28518
 
_ACEOF
28519
 
rm -f conftest.$ac_objext conftest$ac_exeext
28520
 
if { (ac_try="$ac_link"
28521
 
case "(($ac_try" in
28522
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28523
 
  *) ac_try_echo=$ac_try;;
28524
 
esac
28525
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28526
 
  (eval "$ac_link") 2>conftest.er1
28527
 
  ac_status=$?
28528
 
  grep -v '^ *+' conftest.er1 >conftest.err
28529
 
  rm -f conftest.er1
28530
 
  cat conftest.err >&5
28531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532
 
  (exit $ac_status); } && {
28533
 
         test -z "$ac_c_werror_flag" ||
28534
 
         test ! -s conftest.err
28535
 
       } && test -s conftest$ac_exeext &&
28536
 
       $as_test_x conftest$ac_exeext; then
28537
 
  ac_cv_func__NSGetEnviron=yes
28538
 
else
28539
 
  echo "$as_me: failed program was:" >&5
28540
 
sed 's/^/| /' conftest.$ac_ext >&5
28541
 
 
28542
 
        ac_cv_func__NSGetEnviron=no
28543
 
fi
28544
 
 
28545
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28546
 
      conftest$ac_exeext conftest.$ac_ext
28547
 
fi
28548
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
28549
 
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6; }
28550
 
if test $ac_cv_func__NSGetEnviron = yes; then
28551
 
 
28552
 
cat >>confdefs.h <<\_ACEOF
28553
 
#define HAVE_NSGETENVIRON 1
28554
 
_ACEOF
28555
 
 
28556
 
fi
28557
 
 
28558
 
 
28559
 
 
28560
 
 
28561
 
 
28562
 
 
28563
 
 
28564
 
 
28565
 
 
28566
 
 
28567
 
for ac_func in vsnprintf snprintf
28568
 
do
28569
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28570
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28571
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28572
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28573
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28574
 
else
28575
 
  cat >conftest.$ac_ext <<_ACEOF
28576
 
/* confdefs.h.  */
28577
 
_ACEOF
28578
 
cat confdefs.h >>conftest.$ac_ext
28579
 
cat >>conftest.$ac_ext <<_ACEOF
28580
 
/* end confdefs.h.  */
28581
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28582
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28583
 
#define $ac_func innocuous_$ac_func
28584
 
 
28585
 
/* System header to define __stub macros and hopefully few prototypes,
28586
 
    which can conflict with char $ac_func (); below.
28587
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28588
 
    <limits.h> exists even on freestanding compilers.  */
28589
 
 
28590
 
#ifdef __STDC__
28591
 
# include <limits.h>
28592
 
#else
28593
 
# include <assert.h>
28594
 
#endif
28595
 
 
28596
 
#undef $ac_func
28597
 
 
28598
 
/* Override any GCC internal prototype to avoid an error.
28599
 
   Use char because int might match the return type of a GCC
28600
 
   builtin and then its argument prototype would still apply.  */
28601
 
#ifdef __cplusplus
28602
 
extern "C"
28603
 
#endif
28604
 
char $ac_func ();
28605
 
/* The GNU C library defines this for functions which it implements
28606
 
    to always fail with ENOSYS.  Some functions are actually named
28607
 
    something starting with __ and the normal name is an alias.  */
28608
 
#if defined __stub_$ac_func || defined __stub___$ac_func
28609
 
choke me
28610
 
#endif
28611
 
 
28612
 
int
28613
 
main ()
28614
 
{
28615
 
return $ac_func ();
28616
 
  ;
28617
 
  return 0;
28618
 
}
28619
 
_ACEOF
28620
 
rm -f conftest.$ac_objext conftest$ac_exeext
28621
 
if { (ac_try="$ac_link"
28622
 
case "(($ac_try" in
28623
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28624
 
  *) ac_try_echo=$ac_try;;
28625
 
esac
28626
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28627
 
  (eval "$ac_link") 2>conftest.er1
28628
 
  ac_status=$?
28629
 
  grep -v '^ *+' conftest.er1 >conftest.err
28630
 
  rm -f conftest.er1
28631
 
  cat conftest.err >&5
28632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633
 
  (exit $ac_status); } && {
28634
 
         test -z "$ac_c_werror_flag" ||
28635
 
         test ! -s conftest.err
28636
 
       } && test -s conftest$ac_exeext &&
28637
 
       $as_test_x conftest$ac_exeext; then
28638
 
  eval "$as_ac_var=yes"
28639
 
else
28640
 
  echo "$as_me: failed program was:" >&5
28641
 
sed 's/^/| /' conftest.$ac_ext >&5
28642
 
 
28643
 
        eval "$as_ac_var=no"
28644
 
fi
28645
 
 
28646
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28647
 
      conftest$ac_exeext conftest.$ac_ext
28648
 
fi
28649
 
ac_res=`eval echo '${'$as_ac_var'}'`
28650
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28651
 
echo "${ECHO_T}$ac_res" >&6; }
28652
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
28653
 
  cat >>confdefs.h <<_ACEOF
28654
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28655
 
_ACEOF
28656
 
 
28657
 
fi
28658
 
done
28659
 
 
28660
 
 
28661
 
 
28662
 
 
28663
 
 
28664
 
 
28665
 
 
28666
 
 
28667
 
 
28668
 
# Check whether --enable-embedded was given.
28669
 
if test "${enable_embedded+set}" = set; then
28670
 
  enableval=$enable_embedded; kde_use_qt_emb=$enableval
28671
 
else
28672
 
  kde_use_qt_emb=no
28673
 
 
28674
 
fi
28675
 
 
28676
 
 
28677
 
# Check whether --enable-qtopia was given.
28678
 
if test "${enable_qtopia+set}" = set; then
28679
 
  enableval=$enable_qtopia; kde_use_qt_emb_palm=$enableval
28680
 
else
28681
 
  kde_use_qt_emb_palm=no
28682
 
 
28683
 
fi
28684
 
 
28685
 
 
28686
 
# Check whether --enable-mac was given.
28687
 
if test "${enable_mac+set}" = set; then
28688
 
  enableval=$enable_mac; kde_use_qt_mac=$enableval
28689
 
else
28690
 
  kde_use_qt_mac=no
28691
 
 
28692
 
fi
28693
 
 
28694
 
 
28695
 
# used to disable x11-specific stuff on special platforms
28696
 
 if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28697
 
  include_x11_TRUE=
28698
 
  include_x11_FALSE='#'
28699
 
else
28700
 
  include_x11_TRUE='#'
28701
 
  include_x11_FALSE=
28702
 
fi
28703
 
 
28704
 
 
28705
 
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28706
 
 
28707
 
{ echo "$as_me:$LINENO: checking for X" >&5
28708
 
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28709
 
 
28710
 
if test "${kde_cv_have_x+set}" = set; then
28711
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28712
 
else
28713
 
  # One or both of the vars are not set, and there is no cached value.
28714
 
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
28715
 
   kde_x_includes=NO
28716
 
else
28717
 
   kde_x_includes=$x_includes
28718
 
fi
28719
 
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
28720
 
   kde_x_libraries=NO
28721
 
else
28722
 
   kde_x_libraries=$x_libraries
28723
 
fi
28724
 
 
28725
 
# below we use the standard autoconf calls
28726
 
ac_x_libraries=$kde_x_libraries
28727
 
ac_x_includes=$kde_x_includes
28728
 
 
28729
 
 
28730
 
 
28731
 
 
28732
 
if test "$ac_x_includes" = NO; then
28733
 
  # Guess where to find include files, by looking for this one X11 .h file.
28734
 
  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
28735
 
 
28736
 
  # First, try using that file with no special directory specified.
28737
 
cat >conftest.$ac_ext <<_ACEOF
28738
 
/* confdefs.h.  */
28739
 
_ACEOF
28740
 
cat confdefs.h >>conftest.$ac_ext
28741
 
cat >>conftest.$ac_ext <<_ACEOF
28742
 
/* end confdefs.h.  */
28743
 
#include <$x_direct_test_include>
28744
 
_ACEOF
28745
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28746
 
case "(($ac_try" in
28747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28748
 
  *) ac_try_echo=$ac_try;;
28749
 
esac
28750
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28751
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28752
 
  ac_status=$?
28753
 
  grep -v '^ *+' conftest.er1 >conftest.err
28754
 
  rm -f conftest.er1
28755
 
  cat conftest.err >&5
28756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757
 
  (exit $ac_status); } >/dev/null && {
28758
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28759
 
         test ! -s conftest.err
28760
 
       }; then
28761
 
  # We can compile using X headers with no special include directory.
28762
 
ac_x_includes=
28763
 
else
28764
 
  echo "$as_me: failed program was:" >&5
28765
 
sed 's/^/| /' conftest.$ac_ext >&5
28766
 
 
28767
 
  # Look for the header file in a standard set of common directories.
28768
 
# Check X11 before X11Rn because it is often a symlink to the current release.
28769
 
  for ac_dir in               \
28770
 
    /usr/X11/include          \
28771
 
    /usr/X11R6/include        \
28772
 
    /usr/X11R5/include        \
28773
 
    /usr/X11R4/include        \
28774
 
                              \
28775
 
    /usr/include/X11          \
28776
 
    /usr/include/X11R6        \
28777
 
    /usr/include/X11R5        \
28778
 
    /usr/include/X11R4        \
28779
 
                              \
28780
 
    /usr/local/X11/include    \
28781
 
    /usr/local/X11R6/include  \
28782
 
    /usr/local/X11R5/include  \
28783
 
    /usr/local/X11R4/include  \
28784
 
                              \
28785
 
    /usr/local/include/X11    \
28786
 
    /usr/local/include/X11R6  \
28787
 
    /usr/local/include/X11R5  \
28788
 
    /usr/local/include/X11R4  \
28789
 
                              \
28790
 
    /usr/X386/include         \
28791
 
    /usr/x386/include         \
28792
 
    /usr/XFree86/include/X11  \
28793
 
                              \
28794
 
    /usr/include              \
28795
 
    /usr/local/include        \
28796
 
    /usr/unsupported/include  \
28797
 
    /usr/athena/include       \
28798
 
    /usr/local/x11r5/include  \
28799
 
    /usr/lpp/Xamples/include  \
28800
 
                              \
28801
 
    /usr/openwin/include      \
28802
 
    /usr/openwin/share/include \
28803
 
    ; \
28804
 
  do
28805
 
    if test -r "$ac_dir/$x_direct_test_include"; then
28806
 
      ac_x_includes=$ac_dir
28807
 
      break
28808
 
    fi
28809
 
  done
28810
 
fi
28811
 
 
28812
 
rm -f conftest.err conftest.$ac_ext
28813
 
fi # $ac_x_includes = NO
28814
 
 
28815
 
if test "$ac_x_libraries" = NO; then
28816
 
  # Check for the libraries.
28817
 
 
28818
 
  test -z "$x_direct_test_library" && x_direct_test_library=Xt
28819
 
  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
28820
 
 
28821
 
  # See if we find them without any special options.
28822
 
  # Don't add to $LIBS permanently.
28823
 
  ac_save_LIBS="$LIBS"
28824
 
  LIBS="-l$x_direct_test_library $LIBS"
28825
 
cat >conftest.$ac_ext <<_ACEOF
28826
 
/* confdefs.h.  */
28827
 
_ACEOF
28828
 
cat confdefs.h >>conftest.$ac_ext
28829
 
cat >>conftest.$ac_ext <<_ACEOF
28830
 
/* end confdefs.h.  */
28831
 
#include <X11/Intrinsic.h>
28832
 
int
28833
 
main ()
28834
 
{
28835
 
${x_direct_test_function}(1)
28836
 
  ;
28837
 
  return 0;
28838
 
}
28839
 
_ACEOF
28840
 
rm -f conftest.$ac_objext conftest$ac_exeext
28841
 
if { (ac_try="$ac_link"
28842
 
case "(($ac_try" in
28843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28844
 
  *) ac_try_echo=$ac_try;;
28845
 
esac
28846
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28847
 
  (eval "$ac_link") 2>conftest.er1
28848
 
  ac_status=$?
28849
 
  grep -v '^ *+' conftest.er1 >conftest.err
28850
 
  rm -f conftest.er1
28851
 
  cat conftest.err >&5
28852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28853
 
  (exit $ac_status); } && {
28854
 
         test -z "$ac_c_werror_flag" ||
28855
 
         test ! -s conftest.err
28856
 
       } && test -s conftest$ac_exeext &&
28857
 
       $as_test_x conftest$ac_exeext; then
28858
 
  LIBS="$ac_save_LIBS"
28859
 
# We can link X programs with no special library path.
28860
 
ac_x_libraries=
28861
 
else
28862
 
  echo "$as_me: failed program was:" >&5
28863
 
sed 's/^/| /' conftest.$ac_ext >&5
28864
 
 
28865
 
        LIBS="$ac_save_LIBS"
28866
 
# First see if replacing the include by lib works.
28867
 
# Check X11 before X11Rn because it is often a symlink to the current release.
28868
 
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
28869
 
    /usr/X11/lib${kdelibsuff}           \
28870
 
    /usr/X11R6/lib${kdelibsuff}         \
28871
 
    /usr/X11R5/lib${kdelibsuff}         \
28872
 
    /usr/X11R4/lib${kdelibsuff}         \
28873
 
                                        \
28874
 
    /usr/lib${kdelibsuff}/X11           \
28875
 
    /usr/lib${kdelibsuff}/X11R6         \
28876
 
    /usr/lib${kdelibsuff}/X11R5         \
28877
 
    /usr/lib${kdelibsuff}/X11R4         \
28878
 
                                        \
28879
 
    /usr/local/X11/lib${kdelibsuff}     \
28880
 
    /usr/local/X11R6/lib${kdelibsuff}   \
28881
 
    /usr/local/X11R5/lib${kdelibsuff}   \
28882
 
    /usr/local/X11R4/lib${kdelibsuff}   \
28883
 
                                        \
28884
 
    /usr/local/lib${kdelibsuff}/X11     \
28885
 
    /usr/local/lib${kdelibsuff}/X11R6   \
28886
 
    /usr/local/lib${kdelibsuff}/X11R5   \
28887
 
    /usr/local/lib${kdelibsuff}/X11R4   \
28888
 
                                        \
28889
 
    /usr/X386/lib${kdelibsuff}          \
28890
 
    /usr/x386/lib${kdelibsuff}          \
28891
 
    /usr/XFree86/lib${kdelibsuff}/X11   \
28892
 
                                        \
28893
 
    /usr/lib${kdelibsuff}               \
28894
 
    /usr/local/lib${kdelibsuff}         \
28895
 
    /usr/unsupported/lib${kdelibsuff}   \
28896
 
    /usr/athena/lib${kdelibsuff}        \
28897
 
    /usr/local/x11r5/lib${kdelibsuff}   \
28898
 
    /usr/lpp/Xamples/lib${kdelibsuff}   \
28899
 
    /lib/usr/lib${kdelibsuff}/X11       \
28900
 
                                        \
28901
 
    /usr/openwin/lib${kdelibsuff}       \
28902
 
    /usr/openwin/share/lib${kdelibsuff} \
28903
 
    ; \
28904
 
do
28905
 
  for ac_extension in a so sl; do
28906
 
    if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
28907
 
      ac_x_libraries=$ac_dir
28908
 
      break 2
28909
 
    fi
28910
 
  done
28911
 
done
28912
 
fi
28913
 
 
28914
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28915
 
      conftest$ac_exeext conftest.$ac_ext
28916
 
fi # $ac_x_libraries = NO
28917
 
 
28918
 
case "$host" in
28919
 
mips-sgi-irix6*)
28920
 
  ;;
28921
 
*-*-solaris*)
28922
 
  ;;
28923
 
*)
28924
 
  rm -f -r conftest.dir
28925
 
if mkdir conftest.dir; then
28926
 
  cd conftest.dir
28927
 
  cat >Imakefile <<'_ACEOF'
28928
 
incroot:
28929
 
        @echo incroot='${INCROOT}'
28930
 
usrlibdir:
28931
 
        @echo usrlibdir='${USRLIBDIR}'
28932
 
libdir:
28933
 
        @echo libdir='${LIBDIR}'
28934
 
_ACEOF
28935
 
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28936
 
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28937
 
    for ac_var in incroot usrlibdir libdir; do
28938
 
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28939
 
    done
28940
 
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28941
 
    for ac_extension in a so sl; do
28942
 
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28943
 
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
28944
 
        ac_im_usrlibdir=$ac_im_libdir; break
28945
 
      fi
28946
 
    done
28947
 
    # Screen out bogus values from the imake configuration.  They are
28948
 
    # bogus both because they are the default anyway, and because
28949
 
    # using them would break gcc on systems where it needs fixed includes.
28950
 
    case $ac_im_incroot in
28951
 
        /usr/include) ac_x_includes= ;;
28952
 
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28953
 
    esac
28954
 
    case $ac_im_usrlibdir in
28955
 
        /usr/lib | /lib) ;;
28956
 
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28957
 
    esac
28958
 
  fi
28959
 
  cd ..
28960
 
  rm -f -r conftest.dir
28961
 
fi
28962
 
 
28963
 
  if test -z "$ac_x_includes"; then
28964
 
    ac_x_includes="."
28965
 
  fi
28966
 
  if test -z "$ac_x_libraries"; then
28967
 
    ac_x_libraries="/usr/lib${kdelibsuff}"
28968
 
  fi
28969
 
esac
28970
 
#from now on we use our own again
28971
 
 
28972
 
# when the user already gave --x-includes, we ignore
28973
 
# what the standard autoconf macros told us.
28974
 
if test "$kde_x_includes" = NO; then
28975
 
  kde_x_includes=$ac_x_includes
28976
 
fi
28977
 
 
28978
 
# for --x-libraries too
28979
 
if test "$kde_x_libraries" = NO; then
28980
 
  kde_x_libraries=$ac_x_libraries
28981
 
fi
28982
 
 
28983
 
if test "$kde_x_includes" = NO; then
28984
 
  { { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
28985
 
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
28986
 
   { (exit 1); exit 1; }; }
28987
 
fi
28988
 
 
28989
 
if test "$kde_x_libraries" = NO; then
28990
 
  { { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
28991
 
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
28992
 
   { (exit 1); exit 1; }; }
28993
 
fi
28994
 
 
28995
 
# Record where we found X for the cache.
28996
 
kde_cv_have_x="have_x=yes \
28997
 
         kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
28998
 
 
28999
 
fi
29000
 
 
29001
 
eval "$kde_cv_have_x"
29002
 
 
29003
 
if test "$have_x" != yes; then
29004
 
  { echo "$as_me:$LINENO: result: $have_x" >&5
29005
 
echo "${ECHO_T}$have_x" >&6; }
29006
 
  no_x=yes
29007
 
else
29008
 
  { echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
29009
 
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6; }
29010
 
fi
29011
 
 
29012
 
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
29013
 
  X_INCLUDES=""
29014
 
  x_includes=".";  else
29015
 
  x_includes=$kde_x_includes
29016
 
  X_INCLUDES="-I$x_includes"
29017
 
fi
29018
 
 
29019
 
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE || test "$kde_x_libraries" = "/usr/lib"; then
29020
 
  X_LDFLAGS=""
29021
 
  x_libraries="/usr/lib";  else
29022
 
  x_libraries=$kde_x_libraries
29023
 
  X_LDFLAGS="-L$x_libraries"
29024
 
fi
29025
 
all_includes="$X_INCLUDES"
29026
 
all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
29027
 
 
29028
 
# Check for libraries that X11R6 Xt/Xaw programs need.
29029
 
ac_save_LDFLAGS="$LDFLAGS"
29030
 
LDFLAGS="$LDFLAGS $X_LDFLAGS"
29031
 
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29032
 
# check for ICE first), but we must link in the order -lSM -lICE or
29033
 
# we get undefined symbols.  So assume we have SM if we have ICE.
29034
 
# These have to be linked with before -lX11, unlike the other
29035
 
# libraries we check for below, so use a different variable.
29036
 
#  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
29037
 
{ echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29038
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29039
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29041
 
else
29042
 
  ac_check_lib_save_LIBS=$LIBS
29043
 
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29044
 
cat >conftest.$ac_ext <<_ACEOF
29045
 
/* confdefs.h.  */
29046
 
_ACEOF
29047
 
cat confdefs.h >>conftest.$ac_ext
29048
 
cat >>conftest.$ac_ext <<_ACEOF
29049
 
/* end confdefs.h.  */
29050
 
 
29051
 
/* Override any GCC internal prototype to avoid an error.
29052
 
   Use char because int might match the return type of a GCC
29053
 
   builtin and then its argument prototype would still apply.  */
29054
 
#ifdef __cplusplus
29055
 
extern "C"
29056
 
#endif
29057
 
char IceConnectionNumber ();
29058
 
int
29059
 
main ()
29060
 
{
29061
 
return IceConnectionNumber ();
29062
 
  ;
29063
 
  return 0;
29064
 
}
29065
 
_ACEOF
29066
 
rm -f conftest.$ac_objext conftest$ac_exeext
29067
 
if { (ac_try="$ac_link"
29068
 
case "(($ac_try" in
29069
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29070
 
  *) ac_try_echo=$ac_try;;
29071
 
esac
29072
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29073
 
  (eval "$ac_link") 2>conftest.er1
29074
 
  ac_status=$?
29075
 
  grep -v '^ *+' conftest.er1 >conftest.err
29076
 
  rm -f conftest.er1
29077
 
  cat conftest.err >&5
29078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079
 
  (exit $ac_status); } && {
29080
 
         test -z "$ac_c_werror_flag" ||
29081
 
         test ! -s conftest.err
29082
 
       } && test -s conftest$ac_exeext &&
29083
 
       $as_test_x conftest$ac_exeext; then
29084
 
  ac_cv_lib_ICE_IceConnectionNumber=yes
29085
 
else
29086
 
  echo "$as_me: failed program was:" >&5
29087
 
sed 's/^/| /' conftest.$ac_ext >&5
29088
 
 
29089
 
        ac_cv_lib_ICE_IceConnectionNumber=no
29090
 
fi
29091
 
 
29092
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29093
 
      conftest$ac_exeext conftest.$ac_ext
29094
 
LIBS=$ac_check_lib_save_LIBS
29095
 
fi
29096
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29097
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29098
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29099
 
  LIBSM="-lSM -lICE"
29100
 
fi
29101
 
 
29102
 
LDFLAGS="$ac_save_LDFLAGS"
29103
 
 
29104
 
LIB_X11='-lX11 $(LIBSOCKET)'
29105
 
 
29106
 
{ echo "$as_me:$LINENO: checking for libXext" >&5
29107
 
echo $ECHO_N "checking for libXext... $ECHO_C" >&6; }
29108
 
if test "${kde_cv_have_libXext+set}" = set; then
29109
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29110
 
else
29111
 
 
29112
 
kde_ldflags_safe="$LDFLAGS"
29113
 
kde_libs_safe="$LIBS"
29114
 
 
29115
 
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
29116
 
LIBS="-lXext -lX11 $LIBSOCKET"
29117
 
 
29118
 
cat >conftest.$ac_ext <<_ACEOF
29119
 
/* confdefs.h.  */
29120
 
_ACEOF
29121
 
cat confdefs.h >>conftest.$ac_ext
29122
 
cat >>conftest.$ac_ext <<_ACEOF
29123
 
/* end confdefs.h.  */
29124
 
 
29125
 
#include <stdio.h>
29126
 
#ifdef STDC_HEADERS
29127
 
# include <stdlib.h>
29128
 
#endif
29129
 
 
29130
 
int
29131
 
main ()
29132
 
{
29133
 
 
29134
 
printf("hello Xext\n");
29135
 
 
29136
 
  ;
29137
 
  return 0;
29138
 
}
29139
 
_ACEOF
29140
 
rm -f conftest.$ac_objext conftest$ac_exeext
29141
 
if { (ac_try="$ac_link"
29142
 
case "(($ac_try" in
29143
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29144
 
  *) ac_try_echo=$ac_try;;
29145
 
esac
29146
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29147
 
  (eval "$ac_link") 2>conftest.er1
29148
 
  ac_status=$?
29149
 
  grep -v '^ *+' conftest.er1 >conftest.err
29150
 
  rm -f conftest.er1
29151
 
  cat conftest.err >&5
29152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153
 
  (exit $ac_status); } && {
29154
 
         test -z "$ac_c_werror_flag" ||
29155
 
         test ! -s conftest.err
29156
 
       } && test -s conftest$ac_exeext &&
29157
 
       $as_test_x conftest$ac_exeext; then
29158
 
  kde_cv_have_libXext=yes
29159
 
else
29160
 
  echo "$as_me: failed program was:" >&5
29161
 
sed 's/^/| /' conftest.$ac_ext >&5
29162
 
 
29163
 
        kde_cv_have_libXext=no
29164
 
 
29165
 
fi
29166
 
 
29167
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29168
 
      conftest$ac_exeext conftest.$ac_ext
29169
 
 
29170
 
LDFLAGS=$kde_ldflags_safe
29171
 
LIBS=$kde_libs_safe
29172
 
 
29173
 
fi
29174
 
 
29175
 
 
29176
 
{ echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
29177
 
echo "${ECHO_T}$kde_cv_have_libXext" >&6; }
29178
 
 
29179
 
if test "$kde_cv_have_libXext" = "no"; then
29180
 
  { { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
29181
 
can't find it itself, we stop here assuming that make wouldn't find
29182
 
them either." >&5
29183
 
echo "$as_me: error: We need a working libXext to proceed. Since configure
29184
 
can't find it itself, we stop here assuming that make wouldn't find
29185
 
them either." >&2;}
29186
 
   { (exit 1); exit 1; }; }
29187
 
fi
29188
 
 
29189
 
LIB_XEXT="-lXext"
29190
 
QTE_NORTTI=""
29191
 
 
29192
 
elif test "$kde_use_qt_emb" = "yes"; then
29193
 
    CPPFLAGS=-DQWS
29194
 
  CXXFLAGS="$CXXFLAGS -fno-rtti"
29195
 
  QTE_NORTTI="-fno-rtti -DQWS"
29196
 
  X_PRE_LIBS=""
29197
 
  LIB_X11=""
29198
 
  LIB_XEXT=""
29199
 
  LIB_XRENDER=""
29200
 
  LIBSM=""
29201
 
  X_INCLUDES=""
29202
 
  X_LDFLAGS=""
29203
 
  x_includes=""
29204
 
  x_libraries=""
29205
 
elif test "$kde_use_qt_mac" = "yes"; then
29206
 
      CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
29207
 
  CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
29208
 
  X_PRE_LIBS=""
29209
 
  LIB_X11=""
29210
 
  LIB_XEXT=""
29211
 
  LIB_XRENDER=""
29212
 
  LIBSM=""
29213
 
  X_INCLUDES=""
29214
 
  X_LDFLAGS=""
29215
 
  x_includes=""
29216
 
  x_libraries=""
29217
 
fi
29218
 
 
29219
 
 
29220
 
 
29221
 
 
29222
 
 
29223
 
 
29224
 
 
29225
 
 
29226
 
 
29227
 
 
29228
 
 
29229
 
 
29230
 
 
29231
 
                LIBPTHREAD=""
29232
 
 
29233
 
  if test -n "$PTHREAD_LIBS"; then
29234
 
    if test "x$PTHREAD_LIBS" = "x-pthread" ; then
29235
 
      LIBPTHREAD="PTHREAD"
29236
 
    else
29237
 
      PTHREAD_LIBS_save="$PTHREAD_LIBS"
29238
 
      PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
29239
 
      { echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
29240
 
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6; }
29241
 
 
29242
 
     kde_save_LDFLAGS="$LDFLAGS"
29243
 
          kde_save_LIBS="$LIBS"
29244
 
     LDFLAGS="$LDFLAGS $all_libraries"
29245
 
     case $host_os in
29246
 
      aix*) LDFLAGS="-brtl $LDFLAGS"
29247
 
        test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
29248
 
        ;;
29249
 
     esac
29250
 
     as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
29251
 
{ echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
29252
 
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6; }
29253
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29254
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29255
 
else
29256
 
  ac_check_lib_save_LIBS=$LIBS
29257
 
LIBS="-l$PTHREAD_LIBS  $LIBS"
29258
 
cat >conftest.$ac_ext <<_ACEOF
29259
 
/* confdefs.h.  */
29260
 
_ACEOF
29261
 
cat confdefs.h >>conftest.$ac_ext
29262
 
cat >>conftest.$ac_ext <<_ACEOF
29263
 
/* end confdefs.h.  */
29264
 
 
29265
 
/* Override any GCC internal prototype to avoid an error.
29266
 
   Use char because int might match the return type of a GCC
29267
 
   builtin and then its argument prototype would still apply.  */
29268
 
#ifdef __cplusplus
29269
 
extern "C"
29270
 
#endif
29271
 
char pthread_create ();
29272
 
int
29273
 
main ()
29274
 
{
29275
 
return pthread_create ();
29276
 
  ;
29277
 
  return 0;
29278
 
}
29279
 
_ACEOF
29280
 
rm -f conftest.$ac_objext conftest$ac_exeext
29281
 
if { (ac_try="$ac_link"
29282
 
case "(($ac_try" in
29283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29284
 
  *) ac_try_echo=$ac_try;;
29285
 
esac
29286
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29287
 
  (eval "$ac_link") 2>conftest.er1
29288
 
  ac_status=$?
29289
 
  grep -v '^ *+' conftest.er1 >conftest.err
29290
 
  rm -f conftest.er1
29291
 
  cat conftest.err >&5
29292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29293
 
  (exit $ac_status); } && {
29294
 
         test -z "$ac_c_werror_flag" ||
29295
 
         test ! -s conftest.err
29296
 
       } && test -s conftest$ac_exeext &&
29297
 
       $as_test_x conftest$ac_exeext; then
29298
 
  eval "$as_ac_Lib=yes"
29299
 
else
29300
 
  echo "$as_me: failed program was:" >&5
29301
 
sed 's/^/| /' conftest.$ac_ext >&5
29302
 
 
29303
 
        eval "$as_ac_Lib=no"
29304
 
fi
29305
 
 
29306
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29307
 
      conftest$ac_exeext conftest.$ac_ext
29308
 
LIBS=$ac_check_lib_save_LIBS
29309
 
fi
29310
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
29311
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29312
 
echo "${ECHO_T}$ac_res" >&6; }
29313
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29314
 
  LIBPTHREAD="$PTHREAD_LIBS_save"
29315
 
fi
29316
 
 
29317
 
     LDFLAGS="$kde_save_LDFLAGS"
29318
 
     LIBS="$kde_save_LIBS"
29319
 
 
29320
 
      PTHREAD_LIBS="$PTHREAD_LIBS_save"
29321
 
    fi
29322
 
  fi
29323
 
 
29324
 
    if test -z "$LIBPTHREAD"; then
29325
 
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29326
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29327
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
29328
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29329
 
else
29330
 
  ac_check_lib_save_LIBS=$LIBS
29331
 
LIBS="-lpthread  $LIBS"
29332
 
cat >conftest.$ac_ext <<_ACEOF
29333
 
/* confdefs.h.  */
29334
 
_ACEOF
29335
 
cat confdefs.h >>conftest.$ac_ext
29336
 
cat >>conftest.$ac_ext <<_ACEOF
29337
 
/* end confdefs.h.  */
29338
 
 
29339
 
/* Override any GCC internal prototype to avoid an error.
29340
 
   Use char because int might match the return type of a GCC
29341
 
   builtin and then its argument prototype would still apply.  */
29342
 
#ifdef __cplusplus
29343
 
extern "C"
29344
 
#endif
29345
 
char pthread_create ();
29346
 
int
29347
 
main ()
29348
 
{
29349
 
return pthread_create ();
29350
 
  ;
29351
 
  return 0;
29352
 
}
29353
 
_ACEOF
29354
 
rm -f conftest.$ac_objext conftest$ac_exeext
29355
 
if { (ac_try="$ac_link"
29356
 
case "(($ac_try" in
29357
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29358
 
  *) ac_try_echo=$ac_try;;
29359
 
esac
29360
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29361
 
  (eval "$ac_link") 2>conftest.er1
29362
 
  ac_status=$?
29363
 
  grep -v '^ *+' conftest.er1 >conftest.err
29364
 
  rm -f conftest.er1
29365
 
  cat conftest.err >&5
29366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367
 
  (exit $ac_status); } && {
29368
 
         test -z "$ac_c_werror_flag" ||
29369
 
         test ! -s conftest.err
29370
 
       } && test -s conftest$ac_exeext &&
29371
 
       $as_test_x conftest$ac_exeext; then
29372
 
  ac_cv_lib_pthread_pthread_create=yes
29373
 
else
29374
 
  echo "$as_me: failed program was:" >&5
29375
 
sed 's/^/| /' conftest.$ac_ext >&5
29376
 
 
29377
 
        ac_cv_lib_pthread_pthread_create=no
29378
 
fi
29379
 
 
29380
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29381
 
      conftest$ac_exeext conftest.$ac_ext
29382
 
LIBS=$ac_check_lib_save_LIBS
29383
 
fi
29384
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
29385
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
29386
 
if test $ac_cv_lib_pthread_pthread_create = yes; then
29387
 
  LIBPTHREAD="-lpthread"
29388
 
fi
29389
 
 
29390
 
  fi
29391
 
 
29392
 
    if test -z "$LIBPTHREAD" ; then
29393
 
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29394
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29395
 
    kde_safe_libs=$LIBS
29396
 
    LIBS="$LIBS -lpthread"
29397
 
    cat >conftest.$ac_ext <<_ACEOF
29398
 
/* confdefs.h.  */
29399
 
_ACEOF
29400
 
cat confdefs.h >>conftest.$ac_ext
29401
 
cat >>conftest.$ac_ext <<_ACEOF
29402
 
/* end confdefs.h.  */
29403
 
#include <pthread.h>
29404
 
int
29405
 
main ()
29406
 
{
29407
 
(void)pthread_create(0,0,0,0);
29408
 
  ;
29409
 
  return 0;
29410
 
}
29411
 
_ACEOF
29412
 
rm -f conftest.$ac_objext conftest$ac_exeext
29413
 
if { (ac_try="$ac_link"
29414
 
case "(($ac_try" in
29415
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29416
 
  *) ac_try_echo=$ac_try;;
29417
 
esac
29418
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29419
 
  (eval "$ac_link") 2>conftest.er1
29420
 
  ac_status=$?
29421
 
  grep -v '^ *+' conftest.er1 >conftest.err
29422
 
  rm -f conftest.er1
29423
 
  cat conftest.err >&5
29424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425
 
  (exit $ac_status); } && {
29426
 
         test -z "$ac_c_werror_flag" ||
29427
 
         test ! -s conftest.err
29428
 
       } && test -s conftest$ac_exeext &&
29429
 
       $as_test_x conftest$ac_exeext; then
29430
 
 
29431
 
        { echo "$as_me:$LINENO: result: yes" >&5
29432
 
echo "${ECHO_T}yes" >&6; }
29433
 
        LIBPTHREAD="-lpthread"
29434
 
else
29435
 
  echo "$as_me: failed program was:" >&5
29436
 
sed 's/^/| /' conftest.$ac_ext >&5
29437
 
 
29438
 
 
29439
 
        { echo "$as_me:$LINENO: result: no" >&5
29440
 
echo "${ECHO_T}no" >&6; }
29441
 
fi
29442
 
 
29443
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29444
 
      conftest$ac_exeext conftest.$ac_ext
29445
 
    LIBS=$kde_safe_libs
29446
 
  fi
29447
 
 
29448
 
    if test "x$LIBPTHREAD" = "xPTHREAD" ; then
29449
 
    LIBPTHREAD=""
29450
 
  fi
29451
 
 
29452
 
 
29453
 
 
29454
 
 
29455
 
      USE_THREADS=""
29456
 
      if test -z "$LIBPTHREAD"; then
29457
 
 
29458
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
29459
 
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6; }
29460
 
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
29461
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29462
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29463
 
else
29464
 
 
29465
 
 
29466
 
   ac_ext=cpp
29467
 
ac_cpp='$CXXCPP $CPPFLAGS'
29468
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29471
 
 
29472
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29473
 
 
29474
 
 
29475
 
  save_CXXFLAGS="$CXXFLAGS"
29476
 
  CXXFLAGS="$CXXFLAGS -pthread"
29477
 
  cat >conftest.$ac_ext <<_ACEOF
29478
 
/* confdefs.h.  */
29479
 
_ACEOF
29480
 
cat confdefs.h >>conftest.$ac_ext
29481
 
cat >>conftest.$ac_ext <<_ACEOF
29482
 
/* end confdefs.h.  */
29483
 
 
29484
 
int
29485
 
main ()
29486
 
{
29487
 
 return 0;
29488
 
  ;
29489
 
  return 0;
29490
 
}
29491
 
_ACEOF
29492
 
rm -f conftest.$ac_objext conftest$ac_exeext
29493
 
if { (ac_try="$ac_link"
29494
 
case "(($ac_try" in
29495
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29496
 
  *) ac_try_echo=$ac_try;;
29497
 
esac
29498
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29499
 
  (eval "$ac_link") 2>conftest.er1
29500
 
  ac_status=$?
29501
 
  grep -v '^ *+' conftest.er1 >conftest.err
29502
 
  rm -f conftest.er1
29503
 
  cat conftest.err >&5
29504
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505
 
  (exit $ac_status); } && {
29506
 
         test -z "$ac_cxx_werror_flag" ||
29507
 
         test ! -s conftest.err
29508
 
       } && test -s conftest$ac_exeext &&
29509
 
       $as_test_x conftest$ac_exeext; then
29510
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
29511
 
else
29512
 
  echo "$as_me: failed program was:" >&5
29513
 
sed 's/^/| /' conftest.$ac_ext >&5
29514
 
 
29515
 
 
29516
 
fi
29517
 
 
29518
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29519
 
      conftest$ac_exeext conftest.$ac_ext
29520
 
  CXXFLAGS="$save_CXXFLAGS"
29521
 
  ac_ext=c
29522
 
ac_cpp='$CPP $CPPFLAGS'
29523
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29524
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29525
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29526
 
 
29527
 
 
29528
 
fi
29529
 
 
29530
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29531
 
 { echo "$as_me:$LINENO: result: yes" >&5
29532
 
echo "${ECHO_T}yes" >&6; }
29533
 
 :
29534
 
 USE_THREADS="-D_THREAD_SAFE -pthread"
29535
 
else
29536
 
 { echo "$as_me:$LINENO: result: no" >&5
29537
 
echo "${ECHO_T}no" >&6; }
29538
 
 :
29539
 
 
29540
 
fi
29541
 
 
29542
 
      fi
29543
 
 
29544
 
 
29545
 
 
29546
 
    case $host_os in
29547
 
        solaris*)
29548
 
 
29549
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
29550
 
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6; }
29551
 
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
29552
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29553
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29554
 
else
29555
 
 
29556
 
 
29557
 
   ac_ext=cpp
29558
 
ac_cpp='$CXXCPP $CPPFLAGS'
29559
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29560
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29561
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29562
 
 
29563
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29564
 
 
29565
 
 
29566
 
  save_CXXFLAGS="$CXXFLAGS"
29567
 
  CXXFLAGS="$CXXFLAGS -mt"
29568
 
  cat >conftest.$ac_ext <<_ACEOF
29569
 
/* confdefs.h.  */
29570
 
_ACEOF
29571
 
cat confdefs.h >>conftest.$ac_ext
29572
 
cat >>conftest.$ac_ext <<_ACEOF
29573
 
/* end confdefs.h.  */
29574
 
 
29575
 
int
29576
 
main ()
29577
 
{
29578
 
 return 0;
29579
 
  ;
29580
 
  return 0;
29581
 
}
29582
 
_ACEOF
29583
 
rm -f conftest.$ac_objext conftest$ac_exeext
29584
 
if { (ac_try="$ac_link"
29585
 
case "(($ac_try" in
29586
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29587
 
  *) ac_try_echo=$ac_try;;
29588
 
esac
29589
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29590
 
  (eval "$ac_link") 2>conftest.er1
29591
 
  ac_status=$?
29592
 
  grep -v '^ *+' conftest.er1 >conftest.err
29593
 
  rm -f conftest.er1
29594
 
  cat conftest.err >&5
29595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596
 
  (exit $ac_status); } && {
29597
 
         test -z "$ac_cxx_werror_flag" ||
29598
 
         test ! -s conftest.err
29599
 
       } && test -s conftest$ac_exeext &&
29600
 
       $as_test_x conftest$ac_exeext; then
29601
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
29602
 
else
29603
 
  echo "$as_me: failed program was:" >&5
29604
 
sed 's/^/| /' conftest.$ac_ext >&5
29605
 
 
29606
 
 
29607
 
fi
29608
 
 
29609
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29610
 
      conftest$ac_exeext conftest.$ac_ext
29611
 
  CXXFLAGS="$save_CXXFLAGS"
29612
 
  ac_ext=c
29613
 
ac_cpp='$CPP $CPPFLAGS'
29614
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29615
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29616
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29617
 
 
29618
 
 
29619
 
fi
29620
 
 
29621
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29622
 
 { echo "$as_me:$LINENO: result: yes" >&5
29623
 
echo "${ECHO_T}yes" >&6; }
29624
 
 :
29625
 
 USE_THREADS="-mt"
29626
 
else
29627
 
 { echo "$as_me:$LINENO: result: no" >&5
29628
 
echo "${ECHO_T}no" >&6; }
29629
 
 :
29630
 
 
29631
 
fi
29632
 
 
29633
 
                CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
29634
 
                ;;
29635
 
        freebsd*)
29636
 
                CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
29637
 
                ;;
29638
 
        aix*)
29639
 
                CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
29640
 
                LIBPTHREAD="$LIBPTHREAD -lc_r"
29641
 
                ;;
29642
 
        linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
29643
 
                if test "$CXX" = "KCC"; then
29644
 
                  CXXFLAGS="$CXXFLAGS --thread_safe"
29645
 
                  NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
29646
 
                fi
29647
 
                ;;
29648
 
        *)
29649
 
                ;;
29650
 
    esac
29651
 
 
29652
 
 
29653
 
 
29654
 
 
29655
 
{ echo "$as_me:$LINENO: checking for extra includes" >&5
29656
 
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6; }
29657
 
 
29658
 
# Check whether --with-extra-includes was given.
29659
 
if test "${with_extra_includes+set}" = set; then
29660
 
  withval=$with_extra_includes; kde_use_extra_includes="$withval"
29661
 
else
29662
 
  kde_use_extra_includes=NONE
29663
 
 
29664
 
fi
29665
 
 
29666
 
kde_extra_includes=
29667
 
if test -n "$kde_use_extra_includes" && \
29668
 
   test "$kde_use_extra_includes" != "NONE"; then
29669
 
 
29670
 
   ac_save_ifs=$IFS
29671
 
   IFS=':'
29672
 
   for dir in $kde_use_extra_includes; do
29673
 
     kde_extra_includes="$kde_extra_includes $dir"
29674
 
     USER_INCLUDES="$USER_INCLUDES -I$dir"
29675
 
   done
29676
 
   IFS=$ac_save_ifs
29677
 
   kde_use_extra_includes="added"
29678
 
else
29679
 
   kde_use_extra_includes="no"
29680
 
fi
29681
 
 
29682
 
 
29683
 
{ echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
29684
 
echo "${ECHO_T}$kde_use_extra_includes" >&6; }
29685
 
 
29686
 
kde_extra_libs=
29687
 
{ echo "$as_me:$LINENO: checking for extra libs" >&5
29688
 
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6; }
29689
 
 
29690
 
# Check whether --with-extra-libs was given.
29691
 
if test "${with_extra_libs+set}" = set; then
29692
 
  withval=$with_extra_libs; kde_use_extra_libs=$withval
29693
 
else
29694
 
  kde_use_extra_libs=NONE
29695
 
 
29696
 
fi
29697
 
 
29698
 
if test -n "$kde_use_extra_libs" && \
29699
 
   test "$kde_use_extra_libs" != "NONE"; then
29700
 
 
29701
 
   ac_save_ifs=$IFS
29702
 
   IFS=':'
29703
 
   for dir in $kde_use_extra_libs; do
29704
 
     kde_extra_libs="$kde_extra_libs $dir"
29705
 
     KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
29706
 
     USER_LDFLAGS="$USER_LDFLAGS -L$dir"
29707
 
   done
29708
 
   IFS=$ac_save_ifs
29709
 
   kde_use_extra_libs="added"
29710
 
else
29711
 
   kde_use_extra_libs="no"
29712
 
fi
29713
 
 
29714
 
 
29715
 
 
29716
 
{ echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
29717
 
echo "${ECHO_T}$kde_use_extra_libs" >&6; }
29718
 
 
29719
 
 
29720
 
 
29721
 
 
29722
 
{ echo "$as_me:$LINENO: checking for libz" >&5
29723
 
echo $ECHO_N "checking for libz... $ECHO_C" >&6; }
29724
 
if test "${ac_cv_lib_z+set}" = set; then
29725
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29726
 
else
29727
 
 
29728
 
kde_save_LIBS="$LIBS"
29729
 
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
29730
 
kde_save_CFLAGS="$CFLAGS"
29731
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29732
 
cat >conftest.$ac_ext <<_ACEOF
29733
 
/* confdefs.h.  */
29734
 
_ACEOF
29735
 
cat confdefs.h >>conftest.$ac_ext
29736
 
cat >>conftest.$ac_ext <<_ACEOF
29737
 
/* end confdefs.h.  */
29738
 
 
29739
 
#include<zlib.h>
29740
 
 
29741
 
int
29742
 
main ()
29743
 
{
29744
 
 
29745
 
  char buf[42];
29746
 
  gzFile f = (gzFile) 0;
29747
 
  /* this would segfault.. but we only link, don't run */
29748
 
  (void) gzgets(f, buf, sizeof(buf));
29749
 
 
29750
 
  return (zlibVersion() == ZLIB_VERSION);
29751
 
 
29752
 
  ;
29753
 
  return 0;
29754
 
}
29755
 
_ACEOF
29756
 
rm -f conftest.$ac_objext conftest$ac_exeext
29757
 
if { (ac_try="$ac_link"
29758
 
case "(($ac_try" in
29759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29760
 
  *) ac_try_echo=$ac_try;;
29761
 
esac
29762
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29763
 
  (eval "$ac_link") 2>conftest.er1
29764
 
  ac_status=$?
29765
 
  grep -v '^ *+' conftest.er1 >conftest.err
29766
 
  rm -f conftest.er1
29767
 
  cat conftest.err >&5
29768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29769
 
  (exit $ac_status); } && {
29770
 
         test -z "$ac_c_werror_flag" ||
29771
 
         test ! -s conftest.err
29772
 
       } && test -s conftest$ac_exeext &&
29773
 
       $as_test_x conftest$ac_exeext; then
29774
 
  eval "ac_cv_lib_z='-lz'"
29775
 
else
29776
 
  echo "$as_me: failed program was:" >&5
29777
 
sed 's/^/| /' conftest.$ac_ext >&5
29778
 
 
29779
 
        eval "ac_cv_lib_z=no"
29780
 
fi
29781
 
 
29782
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29783
 
      conftest$ac_exeext conftest.$ac_ext
29784
 
LIBS="$kde_save_LIBS"
29785
 
CFLAGS="$kde_save_CFLAGS"
29786
 
 
29787
 
fi
29788
 
if test ! "$ac_cv_lib_z" = no; then
29789
 
 
29790
 
cat >>confdefs.h <<_ACEOF
29791
 
#define HAVE_LIBZ 1
29792
 
_ACEOF
29793
 
 
29794
 
  LIBZ="$ac_cv_lib_z"
29795
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
29796
 
echo "${ECHO_T}$ac_cv_lib_z" >&6; }
29797
 
else
29798
 
  { { echo "$as_me:$LINENO: error: not found.
29799
 
          Possibly configure picks up an outdated version
29800
 
          installed by XFree86. Remove it from your system.
29801
 
 
29802
 
          Check your installation and look into config.log" >&5
29803
 
echo "$as_me: error: not found.
29804
 
          Possibly configure picks up an outdated version
29805
 
          installed by XFree86. Remove it from your system.
29806
 
 
29807
 
          Check your installation and look into config.log" >&2;}
29808
 
   { (exit 1); exit 1; }; }
29809
 
  LIBZ=""
29810
 
fi
29811
 
 
29812
 
 
29813
 
 
29814
 
 
29815
 
 
29816
 
{ echo "$as_me:$LINENO: checking for libpng" >&5
29817
 
echo $ECHO_N "checking for libpng... $ECHO_C" >&6; }
29818
 
if test "${ac_cv_lib_png+set}" = set; then
29819
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29820
 
else
29821
 
 
29822
 
kde_save_LIBS="$LIBS"
29823
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29824
 
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
29825
 
else
29826
 
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
29827
 
fi
29828
 
kde_save_CFLAGS="$CFLAGS"
29829
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29830
 
 
29831
 
cat >conftest.$ac_ext <<_ACEOF
29832
 
/* confdefs.h.  */
29833
 
_ACEOF
29834
 
cat confdefs.h >>conftest.$ac_ext
29835
 
cat >>conftest.$ac_ext <<_ACEOF
29836
 
/* end confdefs.h.  */
29837
 
 
29838
 
    #include<png.h>
29839
 
 
29840
 
int
29841
 
main ()
29842
 
{
29843
 
 
29844
 
    png_structp png_ptr = png_create_read_struct(  /* image ptr */
29845
 
                PNG_LIBPNG_VER_STRING, 0, 0, 0 );
29846
 
    return( png_ptr != 0 );
29847
 
 
29848
 
  ;
29849
 
  return 0;
29850
 
}
29851
 
_ACEOF
29852
 
rm -f conftest.$ac_objext conftest$ac_exeext
29853
 
if { (ac_try="$ac_link"
29854
 
case "(($ac_try" in
29855
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29856
 
  *) ac_try_echo=$ac_try;;
29857
 
esac
29858
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29859
 
  (eval "$ac_link") 2>conftest.er1
29860
 
  ac_status=$?
29861
 
  grep -v '^ *+' conftest.er1 >conftest.err
29862
 
  rm -f conftest.er1
29863
 
  cat conftest.err >&5
29864
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865
 
  (exit $ac_status); } && {
29866
 
         test -z "$ac_c_werror_flag" ||
29867
 
         test ! -s conftest.err
29868
 
       } && test -s conftest$ac_exeext &&
29869
 
       $as_test_x conftest$ac_exeext; then
29870
 
  eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
29871
 
else
29872
 
  echo "$as_me: failed program was:" >&5
29873
 
sed 's/^/| /' conftest.$ac_ext >&5
29874
 
 
29875
 
        eval "ac_cv_lib_png=no"
29876
 
 
29877
 
fi
29878
 
 
29879
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29880
 
      conftest$ac_exeext conftest.$ac_ext
29881
 
LIBS="$kde_save_LIBS"
29882
 
CFLAGS="$kde_save_CFLAGS"
29883
 
 
29884
 
fi
29885
 
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
29886
 
 
29887
 
cat >>confdefs.h <<_ACEOF
29888
 
#define HAVE_LIBPNG 1
29889
 
_ACEOF
29890
 
 
29891
 
  LIBPNG="$ac_cv_lib_png"
29892
 
 
29893
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
29894
 
echo "${ECHO_T}$ac_cv_lib_png" >&6; }
29895
 
else
29896
 
  { echo "$as_me:$LINENO: result: no" >&5
29897
 
echo "${ECHO_T}no" >&6; }
29898
 
  LIBPNG=""
29899
 
 
29900
 
fi
29901
 
 
29902
 
 
29903
 
 
29904
 
{ echo "$as_me:$LINENO: checking for libjpeg6b" >&5
29905
 
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6; }
29906
 
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
29907
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29908
 
else
29909
 
 
29910
 
ac_save_LIBS="$LIBS"
29911
 
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
29912
 
ac_save_CFLAGS="$CFLAGS"
29913
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29914
 
cat >conftest.$ac_ext <<_ACEOF
29915
 
/* confdefs.h.  */
29916
 
_ACEOF
29917
 
cat confdefs.h >>conftest.$ac_ext
29918
 
cat >>conftest.$ac_ext <<_ACEOF
29919
 
/* end confdefs.h.  */
29920
 
 
29921
 
#ifdef __cplusplus
29922
 
extern "C" {
29923
 
#endif
29924
 
void jpeg_CreateDecompress();
29925
 
#ifdef __cplusplus
29926
 
}
29927
 
#endif
29928
 
 
29929
 
int
29930
 
main ()
29931
 
{
29932
 
jpeg_CreateDecompress();
29933
 
  ;
29934
 
  return 0;
29935
 
}
29936
 
_ACEOF
29937
 
rm -f conftest.$ac_objext conftest$ac_exeext
29938
 
if { (ac_try="$ac_link"
29939
 
case "(($ac_try" in
29940
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29941
 
  *) ac_try_echo=$ac_try;;
29942
 
esac
29943
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29944
 
  (eval "$ac_link") 2>conftest.er1
29945
 
  ac_status=$?
29946
 
  grep -v '^ *+' conftest.er1 >conftest.err
29947
 
  rm -f conftest.er1
29948
 
  cat conftest.err >&5
29949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950
 
  (exit $ac_status); } && {
29951
 
         test -z "$ac_c_werror_flag" ||
29952
 
         test ! -s conftest.err
29953
 
       } && test -s conftest$ac_exeext &&
29954
 
       $as_test_x conftest$ac_exeext; then
29955
 
  eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
29956
 
else
29957
 
  echo "$as_me: failed program was:" >&5
29958
 
sed 's/^/| /' conftest.$ac_ext >&5
29959
 
 
29960
 
        eval "ac_cv_lib_jpeg_6b=no"
29961
 
fi
29962
 
 
29963
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29964
 
      conftest$ac_exeext conftest.$ac_ext
29965
 
LIBS="$ac_save_LIBS"
29966
 
CFLAGS="$ac_save_CFLAGS"
29967
 
 
29968
 
fi
29969
 
 
29970
 
 
29971
 
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
29972
 
  LIBJPEG="$ac_cv_lib_jpeg_6b"
29973
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
29974
 
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6; }
29975
 
else
29976
 
  { echo "$as_me:$LINENO: result: no" >&5
29977
 
echo "${ECHO_T}no" >&6; }
29978
 
 
29979
 
{ echo "$as_me:$LINENO: checking for libjpeg" >&5
29980
 
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6; }
29981
 
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
29982
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29983
 
else
29984
 
 
29985
 
ac_save_LIBS="$LIBS"
29986
 
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
29987
 
ac_save_CFLAGS="$CFLAGS"
29988
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29989
 
cat >conftest.$ac_ext <<_ACEOF
29990
 
/* confdefs.h.  */
29991
 
_ACEOF
29992
 
cat confdefs.h >>conftest.$ac_ext
29993
 
cat >>conftest.$ac_ext <<_ACEOF
29994
 
/* end confdefs.h.  */
29995
 
 
29996
 
#ifdef __cplusplus
29997
 
extern "C" {
29998
 
#endif
29999
 
void jpeg_CreateDecompress();
30000
 
#ifdef __cplusplus
30001
 
}
30002
 
#endif
30003
 
 
30004
 
int
30005
 
main ()
30006
 
{
30007
 
jpeg_CreateDecompress();
30008
 
  ;
30009
 
  return 0;
30010
 
}
30011
 
_ACEOF
30012
 
rm -f conftest.$ac_objext conftest$ac_exeext
30013
 
if { (ac_try="$ac_link"
30014
 
case "(($ac_try" in
30015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30016
 
  *) ac_try_echo=$ac_try;;
30017
 
esac
30018
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30019
 
  (eval "$ac_link") 2>conftest.er1
30020
 
  ac_status=$?
30021
 
  grep -v '^ *+' conftest.er1 >conftest.err
30022
 
  rm -f conftest.er1
30023
 
  cat conftest.err >&5
30024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025
 
  (exit $ac_status); } && {
30026
 
         test -z "$ac_c_werror_flag" ||
30027
 
         test ! -s conftest.err
30028
 
       } && test -s conftest$ac_exeext &&
30029
 
       $as_test_x conftest$ac_exeext; then
30030
 
  eval "ac_cv_lib_jpeg_normal=-ljpeg"
30031
 
else
30032
 
  echo "$as_me: failed program was:" >&5
30033
 
sed 's/^/| /' conftest.$ac_ext >&5
30034
 
 
30035
 
        eval "ac_cv_lib_jpeg_normal=no"
30036
 
fi
30037
 
 
30038
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30039
 
      conftest$ac_exeext conftest.$ac_ext
30040
 
LIBS="$ac_save_LIBS"
30041
 
CFLAGS="$ac_save_CFLAGS"
30042
 
 
30043
 
fi
30044
 
 
30045
 
 
30046
 
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
30047
 
  LIBJPEG="$ac_cv_lib_jpeg_normal"
30048
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
30049
 
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6; }
30050
 
else
30051
 
  { echo "$as_me:$LINENO: result: no" >&5
30052
 
echo "${ECHO_T}no" >&6; }
30053
 
 
30054
 
       LIBJPEG=
30055
 
 
30056
 
 
30057
 
fi
30058
 
 
30059
 
 
30060
 
 
30061
 
fi
30062
 
 
30063
 
 
30064
 
 
30065
 
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
30066
 
 
30067
 
jpeg_incdir=NO
30068
 
for i in $jpeg_incdirs;
30069
 
do
30070
 
  for j in jpeglib.h;
30071
 
  do
30072
 
    echo "configure: 30072: $i/$j" >&5
30073
 
    if test -r "$i/$j"; then
30074
 
      echo "taking that" >&5
30075
 
      jpeg_incdir=$i
30076
 
      break 2
30077
 
    fi
30078
 
  done
30079
 
done
30080
 
 
30081
 
test "x$jpeg_incdir" = xNO && jpeg_incdir=
30082
 
 
30083
 
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
30084
 
 
30085
 
cat >>confdefs.h <<_ACEOF
30086
 
#define HAVE_LIBJPEG 1
30087
 
_ACEOF
30088
 
 
30089
 
else
30090
 
  if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
30091
 
    { echo "$as_me:$LINENO: WARNING:
30092
 
There is an installation error in jpeg support. You seem to have only one
30093
 
of either the headers _or_ the libraries installed. You may need to either
30094
 
provide correct --with-extra-... options, or the development package of
30095
 
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30096
 
Disabling JPEG support.
30097
 
" >&5
30098
 
echo "$as_me: WARNING:
30099
 
There is an installation error in jpeg support. You seem to have only one
30100
 
of either the headers _or_ the libraries installed. You may need to either
30101
 
provide correct --with-extra-... options, or the development package of
30102
 
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30103
 
Disabling JPEG support.
30104
 
" >&2;}
30105
 
  else
30106
 
    { echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
30107
 
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
30108
 
  fi
30109
 
  jpeg_incdir=
30110
 
  LIBJPEG=
30111
 
fi
30112
 
 
30113
 
 
30114
 
 
30115
 
 
30116
 
 
30117
 
 
30118
 
 
30119
 
   { echo "$as_me:$LINENO: checking for perl" >&5
30120
 
echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
30121
 
   if test -n "$PERL"; then
30122
 
        kde_cv_path="$PERL";
30123
 
   else
30124
 
        kde_cache=`echo perl | sed 'y%./+-%__p_%'`
30125
 
 
30126
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30127
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30128
 
else
30129
 
 
30130
 
        kde_cv_path="NONE"
30131
 
        kde_save_IFS=$IFS
30132
 
        IFS=':'
30133
 
        dirs=""
30134
 
        for dir in $PATH; do
30135
 
          dirs="$dirs $dir"
30136
 
        done
30137
 
        if test -z ""; then       dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
30138
 
        else      dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
30139
 
        fi
30140
 
        IFS=$kde_save_IFS
30141
 
 
30142
 
        for dir in $dirs; do
30143
 
          if test -x "$dir/perl"; then
30144
 
            if test -n ""
30145
 
            then
30146
 
              evalstr="$dir/perl  2>&1 "
30147
 
              if eval $evalstr; then
30148
 
                kde_cv_path="$dir/perl"
30149
 
                break
30150
 
              fi
30151
 
            else
30152
 
                kde_cv_path="$dir/perl"
30153
 
                break
30154
 
            fi
30155
 
          fi
30156
 
        done
30157
 
 
30158
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30159
 
 
30160
 
 
30161
 
fi
30162
 
 
30163
 
 
30164
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30165
 
 
30166
 
   fi
30167
 
 
30168
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30169
 
      { echo "$as_me:$LINENO: result: not found" >&5
30170
 
echo "${ECHO_T}not found" >&6; }
30171
 
 
30172
 
                    { { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
30173
 
We need perl to generate some code." >&5
30174
 
echo "$as_me: error: No Perl found in your $PATH.
30175
 
We need perl to generate some code." >&2;}
30176
 
   { (exit 1); exit 1; }; }
30177
 
 
30178
 
   else
30179
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30180
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30181
 
      PERL=$kde_cv_path
30182
 
 
30183
 
   fi
30184
 
 
30185
 
 
30186
 
 
30187
 
 
30188
 
 
30189
 
 
30190
 
 
30191
 
 
30192
 
 
30193
 
 
30194
 
# Check whether --enable-mt was given.
30195
 
if test "${enable_mt+set}" = set; then
30196
 
  enableval=$enable_mt; kde_use_qt_mt=$enableval
30197
 
else
30198
 
 
30199
 
    if test $kde_qtver = 3; then
30200
 
      kde_use_qt_mt=yes
30201
 
    else
30202
 
      kde_use_qt_mt=no
30203
 
    fi
30204
 
 
30205
 
 
30206
 
fi
30207
 
 
30208
 
 
30209
 
USING_QT_MT=""
30210
 
 
30211
 
 
30212
 
KDE_MT_LDFLAGS=
30213
 
KDE_MT_LIBS=
30214
 
if test "x$kde_use_qt_mt" = "xyes"; then
30215
 
 
30216
 
 
30217
 
 
30218
 
    if test -z "$LIBPTHREAD"; then
30219
 
    if test -z "$USE_THREADS"; then
30220
 
      kde_check_threading_default=no
30221
 
    else
30222
 
      kde_check_threading_default=yes
30223
 
    fi
30224
 
  else
30225
 
    kde_check_threading_default=yes
30226
 
  fi
30227
 
  # Check whether --enable-threading was given.
30228
 
if test "${enable_threading+set}" = set; then
30229
 
  enableval=$enable_threading; kde_use_threading=$enableval
30230
 
else
30231
 
  kde_use_threading=$kde_check_threading_default
30232
 
fi
30233
 
 
30234
 
  if test "x$kde_use_threading" = "xyes"; then
30235
 
 
30236
 
cat >>confdefs.h <<\_ACEOF
30237
 
#define HAVE_LIBPTHREAD 1
30238
 
_ACEOF
30239
 
 
30240
 
  fi
30241
 
 
30242
 
  if test "x$kde_use_threading" = "xyes"; then
30243
 
    CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
30244
 
    KDE_MT_LDFLAGS="$USE_THREADS"
30245
 
    KDE_MT_LIBS="$LIBPTHREAD"
30246
 
  else
30247
 
    kde_use_qt_mt=no
30248
 
  fi
30249
 
fi
30250
 
 
30251
 
 
30252
 
 
30253
 
kde_qt_was_given=yes
30254
 
 
30255
 
if test -z "$LIBQT_GLOB"; then
30256
 
  if test "x$kde_use_qt_emb" = "xyes"; then
30257
 
    LIBQT_GLOB="libqte.*"
30258
 
  else
30259
 
    LIBQT_GLOB="libqt.*"
30260
 
  fi
30261
 
fi
30262
 
 
30263
 
if test "x$kde_use_qt_emb" = "xyes"; then
30264
 
  qtlib="qte"
30265
 
else
30266
 
  qtlib="qt"
30267
 
fi
30268
 
 
30269
 
kde_int_qt="-l$qtlib"
30270
 
 
30271
 
if test -z "$LIBQPE"; then
30272
 
  if test "x$kde_use_qt_emb" = "xyes"; then
30273
 
    if test "x$kde_use_qt_emb_palm" = "xyes"; then
30274
 
      LIB_QPE="-lqpe"
30275
 
    else
30276
 
      LIB_QPE=""
30277
 
    fi
30278
 
  else
30279
 
    LIB_QPE=""
30280
 
  fi
30281
 
fi
30282
 
 
30283
 
 
30284
 
if test "x$kde_use_qt_mt" = "xyes"; then
30285
 
  LIBQT="-l$qtlib-mt"
30286
 
  kde_int_qt="-l$qtlib-mt"
30287
 
  LIBQT_GLOB="lib$qtlib-mt.*"
30288
 
  USING_QT_MT="using -mt"
30289
 
else
30290
 
  LIBQT="-l$qtlib"
30291
 
fi
30292
 
 
30293
 
if test $kde_qtver != 1; then
30294
 
 
30295
 
 
30296
 
 
30297
 
  LIBQT="$LIBQT $LIBPNG $LIBJPEG"
30298
 
fi
30299
 
 
30300
 
if test $kde_qtver = 3; then
30301
 
 
30302
 
  LIBQT="$LIBQT $LIBDL"
30303
 
fi
30304
 
 
30305
 
{ echo "$as_me:$LINENO: checking for Qt" >&5
30306
 
echo $ECHO_N "checking for Qt... $ECHO_C" >&6; }
30307
 
 
30308
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30309
 
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
30310
 
fi
30311
 
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
30312
 
qt_libraries=""
30313
 
qt_includes=""
30314
 
 
30315
 
# Check whether --with-qt-dir was given.
30316
 
if test "${with_qt_dir+set}" = set; then
30317
 
  withval=$with_qt_dir;   ac_qt_includes="$withval"/include
30318
 
       ac_qt_libraries="$withval"/lib${kdelibsuff}
30319
 
       ac_qt_bindir="$withval"/bin
30320
 
 
30321
 
fi
30322
 
 
30323
 
 
30324
 
 
30325
 
# Check whether --with-qt-includes was given.
30326
 
if test "${with_qt_includes+set}" = set; then
30327
 
  withval=$with_qt_includes;
30328
 
       ac_qt_includes="$withval"
30329
 
 
30330
 
fi
30331
 
 
30332
 
 
30333
 
kde_qt_libs_given=no
30334
 
 
30335
 
 
30336
 
# Check whether --with-qt-libraries was given.
30337
 
if test "${with_qt_libraries+set}" = set; then
30338
 
  withval=$with_qt_libraries;   ac_qt_libraries="$withval"
30339
 
       kde_qt_libs_given=yes
30340
 
 
30341
 
fi
30342
 
 
30343
 
 
30344
 
if test "${ac_cv_have_qt+set}" = set; then
30345
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30346
 
else
30347
 
  #try to guess Qt locations
30348
 
 
30349
 
qt_incdirs=""
30350
 
for dir in $kde_qt_dirs; do
30351
 
   qt_incdirs="$qt_incdirs $dir/include $dir"
30352
 
done
30353
 
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"
30354
 
if test ! "$ac_qt_includes" = "NO"; then
30355
 
   qt_incdirs="$ac_qt_includes $qt_incdirs"
30356
 
fi
30357
 
 
30358
 
if test "$kde_qtver" != "1"; then
30359
 
  kde_qt_header=qstyle.h
30360
 
else
30361
 
  kde_qt_header=qglobal.h
30362
 
fi
30363
 
 
30364
 
 
30365
 
qt_incdir=NO
30366
 
for i in $qt_incdirs;
30367
 
do
30368
 
  for j in $kde_qt_header;
30369
 
  do
30370
 
    echo "configure: 30370: $i/$j" >&5
30371
 
    if test -r "$i/$j"; then
30372
 
      echo "taking that" >&5
30373
 
      qt_incdir=$i
30374
 
      break 2
30375
 
    fi
30376
 
  done
30377
 
done
30378
 
 
30379
 
ac_qt_includes="$qt_incdir"
30380
 
 
30381
 
qt_libdirs=""
30382
 
for dir in $kde_qt_dirs; do
30383
 
   qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
30384
 
done
30385
 
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
30386
 
if test ! "$ac_qt_libraries" = "NO"; then
30387
 
  qt_libdir=$ac_qt_libraries
30388
 
else
30389
 
  qt_libdirs="$ac_qt_libraries $qt_libdirs"
30390
 
  # if the Qt was given, the chance is too big that libqt.* doesn't exist
30391
 
  qt_libdir=NONE
30392
 
  for dir in $qt_libdirs; do
30393
 
    try="ls -1 $dir/${LIBQT_GLOB}"
30394
 
    if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
30395
 
  done
30396
 
fi
30397
 
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30398
 
  if test -e "$a"; then
30399
 
    LIBQT="$LIBQT ${kde_int_qt}_incremental"
30400
 
    break
30401
 
  fi
30402
 
done
30403
 
 
30404
 
ac_qt_libraries="$qt_libdir"
30405
 
 
30406
 
 
30407
 
 ac_ext=cpp
30408
 
ac_cpp='$CXXCPP $CPPFLAGS'
30409
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30410
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30411
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30412
 
 
30413
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30414
 
 
30415
 
 
30416
 
 
30417
 
ac_cxxflags_safe="$CXXFLAGS"
30418
 
ac_ldflags_safe="$LDFLAGS"
30419
 
ac_libs_safe="$LIBS"
30420
 
 
30421
 
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
30422
 
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
30423
 
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
30424
 
 
30425
 
 
30426
 
 
30427
 
cat > conftest.$ac_ext <<EOF
30428
 
#include "confdefs.h"
30429
 
#include <qglobal.h>
30430
 
#include <qapplication.h>
30431
 
EOF
30432
 
if test "$kde_qtver" = "2"; then
30433
 
cat >> conftest.$ac_ext <<EOF
30434
 
#include <qevent.h>
30435
 
#include <qstring.h>
30436
 
#include <qstyle.h>
30437
 
EOF
30438
 
 
30439
 
if test $kde_qtsubver -gt 0; then
30440
 
cat >> conftest.$ac_ext <<EOF
30441
 
#if QT_VERSION < 210
30442
 
#error 1
30443
 
#endif
30444
 
EOF
30445
 
fi
30446
 
fi
30447
 
 
30448
 
if test "$kde_qtver" = "3"; then
30449
 
cat >> conftest.$ac_ext <<EOF
30450
 
#include <qcursor.h>
30451
 
#include <qstylefactory.h>
30452
 
#include <private/qucomextra_p.h>
30453
 
EOF
30454
 
fi
30455
 
 
30456
 
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30457
 
cat >> conftest.$ac_ext <<EOF
30458
 
#error 1
30459
 
#endif
30460
 
 
30461
 
int main() {
30462
 
EOF
30463
 
if test "$kde_qtver" = "2"; then
30464
 
cat >> conftest.$ac_ext <<EOF
30465
 
    QStringList *t = new QStringList();
30466
 
    Q_UNUSED(t);
30467
 
EOF
30468
 
if test $kde_qtsubver -gt 0; then
30469
 
cat >> conftest.$ac_ext <<EOF
30470
 
    QString s;
30471
 
    s.setLatin1("Elvis is alive", 14);
30472
 
EOF
30473
 
fi
30474
 
fi
30475
 
if test "$kde_qtver" = "3"; then
30476
 
cat >> conftest.$ac_ext <<EOF
30477
 
    (void)QStyleFactory::create(QString::null);
30478
 
    QCursor c(Qt::WhatsThisCursor);
30479
 
EOF
30480
 
fi
30481
 
cat >> conftest.$ac_ext <<EOF
30482
 
    return 0;
30483
 
}
30484
 
EOF
30485
 
 
30486
 
 
30487
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30488
 
  (eval $ac_link) 2>&5
30489
 
  ac_status=$?
30490
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491
 
  (exit $ac_status); } && test -s conftest; then
30492
 
  rm -f conftest*
30493
 
else
30494
 
  echo "configure: failed program was:" >&5
30495
 
  cat conftest.$ac_ext >&5
30496
 
  ac_qt_libraries="NO"
30497
 
fi
30498
 
rm -f conftest*
30499
 
CXXFLAGS="$ac_cxxflags_safe"
30500
 
LDFLAGS="$ac_ldflags_safe"
30501
 
LIBS="$ac_libs_safe"
30502
 
 
30503
 
ac_ext=c
30504
 
ac_cpp='$CPP $CPPFLAGS'
30505
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30506
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30507
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30508
 
 
30509
 
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
30510
 
  ac_cv_have_qt="have_qt=no"
30511
 
  ac_qt_notfound=""
30512
 
  missing_qt_mt=""
30513
 
  if test "$ac_qt_includes" = NO; then
30514
 
    if test "$ac_qt_libraries" = NO; then
30515
 
      ac_qt_notfound="(headers and libraries)";
30516
 
    else
30517
 
      ac_qt_notfound="(headers)";
30518
 
    fi
30519
 
  else
30520
 
    if test "x$kde_use_qt_mt" = "xyes"; then
30521
 
       missing_qt_mt="
30522
 
Make sure that you have compiled Qt with thread support!"
30523
 
       ac_qt_notfound="(library $qtlib-mt)";
30524
 
    else
30525
 
       ac_qt_notfound="(library $qtlib)";
30526
 
    fi
30527
 
  fi
30528
 
 
30529
 
  { { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30530
 
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
30531
 
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30532
 
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
30533
 
   { (exit 1); exit 1; }; }
30534
 
else
30535
 
  have_qt="yes"
30536
 
fi
30537
 
 
30538
 
fi
30539
 
 
30540
 
 
30541
 
eval "$ac_cv_have_qt"
30542
 
 
30543
 
if test "$have_qt" != yes; then
30544
 
  { echo "$as_me:$LINENO: result: $have_qt" >&5
30545
 
echo "${ECHO_T}$have_qt" >&6; };
30546
 
else
30547
 
  ac_cv_have_qt="have_qt=yes \
30548
 
    ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
30549
 
  { echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
30550
 
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6; }
30551
 
 
30552
 
  qt_libraries="$ac_qt_libraries"
30553
 
  qt_includes="$ac_qt_includes"
30554
 
fi
30555
 
 
30556
 
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
30557
 
 
30558
 
 
30559
 
{ echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
30560
 
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6; }
30561
 
if test "${kde_cv_qt_direct+set}" = set; then
30562
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30563
 
else
30564
 
 
30565
 
 
30566
 
 ac_ext=cpp
30567
 
ac_cpp='$CXXCPP $CPPFLAGS'
30568
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30571
 
 
30572
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30573
 
 
30574
 
 
30575
 
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
30576
 
ac_LIBRARY_PATH="$LIBRARY_PATH"
30577
 
ac_cxxflags_safe="$CXXFLAGS"
30578
 
ac_ldflags_safe="$LDFLAGS"
30579
 
ac_libs_safe="$LIBS"
30580
 
 
30581
 
CXXFLAGS="$CXXFLAGS -I$qt_includes"
30582
 
LDFLAGS="$LDFLAGS $X_LDFLAGS"
30583
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30584
 
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
30585
 
else
30586
 
LIBS="$LIBQT $LIBSOCKET"
30587
 
fi
30588
 
LD_LIBRARY_PATH=
30589
 
export LD_LIBRARY_PATH
30590
 
LIBRARY_PATH=
30591
 
export LIBRARY_PATH
30592
 
 
30593
 
 
30594
 
 
30595
 
cat > conftest.$ac_ext <<EOF
30596
 
#include "confdefs.h"
30597
 
#include <qglobal.h>
30598
 
#include <qapplication.h>
30599
 
EOF
30600
 
if test "$kde_qtver" = "2"; then
30601
 
cat >> conftest.$ac_ext <<EOF
30602
 
#include <qevent.h>
30603
 
#include <qstring.h>
30604
 
#include <qstyle.h>
30605
 
EOF
30606
 
 
30607
 
if test $kde_qtsubver -gt 0; then
30608
 
cat >> conftest.$ac_ext <<EOF
30609
 
#if QT_VERSION < 210
30610
 
#error 1
30611
 
#endif
30612
 
EOF
30613
 
fi
30614
 
fi
30615
 
 
30616
 
if test "$kde_qtver" = "3"; then
30617
 
cat >> conftest.$ac_ext <<EOF
30618
 
#include <qcursor.h>
30619
 
#include <qstylefactory.h>
30620
 
#include <private/qucomextra_p.h>
30621
 
EOF
30622
 
fi
30623
 
 
30624
 
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30625
 
cat >> conftest.$ac_ext <<EOF
30626
 
#error 1
30627
 
#endif
30628
 
 
30629
 
int main() {
30630
 
EOF
30631
 
if test "$kde_qtver" = "2"; then
30632
 
cat >> conftest.$ac_ext <<EOF
30633
 
    QStringList *t = new QStringList();
30634
 
    Q_UNUSED(t);
30635
 
EOF
30636
 
if test $kde_qtsubver -gt 0; then
30637
 
cat >> conftest.$ac_ext <<EOF
30638
 
    QString s;
30639
 
    s.setLatin1("Elvis is alive", 14);
30640
 
EOF
30641
 
fi
30642
 
fi
30643
 
if test "$kde_qtver" = "3"; then
30644
 
cat >> conftest.$ac_ext <<EOF
30645
 
    (void)QStyleFactory::create(QString::null);
30646
 
    QCursor c(Qt::WhatsThisCursor);
30647
 
EOF
30648
 
fi
30649
 
cat >> conftest.$ac_ext <<EOF
30650
 
    return 0;
30651
 
}
30652
 
EOF
30653
 
 
30654
 
 
30655
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30656
 
  (eval $ac_link) 2>&5
30657
 
  ac_status=$?
30658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659
 
  (exit $ac_status); } && test -s conftest; then
30660
 
  kde_cv_qt_direct="yes"
30661
 
else
30662
 
  kde_cv_qt_direct="no"
30663
 
  echo "configure: failed program was:" >&5
30664
 
  cat conftest.$ac_ext >&5
30665
 
fi
30666
 
 
30667
 
rm -f conftest*
30668
 
CXXFLAGS="$ac_cxxflags_safe"
30669
 
LDFLAGS="$ac_ldflags_safe"
30670
 
LIBS="$ac_libs_safe"
30671
 
 
30672
 
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
30673
 
export LD_LIBRARY_PATH
30674
 
LIBRARY_PATH="$ac_LIBRARY_PATH"
30675
 
export LIBRARY_PATH
30676
 
ac_ext=c
30677
 
ac_cpp='$CPP $CPPFLAGS'
30678
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30679
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30680
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30681
 
 
30682
 
 
30683
 
fi
30684
 
 
30685
 
 
30686
 
if test "$kde_cv_qt_direct" = "yes"; then
30687
 
  { echo "$as_me:$LINENO: result: yes" >&5
30688
 
echo "${ECHO_T}yes" >&6; }
30689
 
  qt_libraries=
30690
 
else
30691
 
  { echo "$as_me:$LINENO: result: no" >&5
30692
 
echo "${ECHO_T}no" >&6; }
30693
 
 
30694
 
fi
30695
 
 
30696
 
fi
30697
 
 
30698
 
 
30699
 
 
30700
 
 
30701
 
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
30702
 
 QT_INCLUDES=""
30703
 
else
30704
 
 QT_INCLUDES="-I$qt_includes"
30705
 
 all_includes="$QT_INCLUDES $all_includes"
30706
 
fi
30707
 
 
30708
 
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
30709
 
 QT_LDFLAGS=""
30710
 
else
30711
 
 QT_LDFLAGS="-L$qt_libraries"
30712
 
 all_libraries="$QT_LDFLAGS $all_libraries"
30713
 
fi
30714
 
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
30715
 
 
30716
 
 
30717
 
 
30718
 
 
30719
 
 
30720
 
   qt_bindirs=""
30721
 
   for dir in $kde_qt_dirs; do
30722
 
      qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
30723
 
   done
30724
 
   qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
30725
 
   if test ! "$ac_qt_bindir" = "NO"; then
30726
 
      qt_bindirs="$ac_qt_bindir $qt_bindirs"
30727
 
   fi
30728
 
 
30729
 
 
30730
 
   { echo "$as_me:$LINENO: checking for moc" >&5
30731
 
echo $ECHO_N "checking for moc... $ECHO_C" >&6; }
30732
 
   if test -n "$MOC"; then
30733
 
        kde_cv_path="$MOC";
30734
 
   else
30735
 
        kde_cache=`echo moc | sed 'y%./+-%__p_%'`
30736
 
 
30737
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30738
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30739
 
else
30740
 
 
30741
 
        kde_cv_path="NONE"
30742
 
        kde_save_IFS=$IFS
30743
 
        IFS=':'
30744
 
        dirs=""
30745
 
        for dir in $PATH; do
30746
 
          dirs="$dirs $dir"
30747
 
        done
30748
 
        if test -z ""; then       dirs="$qt_bindirs $dirs"
30749
 
        else      dirs="$dirs $qt_bindirs"
30750
 
        fi
30751
 
        IFS=$kde_save_IFS
30752
 
 
30753
 
        for dir in $dirs; do
30754
 
          if test -x "$dir/moc"; then
30755
 
            if test -n ""
30756
 
            then
30757
 
              evalstr="$dir/moc  2>&1 "
30758
 
              if eval $evalstr; then
30759
 
                kde_cv_path="$dir/moc"
30760
 
                break
30761
 
              fi
30762
 
            else
30763
 
                kde_cv_path="$dir/moc"
30764
 
                break
30765
 
            fi
30766
 
          fi
30767
 
        done
30768
 
 
30769
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30770
 
 
30771
 
 
30772
 
fi
30773
 
 
30774
 
 
30775
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30776
 
 
30777
 
   fi
30778
 
 
30779
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30780
 
      { echo "$as_me:$LINENO: result: not found" >&5
30781
 
echo "${ECHO_T}not found" >&6; }
30782
 
 
30783
 
    { { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
30784
 
Please check whether you installed Qt correctly.
30785
 
You need to have a running moc binary.
30786
 
configure tried to run $ac_cv_path_moc and the test didn't
30787
 
succeed. If configure shouldn't have tried this one, set
30788
 
the environment variable MOC to the right one before running
30789
 
configure.
30790
 
" >&5
30791
 
echo "$as_me: error: No Qt meta object compiler (moc) found!
30792
 
Please check whether you installed Qt correctly.
30793
 
You need to have a running moc binary.
30794
 
configure tried to run $ac_cv_path_moc and the test didn't
30795
 
succeed. If configure shouldn't have tried this one, set
30796
 
the environment variable MOC to the right one before running
30797
 
configure.
30798
 
" >&2;}
30799
 
   { (exit 1); exit 1; }; }
30800
 
 
30801
 
   else
30802
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30803
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30804
 
      MOC=$kde_cv_path
30805
 
 
30806
 
   fi
30807
 
 
30808
 
   if test -z "$UIC_NOT_NEEDED"; then
30809
 
 
30810
 
   { echo "$as_me:$LINENO: checking for uic" >&5
30811
 
echo $ECHO_N "checking for uic... $ECHO_C" >&6; }
30812
 
   if test -n "$UIC_PATH"; then
30813
 
        kde_cv_path="$UIC_PATH";
30814
 
   else
30815
 
        kde_cache=`echo uic | sed 'y%./+-%__p_%'`
30816
 
 
30817
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30818
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30819
 
else
30820
 
 
30821
 
        kde_cv_path="NONE"
30822
 
        kde_save_IFS=$IFS
30823
 
        IFS=':'
30824
 
        dirs=""
30825
 
        for dir in $PATH; do
30826
 
          dirs="$dirs $dir"
30827
 
        done
30828
 
        if test -z ""; then       dirs="$qt_bindirs $dirs"
30829
 
        else      dirs="$dirs $qt_bindirs"
30830
 
        fi
30831
 
        IFS=$kde_save_IFS
30832
 
 
30833
 
        for dir in $dirs; do
30834
 
          if test -x "$dir/uic"; then
30835
 
            if test -n ""
30836
 
            then
30837
 
              evalstr="$dir/uic  2>&1 "
30838
 
              if eval $evalstr; then
30839
 
                kde_cv_path="$dir/uic"
30840
 
                break
30841
 
              fi
30842
 
            else
30843
 
                kde_cv_path="$dir/uic"
30844
 
                break
30845
 
            fi
30846
 
          fi
30847
 
        done
30848
 
 
30849
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30850
 
 
30851
 
 
30852
 
fi
30853
 
 
30854
 
 
30855
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30856
 
 
30857
 
   fi
30858
 
 
30859
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30860
 
      { echo "$as_me:$LINENO: result: not found" >&5
30861
 
echo "${ECHO_T}not found" >&6; }
30862
 
      UIC_PATH=""
30863
 
   else
30864
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30865
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30866
 
      UIC_PATH=$kde_cv_path
30867
 
 
30868
 
   fi
30869
 
 
30870
 
     if test -z "$UIC_PATH" ; then
30871
 
 
30872
 
    { echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
30873
 
Please check whether you installed Qt correctly.
30874
 
You need to have a running uic binary.
30875
 
configure tried to run $ac_cv_path_uic and the test didn't
30876
 
succeed. If configure shouldn't have tried this one, set
30877
 
the environment variable UIC to the right one before running
30878
 
configure.
30879
 
" >&5
30880
 
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
30881
 
Please check whether you installed Qt correctly.
30882
 
You need to have a running uic binary.
30883
 
configure tried to run $ac_cv_path_uic and the test didn't
30884
 
succeed. If configure shouldn't have tried this one, set
30885
 
the environment variable UIC to the right one before running
30886
 
configure.
30887
 
" >&2;}
30888
 
 
30889
 
       exit 1
30890
 
     else
30891
 
       UIC=$UIC_PATH
30892
 
 
30893
 
       if test $kde_qtver = 3; then
30894
 
 
30895
 
    { echo "$as_me:$LINENO: checking whether uic supports -L " >&5
30896
 
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6; }
30897
 
    kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
30898
 
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30899
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30900
 
else
30901
 
 
30902
 
        cat >conftest.ui <<EOT
30903
 
        <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30904
 
EOT
30905
 
        ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
30906
 
        if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30907
 
  (eval $ac_uic_testrun) 2>&5
30908
 
  ac_status=$?
30909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910
 
  (exit $ac_status); }; then
30911
 
            eval "kde_cv_prog_uic_$kde_cache=yes"
30912
 
        else
30913
 
            eval "kde_cv_prog_uic_$kde_cache=no"
30914
 
        fi
30915
 
        rm -f conftest*
30916
 
 
30917
 
fi
30918
 
 
30919
 
 
30920
 
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30921
 
        { echo "$as_me:$LINENO: result: yes" >&5
30922
 
echo "${ECHO_T}yes" >&6; }
30923
 
        :
30924
 
        ac_uic_supports_libpath=yes
30925
 
    else
30926
 
        { echo "$as_me:$LINENO: result: no" >&5
30927
 
echo "${ECHO_T}no" >&6; }
30928
 
        :
30929
 
        ac_uic_supports_libpath=no
30930
 
    fi
30931
 
 
30932
 
 
30933
 
    { echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
30934
 
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6; }
30935
 
    kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
30936
 
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30937
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30938
 
else
30939
 
 
30940
 
        cat >conftest.ui <<EOT
30941
 
        <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30942
 
EOT
30943
 
        ac_uic_testrun="$UIC_PATH -nounload  conftest.ui >/dev/null"
30944
 
        if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30945
 
  (eval $ac_uic_testrun) 2>&5
30946
 
  ac_status=$?
30947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948
 
  (exit $ac_status); }; then
30949
 
            eval "kde_cv_prog_uic_$kde_cache=yes"
30950
 
        else
30951
 
            eval "kde_cv_prog_uic_$kde_cache=no"
30952
 
        fi
30953
 
        rm -f conftest*
30954
 
 
30955
 
fi
30956
 
 
30957
 
 
30958
 
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30959
 
        { echo "$as_me:$LINENO: result: yes" >&5
30960
 
echo "${ECHO_T}yes" >&6; }
30961
 
        :
30962
 
        ac_uic_supports_nounload=yes
30963
 
    else
30964
 
        { echo "$as_me:$LINENO: result: no" >&5
30965
 
echo "${ECHO_T}no" >&6; }
30966
 
        :
30967
 
        ac_uic_supports_nounload=no
30968
 
    fi
30969
 
 
30970
 
 
30971
 
         if test x$ac_uic_supports_libpath = xyes; then
30972
 
             UIC="$UIC -L \$(kde_widgetdir)"
30973
 
         fi
30974
 
         if test x$ac_uic_supports_nounload = xyes; then
30975
 
             UIC="$UIC -nounload"
30976
 
         fi
30977
 
       fi
30978
 
     fi
30979
 
   else
30980
 
     UIC="echo uic not available: "
30981
 
   fi
30982
 
 
30983
 
 
30984
 
 
30985
 
 
30986
 
   UIC_TR="i18n"
30987
 
   if test $kde_qtver = 3; then
30988
 
     UIC_TR="tr2i18n"
30989
 
   fi
30990
 
 
30991
 
 
30992
 
 
30993
 
 
30994
 
 
30995
 
if test -n "$LIBJPEG"; then
30996
 
{ echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
30997
 
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6; }
30998
 
if test "${kde_cv_qt_jpeg+set}" = set; then
30999
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31000
 
else
31001
 
 
31002
 
 
31003
 
 ac_ext=cpp
31004
 
ac_cpp='$CXXCPP $CPPFLAGS'
31005
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31006
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31007
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31008
 
 
31009
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31010
 
 
31011
 
 
31012
 
ac_save_LIBS="$LIBS"
31013
 
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
31014
 
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
31015
 
ac_save_CXXFLAGS="$CXXFLAGS"
31016
 
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
31017
 
cat >conftest.$ac_ext <<_ACEOF
31018
 
/* confdefs.h.  */
31019
 
_ACEOF
31020
 
cat confdefs.h >>conftest.$ac_ext
31021
 
cat >>conftest.$ac_ext <<_ACEOF
31022
 
/* end confdefs.h.  */
31023
 
#include <qapplication.h>
31024
 
int
31025
 
main ()
31026
 
{
31027
 
 
31028
 
            int argc;
31029
 
            char** argv;
31030
 
            QApplication app(argc, argv);
31031
 
  ;
31032
 
  return 0;
31033
 
}
31034
 
_ACEOF
31035
 
rm -f conftest.$ac_objext conftest$ac_exeext
31036
 
if { (ac_try="$ac_link"
31037
 
case "(($ac_try" in
31038
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31039
 
  *) ac_try_echo=$ac_try;;
31040
 
esac
31041
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31042
 
  (eval "$ac_link") 2>conftest.er1
31043
 
  ac_status=$?
31044
 
  grep -v '^ *+' conftest.er1 >conftest.err
31045
 
  rm -f conftest.er1
31046
 
  cat conftest.err >&5
31047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048
 
  (exit $ac_status); } && {
31049
 
         test -z "$ac_cxx_werror_flag" ||
31050
 
         test ! -s conftest.err
31051
 
       } && test -s conftest$ac_exeext &&
31052
 
       $as_test_x conftest$ac_exeext; then
31053
 
  eval "kde_cv_qt_jpeg=no"
31054
 
else
31055
 
  echo "$as_me: failed program was:" >&5
31056
 
sed 's/^/| /' conftest.$ac_ext >&5
31057
 
 
31058
 
        eval "kde_cv_qt_jpeg=yes"
31059
 
fi
31060
 
 
31061
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31062
 
      conftest$ac_exeext conftest.$ac_ext
31063
 
LIBS="$ac_save_LIBS"
31064
 
CXXFLAGS="$ac_save_CXXFLAGS"
31065
 
ac_ext=c
31066
 
ac_cpp='$CPP $CPPFLAGS'
31067
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31068
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31069
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31070
 
 
31071
 
fi
31072
 
 
31073
 
fi
31074
 
 
31075
 
 
31076
 
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
31077
 
  { echo "$as_me:$LINENO: result: yes" >&5
31078
 
echo "${ECHO_T}yes" >&6; }
31079
 
  LIBJPEG_QT='$(LIBJPEG)'
31080
 
else
31081
 
  { echo "$as_me:$LINENO: result: no" >&5
31082
 
echo "${ECHO_T}no" >&6; }
31083
 
  LIBJPEG_QT=
31084
 
fi
31085
 
 
31086
 
 
31087
 
 
31088
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
31089
 
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
31090
 
else
31091
 
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
31092
 
fi
31093
 
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
31094
 
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
31095
 
  if test -e "$a"; then
31096
 
     LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
31097
 
     break
31098
 
  fi
31099
 
done
31100
 
 
31101
 
 
31102
 
 
31103
 
 
31104
 
 
31105
 
 
31106
 
 
31107
 
 
31108
 
 
31109
 
 
31110
 
 
31111
 
 
31112
 
 
31113
 
{ echo "$as_me:$LINENO: checking for rpath" >&5
31114
 
echo $ECHO_N "checking for rpath... $ECHO_C" >&6; }
31115
 
# Check whether --enable-rpath was given.
31116
 
if test "${enable_rpath+set}" = set; then
31117
 
  enableval=$enable_rpath; USE_RPATH=$enableval
31118
 
else
31119
 
  USE_RPATH=yes
31120
 
fi
31121
 
 
31122
 
 
31123
 
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
31124
 
 
31125
 
  KDE_RPATH="-R \$(libdir)"
31126
 
 
31127
 
  if test "$kde_libraries" != "$libdir"; then
31128
 
      KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
31129
 
  fi
31130
 
 
31131
 
  if test -n "$qt_libraries"; then
31132
 
    KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
31133
 
  fi
31134
 
    if test -n "$X_LDFLAGS"; then
31135
 
    X_RPATH="-R \$(x_libraries)"
31136
 
    KDE_RPATH="$KDE_RPATH $X_RPATH"
31137
 
  fi
31138
 
  if test -n "$KDE_EXTRA_RPATH"; then
31139
 
    KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
31140
 
  fi
31141
 
fi
31142
 
 
31143
 
 
31144
 
 
31145
 
{ echo "$as_me:$LINENO: result: $USE_RPATH" >&5
31146
 
echo "${ECHO_T}$USE_RPATH" >&6; }
31147
 
 
31148
 
{ echo "$as_me:$LINENO: checking for KDE" >&5
31149
 
echo $ECHO_N "checking for KDE... $ECHO_C" >&6; }
31150
 
 
31151
 
if test "${prefix}" != NONE; then
31152
 
  kde_includes=${includedir}
31153
 
 
31154
 
savex=$exec_prefix
31155
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31156
 
tmp=$includedir
31157
 
while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
31158
 
exec_prefix=$savex
31159
 
 
31160
 
 
31161
 
  kde_libraries=${libdir}
31162
 
 
31163
 
savex=$exec_prefix
31164
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31165
 
tmp=$libdir
31166
 
while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
31167
 
exec_prefix=$savex
31168
 
 
31169
 
 
31170
 
else
31171
 
  ac_kde_includes=
31172
 
  ac_kde_libraries=
31173
 
  kde_libraries=""
31174
 
  kde_includes=""
31175
 
fi
31176
 
 
31177
 
if test "${ac_cv_have_kde+set}" = set; then
31178
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31179
 
else
31180
 
  #try to guess kde locations
31181
 
 
31182
 
if test "$kde_qtver" = 1; then
31183
 
  kde_check_header="ksock.h"
31184
 
  kde_check_lib="libkdecore.la"
31185
 
else
31186
 
  kde_check_header="ksharedptr.h"
31187
 
  kde_check_lib="libkio.la"
31188
 
fi
31189
 
 
31190
 
if test -z ""; then
31191
 
 
31192
 
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"
31193
 
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
31194
 
kde_incdirs="$ac_kde_includes $kde_incdirs"
31195
 
 
31196
 
kde_incdir=NO
31197
 
for i in $kde_incdirs;
31198
 
do
31199
 
  for j in $kde_check_header;
31200
 
  do
31201
 
    echo "configure: 31201: $i/$j" >&5
31202
 
    if test -r "$i/$j"; then
31203
 
      echo "taking that" >&5
31204
 
      kde_incdir=$i
31205
 
      break 2
31206
 
    fi
31207
 
  done
31208
 
done
31209
 
 
31210
 
ac_kde_includes="$kde_incdir"
31211
 
 
31212
 
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
31213
 
  { { echo "$as_me:$LINENO: error:
31214
 
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31215
 
So, check this please and use another prefix!" >&5
31216
 
echo "$as_me: error:
31217
 
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31218
 
So, check this please and use another prefix!" >&2;}
31219
 
   { (exit 1); exit 1; }; }
31220
 
fi
31221
 
 
31222
 
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}"
31223
 
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
31224
 
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
31225
 
 
31226
 
kde_libdir=NO
31227
 
for i in $kde_libdirs;
31228
 
do
31229
 
  for j in $kde_check_lib;
31230
 
  do
31231
 
    echo "configure: 31231: $i/$j" >&5
31232
 
    if test -r "$i/$j"; then
31233
 
      echo "taking that" >&5
31234
 
      kde_libdir=$i
31235
 
      break 2
31236
 
    fi
31237
 
  done
31238
 
done
31239
 
 
31240
 
ac_kde_libraries="$kde_libdir"
31241
 
 
31242
 
kde_widgetdir=NO
31243
 
 
31244
 
kde_widgetdir=NO
31245
 
for i in $kde_libdirs;
31246
 
do
31247
 
  for j in "kde3/plugins/designer/kdewidgets.la";
31248
 
  do
31249
 
    echo "configure: 31249: $i/$j" >&5
31250
 
    if test -r "$i/$j"; then
31251
 
      echo "taking that" >&5
31252
 
      kde_widgetdir=$i
31253
 
      break 2
31254
 
    fi
31255
 
  done
31256
 
done
31257
 
 
31258
 
 
31259
 
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
31260
 
{ { echo "$as_me:$LINENO: error:
31261
 
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31262
 
So, check this please and use another prefix!" >&5
31263
 
echo "$as_me: error:
31264
 
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31265
 
So, check this please and use another prefix!" >&2;}
31266
 
   { (exit 1); exit 1; }; }
31267
 
fi
31268
 
 
31269
 
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
31270
 
{ { echo "$as_me:$LINENO: error:
31271
 
I can't find the designer plugins. These are required and should have been installed
31272
 
by kdelibs" >&5
31273
 
echo "$as_me: error:
31274
 
I can't find the designer plugins. These are required and should have been installed
31275
 
by kdelibs" >&2;}
31276
 
   { (exit 1); exit 1; }; }
31277
 
fi
31278
 
 
31279
 
if test -n "$kde_widgetdir"; then
31280
 
    kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
31281
 
fi
31282
 
 
31283
 
 
31284
 
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
31285
 
  ac_cv_have_kde="have_kde=no"
31286
 
else
31287
 
  ac_cv_have_kde="have_kde=yes \
31288
 
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31289
 
fi
31290
 
 
31291
 
else
31292
 
  ac_cv_have_kde="have_kde=no"
31293
 
 
31294
 
fi
31295
 
 
31296
 
fi
31297
 
 
31298
 
eval "$ac_cv_have_kde"
31299
 
 
31300
 
if test "$have_kde" != "yes"; then
31301
 
 if test "${prefix}" = NONE; then
31302
 
  ac_kde_prefix="$ac_default_prefix"
31303
 
 else
31304
 
  ac_kde_prefix="$prefix"
31305
 
 fi
31306
 
 if test "$exec_prefix" = NONE; then
31307
 
  ac_kde_exec_prefix="$ac_kde_prefix"
31308
 
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
31309
 
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6; }
31310
 
 else
31311
 
  ac_kde_exec_prefix="$exec_prefix"
31312
 
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
31313
 
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6; }
31314
 
 fi
31315
 
 
31316
 
 kde_libraries="${libdir}"
31317
 
 kde_includes="${includedir}"
31318
 
 
31319
 
else
31320
 
  ac_cv_have_kde="have_kde=yes \
31321
 
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31322
 
  { echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
31323
 
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6; }
31324
 
 
31325
 
  kde_libraries="$ac_kde_libraries"
31326
 
  kde_includes="$ac_kde_includes"
31327
 
fi
31328
 
 
31329
 
 
31330
 
 
31331
 
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes"  || test "$kde_includes" = "/usr/include"; then
31332
 
 KDE_INCLUDES=""
31333
 
else
31334
 
 KDE_INCLUDES="-I$kde_includes"
31335
 
 all_includes="$KDE_INCLUDES $all_includes"
31336
 
fi
31337
 
 
31338
 
KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
31339
 
 
31340
 
KDE_LDFLAGS="-L$kde_libraries"
31341
 
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
31342
 
 all_libraries="$KDE_LDFLAGS $all_libraries"
31343
 
fi
31344
 
 
31345
 
 
31346
 
 
31347
 
 
31348
 
 
31349
 
 
31350
 
all_libraries="$all_libraries $USER_LDFLAGS"
31351
 
all_includes="$all_includes $USER_INCLUDES"
31352
 
 
31353
 
 
31354
 
 
31355
 
if test -z ""; then
31356
 
 
31357
 
 
31358
 
 
31359
 
if test x$ac_uic_supports_libpath = xyes; then
31360
 
 
31361
 
{ echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
31362
 
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6; }
31363
 
if test "${kde_cv_uic_plugins+set}" = set; then
31364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31365
 
else
31366
 
 
31367
 
cat > actest.ui << EOF
31368
 
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
31369
 
<class>NewConnectionDialog</class>
31370
 
<widget class="QDialog">
31371
 
   <widget class="KLineEdit">
31372
 
        <property name="name">
31373
 
           <cstring>testInput</cstring>
31374
 
        </property>
31375
 
   </widget>
31376
 
</widget>
31377
 
</UI>
31378
 
EOF
31379
 
 
31380
 
 
31381
 
 
31382
 
kde_cv_uic_plugins=no
31383
 
kde_line="$UIC_PATH -L $kde_widgetdir"
31384
 
if test x$ac_uic_supports_nounload = xyes; then
31385
 
   kde_line="$kde_line -nounload"
31386
 
fi
31387
 
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
31388
 
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
31389
 
  (eval $kde_line) 2>&5
31390
 
  ac_status=$?
31391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392
 
  (exit $ac_status); }; then
31393
 
        # if you're trying to debug this check and think it's incorrect,
31394
 
        # better check your installation. The check _is_ correct - your
31395
 
        # installation is not.
31396
 
        if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
31397
 
                kde_cv_uic_plugins=yes
31398
 
        fi
31399
 
fi
31400
 
rm -f actest.ui actest.cpp
31401
 
 
31402
 
fi
31403
 
 
31404
 
 
31405
 
{ echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
31406
 
echo "${ECHO_T}$kde_cv_uic_plugins" >&6; }
31407
 
if test "$kde_cv_uic_plugins" != yes; then
31408
 
        { { echo "$as_me:$LINENO: error:
31409
 
you need to install kdelibs first.
31410
 
 
31411
 
If you did install kdelibs, then the Qt version that is picked up by
31412
 
this configure is not the same version you used to compile kdelibs.
31413
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31414
 
_same Qt version_, compiled with the _same compiler_ and the same Qt
31415
 
configuration settings.
31416
 
" >&5
31417
 
echo "$as_me: error:
31418
 
you need to install kdelibs first.
31419
 
 
31420
 
If you did install kdelibs, then the Qt version that is picked up by
31421
 
this configure is not the same version you used to compile kdelibs.
31422
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31423
 
_same Qt version_, compiled with the _same compiler_ and the same Qt
31424
 
configuration settings.
31425
 
" >&2;}
31426
 
   { (exit 1); exit 1; }; }
31427
 
fi
31428
 
fi
31429
 
 
31430
 
fi
31431
 
 
31432
 
ac_kde_libraries="$kde_libdir"
31433
 
 
31434
 
 
31435
 
 
31436
 
 
31437
 
 
31438
 
  # Check whether --enable-path-check was given.
31439
 
if test "${enable_path_check+set}" = set; then
31440
 
  enableval=$enable_path_check;
31441
 
  if test "$enableval" = "no";
31442
 
    then ac_use_path_checking="default"
31443
 
    else ac_use_path_checking=""
31444
 
  fi
31445
 
 
31446
 
else
31447
 
 
31448
 
  if test "$kde_qtver" = 1;
31449
 
    then ac_use_path_checking=""
31450
 
    else ac_use_path_checking="default"
31451
 
  fi
31452
 
 
31453
 
 
31454
 
fi
31455
 
 
31456
 
 
31457
 
 
31458
 
 
31459
 
 
31460
 
{ echo "$as_me:$LINENO: checking for KDE paths" >&5
31461
 
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6; }
31462
 
kde_result=""
31463
 
kde_cached_paths=yes
31464
 
if test "${kde_cv_all_paths+set}" = set; then
31465
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31466
 
else
31467
 
 
31468
 
 
31469
 
if test "$ac_use_path_checking" = "default"; then
31470
 
 
31471
 
  if test -z "$kde_htmldir"; then
31472
 
    kde_htmldir='\${datadir}/doc/HTML'
31473
 
  fi
31474
 
  if test -z "$kde_appsdir"; then
31475
 
    kde_appsdir='\${datadir}/applnk'
31476
 
  fi
31477
 
  if test -z "$kde_icondir"; then
31478
 
    kde_icondir='\${datadir}/icons'
31479
 
  fi
31480
 
  if test -z "$kde_sounddir"; then
31481
 
    kde_sounddir='\${datadir}/sounds'
31482
 
  fi
31483
 
  if test -z "$kde_datadir"; then
31484
 
    kde_datadir='\${datadir}/apps'
31485
 
  fi
31486
 
  if test -z "$kde_locale"; then
31487
 
    kde_locale='\${datadir}/locale'
31488
 
  fi
31489
 
  if test -z "$kde_cgidir"; then
31490
 
    kde_cgidir='\${exec_prefix}/cgi-bin'
31491
 
  fi
31492
 
  if test -z "$kde_confdir"; then
31493
 
    kde_confdir='\${datadir}/config'
31494
 
  fi
31495
 
  if test -z "$kde_kcfgdir"; then
31496
 
    kde_kcfgdir='\${datadir}/config.kcfg'
31497
 
  fi
31498
 
  if test -z "$kde_mimedir"; then
31499
 
    kde_mimedir='\${datadir}/mimelnk'
31500
 
  fi
31501
 
  if test -z "$kde_toolbardir"; then
31502
 
    kde_toolbardir='\${datadir}/toolbar'
31503
 
  fi
31504
 
  if test -z "$kde_wallpaperdir"; then
31505
 
    kde_wallpaperdir='\${datadir}/wallpapers'
31506
 
  fi
31507
 
  if test -z "$kde_templatesdir"; then
31508
 
    kde_templatesdir='\${datadir}/templates'
31509
 
  fi
31510
 
  if test -z "$kde_bindir"; then
31511
 
    kde_bindir='\${exec_prefix}/bin'
31512
 
  fi
31513
 
  if test -z "$kde_servicesdir"; then
31514
 
    kde_servicesdir='\${datadir}/services'
31515
 
  fi
31516
 
  if test -z "$kde_servicetypesdir"; then
31517
 
    kde_servicetypesdir='\${datadir}/servicetypes'
31518
 
  fi
31519
 
  if test -z "$kde_moduledir"; then
31520
 
    if test "$kde_qtver" = "2"; then
31521
 
      kde_moduledir='\${libdir}/kde2'
31522
 
    else
31523
 
      kde_moduledir='\${libdir}/kde3'
31524
 
    fi
31525
 
  fi
31526
 
  if test -z "$kde_styledir"; then
31527
 
    kde_styledir='\${libdir}/kde3/plugins/styles'
31528
 
  fi
31529
 
  if test -z "$kde_widgetdir"; then
31530
 
    kde_widgetdir='\${libdir}/kde3/plugins/designer'
31531
 
  fi
31532
 
  if test -z "$xdg_appsdir"; then
31533
 
    xdg_appsdir='\${datadir}/applications/kde'
31534
 
  fi
31535
 
  if test -z "$xdg_menudir"; then
31536
 
    xdg_menudir='\${sysconfdir}/xdg/menus'
31537
 
  fi
31538
 
  if test -z "$xdg_directorydir"; then
31539
 
    xdg_directorydir='\${datadir}/desktop-directories'
31540
 
  fi
31541
 
 
31542
 
 
31543
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31544
 
        kde_htmldir=\"$kde_htmldir\" \
31545
 
        kde_appsdir=\"$kde_appsdir\" \
31546
 
        kde_icondir=\"$kde_icondir\" \
31547
 
        kde_sounddir=\"$kde_sounddir\" \
31548
 
        kde_datadir=\"$kde_datadir\" \
31549
 
        kde_locale=\"$kde_locale\" \
31550
 
        kde_cgidir=\"$kde_cgidir\" \
31551
 
        kde_confdir=\"$kde_confdir\" \
31552
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31553
 
        kde_mimedir=\"$kde_mimedir\" \
31554
 
        kde_toolbardir=\"$kde_toolbardir\" \
31555
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31556
 
        kde_templatesdir=\"$kde_templatesdir\" \
31557
 
        kde_bindir=\"$kde_bindir\" \
31558
 
        kde_servicesdir=\"$kde_servicesdir\" \
31559
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31560
 
        kde_moduledir=\"$kde_moduledir\" \
31561
 
        kde_styledir=\"$kde_styledir\" \
31562
 
        kde_widgetdir=\"$kde_widgetdir\" \
31563
 
        xdg_appsdir=\"$xdg_appsdir\" \
31564
 
        xdg_menudir=\"$xdg_menudir\" \
31565
 
        xdg_directorydir=\"$xdg_directorydir\" \
31566
 
        kde_result=defaults"
31567
 
 
31568
 
 
31569
 
else
31570
 
 
31571
 
  if test $kde_qtver = 1; then
31572
 
     { echo "$as_me:$LINENO: result: compiling" >&5
31573
 
echo "${ECHO_T}compiling" >&6; }
31574
 
 
31575
 
 
31576
 
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31577
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31578
 
 
31579
 
     ac_ext=cpp
31580
 
ac_cpp='$CXXCPP $CPPFLAGS'
31581
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31582
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31583
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31584
 
 
31585
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31586
 
 
31587
 
 
31588
 
cat > conftest.$ac_ext <<EOF
31589
 
#ifdef STDC_HEADERS
31590
 
# include <stdlib.h>
31591
 
#endif
31592
 
#include <stdio.h>
31593
 
#include "confdefs.h"
31594
 
#include <kapp.h>
31595
 
 
31596
 
int main() {
31597
 
    printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31598
 
    printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31599
 
    printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31600
 
    printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31601
 
    printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31602
 
    printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31603
 
    printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31604
 
    printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31605
 
    printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31606
 
    printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31607
 
    printf("kde_wallpaperdir=\\"%s\\"\n",
31608
 
        KApplication::kde_wallpaperdir().data());
31609
 
    printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31610
 
    printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31611
 
    printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31612
 
    printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31613
 
    printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31614
 
    printf("kde_styledir=\\"/tmp/dummy\\"\n");
31615
 
    printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31616
 
    printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31617
 
    printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31618
 
    printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31619
 
    printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31620
 
    return 0;
31621
 
    }
31622
 
EOF
31623
 
 
31624
 
 ac_save_CPPFLAGS=$CPPFLAGS
31625
 
 CPPFLAGS="$all_includes $CPPFLAGS"
31626
 
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31627
 
  (eval $ac_compile) 2>&5
31628
 
  ac_status=$?
31629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630
 
  (exit $ac_status); }; then
31631
 
   { echo "$as_me:$LINENO: result: yes" >&5
31632
 
echo "${ECHO_T}yes" >&6; }
31633
 
 else
31634
 
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31635
 
Check, if you installed the KDE header files correctly.
31636
 
For more details about this problem, look at the end of config.log." >&5
31637
 
echo "$as_me: error: your system is not able to compile a small KDE application!
31638
 
Check, if you installed the KDE header files correctly.
31639
 
For more details about this problem, look at the end of config.log." >&2;}
31640
 
   { (exit 1); exit 1; }; }
31641
 
  fi
31642
 
  CPPFLAGS=$ac_save_CPPFLAGS
31643
 
 
31644
 
  ac_ext=c
31645
 
ac_cpp='$CPP $CPPFLAGS'
31646
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31649
 
 
31650
 
 
31651
 
 
31652
 
  KDE_TEST_RPATH=
31653
 
 
31654
 
  if test -n "$USE_RPATH"; then
31655
 
 
31656
 
     if test -n "$kde_libraries"; then
31657
 
       KDE_TEST_RPATH="-R $kde_libraries"
31658
 
     fi
31659
 
 
31660
 
     if test -n "$qt_libraries"; then
31661
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31662
 
     fi
31663
 
 
31664
 
     if test -n "$x_libraries"; then
31665
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31666
 
     fi
31667
 
 
31668
 
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31669
 
  fi
31670
 
 
31671
 
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31672
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31673
 
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'
31674
 
 
31675
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31676
 
  (eval $ac_link) 2>&5
31677
 
  ac_status=$?
31678
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679
 
  (exit $ac_status); } && test -s conftest; then
31680
 
  { echo "$as_me:$LINENO: result: yes" >&5
31681
 
echo "${ECHO_T}yes" >&6; }
31682
 
else
31683
 
  { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31684
 
Check, if your compiler is installed correctly and if you have used the
31685
 
same compiler to compile Qt and kdelibs as you did use now.
31686
 
For more details about this problem, look at the end of config.log." >&5
31687
 
echo "$as_me: error: your system fails at linking a small KDE application!
31688
 
Check, if your compiler is installed correctly and if you have used the
31689
 
same compiler to compile Qt and kdelibs as you did use now.
31690
 
For more details about this problem, look at the end of config.log." >&2;}
31691
 
   { (exit 1); exit 1; }; }
31692
 
fi
31693
 
 
31694
 
if eval `KDEDIR= ./conftest 2>&5`; then
31695
 
  kde_result=done
31696
 
else
31697
 
  kde_result=problems
31698
 
fi
31699
 
 
31700
 
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31701
 
kde_have_all_paths=yes
31702
 
 
31703
 
 
31704
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31705
 
        kde_htmldir=\"$kde_htmldir\" \
31706
 
        kde_appsdir=\"$kde_appsdir\" \
31707
 
        kde_icondir=\"$kde_icondir\" \
31708
 
        kde_sounddir=\"$kde_sounddir\" \
31709
 
        kde_datadir=\"$kde_datadir\" \
31710
 
        kde_locale=\"$kde_locale\" \
31711
 
        kde_cgidir=\"$kde_cgidir\" \
31712
 
        kde_confdir=\"$kde_confdir\" \
31713
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31714
 
        kde_mimedir=\"$kde_mimedir\" \
31715
 
        kde_toolbardir=\"$kde_toolbardir\" \
31716
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31717
 
        kde_templatesdir=\"$kde_templatesdir\" \
31718
 
        kde_bindir=\"$kde_bindir\" \
31719
 
        kde_servicesdir=\"$kde_servicesdir\" \
31720
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31721
 
        kde_moduledir=\"$kde_moduledir\" \
31722
 
        kde_styledir=\"$kde_styledir\" \
31723
 
        kde_widgetdir=\"$kde_widgetdir\" \
31724
 
        xdg_appsdir=\"$xdg_appsdir\" \
31725
 
        xdg_menudir=\"$xdg_menudir\" \
31726
 
        xdg_directorydir=\"$xdg_directorydir\" \
31727
 
        kde_result=$kde_result"
31728
 
 
31729
 
 
31730
 
 
31731
 
  else
31732
 
     { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31733
 
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31734
 
   { (exit 1); exit 1; }; }
31735
 
  fi
31736
 
 
31737
 
fi
31738
 
 
31739
 
  kde_cached_paths=no
31740
 
 
31741
 
fi
31742
 
 
31743
 
eval "$kde_cv_all_paths"
31744
 
 if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
31745
 
   test -z "$kde_icondir" || test -z "$kde_sounddir" ||
31746
 
   test -z "$kde_datadir" || test -z "$kde_locale"  ||
31747
 
   test -z "$kde_cgidir"  || test -z "$kde_confdir" ||
31748
 
   test -z "$kde_kcfgdir" ||
31749
 
   test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
31750
 
   test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
31751
 
   test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
31752
 
   test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
31753
 
   test -z "$kde_styledir" || test -z "kde_widgetdir" ||
31754
 
   test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
31755
 
   test "x$kde_have_all_paths" != "xyes"; then
31756
 
     kde_have_all_paths=no
31757
 
  fi
31758
 
 
31759
 
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
31760
 
  # wrong values were cached, may be, we can set better ones
31761
 
  kde_result=
31762
 
  kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
31763
 
  kde_datadir= kde_locale=  kde_cgidir=  kde_confdir= kde_kcfgdir=
31764
 
  kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
31765
 
  kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
31766
 
  kde_have_all_paths=
31767
 
  kde_styledir=
31768
 
  kde_widgetdir=
31769
 
  xdg_appsdir = xdg_menudir= xdg_directorydir=
31770
 
 
31771
 
if test "$ac_use_path_checking" = "default"; then
31772
 
 
31773
 
  if test -z "$kde_htmldir"; then
31774
 
    kde_htmldir='\${datadir}/doc/HTML'
31775
 
  fi
31776
 
  if test -z "$kde_appsdir"; then
31777
 
    kde_appsdir='\${datadir}/applnk'
31778
 
  fi
31779
 
  if test -z "$kde_icondir"; then
31780
 
    kde_icondir='\${datadir}/icons'
31781
 
  fi
31782
 
  if test -z "$kde_sounddir"; then
31783
 
    kde_sounddir='\${datadir}/sounds'
31784
 
  fi
31785
 
  if test -z "$kde_datadir"; then
31786
 
    kde_datadir='\${datadir}/apps'
31787
 
  fi
31788
 
  if test -z "$kde_locale"; then
31789
 
    kde_locale='\${datadir}/locale'
31790
 
  fi
31791
 
  if test -z "$kde_cgidir"; then
31792
 
    kde_cgidir='\${exec_prefix}/cgi-bin'
31793
 
  fi
31794
 
  if test -z "$kde_confdir"; then
31795
 
    kde_confdir='\${datadir}/config'
31796
 
  fi
31797
 
  if test -z "$kde_kcfgdir"; then
31798
 
    kde_kcfgdir='\${datadir}/config.kcfg'
31799
 
  fi
31800
 
  if test -z "$kde_mimedir"; then
31801
 
    kde_mimedir='\${datadir}/mimelnk'
31802
 
  fi
31803
 
  if test -z "$kde_toolbardir"; then
31804
 
    kde_toolbardir='\${datadir}/toolbar'
31805
 
  fi
31806
 
  if test -z "$kde_wallpaperdir"; then
31807
 
    kde_wallpaperdir='\${datadir}/wallpapers'
31808
 
  fi
31809
 
  if test -z "$kde_templatesdir"; then
31810
 
    kde_templatesdir='\${datadir}/templates'
31811
 
  fi
31812
 
  if test -z "$kde_bindir"; then
31813
 
    kde_bindir='\${exec_prefix}/bin'
31814
 
  fi
31815
 
  if test -z "$kde_servicesdir"; then
31816
 
    kde_servicesdir='\${datadir}/services'
31817
 
  fi
31818
 
  if test -z "$kde_servicetypesdir"; then
31819
 
    kde_servicetypesdir='\${datadir}/servicetypes'
31820
 
  fi
31821
 
  if test -z "$kde_moduledir"; then
31822
 
    if test "$kde_qtver" = "2"; then
31823
 
      kde_moduledir='\${libdir}/kde2'
31824
 
    else
31825
 
      kde_moduledir='\${libdir}/kde3'
31826
 
    fi
31827
 
  fi
31828
 
  if test -z "$kde_styledir"; then
31829
 
    kde_styledir='\${libdir}/kde3/plugins/styles'
31830
 
  fi
31831
 
  if test -z "$kde_widgetdir"; then
31832
 
    kde_widgetdir='\${libdir}/kde3/plugins/designer'
31833
 
  fi
31834
 
  if test -z "$xdg_appsdir"; then
31835
 
    xdg_appsdir='\${datadir}/applications/kde'
31836
 
  fi
31837
 
  if test -z "$xdg_menudir"; then
31838
 
    xdg_menudir='\${sysconfdir}/xdg/menus'
31839
 
  fi
31840
 
  if test -z "$xdg_directorydir"; then
31841
 
    xdg_directorydir='\${datadir}/desktop-directories'
31842
 
  fi
31843
 
 
31844
 
 
31845
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31846
 
        kde_htmldir=\"$kde_htmldir\" \
31847
 
        kde_appsdir=\"$kde_appsdir\" \
31848
 
        kde_icondir=\"$kde_icondir\" \
31849
 
        kde_sounddir=\"$kde_sounddir\" \
31850
 
        kde_datadir=\"$kde_datadir\" \
31851
 
        kde_locale=\"$kde_locale\" \
31852
 
        kde_cgidir=\"$kde_cgidir\" \
31853
 
        kde_confdir=\"$kde_confdir\" \
31854
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31855
 
        kde_mimedir=\"$kde_mimedir\" \
31856
 
        kde_toolbardir=\"$kde_toolbardir\" \
31857
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31858
 
        kde_templatesdir=\"$kde_templatesdir\" \
31859
 
        kde_bindir=\"$kde_bindir\" \
31860
 
        kde_servicesdir=\"$kde_servicesdir\" \
31861
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31862
 
        kde_moduledir=\"$kde_moduledir\" \
31863
 
        kde_styledir=\"$kde_styledir\" \
31864
 
        kde_widgetdir=\"$kde_widgetdir\" \
31865
 
        xdg_appsdir=\"$xdg_appsdir\" \
31866
 
        xdg_menudir=\"$xdg_menudir\" \
31867
 
        xdg_directorydir=\"$xdg_directorydir\" \
31868
 
        kde_result=defaults"
31869
 
 
31870
 
 
31871
 
else
31872
 
 
31873
 
  if test $kde_qtver = 1; then
31874
 
     { echo "$as_me:$LINENO: result: compiling" >&5
31875
 
echo "${ECHO_T}compiling" >&6; }
31876
 
 
31877
 
 
31878
 
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31879
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31880
 
 
31881
 
     ac_ext=cpp
31882
 
ac_cpp='$CXXCPP $CPPFLAGS'
31883
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31884
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31885
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31886
 
 
31887
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31888
 
 
31889
 
 
31890
 
cat > conftest.$ac_ext <<EOF
31891
 
#ifdef STDC_HEADERS
31892
 
# include <stdlib.h>
31893
 
#endif
31894
 
#include <stdio.h>
31895
 
#include "confdefs.h"
31896
 
#include <kapp.h>
31897
 
 
31898
 
int main() {
31899
 
    printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31900
 
    printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31901
 
    printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31902
 
    printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31903
 
    printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31904
 
    printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31905
 
    printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31906
 
    printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31907
 
    printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31908
 
    printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31909
 
    printf("kde_wallpaperdir=\\"%s\\"\n",
31910
 
        KApplication::kde_wallpaperdir().data());
31911
 
    printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31912
 
    printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31913
 
    printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31914
 
    printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31915
 
    printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31916
 
    printf("kde_styledir=\\"/tmp/dummy\\"\n");
31917
 
    printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31918
 
    printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31919
 
    printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31920
 
    printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31921
 
    printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31922
 
    return 0;
31923
 
    }
31924
 
EOF
31925
 
 
31926
 
 ac_save_CPPFLAGS=$CPPFLAGS
31927
 
 CPPFLAGS="$all_includes $CPPFLAGS"
31928
 
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31929
 
  (eval $ac_compile) 2>&5
31930
 
  ac_status=$?
31931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932
 
  (exit $ac_status); }; then
31933
 
   { echo "$as_me:$LINENO: result: yes" >&5
31934
 
echo "${ECHO_T}yes" >&6; }
31935
 
 else
31936
 
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31937
 
Check, if you installed the KDE header files correctly.
31938
 
For more details about this problem, look at the end of config.log." >&5
31939
 
echo "$as_me: error: your system is not able to compile a small KDE application!
31940
 
Check, if you installed the KDE header files correctly.
31941
 
For more details about this problem, look at the end of config.log." >&2;}
31942
 
   { (exit 1); exit 1; }; }
31943
 
  fi
31944
 
  CPPFLAGS=$ac_save_CPPFLAGS
31945
 
 
31946
 
  ac_ext=c
31947
 
ac_cpp='$CPP $CPPFLAGS'
31948
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31949
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31950
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31951
 
 
31952
 
 
31953
 
 
31954
 
  KDE_TEST_RPATH=
31955
 
 
31956
 
  if test -n "$USE_RPATH"; then
31957
 
 
31958
 
     if test -n "$kde_libraries"; then
31959
 
       KDE_TEST_RPATH="-R $kde_libraries"
31960
 
     fi
31961
 
 
31962
 
     if test -n "$qt_libraries"; then
31963
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31964
 
     fi
31965
 
 
31966
 
     if test -n "$x_libraries"; then
31967
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31968
 
     fi
31969
 
 
31970
 
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31971
 
  fi
31972
 
 
31973
 
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31974
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31975
 
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'
31976
 
 
31977
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31978
 
  (eval $ac_link) 2>&5
31979
 
  ac_status=$?
31980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981
 
  (exit $ac_status); } && test -s conftest; then
31982
 
  { echo "$as_me:$LINENO: result: yes" >&5
31983
 
echo "${ECHO_T}yes" >&6; }
31984
 
else
31985
 
  { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31986
 
Check, if your compiler is installed correctly and if you have used the
31987
 
same compiler to compile Qt and kdelibs as you did use now.
31988
 
For more details about this problem, look at the end of config.log." >&5
31989
 
echo "$as_me: error: your system fails at linking a small KDE application!
31990
 
Check, if your compiler is installed correctly and if you have used the
31991
 
same compiler to compile Qt and kdelibs as you did use now.
31992
 
For more details about this problem, look at the end of config.log." >&2;}
31993
 
   { (exit 1); exit 1; }; }
31994
 
fi
31995
 
 
31996
 
if eval `KDEDIR= ./conftest 2>&5`; then
31997
 
  kde_result=done
31998
 
else
31999
 
  kde_result=problems
32000
 
fi
32001
 
 
32002
 
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
32003
 
kde_have_all_paths=yes
32004
 
 
32005
 
 
32006
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
32007
 
        kde_htmldir=\"$kde_htmldir\" \
32008
 
        kde_appsdir=\"$kde_appsdir\" \
32009
 
        kde_icondir=\"$kde_icondir\" \
32010
 
        kde_sounddir=\"$kde_sounddir\" \
32011
 
        kde_datadir=\"$kde_datadir\" \
32012
 
        kde_locale=\"$kde_locale\" \
32013
 
        kde_cgidir=\"$kde_cgidir\" \
32014
 
        kde_confdir=\"$kde_confdir\" \
32015
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
32016
 
        kde_mimedir=\"$kde_mimedir\" \
32017
 
        kde_toolbardir=\"$kde_toolbardir\" \
32018
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
32019
 
        kde_templatesdir=\"$kde_templatesdir\" \
32020
 
        kde_bindir=\"$kde_bindir\" \
32021
 
        kde_servicesdir=\"$kde_servicesdir\" \
32022
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
32023
 
        kde_moduledir=\"$kde_moduledir\" \
32024
 
        kde_styledir=\"$kde_styledir\" \
32025
 
        kde_widgetdir=\"$kde_widgetdir\" \
32026
 
        xdg_appsdir=\"$xdg_appsdir\" \
32027
 
        xdg_menudir=\"$xdg_menudir\" \
32028
 
        xdg_directorydir=\"$xdg_directorydir\" \
32029
 
        kde_result=$kde_result"
32030
 
 
32031
 
 
32032
 
 
32033
 
  else
32034
 
     { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
32035
 
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
32036
 
   { (exit 1); exit 1; }; }
32037
 
  fi
32038
 
 
32039
 
fi
32040
 
 
32041
 
  eval "$kde_cv_all_paths"
32042
 
   if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
32043
 
   test -z "$kde_icondir" || test -z "$kde_sounddir" ||
32044
 
   test -z "$kde_datadir" || test -z "$kde_locale"  ||
32045
 
   test -z "$kde_cgidir"  || test -z "$kde_confdir" ||
32046
 
   test -z "$kde_kcfgdir" ||
32047
 
   test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
32048
 
   test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
32049
 
   test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
32050
 
   test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
32051
 
   test -z "$kde_styledir" || test -z "kde_widgetdir" ||
32052
 
   test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
32053
 
   test "x$kde_have_all_paths" != "xyes"; then
32054
 
     kde_have_all_paths=no
32055
 
  fi
32056
 
 
32057
 
  kde_result="$kde_result (cache overridden)"
32058
 
fi
32059
 
if test "$kde_have_all_paths" = "no"; then
32060
 
  { { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
32061
 
Since it had compiled and linked before, it must be a strange problem on your system.
32062
 
Look at config.log for details. If you are not able to fix this, look at
32063
 
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32064
 
(If you're using an egcs version on Linux, you may update binutils!)
32065
 
" >&5
32066
 
echo "$as_me: error: configure could not run a little KDE program to test the environment.
32067
 
Since it had compiled and linked before, it must be a strange problem on your system.
32068
 
Look at config.log for details. If you are not able to fix this, look at
32069
 
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32070
 
(If you're using an egcs version on Linux, you may update binutils!)
32071
 
" >&2;}
32072
 
   { (exit 1); exit 1; }; }
32073
 
else
32074
 
  rm -f conftest*
32075
 
  { echo "$as_me:$LINENO: result: $kde_result" >&5
32076
 
echo "${ECHO_T}$kde_result" >&6; }
32077
 
fi
32078
 
 
32079
 
bindir=$kde_bindir
32080
 
 
32081
 
 
32082
 
 
32083
 
# Check whether --with-arts was given.
32084
 
if test "${with_arts+set}" = set; then
32085
 
  withval=$with_arts; build_arts=$withval
32086
 
else
32087
 
  build_arts=yes
32088
 
 
32089
 
fi
32090
 
 
32091
 
     if test "$build_arts" '!=' "no"; then
32092
 
  include_ARTS_TRUE=
32093
 
  include_ARTS_FALSE='#'
32094
 
else
32095
 
  include_ARTS_TRUE='#'
32096
 
  include_ARTS_FALSE=
32097
 
fi
32098
 
 
32099
 
    if test "$build_arts" = "no"; then
32100
 
 
32101
 
cat >>confdefs.h <<\_ACEOF
32102
 
#define WITHOUT_ARTS 1
32103
 
_ACEOF
32104
 
 
32105
 
    fi
32106
 
 
32107
 
 
32108
 
    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"
32109
 
    test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
32110
 
    if test -n "$KDEDIRS"; then
32111
 
       kde_save_IFS=$IFS
32112
 
       IFS=:
32113
 
       for dir in $KDEDIRS; do
32114
 
            kde_default_bindirs="$dir/bin $kde_default_bindirs "
32115
 
       done
32116
 
       IFS=$kde_save_IFS
32117
 
    fi
32118
 
 
32119
 
        kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
32120
 
 
32121
 
   { echo "$as_me:$LINENO: checking for dcopidl" >&5
32122
 
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6; }
32123
 
   if test -n "$DCOPIDL"; then
32124
 
        kde_cv_path="$DCOPIDL";
32125
 
   else
32126
 
        kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
32127
 
 
32128
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32129
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32130
 
else
32131
 
 
32132
 
        kde_cv_path="NONE"
32133
 
        kde_save_IFS=$IFS
32134
 
        IFS=':'
32135
 
        dirs=""
32136
 
        for dir in $PATH; do
32137
 
          dirs="$dirs $dir"
32138
 
        done
32139
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32140
 
        else      dirs="$dirs $kde_default_bindirs"
32141
 
        fi
32142
 
        IFS=$kde_save_IFS
32143
 
 
32144
 
        for dir in $dirs; do
32145
 
          if test -x "$dir/dcopidl"; then
32146
 
            if test -n ""
32147
 
            then
32148
 
              evalstr="$dir/dcopidl  2>&1 "
32149
 
              if eval $evalstr; then
32150
 
                kde_cv_path="$dir/dcopidl"
32151
 
                break
32152
 
              fi
32153
 
            else
32154
 
                kde_cv_path="$dir/dcopidl"
32155
 
                break
32156
 
            fi
32157
 
          fi
32158
 
        done
32159
 
 
32160
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32161
 
 
32162
 
 
32163
 
fi
32164
 
 
32165
 
 
32166
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32167
 
 
32168
 
   fi
32169
 
 
32170
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32171
 
      { echo "$as_me:$LINENO: result: not found" >&5
32172
 
echo "${ECHO_T}not found" >&6; }
32173
 
 
32174
 
    { { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
32175
 
Please check whether you installed KDE correctly.
32176
 
" >&5
32177
 
echo "$as_me: error: The important program dcopidl was not found!
32178
 
Please check whether you installed KDE correctly.
32179
 
" >&2;}
32180
 
   { (exit 1); exit 1; }; }
32181
 
 
32182
 
   else
32183
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32184
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32185
 
      DCOPIDL=$kde_cv_path
32186
 
 
32187
 
   fi
32188
 
 
32189
 
 
32190
 
   { echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
32191
 
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6; }
32192
 
   if test -n "$DCOPIDL2CPP"; then
32193
 
        kde_cv_path="$DCOPIDL2CPP";
32194
 
   else
32195
 
        kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
32196
 
 
32197
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32198
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32199
 
else
32200
 
 
32201
 
        kde_cv_path="NONE"
32202
 
        kde_save_IFS=$IFS
32203
 
        IFS=':'
32204
 
        dirs=""
32205
 
        for dir in $PATH; do
32206
 
          dirs="$dirs $dir"
32207
 
        done
32208
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32209
 
        else      dirs="$dirs $kde_default_bindirs"
32210
 
        fi
32211
 
        IFS=$kde_save_IFS
32212
 
 
32213
 
        for dir in $dirs; do
32214
 
          if test -x "$dir/dcopidl2cpp"; then
32215
 
            if test -n ""
32216
 
            then
32217
 
              evalstr="$dir/dcopidl2cpp  2>&1 "
32218
 
              if eval $evalstr; then
32219
 
                kde_cv_path="$dir/dcopidl2cpp"
32220
 
                break
32221
 
              fi
32222
 
            else
32223
 
                kde_cv_path="$dir/dcopidl2cpp"
32224
 
                break
32225
 
            fi
32226
 
          fi
32227
 
        done
32228
 
 
32229
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32230
 
 
32231
 
 
32232
 
fi
32233
 
 
32234
 
 
32235
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32236
 
 
32237
 
   fi
32238
 
 
32239
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32240
 
      { echo "$as_me:$LINENO: result: not found" >&5
32241
 
echo "${ECHO_T}not found" >&6; }
32242
 
 
32243
 
    { { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
32244
 
Please check whether you installed KDE correctly.
32245
 
" >&5
32246
 
echo "$as_me: error: The important program dcopidl2cpp was not found!
32247
 
Please check whether you installed KDE correctly.
32248
 
" >&2;}
32249
 
   { (exit 1); exit 1; }; }
32250
 
 
32251
 
   else
32252
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32253
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32254
 
      DCOPIDL2CPP=$kde_cv_path
32255
 
 
32256
 
   fi
32257
 
 
32258
 
        if test "$build_arts" '!=' "no"; then
32259
 
 
32260
 
   { echo "$as_me:$LINENO: checking for mcopidl" >&5
32261
 
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6; }
32262
 
   if test -n "$MCOPIDL"; then
32263
 
        kde_cv_path="$MCOPIDL";
32264
 
   else
32265
 
        kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
32266
 
 
32267
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32268
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32269
 
else
32270
 
 
32271
 
        kde_cv_path="NONE"
32272
 
        kde_save_IFS=$IFS
32273
 
        IFS=':'
32274
 
        dirs=""
32275
 
        for dir in $PATH; do
32276
 
          dirs="$dirs $dir"
32277
 
        done
32278
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32279
 
        else      dirs="$dirs $kde_default_bindirs"
32280
 
        fi
32281
 
        IFS=$kde_save_IFS
32282
 
 
32283
 
        for dir in $dirs; do
32284
 
          if test -x "$dir/mcopidl"; then
32285
 
            if test -n ""
32286
 
            then
32287
 
              evalstr="$dir/mcopidl  2>&1 "
32288
 
              if eval $evalstr; then
32289
 
                kde_cv_path="$dir/mcopidl"
32290
 
                break
32291
 
              fi
32292
 
            else
32293
 
                kde_cv_path="$dir/mcopidl"
32294
 
                break
32295
 
            fi
32296
 
          fi
32297
 
        done
32298
 
 
32299
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32300
 
 
32301
 
 
32302
 
fi
32303
 
 
32304
 
 
32305
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32306
 
 
32307
 
   fi
32308
 
 
32309
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32310
 
      { echo "$as_me:$LINENO: result: not found" >&5
32311
 
echo "${ECHO_T}not found" >&6; }
32312
 
 
32313
 
    { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
32314
 
Please check whether you installed aRts correctly or use
32315
 
--without-arts to compile without aRts support (this will remove functionality).
32316
 
" >&5
32317
 
echo "$as_me: error: The important program mcopidl was not found!
32318
 
Please check whether you installed aRts correctly or use
32319
 
--without-arts to compile without aRts support (this will remove functionality).
32320
 
" >&2;}
32321
 
   { (exit 1); exit 1; }; }
32322
 
 
32323
 
   else
32324
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32325
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32326
 
      MCOPIDL=$kde_cv_path
32327
 
 
32328
 
   fi
32329
 
 
32330
 
 
32331
 
   { echo "$as_me:$LINENO: checking for artsc-config" >&5
32332
 
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6; }
32333
 
   if test -n "$ARTSCCONFIG"; then
32334
 
        kde_cv_path="$ARTSCCONFIG";
32335
 
   else
32336
 
        kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
32337
 
 
32338
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32339
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32340
 
else
32341
 
 
32342
 
        kde_cv_path="NONE"
32343
 
        kde_save_IFS=$IFS
32344
 
        IFS=':'
32345
 
        dirs=""
32346
 
        for dir in $PATH; do
32347
 
          dirs="$dirs $dir"
32348
 
        done
32349
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32350
 
        else      dirs="$dirs $kde_default_bindirs"
32351
 
        fi
32352
 
        IFS=$kde_save_IFS
32353
 
 
32354
 
        for dir in $dirs; do
32355
 
          if test -x "$dir/artsc-config"; then
32356
 
            if test -n ""
32357
 
            then
32358
 
              evalstr="$dir/artsc-config  2>&1 "
32359
 
              if eval $evalstr; then
32360
 
                kde_cv_path="$dir/artsc-config"
32361
 
                break
32362
 
              fi
32363
 
            else
32364
 
                kde_cv_path="$dir/artsc-config"
32365
 
                break
32366
 
            fi
32367
 
          fi
32368
 
        done
32369
 
 
32370
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32371
 
 
32372
 
 
32373
 
fi
32374
 
 
32375
 
 
32376
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32377
 
 
32378
 
   fi
32379
 
 
32380
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32381
 
      { echo "$as_me:$LINENO: result: not found" >&5
32382
 
echo "${ECHO_T}not found" >&6; }
32383
 
 
32384
 
    { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
32385
 
Please check whether you installed aRts correctly or use
32386
 
--without-arts to compile without aRts support (this will remove functionality).
32387
 
" >&5
32388
 
echo "$as_me: error: The important program artsc-config was not found!
32389
 
Please check whether you installed aRts correctly or use
32390
 
--without-arts to compile without aRts support (this will remove functionality).
32391
 
" >&2;}
32392
 
   { (exit 1); exit 1; }; }
32393
 
 
32394
 
   else
32395
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32396
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32397
 
      ARTSCCONFIG=$kde_cv_path
32398
 
 
32399
 
   fi
32400
 
 
32401
 
        fi
32402
 
 
32403
 
   { echo "$as_me:$LINENO: checking for meinproc" >&5
32404
 
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6; }
32405
 
   if test -n "$MEINPROC"; then
32406
 
        kde_cv_path="$MEINPROC";
32407
 
   else
32408
 
        kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
32409
 
 
32410
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32411
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32412
 
else
32413
 
 
32414
 
        kde_cv_path="NONE"
32415
 
        kde_save_IFS=$IFS
32416
 
        IFS=':'
32417
 
        dirs=""
32418
 
        for dir in $PATH; do
32419
 
          dirs="$dirs $dir"
32420
 
        done
32421
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32422
 
        else      dirs="$dirs $kde_default_bindirs"
32423
 
        fi
32424
 
        IFS=$kde_save_IFS
32425
 
 
32426
 
        for dir in $dirs; do
32427
 
          if test -x "$dir/meinproc"; then
32428
 
            if test -n ""
32429
 
            then
32430
 
              evalstr="$dir/meinproc  2>&1 "
32431
 
              if eval $evalstr; then
32432
 
                kde_cv_path="$dir/meinproc"
32433
 
                break
32434
 
              fi
32435
 
            else
32436
 
                kde_cv_path="$dir/meinproc"
32437
 
                break
32438
 
            fi
32439
 
          fi
32440
 
        done
32441
 
 
32442
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32443
 
 
32444
 
 
32445
 
fi
32446
 
 
32447
 
 
32448
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32449
 
 
32450
 
   fi
32451
 
 
32452
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32453
 
      { echo "$as_me:$LINENO: result: not found" >&5
32454
 
echo "${ECHO_T}not found" >&6; }
32455
 
 
32456
 
   else
32457
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32458
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32459
 
      MEINPROC=$kde_cv_path
32460
 
 
32461
 
   fi
32462
 
 
32463
 
 
32464
 
        kde32ornewer=1
32465
 
        kde33ornewer=1
32466
 
        if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
32467
 
            kde32ornewer=
32468
 
            kde33ornewer=
32469
 
        else
32470
 
            if test "$kde_qtver" = "3"; then
32471
 
              if test "$kde_qtsubver" -le 1; then
32472
 
                kde32ornewer=
32473
 
              fi
32474
 
              if test "$kde_qtsubver" -le 2; then
32475
 
                kde33ornewer=
32476
 
              fi
32477
 
              if test "$KDECONFIG" != "compiled"; then
32478
 
                if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
32479
 
                  kde33ornewer=
32480
 
                fi
32481
 
              fi
32482
 
            fi
32483
 
        fi
32484
 
 
32485
 
        if test -n "$kde32ornewer"; then
32486
 
 
32487
 
   { echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
32488
 
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6; }
32489
 
   if test -n "$KCONFIG_COMPILER"; then
32490
 
        kde_cv_path="$KCONFIG_COMPILER";
32491
 
   else
32492
 
        kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
32493
 
 
32494
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32495
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32496
 
else
32497
 
 
32498
 
        kde_cv_path="NONE"
32499
 
        kde_save_IFS=$IFS
32500
 
        IFS=':'
32501
 
        dirs=""
32502
 
        for dir in $PATH; do
32503
 
          dirs="$dirs $dir"
32504
 
        done
32505
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32506
 
        else      dirs="$dirs $kde_default_bindirs"
32507
 
        fi
32508
 
        IFS=$kde_save_IFS
32509
 
 
32510
 
        for dir in $dirs; do
32511
 
          if test -x "$dir/kconfig_compiler"; then
32512
 
            if test -n ""
32513
 
            then
32514
 
              evalstr="$dir/kconfig_compiler  2>&1 "
32515
 
              if eval $evalstr; then
32516
 
                kde_cv_path="$dir/kconfig_compiler"
32517
 
                break
32518
 
              fi
32519
 
            else
32520
 
                kde_cv_path="$dir/kconfig_compiler"
32521
 
                break
32522
 
            fi
32523
 
          fi
32524
 
        done
32525
 
 
32526
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32527
 
 
32528
 
 
32529
 
fi
32530
 
 
32531
 
 
32532
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32533
 
 
32534
 
   fi
32535
 
 
32536
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32537
 
      { echo "$as_me:$LINENO: result: not found" >&5
32538
 
echo "${ECHO_T}not found" >&6; }
32539
 
 
32540
 
    { { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
32541
 
Please check whether you installed KDE correctly.
32542
 
" >&5
32543
 
echo "$as_me: error: The important program kconfig_compiler was not found!
32544
 
Please check whether you installed KDE correctly.
32545
 
" >&2;}
32546
 
   { (exit 1); exit 1; }; }
32547
 
 
32548
 
   else
32549
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32550
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32551
 
      KCONFIG_COMPILER=$kde_cv_path
32552
 
 
32553
 
   fi
32554
 
 
32555
 
 
32556
 
   { echo "$as_me:$LINENO: checking for dcopidlng" >&5
32557
 
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6; }
32558
 
   if test -n "$DCOPIDLNG"; then
32559
 
        kde_cv_path="$DCOPIDLNG";
32560
 
   else
32561
 
        kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
32562
 
 
32563
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32564
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32565
 
else
32566
 
 
32567
 
        kde_cv_path="NONE"
32568
 
        kde_save_IFS=$IFS
32569
 
        IFS=':'
32570
 
        dirs=""
32571
 
        for dir in $PATH; do
32572
 
          dirs="$dirs $dir"
32573
 
        done
32574
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32575
 
        else      dirs="$dirs $kde_default_bindirs"
32576
 
        fi
32577
 
        IFS=$kde_save_IFS
32578
 
 
32579
 
        for dir in $dirs; do
32580
 
          if test -x "$dir/dcopidlng"; then
32581
 
            if test -n ""
32582
 
            then
32583
 
              evalstr="$dir/dcopidlng  2>&1 "
32584
 
              if eval $evalstr; then
32585
 
                kde_cv_path="$dir/dcopidlng"
32586
 
                break
32587
 
              fi
32588
 
            else
32589
 
                kde_cv_path="$dir/dcopidlng"
32590
 
                break
32591
 
            fi
32592
 
          fi
32593
 
        done
32594
 
 
32595
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32596
 
 
32597
 
 
32598
 
fi
32599
 
 
32600
 
 
32601
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32602
 
 
32603
 
   fi
32604
 
 
32605
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32606
 
      { echo "$as_me:$LINENO: result: not found" >&5
32607
 
echo "${ECHO_T}not found" >&6; }
32608
 
 
32609
 
    { { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
32610
 
Please check whether you installed KDE correctly.
32611
 
" >&5
32612
 
echo "$as_me: error: The important program dcopidlng was not found!
32613
 
Please check whether you installed KDE correctly.
32614
 
" >&2;}
32615
 
   { (exit 1); exit 1; }; }
32616
 
 
32617
 
   else
32618
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32619
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32620
 
      DCOPIDLNG=$kde_cv_path
32621
 
 
32622
 
   fi
32623
 
 
32624
 
        fi
32625
 
        if test -n "$kde33ornewer"; then
32626
 
 
32627
 
   { echo "$as_me:$LINENO: checking for makekdewidgets" >&5
32628
 
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6; }
32629
 
   if test -n "$MAKEKDEWIDGETS"; then
32630
 
        kde_cv_path="$MAKEKDEWIDGETS";
32631
 
   else
32632
 
        kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
32633
 
 
32634
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32636
 
else
32637
 
 
32638
 
        kde_cv_path="NONE"
32639
 
        kde_save_IFS=$IFS
32640
 
        IFS=':'
32641
 
        dirs=""
32642
 
        for dir in $PATH; do
32643
 
          dirs="$dirs $dir"
32644
 
        done
32645
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32646
 
        else      dirs="$dirs $kde_default_bindirs"
32647
 
        fi
32648
 
        IFS=$kde_save_IFS
32649
 
 
32650
 
        for dir in $dirs; do
32651
 
          if test -x "$dir/makekdewidgets"; then
32652
 
            if test -n ""
32653
 
            then
32654
 
              evalstr="$dir/makekdewidgets  2>&1 "
32655
 
              if eval $evalstr; then
32656
 
                kde_cv_path="$dir/makekdewidgets"
32657
 
                break
32658
 
              fi
32659
 
            else
32660
 
                kde_cv_path="$dir/makekdewidgets"
32661
 
                break
32662
 
            fi
32663
 
          fi
32664
 
        done
32665
 
 
32666
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32667
 
 
32668
 
 
32669
 
fi
32670
 
 
32671
 
 
32672
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32673
 
 
32674
 
   fi
32675
 
 
32676
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32677
 
      { echo "$as_me:$LINENO: result: not found" >&5
32678
 
echo "${ECHO_T}not found" >&6; }
32679
 
 
32680
 
    { { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
32681
 
Please check whether you installed KDE correctly.
32682
 
" >&5
32683
 
echo "$as_me: error: The important program makekdewidgets was not found!
32684
 
Please check whether you installed KDE correctly.
32685
 
" >&2;}
32686
 
   { (exit 1); exit 1; }; }
32687
 
 
32688
 
   else
32689
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32690
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32691
 
      MAKEKDEWIDGETS=$kde_cv_path
32692
 
 
32693
 
   fi
32694
 
 
32695
 
 
32696
 
        fi
32697
 
 
32698
 
   { echo "$as_me:$LINENO: checking for xmllint" >&5
32699
 
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6; }
32700
 
   if test -n "$XMLLINT"; then
32701
 
        kde_cv_path="$XMLLINT";
32702
 
   else
32703
 
        kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
32704
 
 
32705
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32706
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32707
 
else
32708
 
 
32709
 
        kde_cv_path="NONE"
32710
 
        kde_save_IFS=$IFS
32711
 
        IFS=':'
32712
 
        dirs=""
32713
 
        for dir in $PATH; do
32714
 
          dirs="$dirs $dir"
32715
 
        done
32716
 
        if test -z ""; then       dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
32717
 
        else      dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
32718
 
        fi
32719
 
        IFS=$kde_save_IFS
32720
 
 
32721
 
        for dir in $dirs; do
32722
 
          if test -x "$dir/xmllint"; then
32723
 
            if test -n ""
32724
 
            then
32725
 
              evalstr="$dir/xmllint  2>&1 "
32726
 
              if eval $evalstr; then
32727
 
                kde_cv_path="$dir/xmllint"
32728
 
                break
32729
 
              fi
32730
 
            else
32731
 
                kde_cv_path="$dir/xmllint"
32732
 
                break
32733
 
            fi
32734
 
          fi
32735
 
        done
32736
 
 
32737
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32738
 
 
32739
 
 
32740
 
fi
32741
 
 
32742
 
 
32743
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32744
 
 
32745
 
   fi
32746
 
 
32747
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32748
 
      { echo "$as_me:$LINENO: result: not found" >&5
32749
 
echo "${ECHO_T}not found" >&6; }
32750
 
      XMLLINT=""
32751
 
   else
32752
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32753
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32754
 
      XMLLINT=$kde_cv_path
32755
 
 
32756
 
   fi
32757
 
 
32758
 
 
32759
 
        if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
32760
 
            kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
32761
 
            test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
32762
 
 
32763
 
KDE_XSL_STYLESHEET=NO
32764
 
for i in $kde_sharedirs;
32765
 
do
32766
 
  for j in apps/ksgmltools2/customization/kde-chunk.xsl;
32767
 
  do
32768
 
    echo "configure: 32768: $i/$j" >&5
32769
 
    if test -r "$i/$j"; then
32770
 
      echo "taking that" >&5
32771
 
      KDE_XSL_STYLESHEET=$i
32772
 
      break 2
32773
 
    fi
32774
 
  done
32775
 
done
32776
 
 
32777
 
            if test "$KDE_XSL_STYLESHEET" = "NO"; then
32778
 
                KDE_XSL_STYLESHEET=""
32779
 
            else
32780
 
                KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
32781
 
            fi
32782
 
        fi
32783
 
 
32784
 
        DCOP_DEPENDENCIES='$(DCOPIDL)'
32785
 
        if test -n "$kde32ornewer"; then
32786
 
            KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
32787
 
            DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
32788
 
 
32789
 
 
32790
 
 
32791
 
        fi
32792
 
 
32793
 
 
32794
 
 
32795
 
 
32796
 
 
32797
 
 
32798
 
 
32799
 
 
32800
 
 
32801
 
 
32802
 
 
32803
 
 
32804
 
 
32805
 
 
32806
 
 
32807
 
 
32808
 
 
32809
 
 
32810
 
 
32811
 
 
32812
 
 
32813
 
 
32814
 
 
32815
 
 
32816
 
 
32817
 
 
32818
 
 
32819
 
 
32820
 
 
32821
 
 
32822
 
 
32823
 
kdeinitdir='$(kde_moduledir)'
32824
 
 
32825
 
 
32826
 
 
32827
 
if test "$kde_qtver" = 1; then
32828
 
  kde_minidir="$kde_icondir/mini"
32829
 
else
32830
 
# for KDE 1 - this breaks KDE2 apps using minidir, but
32831
 
# that's the plan ;-/
32832
 
  kde_minidir="/dev/null"
32833
 
fi
32834
 
 
32835
 
 
32836
 
 
32837
 
 
32838
 
 
32839
 
 
32840
 
if test $kde_qtver = 3; then
32841
 
   case $host in
32842
 
               *cygwin*) lib_kded="-lkdeinit_kded" ;;
32843
 
               *) lib_kded="" ;;
32844
 
       esac
32845
 
   LIB_KDED=$lib_kded
32846
 
 
32847
 
   LIB_KDECORE="-lkdecore"
32848
 
 
32849
 
   LIB_KDEUI="-lkdeui"
32850
 
 
32851
 
   LIB_KIO="-lkio"
32852
 
 
32853
 
   LIB_KJS="-lkjs"
32854
 
 
32855
 
   LIB_SMB="-lsmb"
32856
 
 
32857
 
   LIB_KAB="-lkab"
32858
 
 
32859
 
   LIB_KABC="-lkabc"
32860
 
 
32861
 
   LIB_KHTML="-lkhtml"
32862
 
 
32863
 
   LIB_KSPELL="-lkspell"
32864
 
 
32865
 
   LIB_KPARTS="-lkparts"
32866
 
 
32867
 
   LIB_KDEPRINT="-lkdeprint"
32868
 
 
32869
 
   LIB_KUTILS="-lkutils"
32870
 
 
32871
 
   LIB_KDEPIM="-lkdepim"
32872
 
 
32873
 
   LIB_KIMPROXY="-lkimproxy"
32874
 
 
32875
 
   LIB_KNEWSTUFF="-lknewstuff"
32876
 
 
32877
 
   LIB_KDNSSD="-lkdnssd"
32878
 
 
32879
 
   LIB_KUNITTEST="-lkunittest"
32880
 
 
32881
 
# these are for backward compatibility
32882
 
   LIB_KSYCOCA="-lkio"
32883
 
 
32884
 
   LIB_KFILE="-lkio"
32885
 
 
32886
 
elif test $kde_qtver = 2; then
32887
 
   LIB_KDECORE="-lkdecore"
32888
 
 
32889
 
   LIB_KDEUI="-lkdeui"
32890
 
 
32891
 
   LIB_KIO="-lkio"
32892
 
 
32893
 
   LIB_KSYCOCA="-lksycoca"
32894
 
 
32895
 
   LIB_SMB="-lsmb"
32896
 
 
32897
 
   LIB_KFILE="-lkfile"
32898
 
 
32899
 
   LIB_KAB="-lkab"
32900
 
 
32901
 
   LIB_KHTML="-lkhtml"
32902
 
 
32903
 
   LIB_KSPELL="-lkspell"
32904
 
 
32905
 
   LIB_KPARTS="-lkparts"
32906
 
 
32907
 
   LIB_KDEPRINT="-lkdeprint"
32908
 
 
32909
 
else
32910
 
   LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
32911
 
 
32912
 
   LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
32913
 
 
32914
 
   LIB_KFM="-lkfm $(LIB_KDECORE)"
32915
 
 
32916
 
   LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
32917
 
 
32918
 
   LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
32919
 
 
32920
 
fi
32921
 
 
32922
 
 
32923
 
 
32924
 
#MIN_CONFIG(3)
32925
 
 
32926
 
 
32927
 
 
32928
 
 
32929
 
 
32930
 
 
32931
 
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
32932
 
TOPSUBDIRS=""
32933
 
 
32934
 
if test ! -s $srcdir/subdirs; then
32935
 
    files=`cd $srcdir && ls -1`
32936
 
  dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
32937
 
  for i in $dirs; do
32938
 
    echo $i >> $srcdir/subdirs
32939
 
  done
32940
 
fi
32941
 
 
32942
 
ac_topsubdirs=
32943
 
if test -s $srcdir/inst-apps; then
32944
 
  ac_topsubdirs="`cat $srcdir/inst-apps`"
32945
 
elif test -s $srcdir/subdirs; then
32946
 
  ac_topsubdirs="`cat $srcdir/subdirs`"
32947
 
fi
32948
 
 
32949
 
for i in $ac_topsubdirs; do
32950
 
  { echo "$as_me:$LINENO: checking if $i should be compiled" >&5
32951
 
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6; }
32952
 
  if test -d $srcdir/$i; then
32953
 
    install_it="yes"
32954
 
    for j in $DO_NOT_COMPILE; do
32955
 
      if test $i = $j; then
32956
 
        install_it="no"
32957
 
      fi
32958
 
    done
32959
 
  else
32960
 
    install_it="no"
32961
 
  fi
32962
 
  { echo "$as_me:$LINENO: result: $install_it" >&5
32963
 
echo "${ECHO_T}$install_it" >&6; }
32964
 
  vari=`echo $i | sed -e 's,[-+.@],_,g'`
32965
 
  if test $install_it = "yes"; then
32966
 
    TOPSUBDIRS="$TOPSUBDIRS $i"
32967
 
    eval "$vari""_SUBDIR_included=yes"
32968
 
  else
32969
 
    eval "$vari""_SUBDIR_included=no"
32970
 
  fi
32971
 
done
32972
 
 
32973
 
 
32974
 
 
32975
 
ac_config_files="$ac_config_files Makefile"
32976
 
 
32977
 
ac_config_files="$ac_config_files doc/Makefile"
32978
 
 
32979
 
ac_config_files="$ac_config_files doc/en/Makefile"
32980
 
 
32981
 
ac_config_files="$ac_config_files kdesudo/Makefile"
32982
 
 
32983
 
ac_config_files="$ac_config_files po/Makefile"
32984
 
 
32985
 
cat >confcache <<\_ACEOF
32986
 
# This file is a shell script that caches the results of configure
32987
 
# tests run on this system so they can be shared between configure
32988
 
# scripts and configure runs, see configure's option --config-cache.
32989
 
# It is not useful on other systems.  If it contains results you don't
32990
 
# want to keep, you may remove or edit it.
32991
 
#
32992
 
# config.status only pays attention to the cache file if you give it
32993
 
# the --recheck option to rerun configure.
32994
 
#
32995
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
32996
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
32997
 
# following values.
32998
 
 
32999
 
_ACEOF
33000
 
 
33001
 
# The following way of writing the cache mishandles newlines in values,
33002
 
# but we know of no workaround that is simple, portable, and efficient.
33003
 
# So, we kill variables containing newlines.
33004
 
# Ultrix sh set writes to stderr and can't be redirected directly,
33005
 
# and sets the high bit in the cache file unless we assign to the vars.
33006
 
(
33007
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33008
 
    eval ac_val=\$$ac_var
33009
 
    case $ac_val in #(
33010
 
    *${as_nl}*)
33011
 
      case $ac_var in #(
33012
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33013
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33014
 
      esac
33015
 
      case $ac_var in #(
33016
 
      _ | IFS | as_nl) ;; #(
33017
 
      *) $as_unset $ac_var ;;
33018
 
      esac ;;
33019
 
    esac
33020
 
  done
33021
 
 
33022
 
  (set) 2>&1 |
33023
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
33024
 
    *${as_nl}ac_space=\ *)
33025
 
      # `set' does not quote correctly, so add quotes (double-quote
33026
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
33027
 
      sed -n \
33028
 
        "s/'/'\\\\''/g;
33029
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33030
 
      ;; #(
33031
 
    *)
33032
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
33033
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33034
 
      ;;
33035
 
    esac |
33036
 
    sort
33037
 
) |
33038
 
  sed '
33039
 
     /^ac_cv_env_/b end
33040
 
     t clear
33041
 
     :clear
33042
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33043
 
     t end
33044
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33045
 
     :end' >>confcache
33046
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33047
 
  if test -w "$cache_file"; then
33048
 
    test "x$cache_file" != "x/dev/null" &&
33049
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33050
 
echo "$as_me: updating cache $cache_file" >&6;}
33051
 
    cat confcache >$cache_file
33052
 
  else
33053
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33054
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33055
 
  fi
33056
 
fi
33057
 
rm -f confcache
33058
 
 
33059
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
33060
 
# Let make expand exec_prefix.
33061
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33062
 
 
33063
 
DEFS=-DHAVE_CONFIG_H
33064
 
 
33065
 
ac_libobjs=
33066
 
ac_ltlibobjs=
33067
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33068
 
  # 1. Remove the extension, and $U if already installed.
33069
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33070
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
33071
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
33072
 
  #    will be set to the directory where LIBOBJS objects are built.
33073
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33074
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33075
 
done
33076
 
LIBOBJS=$ac_libobjs
33077
 
 
33078
 
LTLIBOBJS=$ac_ltlibobjs
33079
 
 
33080
 
 
33081
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33082
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33083
 
Usually this means the macro was only invoked conditionally." >&5
33084
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
33085
 
Usually this means the macro was only invoked conditionally." >&2;}
33086
 
   { (exit 1); exit 1; }; }
33087
 
fi
33088
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33089
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33090
 
Usually this means the macro was only invoked conditionally." >&5
33091
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33092
 
Usually this means the macro was only invoked conditionally." >&2;}
33093
 
   { (exit 1); exit 1; }; }
33094
 
fi
33095
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33096
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33097
 
Usually this means the macro was only invoked conditionally." >&5
33098
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33099
 
Usually this means the macro was only invoked conditionally." >&2;}
33100
 
   { (exit 1); exit 1; }; }
33101
 
fi
33102
 
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
33103
 
  { { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
33104
 
Usually this means the macro was only invoked conditionally." >&5
33105
 
echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
33106
 
Usually this means the macro was only invoked conditionally." >&2;}
33107
 
   { (exit 1); exit 1; }; }
33108
 
fi
33109
 
if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
33110
 
  { { echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
33111
 
Usually this means the macro was only invoked conditionally." >&5
33112
 
echo "$as_me: error: conditional \"include_x11\" was never defined.
33113
 
Usually this means the macro was only invoked conditionally." >&2;}
33114
 
   { (exit 1); exit 1; }; }
33115
 
fi
33116
 
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
33117
 
  { { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
33118
 
Usually this means the macro was only invoked conditionally." >&5
33119
 
echo "$as_me: error: conditional \"include_ARTS\" was never defined.
33120
 
Usually this means the macro was only invoked conditionally." >&2;}
33121
 
   { (exit 1); exit 1; }; }
33122
 
fi
33123
 
 
33124
 
: ${CONFIG_STATUS=./config.status}
33125
 
ac_clean_files_save=$ac_clean_files
33126
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33127
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33128
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
33129
 
cat >$CONFIG_STATUS <<_ACEOF
33130
 
#! $SHELL
33131
 
# Generated by $as_me.
33132
 
# Run this file to recreate the current configuration.
33133
 
# Compiler output produced by configure, useful for debugging
33134
 
# configure, is in config.log if it exists.
33135
 
 
33136
 
debug=false
33137
 
ac_cs_recheck=false
33138
 
ac_cs_silent=false
33139
 
SHELL=\${CONFIG_SHELL-$SHELL}
33140
 
_ACEOF
33141
 
 
33142
 
cat >>$CONFIG_STATUS <<\_ACEOF
33143
 
## --------------------- ##
33144
 
## M4sh Initialization.  ##
33145
 
## --------------------- ##
33146
 
 
33147
 
# Be more Bourne compatible
33148
 
DUALCASE=1; export DUALCASE # for MKS sh
33149
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33150
 
  emulate sh
33151
 
  NULLCMD=:
33152
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33153
 
  # is contrary to our usage.  Disable this feature.
33154
 
  alias -g '${1+"$@"}'='"$@"'
33155
 
  setopt NO_GLOB_SUBST
33156
 
else
33157
 
  case `(set -o) 2>/dev/null` in
33158
 
  *posix*) set -o posix ;;
33159
 
esac
33160
 
 
33161
 
fi
33162
 
 
33163
 
 
33164
 
 
33165
 
 
33166
 
# PATH needs CR
33167
 
# Avoid depending upon Character Ranges.
33168
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33169
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33170
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33171
 
as_cr_digits='0123456789'
33172
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
33173
 
 
33174
 
# The user is always right.
33175
 
if test "${PATH_SEPARATOR+set}" != set; then
33176
 
  echo "#! /bin/sh" >conf$$.sh
33177
 
  echo  "exit 0"   >>conf$$.sh
33178
 
  chmod +x conf$$.sh
33179
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33180
 
    PATH_SEPARATOR=';'
33181
 
  else
33182
 
    PATH_SEPARATOR=:
33183
 
  fi
33184
 
  rm -f conf$$.sh
33185
 
fi
33186
 
 
33187
 
# Support unset when possible.
33188
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33189
 
  as_unset=unset
33190
 
else
33191
 
  as_unset=false
33192
 
fi
33193
 
 
33194
 
 
33195
 
# IFS
33196
 
# We need space, tab and new line, in precisely that order.  Quoting is
33197
 
# there to prevent editors from complaining about space-tab.
33198
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33199
 
# splitting by setting IFS to empty value.)
33200
 
as_nl='
33201
 
'
33202
 
IFS=" ""        $as_nl"
33203
 
 
33204
 
# Find who we are.  Look in the path if we contain no directory separator.
33205
 
case $0 in
33206
 
  *[\\/]* ) as_myself=$0 ;;
33207
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33208
 
for as_dir in $PATH
33209
 
do
33210
 
  IFS=$as_save_IFS
33211
 
  test -z "$as_dir" && as_dir=.
33212
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33213
 
done
33214
 
IFS=$as_save_IFS
33215
 
 
33216
 
     ;;
33217
 
esac
33218
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
33219
 
# in which case we are not to be found in the path.
33220
 
if test "x$as_myself" = x; then
33221
 
  as_myself=$0
33222
 
fi
33223
 
if test ! -f "$as_myself"; then
33224
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33225
 
  { (exit 1); exit 1; }
33226
 
fi
33227
 
 
33228
 
# Work around bugs in pre-3.0 UWIN ksh.
33229
 
for as_var in ENV MAIL MAILPATH
33230
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33231
 
done
33232
 
PS1='$ '
33233
 
PS2='> '
33234
 
PS4='+ '
33235
 
 
33236
 
# NLS nuisances.
33237
 
for as_var in \
33238
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33239
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33240
 
  LC_TELEPHONE LC_TIME
33241
 
do
33242
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33243
 
    eval $as_var=C; export $as_var
33244
 
  else
33245
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33246
 
  fi
33247
 
done
33248
 
 
33249
 
# Required to use basename.
33250
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
33251
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
33252
 
  as_expr=expr
33253
 
else
33254
 
  as_expr=false
33255
 
fi
33256
 
 
33257
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33258
 
  as_basename=basename
33259
 
else
33260
 
  as_basename=false
33261
 
fi
33262
 
 
33263
 
 
33264
 
# Name of the executable.
33265
 
as_me=`$as_basename -- "$0" ||
33266
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33267
 
         X"$0" : 'X\(//\)$' \| \
33268
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33269
 
echo X/"$0" |
33270
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
33271
 
            s//\1/
33272
 
            q
33273
 
          }
33274
 
          /^X\/\(\/\/\)$/{
33275
 
            s//\1/
33276
 
            q
33277
 
          }
33278
 
          /^X\/\(\/\).*/{
33279
 
            s//\1/
33280
 
            q
33281
 
          }
33282
 
          s/.*/./; q'`
33283
 
 
33284
 
# CDPATH.
33285
 
$as_unset CDPATH
33286
 
 
33287
 
 
33288
 
 
33289
 
  as_lineno_1=$LINENO
33290
 
  as_lineno_2=$LINENO
33291
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
33292
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33293
 
 
33294
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33295
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
33296
 
  # line-number line after each line using $LINENO; the second 'sed'
33297
 
  # does the real work.  The second script uses 'N' to pair each
33298
 
  # line-number line with the line containing $LINENO, and appends
33299
 
  # trailing '-' during substitution so that $LINENO is not a special
33300
 
  # case at line end.
33301
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33302
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
33303
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
33304
 
  sed -n '
33305
 
    p
33306
 
    /[$]LINENO/=
33307
 
  ' <$as_myself |
33308
 
    sed '
33309
 
      s/[$]LINENO.*/&-/
33310
 
      t lineno
33311
 
      b
33312
 
      :lineno
33313
 
      N
33314
 
      :loop
33315
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33316
 
      t loop
33317
 
      s/-\n.*//
33318
 
    ' >$as_me.lineno &&
33319
 
  chmod +x "$as_me.lineno" ||
33320
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33321
 
   { (exit 1); exit 1; }; }
33322
 
 
33323
 
  # Don't try to exec as it changes $[0], causing all sort of problems
33324
 
  # (the dirname of $[0] is not the place where we might find the
33325
 
  # original and so on.  Autoconf is especially sensitive to this).
33326
 
  . "./$as_me.lineno"
33327
 
  # Exit status is that of the last command.
33328
 
  exit
33329
 
}
33330
 
 
33331
 
 
33332
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33333
 
  as_dirname=dirname
33334
 
else
33335
 
  as_dirname=false
33336
 
fi
33337
 
 
33338
 
ECHO_C= ECHO_N= ECHO_T=
33339
 
case `echo -n x` in
33340
 
-n*)
33341
 
  case `echo 'x\c'` in
33342
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
33343
 
  *)   ECHO_C='\c';;
33344
 
  esac;;
33345
 
*)
33346
 
  ECHO_N='-n';;
33347
 
esac
33348
 
 
33349
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
33350
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
33351
 
  as_expr=expr
33352
 
else
33353
 
  as_expr=false
33354
 
fi
33355
 
 
33356
 
rm -f conf$$ conf$$.exe conf$$.file
33357
 
if test -d conf$$.dir; then
33358
 
  rm -f conf$$.dir/conf$$.file
33359
 
else
33360
 
  rm -f conf$$.dir
33361
 
  mkdir conf$$.dir
33362
 
fi
33363
 
echo >conf$$.file
33364
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
33365
 
  as_ln_s='ln -s'
33366
 
  # ... but there are two gotchas:
33367
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33368
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33369
 
  # In both cases, we have to default to `cp -p'.
33370
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33371
 
    as_ln_s='cp -p'
33372
 
elif ln conf$$.file conf$$ 2>/dev/null; then
33373
 
  as_ln_s=ln
33374
 
else
33375
 
  as_ln_s='cp -p'
33376
 
fi
33377
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33378
 
rmdir conf$$.dir 2>/dev/null
33379
 
 
33380
 
if mkdir -p . 2>/dev/null; then
33381
 
  as_mkdir_p=:
33382
 
else
33383
 
  test -d ./-p && rmdir ./-p
33384
 
  as_mkdir_p=false
33385
 
fi
33386
 
 
33387
 
if test -x / >/dev/null 2>&1; then
33388
 
  as_test_x='test -x'
33389
 
else
33390
 
  if ls -dL / >/dev/null 2>&1; then
33391
 
    as_ls_L_option=L
33392
 
  else
33393
 
    as_ls_L_option=
33394
 
  fi
33395
 
  as_test_x='
33396
 
    eval sh -c '\''
33397
 
      if test -d "$1"; then
33398
 
        test -d "$1/.";
33399
 
      else
33400
 
        case $1 in
33401
 
        -*)set "./$1";;
33402
 
        esac;
33403
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33404
 
        ???[sx]*):;;*)false;;esac;fi
33405
 
    '\'' sh
33406
 
  '
33407
 
fi
33408
 
as_executable_p=$as_test_x
33409
 
 
33410
 
# Sed expression to map a string onto a valid CPP name.
33411
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33412
 
 
33413
 
# Sed expression to map a string onto a valid variable name.
33414
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33415
 
 
33416
 
 
33417
 
exec 6>&1
33418
 
 
33419
 
# Save the log message, to keep $[0] and so on meaningful, and to
33420
 
# report actual input values of CONFIG_FILES etc. instead of their
33421
 
# values after options handling.
33422
 
ac_log="
33423
 
This file was extended by $as_me, which was
33424
 
generated by GNU Autoconf 2.61.  Invocation command line was
33425
 
 
33426
 
  CONFIG_FILES    = $CONFIG_FILES
33427
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
33428
 
  CONFIG_LINKS    = $CONFIG_LINKS
33429
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
33430
 
  $ $0 $@
33431
 
 
33432
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
33433
 
"
33434
 
 
33435
 
_ACEOF
33436
 
 
33437
 
cat >>$CONFIG_STATUS <<_ACEOF
33438
 
# Files that config.status was made for.
33439
 
config_files="$ac_config_files"
33440
 
config_headers="$ac_config_headers"
33441
 
config_commands="$ac_config_commands"
33442
 
 
33443
 
_ACEOF
33444
 
 
33445
 
cat >>$CONFIG_STATUS <<\_ACEOF
33446
 
ac_cs_usage="\
33447
 
\`$as_me' instantiates files from templates according to the
33448
 
current configuration.
33449
 
 
33450
 
Usage: $0 [OPTIONS] [FILE]...
33451
 
 
33452
 
  -h, --help       print this help, then exit
33453
 
  -V, --version    print version number and configuration settings, then exit
33454
 
  -q, --quiet      do not print progress messages
33455
 
  -d, --debug      don't remove temporary files
33456
 
      --recheck    update $as_me by reconfiguring in the same conditions
33457
 
  --file=FILE[:TEMPLATE]
33458
 
                   instantiate the configuration file FILE
33459
 
  --header=FILE[:TEMPLATE]
33460
 
                   instantiate the configuration header FILE
33461
 
 
33462
 
Configuration files:
33463
 
$config_files
33464
 
 
33465
 
Configuration headers:
33466
 
$config_headers
33467
 
 
33468
 
Configuration commands:
33469
 
$config_commands
33470
 
 
33471
 
Report bugs to <bug-autoconf@gnu.org>."
33472
 
 
33473
 
_ACEOF
33474
 
cat >>$CONFIG_STATUS <<_ACEOF
33475
 
ac_cs_version="\\
33476
 
config.status
33477
 
configured by $0, generated by GNU Autoconf 2.61,
33478
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
33479
 
 
33480
 
Copyright (C) 2006 Free Software Foundation, Inc.
33481
 
This config.status script is free software; the Free Software Foundation
33482
 
gives unlimited permission to copy, distribute and modify it."
33483
 
 
33484
 
ac_pwd='$ac_pwd'
33485
 
srcdir='$srcdir'
33486
 
INSTALL='$INSTALL'
33487
 
MKDIR_P='$MKDIR_P'
33488
 
_ACEOF
33489
 
 
33490
 
cat >>$CONFIG_STATUS <<\_ACEOF
33491
 
# If no file are specified by the user, then we need to provide default
33492
 
# value.  By we need to know if files were specified by the user.
33493
 
ac_need_defaults=:
33494
 
while test $# != 0
33495
 
do
33496
 
  case $1 in
33497
 
  --*=*)
33498
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
33499
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33500
 
    ac_shift=:
33501
 
    ;;
33502
 
  *)
33503
 
    ac_option=$1
33504
 
    ac_optarg=$2
33505
 
    ac_shift=shift
33506
 
    ;;
33507
 
  esac
33508
 
 
33509
 
  case $ac_option in
33510
 
  # Handling of the options.
33511
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33512
 
    ac_cs_recheck=: ;;
33513
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33514
 
    echo "$ac_cs_version"; exit ;;
33515
 
  --debug | --debu | --deb | --de | --d | -d )
33516
 
    debug=: ;;
33517
 
  --file | --fil | --fi | --f )
33518
 
    $ac_shift
33519
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33520
 
    ac_need_defaults=false;;
33521
 
  --header | --heade | --head | --hea )
33522
 
    $ac_shift
33523
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33524
 
    ac_need_defaults=false;;
33525
 
  --he | --h)
33526
 
    # Conflict between --help and --header
33527
 
    { echo "$as_me: error: ambiguous option: $1
33528
 
Try \`$0 --help' for more information." >&2
33529
 
   { (exit 1); exit 1; }; };;
33530
 
  --help | --hel | -h )
33531
 
    echo "$ac_cs_usage"; exit ;;
33532
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33533
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
33534
 
    ac_cs_silent=: ;;
33535
 
 
33536
 
  # This is an error.
33537
 
  -*) { echo "$as_me: error: unrecognized option: $1
33538
 
Try \`$0 --help' for more information." >&2
33539
 
   { (exit 1); exit 1; }; } ;;
33540
 
 
33541
 
  *) ac_config_targets="$ac_config_targets $1"
33542
 
     ac_need_defaults=false ;;
33543
 
 
33544
 
  esac
33545
 
  shift
33546
 
done
33547
 
 
33548
 
ac_configure_extra_args=
33549
 
 
33550
 
if $ac_cs_silent; then
33551
 
  exec 6>/dev/null
33552
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
33553
 
fi
33554
 
 
33555
 
_ACEOF
33556
 
cat >>$CONFIG_STATUS <<_ACEOF
33557
 
if \$ac_cs_recheck; then
33558
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33559
 
  CONFIG_SHELL=$SHELL
33560
 
  export CONFIG_SHELL
33561
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33562
 
fi
33563
 
 
33564
 
_ACEOF
33565
 
cat >>$CONFIG_STATUS <<\_ACEOF
33566
 
exec 5>>config.log
33567
 
{
33568
 
  echo
33569
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33570
 
## Running $as_me. ##
33571
 
_ASBOX
33572
 
  echo "$ac_log"
33573
 
} >&5
33574
 
 
33575
 
_ACEOF
33576
 
cat >>$CONFIG_STATUS <<_ACEOF
33577
 
#
33578
 
# INIT-COMMANDS
33579
 
#
33580
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33581
 
 
33582
 
_ACEOF
33583
 
 
33584
 
cat >>$CONFIG_STATUS <<\_ACEOF
33585
 
 
33586
 
# Handling of arguments.
33587
 
for ac_config_target in $ac_config_targets
33588
 
do
33589
 
  case $ac_config_target in
33590
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33591
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33592
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33593
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33594
 
    "doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
33595
 
    "kdesudo/Makefile") CONFIG_FILES="$CONFIG_FILES kdesudo/Makefile" ;;
33596
 
    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
33597
 
 
33598
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33599
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33600
 
   { (exit 1); exit 1; }; };;
33601
 
  esac
33602
 
done
33603
 
 
33604
 
 
33605
 
# If the user did not use the arguments to specify the items to instantiate,
33606
 
# then the envvar interface is used.  Set only those that are not.
33607
 
# We use the long form for the default assignment because of an extremely
33608
 
# bizarre bug on SunOS 4.1.3.
33609
 
if $ac_need_defaults; then
33610
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33611
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33612
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33613
 
fi
33614
 
 
33615
 
# Have a temporary directory for convenience.  Make it in the build tree
33616
 
# simply because there is no reason against having it here, and in addition,
33617
 
# creating and moving files from /tmp can sometimes cause problems.
33618
 
# Hook for its removal unless debugging.
33619
 
# Note that there is a small window in which the directory will not be cleaned:
33620
 
# after its creation but before its name has been assigned to `$tmp'.
33621
 
$debug ||
33622
 
{
33623
 
  tmp=
33624
 
  trap 'exit_status=$?
33625
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
33626
 
' 0
33627
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
33628
 
}
33629
 
# Create a (secure) tmp directory for tmp files.
33630
 
 
33631
 
{
33632
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33633
 
  test -n "$tmp" && test -d "$tmp"
33634
 
}  ||
33635
 
{
33636
 
  tmp=./conf$$-$RANDOM
33637
 
  (umask 077 && mkdir "$tmp")
33638
 
} ||
33639
 
{
33640
 
   echo "$me: cannot create a temporary directory in ." >&2
33641
 
   { (exit 1); exit 1; }
33642
 
}
33643
 
 
33644
 
#
33645
 
# Set up the sed scripts for CONFIG_FILES section.
33646
 
#
33647
 
 
33648
 
# No need to generate the scripts if there are no CONFIG_FILES.
33649
 
# This happens for instance when ./config.status config.h
33650
 
if test -n "$CONFIG_FILES"; then
33651
 
 
33652
 
_ACEOF
33653
 
 
33654
 
 
33655
 
 
33656
 
ac_delim='%!_!# '
33657
 
for ac_last_try in false false false false false :; do
33658
 
  cat >conf$$subs.sed <<_ACEOF
33659
 
SHELL!$SHELL$ac_delim
33660
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
33661
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
33662
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
33663
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
33664
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
33665
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
33666
 
exec_prefix!$exec_prefix$ac_delim
33667
 
prefix!$prefix$ac_delim
33668
 
program_transform_name!$program_transform_name$ac_delim
33669
 
bindir!$bindir$ac_delim
33670
 
sbindir!$sbindir$ac_delim
33671
 
libexecdir!$libexecdir$ac_delim
33672
 
datarootdir!$datarootdir$ac_delim
33673
 
datadir!$datadir$ac_delim
33674
 
sysconfdir!$sysconfdir$ac_delim
33675
 
sharedstatedir!$sharedstatedir$ac_delim
33676
 
localstatedir!$localstatedir$ac_delim
33677
 
includedir!$includedir$ac_delim
33678
 
oldincludedir!$oldincludedir$ac_delim
33679
 
docdir!$docdir$ac_delim
33680
 
infodir!$infodir$ac_delim
33681
 
htmldir!$htmldir$ac_delim
33682
 
dvidir!$dvidir$ac_delim
33683
 
pdfdir!$pdfdir$ac_delim
33684
 
psdir!$psdir$ac_delim
33685
 
libdir!$libdir$ac_delim
33686
 
localedir!$localedir$ac_delim
33687
 
mandir!$mandir$ac_delim
33688
 
DEFS!$DEFS$ac_delim
33689
 
ECHO_C!$ECHO_C$ac_delim
33690
 
ECHO_N!$ECHO_N$ac_delim
33691
 
ECHO_T!$ECHO_T$ac_delim
33692
 
LIBS!$LIBS$ac_delim
33693
 
build_alias!$build_alias$ac_delim
33694
 
host_alias!$host_alias$ac_delim
33695
 
target_alias!$target_alias$ac_delim
33696
 
build!$build$ac_delim
33697
 
build_cpu!$build_cpu$ac_delim
33698
 
build_vendor!$build_vendor$ac_delim
33699
 
build_os!$build_os$ac_delim
33700
 
host!$host$ac_delim
33701
 
host_cpu!$host_cpu$ac_delim
33702
 
host_vendor!$host_vendor$ac_delim
33703
 
host_os!$host_os$ac_delim
33704
 
target!$target$ac_delim
33705
 
target_cpu!$target_cpu$ac_delim
33706
 
target_vendor!$target_vendor$ac_delim
33707
 
target_os!$target_os$ac_delim
33708
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
33709
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
33710
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
33711
 
am__isrc!$am__isrc$ac_delim
33712
 
CYGPATH_W!$CYGPATH_W$ac_delim
33713
 
PACKAGE!$PACKAGE$ac_delim
33714
 
VERSION!$VERSION$ac_delim
33715
 
ACLOCAL!$ACLOCAL$ac_delim
33716
 
AUTOCONF!$AUTOCONF$ac_delim
33717
 
AUTOMAKE!$AUTOMAKE$ac_delim
33718
 
AUTOHEADER!$AUTOHEADER$ac_delim
33719
 
MAKEINFO!$MAKEINFO$ac_delim
33720
 
install_sh!$install_sh$ac_delim
33721
 
STRIP!$STRIP$ac_delim
33722
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
33723
 
mkdir_p!$mkdir_p$ac_delim
33724
 
AWK!$AWK$ac_delim
33725
 
SET_MAKE!$SET_MAKE$ac_delim
33726
 
am__leading_dot!$am__leading_dot$ac_delim
33727
 
AMTAR!$AMTAR$ac_delim
33728
 
am__tar!$am__tar$ac_delim
33729
 
am__untar!$am__untar$ac_delim
33730
 
KDECONFIG!$KDECONFIG$ac_delim
33731
 
kde_libs_prefix!$kde_libs_prefix$ac_delim
33732
 
kde_libs_htmldir!$kde_libs_htmldir$ac_delim
33733
 
CONF_FILES!$CONF_FILES$ac_delim
33734
 
CC!$CC$ac_delim
33735
 
CFLAGS!$CFLAGS$ac_delim
33736
 
LDFLAGS!$LDFLAGS$ac_delim
33737
 
CPPFLAGS!$CPPFLAGS$ac_delim
33738
 
ac_ct_CC!$ac_ct_CC$ac_delim
33739
 
EXEEXT!$EXEEXT$ac_delim
33740
 
OBJEXT!$OBJEXT$ac_delim
33741
 
DEPDIR!$DEPDIR$ac_delim
33742
 
am__include!$am__include$ac_delim
33743
 
am__quote!$am__quote$ac_delim
33744
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
33745
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
33746
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
33747
 
CCDEPMODE!$CCDEPMODE$ac_delim
33748
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
33749
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
33750
 
CPP!$CPP$ac_delim
33751
 
CXX!$CXX$ac_delim
33752
 
CXXFLAGS!$CXXFLAGS$ac_delim
33753
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
33754
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
33755
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
33756
 
_ACEOF
33757
 
 
33758
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
33759
 
    break
33760
 
  elif $ac_last_try; then
33761
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33762
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33763
 
   { (exit 1); exit 1; }; }
33764
 
  else
33765
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33766
 
  fi
33767
 
done
33768
 
 
33769
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33770
 
if test -n "$ac_eof"; then
33771
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
33772
 
  ac_eof=`expr $ac_eof + 1`
33773
 
fi
33774
 
 
33775
 
cat >>$CONFIG_STATUS <<_ACEOF
33776
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
33777
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33778
 
_ACEOF
33779
 
sed '
33780
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33781
 
s/^/s,@/; s/!/@,|#_!!_#|/
33782
 
:n
33783
 
t n
33784
 
s/'"$ac_delim"'$/,g/; t
33785
 
s/$/\\/; p
33786
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33787
 
' >>$CONFIG_STATUS <conf$$subs.sed
33788
 
rm -f conf$$subs.sed
33789
 
cat >>$CONFIG_STATUS <<_ACEOF
33790
 
CEOF$ac_eof
33791
 
_ACEOF
33792
 
 
33793
 
 
33794
 
ac_delim='%!_!# '
33795
 
for ac_last_try in false false false false false :; do
33796
 
  cat >conf$$subs.sed <<_ACEOF
33797
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
33798
 
WOVERLOADED_VIRTUAL!$WOVERLOADED_VIRTUAL$ac_delim
33799
 
HAVE_GCC_VISIBILITY!$HAVE_GCC_VISIBILITY$ac_delim
33800
 
unsermake_enable_pch_TRUE!$unsermake_enable_pch_TRUE$ac_delim
33801
 
unsermake_enable_pch_FALSE!$unsermake_enable_pch_FALSE$ac_delim
33802
 
USE_EXCEPTIONS!$USE_EXCEPTIONS$ac_delim
33803
 
USE_RTTI!$USE_RTTI$ac_delim
33804
 
CXXCPP!$CXXCPP$ac_delim
33805
 
NOOPT_CXXFLAGS!$NOOPT_CXXFLAGS$ac_delim
33806
 
NOOPT_CFLAGS!$NOOPT_CFLAGS$ac_delim
33807
 
ENABLE_PERMISSIVE_FLAG!$ENABLE_PERMISSIVE_FLAG$ac_delim
33808
 
LDFLAGS_AS_NEEDED!$LDFLAGS_AS_NEEDED$ac_delim
33809
 
LDFLAGS_NEW_DTAGS!$LDFLAGS_NEW_DTAGS$ac_delim
33810
 
KDE_USE_FINAL_TRUE!$KDE_USE_FINAL_TRUE$ac_delim
33811
 
KDE_USE_FINAL_FALSE!$KDE_USE_FINAL_FALSE$ac_delim
33812
 
KDE_USE_CLOSURE_TRUE!$KDE_USE_CLOSURE_TRUE$ac_delim
33813
 
KDE_USE_CLOSURE_FALSE!$KDE_USE_CLOSURE_FALSE$ac_delim
33814
 
KDE_NO_UNDEFINED!$KDE_NO_UNDEFINED$ac_delim
33815
 
KDE_USE_NMCHECK_TRUE!$KDE_USE_NMCHECK_TRUE$ac_delim
33816
 
KDE_USE_NMCHECK_FALSE!$KDE_USE_NMCHECK_FALSE$ac_delim
33817
 
GREP!$GREP$ac_delim
33818
 
EGREP!$EGREP$ac_delim
33819
 
LN_S!$LN_S$ac_delim
33820
 
ECHO!$ECHO$ac_delim
33821
 
AR!$AR$ac_delim
33822
 
RANLIB!$RANLIB$ac_delim
33823
 
F77!$F77$ac_delim
33824
 
FFLAGS!$FFLAGS$ac_delim
33825
 
ac_ct_F77!$ac_ct_F77$ac_delim
33826
 
LIBTOOL!$LIBTOOL$ac_delim
33827
 
KDE_PLUGIN!$KDE_PLUGIN$ac_delim
33828
 
KDE_CHECK_PLUGIN!$KDE_CHECK_PLUGIN$ac_delim
33829
 
MSGFMT!$MSGFMT$ac_delim
33830
 
GMSGFMT!$GMSGFMT$ac_delim
33831
 
XGETTEXT!$XGETTEXT$ac_delim
33832
 
LIBUTIL!$LIBUTIL$ac_delim
33833
 
LIBCOMPAT!$LIBCOMPAT$ac_delim
33834
 
LIBCRYPT!$LIBCRYPT$ac_delim
33835
 
LIBRESOLV!$LIBRESOLV$ac_delim
33836
 
LIB_POLL!$LIB_POLL$ac_delim
33837
 
FRAMEWORK_COREAUDIO!$FRAMEWORK_COREAUDIO$ac_delim
33838
 
LIBSOCKET!$LIBSOCKET$ac_delim
33839
 
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
33840
 
LIBUCB!$LIBUCB$ac_delim
33841
 
LIBDL!$LIBDL$ac_delim
33842
 
KDE_USE_FPIE!$KDE_USE_FPIE$ac_delim
33843
 
KDE_USE_PIE!$KDE_USE_PIE$ac_delim
33844
 
include_x11_TRUE!$include_x11_TRUE$ac_delim
33845
 
include_x11_FALSE!$include_x11_FALSE$ac_delim
33846
 
XMKMF!$XMKMF$ac_delim
33847
 
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
33848
 
LIB_X11!$LIB_X11$ac_delim
33849
 
LIB_XRENDER!$LIB_XRENDER$ac_delim
33850
 
LIBSM!$LIBSM$ac_delim
33851
 
X_INCLUDES!$X_INCLUDES$ac_delim
33852
 
X_LDFLAGS!$X_LDFLAGS$ac_delim
33853
 
x_includes!$x_includes$ac_delim
33854
 
x_libraries!$x_libraries$ac_delim
33855
 
QTE_NORTTI!$QTE_NORTTI$ac_delim
33856
 
LIB_XEXT!$LIB_XEXT$ac_delim
33857
 
LIBPTHREAD!$LIBPTHREAD$ac_delim
33858
 
USE_THREADS!$USE_THREADS$ac_delim
33859
 
KDE_MT_LDFLAGS!$KDE_MT_LDFLAGS$ac_delim
33860
 
KDE_MT_LIBS!$KDE_MT_LIBS$ac_delim
33861
 
USER_INCLUDES!$USER_INCLUDES$ac_delim
33862
 
USER_LDFLAGS!$USER_LDFLAGS$ac_delim
33863
 
LIBZ!$LIBZ$ac_delim
33864
 
LIBPNG!$LIBPNG$ac_delim
33865
 
LIBJPEG!$LIBJPEG$ac_delim
33866
 
qt_libraries!$qt_libraries$ac_delim
33867
 
qt_includes!$qt_includes$ac_delim
33868
 
QT_INCLUDES!$QT_INCLUDES$ac_delim
33869
 
QT_LDFLAGS!$QT_LDFLAGS$ac_delim
33870
 
PERL!$PERL$ac_delim
33871
 
MOC!$MOC$ac_delim
33872
 
UIC!$UIC$ac_delim
33873
 
UIC_TR!$UIC_TR$ac_delim
33874
 
LIB_QT!$LIB_QT$ac_delim
33875
 
LIB_QPE!$LIB_QPE$ac_delim
33876
 
kde_qtver!$kde_qtver$ac_delim
33877
 
KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
33878
 
KDE_RPATH!$KDE_RPATH$ac_delim
33879
 
X_RPATH!$X_RPATH$ac_delim
33880
 
kde_libraries!$kde_libraries$ac_delim
33881
 
kde_includes!$kde_includes$ac_delim
33882
 
KDE_LDFLAGS!$KDE_LDFLAGS$ac_delim
33883
 
KDE_INCLUDES!$KDE_INCLUDES$ac_delim
33884
 
all_includes!$all_includes$ac_delim
33885
 
all_libraries!$all_libraries$ac_delim
33886
 
AUTODIRS!$AUTODIRS$ac_delim
33887
 
include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
33888
 
include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
33889
 
MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
33890
 
KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
33891
 
KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
33892
 
DCOPIDLNG!$DCOPIDLNG$ac_delim
33893
 
DCOPIDL!$DCOPIDL$ac_delim
33894
 
_ACEOF
33895
 
 
33896
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
33897
 
    break
33898
 
  elif $ac_last_try; then
33899
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33900
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33901
 
   { (exit 1); exit 1; }; }
33902
 
  else
33903
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33904
 
  fi
33905
 
done
33906
 
 
33907
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33908
 
if test -n "$ac_eof"; then
33909
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
33910
 
  ac_eof=`expr $ac_eof + 1`
33911
 
fi
33912
 
 
33913
 
cat >>$CONFIG_STATUS <<_ACEOF
33914
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
33915
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33916
 
_ACEOF
33917
 
sed '
33918
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33919
 
s/^/s,@/; s/!/@,|#_!!_#|/
33920
 
:n
33921
 
t n
33922
 
s/'"$ac_delim"'$/,g/; t
33923
 
s/$/\\/; p
33924
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33925
 
' >>$CONFIG_STATUS <conf$$subs.sed
33926
 
rm -f conf$$subs.sed
33927
 
cat >>$CONFIG_STATUS <<_ACEOF
33928
 
CEOF$ac_eof
33929
 
_ACEOF
33930
 
 
33931
 
 
33932
 
ac_delim='%!_!# '
33933
 
for ac_last_try in false false false false false :; do
33934
 
  cat >conf$$subs.sed <<_ACEOF
33935
 
DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
33936
 
DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
33937
 
MCOPIDL!$MCOPIDL$ac_delim
33938
 
ARTSCCONFIG!$ARTSCCONFIG$ac_delim
33939
 
MEINPROC!$MEINPROC$ac_delim
33940
 
KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
33941
 
XMLLINT!$XMLLINT$ac_delim
33942
 
kde_htmldir!$kde_htmldir$ac_delim
33943
 
kde_appsdir!$kde_appsdir$ac_delim
33944
 
kde_icondir!$kde_icondir$ac_delim
33945
 
kde_sounddir!$kde_sounddir$ac_delim
33946
 
kde_datadir!$kde_datadir$ac_delim
33947
 
kde_locale!$kde_locale$ac_delim
33948
 
kde_confdir!$kde_confdir$ac_delim
33949
 
kde_kcfgdir!$kde_kcfgdir$ac_delim
33950
 
kde_mimedir!$kde_mimedir$ac_delim
33951
 
kde_wallpaperdir!$kde_wallpaperdir$ac_delim
33952
 
kde_bindir!$kde_bindir$ac_delim
33953
 
xdg_appsdir!$xdg_appsdir$ac_delim
33954
 
xdg_menudir!$xdg_menudir$ac_delim
33955
 
xdg_directorydir!$xdg_directorydir$ac_delim
33956
 
kde_templatesdir!$kde_templatesdir$ac_delim
33957
 
kde_servicesdir!$kde_servicesdir$ac_delim
33958
 
kde_servicetypesdir!$kde_servicetypesdir$ac_delim
33959
 
kde_moduledir!$kde_moduledir$ac_delim
33960
 
kdeinitdir!$kdeinitdir$ac_delim
33961
 
kde_styledir!$kde_styledir$ac_delim
33962
 
kde_widgetdir!$kde_widgetdir$ac_delim
33963
 
LIB_KDED!$LIB_KDED$ac_delim
33964
 
LIB_KDECORE!$LIB_KDECORE$ac_delim
33965
 
LIB_KDEUI!$LIB_KDEUI$ac_delim
33966
 
LIB_KIO!$LIB_KIO$ac_delim
33967
 
LIB_KJS!$LIB_KJS$ac_delim
33968
 
LIB_SMB!$LIB_SMB$ac_delim
33969
 
LIB_KAB!$LIB_KAB$ac_delim
33970
 
LIB_KABC!$LIB_KABC$ac_delim
33971
 
LIB_KHTML!$LIB_KHTML$ac_delim
33972
 
LIB_KSPELL!$LIB_KSPELL$ac_delim
33973
 
LIB_KPARTS!$LIB_KPARTS$ac_delim
33974
 
LIB_KDEPRINT!$LIB_KDEPRINT$ac_delim
33975
 
LIB_KUTILS!$LIB_KUTILS$ac_delim
33976
 
LIB_KDEPIM!$LIB_KDEPIM$ac_delim
33977
 
LIB_KIMPROXY!$LIB_KIMPROXY$ac_delim
33978
 
LIB_KNEWSTUFF!$LIB_KNEWSTUFF$ac_delim
33979
 
LIB_KDNSSD!$LIB_KDNSSD$ac_delim
33980
 
LIB_KUNITTEST!$LIB_KUNITTEST$ac_delim
33981
 
LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim
33982
 
LIB_KFILE!$LIB_KFILE$ac_delim
33983
 
LIB_KFM!$LIB_KFM$ac_delim
33984
 
TOPSUBDIRS!$TOPSUBDIRS$ac_delim
33985
 
LIBOBJS!$LIBOBJS$ac_delim
33986
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
33987
 
_ACEOF
33988
 
 
33989
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
33990
 
    break
33991
 
  elif $ac_last_try; then
33992
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33993
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33994
 
   { (exit 1); exit 1; }; }
33995
 
  else
33996
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33997
 
  fi
33998
 
done
33999
 
 
34000
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34001
 
if test -n "$ac_eof"; then
34002
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34003
 
  ac_eof=`expr $ac_eof + 1`
34004
 
fi
34005
 
 
34006
 
cat >>$CONFIG_STATUS <<_ACEOF
34007
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
34008
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34009
 
_ACEOF
34010
 
sed '
34011
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34012
 
s/^/s,@/; s/!/@,|#_!!_#|/
34013
 
:n
34014
 
t n
34015
 
s/'"$ac_delim"'$/,g/; t
34016
 
s/$/\\/; p
34017
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34018
 
' >>$CONFIG_STATUS <conf$$subs.sed
34019
 
rm -f conf$$subs.sed
34020
 
cat >>$CONFIG_STATUS <<_ACEOF
34021
 
:end
34022
 
s/|#_!!_#|//g
34023
 
CEOF$ac_eof
34024
 
_ACEOF
34025
 
 
34026
 
 
34027
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
34028
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34029
 
# trailing colons and then remove the whole line if VPATH becomes empty
34030
 
# (actually we leave an empty line to preserve line numbers).
34031
 
if test "x$srcdir" = x.; then
34032
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
34033
 
s/:*\$(srcdir):*/:/
34034
 
s/:*\${srcdir}:*/:/
34035
 
s/:*@srcdir@:*/:/
34036
 
s/^\([^=]*=[     ]*\):*/\1/
34037
 
s/:*$//
34038
 
s/^[^=]*=[       ]*$//
34039
 
}'
34040
 
fi
34041
 
 
34042
 
cat >>$CONFIG_STATUS <<\_ACEOF
34043
 
fi # test -n "$CONFIG_FILES"
34044
 
 
34045
 
 
34046
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
34047
 
do
34048
 
  case $ac_tag in
34049
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
34050
 
  esac
34051
 
  case $ac_mode$ac_tag in
34052
 
  :[FHL]*:*);;
34053
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34054
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34055
 
   { (exit 1); exit 1; }; };;
34056
 
  :[FH]-) ac_tag=-:-;;
34057
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34058
 
  esac
34059
 
  ac_save_IFS=$IFS
34060
 
  IFS=:
34061
 
  set x $ac_tag
34062
 
  IFS=$ac_save_IFS
34063
 
  shift
34064
 
  ac_file=$1
34065
 
  shift
34066
 
 
34067
 
  case $ac_mode in
34068
 
  :L) ac_source=$1;;
34069
 
  :[FH])
34070
 
    ac_file_inputs=
34071
 
    for ac_f
34072
 
    do
34073
 
      case $ac_f in
34074
 
      -) ac_f="$tmp/stdin";;
34075
 
      *) # Look for the file first in the build tree, then in the source tree
34076
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
34077
 
         # because $ac_f cannot contain `:'.
34078
 
         test -f "$ac_f" ||
34079
 
           case $ac_f in
34080
 
           [\\/$]*) false;;
34081
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34082
 
           esac ||
34083
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34084
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34085
 
   { (exit 1); exit 1; }; };;
34086
 
      esac
34087
 
      ac_file_inputs="$ac_file_inputs $ac_f"
34088
 
    done
34089
 
 
34090
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
34091
 
    # use $as_me), people would be surprised to read:
34092
 
    #    /* config.h.  Generated by config.status.  */
34093
 
    configure_input="Generated from "`IFS=:
34094
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34095
 
    if test x"$ac_file" != x-; then
34096
 
      configure_input="$ac_file.  $configure_input"
34097
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
34098
 
echo "$as_me: creating $ac_file" >&6;}
34099
 
    fi
34100
 
 
34101
 
    case $ac_tag in
34102
 
    *:-:* | *:-) cat >"$tmp/stdin";;
34103
 
    esac
34104
 
    ;;
34105
 
  esac
34106
 
 
34107
 
  ac_dir=`$as_dirname -- "$ac_file" ||
34108
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34109
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
34110
 
         X"$ac_file" : 'X\(//\)$' \| \
34111
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34112
 
echo X"$ac_file" |
34113
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34114
 
            s//\1/
34115
 
            q
34116
 
          }
34117
 
          /^X\(\/\/\)[^/].*/{
34118
 
            s//\1/
34119
 
            q
34120
 
          }
34121
 
          /^X\(\/\/\)$/{
34122
 
            s//\1/
34123
 
            q
34124
 
          }
34125
 
          /^X\(\/\).*/{
34126
 
            s//\1/
34127
 
            q
34128
 
          }
34129
 
          s/.*/./; q'`
34130
 
  { as_dir="$ac_dir"
34131
 
  case $as_dir in #(
34132
 
  -*) as_dir=./$as_dir;;
34133
 
  esac
34134
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34135
 
    as_dirs=
34136
 
    while :; do
34137
 
      case $as_dir in #(
34138
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34139
 
      *) as_qdir=$as_dir;;
34140
 
      esac
34141
 
      as_dirs="'$as_qdir' $as_dirs"
34142
 
      as_dir=`$as_dirname -- "$as_dir" ||
34143
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34144
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
34145
 
         X"$as_dir" : 'X\(//\)$' \| \
34146
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34147
 
echo X"$as_dir" |
34148
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34149
 
            s//\1/
34150
 
            q
34151
 
          }
34152
 
          /^X\(\/\/\)[^/].*/{
34153
 
            s//\1/
34154
 
            q
34155
 
          }
34156
 
          /^X\(\/\/\)$/{
34157
 
            s//\1/
34158
 
            q
34159
 
          }
34160
 
          /^X\(\/\).*/{
34161
 
            s//\1/
34162
 
            q
34163
 
          }
34164
 
          s/.*/./; q'`
34165
 
      test -d "$as_dir" && break
34166
 
    done
34167
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
34168
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34169
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34170
 
   { (exit 1); exit 1; }; }; }
34171
 
  ac_builddir=.
34172
 
 
34173
 
case "$ac_dir" in
34174
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34175
 
*)
34176
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34177
 
  # A ".." for each directory in $ac_dir_suffix.
34178
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34179
 
  case $ac_top_builddir_sub in
34180
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34181
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34182
 
  esac ;;
34183
 
esac
34184
 
ac_abs_top_builddir=$ac_pwd
34185
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
34186
 
# for backward compatibility:
34187
 
ac_top_builddir=$ac_top_build_prefix
34188
 
 
34189
 
case $srcdir in
34190
 
  .)  # We are building in place.
34191
 
    ac_srcdir=.
34192
 
    ac_top_srcdir=$ac_top_builddir_sub
34193
 
    ac_abs_top_srcdir=$ac_pwd ;;
34194
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
34195
 
    ac_srcdir=$srcdir$ac_dir_suffix;
34196
 
    ac_top_srcdir=$srcdir
34197
 
    ac_abs_top_srcdir=$srcdir ;;
34198
 
  *) # Relative name.
34199
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34200
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
34201
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34202
 
esac
34203
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34204
 
 
34205
 
 
34206
 
  case $ac_mode in
34207
 
  :F)
34208
 
  #
34209
 
  # CONFIG_FILE
34210
 
  #
34211
 
 
34212
 
  case $INSTALL in
34213
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34214
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34215
 
  esac
34216
 
  ac_MKDIR_P=$MKDIR_P
34217
 
  case $MKDIR_P in
34218
 
  [\\/$]* | ?:[\\/]* ) ;;
34219
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
34220
 
  esac
34221
 
_ACEOF
34222
 
 
34223
 
cat >>$CONFIG_STATUS <<\_ACEOF
34224
 
# If the template does not know about datarootdir, expand it.
34225
 
# FIXME: This hack should be removed a few years after 2.60.
34226
 
ac_datarootdir_hack=; ac_datarootdir_seen=
34227
 
 
34228
 
case `sed -n '/datarootdir/ {
34229
 
  p
34230
 
  q
34231
 
}
34232
 
/@datadir@/p
34233
 
/@docdir@/p
34234
 
/@infodir@/p
34235
 
/@localedir@/p
34236
 
/@mandir@/p
34237
 
' $ac_file_inputs` in
34238
 
*datarootdir*) ac_datarootdir_seen=yes;;
34239
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34240
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34241
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34242
 
_ACEOF
34243
 
cat >>$CONFIG_STATUS <<_ACEOF
34244
 
  ac_datarootdir_hack='
34245
 
  s&@datadir@&$datadir&g
34246
 
  s&@docdir@&$docdir&g
34247
 
  s&@infodir@&$infodir&g
34248
 
  s&@localedir@&$localedir&g
34249
 
  s&@mandir@&$mandir&g
34250
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
34251
 
esac
34252
 
_ACEOF
34253
 
 
34254
 
# Neutralize VPATH when `$srcdir' = `.'.
34255
 
# Shell code in configure.ac might set extrasub.
34256
 
# FIXME: do we really want to maintain this feature?
34257
 
cat >>$CONFIG_STATUS <<_ACEOF
34258
 
  sed "$ac_vpsub
34259
 
$extrasub
34260
 
_ACEOF
34261
 
cat >>$CONFIG_STATUS <<\_ACEOF
34262
 
:t
34263
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34264
 
s&@configure_input@&$configure_input&;t t
34265
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
34266
 
s&@srcdir@&$ac_srcdir&;t t
34267
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
34268
 
s&@top_srcdir@&$ac_top_srcdir&;t t
34269
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34270
 
s&@builddir@&$ac_builddir&;t t
34271
 
s&@abs_builddir@&$ac_abs_builddir&;t t
34272
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34273
 
s&@INSTALL@&$ac_INSTALL&;t t
34274
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
34275
 
$ac_datarootdir_hack
34276
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
34277
 
 
34278
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34279
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34280
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34281
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34282
 
which seems to be undefined.  Please make sure it is defined." >&5
34283
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34284
 
which seems to be undefined.  Please make sure it is defined." >&2;}
34285
 
 
34286
 
  rm -f "$tmp/stdin"
34287
 
  case $ac_file in
34288
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
34289
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34290
 
  esac
34291
 
 ;;
34292
 
  :H)
34293
 
  #
34294
 
  # CONFIG_HEADER
34295
 
  #
34296
 
_ACEOF
34297
 
 
34298
 
# Transform confdefs.h into a sed script `conftest.defines', that
34299
 
# substitutes the proper values into config.h.in to produce config.h.
34300
 
rm -f conftest.defines conftest.tail
34301
 
# First, append a space to every undef/define line, to ease matching.
34302
 
echo 's/$/ /' >conftest.defines
34303
 
# Then, protect against being on the right side of a sed subst, or in
34304
 
# an unquoted here document, in config.status.  If some macros were
34305
 
# called several times there might be several #defines for the same
34306
 
# symbol, which is useless.  But do not sort them, since the last
34307
 
# AC_DEFINE must be honored.
34308
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34309
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34310
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
34311
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
34312
 
# just an empty string.
34313
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
34314
 
ac_dB='\\)[      (].*,\\1define\\2'
34315
 
ac_dC=' '
34316
 
ac_dD=' ,'
34317
 
 
34318
 
uniq confdefs.h |
34319
 
  sed -n '
34320
 
        t rset
34321
 
        :rset
34322
 
        s/^[     ]*#[    ]*define[       ][      ]*//
34323
 
        t ok
34324
 
        d
34325
 
        :ok
34326
 
        s/[\\&,]/\\&/g
34327
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34328
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34329
 
  ' >>conftest.defines
34330
 
 
34331
 
# Remove the space that was appended to ease matching.
34332
 
# Then replace #undef with comments.  This is necessary, for
34333
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
34334
 
# on some systems where configure will not decide to define it.
34335
 
# (The regexp can be short, since the line contains either #define or #undef.)
34336
 
echo 's/ $//
34337
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
34338
 
 
34339
 
# Break up conftest.defines:
34340
 
ac_max_sed_lines=50
34341
 
 
34342
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34343
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34344
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34345
 
# et cetera.
34346
 
ac_in='$ac_file_inputs'
34347
 
ac_out='"$tmp/out1"'
34348
 
ac_nxt='"$tmp/out2"'
34349
 
 
34350
 
while :
34351
 
do
34352
 
  # Write a here document:
34353
 
    cat >>$CONFIG_STATUS <<_ACEOF
34354
 
    # First, check the format of the line:
34355
 
    cat >"\$tmp/defines.sed" <<\\CEOF
34356
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
34357
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
34358
 
b
34359
 
:def
34360
 
_ACEOF
34361
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
34362
 
  echo 'CEOF
34363
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34364
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
34365
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
34366
 
  grep . conftest.tail >/dev/null || break
34367
 
  rm -f conftest.defines
34368
 
  mv conftest.tail conftest.defines
34369
 
done
34370
 
rm -f conftest.defines conftest.tail
34371
 
 
34372
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
34373
 
cat >>$CONFIG_STATUS <<\_ACEOF
34374
 
  if test x"$ac_file" != x-; then
34375
 
    echo "/* $configure_input  */" >"$tmp/config.h"
34376
 
    cat "$ac_result" >>"$tmp/config.h"
34377
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
34378
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34379
 
echo "$as_me: $ac_file is unchanged" >&6;}
34380
 
    else
34381
 
      rm -f $ac_file
34382
 
      mv "$tmp/config.h" $ac_file
34383
 
    fi
34384
 
  else
34385
 
    echo "/* $configure_input  */"
34386
 
    cat "$ac_result"
34387
 
  fi
34388
 
  rm -f "$tmp/out12"
34389
 
# Compute $ac_file's index in $config_headers.
34390
 
_am_arg=$ac_file
34391
 
_am_stamp_count=1
34392
 
for _am_header in $config_headers :; do
34393
 
  case $_am_header in
34394
 
    $_am_arg | $_am_arg:* )
34395
 
      break ;;
34396
 
    * )
34397
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34398
 
  esac
34399
 
done
34400
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
34401
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34402
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
34403
 
         X"$_am_arg" : 'X\(//\)$' \| \
34404
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
34405
 
echo X"$_am_arg" |
34406
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34407
 
            s//\1/
34408
 
            q
34409
 
          }
34410
 
          /^X\(\/\/\)[^/].*/{
34411
 
            s//\1/
34412
 
            q
34413
 
          }
34414
 
          /^X\(\/\/\)$/{
34415
 
            s//\1/
34416
 
            q
34417
 
          }
34418
 
          /^X\(\/\).*/{
34419
 
            s//\1/
34420
 
            q
34421
 
          }
34422
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
34423
 
 ;;
34424
 
 
34425
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
34426
 
echo "$as_me: executing $ac_file commands" >&6;}
34427
 
 ;;
34428
 
  esac
34429
 
 
34430
 
 
34431
 
  case $ac_file$ac_mode in
34432
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34433
 
  # Strip MF so we end up with the name of the file.
34434
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
34435
 
  # Check whether this is an Automake generated Makefile or not.
34436
 
  # We used to match only the files named `Makefile.in', but
34437
 
  # some people rename them; so instead we look at the file content.
34438
 
  # Grep'ing the first line is not enough: some people post-process
34439
 
  # each Makefile.in and add a new line on top of each file to say so.
34440
 
  # Grep'ing the whole file is not good either: AIX grep has a line
34441
 
  # limit of 2048, but all sed's we know have understand at least 4000.
34442
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
34443
 
    dirpart=`$as_dirname -- "$mf" ||
34444
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34445
 
         X"$mf" : 'X\(//\)[^/]' \| \
34446
 
         X"$mf" : 'X\(//\)$' \| \
34447
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34448
 
echo X"$mf" |
34449
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34450
 
            s//\1/
34451
 
            q
34452
 
          }
34453
 
          /^X\(\/\/\)[^/].*/{
34454
 
            s//\1/
34455
 
            q
34456
 
          }
34457
 
          /^X\(\/\/\)$/{
34458
 
            s//\1/
34459
 
            q
34460
 
          }
34461
 
          /^X\(\/\).*/{
34462
 
            s//\1/
34463
 
            q
34464
 
          }
34465
 
          s/.*/./; q'`
34466
 
  else
34467
 
    continue
34468
 
  fi
34469
 
  # Extract the definition of DEPDIR, am__include, and am__quote
34470
 
  # from the Makefile without running `make'.
34471
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34472
 
  test -z "$DEPDIR" && continue
34473
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
34474
 
  test -z "am__include" && continue
34475
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34476
 
  # When using ansi2knr, U may be empty or an underscore; expand it
34477
 
  U=`sed -n 's/^U = //p' < "$mf"`
34478
 
  # Find all dependency output files, they are included files with
34479
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
34480
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
34481
 
  # expansion.
34482
 
  for file in `sed -n "
34483
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34484
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34485
 
    # Make sure the directory exists.
34486
 
    test -f "$dirpart/$file" && continue
34487
 
    fdir=`$as_dirname -- "$file" ||
34488
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34489
 
         X"$file" : 'X\(//\)[^/]' \| \
34490
 
         X"$file" : 'X\(//\)$' \| \
34491
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34492
 
echo X"$file" |
34493
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34494
 
            s//\1/
34495
 
            q
34496
 
          }
34497
 
          /^X\(\/\/\)[^/].*/{
34498
 
            s//\1/
34499
 
            q
34500
 
          }
34501
 
          /^X\(\/\/\)$/{
34502
 
            s//\1/
34503
 
            q
34504
 
          }
34505
 
          /^X\(\/\).*/{
34506
 
            s//\1/
34507
 
            q
34508
 
          }
34509
 
          s/.*/./; q'`
34510
 
    { as_dir=$dirpart/$fdir
34511
 
  case $as_dir in #(
34512
 
  -*) as_dir=./$as_dir;;
34513
 
  esac
34514
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34515
 
    as_dirs=
34516
 
    while :; do
34517
 
      case $as_dir in #(
34518
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34519
 
      *) as_qdir=$as_dir;;
34520
 
      esac
34521
 
      as_dirs="'$as_qdir' $as_dirs"
34522
 
      as_dir=`$as_dirname -- "$as_dir" ||
34523
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34524
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
34525
 
         X"$as_dir" : 'X\(//\)$' \| \
34526
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34527
 
echo X"$as_dir" |
34528
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34529
 
            s//\1/
34530
 
            q
34531
 
          }
34532
 
          /^X\(\/\/\)[^/].*/{
34533
 
            s//\1/
34534
 
            q
34535
 
          }
34536
 
          /^X\(\/\/\)$/{
34537
 
            s//\1/
34538
 
            q
34539
 
          }
34540
 
          /^X\(\/\).*/{
34541
 
            s//\1/
34542
 
            q
34543
 
          }
34544
 
          s/.*/./; q'`
34545
 
      test -d "$as_dir" && break
34546
 
    done
34547
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
34548
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34549
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34550
 
   { (exit 1); exit 1; }; }; }
34551
 
    # echo "creating $dirpart/$file"
34552
 
    echo '# dummy' > "$dirpart/$file"
34553
 
  done
34554
 
done
34555
 
 ;;
34556
 
 
34557
 
  esac
34558
 
done # for ac_tag
34559
 
 
34560
 
 
34561
 
{ (exit 0); exit 0; }
34562
 
_ACEOF
34563
 
if test "x$with_fast_perl" = "xyes"; then    
34564
 
  perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS    \
34565
 
    || mv $CONFIG_STATUS.bak $CONFIG_STATUS    
34566
 
  rm -f $CONFIG_STATUS.bak
34567
 
fi    
34568
 
chmod +x $CONFIG_STATUS
34569
 
ac_clean_files=$ac_clean_files_save
34570
 
 
34571
 
 
34572
 
# configure is writing to config.log, and then calls config.status.
34573
 
# config.status does its own redirection, appending to config.log.
34574
 
# Unfortunately, on DOS this fails, as config.log is still kept open
34575
 
# by configure, so config.status won't be able to write to it; its
34576
 
# output is simply discarded.  So we exec the FD to /dev/null,
34577
 
# effectively closing config.log, so it can be properly (re)opened and
34578
 
# appended to by config.status.  When coming back to configure, we
34579
 
# need to make the FD available again.
34580
 
if test "$no_create" != yes; then
34581
 
  ac_cs_success=:
34582
 
  ac_config_status_args=
34583
 
  test "$silent" = yes &&
34584
 
    ac_config_status_args="$ac_config_status_args --quiet"
34585
 
  exec 5>/dev/null
34586
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34587
 
  exec 5>>config.log
34588
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34589
 
  # would make configure fail if this is the last instruction.
34590
 
  $ac_cs_success || { (exit 1); exit 1; }
34591
 
fi
34592
 
 
34593
 
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
34594
 
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
34595
 
  # And if so, warn when they don't match
34596
 
  if test "$kde_libs_prefix" != "$given_prefix"; then
34597
 
    # And if kde doesn't know about the prefix yet
34598
 
    echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
34599
 
    if test $? -ne 0; then
34600
 
      echo ""
34601
 
      echo "Warning: you chose to install this package in $given_prefix,"
34602
 
      echo "but KDE was found in $kde_libs_prefix."
34603
 
      echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
34604
 
      echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
34605
 
      echo "Then restart KDE."
34606
 
      echo ""
34607
 
    fi
34608
 
  fi
34609
 
fi
34610
 
 
34611
 
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
34612
 
  echo ""
34613
 
  echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
34614
 
  echo "was not included. Therefore, GCC symbol visibility support remains disabled."
34615
 
  echo ""
34616
 
  echo "For better performance, consider including the Qt visibility supporting patch"
34617
 
  echo "located at:"
34618
 
  echo ""
34619
 
  echo "http://bugs.kde.org/show_bug.cgi?id=109386"
34620
 
  echo ""
34621
 
  echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
34622
 
  echo "everything will continue to work just fine without it."
34623
 
  echo ""
34624
 
fi
34625
 
 
34626
 
if test "$all_tests" = "bad"; then
34627
 
  if test ! "$cache_file" = "/dev/null"; then
34628
 
    echo ""
34629
 
    echo "Please remove the file $cache_file after changing your setup"
34630
 
    echo "so that configure will find the changes next time."
34631
 
    echo ""
34632
 
  fi
34633
 
else
34634
 
  echo ""
34635
 
  echo "Good - your configure finished. Start make now"
34636
 
  echo ""
34637
 
fi