~ubuntu-branches/ubuntu/wily/knutclient/wily

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-12-15 01:56:29 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20131215015629-kbtxdi17e1gmxb5e
Tags: 1.0.5-1
Re-packaged and re-introduced to Debian (Closes: #695840).

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
 
CYGPATH_W
824
 
PACKAGE
825
 
VERSION
826
 
ACLOCAL
827
 
AUTOCONF
828
 
AUTOMAKE
829
 
AUTOHEADER
830
 
MAKEINFO
831
 
install_sh
832
 
STRIP
833
 
INSTALL_STRIP_PROGRAM
834
 
mkdir_p
835
 
AWK
836
 
SET_MAKE
837
 
am__leading_dot
838
 
AMTAR
839
 
am__tar
840
 
am__untar
841
 
KDECONFIG
842
 
kde_libs_prefix
843
 
kde_libs_htmldir
844
 
CONF_FILES
845
 
CC
846
 
CFLAGS
847
 
LDFLAGS
848
 
CPPFLAGS
849
 
ac_ct_CC
850
 
EXEEXT
851
 
OBJEXT
852
 
DEPDIR
853
 
am__include
854
 
am__quote
855
 
AMDEP_TRUE
856
 
AMDEP_FALSE
857
 
AMDEPBACKSLASH
858
 
CCDEPMODE
859
 
am__fastdepCC_TRUE
860
 
am__fastdepCC_FALSE
861
 
CPP
862
 
CXX
863
 
CXXFLAGS
864
 
ac_ct_CXX
865
 
CXXDEPMODE
866
 
am__fastdepCXX_TRUE
867
 
am__fastdepCXX_FALSE
868
 
WOVERLOADED_VIRTUAL
869
 
HAVE_GCC_VISIBILITY
870
 
unsermake_enable_pch_TRUE
871
 
unsermake_enable_pch_FALSE
872
 
USE_EXCEPTIONS
873
 
USE_RTTI
874
 
CXXCPP
875
 
NOOPT_CXXFLAGS
876
 
NOOPT_CFLAGS
877
 
ENABLE_PERMISSIVE_FLAG
878
 
LDFLAGS_AS_NEEDED
879
 
LDFLAGS_NEW_DTAGS
880
 
KDE_USE_FINAL_TRUE
881
 
KDE_USE_FINAL_FALSE
882
 
KDE_USE_CLOSURE_TRUE
883
 
KDE_USE_CLOSURE_FALSE
884
 
KDE_NO_UNDEFINED
885
 
KDE_USE_NMCHECK_TRUE
886
 
KDE_USE_NMCHECK_FALSE
887
 
GREP
888
 
EGREP
889
 
LN_S
890
 
ECHO
891
 
AR
892
 
RANLIB
893
 
F77
894
 
FFLAGS
895
 
ac_ct_F77
896
 
LIBTOOL
897
 
KDE_PLUGIN
898
 
KDE_CHECK_PLUGIN
899
 
MSGFMT
900
 
GMSGFMT
901
 
XGETTEXT
902
 
LIBUTIL
903
 
LIBCOMPAT
904
 
LIBCRYPT
905
 
LIBRESOLV
906
 
LIB_POLL
907
 
FRAMEWORK_COREAUDIO
908
 
LIBSOCKET
909
 
X_EXTRA_LIBS
910
 
LIBUCB
911
 
LIBDL
912
 
KDE_USE_FPIE
913
 
KDE_USE_PIE
914
 
include_x11_TRUE
915
 
include_x11_FALSE
916
 
XMKMF
917
 
X_PRE_LIBS
918
 
LIB_X11
919
 
LIB_XRENDER
920
 
LIBSM
921
 
X_INCLUDES
922
 
X_LDFLAGS
923
 
x_includes
924
 
x_libraries
925
 
QTE_NORTTI
926
 
LIB_XEXT
927
 
LIBPTHREAD
928
 
USE_THREADS
929
 
KDE_MT_LDFLAGS
930
 
KDE_MT_LIBS
931
 
USER_INCLUDES
932
 
USER_LDFLAGS
933
 
LIBZ
934
 
LIBPNG
935
 
LIBJPEG
936
 
qt_libraries
937
 
qt_includes
938
 
QT_INCLUDES
939
 
QT_LDFLAGS
940
 
PERL
941
 
MOC
942
 
UIC
943
 
UIC_TR
944
 
LIB_QT
945
 
LIB_QPE
946
 
kde_qtver
947
 
KDE_EXTRA_RPATH
948
 
KDE_RPATH
949
 
X_RPATH
950
 
kde_libraries
951
 
kde_includes
952
 
KDE_LDFLAGS
953
 
KDE_INCLUDES
954
 
all_includes
955
 
all_libraries
956
 
AUTODIRS
957
 
include_ARTS_TRUE
958
 
include_ARTS_FALSE
959
 
MAKEKDEWIDGETS
960
 
KCONFIG_COMPILER
961
 
KCFG_DEPENDENCIES
962
 
DCOPIDLNG
963
 
DCOPIDL
964
 
DCOPIDL2CPP
965
 
DCOP_DEPENDENCIES
966
 
MCOPIDL
967
 
ARTSCCONFIG
968
 
MEINPROC
969
 
KDE_XSL_STYLESHEET
970
 
XMLLINT
971
 
kde_htmldir
972
 
kde_appsdir
973
 
kde_icondir
974
 
kde_sounddir
975
 
kde_datadir
976
 
kde_locale
977
 
kde_confdir
978
 
kde_kcfgdir
979
 
kde_mimedir
980
 
kde_wallpaperdir
981
 
kde_bindir
982
 
xdg_appsdir
983
 
xdg_menudir
984
 
xdg_directorydir
985
 
kde_templatesdir
986
 
kde_servicesdir
987
 
kde_servicetypesdir
988
 
kde_moduledir
989
 
kdeinitdir
990
 
kde_styledir
991
 
kde_widgetdir
992
 
LIB_KDED
993
 
LIB_KDECORE
994
 
LIB_KDEUI
995
 
LIB_KIO
996
 
LIB_KJS
997
 
LIB_SMB
998
 
LIB_KAB
999
 
LIB_KABC
1000
 
LIB_KHTML
1001
 
LIB_KSPELL
1002
 
LIB_KPARTS
1003
 
LIB_KDEPRINT
1004
 
LIB_KUTILS
1005
 
LIB_KDEPIM
1006
 
LIB_KIMPROXY
1007
 
LIB_KNEWSTUFF
1008
 
LIB_KDNSSD
1009
 
LIB_KUNITTEST
1010
 
LIB_KSYCOCA
1011
 
LIB_KFILE
1012
 
LIB_KFM
1013
 
TOPSUBDIRS
1014
 
LIBOBJS
1015
 
LTLIBOBJS'
1016
 
ac_subst_files=''
1017
 
      ac_precious_vars='build_alias
1018
 
host_alias
1019
 
target_alias
1020
 
CC
1021
 
CFLAGS
1022
 
LDFLAGS
1023
 
LIBS
1024
 
CPPFLAGS
1025
 
CPP
1026
 
CXX
1027
 
CXXFLAGS
1028
 
CCC
1029
 
CXXCPP
1030
 
F77
1031
 
FFLAGS
1032
 
XMKMF'
1033
 
 
1034
 
 
1035
 
# Initialize some variables set by options.
1036
 
ac_init_help=
1037
 
ac_init_version=false
1038
 
# The variables have the same names as the options, with
1039
 
# dashes changed to underlines.
1040
 
cache_file=/dev/null
1041
 
exec_prefix=NONE
1042
 
no_create=
1043
 
no_recursion=
1044
 
prefix=NONE
1045
 
program_prefix=NONE
1046
 
program_suffix=NONE
1047
 
program_transform_name=s,x,x,
1048
 
silent=
1049
 
site=
1050
 
srcdir=
1051
 
verbose=
1052
 
x_includes=NONE
1053
 
x_libraries=NONE
1054
 
 
1055
 
# Installation directory options.
1056
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
1057
 
# and all the variables that are supposed to be based on exec_prefix
1058
 
# by default will actually change.
1059
 
# Use braces instead of parens because sh, perl, etc. also accept them.
1060
 
# (The list follows the same order as the GNU Coding Standards.)
1061
 
bindir='${exec_prefix}/bin'
1062
 
sbindir='${exec_prefix}/sbin'
1063
 
libexecdir='${exec_prefix}/libexec'
1064
 
datarootdir='${prefix}/share'
1065
 
datadir='${datarootdir}'
1066
 
sysconfdir='${prefix}/etc'
1067
 
sharedstatedir='${prefix}/com'
1068
 
localstatedir='${prefix}/var'
1069
 
includedir='${prefix}/include'
1070
 
oldincludedir='/usr/include'
1071
 
docdir='${datarootdir}/doc/${PACKAGE}'
1072
 
infodir='${datarootdir}/info'
1073
 
htmldir='${docdir}'
1074
 
dvidir='${docdir}'
1075
 
pdfdir='${docdir}'
1076
 
psdir='${docdir}'
1077
 
libdir='${exec_prefix}/lib'
1078
 
localedir='${datarootdir}/locale'
1079
 
mandir='${datarootdir}/man'
1080
 
 
1081
 
ac_prev=
1082
 
ac_dashdash=
1083
 
for ac_option
1084
 
do
1085
 
  # If the previous option needs an argument, assign it.
1086
 
  if test -n "$ac_prev"; then
1087
 
    eval $ac_prev=\$ac_option
1088
 
    ac_prev=
1089
 
    continue
1090
 
  fi
1091
 
 
1092
 
  case $ac_option in
1093
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1094
 
  *)    ac_optarg=yes ;;
1095
 
  esac
1096
 
 
1097
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1098
 
 
1099
 
  case $ac_dashdash$ac_option in
1100
 
  --)
1101
 
    ac_dashdash=yes ;;
1102
 
 
1103
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1104
 
    ac_prev=bindir ;;
1105
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1106
 
    bindir=$ac_optarg ;;
1107
 
 
1108
 
  -build | --build | --buil | --bui | --bu)
1109
 
    ac_prev=build_alias ;;
1110
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1111
 
    build_alias=$ac_optarg ;;
1112
 
 
1113
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1114
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1115
 
    ac_prev=cache_file ;;
1116
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1117
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1118
 
    cache_file=$ac_optarg ;;
1119
 
 
1120
 
  --config-cache | -C)
1121
 
    cache_file=config.cache ;;
1122
 
 
1123
 
  -datadir | --datadir | --datadi | --datad)
1124
 
    ac_prev=datadir ;;
1125
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1126
 
    datadir=$ac_optarg ;;
1127
 
 
1128
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1129
 
  | --dataroo | --dataro | --datar)
1130
 
    ac_prev=datarootdir ;;
1131
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1132
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1133
 
    datarootdir=$ac_optarg ;;
1134
 
 
1135
 
  -disable-* | --disable-*)
1136
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1137
 
    # Reject names that are not valid shell variable names.
1138
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1139
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1140
 
   { (exit 1); exit 1; }; }
1141
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1142
 
    eval enable_$ac_feature=no ;;
1143
 
 
1144
 
  -docdir | --docdir | --docdi | --doc | --do)
1145
 
    ac_prev=docdir ;;
1146
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1147
 
    docdir=$ac_optarg ;;
1148
 
 
1149
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1150
 
    ac_prev=dvidir ;;
1151
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1152
 
    dvidir=$ac_optarg ;;
1153
 
 
1154
 
  -enable-* | --enable-*)
1155
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1156
 
    # Reject names that are not valid shell variable names.
1157
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1159
 
   { (exit 1); exit 1; }; }
1160
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1161
 
    eval enable_$ac_feature=\$ac_optarg ;;
1162
 
 
1163
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1164
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1165
 
  | --exec | --exe | --ex)
1166
 
    ac_prev=exec_prefix ;;
1167
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1168
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1169
 
  | --exec=* | --exe=* | --ex=*)
1170
 
    exec_prefix=$ac_optarg ;;
1171
 
 
1172
 
  -gas | --gas | --ga | --g)
1173
 
    # Obsolete; use --with-gas.
1174
 
    with_gas=yes ;;
1175
 
 
1176
 
  -help | --help | --hel | --he | -h)
1177
 
    ac_init_help=long ;;
1178
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1179
 
    ac_init_help=recursive ;;
1180
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1181
 
    ac_init_help=short ;;
1182
 
 
1183
 
  -host | --host | --hos | --ho)
1184
 
    ac_prev=host_alias ;;
1185
 
  -host=* | --host=* | --hos=* | --ho=*)
1186
 
    host_alias=$ac_optarg ;;
1187
 
 
1188
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1189
 
    ac_prev=htmldir ;;
1190
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1191
 
  | --ht=*)
1192
 
    htmldir=$ac_optarg ;;
1193
 
 
1194
 
  -includedir | --includedir | --includedi | --included | --include \
1195
 
  | --includ | --inclu | --incl | --inc)
1196
 
    ac_prev=includedir ;;
1197
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1198
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1199
 
    includedir=$ac_optarg ;;
1200
 
 
1201
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1202
 
    ac_prev=infodir ;;
1203
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1204
 
    infodir=$ac_optarg ;;
1205
 
 
1206
 
  -libdir | --libdir | --libdi | --libd)
1207
 
    ac_prev=libdir ;;
1208
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1209
 
    libdir=$ac_optarg ;;
1210
 
 
1211
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1212
 
  | --libexe | --libex | --libe)
1213
 
    ac_prev=libexecdir ;;
1214
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1215
 
  | --libexe=* | --libex=* | --libe=*)
1216
 
    libexecdir=$ac_optarg ;;
1217
 
 
1218
 
  -localedir | --localedir | --localedi | --localed | --locale)
1219
 
    ac_prev=localedir ;;
1220
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1221
 
    localedir=$ac_optarg ;;
1222
 
 
1223
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1224
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1225
 
    ac_prev=localstatedir ;;
1226
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1227
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1228
 
    localstatedir=$ac_optarg ;;
1229
 
 
1230
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1231
 
    ac_prev=mandir ;;
1232
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1233
 
    mandir=$ac_optarg ;;
1234
 
 
1235
 
  -nfp | --nfp | --nf)
1236
 
    # Obsolete; use --without-fp.
1237
 
    with_fp=no ;;
1238
 
 
1239
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1240
 
  | --no-cr | --no-c | -n)
1241
 
    no_create=yes ;;
1242
 
 
1243
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1244
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1245
 
    no_recursion=yes ;;
1246
 
 
1247
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1248
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1249
 
  | --oldin | --oldi | --old | --ol | --o)
1250
 
    ac_prev=oldincludedir ;;
1251
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1252
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1253
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1254
 
    oldincludedir=$ac_optarg ;;
1255
 
 
1256
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1257
 
    ac_prev=prefix ;;
1258
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1259
 
    prefix=$ac_optarg ;;
1260
 
 
1261
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1262
 
  | --program-pre | --program-pr | --program-p)
1263
 
    ac_prev=program_prefix ;;
1264
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1265
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1266
 
    program_prefix=$ac_optarg ;;
1267
 
 
1268
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1269
 
  | --program-suf | --program-su | --program-s)
1270
 
    ac_prev=program_suffix ;;
1271
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1272
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1273
 
    program_suffix=$ac_optarg ;;
1274
 
 
1275
 
  -program-transform-name | --program-transform-name \
1276
 
  | --program-transform-nam | --program-transform-na \
1277
 
  | --program-transform-n | --program-transform- \
1278
 
  | --program-transform | --program-transfor \
1279
 
  | --program-transfo | --program-transf \
1280
 
  | --program-trans | --program-tran \
1281
 
  | --progr-tra | --program-tr | --program-t)
1282
 
    ac_prev=program_transform_name ;;
1283
 
  -program-transform-name=* | --program-transform-name=* \
1284
 
  | --program-transform-nam=* | --program-transform-na=* \
1285
 
  | --program-transform-n=* | --program-transform-=* \
1286
 
  | --program-transform=* | --program-transfor=* \
1287
 
  | --program-transfo=* | --program-transf=* \
1288
 
  | --program-trans=* | --program-tran=* \
1289
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1290
 
    program_transform_name=$ac_optarg ;;
1291
 
 
1292
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1293
 
    ac_prev=pdfdir ;;
1294
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1295
 
    pdfdir=$ac_optarg ;;
1296
 
 
1297
 
  -psdir | --psdir | --psdi | --psd | --ps)
1298
 
    ac_prev=psdir ;;
1299
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1300
 
    psdir=$ac_optarg ;;
1301
 
 
1302
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1303
 
  | -silent | --silent | --silen | --sile | --sil)
1304
 
    silent=yes ;;
1305
 
 
1306
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1307
 
    ac_prev=sbindir ;;
1308
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1309
 
  | --sbi=* | --sb=*)
1310
 
    sbindir=$ac_optarg ;;
1311
 
 
1312
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1313
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1314
 
  | --sharedst | --shareds | --shared | --share | --shar \
1315
 
  | --sha | --sh)
1316
 
    ac_prev=sharedstatedir ;;
1317
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1318
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1319
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1320
 
  | --sha=* | --sh=*)
1321
 
    sharedstatedir=$ac_optarg ;;
1322
 
 
1323
 
  -site | --site | --sit)
1324
 
    ac_prev=site ;;
1325
 
  -site=* | --site=* | --sit=*)
1326
 
    site=$ac_optarg ;;
1327
 
 
1328
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1329
 
    ac_prev=srcdir ;;
1330
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1331
 
    srcdir=$ac_optarg ;;
1332
 
 
1333
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1334
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1335
 
    ac_prev=sysconfdir ;;
1336
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1337
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1338
 
    sysconfdir=$ac_optarg ;;
1339
 
 
1340
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1341
 
    ac_prev=target_alias ;;
1342
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1343
 
    target_alias=$ac_optarg ;;
1344
 
 
1345
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1346
 
    verbose=yes ;;
1347
 
 
1348
 
  -version | --version | --versio | --versi | --vers | -V)
1349
 
    ac_init_version=: ;;
1350
 
 
1351
 
  -with-* | --with-*)
1352
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1353
 
    # Reject names that are not valid shell variable names.
1354
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1355
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1356
 
   { (exit 1); exit 1; }; }
1357
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1358
 
    eval with_$ac_package=\$ac_optarg ;;
1359
 
 
1360
 
  -without-* | --without-*)
1361
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1362
 
    # Reject names that are not valid shell variable names.
1363
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1364
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1365
 
   { (exit 1); exit 1; }; }
1366
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1367
 
    eval with_$ac_package=no ;;
1368
 
 
1369
 
  --x)
1370
 
    # Obsolete; use --with-x.
1371
 
    with_x=yes ;;
1372
 
 
1373
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1374
 
  | --x-incl | --x-inc | --x-in | --x-i)
1375
 
    ac_prev=x_includes ;;
1376
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1377
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1378
 
    x_includes=$ac_optarg ;;
1379
 
 
1380
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1381
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1382
 
    ac_prev=x_libraries ;;
1383
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1384
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1385
 
    x_libraries=$ac_optarg ;;
1386
 
 
1387
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1388
 
Try \`$0 --help' for more information." >&2
1389
 
   { (exit 1); exit 1; }; }
1390
 
    ;;
1391
 
 
1392
 
  *=*)
1393
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1394
 
    # Reject names that are not valid shell variable names.
1395
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1396
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1397
 
   { (exit 1); exit 1; }; }
1398
 
    eval $ac_envvar=\$ac_optarg
1399
 
    export $ac_envvar ;;
1400
 
 
1401
 
  *)
1402
 
    # FIXME: should be removed in autoconf 3.0.
1403
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1404
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1405
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1406
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1407
 
    ;;
1408
 
 
1409
 
  esac
1410
 
done
1411
 
 
1412
 
if test -n "$ac_prev"; then
1413
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1414
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1415
 
   { (exit 1); exit 1; }; }
1416
 
fi
1417
 
 
1418
 
# Be sure to have absolute directory names.
1419
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1420
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1421
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1422
 
                libdir localedir mandir
1423
 
do
1424
 
  eval ac_val=\$$ac_var
1425
 
  case $ac_val in
1426
 
    [\\/$]* | ?:[\\/]* )  continue;;
1427
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1428
 
  esac
1429
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1430
 
   { (exit 1); exit 1; }; }
1431
 
done
1432
 
 
1433
 
# There might be people who depend on the old broken behavior: `$host'
1434
 
# used to hold the argument of --host etc.
1435
 
# FIXME: To remove some day.
1436
 
build=$build_alias
1437
 
host=$host_alias
1438
 
target=$target_alias
1439
 
 
1440
 
# FIXME: To remove some day.
1441
 
if test "x$host_alias" != x; then
1442
 
  if test "x$build_alias" = x; then
1443
 
    cross_compiling=maybe
1444
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1445
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1446
 
  elif test "x$build_alias" != "x$host_alias"; then
1447
 
    cross_compiling=yes
1448
 
  fi
1449
 
fi
1450
 
 
1451
 
ac_tool_prefix=
1452
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1453
 
 
1454
 
test "$silent" = yes && exec 6>/dev/null
1455
 
 
1456
 
 
1457
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1458
 
ac_ls_di=`ls -di .` &&
1459
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1460
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1461
 
   { (exit 1); exit 1; }; }
1462
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1463
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1464
 
   { (exit 1); exit 1; }; }
1465
 
 
1466
 
 
1467
 
# Find the source files, if location was not specified.
1468
 
if test -z "$srcdir"; then
1469
 
  ac_srcdir_defaulted=yes
1470
 
  # Try the directory containing this script, then the parent directory.
1471
 
  ac_confdir=`$as_dirname -- "$0" ||
1472
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1473
 
         X"$0" : 'X\(//\)[^/]' \| \
1474
 
         X"$0" : 'X\(//\)$' \| \
1475
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1476
 
echo X"$0" |
1477
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1478
 
            s//\1/
1479
 
            q
1480
 
          }
1481
 
          /^X\(\/\/\)[^/].*/{
1482
 
            s//\1/
1483
 
            q
1484
 
          }
1485
 
          /^X\(\/\/\)$/{
1486
 
            s//\1/
1487
 
            q
1488
 
          }
1489
 
          /^X\(\/\).*/{
1490
 
            s//\1/
1491
 
            q
1492
 
          }
1493
 
          s/.*/./; q'`
1494
 
  srcdir=$ac_confdir
1495
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1496
 
    srcdir=..
1497
 
  fi
1498
 
else
1499
 
  ac_srcdir_defaulted=no
1500
 
fi
1501
 
if test ! -r "$srcdir/$ac_unique_file"; then
1502
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1503
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1504
 
   { (exit 1); exit 1; }; }
1505
 
fi
1506
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1507
 
ac_abs_confdir=`(
1508
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1509
 
   { (exit 1); exit 1; }; }
1510
 
        pwd)`
1511
 
# When building in place, set srcdir=.
1512
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1513
 
  srcdir=.
1514
 
fi
1515
 
# Remove unnecessary trailing slashes from srcdir.
1516
 
# Double slashes in file names in object file debugging info
1517
 
# mess up M-x gdb in Emacs.
1518
 
case $srcdir in
1519
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1520
 
esac
1521
 
for ac_var in $ac_precious_vars; do
1522
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1523
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1524
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1525
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1526
 
done
1527
 
 
1528
 
#
1529
 
# Report the --help message.
1530
 
#
1531
 
if test "$ac_init_help" = "long"; then
1532
 
  # Omit some internal or obsolete options to make the list less imposing.
1533
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1534
 
  cat <<_ACEOF
1535
 
\`configure' configures this package to adapt to many kinds of systems.
1536
 
 
1537
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1538
 
 
1539
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1540
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1541
 
 
1542
 
Defaults for the options are specified in brackets.
1543
 
 
1544
 
Configuration:
1545
 
  -h, --help              display this help and exit
1546
 
      --help=short        display options specific to this package
1547
 
      --help=recursive    display the short help of all the included packages
1548
 
  -V, --version           display version information and exit
1549
 
  -q, --quiet, --silent   do not print \`checking...' messages
1550
 
      --cache-file=FILE   cache test results in FILE [disabled]
1551
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1552
 
  -n, --no-create         do not create output files
1553
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1554
 
 
1555
 
Installation directories:
1556
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1557
 
                          [$ac_default_prefix]
1558
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1559
 
                          [PREFIX]
1560
 
 
1561
 
By default, \`make install' will install all the files in
1562
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1563
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1564
 
for instance \`--prefix=\$HOME'.
1565
 
 
1566
 
For better control, use the options below.
1567
 
 
1568
 
Fine tuning of the installation directories:
1569
 
  --bindir=DIR           user executables [EPREFIX/bin]
1570
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1571
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1572
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1573
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1574
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1575
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1576
 
  --includedir=DIR       C header files [PREFIX/include]
1577
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1578
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1579
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1580
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1581
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1582
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1583
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1584
 
  --htmldir=DIR          html documentation [DOCDIR]
1585
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1586
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1587
 
  --psdir=DIR            ps documentation [DOCDIR]
1588
 
_ACEOF
1589
 
 
1590
 
  cat <<\_ACEOF
1591
 
 
1592
 
Program names:
1593
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1594
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1595
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1596
 
 
1597
 
System types:
1598
 
  --build=BUILD     configure for building on BUILD [guessed]
1599
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1600
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1601
 
_ACEOF
1602
 
fi
1603
 
 
1604
 
if test -n "$ac_init_help"; then
1605
 
 
1606
 
  cat <<\_ACEOF
1607
 
 
1608
 
Optional Features:
1609
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1610
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1611
 
  --disable-fast-perl     disable fast Makefile generation (needs perl)
1612
 
  --enable-debug=ARG      enables debug symbols (yes|no|full) default=no
1613
 
  --disable-debug         disables debug output and debug symbols default=no
1614
 
  --enable-strict         compiles with strict compiler options (may not
1615
 
                          work!)
1616
 
  --disable-warnings      disables compilation with -Wall and similar
1617
 
  --enable-profile        creates profiling infos default=no
1618
 
  --disable-dependency-tracking  speeds up one-time build
1619
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1620
 
  --enable-pch            enables precompiled header support (currently only
1621
 
                          KCC or gcc >=3.4+unsermake) default=no
1622
 
  --enable-coverage       use gcc coverage testing
1623
 
  --enable-new-ldflags    enable the new linker flags
1624
 
  --enable-final          build size optimized apps (experimental - needs lots
1625
 
                          of memory)
1626
 
  --enable-closure        delay template instantiation
1627
 
  --enable-nmcheck        enable automatic namespace cleanness check
1628
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1629
 
  --enable-static[=PKGS]  build static libraries [default=no]
1630
 
  --enable-libsuffix      /lib directory suffix (64,32,none,auto=default)
1631
 
  --enable-fast-install[=PKGS]
1632
 
                          optimize for fast installation [default=yes]
1633
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1634
 
  --enable-pie            platform supports PIE linking default=detect
1635
 
  --enable-embedded       link to Qt-embedded, don't use X
1636
 
  --enable-qtopia         link to Qt-embedded, link to the Qtopia Environment
1637
 
  --enable-mac            link to Qt/Mac (don't use X)
1638
 
  --disable-mt            link to non-threaded Qt (deprecated)
1639
 
  --disable-threading     disables threading even if libpthread found
1640
 
  --disable-rpath         do not use the rpath feature of ld
1641
 
  --disable-path-check    don't try to find out, where to install
1642
 
 
1643
 
Optional Packages:
1644
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1645
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1646
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1647
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1648
 
                          both]
1649
 
  --with-tags[=TAGS]      include additional configurations [automatic]
1650
 
  --with-extra-includes=DIR
1651
 
                          adds non standard include paths
1652
 
  --with-extra-libs=DIR   adds non standard library paths
1653
 
  --with-qt-dir=DIR       where the root of Qt is installed
1654
 
  --with-qt-includes=DIR  where the Qt includes are.
1655
 
  --with-qt-libraries=DIR where the Qt library is installed.
1656
 
  --without-arts          build without aRts default=no
1657
 
 
1658
 
Some influential environment variables:
1659
 
  CC          C compiler command
1660
 
  CFLAGS      C compiler flags
1661
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1662
 
              nonstandard directory <lib dir>
1663
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1664
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1665
 
              you have headers in a nonstandard directory <include dir>
1666
 
  CPP         C preprocessor
1667
 
  CXX         C++ compiler command
1668
 
  CXXFLAGS    C++ compiler flags
1669
 
  CXXCPP      C++ preprocessor
1670
 
  F77         Fortran 77 compiler command
1671
 
  FFLAGS      Fortran 77 compiler flags
1672
 
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1673
 
 
1674
 
Use these variables to override the choices made by `configure' or to help
1675
 
it to find libraries and programs with nonstandard names/locations.
1676
 
 
1677
 
_ACEOF
1678
 
ac_status=$?
1679
 
fi
1680
 
 
1681
 
if test "$ac_init_help" = "recursive"; then
1682
 
  # If there are subdirs, report their specific --help.
1683
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1684
 
    test -d "$ac_dir" || continue
1685
 
    ac_builddir=.
1686
 
 
1687
 
case "$ac_dir" in
1688
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1689
 
*)
1690
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1691
 
  # A ".." for each directory in $ac_dir_suffix.
1692
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1693
 
  case $ac_top_builddir_sub in
1694
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1695
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1696
 
  esac ;;
1697
 
esac
1698
 
ac_abs_top_builddir=$ac_pwd
1699
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1700
 
# for backward compatibility:
1701
 
ac_top_builddir=$ac_top_build_prefix
1702
 
 
1703
 
case $srcdir in
1704
 
  .)  # We are building in place.
1705
 
    ac_srcdir=.
1706
 
    ac_top_srcdir=$ac_top_builddir_sub
1707
 
    ac_abs_top_srcdir=$ac_pwd ;;
1708
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1709
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1710
 
    ac_top_srcdir=$srcdir
1711
 
    ac_abs_top_srcdir=$srcdir ;;
1712
 
  *) # Relative name.
1713
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1714
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1715
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1716
 
esac
1717
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1718
 
 
1719
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1720
 
    # Check for guested configure.
1721
 
    if test -f "$ac_srcdir/configure.gnu"; then
1722
 
      echo &&
1723
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1724
 
    elif test -f "$ac_srcdir/configure"; then
1725
 
      echo &&
1726
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1727
 
    else
1728
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1729
 
    fi || ac_status=$?
1730
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1731
 
  done
1732
 
fi
1733
 
 
1734
 
test -n "$ac_init_help" && exit $ac_status
1735
 
if $ac_init_version; then
1736
 
  cat <<\_ACEOF
1737
 
configure
1738
 
generated by GNU Autoconf 2.61
1739
 
 
1740
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1741
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1742
 
This configure script is free software; the Free Software Foundation
1743
 
gives unlimited permission to copy, distribute and modify it.
1744
 
_ACEOF
1745
 
  exit
1746
 
fi
1747
 
cat >config.log <<_ACEOF
1748
 
This file contains any messages produced by compilers while
1749
 
running configure, to aid debugging if configure makes a mistake.
1750
 
 
1751
 
It was created by $as_me, which was
1752
 
generated by GNU Autoconf 2.61.  Invocation command line was
1753
 
 
1754
 
  $ $0 $@
1755
 
 
1756
 
_ACEOF
1757
 
exec 5>>config.log
1758
 
{
1759
 
cat <<_ASUNAME
1760
 
## --------- ##
1761
 
## Platform. ##
1762
 
## --------- ##
1763
 
 
1764
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1765
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1766
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1767
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1768
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1769
 
 
1770
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1771
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1772
 
 
1773
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1774
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1775
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1776
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1777
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1778
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1779
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1780
 
 
1781
 
_ASUNAME
1782
 
 
1783
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784
 
for as_dir in $PATH
1785
 
do
1786
 
  IFS=$as_save_IFS
1787
 
  test -z "$as_dir" && as_dir=.
1788
 
  echo "PATH: $as_dir"
1789
 
done
1790
 
IFS=$as_save_IFS
1791
 
 
1792
 
} >&5
1793
 
 
1794
 
cat >&5 <<_ACEOF
1795
 
 
1796
 
 
1797
 
## ----------- ##
1798
 
## Core tests. ##
1799
 
## ----------- ##
1800
 
 
1801
 
_ACEOF
1802
 
 
1803
 
 
1804
 
# Keep a trace of the command line.
1805
 
# Strip out --no-create and --no-recursion so they do not pile up.
1806
 
# Strip out --silent because we don't want to record it for future runs.
1807
 
# Also quote any args containing shell meta-characters.
1808
 
# Make two passes to allow for proper duplicate-argument suppression.
1809
 
ac_configure_args=
1810
 
ac_configure_args0=
1811
 
ac_configure_args1=
1812
 
ac_must_keep_next=false
1813
 
for ac_pass in 1 2
1814
 
do
1815
 
  for ac_arg
1816
 
  do
1817
 
    case $ac_arg in
1818
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1819
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1820
 
    | -silent | --silent | --silen | --sile | --sil)
1821
 
      continue ;;
1822
 
    *\'*)
1823
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1824
 
    esac
1825
 
    case $ac_pass in
1826
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1827
 
    2)
1828
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1829
 
      if test $ac_must_keep_next = true; then
1830
 
        ac_must_keep_next=false # Got value, back to normal.
1831
 
      else
1832
 
        case $ac_arg in
1833
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1834
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1835
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1836
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1837
 
            case "$ac_configure_args0 " in
1838
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1839
 
            esac
1840
 
            ;;
1841
 
          -* ) ac_must_keep_next=true ;;
1842
 
        esac
1843
 
      fi
1844
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1845
 
      ;;
1846
 
    esac
1847
 
  done
1848
 
done
1849
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1850
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1851
 
 
1852
 
# When interrupted or exit'd, cleanup temporary files, and complete
1853
 
# config.log.  We remove comments because anyway the quotes in there
1854
 
# would cause problems or look ugly.
1855
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1856
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1857
 
trap 'exit_status=$?
1858
 
  # Save into config.log some information that might help in debugging.
1859
 
  {
1860
 
    echo
1861
 
 
1862
 
    cat <<\_ASBOX
1863
 
## ---------------- ##
1864
 
## Cache variables. ##
1865
 
## ---------------- ##
1866
 
_ASBOX
1867
 
    echo
1868
 
    # The following way of writing the cache mishandles newlines in values,
1869
 
(
1870
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1871
 
    eval ac_val=\$$ac_var
1872
 
    case $ac_val in #(
1873
 
    *${as_nl}*)
1874
 
      case $ac_var in #(
1875
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1876
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1877
 
      esac
1878
 
      case $ac_var in #(
1879
 
      _ | IFS | as_nl) ;; #(
1880
 
      *) $as_unset $ac_var ;;
1881
 
      esac ;;
1882
 
    esac
1883
 
  done
1884
 
  (set) 2>&1 |
1885
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1886
 
    *${as_nl}ac_space=\ *)
1887
 
      sed -n \
1888
 
        "s/'\''/'\''\\\\'\'''\''/g;
1889
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1890
 
      ;; #(
1891
 
    *)
1892
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1893
 
      ;;
1894
 
    esac |
1895
 
    sort
1896
 
)
1897
 
    echo
1898
 
 
1899
 
    cat <<\_ASBOX
1900
 
## ----------------- ##
1901
 
## Output variables. ##
1902
 
## ----------------- ##
1903
 
_ASBOX
1904
 
    echo
1905
 
    for ac_var in $ac_subst_vars
1906
 
    do
1907
 
      eval ac_val=\$$ac_var
1908
 
      case $ac_val in
1909
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1910
 
      esac
1911
 
      echo "$ac_var='\''$ac_val'\''"
1912
 
    done | sort
1913
 
    echo
1914
 
 
1915
 
    if test -n "$ac_subst_files"; then
1916
 
      cat <<\_ASBOX
1917
 
## ------------------- ##
1918
 
## File substitutions. ##
1919
 
## ------------------- ##
1920
 
_ASBOX
1921
 
      echo
1922
 
      for ac_var in $ac_subst_files
1923
 
      do
1924
 
        eval ac_val=\$$ac_var
1925
 
        case $ac_val in
1926
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1927
 
        esac
1928
 
        echo "$ac_var='\''$ac_val'\''"
1929
 
      done | sort
1930
 
      echo
1931
 
    fi
1932
 
 
1933
 
    if test -s confdefs.h; then
1934
 
      cat <<\_ASBOX
1935
 
## ----------- ##
1936
 
## confdefs.h. ##
1937
 
## ----------- ##
1938
 
_ASBOX
1939
 
      echo
1940
 
      cat confdefs.h
1941
 
      echo
1942
 
    fi
1943
 
    test "$ac_signal" != 0 &&
1944
 
      echo "$as_me: caught signal $ac_signal"
1945
 
    echo "$as_me: exit $exit_status"
1946
 
  } >&5
1947
 
  rm -f core *.core core.conftest.* &&
1948
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1949
 
    exit $exit_status
1950
 
' 0
1951
 
for ac_signal in 1 2 13 15; do
1952
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1953
 
done
1954
 
ac_signal=0
1955
 
 
1956
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1957
 
rm -f -r conftest* confdefs.h
1958
 
 
1959
 
# Predefined preprocessor variables.
1960
 
 
1961
 
cat >>confdefs.h <<_ACEOF
1962
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1963
 
_ACEOF
1964
 
 
1965
 
 
1966
 
cat >>confdefs.h <<_ACEOF
1967
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1968
 
_ACEOF
1969
 
 
1970
 
 
1971
 
cat >>confdefs.h <<_ACEOF
1972
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1973
 
_ACEOF
1974
 
 
1975
 
 
1976
 
cat >>confdefs.h <<_ACEOF
1977
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1978
 
_ACEOF
1979
 
 
1980
 
 
1981
 
cat >>confdefs.h <<_ACEOF
1982
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1983
 
_ACEOF
1984
 
 
1985
 
 
1986
 
# Let the site file select an alternate cache file if it wants to.
1987
 
# Prefer explicitly selected file to automatically selected ones.
1988
 
if test -n "$CONFIG_SITE"; then
1989
 
  set x "$CONFIG_SITE"
1990
 
elif test "x$prefix" != xNONE; then
1991
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1992
 
else
1993
 
  set x "$ac_default_prefix/share/config.site" \
1994
 
        "$ac_default_prefix/etc/config.site"
1995
 
fi
1996
 
shift
1997
 
for ac_site_file
1998
 
do
1999
 
  if test -r "$ac_site_file"; then
2000
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2001
 
echo "$as_me: loading site script $ac_site_file" >&6;}
2002
 
    sed 's/^/| /' "$ac_site_file" >&5
2003
 
    . "$ac_site_file"
2004
 
  fi
2005
 
done
2006
 
 
2007
 
if test -r "$cache_file"; then
2008
 
  # Some versions of bash will fail to source /dev/null (special
2009
 
  # files actually), so we avoid doing that.
2010
 
  if test -f "$cache_file"; then
2011
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2012
 
echo "$as_me: loading cache $cache_file" >&6;}
2013
 
    case $cache_file in
2014
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2015
 
      *)                      . "./$cache_file";;
2016
 
    esac
2017
 
  fi
2018
 
else
2019
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2020
 
echo "$as_me: creating cache $cache_file" >&6;}
2021
 
  >$cache_file
2022
 
fi
2023
 
 
2024
 
# Check that the precious variables saved in the cache have kept the same
2025
 
# value.
2026
 
ac_cache_corrupted=false
2027
 
for ac_var in $ac_precious_vars; do
2028
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2029
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2030
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2031
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2032
 
  case $ac_old_set,$ac_new_set in
2033
 
    set,)
2034
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2035
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2036
 
      ac_cache_corrupted=: ;;
2037
 
    ,set)
2038
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2039
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2040
 
      ac_cache_corrupted=: ;;
2041
 
    ,);;
2042
 
    *)
2043
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2044
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2045
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2046
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2047
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
2048
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2049
 
echo "$as_me:   current value: $ac_new_val" >&2;}
2050
 
        ac_cache_corrupted=:
2051
 
      fi;;
2052
 
  esac
2053
 
  # Pass precious variables to config.status.
2054
 
  if test "$ac_new_set" = set; then
2055
 
    case $ac_new_val in
2056
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2057
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2058
 
    esac
2059
 
    case " $ac_configure_args " in
2060
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2061
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2062
 
    esac
2063
 
  fi
2064
 
done
2065
 
if $ac_cache_corrupted; then
2066
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2067
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2068
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2069
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2070
 
   { (exit 1); exit 1; }; }
2071
 
fi
2072
 
 
2073
 
 
2074
 
 
2075
 
 
2076
 
 
2077
 
 
2078
 
 
2079
 
 
2080
 
 
2081
 
 
2082
 
 
2083
 
 
2084
 
 
2085
 
 
2086
 
 
2087
 
 
2088
 
 
2089
 
ac_ext=c
2090
 
ac_cpp='$CPP $CPPFLAGS'
2091
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2092
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2093
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2094
 
 
2095
 
 
2096
 
ac_aux_dir=
2097
 
for ac_dir in admin "$srcdir"/admin; do
2098
 
  if test -f "$ac_dir/install-sh"; then
2099
 
    ac_aux_dir=$ac_dir
2100
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2101
 
    break
2102
 
  elif test -f "$ac_dir/install.sh"; then
2103
 
    ac_aux_dir=$ac_dir
2104
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2105
 
    break
2106
 
  elif test -f "$ac_dir/shtool"; then
2107
 
    ac_aux_dir=$ac_dir
2108
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2109
 
    break
2110
 
  fi
2111
 
done
2112
 
if test -z "$ac_aux_dir"; then
2113
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5
2114
 
echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;}
2115
 
   { (exit 1); exit 1; }; }
2116
 
fi
2117
 
 
2118
 
# These three variables are undocumented and unsupported,
2119
 
# and are intended to be withdrawn in a future Autoconf release.
2120
 
# They can cause serious problems if a builder's source tree is in a directory
2121
 
# whose full name contains unusual characters.
2122
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2123
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2124
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2125
 
 
2126
 
 
2127
 
 
2128
 
unset CDPATH
2129
 
 
2130
 
# Make sure we can run config.sub.
2131
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2132
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2133
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2134
 
   { (exit 1); exit 1; }; }
2135
 
 
2136
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2137
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2138
 
if test "${ac_cv_build+set}" = set; then
2139
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2140
 
else
2141
 
  ac_build_alias=$build_alias
2142
 
test "x$ac_build_alias" = x &&
2143
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2144
 
test "x$ac_build_alias" = x &&
2145
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2146
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2147
 
   { (exit 1); exit 1; }; }
2148
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2149
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2150
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2151
 
   { (exit 1); exit 1; }; }
2152
 
 
2153
 
fi
2154
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2155
 
echo "${ECHO_T}$ac_cv_build" >&6; }
2156
 
case $ac_cv_build in
2157
 
*-*-*) ;;
2158
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2159
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2160
 
   { (exit 1); exit 1; }; };;
2161
 
esac
2162
 
build=$ac_cv_build
2163
 
ac_save_IFS=$IFS; IFS='-'
2164
 
set x $ac_cv_build
2165
 
shift
2166
 
build_cpu=$1
2167
 
build_vendor=$2
2168
 
shift; shift
2169
 
# Remember, the first character of IFS is used to create $*,
2170
 
# except with old shells:
2171
 
build_os=$*
2172
 
IFS=$ac_save_IFS
2173
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2174
 
 
2175
 
 
2176
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2177
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2178
 
if test "${ac_cv_host+set}" = set; then
2179
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2180
 
else
2181
 
  if test "x$host_alias" = x; then
2182
 
  ac_cv_host=$ac_cv_build
2183
 
else
2184
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2185
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2186
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2187
 
   { (exit 1); exit 1; }; }
2188
 
fi
2189
 
 
2190
 
fi
2191
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2192
 
echo "${ECHO_T}$ac_cv_host" >&6; }
2193
 
case $ac_cv_host in
2194
 
*-*-*) ;;
2195
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2196
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2197
 
   { (exit 1); exit 1; }; };;
2198
 
esac
2199
 
host=$ac_cv_host
2200
 
ac_save_IFS=$IFS; IFS='-'
2201
 
set x $ac_cv_host
2202
 
shift
2203
 
host_cpu=$1
2204
 
host_vendor=$2
2205
 
shift; shift
2206
 
# Remember, the first character of IFS is used to create $*,
2207
 
# except with old shells:
2208
 
host_os=$*
2209
 
IFS=$ac_save_IFS
2210
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2211
 
 
2212
 
 
2213
 
{ echo "$as_me:$LINENO: checking target system type" >&5
2214
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2215
 
if test "${ac_cv_target+set}" = set; then
2216
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2217
 
else
2218
 
  if test "x$target_alias" = x; then
2219
 
  ac_cv_target=$ac_cv_host
2220
 
else
2221
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2222
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2223
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2224
 
   { (exit 1); exit 1; }; }
2225
 
fi
2226
 
 
2227
 
fi
2228
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2229
 
echo "${ECHO_T}$ac_cv_target" >&6; }
2230
 
case $ac_cv_target in
2231
 
*-*-*) ;;
2232
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2233
 
echo "$as_me: error: invalid value of canonical target" >&2;}
2234
 
   { (exit 1); exit 1; }; };;
2235
 
esac
2236
 
target=$ac_cv_target
2237
 
ac_save_IFS=$IFS; IFS='-'
2238
 
set x $ac_cv_target
2239
 
shift
2240
 
target_cpu=$1
2241
 
target_vendor=$2
2242
 
shift; shift
2243
 
# Remember, the first character of IFS is used to create $*,
2244
 
# except with old shells:
2245
 
target_os=$*
2246
 
IFS=$ac_save_IFS
2247
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2248
 
 
2249
 
 
2250
 
# The aliases save the names the user supplied, while $host etc.
2251
 
# will get canonicalized.
2252
 
test -n "$target_alias" &&
2253
 
  test "$program_prefix$program_suffix$program_transform_name" = \
2254
 
    NONENONEs,x,x, &&
2255
 
  program_prefix=${target_alias}-
2256
 
test "$program_prefix" != NONE &&
2257
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2258
 
# Use a double $ so make ignores it.
2259
 
test "$program_suffix" != NONE &&
2260
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2261
 
# Double any \ or $.  echo might interpret backslashes.
2262
 
# By default was `s,x,x', remove it if useless.
2263
 
cat <<\_ACEOF >conftest.sed
2264
 
s/[\\$]/&&/g;s/;s,x,x,$//
2265
 
_ACEOF
2266
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2267
 
rm -f conftest.sed
2268
 
 
2269
 
 
2270
 
am__api_version="1.9"
2271
 
 
2272
 
 
2273
 
          test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
2274
 
  test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
2275
 
  test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
2276
 
  # Find a good install program.  We prefer a C program (faster),
2277
 
# so one script is as good as another.  But avoid the broken or
2278
 
# incompatible versions:
2279
 
# SysV /etc/install, /usr/sbin/install
2280
 
# SunOS /usr/etc/install
2281
 
# IRIX /sbin/install
2282
 
# AIX /bin/install
2283
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2284
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2285
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2286
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2287
 
# OS/2's system install, which has a completely different semantic
2288
 
# ./install, which can be erroneously created by make from ./install.sh.
2289
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2290
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2291
 
if test -z "$INSTALL"; then
2292
 
if test "${ac_cv_path_install+set}" = set; then
2293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2294
 
else
2295
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296
 
for as_dir in $PATH
2297
 
do
2298
 
  IFS=$as_save_IFS
2299
 
  test -z "$as_dir" && as_dir=.
2300
 
  # Account for people who put trailing slashes in PATH elements.
2301
 
case $as_dir/ in
2302
 
  ./ | .// | /cC/* | \
2303
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2304
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2305
 
  /usr/ucb/* ) ;;
2306
 
  *)
2307
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2308
 
    # Don't use installbsd from OSF since it installs stuff as root
2309
 
    # by default.
2310
 
    for ac_prog in ginstall scoinst install; do
2311
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2312
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2313
 
          if test $ac_prog = install &&
2314
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2315
 
            # AIX install.  It has an incompatible calling convention.
2316
 
            :
2317
 
          elif test $ac_prog = install &&
2318
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2319
 
            # program-specific install script used by HP pwplus--don't use.
2320
 
            :
2321
 
          else
2322
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2323
 
            break 3
2324
 
          fi
2325
 
        fi
2326
 
      done
2327
 
    done
2328
 
    ;;
2329
 
esac
2330
 
done
2331
 
IFS=$as_save_IFS
2332
 
 
2333
 
 
2334
 
fi
2335
 
  if test "${ac_cv_path_install+set}" = set; then
2336
 
    INSTALL=$ac_cv_path_install
2337
 
  else
2338
 
    # As a last resort, use the slow shell script.  Don't cache a
2339
 
    # value for INSTALL within a source directory, because that will
2340
 
    # break other packages using the cache if that directory is
2341
 
    # removed, or if the value is a relative name.
2342
 
    INSTALL=$ac_install_sh
2343
 
  fi
2344
 
fi
2345
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2346
 
echo "${ECHO_T}$INSTALL" >&6; }
2347
 
 
2348
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2349
 
# It thinks the first close brace ends the variable substitution.
2350
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2351
 
 
2352
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2353
 
 
2354
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2355
 
 
2356
 
 
2357
 
  if test -z "$kde_save_INSTALL_given" ; then
2358
 
    # OK, user hasn't given any INSTALL, autoconf found one for us
2359
 
    # now we test, if it supports the -p flag
2360
 
    { echo "$as_me:$LINENO: checking for -p flag to install" >&5
2361
 
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6; }
2362
 
    rm -f confinst.$$.* > /dev/null 2>&1
2363
 
    echo "Testtest" > confinst.$$.orig
2364
 
    ac_res=no
2365
 
    if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
2366
 
      if test -f confinst.$$.new ; then
2367
 
        # OK, -p seems to do no harm to install
2368
 
        INSTALL="${INSTALL} -p"
2369
 
        ac_res=yes
2370
 
      fi
2371
 
    fi
2372
 
    rm -f confinst.$$.*
2373
 
    { echo "$as_me:$LINENO: result: $ac_res" >&5
2374
 
echo "${ECHO_T}$ac_res" >&6; }
2375
 
  fi
2376
 
 
2377
 
  if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
2378
 
    INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
2379
 
  fi
2380
 
  if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
2381
 
    INSTALL_SCRIPT='${INSTALL}'
2382
 
  fi
2383
 
 
2384
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2385
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2386
 
# Just in case
2387
 
sleep 1
2388
 
echo timestamp > conftest.file
2389
 
# Do `set' in a subshell so we don't clobber the current shell's
2390
 
# arguments.  Must try -L first in case configure is actually a
2391
 
# symlink; some systems play weird games with the mod time of symlinks
2392
 
# (eg FreeBSD returns the mod time of the symlink's containing
2393
 
# directory).
2394
 
if (
2395
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2396
 
   if test "$*" = "X"; then
2397
 
      # -L didn't work.
2398
 
      set X `ls -t $srcdir/configure conftest.file`
2399
 
   fi
2400
 
   rm -f conftest.file
2401
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2402
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2403
 
 
2404
 
      # If neither matched, then we have a broken ls.  This can happen
2405
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2406
 
      # broken ls alias from the environment.  This has actually
2407
 
      # happened.  Such a system could not be considered "sane".
2408
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2409
 
alias in your environment" >&5
2410
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2411
 
alias in your environment" >&2;}
2412
 
   { (exit 1); exit 1; }; }
2413
 
   fi
2414
 
 
2415
 
   test "$2" = conftest.file
2416
 
   )
2417
 
then
2418
 
   # Ok.
2419
 
   :
2420
 
else
2421
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2422
 
Check your system clock" >&5
2423
 
echo "$as_me: error: newly created file is older than distributed files!
2424
 
Check your system clock" >&2;}
2425
 
   { (exit 1); exit 1; }; }
2426
 
fi
2427
 
{ echo "$as_me:$LINENO: result: yes" >&5
2428
 
echo "${ECHO_T}yes" >&6; }
2429
 
# expand $ac_aux_dir to an absolute path
2430
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2431
 
 
2432
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2433
 
# Use eval to expand $SHELL
2434
 
if eval "$MISSING --run true"; then
2435
 
  am_missing_run="$MISSING --run "
2436
 
else
2437
 
  am_missing_run=
2438
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2439
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2440
 
fi
2441
 
 
2442
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2443
 
  # We used to keeping the `.' as first argument, in order to
2444
 
  # allow $(mkdir_p) to be used without argument.  As in
2445
 
  #   $(mkdir_p) $(somedir)
2446
 
  # where $(somedir) is conditionally defined.  However this is wrong
2447
 
  # for two reasons:
2448
 
  #  1. if the package is installed by a user who cannot write `.'
2449
 
  #     make install will fail,
2450
 
  #  2. the above comment should most certainly read
2451
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2452
 
  #     so it does not work when $(somedir) is undefined and
2453
 
  #     $(DESTDIR) is not.
2454
 
  #  To support the latter case, we have to write
2455
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2456
 
  #  so the `.' trick is pointless.
2457
 
  mkdir_p='mkdir -p --'
2458
 
else
2459
 
  # On NextStep and OpenStep, the `mkdir' command does not
2460
 
  # recognize any option.  It will interpret all options as
2461
 
  # directories to create, and then abort because `.' already
2462
 
  # exists.
2463
 
  for d in ./-p ./--version;
2464
 
  do
2465
 
    test -d $d && rmdir $d
2466
 
  done
2467
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2468
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2469
 
    mkdir_p='$(mkinstalldirs)'
2470
 
  else
2471
 
    mkdir_p='$(install_sh) -d'
2472
 
  fi
2473
 
fi
2474
 
 
2475
 
for ac_prog in gawk mawk nawk awk
2476
 
do
2477
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2478
 
set dummy $ac_prog; ac_word=$2
2479
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2480
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2481
 
if test "${ac_cv_prog_AWK+set}" = set; then
2482
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2483
 
else
2484
 
  if test -n "$AWK"; then
2485
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2486
 
else
2487
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488
 
for as_dir in $PATH
2489
 
do
2490
 
  IFS=$as_save_IFS
2491
 
  test -z "$as_dir" && as_dir=.
2492
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2493
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494
 
    ac_cv_prog_AWK="$ac_prog"
2495
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496
 
    break 2
2497
 
  fi
2498
 
done
2499
 
done
2500
 
IFS=$as_save_IFS
2501
 
 
2502
 
fi
2503
 
fi
2504
 
AWK=$ac_cv_prog_AWK
2505
 
if test -n "$AWK"; then
2506
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2507
 
echo "${ECHO_T}$AWK" >&6; }
2508
 
else
2509
 
  { echo "$as_me:$LINENO: result: no" >&5
2510
 
echo "${ECHO_T}no" >&6; }
2511
 
fi
2512
 
 
2513
 
 
2514
 
  test -n "$AWK" && break
2515
 
done
2516
 
 
2517
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2518
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2519
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2520
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2522
 
else
2523
 
  cat >conftest.make <<\_ACEOF
2524
 
SHELL = /bin/sh
2525
 
all:
2526
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2527
 
_ACEOF
2528
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2529
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2530
 
  *@@@%%%=?*=@@@%%%*)
2531
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2532
 
  *)
2533
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2534
 
esac
2535
 
rm -f conftest.make
2536
 
fi
2537
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2538
 
  { echo "$as_me:$LINENO: result: yes" >&5
2539
 
echo "${ECHO_T}yes" >&6; }
2540
 
  SET_MAKE=
2541
 
else
2542
 
  { echo "$as_me:$LINENO: result: no" >&5
2543
 
echo "${ECHO_T}no" >&6; }
2544
 
  SET_MAKE="MAKE=${MAKE-make}"
2545
 
fi
2546
 
 
2547
 
rm -rf .tst 2>/dev/null
2548
 
mkdir .tst 2>/dev/null
2549
 
if test -d .tst; then
2550
 
  am__leading_dot=.
2551
 
else
2552
 
  am__leading_dot=_
2553
 
fi
2554
 
rmdir .tst 2>/dev/null
2555
 
 
2556
 
# test to see if srcdir already configured
2557
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2558
 
   test -f $srcdir/config.status; then
2559
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2560
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2561
 
   { (exit 1); exit 1; }; }
2562
 
fi
2563
 
 
2564
 
# test whether we have cygpath
2565
 
if test -z "$CYGPATH_W"; then
2566
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2567
 
    CYGPATH_W='cygpath -w'
2568
 
  else
2569
 
    CYGPATH_W=echo
2570
 
  fi
2571
 
fi
2572
 
 
2573
 
 
2574
 
# Define the identity of the package.
2575
 
 PACKAGE=knutclient
2576
 
 VERSION=0.9.5
2577
 
 
2578
 
 
2579
 
cat >>confdefs.h <<_ACEOF
2580
 
#define PACKAGE "$PACKAGE"
2581
 
_ACEOF
2582
 
 
2583
 
 
2584
 
cat >>confdefs.h <<_ACEOF
2585
 
#define VERSION "$VERSION"
2586
 
_ACEOF
2587
 
 
2588
 
# Some tools Automake needs.
2589
 
 
2590
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2591
 
 
2592
 
 
2593
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2594
 
 
2595
 
 
2596
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2597
 
 
2598
 
 
2599
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2600
 
 
2601
 
 
2602
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2603
 
 
2604
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2605
 
 
2606
 
# Installed binaries are usually stripped using `strip' when the user
2607
 
# run `make install-strip'.  However `strip' might not be the right
2608
 
# tool to use in cross-compilation environments, therefore Automake
2609
 
# will honor the `STRIP' environment variable to overrule this program.
2610
 
if test "$cross_compiling" != no; then
2611
 
  if test -n "$ac_tool_prefix"; then
2612
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2613
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2614
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2615
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2616
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2617
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2618
 
else
2619
 
  if test -n "$STRIP"; then
2620
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2621
 
else
2622
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623
 
for as_dir in $PATH
2624
 
do
2625
 
  IFS=$as_save_IFS
2626
 
  test -z "$as_dir" && as_dir=.
2627
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2628
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2629
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2630
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2631
 
    break 2
2632
 
  fi
2633
 
done
2634
 
done
2635
 
IFS=$as_save_IFS
2636
 
 
2637
 
fi
2638
 
fi
2639
 
STRIP=$ac_cv_prog_STRIP
2640
 
if test -n "$STRIP"; then
2641
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2642
 
echo "${ECHO_T}$STRIP" >&6; }
2643
 
else
2644
 
  { echo "$as_me:$LINENO: result: no" >&5
2645
 
echo "${ECHO_T}no" >&6; }
2646
 
fi
2647
 
 
2648
 
 
2649
 
fi
2650
 
if test -z "$ac_cv_prog_STRIP"; then
2651
 
  ac_ct_STRIP=$STRIP
2652
 
  # Extract the first word of "strip", so it can be a program name with args.
2653
 
set dummy strip; ac_word=$2
2654
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2655
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2656
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2657
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2658
 
else
2659
 
  if test -n "$ac_ct_STRIP"; then
2660
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2661
 
else
2662
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663
 
for as_dir in $PATH
2664
 
do
2665
 
  IFS=$as_save_IFS
2666
 
  test -z "$as_dir" && as_dir=.
2667
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2668
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2669
 
    ac_cv_prog_ac_ct_STRIP="strip"
2670
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2671
 
    break 2
2672
 
  fi
2673
 
done
2674
 
done
2675
 
IFS=$as_save_IFS
2676
 
 
2677
 
fi
2678
 
fi
2679
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2680
 
if test -n "$ac_ct_STRIP"; then
2681
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2682
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2683
 
else
2684
 
  { echo "$as_me:$LINENO: result: no" >&5
2685
 
echo "${ECHO_T}no" >&6; }
2686
 
fi
2687
 
 
2688
 
  if test "x$ac_ct_STRIP" = x; then
2689
 
    STRIP=":"
2690
 
  else
2691
 
    case $cross_compiling:$ac_tool_warned in
2692
 
yes:)
2693
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2694
 
whose name does not start with the host triplet.  If you think this
2695
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2696
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2697
 
whose name does not start with the host triplet.  If you think this
2698
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2699
 
ac_tool_warned=yes ;;
2700
 
esac
2701
 
    STRIP=$ac_ct_STRIP
2702
 
  fi
2703
 
else
2704
 
  STRIP="$ac_cv_prog_STRIP"
2705
 
fi
2706
 
 
2707
 
fi
2708
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2709
 
 
2710
 
# We need awk for the "check" target.  The system "awk" is bad on
2711
 
# some platforms.
2712
 
# Always define AMTAR for backward compatibility.
2713
 
 
2714
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2715
 
 
2716
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2717
 
 
2718
 
 
2719
 
 
2720
 
 
2721
 
 
2722
 
 
2723
 
  unset CDPATH
2724
 
 
2725
 
 
2726
 
 
2727
 
    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"
2728
 
    test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
2729
 
    if test -n "$KDEDIRS"; then
2730
 
       kde_save_IFS=$IFS
2731
 
       IFS=:
2732
 
       for dir in $KDEDIRS; do
2733
 
            kde_default_bindirs="$dir/bin $kde_default_bindirs "
2734
 
       done
2735
 
       IFS=$kde_save_IFS
2736
 
    fi
2737
 
 
2738
 
  if test "x$prefix" = "xNONE"; then
2739
 
 
2740
 
   { echo "$as_me:$LINENO: checking for kde-config" >&5
2741
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2742
 
   if test -n "$KDECONFIG"; then
2743
 
        kde_cv_path="$KDECONFIG";
2744
 
   else
2745
 
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2746
 
 
2747
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2748
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2749
 
else
2750
 
 
2751
 
        kde_cv_path="NONE"
2752
 
        kde_save_IFS=$IFS
2753
 
        IFS=':'
2754
 
        dirs=""
2755
 
        for dir in $PATH; do
2756
 
          dirs="$dirs $dir"
2757
 
        done
2758
 
        if test -z "prepend"; then        dirs="$kde_default_bindirs $dirs"
2759
 
        else      dirs="$dirs $kde_default_bindirs"
2760
 
        fi
2761
 
        IFS=$kde_save_IFS
2762
 
 
2763
 
        for dir in $dirs; do
2764
 
          if test -x "$dir/kde-config"; then
2765
 
            if test -n ""
2766
 
            then
2767
 
              evalstr="$dir/kde-config  2>&1 "
2768
 
              if eval $evalstr; then
2769
 
                kde_cv_path="$dir/kde-config"
2770
 
                break
2771
 
              fi
2772
 
            else
2773
 
                kde_cv_path="$dir/kde-config"
2774
 
                break
2775
 
            fi
2776
 
          fi
2777
 
        done
2778
 
 
2779
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
2780
 
 
2781
 
 
2782
 
fi
2783
 
 
2784
 
 
2785
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2786
 
 
2787
 
   fi
2788
 
 
2789
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2790
 
      { echo "$as_me:$LINENO: result: not found" >&5
2791
 
echo "${ECHO_T}not found" >&6; }
2792
 
 
2793
 
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2794
 
Please check whether you installed KDE correctly.
2795
 
" >&5
2796
 
echo "$as_me: error: The important program kde-config was not found!
2797
 
Please check whether you installed KDE correctly.
2798
 
" >&2;}
2799
 
   { (exit 1); exit 1; }; }
2800
 
 
2801
 
   else
2802
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2803
 
echo "${ECHO_T}$kde_cv_path" >&6; }
2804
 
      KDECONFIG=$kde_cv_path
2805
 
 
2806
 
   fi
2807
 
 
2808
 
  else
2809
 
        kde_save_PATH="$PATH"
2810
 
    PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2811
 
 
2812
 
   { echo "$as_me:$LINENO: checking for kde-config" >&5
2813
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2814
 
   if test -n "$KDECONFIG"; then
2815
 
        kde_cv_path="$KDECONFIG";
2816
 
   else
2817
 
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2818
 
 
2819
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2820
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2821
 
else
2822
 
 
2823
 
        kde_cv_path="NONE"
2824
 
        kde_save_IFS=$IFS
2825
 
        IFS=':'
2826
 
        dirs=""
2827
 
        for dir in $PATH; do
2828
 
          dirs="$dirs $dir"
2829
 
        done
2830
 
        if test -z "prepend"; then        dirs="$kde_default_bindirs $dirs"
2831
 
        else      dirs="$dirs $kde_default_bindirs"
2832
 
        fi
2833
 
        IFS=$kde_save_IFS
2834
 
 
2835
 
        for dir in $dirs; do
2836
 
          if test -x "$dir/kde-config"; then
2837
 
            if test -n ""
2838
 
            then
2839
 
              evalstr="$dir/kde-config  2>&1 "
2840
 
              if eval $evalstr; then
2841
 
                kde_cv_path="$dir/kde-config"
2842
 
                break
2843
 
              fi
2844
 
            else
2845
 
                kde_cv_path="$dir/kde-config"
2846
 
                break
2847
 
            fi
2848
 
          fi
2849
 
        done
2850
 
 
2851
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
2852
 
 
2853
 
 
2854
 
fi
2855
 
 
2856
 
 
2857
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2858
 
 
2859
 
   fi
2860
 
 
2861
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2862
 
      { echo "$as_me:$LINENO: result: not found" >&5
2863
 
echo "${ECHO_T}not found" >&6; }
2864
 
 
2865
 
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2866
 
Please check whether you installed KDE correctly.
2867
 
" >&5
2868
 
echo "$as_me: error: The important program kde-config was not found!
2869
 
Please check whether you installed KDE correctly.
2870
 
" >&2;}
2871
 
   { (exit 1); exit 1; }; }
2872
 
 
2873
 
   else
2874
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2875
 
echo "${ECHO_T}$kde_cv_path" >&6; }
2876
 
      KDECONFIG=$kde_cv_path
2877
 
 
2878
 
   fi
2879
 
 
2880
 
    PATH="$kde_save_PATH"
2881
 
  fi
2882
 
 
2883
 
  kde_libs_prefix=`$KDECONFIG --prefix`
2884
 
  if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
2885
 
       { { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2886
 
                    This means it has been moved since you installed it.
2887
 
                    This won't work. Please recompile kdelibs for the new prefix.
2888
 
                    " >&5
2889
 
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2890
 
                    This means it has been moved since you installed it.
2891
 
                    This won't work. Please recompile kdelibs for the new prefix.
2892
 
                    " >&2;}
2893
 
   { (exit 1); exit 1; }; }
2894
 
  fi
2895
 
  kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2896
 
 
2897
 
  { echo "$as_me:$LINENO: checking where to install" >&5
2898
 
echo $ECHO_N "checking where to install... $ECHO_C" >&6; }
2899
 
  if test "x$prefix" = "xNONE"; then
2900
 
    prefix=$kde_libs_prefix
2901
 
    { echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2902
 
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6; }
2903
 
  else
2904
 
        given_prefix=$prefix
2905
 
    { echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2906
 
echo "${ECHO_T}$prefix (as requested)" >&6; }
2907
 
  fi
2908
 
 
2909
 
  # And delete superfluous '/' to make compares easier
2910
 
  prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2911
 
  exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2912
 
  given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2913
 
 
2914
 
 
2915
 
 
2916
 
 
2917
 
 
2918
 
 
2919
 
    # Check whether --enable-fast-perl was given.
2920
 
if test "${enable_fast_perl+set}" = set; then
2921
 
  enableval=$enable_fast_perl; with_fast_perl=$enableval
2922
 
else
2923
 
  with_fast_perl=yes
2924
 
fi
2925
 
 
2926
 
 
2927
 
 
2928
 
  val=
2929
 
  if test -f $srcdir/configure.files ; then
2930
 
    val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
2931
 
  fi
2932
 
  CONF_FILES=
2933
 
  if test -n "$val" ; then
2934
 
    for i in $val ; do
2935
 
      CONF_FILES="$CONF_FILES $i"
2936
 
    done
2937
 
  fi
2938
 
 
2939
 
 
2940
 
 
2941
 
 
2942
 
ac_config_headers="$ac_config_headers config.h"
2943
 
 
2944
 
DEPDIR="${am__leading_dot}deps"
2945
 
 
2946
 
ac_config_commands="$ac_config_commands depfiles"
2947
 
 
2948
 
 
2949
 
am_make=${MAKE-make}
2950
 
cat > confinc << 'END'
2951
 
am__doit:
2952
 
        @echo done
2953
 
.PHONY: am__doit
2954
 
END
2955
 
# If we don't find an include directive, just comment out the code.
2956
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2957
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2958
 
am__include="#"
2959
 
am__quote=
2960
 
_am_result=none
2961
 
# First try GNU make style include.
2962
 
echo "include confinc" > confmf
2963
 
# We grep out `Entering directory' and `Leaving directory'
2964
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2965
 
# In particular we don't look at `^make:' because GNU make might
2966
 
# be invoked under some other name (usually "gmake"), in which
2967
 
# case it prints its new name instead of `make'.
2968
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2969
 
   am__include=include
2970
 
   am__quote=
2971
 
   _am_result=GNU
2972
 
fi
2973
 
# Now try BSD make style include.
2974
 
if test "$am__include" = "#"; then
2975
 
   echo '.include "confinc"' > confmf
2976
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2977
 
      am__include=.include
2978
 
      am__quote="\""
2979
 
      _am_result=BSD
2980
 
   fi
2981
 
fi
2982
 
 
2983
 
 
2984
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2985
 
echo "${ECHO_T}$_am_result" >&6; }
2986
 
rm -f confinc confmf
2987
 
 
2988
 
# Check whether --enable-dependency-tracking was given.
2989
 
if test "${enable_dependency_tracking+set}" = set; then
2990
 
  enableval=$enable_dependency_tracking;
2991
 
fi
2992
 
 
2993
 
if test "x$enable_dependency_tracking" != xno; then
2994
 
  am_depcomp="$ac_aux_dir/depcomp"
2995
 
  AMDEPBACKSLASH='\'
2996
 
fi
2997
 
 
2998
 
 
2999
 
if test "x$enable_dependency_tracking" != xno; then
3000
 
  AMDEP_TRUE=
3001
 
  AMDEP_FALSE='#'
3002
 
else
3003
 
  AMDEP_TRUE='#'
3004
 
  AMDEP_FALSE=
3005
 
fi
3006
 
 
3007
 
 
3008
 
 
3009
 
 
3010
 
 
3011
 
 
3012
 
  # Check whether --enable-debug was given.
3013
 
if test "${enable_debug+set}" = set; then
3014
 
  enableval=$enable_debug;
3015
 
    case $enableval in
3016
 
      yes)
3017
 
        kde_use_debug_code="yes"
3018
 
        kde_use_debug_define=no
3019
 
        ;;
3020
 
      full)
3021
 
        kde_use_debug_code="full"
3022
 
        kde_use_debug_define=no
3023
 
        ;;
3024
 
      *)
3025
 
        kde_use_debug_code="no"
3026
 
        kde_use_debug_define=yes
3027
 
        ;;
3028
 
    esac
3029
 
 
3030
 
else
3031
 
  kde_use_debug_code="no"
3032
 
      kde_use_debug_define=no
3033
 
 
3034
 
fi
3035
 
 
3036
 
 
3037
 
    # Check whether --enable-dummyoption was given.
3038
 
if test "${enable_dummyoption+set}" = set; then
3039
 
  enableval=$enable_dummyoption;
3040
 
fi
3041
 
 
3042
 
 
3043
 
  # Check whether --enable-strict was given.
3044
 
if test "${enable_strict+set}" = set; then
3045
 
  enableval=$enable_strict;
3046
 
    if test $enableval = "no"; then
3047
 
         kde_use_strict_options="no"
3048
 
       else
3049
 
         kde_use_strict_options="yes"
3050
 
    fi
3051
 
 
3052
 
else
3053
 
  kde_use_strict_options="no"
3054
 
fi
3055
 
 
3056
 
 
3057
 
  # Check whether --enable-warnings was given.
3058
 
if test "${enable_warnings+set}" = set; then
3059
 
  enableval=$enable_warnings;
3060
 
    if test $enableval = "no"; then
3061
 
         kde_use_warnings="no"
3062
 
       else
3063
 
         kde_use_warnings="yes"
3064
 
    fi
3065
 
 
3066
 
else
3067
 
  kde_use_warnings="yes"
3068
 
fi
3069
 
 
3070
 
 
3071
 
    if test "$kde_use_debug_code" != "no"; then
3072
 
    kde_use_warnings=yes
3073
 
  fi
3074
 
 
3075
 
  # Check whether --enable-profile was given.
3076
 
if test "${enable_profile+set}" = set; then
3077
 
  enableval=$enable_profile; kde_use_profiling=$enableval
3078
 
else
3079
 
  kde_use_profiling="no"
3080
 
 
3081
 
fi
3082
 
 
3083
 
 
3084
 
    CFLAGS=" $CFLAGS"
3085
 
 
3086
 
  ac_ext=c
3087
 
ac_cpp='$CPP $CPPFLAGS'
3088
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3091
 
if test -n "$ac_tool_prefix"; then
3092
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3093
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3094
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3095
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3096
 
if test "${ac_cv_prog_CC+set}" = set; then
3097
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3098
 
else
3099
 
  if test -n "$CC"; then
3100
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3101
 
else
3102
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103
 
for as_dir in $PATH
3104
 
do
3105
 
  IFS=$as_save_IFS
3106
 
  test -z "$as_dir" && as_dir=.
3107
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3108
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3109
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3110
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3111
 
    break 2
3112
 
  fi
3113
 
done
3114
 
done
3115
 
IFS=$as_save_IFS
3116
 
 
3117
 
fi
3118
 
fi
3119
 
CC=$ac_cv_prog_CC
3120
 
if test -n "$CC"; then
3121
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3122
 
echo "${ECHO_T}$CC" >&6; }
3123
 
else
3124
 
  { echo "$as_me:$LINENO: result: no" >&5
3125
 
echo "${ECHO_T}no" >&6; }
3126
 
fi
3127
 
 
3128
 
 
3129
 
fi
3130
 
if test -z "$ac_cv_prog_CC"; then
3131
 
  ac_ct_CC=$CC
3132
 
  # Extract the first word of "gcc", so it can be a program name with args.
3133
 
set dummy gcc; ac_word=$2
3134
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3135
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3136
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3137
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3138
 
else
3139
 
  if test -n "$ac_ct_CC"; then
3140
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3141
 
else
3142
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143
 
for as_dir in $PATH
3144
 
do
3145
 
  IFS=$as_save_IFS
3146
 
  test -z "$as_dir" && as_dir=.
3147
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3148
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149
 
    ac_cv_prog_ac_ct_CC="gcc"
3150
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3151
 
    break 2
3152
 
  fi
3153
 
done
3154
 
done
3155
 
IFS=$as_save_IFS
3156
 
 
3157
 
fi
3158
 
fi
3159
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3160
 
if test -n "$ac_ct_CC"; then
3161
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3162
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
3163
 
else
3164
 
  { echo "$as_me:$LINENO: result: no" >&5
3165
 
echo "${ECHO_T}no" >&6; }
3166
 
fi
3167
 
 
3168
 
  if test "x$ac_ct_CC" = x; then
3169
 
    CC=""
3170
 
  else
3171
 
    case $cross_compiling:$ac_tool_warned in
3172
 
yes:)
3173
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3174
 
whose name does not start with the host triplet.  If you think this
3175
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3176
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3177
 
whose name does not start with the host triplet.  If you think this
3178
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3179
 
ac_tool_warned=yes ;;
3180
 
esac
3181
 
    CC=$ac_ct_CC
3182
 
  fi
3183
 
else
3184
 
  CC="$ac_cv_prog_CC"
3185
 
fi
3186
 
 
3187
 
if test -z "$CC"; then
3188
 
          if test -n "$ac_tool_prefix"; then
3189
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3190
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3191
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3192
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3193
 
if test "${ac_cv_prog_CC+set}" = set; then
3194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3195
 
else
3196
 
  if test -n "$CC"; then
3197
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3198
 
else
3199
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200
 
for as_dir in $PATH
3201
 
do
3202
 
  IFS=$as_save_IFS
3203
 
  test -z "$as_dir" && as_dir=.
3204
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3205
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3206
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3207
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3208
 
    break 2
3209
 
  fi
3210
 
done
3211
 
done
3212
 
IFS=$as_save_IFS
3213
 
 
3214
 
fi
3215
 
fi
3216
 
CC=$ac_cv_prog_CC
3217
 
if test -n "$CC"; then
3218
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3219
 
echo "${ECHO_T}$CC" >&6; }
3220
 
else
3221
 
  { echo "$as_me:$LINENO: result: no" >&5
3222
 
echo "${ECHO_T}no" >&6; }
3223
 
fi
3224
 
 
3225
 
 
3226
 
  fi
3227
 
fi
3228
 
if test -z "$CC"; then
3229
 
  # Extract the first word of "cc", so it can be a program name with args.
3230
 
set dummy cc; ac_word=$2
3231
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3232
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3233
 
if test "${ac_cv_prog_CC+set}" = set; then
3234
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3235
 
else
3236
 
  if test -n "$CC"; then
3237
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3238
 
else
3239
 
  ac_prog_rejected=no
3240
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241
 
for as_dir in $PATH
3242
 
do
3243
 
  IFS=$as_save_IFS
3244
 
  test -z "$as_dir" && as_dir=.
3245
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3246
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3248
 
       ac_prog_rejected=yes
3249
 
       continue
3250
 
     fi
3251
 
    ac_cv_prog_CC="cc"
3252
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3253
 
    break 2
3254
 
  fi
3255
 
done
3256
 
done
3257
 
IFS=$as_save_IFS
3258
 
 
3259
 
if test $ac_prog_rejected = yes; then
3260
 
  # We found a bogon in the path, so make sure we never use it.
3261
 
  set dummy $ac_cv_prog_CC
3262
 
  shift
3263
 
  if test $# != 0; then
3264
 
    # We chose a different compiler from the bogus one.
3265
 
    # However, it has the same basename, so the bogon will be chosen
3266
 
    # first if we set CC to just the basename; use the full file name.
3267
 
    shift
3268
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3269
 
  fi
3270
 
fi
3271
 
fi
3272
 
fi
3273
 
CC=$ac_cv_prog_CC
3274
 
if test -n "$CC"; then
3275
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3276
 
echo "${ECHO_T}$CC" >&6; }
3277
 
else
3278
 
  { echo "$as_me:$LINENO: result: no" >&5
3279
 
echo "${ECHO_T}no" >&6; }
3280
 
fi
3281
 
 
3282
 
 
3283
 
fi
3284
 
if test -z "$CC"; then
3285
 
  if test -n "$ac_tool_prefix"; then
3286
 
  for ac_prog in cl.exe
3287
 
  do
3288
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3289
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3290
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3291
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3292
 
if test "${ac_cv_prog_CC+set}" = set; then
3293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3294
 
else
3295
 
  if test -n "$CC"; then
3296
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3297
 
else
3298
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299
 
for as_dir in $PATH
3300
 
do
3301
 
  IFS=$as_save_IFS
3302
 
  test -z "$as_dir" && as_dir=.
3303
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3304
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3305
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3306
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3307
 
    break 2
3308
 
  fi
3309
 
done
3310
 
done
3311
 
IFS=$as_save_IFS
3312
 
 
3313
 
fi
3314
 
fi
3315
 
CC=$ac_cv_prog_CC
3316
 
if test -n "$CC"; then
3317
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3318
 
echo "${ECHO_T}$CC" >&6; }
3319
 
else
3320
 
  { echo "$as_me:$LINENO: result: no" >&5
3321
 
echo "${ECHO_T}no" >&6; }
3322
 
fi
3323
 
 
3324
 
 
3325
 
    test -n "$CC" && break
3326
 
  done
3327
 
fi
3328
 
if test -z "$CC"; then
3329
 
  ac_ct_CC=$CC
3330
 
  for ac_prog in cl.exe
3331
 
do
3332
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3333
 
set dummy $ac_prog; ac_word=$2
3334
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3335
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3336
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3338
 
else
3339
 
  if test -n "$ac_ct_CC"; then
3340
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3341
 
else
3342
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343
 
for as_dir in $PATH
3344
 
do
3345
 
  IFS=$as_save_IFS
3346
 
  test -z "$as_dir" && as_dir=.
3347
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3348
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3349
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3350
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3351
 
    break 2
3352
 
  fi
3353
 
done
3354
 
done
3355
 
IFS=$as_save_IFS
3356
 
 
3357
 
fi
3358
 
fi
3359
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3360
 
if test -n "$ac_ct_CC"; then
3361
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3362
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
3363
 
else
3364
 
  { echo "$as_me:$LINENO: result: no" >&5
3365
 
echo "${ECHO_T}no" >&6; }
3366
 
fi
3367
 
 
3368
 
 
3369
 
  test -n "$ac_ct_CC" && break
3370
 
done
3371
 
 
3372
 
  if test "x$ac_ct_CC" = x; then
3373
 
    CC=""
3374
 
  else
3375
 
    case $cross_compiling:$ac_tool_warned in
3376
 
yes:)
3377
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3378
 
whose name does not start with the host triplet.  If you think this
3379
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3380
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3381
 
whose name does not start with the host triplet.  If you think this
3382
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3383
 
ac_tool_warned=yes ;;
3384
 
esac
3385
 
    CC=$ac_ct_CC
3386
 
  fi
3387
 
fi
3388
 
 
3389
 
fi
3390
 
 
3391
 
 
3392
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3393
 
See \`config.log' for more details." >&5
3394
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
3395
 
See \`config.log' for more details." >&2;}
3396
 
   { (exit 1); exit 1; }; }
3397
 
 
3398
 
# Provide some information about the compiler.
3399
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3400
 
ac_compiler=`set X $ac_compile; echo $2`
3401
 
{ (ac_try="$ac_compiler --version >&5"
3402
 
case "(($ac_try" in
3403
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404
 
  *) ac_try_echo=$ac_try;;
3405
 
esac
3406
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3407
 
  (eval "$ac_compiler --version >&5") 2>&5
3408
 
  ac_status=$?
3409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410
 
  (exit $ac_status); }
3411
 
{ (ac_try="$ac_compiler -v >&5"
3412
 
case "(($ac_try" in
3413
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414
 
  *) ac_try_echo=$ac_try;;
3415
 
esac
3416
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417
 
  (eval "$ac_compiler -v >&5") 2>&5
3418
 
  ac_status=$?
3419
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420
 
  (exit $ac_status); }
3421
 
{ (ac_try="$ac_compiler -V >&5"
3422
 
case "(($ac_try" in
3423
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424
 
  *) ac_try_echo=$ac_try;;
3425
 
esac
3426
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3427
 
  (eval "$ac_compiler -V >&5") 2>&5
3428
 
  ac_status=$?
3429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430
 
  (exit $ac_status); }
3431
 
 
3432
 
cat >conftest.$ac_ext <<_ACEOF
3433
 
/* confdefs.h.  */
3434
 
_ACEOF
3435
 
cat confdefs.h >>conftest.$ac_ext
3436
 
cat >>conftest.$ac_ext <<_ACEOF
3437
 
/* end confdefs.h.  */
3438
 
 
3439
 
int
3440
 
main ()
3441
 
{
3442
 
 
3443
 
  ;
3444
 
  return 0;
3445
 
}
3446
 
_ACEOF
3447
 
ac_clean_files_save=$ac_clean_files
3448
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3449
 
# Try to create an executable without -o first, disregard a.out.
3450
 
# It will help us diagnose broken compilers, and finding out an intuition
3451
 
# of exeext.
3452
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3453
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3454
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3455
 
#
3456
 
# List of possible output files, starting from the most likely.
3457
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3458
 
# only as a last resort.  b.out is created by i960 compilers.
3459
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3460
 
#
3461
 
# The IRIX 6 linker writes into existing files which may not be
3462
 
# executable, retaining their permissions.  Remove them first so a
3463
 
# subsequent execution test works.
3464
 
ac_rmfiles=
3465
 
for ac_file in $ac_files
3466
 
do
3467
 
  case $ac_file in
3468
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3469
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3470
 
  esac
3471
 
done
3472
 
rm -f $ac_rmfiles
3473
 
 
3474
 
if { (ac_try="$ac_link_default"
3475
 
case "(($ac_try" in
3476
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
 
  *) ac_try_echo=$ac_try;;
3478
 
esac
3479
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3480
 
  (eval "$ac_link_default") 2>&5
3481
 
  ac_status=$?
3482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483
 
  (exit $ac_status); }; then
3484
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3485
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3486
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3487
 
# so that the user can short-circuit this test for compilers unknown to
3488
 
# Autoconf.
3489
 
for ac_file in $ac_files ''
3490
 
do
3491
 
  test -f "$ac_file" || continue
3492
 
  case $ac_file in
3493
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3494
 
        ;;
3495
 
    [ab].out )
3496
 
        # We found the default executable, but exeext='' is most
3497
 
        # certainly right.
3498
 
        break;;
3499
 
    *.* )
3500
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3501
 
        then :; else
3502
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3503
 
        fi
3504
 
        # We set ac_cv_exeext here because the later test for it is not
3505
 
        # safe: cross compilers may not add the suffix if given an `-o'
3506
 
        # argument, so we may need to know it at that point already.
3507
 
        # Even if this section looks crufty: it has the advantage of
3508
 
        # actually working.
3509
 
        break;;
3510
 
    * )
3511
 
        break;;
3512
 
  esac
3513
 
done
3514
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3515
 
 
3516
 
else
3517
 
  ac_file=''
3518
 
fi
3519
 
 
3520
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3521
 
echo "${ECHO_T}$ac_file" >&6; }
3522
 
if test -z "$ac_file"; then
3523
 
  echo "$as_me: failed program was:" >&5
3524
 
sed 's/^/| /' conftest.$ac_ext >&5
3525
 
 
3526
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3527
 
See \`config.log' for more details." >&5
3528
 
echo "$as_me: error: C compiler cannot create executables
3529
 
See \`config.log' for more details." >&2;}
3530
 
   { (exit 77); exit 77; }; }
3531
 
fi
3532
 
 
3533
 
ac_exeext=$ac_cv_exeext
3534
 
 
3535
 
# Check that the compiler produces executables we can run.  If not, either
3536
 
# the compiler is broken, or we cross compile.
3537
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3538
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3539
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3540
 
# If not cross compiling, check that we can run a simple program.
3541
 
if test "$cross_compiling" != yes; then
3542
 
  if { ac_try='./$ac_file'
3543
 
  { (case "(($ac_try" in
3544
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545
 
  *) ac_try_echo=$ac_try;;
3546
 
esac
3547
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3548
 
  (eval "$ac_try") 2>&5
3549
 
  ac_status=$?
3550
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551
 
  (exit $ac_status); }; }; then
3552
 
    cross_compiling=no
3553
 
  else
3554
 
    if test "$cross_compiling" = maybe; then
3555
 
        cross_compiling=yes
3556
 
    else
3557
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3558
 
If you meant to cross compile, use \`--host'.
3559
 
See \`config.log' for more details." >&5
3560
 
echo "$as_me: error: cannot run C compiled programs.
3561
 
If you meant to cross compile, use \`--host'.
3562
 
See \`config.log' for more details." >&2;}
3563
 
   { (exit 1); exit 1; }; }
3564
 
    fi
3565
 
  fi
3566
 
fi
3567
 
{ echo "$as_me:$LINENO: result: yes" >&5
3568
 
echo "${ECHO_T}yes" >&6; }
3569
 
 
3570
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3571
 
ac_clean_files=$ac_clean_files_save
3572
 
# Check that the compiler produces executables we can run.  If not, either
3573
 
# the compiler is broken, or we cross compile.
3574
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3575
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3576
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3577
 
echo "${ECHO_T}$cross_compiling" >&6; }
3578
 
 
3579
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3580
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3581
 
if { (ac_try="$ac_link"
3582
 
case "(($ac_try" in
3583
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584
 
  *) ac_try_echo=$ac_try;;
3585
 
esac
3586
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3587
 
  (eval "$ac_link") 2>&5
3588
 
  ac_status=$?
3589
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590
 
  (exit $ac_status); }; then
3591
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3592
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3593
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3594
 
# `rm'.
3595
 
for ac_file in conftest.exe conftest conftest.*; do
3596
 
  test -f "$ac_file" || continue
3597
 
  case $ac_file in
3598
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3599
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3600
 
          break;;
3601
 
    * ) break;;
3602
 
  esac
3603
 
done
3604
 
else
3605
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3606
 
See \`config.log' for more details." >&5
3607
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3608
 
See \`config.log' for more details." >&2;}
3609
 
   { (exit 1); exit 1; }; }
3610
 
fi
3611
 
 
3612
 
rm -f conftest$ac_cv_exeext
3613
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3614
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3615
 
 
3616
 
rm -f conftest.$ac_ext
3617
 
EXEEXT=$ac_cv_exeext
3618
 
ac_exeext=$EXEEXT
3619
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3620
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3621
 
if test "${ac_cv_objext+set}" = set; then
3622
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3623
 
else
3624
 
  cat >conftest.$ac_ext <<_ACEOF
3625
 
/* confdefs.h.  */
3626
 
_ACEOF
3627
 
cat confdefs.h >>conftest.$ac_ext
3628
 
cat >>conftest.$ac_ext <<_ACEOF
3629
 
/* end confdefs.h.  */
3630
 
 
3631
 
int
3632
 
main ()
3633
 
{
3634
 
 
3635
 
  ;
3636
 
  return 0;
3637
 
}
3638
 
_ACEOF
3639
 
rm -f conftest.o conftest.obj
3640
 
if { (ac_try="$ac_compile"
3641
 
case "(($ac_try" in
3642
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643
 
  *) ac_try_echo=$ac_try;;
3644
 
esac
3645
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3646
 
  (eval "$ac_compile") 2>&5
3647
 
  ac_status=$?
3648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649
 
  (exit $ac_status); }; then
3650
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3651
 
  test -f "$ac_file" || continue;
3652
 
  case $ac_file in
3653
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3654
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3655
 
       break;;
3656
 
  esac
3657
 
done
3658
 
else
3659
 
  echo "$as_me: failed program was:" >&5
3660
 
sed 's/^/| /' conftest.$ac_ext >&5
3661
 
 
3662
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3663
 
See \`config.log' for more details." >&5
3664
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3665
 
See \`config.log' for more details." >&2;}
3666
 
   { (exit 1); exit 1; }; }
3667
 
fi
3668
 
 
3669
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3670
 
fi
3671
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3672
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
3673
 
OBJEXT=$ac_cv_objext
3674
 
ac_objext=$OBJEXT
3675
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3676
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3677
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3678
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3679
 
else
3680
 
  cat >conftest.$ac_ext <<_ACEOF
3681
 
/* confdefs.h.  */
3682
 
_ACEOF
3683
 
cat confdefs.h >>conftest.$ac_ext
3684
 
cat >>conftest.$ac_ext <<_ACEOF
3685
 
/* end confdefs.h.  */
3686
 
 
3687
 
int
3688
 
main ()
3689
 
{
3690
 
#ifndef __GNUC__
3691
 
       choke me
3692
 
#endif
3693
 
 
3694
 
  ;
3695
 
  return 0;
3696
 
}
3697
 
_ACEOF
3698
 
rm -f conftest.$ac_objext
3699
 
if { (ac_try="$ac_compile"
3700
 
case "(($ac_try" in
3701
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702
 
  *) ac_try_echo=$ac_try;;
3703
 
esac
3704
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3705
 
  (eval "$ac_compile") 2>conftest.er1
3706
 
  ac_status=$?
3707
 
  grep -v '^ *+' conftest.er1 >conftest.err
3708
 
  rm -f conftest.er1
3709
 
  cat conftest.err >&5
3710
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711
 
  (exit $ac_status); } && {
3712
 
         test -z "$ac_c_werror_flag" ||
3713
 
         test ! -s conftest.err
3714
 
       } && test -s conftest.$ac_objext; then
3715
 
  ac_compiler_gnu=yes
3716
 
else
3717
 
  echo "$as_me: failed program was:" >&5
3718
 
sed 's/^/| /' conftest.$ac_ext >&5
3719
 
 
3720
 
        ac_compiler_gnu=no
3721
 
fi
3722
 
 
3723
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3724
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3725
 
 
3726
 
fi
3727
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3728
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3729
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
3730
 
ac_test_CFLAGS=${CFLAGS+set}
3731
 
ac_save_CFLAGS=$CFLAGS
3732
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3733
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3734
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3735
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3736
 
else
3737
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3738
 
   ac_c_werror_flag=yes
3739
 
   ac_cv_prog_cc_g=no
3740
 
   CFLAGS="-g"
3741
 
   cat >conftest.$ac_ext <<_ACEOF
3742
 
/* confdefs.h.  */
3743
 
_ACEOF
3744
 
cat confdefs.h >>conftest.$ac_ext
3745
 
cat >>conftest.$ac_ext <<_ACEOF
3746
 
/* end confdefs.h.  */
3747
 
 
3748
 
int
3749
 
main ()
3750
 
{
3751
 
 
3752
 
  ;
3753
 
  return 0;
3754
 
}
3755
 
_ACEOF
3756
 
rm -f conftest.$ac_objext
3757
 
if { (ac_try="$ac_compile"
3758
 
case "(($ac_try" in
3759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760
 
  *) ac_try_echo=$ac_try;;
3761
 
esac
3762
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3763
 
  (eval "$ac_compile") 2>conftest.er1
3764
 
  ac_status=$?
3765
 
  grep -v '^ *+' conftest.er1 >conftest.err
3766
 
  rm -f conftest.er1
3767
 
  cat conftest.err >&5
3768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769
 
  (exit $ac_status); } && {
3770
 
         test -z "$ac_c_werror_flag" ||
3771
 
         test ! -s conftest.err
3772
 
       } && test -s conftest.$ac_objext; then
3773
 
  ac_cv_prog_cc_g=yes
3774
 
else
3775
 
  echo "$as_me: failed program was:" >&5
3776
 
sed 's/^/| /' conftest.$ac_ext >&5
3777
 
 
3778
 
        CFLAGS=""
3779
 
      cat >conftest.$ac_ext <<_ACEOF
3780
 
/* confdefs.h.  */
3781
 
_ACEOF
3782
 
cat confdefs.h >>conftest.$ac_ext
3783
 
cat >>conftest.$ac_ext <<_ACEOF
3784
 
/* end confdefs.h.  */
3785
 
 
3786
 
int
3787
 
main ()
3788
 
{
3789
 
 
3790
 
  ;
3791
 
  return 0;
3792
 
}
3793
 
_ACEOF
3794
 
rm -f conftest.$ac_objext
3795
 
if { (ac_try="$ac_compile"
3796
 
case "(($ac_try" in
3797
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798
 
  *) ac_try_echo=$ac_try;;
3799
 
esac
3800
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3801
 
  (eval "$ac_compile") 2>conftest.er1
3802
 
  ac_status=$?
3803
 
  grep -v '^ *+' conftest.er1 >conftest.err
3804
 
  rm -f conftest.er1
3805
 
  cat conftest.err >&5
3806
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807
 
  (exit $ac_status); } && {
3808
 
         test -z "$ac_c_werror_flag" ||
3809
 
         test ! -s conftest.err
3810
 
       } && test -s conftest.$ac_objext; then
3811
 
  :
3812
 
else
3813
 
  echo "$as_me: failed program was:" >&5
3814
 
sed 's/^/| /' conftest.$ac_ext >&5
3815
 
 
3816
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3817
 
         CFLAGS="-g"
3818
 
         cat >conftest.$ac_ext <<_ACEOF
3819
 
/* confdefs.h.  */
3820
 
_ACEOF
3821
 
cat confdefs.h >>conftest.$ac_ext
3822
 
cat >>conftest.$ac_ext <<_ACEOF
3823
 
/* end confdefs.h.  */
3824
 
 
3825
 
int
3826
 
main ()
3827
 
{
3828
 
 
3829
 
  ;
3830
 
  return 0;
3831
 
}
3832
 
_ACEOF
3833
 
rm -f conftest.$ac_objext
3834
 
if { (ac_try="$ac_compile"
3835
 
case "(($ac_try" in
3836
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837
 
  *) ac_try_echo=$ac_try;;
3838
 
esac
3839
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840
 
  (eval "$ac_compile") 2>conftest.er1
3841
 
  ac_status=$?
3842
 
  grep -v '^ *+' conftest.er1 >conftest.err
3843
 
  rm -f conftest.er1
3844
 
  cat conftest.err >&5
3845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846
 
  (exit $ac_status); } && {
3847
 
         test -z "$ac_c_werror_flag" ||
3848
 
         test ! -s conftest.err
3849
 
       } && test -s conftest.$ac_objext; then
3850
 
  ac_cv_prog_cc_g=yes
3851
 
else
3852
 
  echo "$as_me: failed program was:" >&5
3853
 
sed 's/^/| /' conftest.$ac_ext >&5
3854
 
 
3855
 
 
3856
 
fi
3857
 
 
3858
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859
 
fi
3860
 
 
3861
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3862
 
fi
3863
 
 
3864
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3865
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3866
 
fi
3867
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3868
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3869
 
if test "$ac_test_CFLAGS" = set; then
3870
 
  CFLAGS=$ac_save_CFLAGS
3871
 
elif test $ac_cv_prog_cc_g = yes; then
3872
 
  if test "$GCC" = yes; then
3873
 
    CFLAGS="-g -O2"
3874
 
  else
3875
 
    CFLAGS="-g"
3876
 
  fi
3877
 
else
3878
 
  if test "$GCC" = yes; then
3879
 
    CFLAGS="-O2"
3880
 
  else
3881
 
    CFLAGS=
3882
 
  fi
3883
 
fi
3884
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3885
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3886
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3887
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3888
 
else
3889
 
  ac_cv_prog_cc_c89=no
3890
 
ac_save_CC=$CC
3891
 
cat >conftest.$ac_ext <<_ACEOF
3892
 
/* confdefs.h.  */
3893
 
_ACEOF
3894
 
cat confdefs.h >>conftest.$ac_ext
3895
 
cat >>conftest.$ac_ext <<_ACEOF
3896
 
/* end confdefs.h.  */
3897
 
#include <stdarg.h>
3898
 
#include <stdio.h>
3899
 
#include <sys/types.h>
3900
 
#include <sys/stat.h>
3901
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3902
 
struct buf { int x; };
3903
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3904
 
static char *e (p, i)
3905
 
     char **p;
3906
 
     int i;
3907
 
{
3908
 
  return p[i];
3909
 
}
3910
 
static char *f (char * (*g) (char **, int), char **p, ...)
3911
 
{
3912
 
  char *s;
3913
 
  va_list v;
3914
 
  va_start (v,p);
3915
 
  s = g (p, va_arg (v,int));
3916
 
  va_end (v);
3917
 
  return s;
3918
 
}
3919
 
 
3920
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3921
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3922
 
   These don't provoke an error unfortunately, instead are silently treated
3923
 
   as 'x'.  The following induces an error, until -std is added to get
3924
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3925
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3926
 
   that's true only with -std.  */
3927
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3928
 
 
3929
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3930
 
   inside strings and character constants.  */
3931
 
#define FOO(x) 'x'
3932
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3933
 
 
3934
 
int test (int i, double x);
3935
 
struct s1 {int (*f) (int a);};
3936
 
struct s2 {int (*f) (double a);};
3937
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3938
 
int argc;
3939
 
char **argv;
3940
 
int
3941
 
main ()
3942
 
{
3943
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3944
 
  ;
3945
 
  return 0;
3946
 
}
3947
 
_ACEOF
3948
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3949
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3950
 
do
3951
 
  CC="$ac_save_CC $ac_arg"
3952
 
  rm -f conftest.$ac_objext
3953
 
if { (ac_try="$ac_compile"
3954
 
case "(($ac_try" in
3955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956
 
  *) ac_try_echo=$ac_try;;
3957
 
esac
3958
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3959
 
  (eval "$ac_compile") 2>conftest.er1
3960
 
  ac_status=$?
3961
 
  grep -v '^ *+' conftest.er1 >conftest.err
3962
 
  rm -f conftest.er1
3963
 
  cat conftest.err >&5
3964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965
 
  (exit $ac_status); } && {
3966
 
         test -z "$ac_c_werror_flag" ||
3967
 
         test ! -s conftest.err
3968
 
       } && test -s conftest.$ac_objext; then
3969
 
  ac_cv_prog_cc_c89=$ac_arg
3970
 
else
3971
 
  echo "$as_me: failed program was:" >&5
3972
 
sed 's/^/| /' conftest.$ac_ext >&5
3973
 
 
3974
 
 
3975
 
fi
3976
 
 
3977
 
rm -f core conftest.err conftest.$ac_objext
3978
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3979
 
done
3980
 
rm -f conftest.$ac_ext
3981
 
CC=$ac_save_CC
3982
 
 
3983
 
fi
3984
 
# AC_CACHE_VAL
3985
 
case "x$ac_cv_prog_cc_c89" in
3986
 
  x)
3987
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3988
 
echo "${ECHO_T}none needed" >&6; } ;;
3989
 
  xno)
3990
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3991
 
echo "${ECHO_T}unsupported" >&6; } ;;
3992
 
  *)
3993
 
    CC="$CC $ac_cv_prog_cc_c89"
3994
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3995
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3996
 
esac
3997
 
 
3998
 
 
3999
 
ac_ext=c
4000
 
ac_cpp='$CPP $CPPFLAGS'
4001
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4002
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4003
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4004
 
 
4005
 
depcc="$CC"   am_compiler_list=
4006
 
 
4007
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4008
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4009
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4010
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4011
 
else
4012
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4013
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4014
 
  # making bogus files that we don't know about and never remove.  For
4015
 
  # instance it was reported that on HP-UX the gcc test will end up
4016
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4017
 
  # in D'.
4018
 
  mkdir conftest.dir
4019
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4020
 
  # using a relative directory.
4021
 
  cp "$am_depcomp" conftest.dir
4022
 
  cd conftest.dir
4023
 
  # We will build objects and dependencies in a subdirectory because
4024
 
  # it helps to detect inapplicable dependency modes.  For instance
4025
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4026
 
  # side effect of compilation, but ICC will put the dependencies in
4027
 
  # the current directory while Tru64 will put them in the object
4028
 
  # directory.
4029
 
  mkdir sub
4030
 
 
4031
 
  am_cv_CC_dependencies_compiler_type=none
4032
 
  if test "$am_compiler_list" = ""; then
4033
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4034
 
  fi
4035
 
  for depmode in $am_compiler_list; do
4036
 
    # Setup a source with many dependencies, because some compilers
4037
 
    # like to wrap large dependency lists on column 80 (with \), and
4038
 
    # we should not choose a depcomp mode which is confused by this.
4039
 
    #
4040
 
    # We need to recreate these files for each test, as the compiler may
4041
 
    # overwrite some of them when testing with obscure command lines.
4042
 
    # This happens at least with the AIX C compiler.
4043
 
    : > sub/conftest.c
4044
 
    for i in 1 2 3 4 5 6; do
4045
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4046
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4047
 
      # Solaris 8's {/usr,}/bin/sh.
4048
 
      touch sub/conftst$i.h
4049
 
    done
4050
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4051
 
 
4052
 
    case $depmode in
4053
 
    nosideeffect)
4054
 
      # after this tag, mechanisms are not by side-effect, so they'll
4055
 
      # only be used when explicitly requested
4056
 
      if test "x$enable_dependency_tracking" = xyes; then
4057
 
        continue
4058
 
      else
4059
 
        break
4060
 
      fi
4061
 
      ;;
4062
 
    none) break ;;
4063
 
    esac
4064
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4065
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4066
 
    # handle `-M -o', and we need to detect this.
4067
 
    if depmode=$depmode \
4068
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4069
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4070
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4071
 
         >/dev/null 2>conftest.err &&
4072
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4073
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4074
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4075
 
      # icc doesn't choke on unknown options, it will just issue warnings
4076
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4077
 
      # that says an option was ignored or not supported.
4078
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4079
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4080
 
      # The diagnosis changed in icc 8.0:
4081
 
      #   icc: Command line remark: option '-MP' not supported
4082
 
      if (grep 'ignoring option' conftest.err ||
4083
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4084
 
        am_cv_CC_dependencies_compiler_type=$depmode
4085
 
        break
4086
 
      fi
4087
 
    fi
4088
 
  done
4089
 
 
4090
 
  cd ..
4091
 
  rm -rf conftest.dir
4092
 
else
4093
 
  am_cv_CC_dependencies_compiler_type=none
4094
 
fi
4095
 
 
4096
 
fi
4097
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4098
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4099
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4100
 
 
4101
 
 
4102
 
 
4103
 
if
4104
 
  test "x$enable_dependency_tracking" != xno \
4105
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4106
 
  am__fastdepCC_TRUE=
4107
 
  am__fastdepCC_FALSE='#'
4108
 
else
4109
 
  am__fastdepCC_TRUE='#'
4110
 
  am__fastdepCC_FALSE=
4111
 
fi
4112
 
 
4113
 
 
4114
 
 
4115
 
  ac_ext=c
4116
 
ac_cpp='$CPP $CPPFLAGS'
4117
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4120
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4121
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4122
 
# On Suns, sometimes $CPP names a directory.
4123
 
if test -n "$CPP" && test -d "$CPP"; then
4124
 
  CPP=
4125
 
fi
4126
 
if test -z "$CPP"; then
4127
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4128
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4129
 
else
4130
 
      # Double quotes because CPP needs to be expanded
4131
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4132
 
    do
4133
 
      ac_preproc_ok=false
4134
 
for ac_c_preproc_warn_flag in '' yes
4135
 
do
4136
 
  # Use a header file that comes with gcc, so configuring glibc
4137
 
  # with a fresh cross-compiler works.
4138
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4139
 
  # <limits.h> exists even on freestanding compilers.
4140
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4141
 
  # not just through cpp. "Syntax error" is here to catch this case.
4142
 
  cat >conftest.$ac_ext <<_ACEOF
4143
 
/* confdefs.h.  */
4144
 
_ACEOF
4145
 
cat confdefs.h >>conftest.$ac_ext
4146
 
cat >>conftest.$ac_ext <<_ACEOF
4147
 
/* end confdefs.h.  */
4148
 
#ifdef __STDC__
4149
 
# include <limits.h>
4150
 
#else
4151
 
# include <assert.h>
4152
 
#endif
4153
 
                     Syntax error
4154
 
_ACEOF
4155
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4156
 
case "(($ac_try" in
4157
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158
 
  *) ac_try_echo=$ac_try;;
4159
 
esac
4160
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4161
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4162
 
  ac_status=$?
4163
 
  grep -v '^ *+' conftest.er1 >conftest.err
4164
 
  rm -f conftest.er1
4165
 
  cat conftest.err >&5
4166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167
 
  (exit $ac_status); } >/dev/null && {
4168
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4169
 
         test ! -s conftest.err
4170
 
       }; then
4171
 
  :
4172
 
else
4173
 
  echo "$as_me: failed program was:" >&5
4174
 
sed 's/^/| /' conftest.$ac_ext >&5
4175
 
 
4176
 
  # Broken: fails on valid input.
4177
 
continue
4178
 
fi
4179
 
 
4180
 
rm -f conftest.err conftest.$ac_ext
4181
 
 
4182
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4183
 
  # can be detected and how.
4184
 
  cat >conftest.$ac_ext <<_ACEOF
4185
 
/* confdefs.h.  */
4186
 
_ACEOF
4187
 
cat confdefs.h >>conftest.$ac_ext
4188
 
cat >>conftest.$ac_ext <<_ACEOF
4189
 
/* end confdefs.h.  */
4190
 
#include <ac_nonexistent.h>
4191
 
_ACEOF
4192
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4193
 
case "(($ac_try" in
4194
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195
 
  *) ac_try_echo=$ac_try;;
4196
 
esac
4197
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4199
 
  ac_status=$?
4200
 
  grep -v '^ *+' conftest.er1 >conftest.err
4201
 
  rm -f conftest.er1
4202
 
  cat conftest.err >&5
4203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204
 
  (exit $ac_status); } >/dev/null && {
4205
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4206
 
         test ! -s conftest.err
4207
 
       }; then
4208
 
  # Broken: success on invalid input.
4209
 
continue
4210
 
else
4211
 
  echo "$as_me: failed program was:" >&5
4212
 
sed 's/^/| /' conftest.$ac_ext >&5
4213
 
 
4214
 
  # Passes both tests.
4215
 
ac_preproc_ok=:
4216
 
break
4217
 
fi
4218
 
 
4219
 
rm -f conftest.err conftest.$ac_ext
4220
 
 
4221
 
done
4222
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4223
 
rm -f conftest.err conftest.$ac_ext
4224
 
if $ac_preproc_ok; then
4225
 
  break
4226
 
fi
4227
 
 
4228
 
    done
4229
 
    ac_cv_prog_CPP=$CPP
4230
 
 
4231
 
fi
4232
 
  CPP=$ac_cv_prog_CPP
4233
 
else
4234
 
  ac_cv_prog_CPP=$CPP
4235
 
fi
4236
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4237
 
echo "${ECHO_T}$CPP" >&6; }
4238
 
ac_preproc_ok=false
4239
 
for ac_c_preproc_warn_flag in '' yes
4240
 
do
4241
 
  # Use a header file that comes with gcc, so configuring glibc
4242
 
  # with a fresh cross-compiler works.
4243
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4244
 
  # <limits.h> exists even on freestanding compilers.
4245
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4246
 
  # not just through cpp. "Syntax error" is here to catch this case.
4247
 
  cat >conftest.$ac_ext <<_ACEOF
4248
 
/* confdefs.h.  */
4249
 
_ACEOF
4250
 
cat confdefs.h >>conftest.$ac_ext
4251
 
cat >>conftest.$ac_ext <<_ACEOF
4252
 
/* end confdefs.h.  */
4253
 
#ifdef __STDC__
4254
 
# include <limits.h>
4255
 
#else
4256
 
# include <assert.h>
4257
 
#endif
4258
 
                     Syntax error
4259
 
_ACEOF
4260
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4261
 
case "(($ac_try" in
4262
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4263
 
  *) ac_try_echo=$ac_try;;
4264
 
esac
4265
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4266
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4267
 
  ac_status=$?
4268
 
  grep -v '^ *+' conftest.er1 >conftest.err
4269
 
  rm -f conftest.er1
4270
 
  cat conftest.err >&5
4271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272
 
  (exit $ac_status); } >/dev/null && {
4273
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4274
 
         test ! -s conftest.err
4275
 
       }; then
4276
 
  :
4277
 
else
4278
 
  echo "$as_me: failed program was:" >&5
4279
 
sed 's/^/| /' conftest.$ac_ext >&5
4280
 
 
4281
 
  # Broken: fails on valid input.
4282
 
continue
4283
 
fi
4284
 
 
4285
 
rm -f conftest.err conftest.$ac_ext
4286
 
 
4287
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4288
 
  # can be detected and how.
4289
 
  cat >conftest.$ac_ext <<_ACEOF
4290
 
/* confdefs.h.  */
4291
 
_ACEOF
4292
 
cat confdefs.h >>conftest.$ac_ext
4293
 
cat >>conftest.$ac_ext <<_ACEOF
4294
 
/* end confdefs.h.  */
4295
 
#include <ac_nonexistent.h>
4296
 
_ACEOF
4297
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4298
 
case "(($ac_try" in
4299
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300
 
  *) ac_try_echo=$ac_try;;
4301
 
esac
4302
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4303
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4304
 
  ac_status=$?
4305
 
  grep -v '^ *+' conftest.er1 >conftest.err
4306
 
  rm -f conftest.er1
4307
 
  cat conftest.err >&5
4308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309
 
  (exit $ac_status); } >/dev/null && {
4310
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4311
 
         test ! -s conftest.err
4312
 
       }; then
4313
 
  # Broken: success on invalid input.
4314
 
continue
4315
 
else
4316
 
  echo "$as_me: failed program was:" >&5
4317
 
sed 's/^/| /' conftest.$ac_ext >&5
4318
 
 
4319
 
  # Passes both tests.
4320
 
ac_preproc_ok=:
4321
 
break
4322
 
fi
4323
 
 
4324
 
rm -f conftest.err conftest.$ac_ext
4325
 
 
4326
 
done
4327
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4328
 
rm -f conftest.err conftest.$ac_ext
4329
 
if $ac_preproc_ok; then
4330
 
  :
4331
 
else
4332
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4333
 
See \`config.log' for more details." >&5
4334
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4335
 
See \`config.log' for more details." >&2;}
4336
 
   { (exit 1); exit 1; }; }
4337
 
fi
4338
 
 
4339
 
ac_ext=c
4340
 
ac_cpp='$CPP $CPPFLAGS'
4341
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344
 
 
4345
 
 
4346
 
  if test "$GCC" = "yes"; then
4347
 
    if test "$kde_use_debug_code" != "no"; then
4348
 
      if test $kde_use_debug_code = "full"; then
4349
 
        CFLAGS="-g3 -fno-inline $CFLAGS"
4350
 
      else
4351
 
        CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
4352
 
      fi
4353
 
    else
4354
 
      CFLAGS="-O2 $CFLAGS"
4355
 
    fi
4356
 
  fi
4357
 
 
4358
 
  if test "$kde_use_debug_define" = "yes"; then
4359
 
    CFLAGS="-DNDEBUG $CFLAGS"
4360
 
  fi
4361
 
 
4362
 
 
4363
 
  case "$host" in
4364
 
  *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
4365
 
  *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
4366
 
  esac
4367
 
 
4368
 
  if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
4369
 
     LDFLAGS=""
4370
 
  fi
4371
 
 
4372
 
  CXXFLAGS=" $CXXFLAGS"
4373
 
 
4374
 
  ac_ext=cpp
4375
 
ac_cpp='$CXXCPP $CPPFLAGS'
4376
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4378
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4379
 
if test -z "$CXX"; then
4380
 
  if test -n "$CCC"; then
4381
 
    CXX=$CCC
4382
 
  else
4383
 
    if test -n "$ac_tool_prefix"; then
4384
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4385
 
  do
4386
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4387
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4388
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4389
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4390
 
if test "${ac_cv_prog_CXX+set}" = set; then
4391
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4392
 
else
4393
 
  if test -n "$CXX"; then
4394
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4395
 
else
4396
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397
 
for as_dir in $PATH
4398
 
do
4399
 
  IFS=$as_save_IFS
4400
 
  test -z "$as_dir" && as_dir=.
4401
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4402
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4403
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4404
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4405
 
    break 2
4406
 
  fi
4407
 
done
4408
 
done
4409
 
IFS=$as_save_IFS
4410
 
 
4411
 
fi
4412
 
fi
4413
 
CXX=$ac_cv_prog_CXX
4414
 
if test -n "$CXX"; then
4415
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
4416
 
echo "${ECHO_T}$CXX" >&6; }
4417
 
else
4418
 
  { echo "$as_me:$LINENO: result: no" >&5
4419
 
echo "${ECHO_T}no" >&6; }
4420
 
fi
4421
 
 
4422
 
 
4423
 
    test -n "$CXX" && break
4424
 
  done
4425
 
fi
4426
 
if test -z "$CXX"; then
4427
 
  ac_ct_CXX=$CXX
4428
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4429
 
do
4430
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4431
 
set dummy $ac_prog; ac_word=$2
4432
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4433
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4434
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4435
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4436
 
else
4437
 
  if test -n "$ac_ct_CXX"; then
4438
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4439
 
else
4440
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441
 
for as_dir in $PATH
4442
 
do
4443
 
  IFS=$as_save_IFS
4444
 
  test -z "$as_dir" && as_dir=.
4445
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4446
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4447
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4448
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4449
 
    break 2
4450
 
  fi
4451
 
done
4452
 
done
4453
 
IFS=$as_save_IFS
4454
 
 
4455
 
fi
4456
 
fi
4457
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4458
 
if test -n "$ac_ct_CXX"; then
4459
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4460
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4461
 
else
4462
 
  { echo "$as_me:$LINENO: result: no" >&5
4463
 
echo "${ECHO_T}no" >&6; }
4464
 
fi
4465
 
 
4466
 
 
4467
 
  test -n "$ac_ct_CXX" && break
4468
 
done
4469
 
 
4470
 
  if test "x$ac_ct_CXX" = x; then
4471
 
    CXX="g++"
4472
 
  else
4473
 
    case $cross_compiling:$ac_tool_warned in
4474
 
yes:)
4475
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4476
 
whose name does not start with the host triplet.  If you think this
4477
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4478
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4479
 
whose name does not start with the host triplet.  If you think this
4480
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4481
 
ac_tool_warned=yes ;;
4482
 
esac
4483
 
    CXX=$ac_ct_CXX
4484
 
  fi
4485
 
fi
4486
 
 
4487
 
  fi
4488
 
fi
4489
 
# Provide some information about the compiler.
4490
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4491
 
ac_compiler=`set X $ac_compile; echo $2`
4492
 
{ (ac_try="$ac_compiler --version >&5"
4493
 
case "(($ac_try" in
4494
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4495
 
  *) ac_try_echo=$ac_try;;
4496
 
esac
4497
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4498
 
  (eval "$ac_compiler --version >&5") 2>&5
4499
 
  ac_status=$?
4500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501
 
  (exit $ac_status); }
4502
 
{ (ac_try="$ac_compiler -v >&5"
4503
 
case "(($ac_try" in
4504
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505
 
  *) ac_try_echo=$ac_try;;
4506
 
esac
4507
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4508
 
  (eval "$ac_compiler -v >&5") 2>&5
4509
 
  ac_status=$?
4510
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511
 
  (exit $ac_status); }
4512
 
{ (ac_try="$ac_compiler -V >&5"
4513
 
case "(($ac_try" in
4514
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4515
 
  *) ac_try_echo=$ac_try;;
4516
 
esac
4517
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4518
 
  (eval "$ac_compiler -V >&5") 2>&5
4519
 
  ac_status=$?
4520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521
 
  (exit $ac_status); }
4522
 
 
4523
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4524
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4525
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4526
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4527
 
else
4528
 
  cat >conftest.$ac_ext <<_ACEOF
4529
 
/* confdefs.h.  */
4530
 
_ACEOF
4531
 
cat confdefs.h >>conftest.$ac_ext
4532
 
cat >>conftest.$ac_ext <<_ACEOF
4533
 
/* end confdefs.h.  */
4534
 
 
4535
 
int
4536
 
main ()
4537
 
{
4538
 
#ifndef __GNUC__
4539
 
       choke me
4540
 
#endif
4541
 
 
4542
 
  ;
4543
 
  return 0;
4544
 
}
4545
 
_ACEOF
4546
 
rm -f conftest.$ac_objext
4547
 
if { (ac_try="$ac_compile"
4548
 
case "(($ac_try" in
4549
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4550
 
  *) ac_try_echo=$ac_try;;
4551
 
esac
4552
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4553
 
  (eval "$ac_compile") 2>conftest.er1
4554
 
  ac_status=$?
4555
 
  grep -v '^ *+' conftest.er1 >conftest.err
4556
 
  rm -f conftest.er1
4557
 
  cat conftest.err >&5
4558
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559
 
  (exit $ac_status); } && {
4560
 
         test -z "$ac_cxx_werror_flag" ||
4561
 
         test ! -s conftest.err
4562
 
       } && test -s conftest.$ac_objext; then
4563
 
  ac_compiler_gnu=yes
4564
 
else
4565
 
  echo "$as_me: failed program was:" >&5
4566
 
sed 's/^/| /' conftest.$ac_ext >&5
4567
 
 
4568
 
        ac_compiler_gnu=no
4569
 
fi
4570
 
 
4571
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4573
 
 
4574
 
fi
4575
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4576
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4577
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
4578
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
4579
 
ac_save_CXXFLAGS=$CXXFLAGS
4580
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4581
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4582
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
4583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4584
 
else
4585
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4586
 
   ac_cxx_werror_flag=yes
4587
 
   ac_cv_prog_cxx_g=no
4588
 
   CXXFLAGS="-g"
4589
 
   cat >conftest.$ac_ext <<_ACEOF
4590
 
/* confdefs.h.  */
4591
 
_ACEOF
4592
 
cat confdefs.h >>conftest.$ac_ext
4593
 
cat >>conftest.$ac_ext <<_ACEOF
4594
 
/* end confdefs.h.  */
4595
 
 
4596
 
int
4597
 
main ()
4598
 
{
4599
 
 
4600
 
  ;
4601
 
  return 0;
4602
 
}
4603
 
_ACEOF
4604
 
rm -f conftest.$ac_objext
4605
 
if { (ac_try="$ac_compile"
4606
 
case "(($ac_try" in
4607
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4608
 
  *) ac_try_echo=$ac_try;;
4609
 
esac
4610
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4611
 
  (eval "$ac_compile") 2>conftest.er1
4612
 
  ac_status=$?
4613
 
  grep -v '^ *+' conftest.er1 >conftest.err
4614
 
  rm -f conftest.er1
4615
 
  cat conftest.err >&5
4616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617
 
  (exit $ac_status); } && {
4618
 
         test -z "$ac_cxx_werror_flag" ||
4619
 
         test ! -s conftest.err
4620
 
       } && test -s conftest.$ac_objext; then
4621
 
  ac_cv_prog_cxx_g=yes
4622
 
else
4623
 
  echo "$as_me: failed program was:" >&5
4624
 
sed 's/^/| /' conftest.$ac_ext >&5
4625
 
 
4626
 
        CXXFLAGS=""
4627
 
      cat >conftest.$ac_ext <<_ACEOF
4628
 
/* confdefs.h.  */
4629
 
_ACEOF
4630
 
cat confdefs.h >>conftest.$ac_ext
4631
 
cat >>conftest.$ac_ext <<_ACEOF
4632
 
/* end confdefs.h.  */
4633
 
 
4634
 
int
4635
 
main ()
4636
 
{
4637
 
 
4638
 
  ;
4639
 
  return 0;
4640
 
}
4641
 
_ACEOF
4642
 
rm -f conftest.$ac_objext
4643
 
if { (ac_try="$ac_compile"
4644
 
case "(($ac_try" in
4645
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4646
 
  *) ac_try_echo=$ac_try;;
4647
 
esac
4648
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4649
 
  (eval "$ac_compile") 2>conftest.er1
4650
 
  ac_status=$?
4651
 
  grep -v '^ *+' conftest.er1 >conftest.err
4652
 
  rm -f conftest.er1
4653
 
  cat conftest.err >&5
4654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655
 
  (exit $ac_status); } && {
4656
 
         test -z "$ac_cxx_werror_flag" ||
4657
 
         test ! -s conftest.err
4658
 
       } && test -s conftest.$ac_objext; then
4659
 
  :
4660
 
else
4661
 
  echo "$as_me: failed program was:" >&5
4662
 
sed 's/^/| /' conftest.$ac_ext >&5
4663
 
 
4664
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4665
 
         CXXFLAGS="-g"
4666
 
         cat >conftest.$ac_ext <<_ACEOF
4667
 
/* confdefs.h.  */
4668
 
_ACEOF
4669
 
cat confdefs.h >>conftest.$ac_ext
4670
 
cat >>conftest.$ac_ext <<_ACEOF
4671
 
/* end confdefs.h.  */
4672
 
 
4673
 
int
4674
 
main ()
4675
 
{
4676
 
 
4677
 
  ;
4678
 
  return 0;
4679
 
}
4680
 
_ACEOF
4681
 
rm -f conftest.$ac_objext
4682
 
if { (ac_try="$ac_compile"
4683
 
case "(($ac_try" in
4684
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4685
 
  *) ac_try_echo=$ac_try;;
4686
 
esac
4687
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4688
 
  (eval "$ac_compile") 2>conftest.er1
4689
 
  ac_status=$?
4690
 
  grep -v '^ *+' conftest.er1 >conftest.err
4691
 
  rm -f conftest.er1
4692
 
  cat conftest.err >&5
4693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694
 
  (exit $ac_status); } && {
4695
 
         test -z "$ac_cxx_werror_flag" ||
4696
 
         test ! -s conftest.err
4697
 
       } && test -s conftest.$ac_objext; then
4698
 
  ac_cv_prog_cxx_g=yes
4699
 
else
4700
 
  echo "$as_me: failed program was:" >&5
4701
 
sed 's/^/| /' conftest.$ac_ext >&5
4702
 
 
4703
 
 
4704
 
fi
4705
 
 
4706
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4707
 
fi
4708
 
 
4709
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4710
 
fi
4711
 
 
4712
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4714
 
fi
4715
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4716
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4717
 
if test "$ac_test_CXXFLAGS" = set; then
4718
 
  CXXFLAGS=$ac_save_CXXFLAGS
4719
 
elif test $ac_cv_prog_cxx_g = yes; then
4720
 
  if test "$GXX" = yes; then
4721
 
    CXXFLAGS="-g -O2"
4722
 
  else
4723
 
    CXXFLAGS="-g"
4724
 
  fi
4725
 
else
4726
 
  if test "$GXX" = yes; then
4727
 
    CXXFLAGS="-O2"
4728
 
  else
4729
 
    CXXFLAGS=
4730
 
  fi
4731
 
fi
4732
 
ac_ext=c
4733
 
ac_cpp='$CPP $CPPFLAGS'
4734
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4735
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4736
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4737
 
 
4738
 
depcc="$CXX"  am_compiler_list=
4739
 
 
4740
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4741
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4742
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4743
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4744
 
else
4745
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4746
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4747
 
  # making bogus files that we don't know about and never remove.  For
4748
 
  # instance it was reported that on HP-UX the gcc test will end up
4749
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4750
 
  # in D'.
4751
 
  mkdir conftest.dir
4752
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4753
 
  # using a relative directory.
4754
 
  cp "$am_depcomp" conftest.dir
4755
 
  cd conftest.dir
4756
 
  # We will build objects and dependencies in a subdirectory because
4757
 
  # it helps to detect inapplicable dependency modes.  For instance
4758
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4759
 
  # side effect of compilation, but ICC will put the dependencies in
4760
 
  # the current directory while Tru64 will put them in the object
4761
 
  # directory.
4762
 
  mkdir sub
4763
 
 
4764
 
  am_cv_CXX_dependencies_compiler_type=none
4765
 
  if test "$am_compiler_list" = ""; then
4766
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4767
 
  fi
4768
 
  for depmode in $am_compiler_list; do
4769
 
    # Setup a source with many dependencies, because some compilers
4770
 
    # like to wrap large dependency lists on column 80 (with \), and
4771
 
    # we should not choose a depcomp mode which is confused by this.
4772
 
    #
4773
 
    # We need to recreate these files for each test, as the compiler may
4774
 
    # overwrite some of them when testing with obscure command lines.
4775
 
    # This happens at least with the AIX C compiler.
4776
 
    : > sub/conftest.c
4777
 
    for i in 1 2 3 4 5 6; do
4778
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4779
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4780
 
      # Solaris 8's {/usr,}/bin/sh.
4781
 
      touch sub/conftst$i.h
4782
 
    done
4783
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4784
 
 
4785
 
    case $depmode in
4786
 
    nosideeffect)
4787
 
      # after this tag, mechanisms are not by side-effect, so they'll
4788
 
      # only be used when explicitly requested
4789
 
      if test "x$enable_dependency_tracking" = xyes; then
4790
 
        continue
4791
 
      else
4792
 
        break
4793
 
      fi
4794
 
      ;;
4795
 
    none) break ;;
4796
 
    esac
4797
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4798
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4799
 
    # handle `-M -o', and we need to detect this.
4800
 
    if depmode=$depmode \
4801
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4802
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4803
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4804
 
         >/dev/null 2>conftest.err &&
4805
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4806
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4807
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4808
 
      # icc doesn't choke on unknown options, it will just issue warnings
4809
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4810
 
      # that says an option was ignored or not supported.
4811
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4812
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4813
 
      # The diagnosis changed in icc 8.0:
4814
 
      #   icc: Command line remark: option '-MP' not supported
4815
 
      if (grep 'ignoring option' conftest.err ||
4816
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4817
 
        am_cv_CXX_dependencies_compiler_type=$depmode
4818
 
        break
4819
 
      fi
4820
 
    fi
4821
 
  done
4822
 
 
4823
 
  cd ..
4824
 
  rm -rf conftest.dir
4825
 
else
4826
 
  am_cv_CXX_dependencies_compiler_type=none
4827
 
fi
4828
 
 
4829
 
fi
4830
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4831
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4832
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4833
 
 
4834
 
 
4835
 
 
4836
 
if
4837
 
  test "x$enable_dependency_tracking" != xno \
4838
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4839
 
  am__fastdepCXX_TRUE=
4840
 
  am__fastdepCXX_FALSE='#'
4841
 
else
4842
 
  am__fastdepCXX_TRUE='#'
4843
 
  am__fastdepCXX_FALSE=
4844
 
fi
4845
 
 
4846
 
 
4847
 
 
4848
 
 
4849
 
  { echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
4850
 
echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6; }
4851
 
 
4852
 
 
4853
 
  cat >conftest.$ac_ext <<_ACEOF
4854
 
/* confdefs.h.  */
4855
 
_ACEOF
4856
 
cat confdefs.h >>conftest.$ac_ext
4857
 
cat >>conftest.$ac_ext <<_ACEOF
4858
 
/* end confdefs.h.  */
4859
 
 
4860
 
#ifdef __GNUC__
4861
 
#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
4862
 
choke me
4863
 
#endif
4864
 
#endif
4865
 
 
4866
 
int
4867
 
main ()
4868
 
{
4869
 
 
4870
 
  ;
4871
 
  return 0;
4872
 
}
4873
 
_ACEOF
4874
 
rm -f conftest.$ac_objext
4875
 
if { (ac_try="$ac_compile"
4876
 
case "(($ac_try" in
4877
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4878
 
  *) ac_try_echo=$ac_try;;
4879
 
esac
4880
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4881
 
  (eval "$ac_compile") 2>conftest.er1
4882
 
  ac_status=$?
4883
 
  grep -v '^ *+' conftest.er1 >conftest.err
4884
 
  rm -f conftest.er1
4885
 
  cat conftest.err >&5
4886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887
 
  (exit $ac_status); } && {
4888
 
         test -z "$ac_c_werror_flag" ||
4889
 
         test ! -s conftest.err
4890
 
       } && test -s conftest.$ac_objext; then
4891
 
  kde_bad_compiler=no
4892
 
else
4893
 
  echo "$as_me: failed program was:" >&5
4894
 
sed 's/^/| /' conftest.$ac_ext >&5
4895
 
 
4896
 
        kde_bad_compiler=yes
4897
 
 
4898
 
fi
4899
 
 
4900
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4901
 
 
4902
 
  { echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
4903
 
echo "${ECHO_T}$kde_bad_compiler" >&6; }
4904
 
 
4905
 
if test "$kde_bad_compiler" = "yes"; then
4906
 
  { { echo "$as_me:$LINENO: error:
4907
 
 
4908
 
This particular compiler version is blacklisted because it
4909
 
is known to miscompile KDE. Please use a newer version, or
4910
 
if that is not yet available, choose an older version.
4911
 
 
4912
 
Please do not report a bug or bother us reporting this
4913
 
configure error. We know about it, and we introduced
4914
 
it by intention to avoid untraceable bugs or crashes in KDE.
4915
 
 
4916
 
" >&5
4917
 
echo "$as_me: error:
4918
 
 
4919
 
This particular compiler version is blacklisted because it
4920
 
is known to miscompile KDE. Please use a newer version, or
4921
 
if that is not yet available, choose an older version.
4922
 
 
4923
 
Please do not report a bug or bother us reporting this
4924
 
configure error. We know about it, and we introduced
4925
 
it by intention to avoid untraceable bugs or crashes in KDE.
4926
 
 
4927
 
" >&2;}
4928
 
   { (exit 1); exit 1; }; }
4929
 
fi
4930
 
 
4931
 
 
4932
 
 
4933
 
  if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
4934
 
    if test "$kde_use_debug_code" != "no"; then
4935
 
      if test "$CXX" = "KCC"; then
4936
 
        CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
4937
 
      else
4938
 
        if test "$kde_use_debug_code" = "full"; then
4939
 
          CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
4940
 
        else
4941
 
          CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
4942
 
        fi
4943
 
      fi
4944
 
 
4945
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4946
 
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6; }
4947
 
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4948
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4949
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4950
 
else
4951
 
 
4952
 
 
4953
 
 
4954
 
ac_ext=cpp
4955
 
ac_cpp='$CXXCPP $CPPFLAGS'
4956
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4957
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4958
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4959
 
 
4960
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4961
 
 
4962
 
 
4963
 
 
4964
 
  save_CXXFLAGS="$CXXFLAGS"
4965
 
  CXXFLAGS="$CXXFLAGS -fno-builtin"
4966
 
  cat >conftest.$ac_ext <<_ACEOF
4967
 
/* confdefs.h.  */
4968
 
_ACEOF
4969
 
cat confdefs.h >>conftest.$ac_ext
4970
 
cat >>conftest.$ac_ext <<_ACEOF
4971
 
/* end confdefs.h.  */
4972
 
 
4973
 
int
4974
 
main ()
4975
 
{
4976
 
 return 0;
4977
 
  ;
4978
 
  return 0;
4979
 
}
4980
 
_ACEOF
4981
 
rm -f conftest.$ac_objext conftest$ac_exeext
4982
 
if { (ac_try="$ac_link"
4983
 
case "(($ac_try" in
4984
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4985
 
  *) ac_try_echo=$ac_try;;
4986
 
esac
4987
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4988
 
  (eval "$ac_link") 2>conftest.er1
4989
 
  ac_status=$?
4990
 
  grep -v '^ *+' conftest.er1 >conftest.err
4991
 
  rm -f conftest.er1
4992
 
  cat conftest.err >&5
4993
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994
 
  (exit $ac_status); } && {
4995
 
         test -z "$ac_cxx_werror_flag" ||
4996
 
         test ! -s conftest.err
4997
 
       } && test -s conftest$ac_exeext &&
4998
 
       $as_test_x conftest$ac_exeext; then
4999
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5000
 
else
5001
 
  echo "$as_me: failed program was:" >&5
5002
 
sed 's/^/| /' conftest.$ac_ext >&5
5003
 
 
5004
 
 
5005
 
fi
5006
 
 
5007
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5008
 
      conftest$ac_exeext conftest.$ac_ext
5009
 
  CXXFLAGS="$save_CXXFLAGS"
5010
 
  ac_ext=c
5011
 
ac_cpp='$CPP $CPPFLAGS'
5012
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5014
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5015
 
 
5016
 
 
5017
 
fi
5018
 
 
5019
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5020
 
 { echo "$as_me:$LINENO: result: yes" >&5
5021
 
echo "${ECHO_T}yes" >&6; }
5022
 
 :
5023
 
 CXXFLAGS="-fno-builtin $CXXFLAGS"
5024
 
else
5025
 
 { echo "$as_me:$LINENO: result: no" >&5
5026
 
echo "${ECHO_T}no" >&6; }
5027
 
 :
5028
 
 
5029
 
fi
5030
 
 
5031
 
 
5032
 
 
5033
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
5034
 
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6; }
5035
 
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
5036
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5037
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5038
 
else
5039
 
 
5040
 
 
5041
 
   ac_ext=cpp
5042
 
ac_cpp='$CXXCPP $CPPFLAGS'
5043
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5046
 
 
5047
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5048
 
 
5049
 
 
5050
 
  save_CXXFLAGS="$CXXFLAGS"
5051
 
  CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
5052
 
  cat >conftest.$ac_ext <<_ACEOF
5053
 
/* confdefs.h.  */
5054
 
_ACEOF
5055
 
cat confdefs.h >>conftest.$ac_ext
5056
 
cat >>conftest.$ac_ext <<_ACEOF
5057
 
/* end confdefs.h.  */
5058
 
 
5059
 
int
5060
 
main ()
5061
 
{
5062
 
 return 0;
5063
 
  ;
5064
 
  return 0;
5065
 
}
5066
 
_ACEOF
5067
 
rm -f conftest.$ac_objext conftest$ac_exeext
5068
 
if { (ac_try="$ac_link"
5069
 
case "(($ac_try" in
5070
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5071
 
  *) ac_try_echo=$ac_try;;
5072
 
esac
5073
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5074
 
  (eval "$ac_link") 2>conftest.er1
5075
 
  ac_status=$?
5076
 
  grep -v '^ *+' conftest.er1 >conftest.err
5077
 
  rm -f conftest.er1
5078
 
  cat conftest.err >&5
5079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080
 
  (exit $ac_status); } && {
5081
 
         test -z "$ac_cxx_werror_flag" ||
5082
 
         test ! -s conftest.err
5083
 
       } && test -s conftest$ac_exeext &&
5084
 
       $as_test_x conftest$ac_exeext; then
5085
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5086
 
else
5087
 
  echo "$as_me: failed program was:" >&5
5088
 
sed 's/^/| /' conftest.$ac_ext >&5
5089
 
 
5090
 
 
5091
 
fi
5092
 
 
5093
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5094
 
      conftest$ac_exeext conftest.$ac_ext
5095
 
  CXXFLAGS="$save_CXXFLAGS"
5096
 
  ac_ext=c
5097
 
ac_cpp='$CPP $CPPFLAGS'
5098
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5099
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5100
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5101
 
 
5102
 
 
5103
 
fi
5104
 
 
5105
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5106
 
 { echo "$as_me:$LINENO: result: yes" >&5
5107
 
echo "${ECHO_T}yes" >&6; }
5108
 
 :
5109
 
 WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
5110
 
else
5111
 
 { echo "$as_me:$LINENO: result: no" >&5
5112
 
echo "${ECHO_T}no" >&6; }
5113
 
 :
5114
 
 WOVERLOADED_VRITUAL=""
5115
 
fi
5116
 
 
5117
 
 
5118
 
    else
5119
 
      if test "$CXX" = "KCC"; then
5120
 
        CXXFLAGS="+K3 $CXXFLAGS"
5121
 
      else
5122
 
        CXXFLAGS="-O2 $CXXFLAGS"
5123
 
      fi
5124
 
    fi
5125
 
  fi
5126
 
 
5127
 
  if test "$kde_use_debug_define" = "yes"; then
5128
 
    CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
5129
 
  fi
5130
 
 
5131
 
  if test "$kde_use_profiling" = "yes"; then
5132
 
 
5133
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
5134
 
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6; }
5135
 
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
5136
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5137
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5138
 
else
5139
 
 
5140
 
 
5141
 
   ac_ext=cpp
5142
 
ac_cpp='$CXXCPP $CPPFLAGS'
5143
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5144
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5145
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5146
 
 
5147
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5148
 
 
5149
 
 
5150
 
  save_CXXFLAGS="$CXXFLAGS"
5151
 
  CXXFLAGS="$CXXFLAGS -pg"
5152
 
  cat >conftest.$ac_ext <<_ACEOF
5153
 
/* confdefs.h.  */
5154
 
_ACEOF
5155
 
cat confdefs.h >>conftest.$ac_ext
5156
 
cat >>conftest.$ac_ext <<_ACEOF
5157
 
/* end confdefs.h.  */
5158
 
 
5159
 
int
5160
 
main ()
5161
 
{
5162
 
 return 0;
5163
 
  ;
5164
 
  return 0;
5165
 
}
5166
 
_ACEOF
5167
 
rm -f conftest.$ac_objext conftest$ac_exeext
5168
 
if { (ac_try="$ac_link"
5169
 
case "(($ac_try" in
5170
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5171
 
  *) ac_try_echo=$ac_try;;
5172
 
esac
5173
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5174
 
  (eval "$ac_link") 2>conftest.er1
5175
 
  ac_status=$?
5176
 
  grep -v '^ *+' conftest.er1 >conftest.err
5177
 
  rm -f conftest.er1
5178
 
  cat conftest.err >&5
5179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180
 
  (exit $ac_status); } && {
5181
 
         test -z "$ac_cxx_werror_flag" ||
5182
 
         test ! -s conftest.err
5183
 
       } && test -s conftest$ac_exeext &&
5184
 
       $as_test_x conftest$ac_exeext; then
5185
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5186
 
else
5187
 
  echo "$as_me: failed program was:" >&5
5188
 
sed 's/^/| /' conftest.$ac_ext >&5
5189
 
 
5190
 
 
5191
 
fi
5192
 
 
5193
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5194
 
      conftest$ac_exeext conftest.$ac_ext
5195
 
  CXXFLAGS="$save_CXXFLAGS"
5196
 
  ac_ext=c
5197
 
ac_cpp='$CPP $CPPFLAGS'
5198
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5199
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5200
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5201
 
 
5202
 
 
5203
 
fi
5204
 
 
5205
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5206
 
 { echo "$as_me:$LINENO: result: yes" >&5
5207
 
echo "${ECHO_T}yes" >&6; }
5208
 
 :
5209
 
 
5210
 
      CFLAGS="-pg $CFLAGS"
5211
 
      CXXFLAGS="-pg $CXXFLAGS"
5212
 
 
5213
 
else
5214
 
 { echo "$as_me:$LINENO: result: no" >&5
5215
 
echo "${ECHO_T}no" >&6; }
5216
 
 :
5217
 
 
5218
 
fi
5219
 
 
5220
 
  fi
5221
 
 
5222
 
  if test "$kde_use_warnings" = "yes"; then
5223
 
      if test "$GCC" = "yes"; then
5224
 
        CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
5225
 
        case $host in
5226
 
          *-*-linux-gnu)
5227
 
            CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
5228
 
            CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
5229
 
 
5230
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
5231
 
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5232
 
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5233
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5234
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5235
 
else
5236
 
 
5237
 
 
5238
 
   ac_ext=cpp
5239
 
ac_cpp='$CXXCPP $CPPFLAGS'
5240
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5241
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5242
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5243
 
 
5244
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5245
 
 
5246
 
 
5247
 
  save_CXXFLAGS="$CXXFLAGS"
5248
 
  CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
5249
 
  cat >conftest.$ac_ext <<_ACEOF
5250
 
/* confdefs.h.  */
5251
 
_ACEOF
5252
 
cat confdefs.h >>conftest.$ac_ext
5253
 
cat >>conftest.$ac_ext <<_ACEOF
5254
 
/* end confdefs.h.  */
5255
 
 
5256
 
int
5257
 
main ()
5258
 
{
5259
 
 return 0;
5260
 
  ;
5261
 
  return 0;
5262
 
}
5263
 
_ACEOF
5264
 
rm -f conftest.$ac_objext conftest$ac_exeext
5265
 
if { (ac_try="$ac_link"
5266
 
case "(($ac_try" in
5267
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5268
 
  *) ac_try_echo=$ac_try;;
5269
 
esac
5270
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5271
 
  (eval "$ac_link") 2>conftest.er1
5272
 
  ac_status=$?
5273
 
  grep -v '^ *+' conftest.er1 >conftest.err
5274
 
  rm -f conftest.er1
5275
 
  cat conftest.err >&5
5276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277
 
  (exit $ac_status); } && {
5278
 
         test -z "$ac_cxx_werror_flag" ||
5279
 
         test ! -s conftest.err
5280
 
       } && test -s conftest$ac_exeext &&
5281
 
       $as_test_x conftest$ac_exeext; then
5282
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5283
 
else
5284
 
  echo "$as_me: failed program was:" >&5
5285
 
sed 's/^/| /' conftest.$ac_ext >&5
5286
 
 
5287
 
 
5288
 
fi
5289
 
 
5290
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5291
 
      conftest$ac_exeext conftest.$ac_ext
5292
 
  CXXFLAGS="$save_CXXFLAGS"
5293
 
  ac_ext=c
5294
 
ac_cpp='$CPP $CPPFLAGS'
5295
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5296
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5297
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5298
 
 
5299
 
 
5300
 
fi
5301
 
 
5302
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5303
 
 { echo "$as_me:$LINENO: result: yes" >&5
5304
 
echo "${ECHO_T}yes" >&6; }
5305
 
 :
5306
 
 CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
5307
 
else
5308
 
 { echo "$as_me:$LINENO: result: no" >&5
5309
 
echo "${ECHO_T}no" >&6; }
5310
 
 :
5311
 
 
5312
 
fi
5313
 
 
5314
 
 
5315
 
{ echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
5316
 
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5317
 
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5318
 
if { as_var=kde_cv_prog_cc_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5319
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5320
 
else
5321
 
 
5322
 
 
5323
 
  ac_ext=c
5324
 
ac_cpp='$CPP $CPPFLAGS'
5325
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5326
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5327
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5328
 
 
5329
 
  save_CFLAGS="$CFLAGS"
5330
 
  CFLAGS="$CFLAGS -Wmissing-format-attribute"
5331
 
  cat >conftest.$ac_ext <<_ACEOF
5332
 
/* confdefs.h.  */
5333
 
_ACEOF
5334
 
cat confdefs.h >>conftest.$ac_ext
5335
 
cat >>conftest.$ac_ext <<_ACEOF
5336
 
/* end confdefs.h.  */
5337
 
 
5338
 
int
5339
 
main ()
5340
 
{
5341
 
 return 0;
5342
 
  ;
5343
 
  return 0;
5344
 
}
5345
 
_ACEOF
5346
 
rm -f conftest.$ac_objext conftest$ac_exeext
5347
 
if { (ac_try="$ac_link"
5348
 
case "(($ac_try" in
5349
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5350
 
  *) ac_try_echo=$ac_try;;
5351
 
esac
5352
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5353
 
  (eval "$ac_link") 2>conftest.er1
5354
 
  ac_status=$?
5355
 
  grep -v '^ *+' conftest.er1 >conftest.err
5356
 
  rm -f conftest.er1
5357
 
  cat conftest.err >&5
5358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359
 
  (exit $ac_status); } && {
5360
 
         test -z "$ac_c_werror_flag" ||
5361
 
         test ! -s conftest.err
5362
 
       } && test -s conftest$ac_exeext &&
5363
 
       $as_test_x conftest$ac_exeext; then
5364
 
  eval "kde_cv_prog_cc_$kde_cache=yes"
5365
 
else
5366
 
  echo "$as_me: failed program was:" >&5
5367
 
sed 's/^/| /' conftest.$ac_ext >&5
5368
 
 
5369
 
 
5370
 
fi
5371
 
 
5372
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5373
 
      conftest$ac_exeext conftest.$ac_ext
5374
 
  CFLAGS="$save_CFLAGS"
5375
 
  ac_ext=c
5376
 
ac_cpp='$CPP $CPPFLAGS'
5377
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5378
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5379
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5380
 
 
5381
 
 
5382
 
fi
5383
 
 
5384
 
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
5385
 
 { echo "$as_me:$LINENO: result: yes" >&5
5386
 
echo "${ECHO_T}yes" >&6; }
5387
 
 :
5388
 
 CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
5389
 
else
5390
 
 { echo "$as_me:$LINENO: result: no" >&5
5391
 
echo "${ECHO_T}no" >&6; }
5392
 
 :
5393
 
 
5394
 
fi
5395
 
 
5396
 
          ;;
5397
 
        esac
5398
 
 
5399
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
5400
 
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6; }
5401
 
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
5402
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5403
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5404
 
else
5405
 
 
5406
 
 
5407
 
   ac_ext=cpp
5408
 
ac_cpp='$CXXCPP $CPPFLAGS'
5409
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5410
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5411
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5412
 
 
5413
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5414
 
 
5415
 
 
5416
 
  save_CXXFLAGS="$CXXFLAGS"
5417
 
  CXXFLAGS="$CXXFLAGS -Wundef"
5418
 
  cat >conftest.$ac_ext <<_ACEOF
5419
 
/* confdefs.h.  */
5420
 
_ACEOF
5421
 
cat confdefs.h >>conftest.$ac_ext
5422
 
cat >>conftest.$ac_ext <<_ACEOF
5423
 
/* end confdefs.h.  */
5424
 
 
5425
 
int
5426
 
main ()
5427
 
{
5428
 
 return 0;
5429
 
  ;
5430
 
  return 0;
5431
 
}
5432
 
_ACEOF
5433
 
rm -f conftest.$ac_objext conftest$ac_exeext
5434
 
if { (ac_try="$ac_link"
5435
 
case "(($ac_try" in
5436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5437
 
  *) ac_try_echo=$ac_try;;
5438
 
esac
5439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5440
 
  (eval "$ac_link") 2>conftest.er1
5441
 
  ac_status=$?
5442
 
  grep -v '^ *+' conftest.er1 >conftest.err
5443
 
  rm -f conftest.er1
5444
 
  cat conftest.err >&5
5445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446
 
  (exit $ac_status); } && {
5447
 
         test -z "$ac_cxx_werror_flag" ||
5448
 
         test ! -s conftest.err
5449
 
       } && test -s conftest$ac_exeext &&
5450
 
       $as_test_x conftest$ac_exeext; then
5451
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5452
 
else
5453
 
  echo "$as_me: failed program was:" >&5
5454
 
sed 's/^/| /' conftest.$ac_ext >&5
5455
 
 
5456
 
 
5457
 
fi
5458
 
 
5459
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5460
 
      conftest$ac_exeext conftest.$ac_ext
5461
 
  CXXFLAGS="$save_CXXFLAGS"
5462
 
  ac_ext=c
5463
 
ac_cpp='$CPP $CPPFLAGS'
5464
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5465
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5466
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5467
 
 
5468
 
 
5469
 
fi
5470
 
 
5471
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5472
 
 { echo "$as_me:$LINENO: result: yes" >&5
5473
 
echo "${ECHO_T}yes" >&6; }
5474
 
 :
5475
 
 CXXFLAGS="-Wundef $CXXFLAGS"
5476
 
else
5477
 
 { echo "$as_me:$LINENO: result: no" >&5
5478
 
echo "${ECHO_T}no" >&6; }
5479
 
 :
5480
 
 
5481
 
fi
5482
 
 
5483
 
 
5484
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
5485
 
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6; }
5486
 
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
5487
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5488
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5489
 
else
5490
 
 
5491
 
 
5492
 
   ac_ext=cpp
5493
 
ac_cpp='$CXXCPP $CPPFLAGS'
5494
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5495
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5496
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5497
 
 
5498
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5499
 
 
5500
 
 
5501
 
  save_CXXFLAGS="$CXXFLAGS"
5502
 
  CXXFLAGS="$CXXFLAGS -Wno-long-long"
5503
 
  cat >conftest.$ac_ext <<_ACEOF
5504
 
/* confdefs.h.  */
5505
 
_ACEOF
5506
 
cat confdefs.h >>conftest.$ac_ext
5507
 
cat >>conftest.$ac_ext <<_ACEOF
5508
 
/* end confdefs.h.  */
5509
 
 
5510
 
int
5511
 
main ()
5512
 
{
5513
 
 return 0;
5514
 
  ;
5515
 
  return 0;
5516
 
}
5517
 
_ACEOF
5518
 
rm -f conftest.$ac_objext conftest$ac_exeext
5519
 
if { (ac_try="$ac_link"
5520
 
case "(($ac_try" in
5521
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5522
 
  *) ac_try_echo=$ac_try;;
5523
 
esac
5524
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5525
 
  (eval "$ac_link") 2>conftest.er1
5526
 
  ac_status=$?
5527
 
  grep -v '^ *+' conftest.er1 >conftest.err
5528
 
  rm -f conftest.er1
5529
 
  cat conftest.err >&5
5530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531
 
  (exit $ac_status); } && {
5532
 
         test -z "$ac_cxx_werror_flag" ||
5533
 
         test ! -s conftest.err
5534
 
       } && test -s conftest$ac_exeext &&
5535
 
       $as_test_x conftest$ac_exeext; then
5536
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5537
 
else
5538
 
  echo "$as_me: failed program was:" >&5
5539
 
sed 's/^/| /' conftest.$ac_ext >&5
5540
 
 
5541
 
 
5542
 
fi
5543
 
 
5544
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5545
 
      conftest$ac_exeext conftest.$ac_ext
5546
 
  CXXFLAGS="$save_CXXFLAGS"
5547
 
  ac_ext=c
5548
 
ac_cpp='$CPP $CPPFLAGS'
5549
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5550
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5551
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5552
 
 
5553
 
 
5554
 
fi
5555
 
 
5556
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5557
 
 { echo "$as_me:$LINENO: result: yes" >&5
5558
 
echo "${ECHO_T}yes" >&6; }
5559
 
 :
5560
 
 CXXFLAGS="-Wno-long-long $CXXFLAGS"
5561
 
else
5562
 
 { echo "$as_me:$LINENO: result: no" >&5
5563
 
echo "${ECHO_T}no" >&6; }
5564
 
 :
5565
 
 
5566
 
fi
5567
 
 
5568
 
 
5569
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
5570
 
echo $ECHO_N "checking whether $CXX supports -Wno-non-virtual-dtor... $ECHO_C" >&6; }
5571
 
kde_cache=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
5572
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5573
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5574
 
else
5575
 
 
5576
 
 
5577
 
   ac_ext=cpp
5578
 
ac_cpp='$CXXCPP $CPPFLAGS'
5579
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5580
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5581
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5582
 
 
5583
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5584
 
 
5585
 
 
5586
 
  save_CXXFLAGS="$CXXFLAGS"
5587
 
  CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5588
 
  cat >conftest.$ac_ext <<_ACEOF
5589
 
/* confdefs.h.  */
5590
 
_ACEOF
5591
 
cat confdefs.h >>conftest.$ac_ext
5592
 
cat >>conftest.$ac_ext <<_ACEOF
5593
 
/* end confdefs.h.  */
5594
 
 
5595
 
int
5596
 
main ()
5597
 
{
5598
 
 return 0;
5599
 
  ;
5600
 
  return 0;
5601
 
}
5602
 
_ACEOF
5603
 
rm -f conftest.$ac_objext conftest$ac_exeext
5604
 
if { (ac_try="$ac_link"
5605
 
case "(($ac_try" in
5606
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5607
 
  *) ac_try_echo=$ac_try;;
5608
 
esac
5609
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5610
 
  (eval "$ac_link") 2>conftest.er1
5611
 
  ac_status=$?
5612
 
  grep -v '^ *+' conftest.er1 >conftest.err
5613
 
  rm -f conftest.er1
5614
 
  cat conftest.err >&5
5615
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616
 
  (exit $ac_status); } && {
5617
 
         test -z "$ac_cxx_werror_flag" ||
5618
 
         test ! -s conftest.err
5619
 
       } && test -s conftest$ac_exeext &&
5620
 
       $as_test_x conftest$ac_exeext; then
5621
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5622
 
else
5623
 
  echo "$as_me: failed program was:" >&5
5624
 
sed 's/^/| /' conftest.$ac_ext >&5
5625
 
 
5626
 
 
5627
 
fi
5628
 
 
5629
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5630
 
      conftest$ac_exeext conftest.$ac_ext
5631
 
  CXXFLAGS="$save_CXXFLAGS"
5632
 
  ac_ext=c
5633
 
ac_cpp='$CPP $CPPFLAGS'
5634
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5635
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5636
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5637
 
 
5638
 
 
5639
 
fi
5640
 
 
5641
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5642
 
 { echo "$as_me:$LINENO: result: yes" >&5
5643
 
echo "${ECHO_T}yes" >&6; }
5644
 
 :
5645
 
 CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5646
 
else
5647
 
 { echo "$as_me:$LINENO: result: no" >&5
5648
 
echo "${ECHO_T}no" >&6; }
5649
 
 :
5650
 
 
5651
 
fi
5652
 
 
5653
 
     fi
5654
 
  fi
5655
 
 
5656
 
  if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
5657
 
    CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
5658
 
  fi
5659
 
 
5660
 
  # Check whether --enable-pch was given.
5661
 
if test "${enable_pch+set}" = set; then
5662
 
  enableval=$enable_pch;  kde_use_pch=$enableval
5663
 
else
5664
 
   kde_use_pch=no
5665
 
fi
5666
 
 
5667
 
 
5668
 
  HAVE_GCC_VISIBILITY=0
5669
 
 
5670
 
 
5671
 
  if test "$GXX" = "yes"; then
5672
 
    gcc_no_reorder_blocks=NO
5673
 
 
5674
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-reorder-blocks" >&5
5675
 
echo $ECHO_N "checking whether $CXX supports -fno-reorder-blocks... $ECHO_C" >&6; }
5676
 
kde_cache=`echo fno-reorder-blocks | sed 'y% .=/+-,%____p__%'`
5677
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5678
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5679
 
else
5680
 
 
5681
 
 
5682
 
   ac_ext=cpp
5683
 
ac_cpp='$CXXCPP $CPPFLAGS'
5684
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5685
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5686
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5687
 
 
5688
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5689
 
 
5690
 
 
5691
 
  save_CXXFLAGS="$CXXFLAGS"
5692
 
  CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5693
 
  cat >conftest.$ac_ext <<_ACEOF
5694
 
/* confdefs.h.  */
5695
 
_ACEOF
5696
 
cat confdefs.h >>conftest.$ac_ext
5697
 
cat >>conftest.$ac_ext <<_ACEOF
5698
 
/* end confdefs.h.  */
5699
 
 
5700
 
int
5701
 
main ()
5702
 
{
5703
 
 return 0;
5704
 
  ;
5705
 
  return 0;
5706
 
}
5707
 
_ACEOF
5708
 
rm -f conftest.$ac_objext conftest$ac_exeext
5709
 
if { (ac_try="$ac_link"
5710
 
case "(($ac_try" in
5711
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5712
 
  *) ac_try_echo=$ac_try;;
5713
 
esac
5714
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5715
 
  (eval "$ac_link") 2>conftest.er1
5716
 
  ac_status=$?
5717
 
  grep -v '^ *+' conftest.er1 >conftest.err
5718
 
  rm -f conftest.er1
5719
 
  cat conftest.err >&5
5720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721
 
  (exit $ac_status); } && {
5722
 
         test -z "$ac_cxx_werror_flag" ||
5723
 
         test ! -s conftest.err
5724
 
       } && test -s conftest$ac_exeext &&
5725
 
       $as_test_x conftest$ac_exeext; then
5726
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5727
 
else
5728
 
  echo "$as_me: failed program was:" >&5
5729
 
sed 's/^/| /' conftest.$ac_ext >&5
5730
 
 
5731
 
 
5732
 
fi
5733
 
 
5734
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5735
 
      conftest$ac_exeext conftest.$ac_ext
5736
 
  CXXFLAGS="$save_CXXFLAGS"
5737
 
  ac_ext=c
5738
 
ac_cpp='$CPP $CPPFLAGS'
5739
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5740
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5741
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5742
 
 
5743
 
 
5744
 
fi
5745
 
 
5746
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5747
 
 { echo "$as_me:$LINENO: result: yes" >&5
5748
 
echo "${ECHO_T}yes" >&6; }
5749
 
 :
5750
 
 gcc_no_reorder_blocks=YES
5751
 
else
5752
 
 { echo "$as_me:$LINENO: result: no" >&5
5753
 
echo "${ECHO_T}no" >&6; }
5754
 
 :
5755
 
 
5756
 
fi
5757
 
 
5758
 
    if test $kde_use_debug_code != "no" && \
5759
 
       test $kde_use_debug_code != "full" && \
5760
 
       test "YES" = "$gcc_no_reorder_blocks" ; then
5761
 
          CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5762
 
          CFLAGS="$CFLAGS -fno-reorder-blocks"
5763
 
    fi
5764
 
 
5765
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
5766
 
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6; }
5767
 
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
5768
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5769
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5770
 
else
5771
 
 
5772
 
 
5773
 
   ac_ext=cpp
5774
 
ac_cpp='$CXXCPP $CPPFLAGS'
5775
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5776
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5777
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5778
 
 
5779
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5780
 
 
5781
 
 
5782
 
  save_CXXFLAGS="$CXXFLAGS"
5783
 
  CXXFLAGS="$CXXFLAGS -fno-exceptions"
5784
 
  cat >conftest.$ac_ext <<_ACEOF
5785
 
/* confdefs.h.  */
5786
 
_ACEOF
5787
 
cat confdefs.h >>conftest.$ac_ext
5788
 
cat >>conftest.$ac_ext <<_ACEOF
5789
 
/* end confdefs.h.  */
5790
 
 
5791
 
int
5792
 
main ()
5793
 
{
5794
 
 return 0;
5795
 
  ;
5796
 
  return 0;
5797
 
}
5798
 
_ACEOF
5799
 
rm -f conftest.$ac_objext conftest$ac_exeext
5800
 
if { (ac_try="$ac_link"
5801
 
case "(($ac_try" in
5802
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5803
 
  *) ac_try_echo=$ac_try;;
5804
 
esac
5805
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5806
 
  (eval "$ac_link") 2>conftest.er1
5807
 
  ac_status=$?
5808
 
  grep -v '^ *+' conftest.er1 >conftest.err
5809
 
  rm -f conftest.er1
5810
 
  cat conftest.err >&5
5811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812
 
  (exit $ac_status); } && {
5813
 
         test -z "$ac_cxx_werror_flag" ||
5814
 
         test ! -s conftest.err
5815
 
       } && test -s conftest$ac_exeext &&
5816
 
       $as_test_x conftest$ac_exeext; then
5817
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5818
 
else
5819
 
  echo "$as_me: failed program was:" >&5
5820
 
sed 's/^/| /' conftest.$ac_ext >&5
5821
 
 
5822
 
 
5823
 
fi
5824
 
 
5825
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5826
 
      conftest$ac_exeext conftest.$ac_ext
5827
 
  CXXFLAGS="$save_CXXFLAGS"
5828
 
  ac_ext=c
5829
 
ac_cpp='$CPP $CPPFLAGS'
5830
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5831
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5832
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5833
 
 
5834
 
 
5835
 
fi
5836
 
 
5837
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5838
 
 { echo "$as_me:$LINENO: result: yes" >&5
5839
 
echo "${ECHO_T}yes" >&6; }
5840
 
 :
5841
 
 CXXFLAGS="$CXXFLAGS -fno-exceptions"
5842
 
else
5843
 
 { echo "$as_me:$LINENO: result: no" >&5
5844
 
echo "${ECHO_T}no" >&6; }
5845
 
 :
5846
 
 
5847
 
fi
5848
 
 
5849
 
 
5850
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5851
 
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6; }
5852
 
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5853
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5854
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5855
 
else
5856
 
 
5857
 
 
5858
 
   ac_ext=cpp
5859
 
ac_cpp='$CXXCPP $CPPFLAGS'
5860
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5861
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5862
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5863
 
 
5864
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5865
 
 
5866
 
 
5867
 
  save_CXXFLAGS="$CXXFLAGS"
5868
 
  CXXFLAGS="$CXXFLAGS -fno-check-new"
5869
 
  cat >conftest.$ac_ext <<_ACEOF
5870
 
/* confdefs.h.  */
5871
 
_ACEOF
5872
 
cat confdefs.h >>conftest.$ac_ext
5873
 
cat >>conftest.$ac_ext <<_ACEOF
5874
 
/* end confdefs.h.  */
5875
 
 
5876
 
int
5877
 
main ()
5878
 
{
5879
 
 return 0;
5880
 
  ;
5881
 
  return 0;
5882
 
}
5883
 
_ACEOF
5884
 
rm -f conftest.$ac_objext conftest$ac_exeext
5885
 
if { (ac_try="$ac_link"
5886
 
case "(($ac_try" in
5887
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5888
 
  *) ac_try_echo=$ac_try;;
5889
 
esac
5890
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5891
 
  (eval "$ac_link") 2>conftest.er1
5892
 
  ac_status=$?
5893
 
  grep -v '^ *+' conftest.er1 >conftest.err
5894
 
  rm -f conftest.er1
5895
 
  cat conftest.err >&5
5896
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897
 
  (exit $ac_status); } && {
5898
 
         test -z "$ac_cxx_werror_flag" ||
5899
 
         test ! -s conftest.err
5900
 
       } && test -s conftest$ac_exeext &&
5901
 
       $as_test_x conftest$ac_exeext; then
5902
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5903
 
else
5904
 
  echo "$as_me: failed program was:" >&5
5905
 
sed 's/^/| /' conftest.$ac_ext >&5
5906
 
 
5907
 
 
5908
 
fi
5909
 
 
5910
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5911
 
      conftest$ac_exeext conftest.$ac_ext
5912
 
  CXXFLAGS="$save_CXXFLAGS"
5913
 
  ac_ext=c
5914
 
ac_cpp='$CPP $CPPFLAGS'
5915
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5916
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5917
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5918
 
 
5919
 
 
5920
 
fi
5921
 
 
5922
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5923
 
 { echo "$as_me:$LINENO: result: yes" >&5
5924
 
echo "${ECHO_T}yes" >&6; }
5925
 
 :
5926
 
 CXXFLAGS="$CXXFLAGS -fno-check-new"
5927
 
else
5928
 
 { echo "$as_me:$LINENO: result: no" >&5
5929
 
echo "${ECHO_T}no" >&6; }
5930
 
 :
5931
 
 
5932
 
fi
5933
 
 
5934
 
 
5935
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5936
 
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6; }
5937
 
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5938
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5939
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5940
 
else
5941
 
 
5942
 
 
5943
 
   ac_ext=cpp
5944
 
ac_cpp='$CXXCPP $CPPFLAGS'
5945
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5946
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5947
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5948
 
 
5949
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5950
 
 
5951
 
 
5952
 
  save_CXXFLAGS="$CXXFLAGS"
5953
 
  CXXFLAGS="$CXXFLAGS -fno-common"
5954
 
  cat >conftest.$ac_ext <<_ACEOF
5955
 
/* confdefs.h.  */
5956
 
_ACEOF
5957
 
cat confdefs.h >>conftest.$ac_ext
5958
 
cat >>conftest.$ac_ext <<_ACEOF
5959
 
/* end confdefs.h.  */
5960
 
 
5961
 
int
5962
 
main ()
5963
 
{
5964
 
 return 0;
5965
 
  ;
5966
 
  return 0;
5967
 
}
5968
 
_ACEOF
5969
 
rm -f conftest.$ac_objext conftest$ac_exeext
5970
 
if { (ac_try="$ac_link"
5971
 
case "(($ac_try" in
5972
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5973
 
  *) ac_try_echo=$ac_try;;
5974
 
esac
5975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5976
 
  (eval "$ac_link") 2>conftest.er1
5977
 
  ac_status=$?
5978
 
  grep -v '^ *+' conftest.er1 >conftest.err
5979
 
  rm -f conftest.er1
5980
 
  cat conftest.err >&5
5981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982
 
  (exit $ac_status); } && {
5983
 
         test -z "$ac_cxx_werror_flag" ||
5984
 
         test ! -s conftest.err
5985
 
       } && test -s conftest$ac_exeext &&
5986
 
       $as_test_x conftest$ac_exeext; then
5987
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5988
 
else
5989
 
  echo "$as_me: failed program was:" >&5
5990
 
sed 's/^/| /' conftest.$ac_ext >&5
5991
 
 
5992
 
 
5993
 
fi
5994
 
 
5995
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5996
 
      conftest$ac_exeext conftest.$ac_ext
5997
 
  CXXFLAGS="$save_CXXFLAGS"
5998
 
  ac_ext=c
5999
 
ac_cpp='$CPP $CPPFLAGS'
6000
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6001
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6002
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6003
 
 
6004
 
 
6005
 
fi
6006
 
 
6007
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6008
 
 { echo "$as_me:$LINENO: result: yes" >&5
6009
 
echo "${ECHO_T}yes" >&6; }
6010
 
 :
6011
 
 CXXFLAGS="$CXXFLAGS -fno-common"
6012
 
else
6013
 
 { echo "$as_me:$LINENO: result: no" >&5
6014
 
echo "${ECHO_T}no" >&6; }
6015
 
 :
6016
 
 
6017
 
fi
6018
 
 
6019
 
 
6020
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
6021
 
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6; }
6022
 
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
6023
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6024
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6025
 
else
6026
 
 
6027
 
 
6028
 
   ac_ext=cpp
6029
 
ac_cpp='$CXXCPP $CPPFLAGS'
6030
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6031
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6032
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6033
 
 
6034
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6035
 
 
6036
 
 
6037
 
  save_CXXFLAGS="$CXXFLAGS"
6038
 
  CXXFLAGS="$CXXFLAGS -fexceptions"
6039
 
  cat >conftest.$ac_ext <<_ACEOF
6040
 
/* confdefs.h.  */
6041
 
_ACEOF
6042
 
cat confdefs.h >>conftest.$ac_ext
6043
 
cat >>conftest.$ac_ext <<_ACEOF
6044
 
/* end confdefs.h.  */
6045
 
 
6046
 
int
6047
 
main ()
6048
 
{
6049
 
 return 0;
6050
 
  ;
6051
 
  return 0;
6052
 
}
6053
 
_ACEOF
6054
 
rm -f conftest.$ac_objext conftest$ac_exeext
6055
 
if { (ac_try="$ac_link"
6056
 
case "(($ac_try" in
6057
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6058
 
  *) ac_try_echo=$ac_try;;
6059
 
esac
6060
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6061
 
  (eval "$ac_link") 2>conftest.er1
6062
 
  ac_status=$?
6063
 
  grep -v '^ *+' conftest.er1 >conftest.err
6064
 
  rm -f conftest.er1
6065
 
  cat conftest.err >&5
6066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067
 
  (exit $ac_status); } && {
6068
 
         test -z "$ac_cxx_werror_flag" ||
6069
 
         test ! -s conftest.err
6070
 
       } && test -s conftest$ac_exeext &&
6071
 
       $as_test_x conftest$ac_exeext; then
6072
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6073
 
else
6074
 
  echo "$as_me: failed program was:" >&5
6075
 
sed 's/^/| /' conftest.$ac_ext >&5
6076
 
 
6077
 
 
6078
 
fi
6079
 
 
6080
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6081
 
      conftest$ac_exeext conftest.$ac_ext
6082
 
  CXXFLAGS="$save_CXXFLAGS"
6083
 
  ac_ext=c
6084
 
ac_cpp='$CPP $CPPFLAGS'
6085
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6086
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6087
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6088
 
 
6089
 
 
6090
 
fi
6091
 
 
6092
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6093
 
 { echo "$as_me:$LINENO: result: yes" >&5
6094
 
echo "${ECHO_T}yes" >&6; }
6095
 
 :
6096
 
 USE_EXCEPTIONS="-fexceptions"
6097
 
else
6098
 
 { echo "$as_me:$LINENO: result: no" >&5
6099
 
echo "${ECHO_T}no" >&6; }
6100
 
 :
6101
 
 USE_EXCEPTIONS=
6102
 
fi
6103
 
 
6104
 
    ENABLE_PERMISSIVE_FLAG="-fpermissive"
6105
 
 
6106
 
    if test "$kde_use_pch" = "yes"; then
6107
 
        { echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
6108
 
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6; }
6109
 
        echo >conftest.h
6110
 
        if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
6111
 
            kde_gcc_supports_pch=yes
6112
 
            { echo "$as_me:$LINENO: result: yes" >&5
6113
 
echo "${ECHO_T}yes" >&6; }
6114
 
        else
6115
 
            kde_gcc_supports_pch=no
6116
 
            { echo "$as_me:$LINENO: result: no" >&5
6117
 
echo "${ECHO_T}no" >&6; }
6118
 
        fi
6119
 
        if test "$kde_gcc_supports_pch" = "yes"; then
6120
 
            { echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
6121
 
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6; }
6122
 
            if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
6123
 
                kde_gcc_supports_pch=yes
6124
 
                { echo "$as_me:$LINENO: result: yes" >&5
6125
 
echo "${ECHO_T}yes" >&6; }
6126
 
            else
6127
 
                kde_gcc_supports_pch=no
6128
 
                { echo "$as_me:$LINENO: result: no" >&5
6129
 
echo "${ECHO_T}no" >&6; }
6130
 
            fi
6131
 
        fi
6132
 
        rm -f conftest.h conftest.h.gch
6133
 
    fi
6134
 
 
6135
 
 
6136
 
  { echo "$as_me:$LINENO: checking whether system headers can cope with -O2 -fno-inline" >&5
6137
 
echo $ECHO_N "checking whether system headers can cope with -O2 -fno-inline... $ECHO_C" >&6; }
6138
 
if test "${kde_cv_opt_noinline_match+set}" = set; then
6139
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6140
 
else
6141
 
 
6142
 
  kde_cv_opt_noinline_match=irrelevant
6143
 
    if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
6144
 
     && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
6145
 
 
6146
 
    ac_cflags_save="$CFLAGS"
6147
 
    CFLAGS="$CFLAGS -D_USE_GNU"
6148
 
 
6149
 
    cat >conftest.$ac_ext <<_ACEOF
6150
 
/* confdefs.h.  */
6151
 
_ACEOF
6152
 
cat confdefs.h >>conftest.$ac_ext
6153
 
cat >>conftest.$ac_ext <<_ACEOF
6154
 
/* end confdefs.h.  */
6155
 
 
6156
 
  #include <string.h>
6157
 
 
6158
 
int
6159
 
main ()
6160
 
{
6161
 
  const char *pt, *et;
6162
 
  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 ,  ";,"  )); }) ;
6163
 
 
6164
 
  ;
6165
 
  return 0;
6166
 
}
6167
 
_ACEOF
6168
 
rm -f conftest.$ac_objext conftest$ac_exeext
6169
 
if { (ac_try="$ac_link"
6170
 
case "(($ac_try" in
6171
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6172
 
  *) ac_try_echo=$ac_try;;
6173
 
esac
6174
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6175
 
  (eval "$ac_link") 2>conftest.er1
6176
 
  ac_status=$?
6177
 
  grep -v '^ *+' conftest.er1 >conftest.err
6178
 
  rm -f conftest.er1
6179
 
  cat conftest.err >&5
6180
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181
 
  (exit $ac_status); } && {
6182
 
         test -z "$ac_c_werror_flag" ||
6183
 
         test ! -s conftest.err
6184
 
       } && test -s conftest$ac_exeext &&
6185
 
       $as_test_x conftest$ac_exeext; then
6186
 
  kde_cv_opt_noinline_match=yes
6187
 
else
6188
 
  echo "$as_me: failed program was:" >&5
6189
 
sed 's/^/| /' conftest.$ac_ext >&5
6190
 
 
6191
 
        kde_cv_opt_noinline_match=no
6192
 
 
6193
 
fi
6194
 
 
6195
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6196
 
      conftest$ac_exeext conftest.$ac_ext
6197
 
 
6198
 
    CFLAGS="$ac_cflags_save"
6199
 
  fi
6200
 
 
6201
 
fi
6202
 
{ echo "$as_me:$LINENO: result: $kde_cv_opt_noinline_match" >&5
6203
 
echo "${ECHO_T}$kde_cv_opt_noinline_match" >&6; }
6204
 
 
6205
 
    if test "x$kde_cv_opt_noinline_match" = "xno" ; then
6206
 
       CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
6207
 
    fi
6208
 
  fi
6209
 
 
6210
 
 
6211
 
if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
6212
 
  unsermake_enable_pch_TRUE=
6213
 
  unsermake_enable_pch_FALSE='#'
6214
 
else
6215
 
  unsermake_enable_pch_TRUE='#'
6216
 
  unsermake_enable_pch_FALSE=
6217
 
fi
6218
 
 
6219
 
  if test "$CXX" = "KCC"; then
6220
 
 
6221
 
    if test "$kde_use_pch" = "yes"; then
6222
 
 
6223
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
6224
 
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6; }
6225
 
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
6226
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6227
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6228
 
else
6229
 
 
6230
 
 
6231
 
   ac_ext=cpp
6232
 
ac_cpp='$CXXCPP $CPPFLAGS'
6233
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6234
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6235
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6236
 
 
6237
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6238
 
 
6239
 
 
6240
 
  save_CXXFLAGS="$CXXFLAGS"
6241
 
  CXXFLAGS="$CXXFLAGS --pch"
6242
 
  cat >conftest.$ac_ext <<_ACEOF
6243
 
/* confdefs.h.  */
6244
 
_ACEOF
6245
 
cat confdefs.h >>conftest.$ac_ext
6246
 
cat >>conftest.$ac_ext <<_ACEOF
6247
 
/* end confdefs.h.  */
6248
 
 
6249
 
int
6250
 
main ()
6251
 
{
6252
 
 return 0;
6253
 
  ;
6254
 
  return 0;
6255
 
}
6256
 
_ACEOF
6257
 
rm -f conftest.$ac_objext conftest$ac_exeext
6258
 
if { (ac_try="$ac_link"
6259
 
case "(($ac_try" in
6260
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6261
 
  *) ac_try_echo=$ac_try;;
6262
 
esac
6263
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6264
 
  (eval "$ac_link") 2>conftest.er1
6265
 
  ac_status=$?
6266
 
  grep -v '^ *+' conftest.er1 >conftest.err
6267
 
  rm -f conftest.er1
6268
 
  cat conftest.err >&5
6269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270
 
  (exit $ac_status); } && {
6271
 
         test -z "$ac_cxx_werror_flag" ||
6272
 
         test ! -s conftest.err
6273
 
       } && test -s conftest$ac_exeext &&
6274
 
       $as_test_x conftest$ac_exeext; then
6275
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6276
 
else
6277
 
  echo "$as_me: failed program was:" >&5
6278
 
sed 's/^/| /' conftest.$ac_ext >&5
6279
 
 
6280
 
 
6281
 
fi
6282
 
 
6283
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6284
 
      conftest$ac_exeext conftest.$ac_ext
6285
 
  CXXFLAGS="$save_CXXFLAGS"
6286
 
  ac_ext=c
6287
 
ac_cpp='$CPP $CPPFLAGS'
6288
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6289
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6290
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6291
 
 
6292
 
 
6293
 
fi
6294
 
 
6295
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6296
 
 { echo "$as_me:$LINENO: result: yes" >&5
6297
 
echo "${ECHO_T}yes" >&6; }
6298
 
 :
6299
 
 CXXFLAGS="$CXXFLAGS --pch"
6300
 
else
6301
 
 { echo "$as_me:$LINENO: result: no" >&5
6302
 
echo "${ECHO_T}no" >&6; }
6303
 
 :
6304
 
 
6305
 
fi
6306
 
 
6307
 
                                              fi
6308
 
 
6309
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
6310
 
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6; }
6311
 
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
6312
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6313
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6314
 
else
6315
 
 
6316
 
 
6317
 
   ac_ext=cpp
6318
 
ac_cpp='$CXXCPP $CPPFLAGS'
6319
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6320
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6321
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6322
 
 
6323
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6324
 
 
6325
 
 
6326
 
  save_CXXFLAGS="$CXXFLAGS"
6327
 
  CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6328
 
  cat >conftest.$ac_ext <<_ACEOF
6329
 
/* confdefs.h.  */
6330
 
_ACEOF
6331
 
cat confdefs.h >>conftest.$ac_ext
6332
 
cat >>conftest.$ac_ext <<_ACEOF
6333
 
/* end confdefs.h.  */
6334
 
 
6335
 
int
6336
 
main ()
6337
 
{
6338
 
 return 0;
6339
 
  ;
6340
 
  return 0;
6341
 
}
6342
 
_ACEOF
6343
 
rm -f conftest.$ac_objext conftest$ac_exeext
6344
 
if { (ac_try="$ac_link"
6345
 
case "(($ac_try" in
6346
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6347
 
  *) ac_try_echo=$ac_try;;
6348
 
esac
6349
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6350
 
  (eval "$ac_link") 2>conftest.er1
6351
 
  ac_status=$?
6352
 
  grep -v '^ *+' conftest.er1 >conftest.err
6353
 
  rm -f conftest.er1
6354
 
  cat conftest.err >&5
6355
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356
 
  (exit $ac_status); } && {
6357
 
         test -z "$ac_cxx_werror_flag" ||
6358
 
         test ! -s conftest.err
6359
 
       } && test -s conftest$ac_exeext &&
6360
 
       $as_test_x conftest$ac_exeext; then
6361
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6362
 
else
6363
 
  echo "$as_me: failed program was:" >&5
6364
 
sed 's/^/| /' conftest.$ac_ext >&5
6365
 
 
6366
 
 
6367
 
fi
6368
 
 
6369
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6370
 
      conftest$ac_exeext conftest.$ac_ext
6371
 
  CXXFLAGS="$save_CXXFLAGS"
6372
 
  ac_ext=c
6373
 
ac_cpp='$CPP $CPPFLAGS'
6374
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6375
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6376
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6377
 
 
6378
 
 
6379
 
fi
6380
 
 
6381
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6382
 
 { echo "$as_me:$LINENO: result: yes" >&5
6383
 
echo "${ECHO_T}yes" >&6; }
6384
 
 :
6385
 
 CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6386
 
else
6387
 
 { echo "$as_me:$LINENO: result: no" >&5
6388
 
echo "${ECHO_T}no" >&6; }
6389
 
 :
6390
 
 
6391
 
fi
6392
 
 
6393
 
 
6394
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
6395
 
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6; }
6396
 
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
6397
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6398
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6399
 
else
6400
 
 
6401
 
 
6402
 
   ac_ext=cpp
6403
 
ac_cpp='$CXXCPP $CPPFLAGS'
6404
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6405
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6406
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6407
 
 
6408
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6409
 
 
6410
 
 
6411
 
  save_CXXFLAGS="$CXXFLAGS"
6412
 
  CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6413
 
  cat >conftest.$ac_ext <<_ACEOF
6414
 
/* confdefs.h.  */
6415
 
_ACEOF
6416
 
cat confdefs.h >>conftest.$ac_ext
6417
 
cat >>conftest.$ac_ext <<_ACEOF
6418
 
/* end confdefs.h.  */
6419
 
 
6420
 
int
6421
 
main ()
6422
 
{
6423
 
 return 0;
6424
 
  ;
6425
 
  return 0;
6426
 
}
6427
 
_ACEOF
6428
 
rm -f conftest.$ac_objext conftest$ac_exeext
6429
 
if { (ac_try="$ac_link"
6430
 
case "(($ac_try" in
6431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6432
 
  *) ac_try_echo=$ac_try;;
6433
 
esac
6434
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6435
 
  (eval "$ac_link") 2>conftest.er1
6436
 
  ac_status=$?
6437
 
  grep -v '^ *+' conftest.er1 >conftest.err
6438
 
  rm -f conftest.er1
6439
 
  cat conftest.err >&5
6440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441
 
  (exit $ac_status); } && {
6442
 
         test -z "$ac_cxx_werror_flag" ||
6443
 
         test ! -s conftest.err
6444
 
       } && test -s conftest$ac_exeext &&
6445
 
       $as_test_x conftest$ac_exeext; then
6446
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6447
 
else
6448
 
  echo "$as_me: failed program was:" >&5
6449
 
sed 's/^/| /' conftest.$ac_ext >&5
6450
 
 
6451
 
 
6452
 
fi
6453
 
 
6454
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6455
 
      conftest$ac_exeext conftest.$ac_ext
6456
 
  CXXFLAGS="$save_CXXFLAGS"
6457
 
  ac_ext=c
6458
 
ac_cpp='$CPP $CPPFLAGS'
6459
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6460
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6461
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6462
 
 
6463
 
 
6464
 
fi
6465
 
 
6466
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6467
 
 { echo "$as_me:$LINENO: result: yes" >&5
6468
 
echo "${ECHO_T}yes" >&6; }
6469
 
 :
6470
 
 CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6471
 
else
6472
 
 { echo "$as_me:$LINENO: result: no" >&5
6473
 
echo "${ECHO_T}no" >&6; }
6474
 
 :
6475
 
 
6476
 
fi
6477
 
 
6478
 
 
6479
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
6480
 
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6; }
6481
 
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6482
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6483
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6484
 
else
6485
 
 
6486
 
 
6487
 
   ac_ext=cpp
6488
 
ac_cpp='$CXXCPP $CPPFLAGS'
6489
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6490
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6491
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6492
 
 
6493
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6494
 
 
6495
 
 
6496
 
  save_CXXFLAGS="$CXXFLAGS"
6497
 
  CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6498
 
  cat >conftest.$ac_ext <<_ACEOF
6499
 
/* confdefs.h.  */
6500
 
_ACEOF
6501
 
cat confdefs.h >>conftest.$ac_ext
6502
 
cat >>conftest.$ac_ext <<_ACEOF
6503
 
/* end confdefs.h.  */
6504
 
 
6505
 
int
6506
 
main ()
6507
 
{
6508
 
 return 0;
6509
 
  ;
6510
 
  return 0;
6511
 
}
6512
 
_ACEOF
6513
 
rm -f conftest.$ac_objext conftest$ac_exeext
6514
 
if { (ac_try="$ac_link"
6515
 
case "(($ac_try" in
6516
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6517
 
  *) ac_try_echo=$ac_try;;
6518
 
esac
6519
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6520
 
  (eval "$ac_link") 2>conftest.er1
6521
 
  ac_status=$?
6522
 
  grep -v '^ *+' conftest.er1 >conftest.err
6523
 
  rm -f conftest.er1
6524
 
  cat conftest.err >&5
6525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526
 
  (exit $ac_status); } && {
6527
 
         test -z "$ac_cxx_werror_flag" ||
6528
 
         test ! -s conftest.err
6529
 
       } && test -s conftest$ac_exeext &&
6530
 
       $as_test_x conftest$ac_exeext; then
6531
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6532
 
else
6533
 
  echo "$as_me: failed program was:" >&5
6534
 
sed 's/^/| /' conftest.$ac_ext >&5
6535
 
 
6536
 
 
6537
 
fi
6538
 
 
6539
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6540
 
      conftest$ac_exeext conftest.$ac_ext
6541
 
  CXXFLAGS="$save_CXXFLAGS"
6542
 
  ac_ext=c
6543
 
ac_cpp='$CPP $CPPFLAGS'
6544
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6545
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6546
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6547
 
 
6548
 
 
6549
 
fi
6550
 
 
6551
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6552
 
 { echo "$as_me:$LINENO: result: yes" >&5
6553
 
echo "${ECHO_T}yes" >&6; }
6554
 
 :
6555
 
 CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6556
 
else
6557
 
 { echo "$as_me:$LINENO: result: no" >&5
6558
 
echo "${ECHO_T}no" >&6; }
6559
 
 :
6560
 
 
6561
 
fi
6562
 
 
6563
 
 
6564
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
6565
 
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6; }
6566
 
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6567
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6568
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6569
 
else
6570
 
 
6571
 
 
6572
 
   ac_ext=cpp
6573
 
ac_cpp='$CXXCPP $CPPFLAGS'
6574
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6575
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6576
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6577
 
 
6578
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6579
 
 
6580
 
 
6581
 
  save_CXXFLAGS="$CXXFLAGS"
6582
 
  CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6583
 
  cat >conftest.$ac_ext <<_ACEOF
6584
 
/* confdefs.h.  */
6585
 
_ACEOF
6586
 
cat confdefs.h >>conftest.$ac_ext
6587
 
cat >>conftest.$ac_ext <<_ACEOF
6588
 
/* end confdefs.h.  */
6589
 
 
6590
 
int
6591
 
main ()
6592
 
{
6593
 
 return 0;
6594
 
  ;
6595
 
  return 0;
6596
 
}
6597
 
_ACEOF
6598
 
rm -f conftest.$ac_objext conftest$ac_exeext
6599
 
if { (ac_try="$ac_link"
6600
 
case "(($ac_try" in
6601
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6602
 
  *) ac_try_echo=$ac_try;;
6603
 
esac
6604
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6605
 
  (eval "$ac_link") 2>conftest.er1
6606
 
  ac_status=$?
6607
 
  grep -v '^ *+' conftest.er1 >conftest.err
6608
 
  rm -f conftest.er1
6609
 
  cat conftest.err >&5
6610
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611
 
  (exit $ac_status); } && {
6612
 
         test -z "$ac_cxx_werror_flag" ||
6613
 
         test ! -s conftest.err
6614
 
       } && test -s conftest$ac_exeext &&
6615
 
       $as_test_x conftest$ac_exeext; then
6616
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6617
 
else
6618
 
  echo "$as_me: failed program was:" >&5
6619
 
sed 's/^/| /' conftest.$ac_ext >&5
6620
 
 
6621
 
 
6622
 
fi
6623
 
 
6624
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6625
 
      conftest$ac_exeext conftest.$ac_ext
6626
 
  CXXFLAGS="$save_CXXFLAGS"
6627
 
  ac_ext=c
6628
 
ac_cpp='$CPP $CPPFLAGS'
6629
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6630
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6631
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6632
 
 
6633
 
 
6634
 
fi
6635
 
 
6636
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6637
 
 { echo "$as_me:$LINENO: result: yes" >&5
6638
 
echo "${ECHO_T}yes" >&6; }
6639
 
 :
6640
 
 CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6641
 
else
6642
 
 { echo "$as_me:$LINENO: result: no" >&5
6643
 
echo "${ECHO_T}no" >&6; }
6644
 
 :
6645
 
 
6646
 
fi
6647
 
 
6648
 
 
6649
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
6650
 
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6; }
6651
 
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
6652
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6653
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6654
 
else
6655
 
 
6656
 
 
6657
 
   ac_ext=cpp
6658
 
ac_cpp='$CXXCPP $CPPFLAGS'
6659
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6660
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6661
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6662
 
 
6663
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6664
 
 
6665
 
 
6666
 
  save_CXXFLAGS="$CXXFLAGS"
6667
 
  CXXFLAGS="$CXXFLAGS --one_per"
6668
 
  cat >conftest.$ac_ext <<_ACEOF
6669
 
/* confdefs.h.  */
6670
 
_ACEOF
6671
 
cat confdefs.h >>conftest.$ac_ext
6672
 
cat >>conftest.$ac_ext <<_ACEOF
6673
 
/* end confdefs.h.  */
6674
 
 
6675
 
int
6676
 
main ()
6677
 
{
6678
 
 return 0;
6679
 
  ;
6680
 
  return 0;
6681
 
}
6682
 
_ACEOF
6683
 
rm -f conftest.$ac_objext conftest$ac_exeext
6684
 
if { (ac_try="$ac_link"
6685
 
case "(($ac_try" in
6686
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6687
 
  *) ac_try_echo=$ac_try;;
6688
 
esac
6689
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6690
 
  (eval "$ac_link") 2>conftest.er1
6691
 
  ac_status=$?
6692
 
  grep -v '^ *+' conftest.er1 >conftest.err
6693
 
  rm -f conftest.er1
6694
 
  cat conftest.err >&5
6695
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696
 
  (exit $ac_status); } && {
6697
 
         test -z "$ac_cxx_werror_flag" ||
6698
 
         test ! -s conftest.err
6699
 
       } && test -s conftest$ac_exeext &&
6700
 
       $as_test_x conftest$ac_exeext; then
6701
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6702
 
else
6703
 
  echo "$as_me: failed program was:" >&5
6704
 
sed 's/^/| /' conftest.$ac_ext >&5
6705
 
 
6706
 
 
6707
 
fi
6708
 
 
6709
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6710
 
      conftest$ac_exeext conftest.$ac_ext
6711
 
  CXXFLAGS="$save_CXXFLAGS"
6712
 
  ac_ext=c
6713
 
ac_cpp='$CPP $CPPFLAGS'
6714
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6715
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6716
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6717
 
 
6718
 
 
6719
 
fi
6720
 
 
6721
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6722
 
 { echo "$as_me:$LINENO: result: yes" >&5
6723
 
echo "${ECHO_T}yes" >&6; }
6724
 
 :
6725
 
 CXXFLAGS="$CXXFLAGS --one_per"
6726
 
else
6727
 
 { echo "$as_me:$LINENO: result: no" >&5
6728
 
echo "${ECHO_T}no" >&6; }
6729
 
 :
6730
 
 
6731
 
fi
6732
 
 
6733
 
  fi
6734
 
 
6735
 
    USE_RTTI=
6736
 
 
6737
 
 
6738
 
  case "$host" in
6739
 
      *-*-irix*)  test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
6740
 
      *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
6741
 
      *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
6742
 
      *-*-solaris*)
6743
 
        if test "$GXX" = yes; then
6744
 
          libstdcpp=`$CXX -print-file-name=libstdc++.so`
6745
 
          if test ! -f $libstdcpp; then
6746
 
             { { 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
6747
 
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;}
6748
 
   { (exit 1); exit 1; }; }
6749
 
          fi
6750
 
        fi
6751
 
        ;;
6752
 
  esac
6753
 
 
6754
 
  if test "x$kde_use_qt_emb" != "xyes"; then
6755
 
  __val=$CXX
6756
 
  __forbid=" -fno-rtti -rpath "
6757
 
  if test -n "$__val"; then
6758
 
    __new=""
6759
 
    ac_save_IFS=$IFS
6760
 
    IFS="       "
6761
 
    for i in $__val; do
6762
 
      case "$__forbid" in
6763
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6764
 
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6765
 
        *) # Careful to not add spaces, where there were none, because otherwise
6766
 
           # libtool gets confused, if we change e.g. CXX
6767
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6768
 
      esac
6769
 
    done
6770
 
    IFS=$ac_save_IFS
6771
 
    CXX=$__new
6772
 
  fi
6773
 
 
6774
 
  __val=$CXXFLAGS
6775
 
  __forbid=" -fno-rtti -rpath "
6776
 
  if test -n "$__val"; then
6777
 
    __new=""
6778
 
    ac_save_IFS=$IFS
6779
 
    IFS="       "
6780
 
    for i in $__val; do
6781
 
      case "$__forbid" in
6782
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6783
 
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6784
 
        *) # Careful to not add spaces, where there were none, because otherwise
6785
 
           # libtool gets confused, if we change e.g. CXX
6786
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6787
 
      esac
6788
 
    done
6789
 
    IFS=$ac_save_IFS
6790
 
    CXXFLAGS=$__new
6791
 
  fi
6792
 
 
6793
 
else
6794
 
  __val=$CXX
6795
 
  __forbid=" -rpath "
6796
 
  if test -n "$__val"; then
6797
 
    __new=""
6798
 
    ac_save_IFS=$IFS
6799
 
    IFS="       "
6800
 
    for i in $__val; do
6801
 
      case "$__forbid" in
6802
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6803
 
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6804
 
        *) # Careful to not add spaces, where there were none, because otherwise
6805
 
           # libtool gets confused, if we change e.g. CXX
6806
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6807
 
      esac
6808
 
    done
6809
 
    IFS=$ac_save_IFS
6810
 
    CXX=$__new
6811
 
  fi
6812
 
 
6813
 
  __val=$CXXFLAGS
6814
 
  __forbid=" -rpath "
6815
 
  if test -n "$__val"; then
6816
 
    __new=""
6817
 
    ac_save_IFS=$IFS
6818
 
    IFS="       "
6819
 
    for i in $__val; do
6820
 
      case "$__forbid" in
6821
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6822
 
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6823
 
        *) # Careful to not add spaces, where there were none, because otherwise
6824
 
           # libtool gets confused, if we change e.g. CXX
6825
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6826
 
      esac
6827
 
    done
6828
 
    IFS=$ac_save_IFS
6829
 
    CXXFLAGS=$__new
6830
 
  fi
6831
 
 
6832
 
fi
6833
 
 
6834
 
 
6835
 
  ac_ext=cpp
6836
 
ac_cpp='$CXXCPP $CPPFLAGS'
6837
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6838
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6839
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6840
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6841
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6842
 
if test -z "$CXXCPP"; then
6843
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6844
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6845
 
else
6846
 
      # Double quotes because CXXCPP needs to be expanded
6847
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6848
 
    do
6849
 
      ac_preproc_ok=false
6850
 
for ac_cxx_preproc_warn_flag in '' yes
6851
 
do
6852
 
  # Use a header file that comes with gcc, so configuring glibc
6853
 
  # with a fresh cross-compiler works.
6854
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6855
 
  # <limits.h> exists even on freestanding compilers.
6856
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6857
 
  # not just through cpp. "Syntax error" is here to catch this case.
6858
 
  cat >conftest.$ac_ext <<_ACEOF
6859
 
/* confdefs.h.  */
6860
 
_ACEOF
6861
 
cat confdefs.h >>conftest.$ac_ext
6862
 
cat >>conftest.$ac_ext <<_ACEOF
6863
 
/* end confdefs.h.  */
6864
 
#ifdef __STDC__
6865
 
# include <limits.h>
6866
 
#else
6867
 
# include <assert.h>
6868
 
#endif
6869
 
                     Syntax error
6870
 
_ACEOF
6871
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6872
 
case "(($ac_try" in
6873
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874
 
  *) ac_try_echo=$ac_try;;
6875
 
esac
6876
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6878
 
  ac_status=$?
6879
 
  grep -v '^ *+' conftest.er1 >conftest.err
6880
 
  rm -f conftest.er1
6881
 
  cat conftest.err >&5
6882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883
 
  (exit $ac_status); } >/dev/null && {
6884
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6885
 
         test ! -s conftest.err
6886
 
       }; then
6887
 
  :
6888
 
else
6889
 
  echo "$as_me: failed program was:" >&5
6890
 
sed 's/^/| /' conftest.$ac_ext >&5
6891
 
 
6892
 
  # Broken: fails on valid input.
6893
 
continue
6894
 
fi
6895
 
 
6896
 
rm -f conftest.err conftest.$ac_ext
6897
 
 
6898
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6899
 
  # can be detected and how.
6900
 
  cat >conftest.$ac_ext <<_ACEOF
6901
 
/* confdefs.h.  */
6902
 
_ACEOF
6903
 
cat confdefs.h >>conftest.$ac_ext
6904
 
cat >>conftest.$ac_ext <<_ACEOF
6905
 
/* end confdefs.h.  */
6906
 
#include <ac_nonexistent.h>
6907
 
_ACEOF
6908
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6909
 
case "(($ac_try" in
6910
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6911
 
  *) ac_try_echo=$ac_try;;
6912
 
esac
6913
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6914
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6915
 
  ac_status=$?
6916
 
  grep -v '^ *+' conftest.er1 >conftest.err
6917
 
  rm -f conftest.er1
6918
 
  cat conftest.err >&5
6919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920
 
  (exit $ac_status); } >/dev/null && {
6921
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6922
 
         test ! -s conftest.err
6923
 
       }; then
6924
 
  # Broken: success on invalid input.
6925
 
continue
6926
 
else
6927
 
  echo "$as_me: failed program was:" >&5
6928
 
sed 's/^/| /' conftest.$ac_ext >&5
6929
 
 
6930
 
  # Passes both tests.
6931
 
ac_preproc_ok=:
6932
 
break
6933
 
fi
6934
 
 
6935
 
rm -f conftest.err conftest.$ac_ext
6936
 
 
6937
 
done
6938
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6939
 
rm -f conftest.err conftest.$ac_ext
6940
 
if $ac_preproc_ok; then
6941
 
  break
6942
 
fi
6943
 
 
6944
 
    done
6945
 
    ac_cv_prog_CXXCPP=$CXXCPP
6946
 
 
6947
 
fi
6948
 
  CXXCPP=$ac_cv_prog_CXXCPP
6949
 
else
6950
 
  ac_cv_prog_CXXCPP=$CXXCPP
6951
 
fi
6952
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6953
 
echo "${ECHO_T}$CXXCPP" >&6; }
6954
 
ac_preproc_ok=false
6955
 
for ac_cxx_preproc_warn_flag in '' yes
6956
 
do
6957
 
  # Use a header file that comes with gcc, so configuring glibc
6958
 
  # with a fresh cross-compiler works.
6959
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6960
 
  # <limits.h> exists even on freestanding compilers.
6961
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6962
 
  # not just through cpp. "Syntax error" is here to catch this case.
6963
 
  cat >conftest.$ac_ext <<_ACEOF
6964
 
/* confdefs.h.  */
6965
 
_ACEOF
6966
 
cat confdefs.h >>conftest.$ac_ext
6967
 
cat >>conftest.$ac_ext <<_ACEOF
6968
 
/* end confdefs.h.  */
6969
 
#ifdef __STDC__
6970
 
# include <limits.h>
6971
 
#else
6972
 
# include <assert.h>
6973
 
#endif
6974
 
                     Syntax error
6975
 
_ACEOF
6976
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6977
 
case "(($ac_try" in
6978
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6979
 
  *) ac_try_echo=$ac_try;;
6980
 
esac
6981
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6982
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6983
 
  ac_status=$?
6984
 
  grep -v '^ *+' conftest.er1 >conftest.err
6985
 
  rm -f conftest.er1
6986
 
  cat conftest.err >&5
6987
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988
 
  (exit $ac_status); } >/dev/null && {
6989
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6990
 
         test ! -s conftest.err
6991
 
       }; then
6992
 
  :
6993
 
else
6994
 
  echo "$as_me: failed program was:" >&5
6995
 
sed 's/^/| /' conftest.$ac_ext >&5
6996
 
 
6997
 
  # Broken: fails on valid input.
6998
 
continue
6999
 
fi
7000
 
 
7001
 
rm -f conftest.err conftest.$ac_ext
7002
 
 
7003
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7004
 
  # can be detected and how.
7005
 
  cat >conftest.$ac_ext <<_ACEOF
7006
 
/* confdefs.h.  */
7007
 
_ACEOF
7008
 
cat confdefs.h >>conftest.$ac_ext
7009
 
cat >>conftest.$ac_ext <<_ACEOF
7010
 
/* end confdefs.h.  */
7011
 
#include <ac_nonexistent.h>
7012
 
_ACEOF
7013
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7014
 
case "(($ac_try" in
7015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7016
 
  *) ac_try_echo=$ac_try;;
7017
 
esac
7018
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7019
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7020
 
  ac_status=$?
7021
 
  grep -v '^ *+' conftest.er1 >conftest.err
7022
 
  rm -f conftest.er1
7023
 
  cat conftest.err >&5
7024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025
 
  (exit $ac_status); } >/dev/null && {
7026
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7027
 
         test ! -s conftest.err
7028
 
       }; then
7029
 
  # Broken: success on invalid input.
7030
 
continue
7031
 
else
7032
 
  echo "$as_me: failed program was:" >&5
7033
 
sed 's/^/| /' conftest.$ac_ext >&5
7034
 
 
7035
 
  # Passes both tests.
7036
 
ac_preproc_ok=:
7037
 
break
7038
 
fi
7039
 
 
7040
 
rm -f conftest.err conftest.$ac_ext
7041
 
 
7042
 
done
7043
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7044
 
rm -f conftest.err conftest.$ac_ext
7045
 
if $ac_preproc_ok; then
7046
 
  :
7047
 
else
7048
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7049
 
See \`config.log' for more details." >&5
7050
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7051
 
See \`config.log' for more details." >&2;}
7052
 
   { (exit 1); exit 1; }; }
7053
 
fi
7054
 
 
7055
 
ac_ext=c
7056
 
ac_cpp='$CPP $CPPFLAGS'
7057
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7058
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7059
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7060
 
 
7061
 
 
7062
 
  if test "$GCC" = yes; then
7063
 
     NOOPT_CFLAGS=-O0
7064
 
  fi
7065
 
 
7066
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
7067
 
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6; }
7068
 
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
7069
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7070
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7071
 
else
7072
 
 
7073
 
 
7074
 
   ac_ext=cpp
7075
 
ac_cpp='$CXXCPP $CPPFLAGS'
7076
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7077
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7078
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7079
 
 
7080
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7081
 
 
7082
 
 
7083
 
  save_CXXFLAGS="$CXXFLAGS"
7084
 
  CXXFLAGS="$CXXFLAGS -O0"
7085
 
  cat >conftest.$ac_ext <<_ACEOF
7086
 
/* confdefs.h.  */
7087
 
_ACEOF
7088
 
cat confdefs.h >>conftest.$ac_ext
7089
 
cat >>conftest.$ac_ext <<_ACEOF
7090
 
/* end confdefs.h.  */
7091
 
 
7092
 
int
7093
 
main ()
7094
 
{
7095
 
 return 0;
7096
 
  ;
7097
 
  return 0;
7098
 
}
7099
 
_ACEOF
7100
 
rm -f conftest.$ac_objext conftest$ac_exeext
7101
 
if { (ac_try="$ac_link"
7102
 
case "(($ac_try" in
7103
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7104
 
  *) ac_try_echo=$ac_try;;
7105
 
esac
7106
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7107
 
  (eval "$ac_link") 2>conftest.er1
7108
 
  ac_status=$?
7109
 
  grep -v '^ *+' conftest.er1 >conftest.err
7110
 
  rm -f conftest.er1
7111
 
  cat conftest.err >&5
7112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113
 
  (exit $ac_status); } && {
7114
 
         test -z "$ac_cxx_werror_flag" ||
7115
 
         test ! -s conftest.err
7116
 
       } && test -s conftest$ac_exeext &&
7117
 
       $as_test_x conftest$ac_exeext; then
7118
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7119
 
else
7120
 
  echo "$as_me: failed program was:" >&5
7121
 
sed 's/^/| /' conftest.$ac_ext >&5
7122
 
 
7123
 
 
7124
 
fi
7125
 
 
7126
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7127
 
      conftest$ac_exeext conftest.$ac_ext
7128
 
  CXXFLAGS="$save_CXXFLAGS"
7129
 
  ac_ext=c
7130
 
ac_cpp='$CPP $CPPFLAGS'
7131
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7132
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7133
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7134
 
 
7135
 
 
7136
 
fi
7137
 
 
7138
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7139
 
 { echo "$as_me:$LINENO: result: yes" >&5
7140
 
echo "${ECHO_T}yes" >&6; }
7141
 
 :
7142
 
 NOOPT_CXXFLAGS=-O0
7143
 
else
7144
 
 { echo "$as_me:$LINENO: result: no" >&5
7145
 
echo "${ECHO_T}no" >&6; }
7146
 
 :
7147
 
 
7148
 
fi
7149
 
 
7150
 
 
7151
 
  # Check whether --enable-coverage was given.
7152
 
if test "${enable_coverage+set}" = set; then
7153
 
  enableval=$enable_coverage;
7154
 
      if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
7155
 
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7156
 
        ac_coverage_linker="-lgcc"
7157
 
      elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
7158
 
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7159
 
        ac_coverage_linker=""
7160
 
      else
7161
 
        { { echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
7162
 
echo "$as_me: error: coverage with your compiler is not supported" >&2;}
7163
 
   { (exit 1); exit 1; }; }
7164
 
      fi
7165
 
      CFLAGS="$CFLAGS $ac_coverage_compiler"
7166
 
      CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
7167
 
      LDFLAGS="$LDFLAGS $ac_coverage_linker"
7168
 
 
7169
 
fi
7170
 
 
7171
 
 
7172
 
 
7173
 
 
7174
 
 
7175
 
 
7176
 
 
7177
 
  # Check whether --enable-new_ldflags was given.
7178
 
if test "${enable_new_ldflags+set}" = set; then
7179
 
  enableval=$enable_new_ldflags; kde_use_new_ldflags=$enableval
7180
 
else
7181
 
  kde_use_new_ldflags=no
7182
 
fi
7183
 
 
7184
 
 
7185
 
  LDFLAGS_AS_NEEDED=""
7186
 
  LDFLAGS_NEW_DTAGS=""
7187
 
  if test "x$kde_use_new_ldflags" = "xyes"; then
7188
 
       LDFLAGS_NEW_DTAGS=""
7189
 
 
7190
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
7191
 
echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
7192
 
kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
7193
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7195
 
else
7196
 
 
7197
 
 
7198
 
   ac_ext=cpp
7199
 
ac_cpp='$CXXCPP $CPPFLAGS'
7200
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7201
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7202
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7203
 
 
7204
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7205
 
 
7206
 
 
7207
 
  save_CXXFLAGS="$CXXFLAGS"
7208
 
  CXXFLAGS="$CXXFLAGS -Wl,--enable-new-dtags"
7209
 
  cat >conftest.$ac_ext <<_ACEOF
7210
 
/* confdefs.h.  */
7211
 
_ACEOF
7212
 
cat confdefs.h >>conftest.$ac_ext
7213
 
cat >>conftest.$ac_ext <<_ACEOF
7214
 
/* end confdefs.h.  */
7215
 
 
7216
 
int
7217
 
main ()
7218
 
{
7219
 
 return 0;
7220
 
  ;
7221
 
  return 0;
7222
 
}
7223
 
_ACEOF
7224
 
rm -f conftest.$ac_objext conftest$ac_exeext
7225
 
if { (ac_try="$ac_link"
7226
 
case "(($ac_try" in
7227
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7228
 
  *) ac_try_echo=$ac_try;;
7229
 
esac
7230
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7231
 
  (eval "$ac_link") 2>conftest.er1
7232
 
  ac_status=$?
7233
 
  grep -v '^ *+' conftest.er1 >conftest.err
7234
 
  rm -f conftest.er1
7235
 
  cat conftest.err >&5
7236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237
 
  (exit $ac_status); } && {
7238
 
         test -z "$ac_cxx_werror_flag" ||
7239
 
         test ! -s conftest.err
7240
 
       } && test -s conftest$ac_exeext &&
7241
 
       $as_test_x conftest$ac_exeext; then
7242
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7243
 
else
7244
 
  echo "$as_me: failed program was:" >&5
7245
 
sed 's/^/| /' conftest.$ac_ext >&5
7246
 
 
7247
 
 
7248
 
fi
7249
 
 
7250
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7251
 
      conftest$ac_exeext conftest.$ac_ext
7252
 
  CXXFLAGS="$save_CXXFLAGS"
7253
 
  ac_ext=c
7254
 
ac_cpp='$CPP $CPPFLAGS'
7255
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7256
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7257
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7258
 
 
7259
 
 
7260
 
fi
7261
 
 
7262
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7263
 
 { echo "$as_me:$LINENO: result: yes" >&5
7264
 
echo "${ECHO_T}yes" >&6; }
7265
 
 :
7266
 
 LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
7267
 
else
7268
 
 { echo "$as_me:$LINENO: result: no" >&5
7269
 
echo "${ECHO_T}no" >&6; }
7270
 
 :
7271
 
 
7272
 
fi
7273
 
 
7274
 
 
7275
 
 
7276
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
7277
 
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6; }
7278
 
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
7279
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7280
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7281
 
else
7282
 
 
7283
 
 
7284
 
   ac_ext=cpp
7285
 
ac_cpp='$CXXCPP $CPPFLAGS'
7286
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7287
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7288
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7289
 
 
7290
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7291
 
 
7292
 
 
7293
 
  save_CXXFLAGS="$CXXFLAGS"
7294
 
  CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
7295
 
  cat >conftest.$ac_ext <<_ACEOF
7296
 
/* confdefs.h.  */
7297
 
_ACEOF
7298
 
cat confdefs.h >>conftest.$ac_ext
7299
 
cat >>conftest.$ac_ext <<_ACEOF
7300
 
/* end confdefs.h.  */
7301
 
 
7302
 
int
7303
 
main ()
7304
 
{
7305
 
 return 0;
7306
 
  ;
7307
 
  return 0;
7308
 
}
7309
 
_ACEOF
7310
 
rm -f conftest.$ac_objext conftest$ac_exeext
7311
 
if { (ac_try="$ac_link"
7312
 
case "(($ac_try" in
7313
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7314
 
  *) ac_try_echo=$ac_try;;
7315
 
esac
7316
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7317
 
  (eval "$ac_link") 2>conftest.er1
7318
 
  ac_status=$?
7319
 
  grep -v '^ *+' conftest.er1 >conftest.err
7320
 
  rm -f conftest.er1
7321
 
  cat conftest.err >&5
7322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323
 
  (exit $ac_status); } && {
7324
 
         test -z "$ac_cxx_werror_flag" ||
7325
 
         test ! -s conftest.err
7326
 
       } && test -s conftest$ac_exeext &&
7327
 
       $as_test_x conftest$ac_exeext; then
7328
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7329
 
else
7330
 
  echo "$as_me: failed program was:" >&5
7331
 
sed 's/^/| /' conftest.$ac_ext >&5
7332
 
 
7333
 
 
7334
 
fi
7335
 
 
7336
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7337
 
      conftest$ac_exeext conftest.$ac_ext
7338
 
  CXXFLAGS="$save_CXXFLAGS"
7339
 
  ac_ext=c
7340
 
ac_cpp='$CPP $CPPFLAGS'
7341
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7342
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7343
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7344
 
 
7345
 
 
7346
 
fi
7347
 
 
7348
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7349
 
 { echo "$as_me:$LINENO: result: yes" >&5
7350
 
echo "${ECHO_T}yes" >&6; }
7351
 
 :
7352
 
 LDFLAGS_AS_NEEDED="-Wl,--as-needed"
7353
 
else
7354
 
 { echo "$as_me:$LINENO: result: no" >&5
7355
 
echo "${ECHO_T}no" >&6; }
7356
 
 :
7357
 
 
7358
 
fi
7359
 
 
7360
 
  fi
7361
 
 
7362
 
 
7363
 
 
7364
 
 
7365
 
  # Check whether --enable-final was given.
7366
 
if test "${enable_final+set}" = set; then
7367
 
  enableval=$enable_final; kde_use_final=$enableval
7368
 
else
7369
 
  kde_use_final=no
7370
 
fi
7371
 
 
7372
 
 
7373
 
  if test "x$kde_use_final" = "xyes"; then
7374
 
      KDE_USE_FINAL_TRUE=""
7375
 
      KDE_USE_FINAL_FALSE="#"
7376
 
   else
7377
 
      KDE_USE_FINAL_TRUE="#"
7378
 
      KDE_USE_FINAL_FALSE=""
7379
 
  fi
7380
 
 
7381
 
 
7382
 
 
7383
 
 
7384
 
  # Check whether --enable-closure was given.
7385
 
if test "${enable_closure+set}" = set; then
7386
 
  enableval=$enable_closure; kde_use_closure=$enableval
7387
 
else
7388
 
  kde_use_closure=no
7389
 
fi
7390
 
 
7391
 
 
7392
 
  KDE_NO_UNDEFINED=""
7393
 
  if test "x$kde_use_closure" = "xyes"; then
7394
 
       KDE_USE_CLOSURE_TRUE=""
7395
 
       KDE_USE_CLOSURE_FALSE="#"
7396
 
#       CXXFLAGS="$CXXFLAGS $REPO"
7397
 
  else
7398
 
       KDE_USE_CLOSURE_TRUE="#"
7399
 
       KDE_USE_CLOSURE_FALSE=""
7400
 
       KDE_NO_UNDEFINED=""
7401
 
       case $host in
7402
 
         *-*-linux-gnu)
7403
 
 
7404
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
7405
 
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6; }
7406
 
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
7407
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7408
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7409
 
else
7410
 
 
7411
 
 
7412
 
   ac_ext=cpp
7413
 
ac_cpp='$CXXCPP $CPPFLAGS'
7414
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7415
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7416
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7417
 
 
7418
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7419
 
 
7420
 
 
7421
 
  save_CXXFLAGS="$CXXFLAGS"
7422
 
  CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
7423
 
  cat >conftest.$ac_ext <<_ACEOF
7424
 
/* confdefs.h.  */
7425
 
_ACEOF
7426
 
cat confdefs.h >>conftest.$ac_ext
7427
 
cat >>conftest.$ac_ext <<_ACEOF
7428
 
/* end confdefs.h.  */
7429
 
 
7430
 
int
7431
 
main ()
7432
 
{
7433
 
 return 0;
7434
 
  ;
7435
 
  return 0;
7436
 
}
7437
 
_ACEOF
7438
 
rm -f conftest.$ac_objext conftest$ac_exeext
7439
 
if { (ac_try="$ac_link"
7440
 
case "(($ac_try" in
7441
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7442
 
  *) ac_try_echo=$ac_try;;
7443
 
esac
7444
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7445
 
  (eval "$ac_link") 2>conftest.er1
7446
 
  ac_status=$?
7447
 
  grep -v '^ *+' conftest.er1 >conftest.err
7448
 
  rm -f conftest.er1
7449
 
  cat conftest.err >&5
7450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451
 
  (exit $ac_status); } && {
7452
 
         test -z "$ac_cxx_werror_flag" ||
7453
 
         test ! -s conftest.err
7454
 
       } && test -s conftest$ac_exeext &&
7455
 
       $as_test_x conftest$ac_exeext; then
7456
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7457
 
else
7458
 
  echo "$as_me: failed program was:" >&5
7459
 
sed 's/^/| /' conftest.$ac_ext >&5
7460
 
 
7461
 
 
7462
 
fi
7463
 
 
7464
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7465
 
      conftest$ac_exeext conftest.$ac_ext
7466
 
  CXXFLAGS="$save_CXXFLAGS"
7467
 
  ac_ext=c
7468
 
ac_cpp='$CPP $CPPFLAGS'
7469
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7470
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7471
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7472
 
 
7473
 
 
7474
 
fi
7475
 
 
7476
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7477
 
 { echo "$as_me:$LINENO: result: yes" >&5
7478
 
echo "${ECHO_T}yes" >&6; }
7479
 
 :
7480
 
 
7481
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
7482
 
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6; }
7483
 
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
7484
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7485
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7486
 
else
7487
 
 
7488
 
 
7489
 
   ac_ext=cpp
7490
 
ac_cpp='$CXXCPP $CPPFLAGS'
7491
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7492
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7493
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7494
 
 
7495
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7496
 
 
7497
 
 
7498
 
  save_CXXFLAGS="$CXXFLAGS"
7499
 
  CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
7500
 
  cat >conftest.$ac_ext <<_ACEOF
7501
 
/* confdefs.h.  */
7502
 
_ACEOF
7503
 
cat confdefs.h >>conftest.$ac_ext
7504
 
cat >>conftest.$ac_ext <<_ACEOF
7505
 
/* end confdefs.h.  */
7506
 
 
7507
 
int
7508
 
main ()
7509
 
{
7510
 
 return 0;
7511
 
  ;
7512
 
  return 0;
7513
 
}
7514
 
_ACEOF
7515
 
rm -f conftest.$ac_objext conftest$ac_exeext
7516
 
if { (ac_try="$ac_link"
7517
 
case "(($ac_try" in
7518
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7519
 
  *) ac_try_echo=$ac_try;;
7520
 
esac
7521
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7522
 
  (eval "$ac_link") 2>conftest.er1
7523
 
  ac_status=$?
7524
 
  grep -v '^ *+' conftest.er1 >conftest.err
7525
 
  rm -f conftest.er1
7526
 
  cat conftest.err >&5
7527
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528
 
  (exit $ac_status); } && {
7529
 
         test -z "$ac_cxx_werror_flag" ||
7530
 
         test ! -s conftest.err
7531
 
       } && test -s conftest$ac_exeext &&
7532
 
       $as_test_x conftest$ac_exeext; then
7533
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7534
 
else
7535
 
  echo "$as_me: failed program was:" >&5
7536
 
sed 's/^/| /' conftest.$ac_ext >&5
7537
 
 
7538
 
 
7539
 
fi
7540
 
 
7541
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7542
 
      conftest$ac_exeext conftest.$ac_ext
7543
 
  CXXFLAGS="$save_CXXFLAGS"
7544
 
  ac_ext=c
7545
 
ac_cpp='$CPP $CPPFLAGS'
7546
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7547
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7548
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7549
 
 
7550
 
 
7551
 
fi
7552
 
 
7553
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7554
 
 { echo "$as_me:$LINENO: result: yes" >&5
7555
 
echo "${ECHO_T}yes" >&6; }
7556
 
 :
7557
 
 KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
7558
 
else
7559
 
 { echo "$as_me:$LINENO: result: no" >&5
7560
 
echo "${ECHO_T}no" >&6; }
7561
 
 :
7562
 
 KDE_NO_UNDEFINED=""
7563
 
fi
7564
 
 
7565
 
else
7566
 
 { echo "$as_me:$LINENO: result: no" >&5
7567
 
echo "${ECHO_T}no" >&6; }
7568
 
 :
7569
 
 KDE_NO_UNDEFINED=""
7570
 
fi
7571
 
 
7572
 
           ;;
7573
 
       esac
7574
 
  fi
7575
 
 
7576
 
 
7577
 
 
7578
 
 
7579
 
 
7580
 
  # Check whether --enable-nmcheck was given.
7581
 
if test "${enable_nmcheck+set}" = set; then
7582
 
  enableval=$enable_nmcheck; kde_use_nmcheck=$enableval
7583
 
else
7584
 
  kde_use_nmcheck=no
7585
 
fi
7586
 
 
7587
 
 
7588
 
  if test "$kde_use_nmcheck" = "yes"; then
7589
 
      KDE_USE_NMCHECK_TRUE=""
7590
 
      KDE_USE_NMCHECK_FALSE="#"
7591
 
   else
7592
 
      KDE_USE_NMCHECK_TRUE="#"
7593
 
      KDE_USE_NMCHECK_FALSE=""
7594
 
  fi
7595
 
 
7596
 
 
7597
 
 
7598
 
 
7599
 
 
7600
 
 
7601
 
# Check whether --enable-shared was given.
7602
 
if test "${enable_shared+set}" = set; then
7603
 
  enableval=$enable_shared; p=${PACKAGE-default}
7604
 
    case $enableval in
7605
 
    yes) enable_shared=yes ;;
7606
 
    no) enable_shared=no ;;
7607
 
    *)
7608
 
      enable_shared=no
7609
 
      # Look at the argument we got.  We use all the common list separators.
7610
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7611
 
      for pkg in $enableval; do
7612
 
        IFS="$lt_save_ifs"
7613
 
        if test "X$pkg" = "X$p"; then
7614
 
          enable_shared=yes
7615
 
        fi
7616
 
      done
7617
 
      IFS="$lt_save_ifs"
7618
 
      ;;
7619
 
    esac
7620
 
else
7621
 
  enable_shared=yes
7622
 
fi
7623
 
 
7624
 
 
7625
 
# Check whether --enable-static was given.
7626
 
if test "${enable_static+set}" = set; then
7627
 
  enableval=$enable_static; p=${PACKAGE-default}
7628
 
    case $enableval in
7629
 
    yes) enable_static=yes ;;
7630
 
    no) enable_static=no ;;
7631
 
    *)
7632
 
     enable_static=no
7633
 
      # Look at the argument we got.  We use all the common list separators.
7634
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7635
 
      for pkg in $enableval; do
7636
 
        IFS="$lt_save_ifs"
7637
 
        if test "X$pkg" = "X$p"; then
7638
 
          enable_static=yes
7639
 
        fi
7640
 
      done
7641
 
      IFS="$lt_save_ifs"
7642
 
      ;;
7643
 
    esac
7644
 
else
7645
 
  enable_static=no
7646
 
fi
7647
 
 
7648
 
 
7649
 
 
7650
 
 
7651
 
 
7652
 
    # Check whether --enable-libsuffix was given.
7653
 
if test "${enable_libsuffix+set}" = set; then
7654
 
  enableval=$enable_libsuffix; kdelibsuff=$enableval
7655
 
else
7656
 
  kdelibsuff="auto"
7657
 
fi
7658
 
 
7659
 
 
7660
 
    if test "$kdelibsuff" = "auto"; then
7661
 
 
7662
 
cat > conftest.c << EOF
7663
 
#include <stdio.h>
7664
 
int main() {
7665
 
 return 0;
7666
 
}
7667
 
EOF
7668
 
        kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
7669
 
    s,.*/lib\([^\/]*\)/.*,\1,
7670
 
    p
7671
 
}'`
7672
 
        rm -rf conftest.*
7673
 
    fi
7674
 
 
7675
 
    if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
7676
 
       kdelibsuff=
7677
 
    fi
7678
 
    if test -z "$kdelibsuff"; then
7679
 
        { echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
7680
 
echo "${ECHO_T}not using lib directory suffix" >&6; }
7681
 
 
7682
 
cat >>confdefs.h <<\_ACEOF
7683
 
#define KDELIBSUFF ""
7684
 
_ACEOF
7685
 
 
7686
 
    else
7687
 
        if test "$libdir" = '${exec_prefix}/lib'; then
7688
 
            libdir="$libdir${kdelibsuff}"
7689
 
            libdir="$libdir"
7690
 
          fi
7691
 
 
7692
 
cat >>confdefs.h <<_ACEOF
7693
 
#define KDELIBSUFF "${kdelibsuff}"
7694
 
_ACEOF
7695
 
 
7696
 
        { echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
7697
 
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6; }
7698
 
    fi
7699
 
 
7700
 
# Check whether --enable-fast-install was given.
7701
 
if test "${enable_fast_install+set}" = set; then
7702
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7703
 
    case $enableval in
7704
 
    yes) enable_fast_install=yes ;;
7705
 
    no) enable_fast_install=no ;;
7706
 
    *)
7707
 
      enable_fast_install=no
7708
 
      # Look at the argument we got.  We use all the common list separators.
7709
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7710
 
      for pkg in $enableval; do
7711
 
        IFS="$lt_save_ifs"
7712
 
        if test "X$pkg" = "X$p"; then
7713
 
          enable_fast_install=yes
7714
 
        fi
7715
 
      done
7716
 
      IFS="$lt_save_ifs"
7717
 
      ;;
7718
 
    esac
7719
 
else
7720
 
  enable_fast_install=yes
7721
 
fi
7722
 
 
7723
 
 
7724
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7725
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7726
 
if test "${lt_cv_path_SED+set}" = set; then
7727
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7728
 
else
7729
 
  # Loop through the user's path and test for sed and gsed.
7730
 
# Then use that list of sed's as ones to test for truncation.
7731
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732
 
for as_dir in $PATH
7733
 
do
7734
 
  IFS=$as_save_IFS
7735
 
  test -z "$as_dir" && as_dir=.
7736
 
  for lt_ac_prog in sed gsed; do
7737
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7738
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7739
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7740
 
      fi
7741
 
    done
7742
 
  done
7743
 
done
7744
 
lt_ac_max=0
7745
 
lt_ac_count=0
7746
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7747
 
# along with /bin/sed that truncates output.
7748
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7749
 
  test ! -f $lt_ac_sed && break
7750
 
  cat /dev/null > conftest.in
7751
 
  lt_ac_count=0
7752
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7753
 
  # Check for GNU sed and select it if it is found.
7754
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7755
 
    lt_cv_path_SED=$lt_ac_sed
7756
 
    break
7757
 
  fi
7758
 
  while true; do
7759
 
    cat conftest.in conftest.in >conftest.tmp
7760
 
    mv conftest.tmp conftest.in
7761
 
    cp conftest.in conftest.nl
7762
 
    echo >>conftest.nl
7763
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7764
 
    cmp -s conftest.out conftest.nl || break
7765
 
    # 10000 chars as input seems more than enough
7766
 
    test $lt_ac_count -gt 10 && break
7767
 
    lt_ac_count=`expr $lt_ac_count + 1`
7768
 
    if test $lt_ac_count -gt $lt_ac_max; then
7769
 
      lt_ac_max=$lt_ac_count
7770
 
      lt_cv_path_SED=$lt_ac_sed
7771
 
    fi
7772
 
  done
7773
 
done
7774
 
 
7775
 
fi
7776
 
 
7777
 
SED=$lt_cv_path_SED
7778
 
{ echo "$as_me:$LINENO: result: $SED" >&5
7779
 
echo "${ECHO_T}$SED" >&6; }
7780
 
 
7781
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7782
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7783
 
if test "${ac_cv_path_GREP+set}" = set; then
7784
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7785
 
else
7786
 
  # Extract the first word of "grep ggrep" to use in msg output
7787
 
if test -z "$GREP"; then
7788
 
set dummy grep ggrep; ac_prog_name=$2
7789
 
if test "${ac_cv_path_GREP+set}" = set; then
7790
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7791
 
else
7792
 
  ac_path_GREP_found=false
7793
 
# Loop through the user's path and test for each of PROGNAME-LIST
7794
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7795
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7796
 
do
7797
 
  IFS=$as_save_IFS
7798
 
  test -z "$as_dir" && as_dir=.
7799
 
  for ac_prog in grep ggrep; do
7800
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7801
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7802
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7803
 
    # Check for GNU ac_path_GREP and select it if it is found.
7804
 
  # Check for GNU $ac_path_GREP
7805
 
case `"$ac_path_GREP" --version 2>&1` in
7806
 
*GNU*)
7807
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7808
 
*)
7809
 
  ac_count=0
7810
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7811
 
  while :
7812
 
  do
7813
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
7814
 
    mv "conftest.tmp" "conftest.in"
7815
 
    cp "conftest.in" "conftest.nl"
7816
 
    echo 'GREP' >> "conftest.nl"
7817
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7818
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7819
 
    ac_count=`expr $ac_count + 1`
7820
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
7821
 
      # Best one so far, save it but keep looking for a better one
7822
 
      ac_cv_path_GREP="$ac_path_GREP"
7823
 
      ac_path_GREP_max=$ac_count
7824
 
    fi
7825
 
    # 10*(2^10) chars as input seems more than enough
7826
 
    test $ac_count -gt 10 && break
7827
 
  done
7828
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7829
 
esac
7830
 
 
7831
 
 
7832
 
    $ac_path_GREP_found && break 3
7833
 
  done
7834
 
done
7835
 
 
7836
 
done
7837
 
IFS=$as_save_IFS
7838
 
 
7839
 
 
7840
 
fi
7841
 
 
7842
 
GREP="$ac_cv_path_GREP"
7843
 
if test -z "$GREP"; then
7844
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7845
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7846
 
   { (exit 1); exit 1; }; }
7847
 
fi
7848
 
 
7849
 
else
7850
 
  ac_cv_path_GREP=$GREP
7851
 
fi
7852
 
 
7853
 
 
7854
 
fi
7855
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7856
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7857
 
 GREP="$ac_cv_path_GREP"
7858
 
 
7859
 
 
7860
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
7861
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7862
 
if test "${ac_cv_path_EGREP+set}" = set; then
7863
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7864
 
else
7865
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7866
 
   then ac_cv_path_EGREP="$GREP -E"
7867
 
   else
7868
 
     # Extract the first word of "egrep" to use in msg output
7869
 
if test -z "$EGREP"; then
7870
 
set dummy egrep; ac_prog_name=$2
7871
 
if test "${ac_cv_path_EGREP+set}" = set; then
7872
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7873
 
else
7874
 
  ac_path_EGREP_found=false
7875
 
# Loop through the user's path and test for each of PROGNAME-LIST
7876
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7877
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7878
 
do
7879
 
  IFS=$as_save_IFS
7880
 
  test -z "$as_dir" && as_dir=.
7881
 
  for ac_prog in egrep; do
7882
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7883
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7884
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7885
 
    # Check for GNU ac_path_EGREP and select it if it is found.
7886
 
  # Check for GNU $ac_path_EGREP
7887
 
case `"$ac_path_EGREP" --version 2>&1` in
7888
 
*GNU*)
7889
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7890
 
*)
7891
 
  ac_count=0
7892
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7893
 
  while :
7894
 
  do
7895
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
7896
 
    mv "conftest.tmp" "conftest.in"
7897
 
    cp "conftest.in" "conftest.nl"
7898
 
    echo 'EGREP' >> "conftest.nl"
7899
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7900
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7901
 
    ac_count=`expr $ac_count + 1`
7902
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7903
 
      # Best one so far, save it but keep looking for a better one
7904
 
      ac_cv_path_EGREP="$ac_path_EGREP"
7905
 
      ac_path_EGREP_max=$ac_count
7906
 
    fi
7907
 
    # 10*(2^10) chars as input seems more than enough
7908
 
    test $ac_count -gt 10 && break
7909
 
  done
7910
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7911
 
esac
7912
 
 
7913
 
 
7914
 
    $ac_path_EGREP_found && break 3
7915
 
  done
7916
 
done
7917
 
 
7918
 
done
7919
 
IFS=$as_save_IFS
7920
 
 
7921
 
 
7922
 
fi
7923
 
 
7924
 
EGREP="$ac_cv_path_EGREP"
7925
 
if test -z "$EGREP"; then
7926
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7927
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7928
 
   { (exit 1); exit 1; }; }
7929
 
fi
7930
 
 
7931
 
else
7932
 
  ac_cv_path_EGREP=$EGREP
7933
 
fi
7934
 
 
7935
 
 
7936
 
   fi
7937
 
fi
7938
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7939
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7940
 
 EGREP="$ac_cv_path_EGREP"
7941
 
 
7942
 
 
7943
 
 
7944
 
# Check whether --with-gnu-ld was given.
7945
 
if test "${with_gnu_ld+set}" = set; then
7946
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7947
 
else
7948
 
  with_gnu_ld=no
7949
 
fi
7950
 
 
7951
 
ac_prog=ld
7952
 
if test "$GCC" = yes; then
7953
 
  # Check if gcc -print-prog-name=ld gives a path.
7954
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7955
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
7956
 
  case $host in
7957
 
  *-*-mingw*)
7958
 
    # gcc leaves a trailing carriage return which upsets mingw
7959
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7960
 
  *)
7961
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7962
 
  esac
7963
 
  case $ac_prog in
7964
 
    # Accept absolute paths.
7965
 
    [\\/]* | ?:[\\/]*)
7966
 
      re_direlt='/[^/][^/]*/\.\./'
7967
 
      # Canonicalize the pathname of ld
7968
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7969
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7970
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7971
 
      done
7972
 
      test -z "$LD" && LD="$ac_prog"
7973
 
      ;;
7974
 
  "")
7975
 
    # If it fails, then pretend we aren't using GCC.
7976
 
    ac_prog=ld
7977
 
    ;;
7978
 
  *)
7979
 
    # If it is relative, then search for the first ld in PATH.
7980
 
    with_gnu_ld=unknown
7981
 
    ;;
7982
 
  esac
7983
 
elif test "$with_gnu_ld" = yes; then
7984
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
7985
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
7986
 
else
7987
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7988
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
7989
 
fi
7990
 
if test "${lt_cv_path_LD+set}" = set; then
7991
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7992
 
else
7993
 
  if test -z "$LD"; then
7994
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7995
 
  for ac_dir in $PATH; do
7996
 
    IFS="$lt_save_ifs"
7997
 
    test -z "$ac_dir" && ac_dir=.
7998
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7999
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
8000
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
8001
 
      # but apparently some GNU ld's only accept -v.
8002
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
8003
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8004
 
      *GNU* | *'with BFD'*)
8005
 
        test "$with_gnu_ld" != no && break
8006
 
        ;;
8007
 
      *)
8008
 
        test "$with_gnu_ld" != yes && break
8009
 
        ;;
8010
 
      esac
8011
 
    fi
8012
 
  done
8013
 
  IFS="$lt_save_ifs"
8014
 
else
8015
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
8016
 
fi
8017
 
fi
8018
 
 
8019
 
LD="$lt_cv_path_LD"
8020
 
if test -n "$LD"; then
8021
 
  { echo "$as_me:$LINENO: result: $LD" >&5
8022
 
echo "${ECHO_T}$LD" >&6; }
8023
 
else
8024
 
  { echo "$as_me:$LINENO: result: no" >&5
8025
 
echo "${ECHO_T}no" >&6; }
8026
 
fi
8027
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8028
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8029
 
   { (exit 1); exit 1; }; }
8030
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8031
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8032
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
8033
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8034
 
else
8035
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8036
 
case `$LD -v 2>&1 </dev/null` in
8037
 
*GNU* | *'with BFD'*)
8038
 
  lt_cv_prog_gnu_ld=yes
8039
 
  ;;
8040
 
*)
8041
 
  lt_cv_prog_gnu_ld=no
8042
 
  ;;
8043
 
esac
8044
 
fi
8045
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8046
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
8047
 
with_gnu_ld=$lt_cv_prog_gnu_ld
8048
 
 
8049
 
 
8050
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8051
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
8052
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
8053
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8054
 
else
8055
 
  lt_cv_ld_reload_flag='-r'
8056
 
fi
8057
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8058
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
8059
 
reload_flag=$lt_cv_ld_reload_flag
8060
 
case $reload_flag in
8061
 
"" | " "*) ;;
8062
 
*) reload_flag=" $reload_flag" ;;
8063
 
esac
8064
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
8065
 
 
8066
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
8067
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
8068
 
if test "${lt_cv_path_NM+set}" = set; then
8069
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8070
 
else
8071
 
  if test -n "$NM"; then
8072
 
  # Let the user override the test.
8073
 
  lt_cv_path_NM="$NM"
8074
 
else
8075
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8076
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
8077
 
    IFS="$lt_save_ifs"
8078
 
    test -z "$ac_dir" && ac_dir=.
8079
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
8080
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8081
 
      # Check to see if the nm accepts a BSD-compat flag.
8082
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8083
 
      #   nm: unknown option "B" ignored
8084
 
      # Tru64's nm complains that /dev/null is an invalid object file
8085
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8086
 
      */dev/null* | *'Invalid file or object type'*)
8087
 
        lt_cv_path_NM="$tmp_nm -B"
8088
 
        break
8089
 
        ;;
8090
 
      *)
8091
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8092
 
        */dev/null*)
8093
 
          lt_cv_path_NM="$tmp_nm -p"
8094
 
          break
8095
 
          ;;
8096
 
        *)
8097
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8098
 
          continue # so that we can try to find one that supports BSD flags
8099
 
          ;;
8100
 
        esac
8101
 
      esac
8102
 
    fi
8103
 
  done
8104
 
  IFS="$lt_save_ifs"
8105
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8106
 
fi
8107
 
fi
8108
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8109
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
8110
 
NM="$lt_cv_path_NM"
8111
 
 
8112
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
8113
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
8114
 
LN_S=$as_ln_s
8115
 
if test "$LN_S" = "ln -s"; then
8116
 
  { echo "$as_me:$LINENO: result: yes" >&5
8117
 
echo "${ECHO_T}yes" >&6; }
8118
 
else
8119
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8120
 
echo "${ECHO_T}no, using $LN_S" >&6; }
8121
 
fi
8122
 
 
8123
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
8124
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
8125
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
8126
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8127
 
else
8128
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
8129
 
lt_cv_file_magic_test_file=
8130
 
lt_cv_deplibs_check_method='unknown'
8131
 
# Need to set the preceding variable on all platforms that support
8132
 
# interlibrary dependencies.
8133
 
# 'none' -- dependencies not supported.
8134
 
# `unknown' -- same as none, but documents that we really don't know.
8135
 
# 'pass_all' -- all dependencies passed with no checks.
8136
 
# 'test_compile' -- check by making test program.
8137
 
# 'file_magic [[regex]]' -- check by looking for files in library path
8138
 
# which responds to the $file_magic_cmd with a given extended regex.
8139
 
# If you have `file' or equivalent on your system and you're not sure
8140
 
# whether `pass_all' will *always* work, you probably want this one.
8141
 
 
8142
 
case $host_os in
8143
 
aix4* | aix5*)
8144
 
  lt_cv_deplibs_check_method=pass_all
8145
 
  ;;
8146
 
 
8147
 
beos*)
8148
 
  lt_cv_deplibs_check_method=pass_all
8149
 
  ;;
8150
 
 
8151
 
bsdi4*)
8152
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8153
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
8154
 
  lt_cv_file_magic_test_file=/shlib/libc.so
8155
 
  ;;
8156
 
 
8157
 
cygwin*)
8158
 
  lt_cv_deplibs_check_method=pass_all
8159
 
  ;;
8160
 
 
8161
 
mingw* | pw32*)
8162
 
  # win32_libid is a shell function defined in ltmain.sh
8163
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8164
 
  lt_cv_file_magic_cmd='win32_libid'
8165
 
  ;;
8166
 
 
8167
 
darwin* | rhapsody*)
8168
 
  # this will be overwritten by pass_all, but leave it in just in case
8169
 
  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
8170
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
8171
 
  case "$host_os" in
8172
 
  rhapsody* | darwin1.[012])
8173
 
    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
8174
 
    ;;
8175
 
  *) # Darwin 1.3 on
8176
 
    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
8177
 
    ;;
8178
 
  esac
8179
 
  lt_cv_deplibs_check_method=pass_all
8180
 
  ;;
8181
 
 
8182
 
freebsd* | kfreebsd*-gnu)
8183
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8184
 
    case $host_cpu in
8185
 
    i*86 )
8186
 
      # Not sure whether the presence of OpenBSD here was a mistake.
8187
 
      # Let's accept both of them until this is cleared up.
8188
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
8189
 
      lt_cv_file_magic_cmd=/usr/bin/file
8190
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8191
 
      ;;
8192
 
    esac
8193
 
  else
8194
 
    lt_cv_deplibs_check_method=pass_all
8195
 
  fi
8196
 
  ;;
8197
 
 
8198
 
gnu*)
8199
 
  lt_cv_deplibs_check_method=pass_all
8200
 
  ;;
8201
 
 
8202
 
hpux10.20* | hpux11*)
8203
 
  lt_cv_file_magic_cmd=/usr/bin/file
8204
 
  case "$host_cpu" in
8205
 
  ia64*)
8206
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8207
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8208
 
    ;;
8209
 
  hppa*64*)
8210
 
    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]'
8211
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8212
 
    ;;
8213
 
  *)
8214
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8215
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
8216
 
    ;;
8217
 
  esac
8218
 
  ;;
8219
 
 
8220
 
irix5* | irix6* | nonstopux*)
8221
 
  case $host_os in
8222
 
  irix5* | nonstopux*)
8223
 
    # this will be overridden with pass_all, but let us keep it just in case
8224
 
    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
8225
 
    ;;
8226
 
  *)
8227
 
    case $LD in
8228
 
    *-32|*"-32 ") libmagic=32-bit;;
8229
 
    *-n32|*"-n32 ") libmagic=N32;;
8230
 
    *-64|*"-64 ") libmagic=64-bit;;
8231
 
    *) libmagic=never-match;;
8232
 
    esac
8233
 
    # this will be overridden with pass_all, but let us keep it just in case
8234
 
    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
8235
 
    ;;
8236
 
  esac
8237
 
  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
8238
 
  lt_cv_deplibs_check_method=pass_all
8239
 
  ;;
8240
 
 
8241
 
# This must be Linux ELF.
8242
 
linux*)
8243
 
  case $host_cpu in
8244
 
  alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
8245
 
    lt_cv_deplibs_check_method=pass_all ;;
8246
 
  # the debian people say, arm and glibc 2.3.1 works for them with pass_all
8247
 
  arm* )
8248
 
    lt_cv_deplibs_check_method=pass_all ;;
8249
 
  *)
8250
 
    # glibc up to 2.1.1 does not perform some relocations on ARM
8251
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
8252
 
  esac
8253
 
  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
8254
 
  ;;
8255
 
 
8256
 
netbsd*)
8257
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8258
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8259
 
  else
8260
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8261
 
  fi
8262
 
  ;;
8263
 
 
8264
 
newos6*)
8265
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8266
 
  lt_cv_file_magic_cmd=/usr/bin/file
8267
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
8268
 
  ;;
8269
 
 
8270
 
nto-qnx*)
8271
 
  lt_cv_deplibs_check_method=unknown
8272
 
  ;;
8273
 
 
8274
 
openbsd*)
8275
 
  lt_cv_file_magic_cmd=/usr/bin/file
8276
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8277
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8278
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
8279
 
  else
8280
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
8281
 
  fi
8282
 
  ;;
8283
 
 
8284
 
osf3* | osf4* | osf5*)
8285
 
  # this will be overridden with pass_all, but let us keep it just in case
8286
 
  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
8287
 
  lt_cv_file_magic_test_file=/shlib/libc.so
8288
 
  lt_cv_deplibs_check_method=pass_all
8289
 
  ;;
8290
 
 
8291
 
sco3.2v5*)
8292
 
  lt_cv_deplibs_check_method=pass_all
8293
 
  ;;
8294
 
 
8295
 
solaris*)
8296
 
  lt_cv_deplibs_check_method=pass_all
8297
 
  lt_cv_file_magic_test_file=/lib/libc.so
8298
 
  ;;
8299
 
 
8300
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8301
 
  case $host_vendor in
8302
 
  motorola)
8303
 
    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]'
8304
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8305
 
    ;;
8306
 
  ncr)
8307
 
    lt_cv_deplibs_check_method=pass_all
8308
 
    ;;
8309
 
  sequent)
8310
 
    lt_cv_file_magic_cmd='/bin/file'
8311
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8312
 
    ;;
8313
 
  sni)
8314
 
    lt_cv_file_magic_cmd='/bin/file'
8315
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8316
 
    lt_cv_file_magic_test_file=/lib/libc.so
8317
 
    ;;
8318
 
  siemens)
8319
 
    lt_cv_deplibs_check_method=pass_all
8320
 
    ;;
8321
 
  esac
8322
 
  ;;
8323
 
 
8324
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
8325
 
  lt_cv_deplibs_check_method=pass_all
8326
 
  ;;
8327
 
esac
8328
 
 
8329
 
fi
8330
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8331
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8332
 
file_magic_cmd=$lt_cv_file_magic_cmd
8333
 
deplibs_check_method=$lt_cv_deplibs_check_method
8334
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8335
 
 
8336
 
 
8337
 
# If no C compiler was specified, use CC.
8338
 
LTCC=${LTCC-"$CC"}
8339
 
 
8340
 
# Allow CC to be a program name with arguments.
8341
 
compiler=$CC
8342
 
 
8343
 
# Check whether --enable-libtool-lock was given.
8344
 
if test "${enable_libtool_lock+set}" = set; then
8345
 
  enableval=$enable_libtool_lock;
8346
 
fi
8347
 
 
8348
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8349
 
 
8350
 
# Some flags need to be propagated to the compiler or linker for good
8351
 
# libtool support.
8352
 
case $host in
8353
 
ia64-*-hpux*)
8354
 
  # Find out which ABI we are using.
8355
 
  echo 'int i;' > conftest.$ac_ext
8356
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8357
 
  (eval $ac_compile) 2>&5
8358
 
  ac_status=$?
8359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360
 
  (exit $ac_status); }; then
8361
 
    case `/usr/bin/file conftest.$ac_objext` in
8362
 
    *ELF-32*)
8363
 
      HPUX_IA64_MODE="32"
8364
 
      ;;
8365
 
    *ELF-64*)
8366
 
      HPUX_IA64_MODE="64"
8367
 
      ;;
8368
 
    esac
8369
 
  fi
8370
 
  rm -rf conftest*
8371
 
  ;;
8372
 
*-*-irix6*)
8373
 
  # Find out which ABI we are using.
8374
 
  echo '#line 8374 "configure"' > conftest.$ac_ext
8375
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8376
 
  (eval $ac_compile) 2>&5
8377
 
  ac_status=$?
8378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379
 
  (exit $ac_status); }; then
8380
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
8381
 
    case `/usr/bin/file conftest.$ac_objext` in
8382
 
    *32-bit*)
8383
 
      LD="${LD-ld} -melf32bsmip"
8384
 
      ;;
8385
 
    *N32*)
8386
 
      LD="${LD-ld} -melf32bmipn32"
8387
 
      ;;
8388
 
    *64-bit*)
8389
 
      LD="${LD-ld} -melf64bmip"
8390
 
      ;;
8391
 
    esac
8392
 
   else
8393
 
    case `/usr/bin/file conftest.$ac_objext` in
8394
 
    *32-bit*)
8395
 
      LD="${LD-ld} -32"
8396
 
      ;;
8397
 
    *N32*)
8398
 
      LD="${LD-ld} -n32"
8399
 
      ;;
8400
 
    *64-bit*)
8401
 
      LD="${LD-ld} -64"
8402
 
      ;;
8403
 
    esac
8404
 
   fi
8405
 
  fi
8406
 
  rm -rf conftest*
8407
 
  ;;
8408
 
 
8409
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
8410
 
  # Find out which ABI we are using.
8411
 
  echo 'int i;' > conftest.$ac_ext
8412
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8413
 
  (eval $ac_compile) 2>&5
8414
 
  ac_status=$?
8415
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416
 
  (exit $ac_status); }; then
8417
 
    case "`/usr/bin/file conftest.o`" in
8418
 
    *32-bit*)
8419
 
      LINUX_64_MODE="32"
8420
 
      case $host in
8421
 
        x86_64-*linux*)
8422
 
          LD="${LD-ld} -m elf_i386"
8423
 
          ;;
8424
 
        ppc64-*linux*)
8425
 
          LD="${LD-ld} -m elf32ppclinux"
8426
 
          ;;
8427
 
        s390x-*linux*)
8428
 
          LD="${LD-ld} -m elf_s390"
8429
 
          ;;
8430
 
        sparc64-*linux*)
8431
 
          LD="${LD-ld} -m elf32_sparc"
8432
 
          ;;
8433
 
      esac
8434
 
      ;;
8435
 
    *64-bit*)
8436
 
      LINUX_64_MODE="64"
8437
 
      case $host in
8438
 
        x86_64-*linux*)
8439
 
          LD="${LD-ld} -m elf_x86_64"
8440
 
          ;;
8441
 
        ppc*-*linux*|powerpc*-*linux*)
8442
 
          LD="${LD-ld} -m elf64ppc"
8443
 
          ;;
8444
 
        s390*-*linux*)
8445
 
          LD="${LD-ld} -m elf64_s390"
8446
 
          ;;
8447
 
        sparc*-*linux*)
8448
 
          LD="${LD-ld} -m elf64_sparc"
8449
 
          ;;
8450
 
      esac
8451
 
      ;;
8452
 
    esac
8453
 
  fi
8454
 
  rm -rf conftest*
8455
 
  ;;
8456
 
 
8457
 
*-*-sco3.2v5*)
8458
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8459
 
  SAVE_CFLAGS="$CFLAGS"
8460
 
  CFLAGS="$CFLAGS -belf"
8461
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8462
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
8463
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
8464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8465
 
else
8466
 
  ac_ext=c
8467
 
ac_cpp='$CPP $CPPFLAGS'
8468
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8469
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8470
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8471
 
 
8472
 
     cat >conftest.$ac_ext <<_ACEOF
8473
 
/* confdefs.h.  */
8474
 
_ACEOF
8475
 
cat confdefs.h >>conftest.$ac_ext
8476
 
cat >>conftest.$ac_ext <<_ACEOF
8477
 
/* end confdefs.h.  */
8478
 
 
8479
 
int
8480
 
main ()
8481
 
{
8482
 
 
8483
 
  ;
8484
 
  return 0;
8485
 
}
8486
 
_ACEOF
8487
 
rm -f conftest.$ac_objext conftest$ac_exeext
8488
 
if { (ac_try="$ac_link"
8489
 
case "(($ac_try" in
8490
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8491
 
  *) ac_try_echo=$ac_try;;
8492
 
esac
8493
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8494
 
  (eval "$ac_link") 2>conftest.er1
8495
 
  ac_status=$?
8496
 
  grep -v '^ *+' conftest.er1 >conftest.err
8497
 
  rm -f conftest.er1
8498
 
  cat conftest.err >&5
8499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500
 
  (exit $ac_status); } && {
8501
 
         test -z "$ac_c_werror_flag" ||
8502
 
         test ! -s conftest.err
8503
 
       } && test -s conftest$ac_exeext &&
8504
 
       $as_test_x conftest$ac_exeext; then
8505
 
  lt_cv_cc_needs_belf=yes
8506
 
else
8507
 
  echo "$as_me: failed program was:" >&5
8508
 
sed 's/^/| /' conftest.$ac_ext >&5
8509
 
 
8510
 
        lt_cv_cc_needs_belf=no
8511
 
fi
8512
 
 
8513
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8514
 
      conftest$ac_exeext conftest.$ac_ext
8515
 
     ac_ext=c
8516
 
ac_cpp='$CPP $CPPFLAGS'
8517
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8518
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8519
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8520
 
 
8521
 
fi
8522
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8523
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
8524
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8525
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8526
 
    CFLAGS="$SAVE_CFLAGS"
8527
 
  fi
8528
 
  ;;
8529
 
 
8530
 
esac
8531
 
 
8532
 
need_locks="$enable_libtool_lock"
8533
 
 
8534
 
 
8535
 
 
8536
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8537
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8538
 
if test "${ac_cv_header_stdc+set}" = set; then
8539
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8540
 
else
8541
 
  cat >conftest.$ac_ext <<_ACEOF
8542
 
/* confdefs.h.  */
8543
 
_ACEOF
8544
 
cat confdefs.h >>conftest.$ac_ext
8545
 
cat >>conftest.$ac_ext <<_ACEOF
8546
 
/* end confdefs.h.  */
8547
 
#include <stdlib.h>
8548
 
#include <stdarg.h>
8549
 
#include <string.h>
8550
 
#include <float.h>
8551
 
 
8552
 
int
8553
 
main ()
8554
 
{
8555
 
 
8556
 
  ;
8557
 
  return 0;
8558
 
}
8559
 
_ACEOF
8560
 
rm -f conftest.$ac_objext
8561
 
if { (ac_try="$ac_compile"
8562
 
case "(($ac_try" in
8563
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8564
 
  *) ac_try_echo=$ac_try;;
8565
 
esac
8566
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8567
 
  (eval "$ac_compile") 2>conftest.er1
8568
 
  ac_status=$?
8569
 
  grep -v '^ *+' conftest.er1 >conftest.err
8570
 
  rm -f conftest.er1
8571
 
  cat conftest.err >&5
8572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573
 
  (exit $ac_status); } && {
8574
 
         test -z "$ac_c_werror_flag" ||
8575
 
         test ! -s conftest.err
8576
 
       } && test -s conftest.$ac_objext; then
8577
 
  ac_cv_header_stdc=yes
8578
 
else
8579
 
  echo "$as_me: failed program was:" >&5
8580
 
sed 's/^/| /' conftest.$ac_ext >&5
8581
 
 
8582
 
        ac_cv_header_stdc=no
8583
 
fi
8584
 
 
8585
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8586
 
 
8587
 
if test $ac_cv_header_stdc = yes; then
8588
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8589
 
  cat >conftest.$ac_ext <<_ACEOF
8590
 
/* confdefs.h.  */
8591
 
_ACEOF
8592
 
cat confdefs.h >>conftest.$ac_ext
8593
 
cat >>conftest.$ac_ext <<_ACEOF
8594
 
/* end confdefs.h.  */
8595
 
#include <string.h>
8596
 
 
8597
 
_ACEOF
8598
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8599
 
  $EGREP "memchr" >/dev/null 2>&1; then
8600
 
  :
8601
 
else
8602
 
  ac_cv_header_stdc=no
8603
 
fi
8604
 
rm -f conftest*
8605
 
 
8606
 
fi
8607
 
 
8608
 
if test $ac_cv_header_stdc = yes; then
8609
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8610
 
  cat >conftest.$ac_ext <<_ACEOF
8611
 
/* confdefs.h.  */
8612
 
_ACEOF
8613
 
cat confdefs.h >>conftest.$ac_ext
8614
 
cat >>conftest.$ac_ext <<_ACEOF
8615
 
/* end confdefs.h.  */
8616
 
#include <stdlib.h>
8617
 
 
8618
 
_ACEOF
8619
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8620
 
  $EGREP "free" >/dev/null 2>&1; then
8621
 
  :
8622
 
else
8623
 
  ac_cv_header_stdc=no
8624
 
fi
8625
 
rm -f conftest*
8626
 
 
8627
 
fi
8628
 
 
8629
 
if test $ac_cv_header_stdc = yes; then
8630
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8631
 
  if test "$cross_compiling" = yes; then
8632
 
  :
8633
 
else
8634
 
  cat >conftest.$ac_ext <<_ACEOF
8635
 
/* confdefs.h.  */
8636
 
_ACEOF
8637
 
cat confdefs.h >>conftest.$ac_ext
8638
 
cat >>conftest.$ac_ext <<_ACEOF
8639
 
/* end confdefs.h.  */
8640
 
#include <ctype.h>
8641
 
#include <stdlib.h>
8642
 
#if ((' ' & 0x0FF) == 0x020)
8643
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8644
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8645
 
#else
8646
 
# define ISLOWER(c) \
8647
 
                   (('a' <= (c) && (c) <= 'i') \
8648
 
                     || ('j' <= (c) && (c) <= 'r') \
8649
 
                     || ('s' <= (c) && (c) <= 'z'))
8650
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8651
 
#endif
8652
 
 
8653
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8654
 
int
8655
 
main ()
8656
 
{
8657
 
  int i;
8658
 
  for (i = 0; i < 256; i++)
8659
 
    if (XOR (islower (i), ISLOWER (i))
8660
 
        || toupper (i) != TOUPPER (i))
8661
 
      return 2;
8662
 
  return 0;
8663
 
}
8664
 
_ACEOF
8665
 
rm -f conftest$ac_exeext
8666
 
if { (ac_try="$ac_link"
8667
 
case "(($ac_try" in
8668
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8669
 
  *) ac_try_echo=$ac_try;;
8670
 
esac
8671
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8672
 
  (eval "$ac_link") 2>&5
8673
 
  ac_status=$?
8674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8676
 
  { (case "(($ac_try" in
8677
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8678
 
  *) ac_try_echo=$ac_try;;
8679
 
esac
8680
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8681
 
  (eval "$ac_try") 2>&5
8682
 
  ac_status=$?
8683
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684
 
  (exit $ac_status); }; }; then
8685
 
  :
8686
 
else
8687
 
  echo "$as_me: program exited with status $ac_status" >&5
8688
 
echo "$as_me: failed program was:" >&5
8689
 
sed 's/^/| /' conftest.$ac_ext >&5
8690
 
 
8691
 
( exit $ac_status )
8692
 
ac_cv_header_stdc=no
8693
 
fi
8694
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8695
 
fi
8696
 
 
8697
 
 
8698
 
fi
8699
 
fi
8700
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8701
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8702
 
if test $ac_cv_header_stdc = yes; then
8703
 
 
8704
 
cat >>confdefs.h <<\_ACEOF
8705
 
#define STDC_HEADERS 1
8706
 
_ACEOF
8707
 
 
8708
 
fi
8709
 
 
8710
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8711
 
 
8712
 
 
8713
 
 
8714
 
 
8715
 
 
8716
 
 
8717
 
 
8718
 
 
8719
 
 
8720
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8721
 
                  inttypes.h stdint.h unistd.h
8722
 
do
8723
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8724
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8725
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8726
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8727
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8728
 
else
8729
 
  cat >conftest.$ac_ext <<_ACEOF
8730
 
/* confdefs.h.  */
8731
 
_ACEOF
8732
 
cat confdefs.h >>conftest.$ac_ext
8733
 
cat >>conftest.$ac_ext <<_ACEOF
8734
 
/* end confdefs.h.  */
8735
 
$ac_includes_default
8736
 
 
8737
 
#include <$ac_header>
8738
 
_ACEOF
8739
 
rm -f conftest.$ac_objext
8740
 
if { (ac_try="$ac_compile"
8741
 
case "(($ac_try" in
8742
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8743
 
  *) ac_try_echo=$ac_try;;
8744
 
esac
8745
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8746
 
  (eval "$ac_compile") 2>conftest.er1
8747
 
  ac_status=$?
8748
 
  grep -v '^ *+' conftest.er1 >conftest.err
8749
 
  rm -f conftest.er1
8750
 
  cat conftest.err >&5
8751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752
 
  (exit $ac_status); } && {
8753
 
         test -z "$ac_c_werror_flag" ||
8754
 
         test ! -s conftest.err
8755
 
       } && test -s conftest.$ac_objext; then
8756
 
  eval "$as_ac_Header=yes"
8757
 
else
8758
 
  echo "$as_me: failed program was:" >&5
8759
 
sed 's/^/| /' conftest.$ac_ext >&5
8760
 
 
8761
 
        eval "$as_ac_Header=no"
8762
 
fi
8763
 
 
8764
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8765
 
fi
8766
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8767
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8768
 
echo "${ECHO_T}$ac_res" >&6; }
8769
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8770
 
  cat >>confdefs.h <<_ACEOF
8771
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8772
 
_ACEOF
8773
 
 
8774
 
fi
8775
 
 
8776
 
done
8777
 
 
8778
 
 
8779
 
 
8780
 
for ac_header in dlfcn.h
8781
 
do
8782
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8783
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8784
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8785
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8786
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8787
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8788
 
fi
8789
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8790
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8791
 
echo "${ECHO_T}$ac_res" >&6; }
8792
 
else
8793
 
  # Is the header compilable?
8794
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8795
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8796
 
cat >conftest.$ac_ext <<_ACEOF
8797
 
/* confdefs.h.  */
8798
 
_ACEOF
8799
 
cat confdefs.h >>conftest.$ac_ext
8800
 
cat >>conftest.$ac_ext <<_ACEOF
8801
 
/* end confdefs.h.  */
8802
 
$ac_includes_default
8803
 
#include <$ac_header>
8804
 
_ACEOF
8805
 
rm -f conftest.$ac_objext
8806
 
if { (ac_try="$ac_compile"
8807
 
case "(($ac_try" in
8808
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8809
 
  *) ac_try_echo=$ac_try;;
8810
 
esac
8811
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8812
 
  (eval "$ac_compile") 2>conftest.er1
8813
 
  ac_status=$?
8814
 
  grep -v '^ *+' conftest.er1 >conftest.err
8815
 
  rm -f conftest.er1
8816
 
  cat conftest.err >&5
8817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818
 
  (exit $ac_status); } && {
8819
 
         test -z "$ac_c_werror_flag" ||
8820
 
         test ! -s conftest.err
8821
 
       } && test -s conftest.$ac_objext; then
8822
 
  ac_header_compiler=yes
8823
 
else
8824
 
  echo "$as_me: failed program was:" >&5
8825
 
sed 's/^/| /' conftest.$ac_ext >&5
8826
 
 
8827
 
        ac_header_compiler=no
8828
 
fi
8829
 
 
8830
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8831
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8832
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
8833
 
 
8834
 
# Is the header present?
8835
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8836
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8837
 
cat >conftest.$ac_ext <<_ACEOF
8838
 
/* confdefs.h.  */
8839
 
_ACEOF
8840
 
cat confdefs.h >>conftest.$ac_ext
8841
 
cat >>conftest.$ac_ext <<_ACEOF
8842
 
/* end confdefs.h.  */
8843
 
#include <$ac_header>
8844
 
_ACEOF
8845
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8846
 
case "(($ac_try" in
8847
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8848
 
  *) ac_try_echo=$ac_try;;
8849
 
esac
8850
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8851
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8852
 
  ac_status=$?
8853
 
  grep -v '^ *+' conftest.er1 >conftest.err
8854
 
  rm -f conftest.er1
8855
 
  cat conftest.err >&5
8856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857
 
  (exit $ac_status); } >/dev/null && {
8858
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8859
 
         test ! -s conftest.err
8860
 
       }; then
8861
 
  ac_header_preproc=yes
8862
 
else
8863
 
  echo "$as_me: failed program was:" >&5
8864
 
sed 's/^/| /' conftest.$ac_ext >&5
8865
 
 
8866
 
  ac_header_preproc=no
8867
 
fi
8868
 
 
8869
 
rm -f conftest.err conftest.$ac_ext
8870
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8871
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
8872
 
 
8873
 
# So?  What about this header?
8874
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8875
 
  yes:no: )
8876
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8877
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8878
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8879
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8880
 
    ac_header_preproc=yes
8881
 
    ;;
8882
 
  no:yes:* )
8883
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8884
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8885
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8886
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8887
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8888
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8889
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8890
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8891
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8892
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8893
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8894
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8895
 
 
8896
 
    ;;
8897
 
esac
8898
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8899
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8900
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8901
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8902
 
else
8903
 
  eval "$as_ac_Header=\$ac_header_preproc"
8904
 
fi
8905
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8906
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8907
 
echo "${ECHO_T}$ac_res" >&6; }
8908
 
 
8909
 
fi
8910
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8911
 
  cat >>confdefs.h <<_ACEOF
8912
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8913
 
_ACEOF
8914
 
 
8915
 
fi
8916
 
 
8917
 
done
8918
 
 
8919
 
ac_ext=f
8920
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8921
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8922
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8923
 
if test -n "$ac_tool_prefix"; then
8924
 
  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
8925
 
  do
8926
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8927
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8928
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8929
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8930
 
if test "${ac_cv_prog_F77+set}" = set; then
8931
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8932
 
else
8933
 
  if test -n "$F77"; then
8934
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
8935
 
else
8936
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8937
 
for as_dir in $PATH
8938
 
do
8939
 
  IFS=$as_save_IFS
8940
 
  test -z "$as_dir" && as_dir=.
8941
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8942
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8943
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8944
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8945
 
    break 2
8946
 
  fi
8947
 
done
8948
 
done
8949
 
IFS=$as_save_IFS
8950
 
 
8951
 
fi
8952
 
fi
8953
 
F77=$ac_cv_prog_F77
8954
 
if test -n "$F77"; then
8955
 
  { echo "$as_me:$LINENO: result: $F77" >&5
8956
 
echo "${ECHO_T}$F77" >&6; }
8957
 
else
8958
 
  { echo "$as_me:$LINENO: result: no" >&5
8959
 
echo "${ECHO_T}no" >&6; }
8960
 
fi
8961
 
 
8962
 
 
8963
 
    test -n "$F77" && break
8964
 
  done
8965
 
fi
8966
 
if test -z "$F77"; then
8967
 
  ac_ct_F77=$F77
8968
 
  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
8969
 
do
8970
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8971
 
set dummy $ac_prog; ac_word=$2
8972
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8973
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8974
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8975
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8976
 
else
8977
 
  if test -n "$ac_ct_F77"; then
8978
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
8979
 
else
8980
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8981
 
for as_dir in $PATH
8982
 
do
8983
 
  IFS=$as_save_IFS
8984
 
  test -z "$as_dir" && as_dir=.
8985
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8986
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8987
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
8988
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8989
 
    break 2
8990
 
  fi
8991
 
done
8992
 
done
8993
 
IFS=$as_save_IFS
8994
 
 
8995
 
fi
8996
 
fi
8997
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
8998
 
if test -n "$ac_ct_F77"; then
8999
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
9000
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
9001
 
else
9002
 
  { echo "$as_me:$LINENO: result: no" >&5
9003
 
echo "${ECHO_T}no" >&6; }
9004
 
fi
9005
 
 
9006
 
 
9007
 
  test -n "$ac_ct_F77" && break
9008
 
done
9009
 
 
9010
 
  if test "x$ac_ct_F77" = x; then
9011
 
    F77=""
9012
 
  else
9013
 
    case $cross_compiling:$ac_tool_warned in
9014
 
yes:)
9015
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9016
 
whose name does not start with the host triplet.  If you think this
9017
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9018
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9019
 
whose name does not start with the host triplet.  If you think this
9020
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9021
 
ac_tool_warned=yes ;;
9022
 
esac
9023
 
    F77=$ac_ct_F77
9024
 
  fi
9025
 
fi
9026
 
 
9027
 
 
9028
 
# Provide some information about the compiler.
9029
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
9030
 
ac_compiler=`set X $ac_compile; echo $2`
9031
 
{ (ac_try="$ac_compiler --version >&5"
9032
 
case "(($ac_try" in
9033
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9034
 
  *) ac_try_echo=$ac_try;;
9035
 
esac
9036
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9037
 
  (eval "$ac_compiler --version >&5") 2>&5
9038
 
  ac_status=$?
9039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040
 
  (exit $ac_status); }
9041
 
{ (ac_try="$ac_compiler -v >&5"
9042
 
case "(($ac_try" in
9043
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9044
 
  *) ac_try_echo=$ac_try;;
9045
 
esac
9046
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9047
 
  (eval "$ac_compiler -v >&5") 2>&5
9048
 
  ac_status=$?
9049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050
 
  (exit $ac_status); }
9051
 
{ (ac_try="$ac_compiler -V >&5"
9052
 
case "(($ac_try" in
9053
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9054
 
  *) ac_try_echo=$ac_try;;
9055
 
esac
9056
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9057
 
  (eval "$ac_compiler -V >&5") 2>&5
9058
 
  ac_status=$?
9059
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060
 
  (exit $ac_status); }
9061
 
rm -f a.out
9062
 
 
9063
 
# If we don't use `.F' as extension, the preprocessor is not run on the
9064
 
# input file.  (Note that this only needs to work for GNU compilers.)
9065
 
ac_save_ext=$ac_ext
9066
 
ac_ext=F
9067
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
9068
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
9069
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
9070
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9071
 
else
9072
 
  cat >conftest.$ac_ext <<_ACEOF
9073
 
      program main
9074
 
#ifndef __GNUC__
9075
 
       choke me
9076
 
#endif
9077
 
 
9078
 
      end
9079
 
_ACEOF
9080
 
rm -f conftest.$ac_objext
9081
 
if { (ac_try="$ac_compile"
9082
 
case "(($ac_try" in
9083
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9084
 
  *) ac_try_echo=$ac_try;;
9085
 
esac
9086
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9087
 
  (eval "$ac_compile") 2>conftest.er1
9088
 
  ac_status=$?
9089
 
  grep -v '^ *+' conftest.er1 >conftest.err
9090
 
  rm -f conftest.er1
9091
 
  cat conftest.err >&5
9092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093
 
  (exit $ac_status); } && {
9094
 
         test -z "$ac_f77_werror_flag" ||
9095
 
         test ! -s conftest.err
9096
 
       } && test -s conftest.$ac_objext; then
9097
 
  ac_compiler_gnu=yes
9098
 
else
9099
 
  echo "$as_me: failed program was:" >&5
9100
 
sed 's/^/| /' conftest.$ac_ext >&5
9101
 
 
9102
 
        ac_compiler_gnu=no
9103
 
fi
9104
 
 
9105
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9106
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
9107
 
 
9108
 
fi
9109
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9110
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
9111
 
ac_ext=$ac_save_ext
9112
 
ac_test_FFLAGS=${FFLAGS+set}
9113
 
ac_save_FFLAGS=$FFLAGS
9114
 
FFLAGS=
9115
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9116
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
9117
 
if test "${ac_cv_prog_f77_g+set}" = set; then
9118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9119
 
else
9120
 
  FFLAGS=-g
9121
 
cat >conftest.$ac_ext <<_ACEOF
9122
 
      program main
9123
 
 
9124
 
      end
9125
 
_ACEOF
9126
 
rm -f conftest.$ac_objext
9127
 
if { (ac_try="$ac_compile"
9128
 
case "(($ac_try" in
9129
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9130
 
  *) ac_try_echo=$ac_try;;
9131
 
esac
9132
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9133
 
  (eval "$ac_compile") 2>conftest.er1
9134
 
  ac_status=$?
9135
 
  grep -v '^ *+' conftest.er1 >conftest.err
9136
 
  rm -f conftest.er1
9137
 
  cat conftest.err >&5
9138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139
 
  (exit $ac_status); } && {
9140
 
         test -z "$ac_f77_werror_flag" ||
9141
 
         test ! -s conftest.err
9142
 
       } && test -s conftest.$ac_objext; then
9143
 
  ac_cv_prog_f77_g=yes
9144
 
else
9145
 
  echo "$as_me: failed program was:" >&5
9146
 
sed 's/^/| /' conftest.$ac_ext >&5
9147
 
 
9148
 
        ac_cv_prog_f77_g=no
9149
 
fi
9150
 
 
9151
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9152
 
 
9153
 
fi
9154
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9155
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
9156
 
if test "$ac_test_FFLAGS" = set; then
9157
 
  FFLAGS=$ac_save_FFLAGS
9158
 
elif test $ac_cv_prog_f77_g = yes; then
9159
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9160
 
    FFLAGS="-g -O2"
9161
 
  else
9162
 
    FFLAGS="-g"
9163
 
  fi
9164
 
else
9165
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9166
 
    FFLAGS="-O2"
9167
 
  else
9168
 
    FFLAGS=
9169
 
  fi
9170
 
fi
9171
 
 
9172
 
G77=`test $ac_compiler_gnu = yes && echo yes`
9173
 
ac_ext=c
9174
 
ac_cpp='$CPP $CPPFLAGS'
9175
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9176
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9177
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9178
 
 
9179
 
 
9180
 
 
9181
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
9182
 
 
9183
 
# find the maximum length of command line arguments
9184
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9185
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9186
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9187
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9188
 
else
9189
 
    i=0
9190
 
  testring="ABCD"
9191
 
 
9192
 
  case $build_os in
9193
 
  msdosdjgpp*)
9194
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
9195
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
9196
 
    # during glob expansion).  Even if it were fixed, the result of this
9197
 
    # check would be larger than it should be.
9198
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
9199
 
    ;;
9200
 
 
9201
 
  gnu*)
9202
 
    # Under GNU Hurd, this test is not required because there is
9203
 
    # no limit to the length of command line arguments.
9204
 
    # Libtool will interpret -1 as no limit whatsoever
9205
 
    lt_cv_sys_max_cmd_len=-1;
9206
 
    ;;
9207
 
 
9208
 
  cygwin* | mingw*)
9209
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
9210
 
    # about 5 minutes as the teststring grows exponentially.
9211
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
9212
 
    # you end up with a "frozen" computer, even though with patience
9213
 
    # the test eventually succeeds (with a max line length of 256k).
9214
 
    # Instead, let's just punt: use the minimum linelength reported by
9215
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
9216
 
    lt_cv_sys_max_cmd_len=8192;
9217
 
    ;;
9218
 
 
9219
 
 *)
9220
 
    # If test is not a shell built-in, we'll probably end up computing a
9221
 
    # maximum length that is only half of the actual maximum length, but
9222
 
    # we can't tell.
9223
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
9224
 
               = "XX$testring") >/dev/null 2>&1 &&
9225
 
            new_result=`expr "X$testring" : ".*" 2>&1` &&
9226
 
            lt_cv_sys_max_cmd_len=$new_result &&
9227
 
            test $i != 17 # 1/2 MB should be enough
9228
 
    do
9229
 
      i=`expr $i + 1`
9230
 
      testring=$testring$testring
9231
 
    done
9232
 
    testring=
9233
 
    # Add a significant safety factor because C++ compilers can tack on massive
9234
 
    # amounts of additional arguments before passing them to the linker.
9235
 
    # It appears as though 1/2 is a usable value.
9236
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9237
 
    ;;
9238
 
  esac
9239
 
 
9240
 
fi
9241
 
 
9242
 
if test -n $lt_cv_sys_max_cmd_len ; then
9243
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9244
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9245
 
else
9246
 
  { echo "$as_me:$LINENO: result: none" >&5
9247
 
echo "${ECHO_T}none" >&6; }
9248
 
fi
9249
 
 
9250
 
 
9251
 
 
9252
 
 
9253
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
9254
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9255
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9256
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9257
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9258
 
else
9259
 
 
9260
 
# These are sane defaults that work on at least a few old systems.
9261
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9262
 
 
9263
 
# Character class describing NM global symbol codes.
9264
 
symcode='[BCDEGRST]'
9265
 
 
9266
 
# Regexp to match symbols that can be accessed directly from C.
9267
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9268
 
 
9269
 
# Transform the above into a raw symbol and a C symbol.
9270
 
symxfrm='\1 \2\3 \3'
9271
 
 
9272
 
# Transform an extracted symbol line into a proper C declaration
9273
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9274
 
 
9275
 
# Transform an extracted symbol line into symbol name and symbol address
9276
 
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'"
9277
 
 
9278
 
# Define system-specific variables.
9279
 
case $host_os in
9280
 
aix*)
9281
 
  symcode='[BCDT]'
9282
 
  ;;
9283
 
cygwin* | mingw* | pw32*)
9284
 
  symcode='[ABCDGISTW]'
9285
 
  ;;
9286
 
hpux*) # Its linker distinguishes data from code symbols
9287
 
  if test "$host_cpu" = ia64; then
9288
 
    symcode='[ABCDEGRST]'
9289
 
  fi
9290
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9291
 
  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'"
9292
 
  ;;
9293
 
irix* | nonstopux*)
9294
 
  symcode='[BCDEGRST]'
9295
 
  ;;
9296
 
osf*)
9297
 
  symcode='[BCDEGQRST]'
9298
 
  ;;
9299
 
solaris* | sysv5*)
9300
 
  symcode='[BDT]'
9301
 
  ;;
9302
 
sysv4)
9303
 
  symcode='[DFNSTU]'
9304
 
  ;;
9305
 
esac
9306
 
 
9307
 
# Handle CRLF in mingw tool chain
9308
 
opt_cr=
9309
 
case $build_os in
9310
 
mingw*)
9311
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9312
 
  ;;
9313
 
esac
9314
 
 
9315
 
# If we're using GNU nm, then use its standard symbol codes.
9316
 
case `$NM -V 2>&1` in
9317
 
*GNU* | *'with BFD'*)
9318
 
  symcode='[ABCDGISTW]' ;;
9319
 
esac
9320
 
 
9321
 
# Try without a prefix undercore, then with it.
9322
 
for ac_symprfx in "" "_"; do
9323
 
 
9324
 
  # Write the raw and C identifiers.
9325
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
9326
 
 
9327
 
  # Check to see that the pipe works correctly.
9328
 
  pipe_works=no
9329
 
 
9330
 
  rm -f conftest*
9331
 
  cat > conftest.$ac_ext <<EOF
9332
 
#ifdef __cplusplus
9333
 
extern "C" {
9334
 
#endif
9335
 
char nm_test_var;
9336
 
void nm_test_func(){}
9337
 
#ifdef __cplusplus
9338
 
}
9339
 
#endif
9340
 
int main(){nm_test_var='a';nm_test_func();return(0);}
9341
 
EOF
9342
 
 
9343
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9344
 
  (eval $ac_compile) 2>&5
9345
 
  ac_status=$?
9346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347
 
  (exit $ac_status); }; then
9348
 
    # Now try to grab the symbols.
9349
 
    nlist=conftest.nm
9350
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9351
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9352
 
  ac_status=$?
9353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354
 
  (exit $ac_status); } && test -s "$nlist"; then
9355
 
      # Try sorting and uniquifying the output.
9356
 
      if sort "$nlist" | uniq > "$nlist"T; then
9357
 
        mv -f "$nlist"T "$nlist"
9358
 
      else
9359
 
        rm -f "$nlist"T
9360
 
      fi
9361
 
 
9362
 
      # Make sure that we snagged all the symbols we need.
9363
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
9364
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
9365
 
          cat <<EOF > conftest.$ac_ext
9366
 
#ifdef __cplusplus
9367
 
extern "C" {
9368
 
#endif
9369
 
 
9370
 
EOF
9371
 
          # Now generate the symbol file.
9372
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9373
 
 
9374
 
          cat <<EOF >> conftest.$ac_ext
9375
 
#if defined (__STDC__) && __STDC__
9376
 
# define lt_ptr_t void *
9377
 
#else
9378
 
# define lt_ptr_t char *
9379
 
# define const
9380
 
#endif
9381
 
 
9382
 
/* The mapping between symbol names and symbols. */
9383
 
const struct {
9384
 
  const char *name;
9385
 
  lt_ptr_t address;
9386
 
}
9387
 
lt_preloaded_symbols[] =
9388
 
{
9389
 
EOF
9390
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9391
 
          cat <<\EOF >> conftest.$ac_ext
9392
 
  {0, (lt_ptr_t) 0}
9393
 
};
9394
 
 
9395
 
#ifdef __cplusplus
9396
 
}
9397
 
#endif
9398
 
EOF
9399
 
          # Now try linking the two files.
9400
 
          mv conftest.$ac_objext conftstm.$ac_objext
9401
 
          lt_save_LIBS="$LIBS"
9402
 
          lt_save_CFLAGS="$CFLAGS"
9403
 
          LIBS="conftstm.$ac_objext"
9404
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9405
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9406
 
  (eval $ac_link) 2>&5
9407
 
  ac_status=$?
9408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
9410
 
            pipe_works=yes
9411
 
          fi
9412
 
          LIBS="$lt_save_LIBS"
9413
 
          CFLAGS="$lt_save_CFLAGS"
9414
 
        else
9415
 
          echo "cannot find nm_test_func in $nlist" >&5
9416
 
        fi
9417
 
      else
9418
 
        echo "cannot find nm_test_var in $nlist" >&5
9419
 
      fi
9420
 
    else
9421
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9422
 
    fi
9423
 
  else
9424
 
    echo "$progname: failed program was:" >&5
9425
 
    cat conftest.$ac_ext >&5
9426
 
  fi
9427
 
  rm -f conftest* conftst*
9428
 
 
9429
 
  # Do not use the global_symbol_pipe unless it works.
9430
 
  if test "$pipe_works" = yes; then
9431
 
    break
9432
 
  else
9433
 
    lt_cv_sys_global_symbol_pipe=
9434
 
  fi
9435
 
done
9436
 
 
9437
 
fi
9438
 
 
9439
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
9440
 
  lt_cv_sys_global_symbol_to_cdecl=
9441
 
fi
9442
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9443
 
  { echo "$as_me:$LINENO: result: failed" >&5
9444
 
echo "${ECHO_T}failed" >&6; }
9445
 
else
9446
 
  { echo "$as_me:$LINENO: result: ok" >&5
9447
 
echo "${ECHO_T}ok" >&6; }
9448
 
fi
9449
 
 
9450
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
9451
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9452
 
if test "${lt_cv_objdir+set}" = set; then
9453
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9454
 
else
9455
 
  rm -f .libs 2>/dev/null
9456
 
mkdir .libs 2>/dev/null
9457
 
if test -d .libs; then
9458
 
  lt_cv_objdir=.libs
9459
 
else
9460
 
  # MS-DOS does not allow filenames that begin with a dot.
9461
 
  lt_cv_objdir=_libs
9462
 
fi
9463
 
rmdir .libs 2>/dev/null
9464
 
fi
9465
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9466
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
9467
 
objdir=$lt_cv_objdir
9468
 
 
9469
 
 
9470
 
 
9471
 
 
9472
 
 
9473
 
case $host_os in
9474
 
aix3*)
9475
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
9476
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
9477
 
  # vanish in a puff of smoke.
9478
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
9479
 
    COLLECT_NAMES=
9480
 
    export COLLECT_NAMES
9481
 
  fi
9482
 
  ;;
9483
 
esac
9484
 
 
9485
 
# Sed substitution that helps us do robust quoting.  It backslashifies
9486
 
# metacharacters that are still active within double-quoted strings.
9487
 
Xsed='sed -e s/^X//'
9488
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
9489
 
 
9490
 
# Same as above, but do not quote variable references.
9491
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
9492
 
 
9493
 
# Sed substitution to delay expansion of an escaped shell variable in a
9494
 
# double_quote_subst'ed string.
9495
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9496
 
 
9497
 
# Sed substitution to avoid accidental globbing in evaled expressions
9498
 
no_glob_subst='s/\*/\\\*/g'
9499
 
 
9500
 
# Constants:
9501
 
rm="rm -f"
9502
 
 
9503
 
# Global variables:
9504
 
default_ofile=libtool
9505
 
can_build_shared=yes
9506
 
 
9507
 
# All known linkers require a `.a' archive for static linking (except M$VC,
9508
 
# which needs '.lib').
9509
 
libext=a
9510
 
ltmain="$ac_aux_dir/ltmain.sh"
9511
 
ofile="$default_ofile"
9512
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
9513
 
 
9514
 
if test -n "$ac_tool_prefix"; then
9515
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9516
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
9517
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9518
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9519
 
if test "${ac_cv_prog_AR+set}" = set; then
9520
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9521
 
else
9522
 
  if test -n "$AR"; then
9523
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
9524
 
else
9525
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9526
 
for as_dir in $PATH
9527
 
do
9528
 
  IFS=$as_save_IFS
9529
 
  test -z "$as_dir" && as_dir=.
9530
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9531
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9532
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
9533
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9534
 
    break 2
9535
 
  fi
9536
 
done
9537
 
done
9538
 
IFS=$as_save_IFS
9539
 
 
9540
 
fi
9541
 
fi
9542
 
AR=$ac_cv_prog_AR
9543
 
if test -n "$AR"; then
9544
 
  { echo "$as_me:$LINENO: result: $AR" >&5
9545
 
echo "${ECHO_T}$AR" >&6; }
9546
 
else
9547
 
  { echo "$as_me:$LINENO: result: no" >&5
9548
 
echo "${ECHO_T}no" >&6; }
9549
 
fi
9550
 
 
9551
 
 
9552
 
fi
9553
 
if test -z "$ac_cv_prog_AR"; then
9554
 
  ac_ct_AR=$AR
9555
 
  # Extract the first word of "ar", so it can be a program name with args.
9556
 
set dummy ar; ac_word=$2
9557
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9558
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9559
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9560
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9561
 
else
9562
 
  if test -n "$ac_ct_AR"; then
9563
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9564
 
else
9565
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9566
 
for as_dir in $PATH
9567
 
do
9568
 
  IFS=$as_save_IFS
9569
 
  test -z "$as_dir" && as_dir=.
9570
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9571
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9572
 
    ac_cv_prog_ac_ct_AR="ar"
9573
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9574
 
    break 2
9575
 
  fi
9576
 
done
9577
 
done
9578
 
IFS=$as_save_IFS
9579
 
 
9580
 
fi
9581
 
fi
9582
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
9583
 
if test -n "$ac_ct_AR"; then
9584
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9585
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
9586
 
else
9587
 
  { echo "$as_me:$LINENO: result: no" >&5
9588
 
echo "${ECHO_T}no" >&6; }
9589
 
fi
9590
 
 
9591
 
  if test "x$ac_ct_AR" = x; then
9592
 
    AR="false"
9593
 
  else
9594
 
    case $cross_compiling:$ac_tool_warned in
9595
 
yes:)
9596
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9597
 
whose name does not start with the host triplet.  If you think this
9598
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9599
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9600
 
whose name does not start with the host triplet.  If you think this
9601
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9602
 
ac_tool_warned=yes ;;
9603
 
esac
9604
 
    AR=$ac_ct_AR
9605
 
  fi
9606
 
else
9607
 
  AR="$ac_cv_prog_AR"
9608
 
fi
9609
 
 
9610
 
if test -n "$ac_tool_prefix"; then
9611
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9612
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9613
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9614
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9615
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
9616
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9617
 
else
9618
 
  if test -n "$RANLIB"; then
9619
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9620
 
else
9621
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9622
 
for as_dir in $PATH
9623
 
do
9624
 
  IFS=$as_save_IFS
9625
 
  test -z "$as_dir" && as_dir=.
9626
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9627
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9628
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9629
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9630
 
    break 2
9631
 
  fi
9632
 
done
9633
 
done
9634
 
IFS=$as_save_IFS
9635
 
 
9636
 
fi
9637
 
fi
9638
 
RANLIB=$ac_cv_prog_RANLIB
9639
 
if test -n "$RANLIB"; then
9640
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
9641
 
echo "${ECHO_T}$RANLIB" >&6; }
9642
 
else
9643
 
  { echo "$as_me:$LINENO: result: no" >&5
9644
 
echo "${ECHO_T}no" >&6; }
9645
 
fi
9646
 
 
9647
 
 
9648
 
fi
9649
 
if test -z "$ac_cv_prog_RANLIB"; then
9650
 
  ac_ct_RANLIB=$RANLIB
9651
 
  # Extract the first word of "ranlib", so it can be a program name with args.
9652
 
set dummy ranlib; ac_word=$2
9653
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9654
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9655
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9656
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9657
 
else
9658
 
  if test -n "$ac_ct_RANLIB"; then
9659
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9660
 
else
9661
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9662
 
for as_dir in $PATH
9663
 
do
9664
 
  IFS=$as_save_IFS
9665
 
  test -z "$as_dir" && as_dir=.
9666
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9667
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9668
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
9669
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9670
 
    break 2
9671
 
  fi
9672
 
done
9673
 
done
9674
 
IFS=$as_save_IFS
9675
 
 
9676
 
fi
9677
 
fi
9678
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9679
 
if test -n "$ac_ct_RANLIB"; then
9680
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9681
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9682
 
else
9683
 
  { echo "$as_me:$LINENO: result: no" >&5
9684
 
echo "${ECHO_T}no" >&6; }
9685
 
fi
9686
 
 
9687
 
  if test "x$ac_ct_RANLIB" = x; then
9688
 
    RANLIB=":"
9689
 
  else
9690
 
    case $cross_compiling:$ac_tool_warned in
9691
 
yes:)
9692
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9693
 
whose name does not start with the host triplet.  If you think this
9694
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9695
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9696
 
whose name does not start with the host triplet.  If you think this
9697
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9698
 
ac_tool_warned=yes ;;
9699
 
esac
9700
 
    RANLIB=$ac_ct_RANLIB
9701
 
  fi
9702
 
else
9703
 
  RANLIB="$ac_cv_prog_RANLIB"
9704
 
fi
9705
 
 
9706
 
if test -n "$ac_tool_prefix"; then
9707
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9708
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
9709
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9710
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9711
 
if test "${ac_cv_prog_STRIP+set}" = set; then
9712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9713
 
else
9714
 
  if test -n "$STRIP"; then
9715
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9716
 
else
9717
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9718
 
for as_dir in $PATH
9719
 
do
9720
 
  IFS=$as_save_IFS
9721
 
  test -z "$as_dir" && as_dir=.
9722
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9723
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9724
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9725
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9726
 
    break 2
9727
 
  fi
9728
 
done
9729
 
done
9730
 
IFS=$as_save_IFS
9731
 
 
9732
 
fi
9733
 
fi
9734
 
STRIP=$ac_cv_prog_STRIP
9735
 
if test -n "$STRIP"; then
9736
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
9737
 
echo "${ECHO_T}$STRIP" >&6; }
9738
 
else
9739
 
  { echo "$as_me:$LINENO: result: no" >&5
9740
 
echo "${ECHO_T}no" >&6; }
9741
 
fi
9742
 
 
9743
 
 
9744
 
fi
9745
 
if test -z "$ac_cv_prog_STRIP"; then
9746
 
  ac_ct_STRIP=$STRIP
9747
 
  # Extract the first word of "strip", so it can be a program name with args.
9748
 
set dummy strip; ac_word=$2
9749
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9750
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9751
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9752
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9753
 
else
9754
 
  if test -n "$ac_ct_STRIP"; then
9755
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9756
 
else
9757
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9758
 
for as_dir in $PATH
9759
 
do
9760
 
  IFS=$as_save_IFS
9761
 
  test -z "$as_dir" && as_dir=.
9762
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9763
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9764
 
    ac_cv_prog_ac_ct_STRIP="strip"
9765
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9766
 
    break 2
9767
 
  fi
9768
 
done
9769
 
done
9770
 
IFS=$as_save_IFS
9771
 
 
9772
 
fi
9773
 
fi
9774
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9775
 
if test -n "$ac_ct_STRIP"; then
9776
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9777
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9778
 
else
9779
 
  { echo "$as_me:$LINENO: result: no" >&5
9780
 
echo "${ECHO_T}no" >&6; }
9781
 
fi
9782
 
 
9783
 
  if test "x$ac_ct_STRIP" = x; then
9784
 
    STRIP=":"
9785
 
  else
9786
 
    case $cross_compiling:$ac_tool_warned in
9787
 
yes:)
9788
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9789
 
whose name does not start with the host triplet.  If you think this
9790
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9791
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9792
 
whose name does not start with the host triplet.  If you think this
9793
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9794
 
ac_tool_warned=yes ;;
9795
 
esac
9796
 
    STRIP=$ac_ct_STRIP
9797
 
  fi
9798
 
else
9799
 
  STRIP="$ac_cv_prog_STRIP"
9800
 
fi
9801
 
 
9802
 
 
9803
 
old_CC="$CC"
9804
 
old_CFLAGS="$CFLAGS"
9805
 
 
9806
 
# Set sane defaults for various variables
9807
 
test -z "$AR" && AR=ar
9808
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
9809
 
test -z "$AS" && AS=as
9810
 
test -z "$CC" && CC=cc
9811
 
test -z "$LTCC" && LTCC=$CC
9812
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
9813
 
test -z "$LD" && LD=ld
9814
 
test -z "$LN_S" && LN_S="ln -s"
9815
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9816
 
test -z "$NM" && NM=nm
9817
 
test -z "$SED" && SED=sed
9818
 
test -z "$OBJDUMP" && OBJDUMP=objdump
9819
 
test -z "$RANLIB" && RANLIB=:
9820
 
test -z "$STRIP" && STRIP=:
9821
 
test -z "$ac_objext" && ac_objext=o
9822
 
 
9823
 
# Determine commands to create old-style static archives.
9824
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
9825
 
old_postinstall_cmds='chmod 644 $oldlib'
9826
 
old_postuninstall_cmds=
9827
 
 
9828
 
if test -n "$RANLIB"; then
9829
 
  case $host_os in
9830
 
  openbsd*)
9831
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
9832
 
    ;;
9833
 
  *)
9834
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
9835
 
    ;;
9836
 
  esac
9837
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9838
 
fi
9839
 
 
9840
 
# Only perform the check for file, if the check method requires it
9841
 
case $deplibs_check_method in
9842
 
file_magic*)
9843
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9844
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9845
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9846
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9847
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9848
 
else
9849
 
  case $MAGIC_CMD in
9850
 
[\\/*] |  ?:[\\/]*)
9851
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9852
 
  ;;
9853
 
*)
9854
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9855
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9856
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9857
 
  for ac_dir in $ac_dummy; do
9858
 
    IFS="$lt_save_ifs"
9859
 
    test -z "$ac_dir" && ac_dir=.
9860
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
9861
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9862
 
      if test -n "$file_magic_test_file"; then
9863
 
        case $deplibs_check_method in
9864
 
        "file_magic "*)
9865
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9866
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9867
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9868
 
            $EGREP "$file_magic_regex" > /dev/null; then
9869
 
            :
9870
 
          else
9871
 
            cat <<EOF 1>&2
9872
 
 
9873
 
*** Warning: the command libtool uses to detect shared libraries,
9874
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9875
 
*** The result is that libtool may fail to recognize shared libraries
9876
 
*** as such.  This will affect the creation of libtool libraries that
9877
 
*** depend on shared libraries, but programs linked with such libtool
9878
 
*** libraries will work regardless of this problem.  Nevertheless, you
9879
 
*** may want to report the problem to your system manager and/or to
9880
 
*** bug-libtool@gnu.org
9881
 
 
9882
 
EOF
9883
 
          fi ;;
9884
 
        esac
9885
 
      fi
9886
 
      break
9887
 
    fi
9888
 
  done
9889
 
  IFS="$lt_save_ifs"
9890
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9891
 
  ;;
9892
 
esac
9893
 
fi
9894
 
 
9895
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9896
 
if test -n "$MAGIC_CMD"; then
9897
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9898
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9899
 
else
9900
 
  { echo "$as_me:$LINENO: result: no" >&5
9901
 
echo "${ECHO_T}no" >&6; }
9902
 
fi
9903
 
 
9904
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
9905
 
  if test -n "$ac_tool_prefix"; then
9906
 
    { echo "$as_me:$LINENO: checking for file" >&5
9907
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9908
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9909
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9910
 
else
9911
 
  case $MAGIC_CMD in
9912
 
[\\/*] |  ?:[\\/]*)
9913
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9914
 
  ;;
9915
 
*)
9916
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9917
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9918
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9919
 
  for ac_dir in $ac_dummy; do
9920
 
    IFS="$lt_save_ifs"
9921
 
    test -z "$ac_dir" && ac_dir=.
9922
 
    if test -f $ac_dir/file; then
9923
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9924
 
      if test -n "$file_magic_test_file"; then
9925
 
        case $deplibs_check_method in
9926
 
        "file_magic "*)
9927
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9928
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9929
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9930
 
            $EGREP "$file_magic_regex" > /dev/null; then
9931
 
            :
9932
 
          else
9933
 
            cat <<EOF 1>&2
9934
 
 
9935
 
*** Warning: the command libtool uses to detect shared libraries,
9936
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9937
 
*** The result is that libtool may fail to recognize shared libraries
9938
 
*** as such.  This will affect the creation of libtool libraries that
9939
 
*** depend on shared libraries, but programs linked with such libtool
9940
 
*** libraries will work regardless of this problem.  Nevertheless, you
9941
 
*** may want to report the problem to your system manager and/or to
9942
 
*** bug-libtool@gnu.org
9943
 
 
9944
 
EOF
9945
 
          fi ;;
9946
 
        esac
9947
 
      fi
9948
 
      break
9949
 
    fi
9950
 
  done
9951
 
  IFS="$lt_save_ifs"
9952
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9953
 
  ;;
9954
 
esac
9955
 
fi
9956
 
 
9957
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9958
 
if test -n "$MAGIC_CMD"; then
9959
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9960
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9961
 
else
9962
 
  { echo "$as_me:$LINENO: result: no" >&5
9963
 
echo "${ECHO_T}no" >&6; }
9964
 
fi
9965
 
 
9966
 
  else
9967
 
    MAGIC_CMD=:
9968
 
  fi
9969
 
fi
9970
 
 
9971
 
  fi
9972
 
  ;;
9973
 
esac
9974
 
 
9975
 
enable_dlopen=yes
9976
 
enable_win32_dll=no
9977
 
 
9978
 
# Check whether --enable-libtool-lock was given.
9979
 
if test "${enable_libtool_lock+set}" = set; then
9980
 
  enableval=$enable_libtool_lock;
9981
 
fi
9982
 
 
9983
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9984
 
 
9985
 
 
9986
 
# Check whether --with-pic was given.
9987
 
if test "${with_pic+set}" = set; then
9988
 
  withval=$with_pic; pic_mode="$withval"
9989
 
else
9990
 
  pic_mode=default
9991
 
fi
9992
 
 
9993
 
test -z "$pic_mode" && pic_mode=default
9994
 
 
9995
 
# Use C for the default configuration in the libtool script
9996
 
tagname=
9997
 
lt_save_CC="$CC"
9998
 
ac_ext=c
9999
 
ac_cpp='$CPP $CPPFLAGS'
10000
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10001
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10002
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10003
 
 
10004
 
 
10005
 
# Source file extension for C test sources.
10006
 
ac_ext=c
10007
 
 
10008
 
# Object file extension for compiled C test sources.
10009
 
objext=o
10010
 
objext=$objext
10011
 
 
10012
 
# Code to be used in simple compile tests
10013
 
lt_simple_compile_test_code="int some_variable = 0;\n"
10014
 
 
10015
 
# Code to be used in simple link tests
10016
 
lt_simple_link_test_code='int main(){return(0);}\n'
10017
 
 
10018
 
 
10019
 
# If no C compiler was specified, use CC.
10020
 
LTCC=${LTCC-"$CC"}
10021
 
 
10022
 
# Allow CC to be a program name with arguments.
10023
 
compiler=$CC
10024
 
 
10025
 
 
10026
 
#
10027
 
# Check for any special shared library compilation flags.
10028
 
#
10029
 
lt_prog_cc_shlib=
10030
 
if test "$GCC" = no; then
10031
 
  case $host_os in
10032
 
  sco3.2v5*)
10033
 
    lt_prog_cc_shlib='-belf'
10034
 
    ;;
10035
 
  esac
10036
 
fi
10037
 
if test -n "$lt_prog_cc_shlib"; then
10038
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
10039
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
10040
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
10041
 
  else
10042
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
10043
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
10044
 
    lt_cv_prog_cc_can_build_shared=no
10045
 
  fi
10046
 
fi
10047
 
 
10048
 
 
10049
 
#
10050
 
# Check to make sure the static flag actually works.
10051
 
#
10052
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
10053
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
10054
 
if test "${lt_prog_compiler_static_works+set}" = set; then
10055
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10056
 
else
10057
 
  lt_prog_compiler_static_works=no
10058
 
   save_LDFLAGS="$LDFLAGS"
10059
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
10060
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
10061
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10062
 
     # The compiler can only warn and ignore the option if not recognized
10063
 
     # So say no if there are warnings
10064
 
     if test -s conftest.err; then
10065
 
       # Append any errors to the config.log.
10066
 
       cat conftest.err 1>&5
10067
 
     else
10068
 
       lt_prog_compiler_static_works=yes
10069
 
     fi
10070
 
   fi
10071
 
   $rm conftest*
10072
 
   LDFLAGS="$save_LDFLAGS"
10073
 
 
10074
 
fi
10075
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10076
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
10077
 
 
10078
 
if test x"$lt_prog_compiler_static_works" = xyes; then
10079
 
    :
10080
 
else
10081
 
    lt_prog_compiler_static=
10082
 
fi
10083
 
 
10084
 
 
10085
 
 
10086
 
## CAVEAT EMPTOR:
10087
 
## There is no encapsulation within the following macros, do not change
10088
 
## the running order or otherwise move them around unless you know exactly
10089
 
## what you are doing...
10090
 
 
10091
 
lt_prog_compiler_no_builtin_flag=
10092
 
 
10093
 
if test "$GCC" = yes; then
10094
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10095
 
 
10096
 
 
10097
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10098
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10099
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10100
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10101
 
else
10102
 
  lt_cv_prog_compiler_rtti_exceptions=no
10103
 
  ac_outfile=conftest.$ac_objext
10104
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10105
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
10106
 
   # Insert the option either (1) after the last *FLAGS variable, or
10107
 
   # (2) before a word containing "conftest.", or (3) at the end.
10108
 
   # Note that $ac_compile itself does not contain backslashes and begins
10109
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10110
 
   # The option is referenced via a variable to avoid confusing sed.
10111
 
   lt_compile=`echo "$ac_compile" | $SED \
10112
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10113
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10114
 
   -e 's:$: $lt_compiler_flag:'`
10115
 
   (eval echo "\"\$as_me:10115: $lt_compile\"" >&5)
10116
 
   (eval "$lt_compile" 2>conftest.err)
10117
 
   ac_status=$?
10118
 
   cat conftest.err >&5
10119
 
   echo "$as_me:10119: \$? = $ac_status" >&5
10120
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
10121
 
     # The compiler can only warn and ignore the option if not recognized
10122
 
     # So say no if there are warnings
10123
 
     if test ! -s conftest.err; then
10124
 
       lt_cv_prog_compiler_rtti_exceptions=yes
10125
 
     fi
10126
 
   fi
10127
 
   $rm conftest*
10128
 
 
10129
 
fi
10130
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10131
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10132
 
 
10133
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10134
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10135
 
else
10136
 
    :
10137
 
fi
10138
 
 
10139
 
fi
10140
 
 
10141
 
lt_prog_compiler_wl=
10142
 
lt_prog_compiler_pic=
10143
 
lt_prog_compiler_static=
10144
 
 
10145
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10146
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10147
 
 
10148
 
  if test "$GCC" = yes; then
10149
 
    lt_prog_compiler_wl='-Wl,'
10150
 
    lt_prog_compiler_static='-static'
10151
 
 
10152
 
    case $host_os in
10153
 
      aix*)
10154
 
      # All AIX code is PIC.
10155
 
      if test "$host_cpu" = ia64; then
10156
 
        # AIX 5 now supports IA64 processor
10157
 
        lt_prog_compiler_static='-Bstatic'
10158
 
      fi
10159
 
      ;;
10160
 
 
10161
 
    amigaos*)
10162
 
      # FIXME: we need at least 68020 code to build shared libraries, but
10163
 
      # adding the `-m68020' flag to GCC prevents building anything better,
10164
 
      # like `-m68040'.
10165
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10166
 
      ;;
10167
 
 
10168
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10169
 
      # PIC is the default for these OSes.
10170
 
      ;;
10171
 
 
10172
 
    mingw* | pw32* | os2*)
10173
 
      # This hack is so that the source file can tell whether it is being
10174
 
      # built for inclusion in a dll (and should export symbols for example).
10175
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
10176
 
      ;;
10177
 
 
10178
 
    darwin* | rhapsody*)
10179
 
      # PIC is the default on this platform
10180
 
      # Common symbols not allowed in MH_DYLIB files
10181
 
      lt_prog_compiler_pic='-fno-common'
10182
 
      ;;
10183
 
 
10184
 
    msdosdjgpp*)
10185
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
10186
 
      # on systems that don't support them.
10187
 
      lt_prog_compiler_can_build_shared=no
10188
 
      enable_shared=no
10189
 
      ;;
10190
 
 
10191
 
    sysv4*MP*)
10192
 
      if test -d /usr/nec; then
10193
 
        lt_prog_compiler_pic=-Kconform_pic
10194
 
      fi
10195
 
      ;;
10196
 
 
10197
 
    hpux*)
10198
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10199
 
      # not for PA HP-UX.
10200
 
      case "$host_cpu" in
10201
 
      hppa*64*|ia64*)
10202
 
        # +Z the default
10203
 
        ;;
10204
 
      *)
10205
 
        lt_prog_compiler_pic='-fPIC'
10206
 
        ;;
10207
 
      esac
10208
 
      ;;
10209
 
 
10210
 
    *)
10211
 
      lt_prog_compiler_pic='-fPIC'
10212
 
      ;;
10213
 
    esac
10214
 
  else
10215
 
    # PORTME Check for flag to pass linker flags through the system compiler.
10216
 
    case $host_os in
10217
 
    aix*)
10218
 
      lt_prog_compiler_wl='-Wl,'
10219
 
      if test "$host_cpu" = ia64; then
10220
 
        # AIX 5 now supports IA64 processor
10221
 
        lt_prog_compiler_static='-Bstatic'
10222
 
      else
10223
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10224
 
      fi
10225
 
      ;;
10226
 
 
10227
 
    mingw* | pw32* | os2*)
10228
 
      # This hack is so that the source file can tell whether it is being
10229
 
      # built for inclusion in a dll (and should export symbols for example).
10230
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
10231
 
      ;;
10232
 
 
10233
 
    hpux9* | hpux10* | hpux11*)
10234
 
      lt_prog_compiler_wl='-Wl,'
10235
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10236
 
      # not for PA HP-UX.
10237
 
      case "$host_cpu" in
10238
 
      hppa*64*|ia64*)
10239
 
        # +Z the default
10240
 
        ;;
10241
 
      *)
10242
 
        lt_prog_compiler_pic='+Z'
10243
 
        ;;
10244
 
      esac
10245
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10246
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
10247
 
      ;;
10248
 
 
10249
 
    irix5* | irix6* | nonstopux*)
10250
 
      lt_prog_compiler_wl='-Wl,'
10251
 
      # PIC (with -KPIC) is the default.
10252
 
      lt_prog_compiler_static='-non_shared'
10253
 
      ;;
10254
 
 
10255
 
    newsos6)
10256
 
      lt_prog_compiler_pic='-KPIC'
10257
 
      lt_prog_compiler_static='-Bstatic'
10258
 
      ;;
10259
 
 
10260
 
    linux*)
10261
 
      case $CC in
10262
 
      icc* | ecc*)
10263
 
        lt_prog_compiler_wl='-Wl,'
10264
 
        lt_prog_compiler_pic='-KPIC'
10265
 
        lt_prog_compiler_static='-static'
10266
 
        ;;
10267
 
      ccc*)
10268
 
        lt_prog_compiler_wl='-Wl,'
10269
 
        # All Alpha code is PIC.
10270
 
        lt_prog_compiler_static='-non_shared'
10271
 
        ;;
10272
 
      esac
10273
 
      ;;
10274
 
 
10275
 
    osf3* | osf4* | osf5*)
10276
 
      lt_prog_compiler_wl='-Wl,'
10277
 
      # All OSF/1 code is PIC.
10278
 
      lt_prog_compiler_static='-non_shared'
10279
 
      ;;
10280
 
 
10281
 
    sco3.2v5*)
10282
 
      lt_prog_compiler_pic='-Kpic'
10283
 
      lt_prog_compiler_static='-dn'
10284
 
      ;;
10285
 
 
10286
 
    solaris*)
10287
 
      lt_prog_compiler_wl='-Wl,'
10288
 
      lt_prog_compiler_pic='-KPIC'
10289
 
      lt_prog_compiler_static='-Bstatic'
10290
 
      ;;
10291
 
 
10292
 
    sunos4*)
10293
 
      lt_prog_compiler_wl='-Qoption ld '
10294
 
      lt_prog_compiler_pic='-PIC'
10295
 
      lt_prog_compiler_static='-Bstatic'
10296
 
      ;;
10297
 
 
10298
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10299
 
      lt_prog_compiler_wl='-Wl,'
10300
 
      lt_prog_compiler_pic='-KPIC'
10301
 
      lt_prog_compiler_static='-Bstatic'
10302
 
      ;;
10303
 
 
10304
 
    sysv4*MP*)
10305
 
      if test -d /usr/nec ;then
10306
 
        lt_prog_compiler_pic='-Kconform_pic'
10307
 
        lt_prog_compiler_static='-Bstatic'
10308
 
      fi
10309
 
      ;;
10310
 
 
10311
 
    uts4*)
10312
 
      lt_prog_compiler_pic='-pic'
10313
 
      lt_prog_compiler_static='-Bstatic'
10314
 
      ;;
10315
 
 
10316
 
    *)
10317
 
      lt_prog_compiler_can_build_shared=no
10318
 
      ;;
10319
 
    esac
10320
 
  fi
10321
 
 
10322
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10323
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10324
 
 
10325
 
#
10326
 
# Check to make sure the PIC flag actually works.
10327
 
#
10328
 
if test -n "$lt_prog_compiler_pic"; then
10329
 
 
10330
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10331
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10332
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
10333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10334
 
else
10335
 
  lt_prog_compiler_pic_works=no
10336
 
  ac_outfile=conftest.$ac_objext
10337
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10338
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10339
 
   # Insert the option either (1) after the last *FLAGS variable, or
10340
 
   # (2) before a word containing "conftest.", or (3) at the end.
10341
 
   # Note that $ac_compile itself does not contain backslashes and begins
10342
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10343
 
   # The option is referenced via a variable to avoid confusing sed.
10344
 
   lt_compile=`echo "$ac_compile" | $SED \
10345
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10346
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10347
 
   -e 's:$: $lt_compiler_flag:'`
10348
 
   (eval echo "\"\$as_me:10348: $lt_compile\"" >&5)
10349
 
   (eval "$lt_compile" 2>conftest.err)
10350
 
   ac_status=$?
10351
 
   cat conftest.err >&5
10352
 
   echo "$as_me:10352: \$? = $ac_status" >&5
10353
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
10354
 
     # The compiler can only warn and ignore the option if not recognized
10355
 
     # So say no if there are warnings
10356
 
     if test ! -s conftest.err; then
10357
 
       lt_prog_compiler_pic_works=yes
10358
 
     fi
10359
 
   fi
10360
 
   $rm conftest*
10361
 
 
10362
 
fi
10363
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10364
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
10365
 
 
10366
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
10367
 
    case $lt_prog_compiler_pic in
10368
 
     "" | " "*) ;;
10369
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10370
 
     esac
10371
 
else
10372
 
    lt_prog_compiler_pic=
10373
 
     lt_prog_compiler_can_build_shared=no
10374
 
fi
10375
 
 
10376
 
fi
10377
 
case "$host_os" in
10378
 
  # For platforms which do not support PIC, -DPIC is meaningless:
10379
 
  *djgpp*)
10380
 
    lt_prog_compiler_pic=
10381
 
    ;;
10382
 
  *)
10383
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10384
 
    ;;
10385
 
esac
10386
 
 
10387
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10388
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10389
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10390
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10391
 
else
10392
 
  lt_cv_prog_compiler_c_o=no
10393
 
   $rm -r conftest 2>/dev/null
10394
 
   mkdir conftest
10395
 
   cd conftest
10396
 
   mkdir out
10397
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10398
 
 
10399
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10400
 
   # that will create temporary files in the current directory regardless of
10401
 
   # the output directory.  Thus, making CWD read-only will cause this test
10402
 
   # to fail, enabling locking or at least warning the user not to do parallel
10403
 
   # builds.
10404
 
   chmod -w .
10405
 
 
10406
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
10407
 
   # Insert the option either (1) after the last *FLAGS variable, or
10408
 
   # (2) before a word containing "conftest.", or (3) at the end.
10409
 
   # Note that $ac_compile itself does not contain backslashes and begins
10410
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10411
 
   lt_compile=`echo "$ac_compile" | $SED \
10412
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10413
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10414
 
   -e 's:$: $lt_compiler_flag:'`
10415
 
   (eval echo "\"\$as_me:10415: $lt_compile\"" >&5)
10416
 
   (eval "$lt_compile" 2>out/conftest.err)
10417
 
   ac_status=$?
10418
 
   cat out/conftest.err >&5
10419
 
   echo "$as_me:10419: \$? = $ac_status" >&5
10420
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10421
 
   then
10422
 
     # The compiler can only warn and ignore the option if not recognized
10423
 
     # So say no if there are warnings
10424
 
     if test ! -s out/conftest.err; then
10425
 
       lt_cv_prog_compiler_c_o=yes
10426
 
     fi
10427
 
   fi
10428
 
   chmod u+w .
10429
 
   $rm conftest* out/*
10430
 
   rmdir out
10431
 
   cd ..
10432
 
   rmdir conftest
10433
 
   $rm conftest*
10434
 
 
10435
 
fi
10436
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10437
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10438
 
 
10439
 
 
10440
 
hard_links="nottested"
10441
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10442
 
  # do not overwrite the value of need_locks provided by the user
10443
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10444
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10445
 
  hard_links=yes
10446
 
  $rm conftest*
10447
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10448
 
  touch conftest.a
10449
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
10450
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10451
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
10452
 
echo "${ECHO_T}$hard_links" >&6; }
10453
 
  if test "$hard_links" = no; then
10454
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10455
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10456
 
    need_locks=warn
10457
 
  fi
10458
 
else
10459
 
  need_locks=no
10460
 
fi
10461
 
 
10462
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10463
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10464
 
 
10465
 
  runpath_var=
10466
 
  allow_undefined_flag=
10467
 
  enable_shared_with_static_runtimes=no
10468
 
  archive_cmds=
10469
 
  archive_expsym_cmds=
10470
 
  old_archive_From_new_cmds=
10471
 
  old_archive_from_expsyms_cmds=
10472
 
  export_dynamic_flag_spec=
10473
 
  whole_archive_flag_spec=
10474
 
  thread_safe_flag_spec=
10475
 
  hardcode_libdir_flag_spec=
10476
 
  hardcode_libdir_flag_spec_ld=
10477
 
  hardcode_libdir_separator=
10478
 
  hardcode_direct=no
10479
 
  hardcode_minus_L=no
10480
 
  hardcode_shlibpath_var=unsupported
10481
 
  link_all_deplibs=unknown
10482
 
  hardcode_automatic=no
10483
 
  module_cmds=
10484
 
  module_expsym_cmds=
10485
 
  always_export_symbols=no
10486
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10487
 
  # include_expsyms should be a list of space-separated symbols to be *always*
10488
 
  # included in the symbol list
10489
 
  include_expsyms=
10490
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
10491
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
10492
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10493
 
  # as well as any symbol that contains `d'.
10494
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10495
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10496
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
10497
 
  # the symbol is explicitly referenced.  Since portable code cannot
10498
 
  # rely on this symbol name, it's probably fine to never include it in
10499
 
  # preloaded symbol tables.
10500
 
  extract_expsyms_cmds=
10501
 
 
10502
 
  case $host_os in
10503
 
  cygwin* | mingw* | pw32*)
10504
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10505
 
    # When not using gcc, we currently assume that we are using
10506
 
    # Microsoft Visual C++.
10507
 
    if test "$GCC" != yes; then
10508
 
      with_gnu_ld=no
10509
 
    fi
10510
 
    ;;
10511
 
  openbsd*)
10512
 
    with_gnu_ld=no
10513
 
    ;;
10514
 
  esac
10515
 
 
10516
 
  ld_shlibs=yes
10517
 
  if test "$with_gnu_ld" = yes; then
10518
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10519
 
    wlarc='${wl}'
10520
 
 
10521
 
    # See if GNU ld supports shared libraries.
10522
 
    case $host_os in
10523
 
    aix3* | aix4* | aix5*)
10524
 
      # On AIX/PPC, the GNU linker is very broken
10525
 
      if test "$host_cpu" != ia64; then
10526
 
        ld_shlibs=no
10527
 
        cat <<EOF 1>&2
10528
 
 
10529
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10530
 
*** to be unable to reliably create shared libraries on AIX.
10531
 
*** Therefore, libtool is disabling shared libraries support.  If you
10532
 
*** really care for shared libraries, you may want to modify your PATH
10533
 
*** so that a non-GNU linker is found, and then restart.
10534
 
 
10535
 
EOF
10536
 
      fi
10537
 
      ;;
10538
 
 
10539
 
    amigaos*)
10540
 
      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)'
10541
 
      hardcode_libdir_flag_spec='-L$libdir'
10542
 
      hardcode_minus_L=yes
10543
 
 
10544
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10545
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
10546
 
      # to version 4, is to share data among multiple programs linked
10547
 
      # with the same dynamic library.  Since this doesn't match the
10548
 
      # behavior of shared libraries on other platforms, we can't use
10549
 
      # them.
10550
 
      ld_shlibs=no
10551
 
      ;;
10552
 
 
10553
 
    beos*)
10554
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10555
 
        allow_undefined_flag=unsupported
10556
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10557
 
        # support --undefined.  This deserves some investigation.  FIXME
10558
 
        archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10559
 
      else
10560
 
        ld_shlibs=no
10561
 
      fi
10562
 
      ;;
10563
 
 
10564
 
    cygwin* | mingw* | pw32*)
10565
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10566
 
      # as there is no search path for DLLs.
10567
 
      hardcode_libdir_flag_spec='-L$libdir'
10568
 
      allow_undefined_flag=no
10569
 
      always_export_symbols=no
10570
 
      enable_shared_with_static_runtimes=yes
10571
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10572
 
 
10573
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10574
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10575
 
        # If the export-symbols file already is a .def file (1st line
10576
 
        # is EXPORTS), use it as is; otherwise, prepend...
10577
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10578
 
          cp $export_symbols $output_objdir/$soname.def;
10579
 
        else
10580
 
          echo EXPORTS > $output_objdir/$soname.def;
10581
 
          cat $export_symbols >> $output_objdir/$soname.def;
10582
 
        fi~
10583
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
10584
 
      else
10585
 
        ld_shlibs=no
10586
 
      fi
10587
 
      ;;
10588
 
 
10589
 
    netbsd*)
10590
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10591
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10592
 
        wlarc=
10593
 
      else
10594
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10595
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10596
 
      fi
10597
 
      ;;
10598
 
 
10599
 
    solaris* | sysv5*)
10600
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10601
 
        ld_shlibs=no
10602
 
        cat <<EOF 1>&2
10603
 
 
10604
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10605
 
*** create shared libraries on Solaris systems.  Therefore, libtool
10606
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
10607
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
10608
 
*** your PATH or compiler configuration so that the native linker is
10609
 
*** used, and then restart.
10610
 
 
10611
 
EOF
10612
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10613
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10614
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10615
 
      else
10616
 
        ld_shlibs=no
10617
 
      fi
10618
 
      ;;
10619
 
 
10620
 
    sunos4*)
10621
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10622
 
      wlarc=
10623
 
      hardcode_direct=yes
10624
 
      hardcode_shlibpath_var=no
10625
 
      ;;
10626
 
 
10627
 
    *)
10628
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10629
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10630
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10631
 
      else
10632
 
        ld_shlibs=no
10633
 
      fi
10634
 
      ;;
10635
 
    esac
10636
 
 
10637
 
    if test "$ld_shlibs" = yes; then
10638
 
      runpath_var=LD_RUN_PATH
10639
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10640
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
10641
 
      # ancient GNU ld didn't support --whole-archive et. al.
10642
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10643
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10644
 
      else
10645
 
        whole_archive_flag_spec=
10646
 
      fi
10647
 
    fi
10648
 
  else
10649
 
    # PORTME fill in a description of your system's linker (not GNU ld)
10650
 
    case $host_os in
10651
 
    aix3*)
10652
 
      allow_undefined_flag=unsupported
10653
 
      always_export_symbols=yes
10654
 
      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'
10655
 
      # Note: this linker hardcodes the directories in LIBPATH if there
10656
 
      # are no directories specified by -L.
10657
 
      hardcode_minus_L=yes
10658
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
10659
 
        # Neither direct hardcoding nor static linking is supported with a
10660
 
        # broken collect2.
10661
 
        hardcode_direct=unsupported
10662
 
      fi
10663
 
      ;;
10664
 
 
10665
 
    aix4* | aix5*)
10666
 
      if test "$host_cpu" = ia64; then
10667
 
        # On IA64, the linker does run time linking by default, so we don't
10668
 
        # have to do anything special.
10669
 
        aix_use_runtimelinking=no
10670
 
        exp_sym_flag='-Bexport'
10671
 
        no_entry_flag=""
10672
 
      else
10673
 
        # If we're using GNU nm, then we don't want the "-C" option.
10674
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10675
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10676
 
          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'
10677
 
        else
10678
 
          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'
10679
 
        fi
10680
 
 
10681
 
        # KDE requires run time linking.  Make it the default.
10682
 
        aix_use_runtimelinking=yes
10683
 
        exp_sym_flag='-bexport'
10684
 
        no_entry_flag='-bnoentry'
10685
 
      fi
10686
 
 
10687
 
      # When large executables or shared objects are built, AIX ld can
10688
 
      # have problems creating the table of contents.  If linking a library
10689
 
      # or program results in "error TOC overflow" add -mminimal-toc to
10690
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10691
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10692
 
 
10693
 
      archive_cmds=''
10694
 
      hardcode_direct=yes
10695
 
      hardcode_libdir_separator=':'
10696
 
      link_all_deplibs=yes
10697
 
 
10698
 
      if test "$GCC" = yes; then
10699
 
        case $host_os in aix4.012|aix4.012.*)
10700
 
        # We only want to do this on AIX 4.2 and lower, the check
10701
 
        # below for broken collect2 doesn't work under 4.3+
10702
 
          collect2name=`${CC} -print-prog-name=collect2`
10703
 
          if test -f "$collect2name" && \
10704
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10705
 
          then
10706
 
          # We have reworked collect2
10707
 
          hardcode_direct=yes
10708
 
          else
10709
 
          # We have old collect2
10710
 
          hardcode_direct=unsupported
10711
 
          # It fails to find uninstalled libraries when the uninstalled
10712
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10713
 
          # to unsupported forces relinking
10714
 
          hardcode_minus_L=yes
10715
 
          hardcode_libdir_flag_spec='-L$libdir'
10716
 
          hardcode_libdir_separator=
10717
 
          fi
10718
 
        esac
10719
 
        shared_flag='-shared'
10720
 
      else
10721
 
        # not using gcc
10722
 
        if test "$host_cpu" = ia64; then
10723
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10724
 
        # chokes on -Wl,-G. The following line is correct:
10725
 
          shared_flag='-G'
10726
 
        else
10727
 
        if test "$aix_use_runtimelinking" = yes; then
10728
 
            shared_flag='-qmkshrobj ${wl}-G'
10729
 
          else
10730
 
            shared_flag='-qmkshrobj'
10731
 
        fi
10732
 
        fi
10733
 
      fi
10734
 
 
10735
 
      # Let the compiler handle the export list.
10736
 
      always_export_symbols=no
10737
 
      if test "$aix_use_runtimelinking" = yes; then
10738
 
        # Warning - without using the other runtime loading flags (-brtl),
10739
 
        # -berok will link without error, but may produce a broken library.
10740
 
        allow_undefined_flag='-berok'
10741
 
       # Determine the default libpath from the value encoded in an empty executable.
10742
 
        cat >conftest.$ac_ext <<_ACEOF
10743
 
/* confdefs.h.  */
10744
 
_ACEOF
10745
 
cat confdefs.h >>conftest.$ac_ext
10746
 
cat >>conftest.$ac_ext <<_ACEOF
10747
 
/* end confdefs.h.  */
10748
 
 
10749
 
int
10750
 
main ()
10751
 
{
10752
 
 
10753
 
  ;
10754
 
  return 0;
10755
 
}
10756
 
_ACEOF
10757
 
rm -f conftest.$ac_objext conftest$ac_exeext
10758
 
if { (ac_try="$ac_link"
10759
 
case "(($ac_try" in
10760
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10761
 
  *) ac_try_echo=$ac_try;;
10762
 
esac
10763
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10764
 
  (eval "$ac_link") 2>conftest.er1
10765
 
  ac_status=$?
10766
 
  grep -v '^ *+' conftest.er1 >conftest.err
10767
 
  rm -f conftest.er1
10768
 
  cat conftest.err >&5
10769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770
 
  (exit $ac_status); } && {
10771
 
         test -z "$ac_c_werror_flag" ||
10772
 
         test ! -s conftest.err
10773
 
       } && test -s conftest$ac_exeext &&
10774
 
       $as_test_x conftest$ac_exeext; then
10775
 
 
10776
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10777
 
}'`
10778
 
# Check for a 64-bit object if we didn't find anything.
10779
 
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; }
10780
 
}'`; fi
10781
 
else
10782
 
  echo "$as_me: failed program was:" >&5
10783
 
sed 's/^/| /' conftest.$ac_ext >&5
10784
 
 
10785
 
 
10786
 
fi
10787
 
 
10788
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10789
 
      conftest$ac_exeext conftest.$ac_ext
10790
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10791
 
 
10792
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10793
 
        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"
10794
 
        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"
10795
 
       else
10796
 
        if test "$host_cpu" = ia64; then
10797
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10798
 
          allow_undefined_flag="-z nodefs"
10799
 
          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"
10800
 
        else
10801
 
         # Determine the default libpath from the value encoded in an empty executable.
10802
 
         cat >conftest.$ac_ext <<_ACEOF
10803
 
/* confdefs.h.  */
10804
 
_ACEOF
10805
 
cat confdefs.h >>conftest.$ac_ext
10806
 
cat >>conftest.$ac_ext <<_ACEOF
10807
 
/* end confdefs.h.  */
10808
 
 
10809
 
int
10810
 
main ()
10811
 
{
10812
 
 
10813
 
  ;
10814
 
  return 0;
10815
 
}
10816
 
_ACEOF
10817
 
rm -f conftest.$ac_objext conftest$ac_exeext
10818
 
if { (ac_try="$ac_link"
10819
 
case "(($ac_try" in
10820
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10821
 
  *) ac_try_echo=$ac_try;;
10822
 
esac
10823
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10824
 
  (eval "$ac_link") 2>conftest.er1
10825
 
  ac_status=$?
10826
 
  grep -v '^ *+' conftest.er1 >conftest.err
10827
 
  rm -f conftest.er1
10828
 
  cat conftest.err >&5
10829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830
 
  (exit $ac_status); } && {
10831
 
         test -z "$ac_c_werror_flag" ||
10832
 
         test ! -s conftest.err
10833
 
       } && test -s conftest$ac_exeext &&
10834
 
       $as_test_x conftest$ac_exeext; then
10835
 
 
10836
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10837
 
}'`
10838
 
# Check for a 64-bit object if we didn't find anything.
10839
 
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; }
10840
 
}'`; fi
10841
 
else
10842
 
  echo "$as_me: failed program was:" >&5
10843
 
sed 's/^/| /' conftest.$ac_ext >&5
10844
 
 
10845
 
 
10846
 
fi
10847
 
 
10848
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10849
 
      conftest$ac_exeext conftest.$ac_ext
10850
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10851
 
 
10852
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10853
 
          # Warning - without using the other run time loading flags,
10854
 
          # -berok will link without error, but may produce a broken library.
10855
 
          no_undefined_flag=' ${wl}-bernotok'
10856
 
          allow_undefined_flag=' ${wl}-berok'
10857
 
          # -bexpall does not export symbols beginning with underscore (_)
10858
 
          always_export_symbols=yes
10859
 
          # Exported symbols can be pulled into shared objects from archives
10860
 
          whole_archive_flag_spec=' '
10861
 
          archive_cmds_need_lc=yes
10862
 
          # This is similar to how AIX traditionally builds it's shared libraries.
10863
 
          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'
10864
 
        fi
10865
 
      fi
10866
 
      ;;
10867
 
 
10868
 
    amigaos*)
10869
 
      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)'
10870
 
      hardcode_libdir_flag_spec='-L$libdir'
10871
 
      hardcode_minus_L=yes
10872
 
      # see comment about different semantics on the GNU ld section
10873
 
      ld_shlibs=no
10874
 
      ;;
10875
 
 
10876
 
    bsdi4*)
10877
 
      export_dynamic_flag_spec=-rdynamic
10878
 
      ;;
10879
 
 
10880
 
    cygwin* | mingw* | pw32*)
10881
 
      # When not using gcc, we currently assume that we are using
10882
 
      # Microsoft Visual C++.
10883
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10884
 
      # no search path for DLLs.
10885
 
      hardcode_libdir_flag_spec=' '
10886
 
      allow_undefined_flag=no
10887
 
      # Tell ltmain to make .lib files, not .a files.
10888
 
      libext=lib
10889
 
      # Tell ltmain to make .dll files, not .so files.
10890
 
      shrext=".dll"
10891
 
      # FIXME: Setting linknames here is a bad hack.
10892
 
      archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10893
 
      # The linker will automatically build a .lib file if we build a DLL.
10894
 
      old_archive_From_new_cmds='true'
10895
 
      # FIXME: Should let the user specify the lib program.
10896
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
10897
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10898
 
      enable_shared_with_static_runtimes=yes
10899
 
      ;;
10900
 
 
10901
 
    darwin* | rhapsody*)
10902
 
    if test "$GXX" = yes ; then
10903
 
      archive_cmds_need_lc=no
10904
 
      case "$host_os" in
10905
 
      rhapsody* | darwin1.[012])
10906
 
        allow_undefined_flag='-Wl,-undefined -Wl,suppress'
10907
 
        ;;
10908
 
      *) # Darwin 1.3 on
10909
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10910
 
          allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10911
 
        else
10912
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
10913
 
            10.012)
10914
 
              allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10915
 
              ;;
10916
 
            10.*)
10917
 
              allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
10918
 
              ;;
10919
 
          esac
10920
 
        fi
10921
 
        ;;
10922
 
      esac
10923
 
        lt_int_apple_cc_single_mod=no
10924
 
        output_verbose_link_cmd='echo'
10925
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10926
 
          lt_int_apple_cc_single_mod=yes
10927
 
        fi
10928
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10929
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
10930
 
        else
10931
 
        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'
10932
 
      fi
10933
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
10934
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10935
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10936
 
          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}'
10937
 
        else
10938
 
          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}'
10939
 
        fi
10940
 
          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}'
10941
 
      hardcode_direct=no
10942
 
      hardcode_automatic=yes
10943
 
      hardcode_shlibpath_var=unsupported
10944
 
      whole_archive_flag_spec='-all_load $convenience'
10945
 
      link_all_deplibs=yes
10946
 
    else
10947
 
      ld_shlibs=no
10948
 
    fi
10949
 
      ;;
10950
 
 
10951
 
    dgux*)
10952
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10953
 
      hardcode_libdir_flag_spec='-L$libdir'
10954
 
      hardcode_shlibpath_var=no
10955
 
      ;;
10956
 
 
10957
 
    freebsd1*)
10958
 
      ld_shlibs=no
10959
 
      ;;
10960
 
 
10961
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10962
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10963
 
    # does not break anything, and helps significantly (at the cost of a little
10964
 
    # extra space).
10965
 
    freebsd2.2*)
10966
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10967
 
      hardcode_libdir_flag_spec='-R$libdir'
10968
 
      hardcode_direct=yes
10969
 
      hardcode_shlibpath_var=no
10970
 
      ;;
10971
 
 
10972
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10973
 
    freebsd2*)
10974
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10975
 
      hardcode_direct=yes
10976
 
      hardcode_minus_L=yes
10977
 
      hardcode_shlibpath_var=no
10978
 
      ;;
10979
 
 
10980
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10981
 
    freebsd* | kfreebsd*-gnu)
10982
 
      archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
10983
 
      hardcode_libdir_flag_spec='-R$libdir'
10984
 
      hardcode_direct=yes
10985
 
      hardcode_shlibpath_var=no
10986
 
      ;;
10987
 
 
10988
 
    hpux9*)
10989
 
      if test "$GCC" = yes; then
10990
 
        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'
10991
 
      else
10992
 
        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'
10993
 
      fi
10994
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10995
 
      hardcode_libdir_separator=:
10996
 
      hardcode_direct=yes
10997
 
 
10998
 
      # hardcode_minus_L: Not really in the search PATH,
10999
 
      # but as the default location of the library.
11000
 
      hardcode_minus_L=yes
11001
 
      export_dynamic_flag_spec='${wl}-E'
11002
 
      ;;
11003
 
 
11004
 
    hpux10* | hpux11*)
11005
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11006
 
        case "$host_cpu" in
11007
 
        hppa*64*|ia64*)
11008
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11009
 
          ;;
11010
 
        *)
11011
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
11012
 
          ;;
11013
 
        esac
11014
 
      else
11015
 
        case "$host_cpu" in
11016
 
        hppa*64*|ia64*)
11017
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
11018
 
          ;;
11019
 
        *)
11020
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11021
 
          ;;
11022
 
        esac
11023
 
      fi
11024
 
      if test "$with_gnu_ld" = no; then
11025
 
        case "$host_cpu" in
11026
 
        hppa*64*)
11027
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11028
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
11029
 
          hardcode_libdir_separator=:
11030
 
          hardcode_direct=no
11031
 
          hardcode_shlibpath_var=no
11032
 
          ;;
11033
 
        ia64*)
11034
 
          hardcode_libdir_flag_spec='-L$libdir'
11035
 
          hardcode_direct=no
11036
 
          hardcode_shlibpath_var=no
11037
 
 
11038
 
          # hardcode_minus_L: Not really in the search PATH,
11039
 
          # but as the default location of the library.
11040
 
          hardcode_minus_L=yes
11041
 
          ;;
11042
 
        *)
11043
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11044
 
          hardcode_libdir_separator=:
11045
 
          hardcode_direct=yes
11046
 
          export_dynamic_flag_spec='${wl}-E'
11047
 
 
11048
 
          # hardcode_minus_L: Not really in the search PATH,
11049
 
          # but as the default location of the library.
11050
 
          hardcode_minus_L=yes
11051
 
          ;;
11052
 
        esac
11053
 
      fi
11054
 
      ;;
11055
 
 
11056
 
    irix5* | irix6* | nonstopux*)
11057
 
      if test "$GCC" = yes; then
11058
 
        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'
11059
 
      else
11060
 
        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'
11061
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
11062
 
      fi
11063
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11064
 
      hardcode_libdir_separator=:
11065
 
      link_all_deplibs=yes
11066
 
      ;;
11067
 
 
11068
 
    netbsd*)
11069
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11070
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11071
 
      else
11072
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11073
 
      fi
11074
 
      hardcode_libdir_flag_spec='-R$libdir'
11075
 
      hardcode_direct=yes
11076
 
      hardcode_shlibpath_var=no
11077
 
      ;;
11078
 
 
11079
 
    newsos6)
11080
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11081
 
      hardcode_direct=yes
11082
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11083
 
      hardcode_libdir_separator=:
11084
 
      hardcode_shlibpath_var=no
11085
 
      ;;
11086
 
 
11087
 
    openbsd*)
11088
 
      hardcode_direct=yes
11089
 
      hardcode_shlibpath_var=no
11090
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11091
 
        archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11092
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11093
 
        export_dynamic_flag_spec='${wl}-E'
11094
 
      else
11095
 
       case $host_os in
11096
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11097
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11098
 
           hardcode_libdir_flag_spec='-R$libdir'
11099
 
           ;;
11100
 
         *)
11101
 
           archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11102
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11103
 
           ;;
11104
 
       esac
11105
 
      fi
11106
 
      ;;
11107
 
 
11108
 
    os2*)
11109
 
      hardcode_libdir_flag_spec='-L$libdir'
11110
 
      hardcode_minus_L=yes
11111
 
      allow_undefined_flag=unsupported
11112
 
      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'
11113
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11114
 
      ;;
11115
 
 
11116
 
    osf3*)
11117
 
      if test "$GCC" = yes; then
11118
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11119
 
        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'
11120
 
      else
11121
 
        allow_undefined_flag=' -expect_unresolved \*'
11122
 
        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'
11123
 
      fi
11124
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11125
 
      hardcode_libdir_separator=:
11126
 
      ;;
11127
 
 
11128
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
11129
 
      if test "$GCC" = yes; then
11130
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11131
 
        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'
11132
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11133
 
      else
11134
 
        allow_undefined_flag=' -expect_unresolved \*'
11135
 
        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'
11136
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11137
 
        $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'
11138
 
 
11139
 
        # Both c and cxx compiler support -rpath directly
11140
 
        hardcode_libdir_flag_spec='-rpath $libdir'
11141
 
      fi
11142
 
      hardcode_libdir_separator=:
11143
 
      ;;
11144
 
 
11145
 
    sco3.2v5*)
11146
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11147
 
      hardcode_shlibpath_var=no
11148
 
      export_dynamic_flag_spec='${wl}-Bexport'
11149
 
      runpath_var=LD_RUN_PATH
11150
 
      hardcode_runpath_var=yes
11151
 
      ;;
11152
 
 
11153
 
    solaris*)
11154
 
      no_undefined_flag=' -z text'
11155
 
      if test "$GCC" = yes; then
11156
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11157
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11158
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
11159
 
      else
11160
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11161
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11162
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11163
 
      fi
11164
 
      hardcode_libdir_flag_spec='-R$libdir'
11165
 
      hardcode_shlibpath_var=no
11166
 
      case $host_os in
11167
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
11168
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
11169
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
11170
 
      esac
11171
 
      link_all_deplibs=yes
11172
 
      ;;
11173
 
 
11174
 
    sunos4*)
11175
 
      if test "x$host_vendor" = xsequent; then
11176
 
        # Use $CC to link under sequent, because it throws in some extra .o
11177
 
        # files that make .init and .fini sections work.
11178
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
11179
 
      else
11180
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11181
 
      fi
11182
 
      hardcode_libdir_flag_spec='-L$libdir'
11183
 
      hardcode_direct=yes
11184
 
      hardcode_minus_L=yes
11185
 
      hardcode_shlibpath_var=no
11186
 
      ;;
11187
 
 
11188
 
    sysv4)
11189
 
      case $host_vendor in
11190
 
        sni)
11191
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11192
 
          hardcode_direct=yes # is this really true???
11193
 
        ;;
11194
 
        siemens)
11195
 
          ## LD is ld it makes a PLAMLIB
11196
 
          ## CC just makes a GrossModule.
11197
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11198
 
          reload_cmds='$CC -r -o $output$reload_objs'
11199
 
          hardcode_direct=no
11200
 
        ;;
11201
 
        motorola)
11202
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11203
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11204
 
        ;;
11205
 
      esac
11206
 
      runpath_var='LD_RUN_PATH'
11207
 
      hardcode_shlibpath_var=no
11208
 
      ;;
11209
 
 
11210
 
    sysv4.3*)
11211
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11212
 
      hardcode_shlibpath_var=no
11213
 
      export_dynamic_flag_spec='-Bexport'
11214
 
      ;;
11215
 
 
11216
 
    sysv4*MP*)
11217
 
      if test -d /usr/nec; then
11218
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11219
 
        hardcode_shlibpath_var=no
11220
 
        runpath_var=LD_RUN_PATH
11221
 
        hardcode_runpath_var=yes
11222
 
        ld_shlibs=yes
11223
 
      fi
11224
 
      ;;
11225
 
 
11226
 
    sysv4.2uw2*)
11227
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11228
 
      hardcode_direct=yes
11229
 
      hardcode_minus_L=no
11230
 
      hardcode_shlibpath_var=no
11231
 
      hardcode_runpath_var=yes
11232
 
      runpath_var=LD_RUN_PATH
11233
 
      ;;
11234
 
 
11235
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
11236
 
      no_undefined_flag='${wl}-z ${wl}text'
11237
 
      if test "$GCC" = yes; then
11238
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11239
 
      else
11240
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11241
 
      fi
11242
 
      runpath_var='LD_RUN_PATH'
11243
 
      hardcode_shlibpath_var=no
11244
 
      ;;
11245
 
 
11246
 
    sysv5*)
11247
 
      no_undefined_flag=' -z text'
11248
 
      # $CC -shared without GNU ld will not create a library from C++
11249
 
      # object files and a static libstdc++, better avoid it by now
11250
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11251
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11252
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11253
 
      hardcode_libdir_flag_spec=
11254
 
      hardcode_shlibpath_var=no
11255
 
      runpath_var='LD_RUN_PATH'
11256
 
      ;;
11257
 
 
11258
 
    uts4*)
11259
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11260
 
      hardcode_libdir_flag_spec='-L$libdir'
11261
 
      hardcode_shlibpath_var=no
11262
 
      ;;
11263
 
 
11264
 
    *)
11265
 
      ld_shlibs=no
11266
 
      ;;
11267
 
    esac
11268
 
  fi
11269
 
 
11270
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11271
 
echo "${ECHO_T}$ld_shlibs" >&6; }
11272
 
test "$ld_shlibs" = no && can_build_shared=no
11273
 
 
11274
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11275
 
if test "$GCC" = yes; then
11276
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11277
 
fi
11278
 
 
11279
 
#
11280
 
# Do we need to explicitly link libc?
11281
 
#
11282
 
case "x$archive_cmds_need_lc" in
11283
 
x|xyes)
11284
 
  # Assume -lc should be added
11285
 
  archive_cmds_need_lc=yes
11286
 
 
11287
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
11288
 
    case $archive_cmds in
11289
 
    *'~'*)
11290
 
      # FIXME: we may have to deal with multi-command sequences.
11291
 
      ;;
11292
 
    '$CC '*)
11293
 
      # Test whether the compiler implicitly links with -lc since on some
11294
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11295
 
      # to ld, don't add -lc before -lgcc.
11296
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11297
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11298
 
      $rm conftest*
11299
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11300
 
 
11301
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11302
 
  (eval $ac_compile) 2>&5
11303
 
  ac_status=$?
11304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305
 
  (exit $ac_status); } 2>conftest.err; then
11306
 
        soname=conftest
11307
 
        lib=conftest
11308
 
        libobjs=conftest.$ac_objext
11309
 
        deplibs=
11310
 
        wl=$lt_prog_compiler_wl
11311
 
        compiler_flags=-v
11312
 
        linker_flags=-v
11313
 
        verstring=
11314
 
        output_objdir=.
11315
 
        libname=conftest
11316
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
11317
 
        allow_undefined_flag=
11318
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11319
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11320
 
  ac_status=$?
11321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322
 
  (exit $ac_status); }
11323
 
        then
11324
 
          archive_cmds_need_lc=no
11325
 
        else
11326
 
          archive_cmds_need_lc=yes
11327
 
        fi
11328
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
11329
 
      else
11330
 
        cat conftest.err 1>&5
11331
 
      fi
11332
 
      $rm conftest*
11333
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11334
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11335
 
      ;;
11336
 
    esac
11337
 
  fi
11338
 
  ;;
11339
 
esac
11340
 
 
11341
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11342
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11343
 
library_names_spec=
11344
 
libname_spec='lib$name'
11345
 
soname_spec=
11346
 
shrext=".so"
11347
 
postinstall_cmds=
11348
 
postuninstall_cmds=
11349
 
finish_cmds=
11350
 
finish_eval=
11351
 
shlibpath_var=
11352
 
shlibpath_overrides_runpath=unknown
11353
 
version_type=none
11354
 
dynamic_linker="$host_os ld.so"
11355
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11356
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11357
 
need_lib_prefix=unknown
11358
 
hardcode_into_libs=no
11359
 
 
11360
 
# when you set need_version to no, make sure it does not cause -set_version
11361
 
# flags to be left without arguments
11362
 
need_version=unknown
11363
 
 
11364
 
case $host_os in
11365
 
aix3*)
11366
 
  version_type=linux
11367
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11368
 
  shlibpath_var=LIBPATH
11369
 
 
11370
 
  # AIX 3 has no versioning support, so we append a major version to the name.
11371
 
  soname_spec='${libname}${release}${shared_ext}$major'
11372
 
  ;;
11373
 
 
11374
 
aix4* | aix5*)
11375
 
  version_type=linux
11376
 
  need_lib_prefix=no
11377
 
  need_version=no
11378
 
  hardcode_into_libs=yes
11379
 
  if test "$host_cpu" = ia64; then
11380
 
    # AIX 5 supports IA64
11381
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11382
 
    shlibpath_var=LD_LIBRARY_PATH
11383
 
  else
11384
 
    # With GCC up to 2.95.x, collect2 would create an import file
11385
 
    # for dependence libraries.  The import file would start with
11386
 
    # the line `#! .'.  This would cause the generated library to
11387
 
    # depend on `.', always an invalid library.  This was fixed in
11388
 
    # development snapshots of GCC prior to 3.0.
11389
 
    case $host_os in
11390
 
      aix4 | aix4.[01] | aix4.[01].*)
11391
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11392
 
           echo ' yes '
11393
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11394
 
        :
11395
 
      else
11396
 
        can_build_shared=no
11397
 
      fi
11398
 
      ;;
11399
 
    esac
11400
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11401
 
    # soname into executable. Probably we can add versioning support to
11402
 
    # collect2, so additional links can be useful in future.
11403
 
    if test "$aix_use_runtimelinking" = yes; then
11404
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11405
 
      # instead of lib<name>.a to let people know that these are not
11406
 
      # typical AIX shared libraries.
11407
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408
 
    else
11409
 
      # We preserve .a as extension for shared libraries through AIX4.2
11410
 
      # and later when we are not doing run time linking.
11411
 
      library_names_spec='${libname}${release}.a $libname.a'
11412
 
      soname_spec='${libname}${release}${shared_ext}$major'
11413
 
    fi
11414
 
    shlibpath_var=LIBPATH
11415
 
  fi
11416
 
  ;;
11417
 
 
11418
 
amigaos*)
11419
 
  library_names_spec='$libname.ixlibrary $libname.a'
11420
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
11421
 
  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'
11422
 
  ;;
11423
 
 
11424
 
beos*)
11425
 
  library_names_spec='${libname}${shared_ext}'
11426
 
  dynamic_linker="$host_os ld.so"
11427
 
  shlibpath_var=LIBRARY_PATH
11428
 
  ;;
11429
 
 
11430
 
bsdi4*)
11431
 
  version_type=linux
11432
 
  need_version=no
11433
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11434
 
  soname_spec='${libname}${release}${shared_ext}$major'
11435
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11436
 
  shlibpath_var=LD_LIBRARY_PATH
11437
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11438
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11439
 
  # the default ld.so.conf also contains /usr/contrib/lib and
11440
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11441
 
  # libtool to hard-code these into programs
11442
 
  ;;
11443
 
 
11444
 
cygwin* | mingw* | pw32*)
11445
 
  version_type=windows
11446
 
  shrext=".dll"
11447
 
  need_version=no
11448
 
  need_lib_prefix=no
11449
 
 
11450
 
  case $GCC,$host_os in
11451
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
11452
 
    library_names_spec='$libname.dll.a'
11453
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11454
 
    postinstall_cmds='base_file=`basename \${file}`~
11455
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11456
 
      dldir=$destdir/`dirname \$dlpath`~
11457
 
      test -d \$dldir || mkdir -p \$dldir~
11458
 
      $install_prog $dir/$dlname \$dldir/$dlname'
11459
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11460
 
      dlpath=$dir/\$dldll~
11461
 
       $rm \$dlpath'
11462
 
    shlibpath_overrides_runpath=yes
11463
 
 
11464
 
    case $host_os in
11465
 
    cygwin*)
11466
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11467
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11468
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11469
 
      ;;
11470
 
    mingw*)
11471
 
      # MinGW DLLs use traditional 'lib' prefix
11472
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11473
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11474
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11475
 
        # It is most probably a Windows format PATH printed by
11476
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11477
 
        # path with ; separators, and with drive letters. We can handle the
11478
 
        # drive letters (cygwin fileutils understands them), so leave them,
11479
 
        # especially as we might pass files found there to a mingw objdump,
11480
 
        # which wouldn't understand a cygwinified path. Ahh.
11481
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11482
 
      else
11483
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11484
 
      fi
11485
 
      ;;
11486
 
    pw32*)
11487
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11488
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11489
 
      ;;
11490
 
    esac
11491
 
    ;;
11492
 
 
11493
 
  *)
11494
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11495
 
    ;;
11496
 
  esac
11497
 
  dynamic_linker='Win32 ld.exe'
11498
 
  # FIXME: first we should search . and the directory the executable is in
11499
 
  shlibpath_var=PATH
11500
 
  ;;
11501
 
 
11502
 
darwin* | rhapsody*)
11503
 
  dynamic_linker="$host_os dyld"
11504
 
  version_type=darwin
11505
 
  need_lib_prefix=no
11506
 
  need_version=no
11507
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11508
 
  soname_spec='${libname}${release}${major}$shared_ext'
11509
 
  shlibpath_overrides_runpath=yes
11510
 
  shlibpath_var=DYLD_LIBRARY_PATH
11511
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11512
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11513
 
  if test "$GCC" = yes; then
11514
 
    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"`
11515
 
  else
11516
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11517
 
  fi
11518
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11519
 
  ;;
11520
 
 
11521
 
dgux*)
11522
 
  version_type=linux
11523
 
  need_lib_prefix=no
11524
 
  need_version=no
11525
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11526
 
  soname_spec='${libname}${release}${shared_ext}$major'
11527
 
  shlibpath_var=LD_LIBRARY_PATH
11528
 
  ;;
11529
 
 
11530
 
freebsd1*)
11531
 
  dynamic_linker=no
11532
 
  ;;
11533
 
 
11534
 
kfreebsd*-gnu*)
11535
 
  version_type=linux
11536
 
  need_lib_prefix=no
11537
 
  need_version=no
11538
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11539
 
  soname_spec='${libname}${release}${shared_ext}$major'
11540
 
  shlibpath_var=LD_LIBRARY_PATH
11541
 
  shlibpath_overrides_runpath=no
11542
 
  hardcode_into_libs=yes
11543
 
  dynamic_linker='GNU ld.so'
11544
 
  ;;
11545
 
 
11546
 
freebsd*)
11547
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11548
 
  version_type=freebsd-$objformat
11549
 
  case $version_type in
11550
 
    freebsd-elf*)
11551
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11552
 
      need_version=no
11553
 
      need_lib_prefix=no
11554
 
      ;;
11555
 
    freebsd-*)
11556
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11557
 
      need_version=yes
11558
 
      ;;
11559
 
  esac
11560
 
  shlibpath_var=LD_LIBRARY_PATH
11561
 
  case $host_os in
11562
 
  freebsd2*)
11563
 
    shlibpath_overrides_runpath=yes
11564
 
    ;;
11565
 
  freebsd3.01* | freebsdelf3.01*)
11566
 
    shlibpath_overrides_runpath=yes
11567
 
    hardcode_into_libs=yes
11568
 
    ;;
11569
 
  *) # from 3.2 on
11570
 
    shlibpath_overrides_runpath=no
11571
 
    hardcode_into_libs=yes
11572
 
    ;;
11573
 
  esac
11574
 
  ;;
11575
 
 
11576
 
gnu*)
11577
 
  version_type=linux
11578
 
  need_lib_prefix=no
11579
 
  need_version=no
11580
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11581
 
  soname_spec='${libname}${release}${shared_ext}$major'
11582
 
  shlibpath_var=LD_LIBRARY_PATH
11583
 
  hardcode_into_libs=yes
11584
 
  ;;
11585
 
 
11586
 
hpux9* | hpux10* | hpux11*)
11587
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
11588
 
  # link against other versions.
11589
 
  version_type=sunos
11590
 
  need_lib_prefix=no
11591
 
  need_version=no
11592
 
  case "$host_cpu" in
11593
 
  ia64*)
11594
 
    shrext='.so'
11595
 
    hardcode_into_libs=yes
11596
 
    dynamic_linker="$host_os dld.so"
11597
 
    shlibpath_var=LD_LIBRARY_PATH
11598
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11599
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11600
 
    soname_spec='${libname}${release}${shared_ext}$major'
11601
 
    if test "X$HPUX_IA64_MODE" = X32; then
11602
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11603
 
    else
11604
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11605
 
    fi
11606
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11607
 
    ;;
11608
 
   hppa*64*)
11609
 
     shrext='.sl'
11610
 
     hardcode_into_libs=yes
11611
 
     dynamic_linker="$host_os dld.sl"
11612
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11613
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11614
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11615
 
     soname_spec='${libname}${release}${shared_ext}$major'
11616
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11617
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11618
 
     ;;
11619
 
   *)
11620
 
    shrext='.sl'
11621
 
    dynamic_linker="$host_os dld.sl"
11622
 
    shlibpath_var=SHLIB_PATH
11623
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11624
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11625
 
    soname_spec='${libname}${release}${shared_ext}$major'
11626
 
    ;;
11627
 
  esac
11628
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11629
 
  postinstall_cmds='chmod 555 $lib'
11630
 
  ;;
11631
 
 
11632
 
irix5* | irix6* | nonstopux*)
11633
 
  case $host_os in
11634
 
    nonstopux*) version_type=nonstopux ;;
11635
 
    *)
11636
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11637
 
                version_type=linux
11638
 
        else
11639
 
                version_type=irix
11640
 
        fi ;;
11641
 
  esac
11642
 
  need_lib_prefix=no
11643
 
  need_version=no
11644
 
  soname_spec='${libname}${release}${shared_ext}$major'
11645
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11646
 
  case $host_os in
11647
 
  irix5* | nonstopux*)
11648
 
    libsuff= shlibsuff=
11649
 
    ;;
11650
 
  *)
11651
 
    case $LD in # libtool.m4 will add one of these switches to LD
11652
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11653
 
      libsuff= shlibsuff= libmagic=32-bit;;
11654
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11655
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11656
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11657
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11658
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11659
 
    esac
11660
 
    ;;
11661
 
  esac
11662
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11663
 
  shlibpath_overrides_runpath=no
11664
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11665
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11666
 
  hardcode_into_libs=yes
11667
 
  ;;
11668
 
 
11669
 
# No shared lib support for Linux oldld, aout, or coff.
11670
 
linux*oldld* | linux*aout* | linux*coff*)
11671
 
  dynamic_linker=no
11672
 
  ;;
11673
 
 
11674
 
# This must be Linux ELF.
11675
 
linux*)
11676
 
  version_type=linux
11677
 
  need_lib_prefix=no
11678
 
  need_version=no
11679
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11680
 
  soname_spec='${libname}${release}${shared_ext}$major'
11681
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11682
 
  libsuff=
11683
 
  if test "x$LINUX_64_MODE" = x64; then
11684
 
    # Some platforms are per default 64-bit, so there's no /lib64
11685
 
    if test -d /lib64; then
11686
 
      libsuff=64
11687
 
    fi
11688
 
  fi
11689
 
  shlibpath_var=LD_LIBRARY_PATH
11690
 
  shlibpath_overrides_runpath=no
11691
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
11692
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11693
 
  # This implies no fast_install, which is unacceptable.
11694
 
  # Some rework will be needed to allow for fast_install
11695
 
  # before this can be enabled.
11696
 
  hardcode_into_libs=yes
11697
 
 
11698
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11699
 
  # powerpc, because MkLinux only supported shared libraries with the
11700
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11701
 
  # most powerpc-linux boxes support dynamic linking these days and
11702
 
  # people can always --disable-shared, the test was removed, and we
11703
 
  # assume the GNU/Linux dynamic linker is in use.
11704
 
  dynamic_linker='GNU/Linux ld.so'
11705
 
  ;;
11706
 
 
11707
 
netbsd*)
11708
 
  version_type=sunos
11709
 
  need_lib_prefix=no
11710
 
  need_version=no
11711
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11712
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11713
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11714
 
    dynamic_linker='NetBSD (a.out) ld.so'
11715
 
  else
11716
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11717
 
    soname_spec='${libname}${release}${shared_ext}$major'
11718
 
    dynamic_linker='NetBSD ld.elf_so'
11719
 
  fi
11720
 
  shlibpath_var=LD_LIBRARY_PATH
11721
 
  shlibpath_overrides_runpath=yes
11722
 
  hardcode_into_libs=yes
11723
 
  ;;
11724
 
 
11725
 
newsos6)
11726
 
  version_type=linux
11727
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728
 
  shlibpath_var=LD_LIBRARY_PATH
11729
 
  shlibpath_overrides_runpath=yes
11730
 
  ;;
11731
 
 
11732
 
nto-qnx*)
11733
 
  version_type=linux
11734
 
  need_lib_prefix=no
11735
 
  need_version=no
11736
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11737
 
  soname_spec='${libname}${release}${shared_ext}$major'
11738
 
  shlibpath_var=LD_LIBRARY_PATH
11739
 
  shlibpath_overrides_runpath=yes
11740
 
  ;;
11741
 
 
11742
 
openbsd*)
11743
 
  version_type=sunos
11744
 
  need_lib_prefix=no
11745
 
  need_version=no
11746
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11747
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11748
 
  shlibpath_var=LD_LIBRARY_PATH
11749
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11750
 
    case $host_os in
11751
 
      openbsd2.[89] | openbsd2.[89].*)
11752
 
        shlibpath_overrides_runpath=no
11753
 
        ;;
11754
 
      *)
11755
 
        shlibpath_overrides_runpath=yes
11756
 
        ;;
11757
 
      esac
11758
 
  else
11759
 
    shlibpath_overrides_runpath=yes
11760
 
  fi
11761
 
  ;;
11762
 
 
11763
 
os2*)
11764
 
  libname_spec='$name'
11765
 
  shrext=".dll"
11766
 
  need_lib_prefix=no
11767
 
  library_names_spec='$libname${shared_ext} $libname.a'
11768
 
  dynamic_linker='OS/2 ld.exe'
11769
 
  shlibpath_var=LIBPATH
11770
 
  ;;
11771
 
 
11772
 
osf3* | osf4* | osf5*)
11773
 
  version_type=osf
11774
 
  need_lib_prefix=no
11775
 
  need_version=no
11776
 
  soname_spec='${libname}${release}${shared_ext}$major'
11777
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778
 
  shlibpath_var=LD_LIBRARY_PATH
11779
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11780
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11781
 
  ;;
11782
 
 
11783
 
sco3.2v5*)
11784
 
  version_type=osf
11785
 
  soname_spec='${libname}${release}${shared_ext}$major'
11786
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11787
 
  shlibpath_var=LD_LIBRARY_PATH
11788
 
  ;;
11789
 
 
11790
 
solaris*)
11791
 
  version_type=linux
11792
 
  need_lib_prefix=no
11793
 
  need_version=no
11794
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795
 
  soname_spec='${libname}${release}${shared_ext}$major'
11796
 
  shlibpath_var=LD_LIBRARY_PATH
11797
 
  shlibpath_overrides_runpath=yes
11798
 
  hardcode_into_libs=yes
11799
 
  # ldd complains unless libraries are executable
11800
 
  postinstall_cmds='chmod +x $lib'
11801
 
  ;;
11802
 
 
11803
 
sunos4*)
11804
 
  version_type=sunos
11805
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11806
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11807
 
  shlibpath_var=LD_LIBRARY_PATH
11808
 
  shlibpath_overrides_runpath=yes
11809
 
  if test "$with_gnu_ld" = yes; then
11810
 
    need_lib_prefix=no
11811
 
  fi
11812
 
  need_version=yes
11813
 
  ;;
11814
 
 
11815
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11816
 
  version_type=linux
11817
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11818
 
  soname_spec='${libname}${release}${shared_ext}$major'
11819
 
  shlibpath_var=LD_LIBRARY_PATH
11820
 
  case $host_vendor in
11821
 
    sni)
11822
 
      shlibpath_overrides_runpath=no
11823
 
      need_lib_prefix=no
11824
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
11825
 
      runpath_var=LD_RUN_PATH
11826
 
      ;;
11827
 
    siemens)
11828
 
      need_lib_prefix=no
11829
 
      ;;
11830
 
    motorola)
11831
 
      need_lib_prefix=no
11832
 
      need_version=no
11833
 
      shlibpath_overrides_runpath=no
11834
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11835
 
      ;;
11836
 
  esac
11837
 
  ;;
11838
 
 
11839
 
sysv4*MP*)
11840
 
  if test -d /usr/nec ;then
11841
 
    version_type=linux
11842
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11843
 
    soname_spec='$libname${shared_ext}.$major'
11844
 
    shlibpath_var=LD_LIBRARY_PATH
11845
 
  fi
11846
 
  ;;
11847
 
 
11848
 
uts4*)
11849
 
  version_type=linux
11850
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11851
 
  soname_spec='${libname}${release}${shared_ext}$major'
11852
 
  shlibpath_var=LD_LIBRARY_PATH
11853
 
  ;;
11854
 
 
11855
 
*)
11856
 
  dynamic_linker=no
11857
 
  ;;
11858
 
esac
11859
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11860
 
echo "${ECHO_T}$dynamic_linker" >&6; }
11861
 
test "$dynamic_linker" = no && can_build_shared=no
11862
 
 
11863
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11864
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11865
 
hardcode_action=
11866
 
if test -n "$hardcode_libdir_flag_spec" || \
11867
 
   test -n "$runpath_var " || \
11868
 
   test "X$hardcode_automatic"="Xyes" ; then
11869
 
 
11870
 
  # We can hardcode non-existant directories.
11871
 
  if test "$hardcode_direct" != no &&
11872
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11873
 
     # have to relink, otherwise we might link with an installed library
11874
 
     # when we should be linking with a yet-to-be-installed one
11875
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11876
 
     test "$hardcode_minus_L" != no; then
11877
 
    # Linking always hardcodes the temporary library directory.
11878
 
    hardcode_action=relink
11879
 
  else
11880
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11881
 
    hardcode_action=immediate
11882
 
  fi
11883
 
else
11884
 
  # We cannot hardcode anything, or else we can only hardcode existing
11885
 
  # directories.
11886
 
  hardcode_action=unsupported
11887
 
fi
11888
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11889
 
echo "${ECHO_T}$hardcode_action" >&6; }
11890
 
 
11891
 
if test "$hardcode_action" = relink; then
11892
 
  # Fast installation is not supported
11893
 
  enable_fast_install=no
11894
 
elif test "$shlibpath_overrides_runpath" = yes ||
11895
 
     test "$enable_shared" = no; then
11896
 
  # Fast installation is not necessary
11897
 
  enable_fast_install=needless
11898
 
fi
11899
 
 
11900
 
striplib=
11901
 
old_striplib=
11902
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11903
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11904
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11905
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11906
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11907
 
  { echo "$as_me:$LINENO: result: yes" >&5
11908
 
echo "${ECHO_T}yes" >&6; }
11909
 
else
11910
 
# FIXME - insert some real tests, host_os isn't really good enough
11911
 
  case $host_os in
11912
 
   darwin*)
11913
 
       if test -n "$STRIP" ; then
11914
 
         striplib="$STRIP -x"
11915
 
         { echo "$as_me:$LINENO: result: yes" >&5
11916
 
echo "${ECHO_T}yes" >&6; }
11917
 
       else
11918
 
  { echo "$as_me:$LINENO: result: no" >&5
11919
 
echo "${ECHO_T}no" >&6; }
11920
 
fi
11921
 
       ;;
11922
 
   *)
11923
 
  { echo "$as_me:$LINENO: result: no" >&5
11924
 
echo "${ECHO_T}no" >&6; }
11925
 
    ;;
11926
 
  esac
11927
 
fi
11928
 
 
11929
 
if test "x$enable_dlopen" != xyes; then
11930
 
  enable_dlopen=unknown
11931
 
  enable_dlopen_self=unknown
11932
 
  enable_dlopen_self_static=unknown
11933
 
else
11934
 
  lt_cv_dlopen=no
11935
 
  lt_cv_dlopen_libs=
11936
 
 
11937
 
  case $host_os in
11938
 
  beos*)
11939
 
    lt_cv_dlopen="load_add_on"
11940
 
    lt_cv_dlopen_libs=
11941
 
    lt_cv_dlopen_self=yes
11942
 
    ;;
11943
 
 
11944
 
  mingw* | pw32*)
11945
 
    lt_cv_dlopen="LoadLibrary"
11946
 
    lt_cv_dlopen_libs=
11947
 
   ;;
11948
 
 
11949
 
  cygwin*)
11950
 
    lt_cv_dlopen="dlopen"
11951
 
    lt_cv_dlopen_libs=
11952
 
   ;;
11953
 
 
11954
 
  darwin*)
11955
 
  # if libdl is installed we need to link against it
11956
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11957
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11958
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11959
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11960
 
else
11961
 
  ac_check_lib_save_LIBS=$LIBS
11962
 
LIBS="-ldl  $LIBS"
11963
 
cat >conftest.$ac_ext <<_ACEOF
11964
 
/* confdefs.h.  */
11965
 
_ACEOF
11966
 
cat confdefs.h >>conftest.$ac_ext
11967
 
cat >>conftest.$ac_ext <<_ACEOF
11968
 
/* end confdefs.h.  */
11969
 
 
11970
 
/* Override any GCC internal prototype to avoid an error.
11971
 
   Use char because int might match the return type of a GCC
11972
 
   builtin and then its argument prototype would still apply.  */
11973
 
#ifdef __cplusplus
11974
 
extern "C"
11975
 
#endif
11976
 
char dlopen ();
11977
 
int
11978
 
main ()
11979
 
{
11980
 
return dlopen ();
11981
 
  ;
11982
 
  return 0;
11983
 
}
11984
 
_ACEOF
11985
 
rm -f conftest.$ac_objext conftest$ac_exeext
11986
 
if { (ac_try="$ac_link"
11987
 
case "(($ac_try" in
11988
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11989
 
  *) ac_try_echo=$ac_try;;
11990
 
esac
11991
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11992
 
  (eval "$ac_link") 2>conftest.er1
11993
 
  ac_status=$?
11994
 
  grep -v '^ *+' conftest.er1 >conftest.err
11995
 
  rm -f conftest.er1
11996
 
  cat conftest.err >&5
11997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998
 
  (exit $ac_status); } && {
11999
 
         test -z "$ac_c_werror_flag" ||
12000
 
         test ! -s conftest.err
12001
 
       } && test -s conftest$ac_exeext &&
12002
 
       $as_test_x conftest$ac_exeext; then
12003
 
  ac_cv_lib_dl_dlopen=yes
12004
 
else
12005
 
  echo "$as_me: failed program was:" >&5
12006
 
sed 's/^/| /' conftest.$ac_ext >&5
12007
 
 
12008
 
        ac_cv_lib_dl_dlopen=no
12009
 
fi
12010
 
 
12011
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12012
 
      conftest$ac_exeext conftest.$ac_ext
12013
 
LIBS=$ac_check_lib_save_LIBS
12014
 
fi
12015
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12016
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12017
 
if test $ac_cv_lib_dl_dlopen = yes; then
12018
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12019
 
else
12020
 
 
12021
 
    lt_cv_dlopen="dyld"
12022
 
    lt_cv_dlopen_libs=
12023
 
    lt_cv_dlopen_self=yes
12024
 
 
12025
 
fi
12026
 
 
12027
 
   ;;
12028
 
 
12029
 
  *)
12030
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
12031
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12032
 
if test "${ac_cv_func_shl_load+set}" = set; then
12033
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12034
 
else
12035
 
  cat >conftest.$ac_ext <<_ACEOF
12036
 
/* confdefs.h.  */
12037
 
_ACEOF
12038
 
cat confdefs.h >>conftest.$ac_ext
12039
 
cat >>conftest.$ac_ext <<_ACEOF
12040
 
/* end confdefs.h.  */
12041
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12042
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12043
 
#define shl_load innocuous_shl_load
12044
 
 
12045
 
/* System header to define __stub macros and hopefully few prototypes,
12046
 
    which can conflict with char shl_load (); below.
12047
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12048
 
    <limits.h> exists even on freestanding compilers.  */
12049
 
 
12050
 
#ifdef __STDC__
12051
 
# include <limits.h>
12052
 
#else
12053
 
# include <assert.h>
12054
 
#endif
12055
 
 
12056
 
#undef shl_load
12057
 
 
12058
 
/* Override any GCC internal prototype to avoid an error.
12059
 
   Use char because int might match the return type of a GCC
12060
 
   builtin and then its argument prototype would still apply.  */
12061
 
#ifdef __cplusplus
12062
 
extern "C"
12063
 
#endif
12064
 
char shl_load ();
12065
 
/* The GNU C library defines this for functions which it implements
12066
 
    to always fail with ENOSYS.  Some functions are actually named
12067
 
    something starting with __ and the normal name is an alias.  */
12068
 
#if defined __stub_shl_load || defined __stub___shl_load
12069
 
choke me
12070
 
#endif
12071
 
 
12072
 
int
12073
 
main ()
12074
 
{
12075
 
return shl_load ();
12076
 
  ;
12077
 
  return 0;
12078
 
}
12079
 
_ACEOF
12080
 
rm -f conftest.$ac_objext conftest$ac_exeext
12081
 
if { (ac_try="$ac_link"
12082
 
case "(($ac_try" in
12083
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12084
 
  *) ac_try_echo=$ac_try;;
12085
 
esac
12086
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12087
 
  (eval "$ac_link") 2>conftest.er1
12088
 
  ac_status=$?
12089
 
  grep -v '^ *+' conftest.er1 >conftest.err
12090
 
  rm -f conftest.er1
12091
 
  cat conftest.err >&5
12092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093
 
  (exit $ac_status); } && {
12094
 
         test -z "$ac_c_werror_flag" ||
12095
 
         test ! -s conftest.err
12096
 
       } && test -s conftest$ac_exeext &&
12097
 
       $as_test_x conftest$ac_exeext; then
12098
 
  ac_cv_func_shl_load=yes
12099
 
else
12100
 
  echo "$as_me: failed program was:" >&5
12101
 
sed 's/^/| /' conftest.$ac_ext >&5
12102
 
 
12103
 
        ac_cv_func_shl_load=no
12104
 
fi
12105
 
 
12106
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12107
 
      conftest$ac_exeext conftest.$ac_ext
12108
 
fi
12109
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12110
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12111
 
if test $ac_cv_func_shl_load = yes; then
12112
 
  lt_cv_dlopen="shl_load"
12113
 
else
12114
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12115
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12116
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12117
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12118
 
else
12119
 
  ac_check_lib_save_LIBS=$LIBS
12120
 
LIBS="-ldld  $LIBS"
12121
 
cat >conftest.$ac_ext <<_ACEOF
12122
 
/* confdefs.h.  */
12123
 
_ACEOF
12124
 
cat confdefs.h >>conftest.$ac_ext
12125
 
cat >>conftest.$ac_ext <<_ACEOF
12126
 
/* end confdefs.h.  */
12127
 
 
12128
 
/* Override any GCC internal prototype to avoid an error.
12129
 
   Use char because int might match the return type of a GCC
12130
 
   builtin and then its argument prototype would still apply.  */
12131
 
#ifdef __cplusplus
12132
 
extern "C"
12133
 
#endif
12134
 
char shl_load ();
12135
 
int
12136
 
main ()
12137
 
{
12138
 
return shl_load ();
12139
 
  ;
12140
 
  return 0;
12141
 
}
12142
 
_ACEOF
12143
 
rm -f conftest.$ac_objext conftest$ac_exeext
12144
 
if { (ac_try="$ac_link"
12145
 
case "(($ac_try" in
12146
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12147
 
  *) ac_try_echo=$ac_try;;
12148
 
esac
12149
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12150
 
  (eval "$ac_link") 2>conftest.er1
12151
 
  ac_status=$?
12152
 
  grep -v '^ *+' conftest.er1 >conftest.err
12153
 
  rm -f conftest.er1
12154
 
  cat conftest.err >&5
12155
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156
 
  (exit $ac_status); } && {
12157
 
         test -z "$ac_c_werror_flag" ||
12158
 
         test ! -s conftest.err
12159
 
       } && test -s conftest$ac_exeext &&
12160
 
       $as_test_x conftest$ac_exeext; then
12161
 
  ac_cv_lib_dld_shl_load=yes
12162
 
else
12163
 
  echo "$as_me: failed program was:" >&5
12164
 
sed 's/^/| /' conftest.$ac_ext >&5
12165
 
 
12166
 
        ac_cv_lib_dld_shl_load=no
12167
 
fi
12168
 
 
12169
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12170
 
      conftest$ac_exeext conftest.$ac_ext
12171
 
LIBS=$ac_check_lib_save_LIBS
12172
 
fi
12173
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12174
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12175
 
if test $ac_cv_lib_dld_shl_load = yes; then
12176
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12177
 
else
12178
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
12179
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12180
 
if test "${ac_cv_func_dlopen+set}" = set; then
12181
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12182
 
else
12183
 
  cat >conftest.$ac_ext <<_ACEOF
12184
 
/* confdefs.h.  */
12185
 
_ACEOF
12186
 
cat confdefs.h >>conftest.$ac_ext
12187
 
cat >>conftest.$ac_ext <<_ACEOF
12188
 
/* end confdefs.h.  */
12189
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12190
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12191
 
#define dlopen innocuous_dlopen
12192
 
 
12193
 
/* System header to define __stub macros and hopefully few prototypes,
12194
 
    which can conflict with char dlopen (); below.
12195
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12196
 
    <limits.h> exists even on freestanding compilers.  */
12197
 
 
12198
 
#ifdef __STDC__
12199
 
# include <limits.h>
12200
 
#else
12201
 
# include <assert.h>
12202
 
#endif
12203
 
 
12204
 
#undef dlopen
12205
 
 
12206
 
/* Override any GCC internal prototype to avoid an error.
12207
 
   Use char because int might match the return type of a GCC
12208
 
   builtin and then its argument prototype would still apply.  */
12209
 
#ifdef __cplusplus
12210
 
extern "C"
12211
 
#endif
12212
 
char dlopen ();
12213
 
/* The GNU C library defines this for functions which it implements
12214
 
    to always fail with ENOSYS.  Some functions are actually named
12215
 
    something starting with __ and the normal name is an alias.  */
12216
 
#if defined __stub_dlopen || defined __stub___dlopen
12217
 
choke me
12218
 
#endif
12219
 
 
12220
 
int
12221
 
main ()
12222
 
{
12223
 
return dlopen ();
12224
 
  ;
12225
 
  return 0;
12226
 
}
12227
 
_ACEOF
12228
 
rm -f conftest.$ac_objext conftest$ac_exeext
12229
 
if { (ac_try="$ac_link"
12230
 
case "(($ac_try" in
12231
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12232
 
  *) ac_try_echo=$ac_try;;
12233
 
esac
12234
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12235
 
  (eval "$ac_link") 2>conftest.er1
12236
 
  ac_status=$?
12237
 
  grep -v '^ *+' conftest.er1 >conftest.err
12238
 
  rm -f conftest.er1
12239
 
  cat conftest.err >&5
12240
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241
 
  (exit $ac_status); } && {
12242
 
         test -z "$ac_c_werror_flag" ||
12243
 
         test ! -s conftest.err
12244
 
       } && test -s conftest$ac_exeext &&
12245
 
       $as_test_x conftest$ac_exeext; then
12246
 
  ac_cv_func_dlopen=yes
12247
 
else
12248
 
  echo "$as_me: failed program was:" >&5
12249
 
sed 's/^/| /' conftest.$ac_ext >&5
12250
 
 
12251
 
        ac_cv_func_dlopen=no
12252
 
fi
12253
 
 
12254
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12255
 
      conftest$ac_exeext conftest.$ac_ext
12256
 
fi
12257
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12258
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12259
 
if test $ac_cv_func_dlopen = yes; then
12260
 
  lt_cv_dlopen="dlopen"
12261
 
else
12262
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12263
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12264
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12265
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12266
 
else
12267
 
  ac_check_lib_save_LIBS=$LIBS
12268
 
LIBS="-ldl  $LIBS"
12269
 
cat >conftest.$ac_ext <<_ACEOF
12270
 
/* confdefs.h.  */
12271
 
_ACEOF
12272
 
cat confdefs.h >>conftest.$ac_ext
12273
 
cat >>conftest.$ac_ext <<_ACEOF
12274
 
/* end confdefs.h.  */
12275
 
 
12276
 
/* Override any GCC internal prototype to avoid an error.
12277
 
   Use char because int might match the return type of a GCC
12278
 
   builtin and then its argument prototype would still apply.  */
12279
 
#ifdef __cplusplus
12280
 
extern "C"
12281
 
#endif
12282
 
char dlopen ();
12283
 
int
12284
 
main ()
12285
 
{
12286
 
return dlopen ();
12287
 
  ;
12288
 
  return 0;
12289
 
}
12290
 
_ACEOF
12291
 
rm -f conftest.$ac_objext conftest$ac_exeext
12292
 
if { (ac_try="$ac_link"
12293
 
case "(($ac_try" in
12294
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12295
 
  *) ac_try_echo=$ac_try;;
12296
 
esac
12297
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12298
 
  (eval "$ac_link") 2>conftest.er1
12299
 
  ac_status=$?
12300
 
  grep -v '^ *+' conftest.er1 >conftest.err
12301
 
  rm -f conftest.er1
12302
 
  cat conftest.err >&5
12303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304
 
  (exit $ac_status); } && {
12305
 
         test -z "$ac_c_werror_flag" ||
12306
 
         test ! -s conftest.err
12307
 
       } && test -s conftest$ac_exeext &&
12308
 
       $as_test_x conftest$ac_exeext; then
12309
 
  ac_cv_lib_dl_dlopen=yes
12310
 
else
12311
 
  echo "$as_me: failed program was:" >&5
12312
 
sed 's/^/| /' conftest.$ac_ext >&5
12313
 
 
12314
 
        ac_cv_lib_dl_dlopen=no
12315
 
fi
12316
 
 
12317
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12318
 
      conftest$ac_exeext conftest.$ac_ext
12319
 
LIBS=$ac_check_lib_save_LIBS
12320
 
fi
12321
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12322
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12323
 
if test $ac_cv_lib_dl_dlopen = yes; then
12324
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12325
 
else
12326
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12327
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12328
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12329
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12330
 
else
12331
 
  ac_check_lib_save_LIBS=$LIBS
12332
 
LIBS="-lsvld  $LIBS"
12333
 
cat >conftest.$ac_ext <<_ACEOF
12334
 
/* confdefs.h.  */
12335
 
_ACEOF
12336
 
cat confdefs.h >>conftest.$ac_ext
12337
 
cat >>conftest.$ac_ext <<_ACEOF
12338
 
/* end confdefs.h.  */
12339
 
 
12340
 
/* Override any GCC internal prototype to avoid an error.
12341
 
   Use char because int might match the return type of a GCC
12342
 
   builtin and then its argument prototype would still apply.  */
12343
 
#ifdef __cplusplus
12344
 
extern "C"
12345
 
#endif
12346
 
char dlopen ();
12347
 
int
12348
 
main ()
12349
 
{
12350
 
return dlopen ();
12351
 
  ;
12352
 
  return 0;
12353
 
}
12354
 
_ACEOF
12355
 
rm -f conftest.$ac_objext conftest$ac_exeext
12356
 
if { (ac_try="$ac_link"
12357
 
case "(($ac_try" in
12358
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12359
 
  *) ac_try_echo=$ac_try;;
12360
 
esac
12361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12362
 
  (eval "$ac_link") 2>conftest.er1
12363
 
  ac_status=$?
12364
 
  grep -v '^ *+' conftest.er1 >conftest.err
12365
 
  rm -f conftest.er1
12366
 
  cat conftest.err >&5
12367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368
 
  (exit $ac_status); } && {
12369
 
         test -z "$ac_c_werror_flag" ||
12370
 
         test ! -s conftest.err
12371
 
       } && test -s conftest$ac_exeext &&
12372
 
       $as_test_x conftest$ac_exeext; then
12373
 
  ac_cv_lib_svld_dlopen=yes
12374
 
else
12375
 
  echo "$as_me: failed program was:" >&5
12376
 
sed 's/^/| /' conftest.$ac_ext >&5
12377
 
 
12378
 
        ac_cv_lib_svld_dlopen=no
12379
 
fi
12380
 
 
12381
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12382
 
      conftest$ac_exeext conftest.$ac_ext
12383
 
LIBS=$ac_check_lib_save_LIBS
12384
 
fi
12385
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12386
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12387
 
if test $ac_cv_lib_svld_dlopen = yes; then
12388
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12389
 
else
12390
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12391
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12392
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12393
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12394
 
else
12395
 
  ac_check_lib_save_LIBS=$LIBS
12396
 
LIBS="-ldld  $LIBS"
12397
 
cat >conftest.$ac_ext <<_ACEOF
12398
 
/* confdefs.h.  */
12399
 
_ACEOF
12400
 
cat confdefs.h >>conftest.$ac_ext
12401
 
cat >>conftest.$ac_ext <<_ACEOF
12402
 
/* end confdefs.h.  */
12403
 
 
12404
 
/* Override any GCC internal prototype to avoid an error.
12405
 
   Use char because int might match the return type of a GCC
12406
 
   builtin and then its argument prototype would still apply.  */
12407
 
#ifdef __cplusplus
12408
 
extern "C"
12409
 
#endif
12410
 
char dld_link ();
12411
 
int
12412
 
main ()
12413
 
{
12414
 
return dld_link ();
12415
 
  ;
12416
 
  return 0;
12417
 
}
12418
 
_ACEOF
12419
 
rm -f conftest.$ac_objext conftest$ac_exeext
12420
 
if { (ac_try="$ac_link"
12421
 
case "(($ac_try" in
12422
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12423
 
  *) ac_try_echo=$ac_try;;
12424
 
esac
12425
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12426
 
  (eval "$ac_link") 2>conftest.er1
12427
 
  ac_status=$?
12428
 
  grep -v '^ *+' conftest.er1 >conftest.err
12429
 
  rm -f conftest.er1
12430
 
  cat conftest.err >&5
12431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432
 
  (exit $ac_status); } && {
12433
 
         test -z "$ac_c_werror_flag" ||
12434
 
         test ! -s conftest.err
12435
 
       } && test -s conftest$ac_exeext &&
12436
 
       $as_test_x conftest$ac_exeext; then
12437
 
  ac_cv_lib_dld_dld_link=yes
12438
 
else
12439
 
  echo "$as_me: failed program was:" >&5
12440
 
sed 's/^/| /' conftest.$ac_ext >&5
12441
 
 
12442
 
        ac_cv_lib_dld_dld_link=no
12443
 
fi
12444
 
 
12445
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12446
 
      conftest$ac_exeext conftest.$ac_ext
12447
 
LIBS=$ac_check_lib_save_LIBS
12448
 
fi
12449
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12450
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12451
 
if test $ac_cv_lib_dld_dld_link = yes; then
12452
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12453
 
fi
12454
 
 
12455
 
 
12456
 
fi
12457
 
 
12458
 
 
12459
 
fi
12460
 
 
12461
 
 
12462
 
fi
12463
 
 
12464
 
 
12465
 
fi
12466
 
 
12467
 
 
12468
 
fi
12469
 
 
12470
 
    ;;
12471
 
  esac
12472
 
 
12473
 
  if test "x$lt_cv_dlopen" != xno; then
12474
 
    enable_dlopen=yes
12475
 
  else
12476
 
    enable_dlopen=no
12477
 
  fi
12478
 
 
12479
 
  case $lt_cv_dlopen in
12480
 
  dlopen)
12481
 
    save_CPPFLAGS="$CPPFLAGS"
12482
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12483
 
 
12484
 
    save_LDFLAGS="$LDFLAGS"
12485
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12486
 
 
12487
 
    save_LIBS="$LIBS"
12488
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12489
 
 
12490
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12491
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12492
 
if test "${lt_cv_dlopen_self+set}" = set; then
12493
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12494
 
else
12495
 
          if test "$cross_compiling" = yes; then :
12496
 
  lt_cv_dlopen_self=cross
12497
 
else
12498
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12499
 
  lt_status=$lt_dlunknown
12500
 
  cat > conftest.$ac_ext <<EOF
12501
 
#line 12501 "configure"
12502
 
#include "confdefs.h"
12503
 
 
12504
 
#if HAVE_DLFCN_H
12505
 
#include <dlfcn.h>
12506
 
#endif
12507
 
 
12508
 
#include <stdio.h>
12509
 
 
12510
 
#ifdef RTLD_GLOBAL
12511
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12512
 
#else
12513
 
#  ifdef DL_GLOBAL
12514
 
#    define LT_DLGLOBAL         DL_GLOBAL
12515
 
#  else
12516
 
#    define LT_DLGLOBAL         0
12517
 
#  endif
12518
 
#endif
12519
 
 
12520
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12521
 
   find out it does not work in some platform. */
12522
 
#ifndef LT_DLLAZY_OR_NOW
12523
 
#  ifdef RTLD_LAZY
12524
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12525
 
#  else
12526
 
#    ifdef DL_LAZY
12527
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12528
 
#    else
12529
 
#      ifdef RTLD_NOW
12530
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12531
 
#      else
12532
 
#        ifdef DL_NOW
12533
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12534
 
#        else
12535
 
#          define LT_DLLAZY_OR_NOW      0
12536
 
#        endif
12537
 
#      endif
12538
 
#    endif
12539
 
#  endif
12540
 
#endif
12541
 
 
12542
 
#ifdef __cplusplus
12543
 
extern "C" void exit (int);
12544
 
#endif
12545
 
 
12546
 
void fnord() { int i=42;}
12547
 
int main ()
12548
 
{
12549
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12550
 
  int status = $lt_dlunknown;
12551
 
 
12552
 
  if (self)
12553
 
    {
12554
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12555
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12556
 
      /* dlclose (self); */
12557
 
    }
12558
 
 
12559
 
    exit (status);
12560
 
}
12561
 
EOF
12562
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12563
 
  (eval $ac_link) 2>&5
12564
 
  ac_status=$?
12565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12566
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12567
 
    (./conftest; exit; ) 2>/dev/null
12568
 
    lt_status=$?
12569
 
    case x$lt_status in
12570
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12571
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12572
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12573
 
    esac
12574
 
  else :
12575
 
    # compilation failed
12576
 
    lt_cv_dlopen_self=no
12577
 
  fi
12578
 
fi
12579
 
rm -fr conftest*
12580
 
 
12581
 
 
12582
 
fi
12583
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12584
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12585
 
 
12586
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12587
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12588
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12589
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12590
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12591
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12592
 
else
12593
 
          if test "$cross_compiling" = yes; then :
12594
 
  lt_cv_dlopen_self_static=cross
12595
 
else
12596
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12597
 
  lt_status=$lt_dlunknown
12598
 
  cat > conftest.$ac_ext <<EOF
12599
 
#line 12599 "configure"
12600
 
#include "confdefs.h"
12601
 
 
12602
 
#if HAVE_DLFCN_H
12603
 
#include <dlfcn.h>
12604
 
#endif
12605
 
 
12606
 
#include <stdio.h>
12607
 
 
12608
 
#ifdef RTLD_GLOBAL
12609
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12610
 
#else
12611
 
#  ifdef DL_GLOBAL
12612
 
#    define LT_DLGLOBAL         DL_GLOBAL
12613
 
#  else
12614
 
#    define LT_DLGLOBAL         0
12615
 
#  endif
12616
 
#endif
12617
 
 
12618
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12619
 
   find out it does not work in some platform. */
12620
 
#ifndef LT_DLLAZY_OR_NOW
12621
 
#  ifdef RTLD_LAZY
12622
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12623
 
#  else
12624
 
#    ifdef DL_LAZY
12625
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12626
 
#    else
12627
 
#      ifdef RTLD_NOW
12628
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12629
 
#      else
12630
 
#        ifdef DL_NOW
12631
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12632
 
#        else
12633
 
#          define LT_DLLAZY_OR_NOW      0
12634
 
#        endif
12635
 
#      endif
12636
 
#    endif
12637
 
#  endif
12638
 
#endif
12639
 
 
12640
 
#ifdef __cplusplus
12641
 
extern "C" void exit (int);
12642
 
#endif
12643
 
 
12644
 
void fnord() { int i=42;}
12645
 
int main ()
12646
 
{
12647
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12648
 
  int status = $lt_dlunknown;
12649
 
 
12650
 
  if (self)
12651
 
    {
12652
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12653
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12654
 
      /* dlclose (self); */
12655
 
    }
12656
 
 
12657
 
    exit (status);
12658
 
}
12659
 
EOF
12660
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12661
 
  (eval $ac_link) 2>&5
12662
 
  ac_status=$?
12663
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12665
 
    (./conftest; exit; ) 2>/dev/null
12666
 
    lt_status=$?
12667
 
    case x$lt_status in
12668
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12669
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12670
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12671
 
    esac
12672
 
  else :
12673
 
    # compilation failed
12674
 
    lt_cv_dlopen_self_static=no
12675
 
  fi
12676
 
fi
12677
 
rm -fr conftest*
12678
 
 
12679
 
 
12680
 
fi
12681
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12682
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12683
 
    fi
12684
 
 
12685
 
    CPPFLAGS="$save_CPPFLAGS"
12686
 
    LDFLAGS="$save_LDFLAGS"
12687
 
    LIBS="$save_LIBS"
12688
 
    ;;
12689
 
  esac
12690
 
 
12691
 
  case $lt_cv_dlopen_self in
12692
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12693
 
  *) enable_dlopen_self=unknown ;;
12694
 
  esac
12695
 
 
12696
 
  case $lt_cv_dlopen_self_static in
12697
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12698
 
  *) enable_dlopen_self_static=unknown ;;
12699
 
  esac
12700
 
fi
12701
 
 
12702
 
 
12703
 
# Report which librarie types wil actually be built
12704
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12705
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12706
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12707
 
echo "${ECHO_T}$can_build_shared" >&6; }
12708
 
 
12709
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12710
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12711
 
test "$can_build_shared" = "no" && enable_shared=no
12712
 
 
12713
 
# On AIX, shared libraries and static libraries use the same namespace, and
12714
 
# are all built from PIC.
12715
 
case "$host_os" in
12716
 
aix3*)
12717
 
  test "$enable_shared" = yes && enable_static=no
12718
 
  if test -n "$RANLIB"; then
12719
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
12720
 
    postinstall_cmds='$RANLIB $lib'
12721
 
  fi
12722
 
  ;;
12723
 
 
12724
 
aix4*)
12725
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12726
 
    test "$enable_shared" = yes && enable_static=no
12727
 
  fi
12728
 
  ;;
12729
 
  darwin* | rhapsody*)
12730
 
  if test "$GCC" = yes; then
12731
 
    archive_cmds_need_lc=no
12732
 
    case "$host_os" in
12733
 
    rhapsody* | darwin1.[012])
12734
 
      allow_undefined_flag='-Wl,-undefined -Wl,suppress'
12735
 
      ;;
12736
 
    *) # Darwin 1.3 on
12737
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12738
 
        allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12739
 
      else
12740
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
12741
 
          10.012)
12742
 
            allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12743
 
            ;;
12744
 
          10.*)
12745
 
            allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
12746
 
            ;;
12747
 
        esac
12748
 
      fi
12749
 
      ;;
12750
 
    esac
12751
 
    output_verbose_link_cmd='echo'
12752
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
12753
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
12754
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12755
 
    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}'
12756
 
    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}'
12757
 
    hardcode_direct=no
12758
 
    hardcode_automatic=yes
12759
 
    hardcode_shlibpath_var=unsupported
12760
 
    whole_archive_flag_spec='-all_load $convenience'
12761
 
    link_all_deplibs=yes
12762
 
  else
12763
 
    ld_shlibs=no
12764
 
  fi
12765
 
    ;;
12766
 
esac
12767
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12768
 
echo "${ECHO_T}$enable_shared" >&6; }
12769
 
 
12770
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12771
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12772
 
# Make sure either enable_shared or enable_static is yes.
12773
 
test "$enable_shared" = yes || enable_static=yes
12774
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
12775
 
echo "${ECHO_T}$enable_static" >&6; }
12776
 
 
12777
 
# The else clause should only fire when bootstrapping the
12778
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
12779
 
# with your package, and you will get complaints that there are
12780
 
# no rules to generate ltmain.sh.
12781
 
if test -f "$ltmain"; then
12782
 
  # See if we are running on zsh, and set the options which allow our commands through
12783
 
  # without removal of \ escapes.
12784
 
  if test -n "${ZSH_VERSION+set}" ; then
12785
 
    setopt NO_GLOB_SUBST
12786
 
  fi
12787
 
  # Now quote all the things that may contain metacharacters while being
12788
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12789
 
  # variables and quote the copies for generation of the libtool script.
12790
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12791
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12792
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12793
 
    deplibs_check_method reload_flag reload_cmds need_locks \
12794
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12795
 
    lt_cv_sys_global_symbol_to_c_name_address \
12796
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12797
 
    old_postinstall_cmds old_postuninstall_cmds \
12798
 
    compiler \
12799
 
    CC \
12800
 
    LD \
12801
 
    lt_prog_compiler_wl \
12802
 
    lt_prog_compiler_pic \
12803
 
    lt_prog_compiler_static \
12804
 
    lt_prog_compiler_no_builtin_flag \
12805
 
    export_dynamic_flag_spec \
12806
 
    thread_safe_flag_spec \
12807
 
    whole_archive_flag_spec \
12808
 
    enable_shared_with_static_runtimes \
12809
 
    old_archive_cmds \
12810
 
    old_archive_from_new_cmds \
12811
 
    predep_objects \
12812
 
    postdep_objects \
12813
 
    predeps \
12814
 
    postdeps \
12815
 
    compiler_lib_search_path \
12816
 
    archive_cmds \
12817
 
    archive_expsym_cmds \
12818
 
    postinstall_cmds \
12819
 
    postuninstall_cmds \
12820
 
    old_archive_from_expsyms_cmds \
12821
 
    allow_undefined_flag \
12822
 
    no_undefined_flag \
12823
 
    export_symbols_cmds \
12824
 
    hardcode_libdir_flag_spec \
12825
 
    hardcode_libdir_flag_spec_ld \
12826
 
    hardcode_libdir_separator \
12827
 
    hardcode_automatic \
12828
 
    module_cmds \
12829
 
    module_expsym_cmds \
12830
 
    lt_cv_prog_compiler_c_o \
12831
 
    exclude_expsyms \
12832
 
    include_expsyms; do
12833
 
 
12834
 
    case $var in
12835
 
    old_archive_cmds | \
12836
 
    old_archive_from_new_cmds | \
12837
 
    archive_cmds | \
12838
 
    archive_expsym_cmds | \
12839
 
    module_cmds | \
12840
 
    module_expsym_cmds | \
12841
 
    old_archive_from_expsyms_cmds | \
12842
 
    export_symbols_cmds | \
12843
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
12844
 
    postinstall_cmds | postuninstall_cmds | \
12845
 
    old_postinstall_cmds | old_postuninstall_cmds | \
12846
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12847
 
      # Double-quote double-evaled strings.
12848
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12849
 
      ;;
12850
 
    *)
12851
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12852
 
      ;;
12853
 
    esac
12854
 
  done
12855
 
 
12856
 
  case $lt_echo in
12857
 
  *'\$0 --fallback-echo"')
12858
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12859
 
    ;;
12860
 
  esac
12861
 
 
12862
 
cfgfile="${ofile}T"
12863
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12864
 
  $rm -f "$cfgfile"
12865
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
12866
 
echo "$as_me: creating $ofile" >&6;}
12867
 
 
12868
 
  cat <<__EOF__ >> "$cfgfile"
12869
 
#! $SHELL
12870
 
 
12871
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12872
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12873
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12874
 
#
12875
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
12876
 
# Free Software Foundation, Inc.
12877
 
#
12878
 
# This file is part of GNU Libtool:
12879
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12880
 
#
12881
 
# This program is free software; you can redistribute it and/or modify
12882
 
# it under the terms of the GNU General Public License as published by
12883
 
# the Free Software Foundation; either version 2 of the License, or
12884
 
# (at your option) any later version.
12885
 
#
12886
 
# This program is distributed in the hope that it will be useful, but
12887
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
12888
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12889
 
# General Public License for more details.
12890
 
#
12891
 
# You should have received a copy of the GNU General Public License
12892
 
# along with this program; if not, write to the Free Software
12893
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12894
 
#
12895
 
# As a special exception to the GNU General Public License, if you
12896
 
# distribute this file as part of a program that contains a
12897
 
# configuration script generated by Autoconf, you may include it under
12898
 
# the same distribution terms that you use for the rest of that program.
12899
 
 
12900
 
# A sed program that does not truncate output.
12901
 
SED=$lt_SED
12902
 
 
12903
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12904
 
Xsed="$SED -e s/^X//"
12905
 
 
12906
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
12907
 
# if CDPATH is set.
12908
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
12909
 
 
12910
 
# The names of the tagged configurations supported by this script.
12911
 
available_tags=
12912
 
 
12913
 
# ### BEGIN LIBTOOL CONFIG
12914
 
 
12915
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12916
 
 
12917
 
# Shell to use when invoking shell scripts.
12918
 
SHELL=$lt_SHELL
12919
 
 
12920
 
# Whether or not to build shared libraries.
12921
 
build_libtool_libs=$enable_shared
12922
 
 
12923
 
# Whether or not to build static libraries.
12924
 
build_old_libs=$enable_static
12925
 
 
12926
 
# Whether or not to add -lc for building shared libraries.
12927
 
build_libtool_need_lc=$archive_cmds_need_lc
12928
 
 
12929
 
# Whether or not to disallow shared libs when runtime libs are static
12930
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12931
 
 
12932
 
# Whether or not to optimize for fast installation.
12933
 
fast_install=$enable_fast_install
12934
 
 
12935
 
# The host system.
12936
 
host_alias=$host_alias
12937
 
host=$host
12938
 
 
12939
 
# An echo program that does not interpret backslashes.
12940
 
echo=$lt_echo
12941
 
 
12942
 
# The archiver.
12943
 
AR=$lt_AR
12944
 
AR_FLAGS=$lt_AR_FLAGS
12945
 
 
12946
 
# A C compiler.
12947
 
LTCC=$lt_LTCC
12948
 
 
12949
 
# A language-specific compiler.
12950
 
CC=$lt_compiler
12951
 
 
12952
 
# Is the compiler the GNU C compiler?
12953
 
with_gcc=$GCC
12954
 
 
12955
 
# An ERE matcher.
12956
 
EGREP=$lt_EGREP
12957
 
 
12958
 
# The linker used to build libraries.
12959
 
LD=$lt_LD
12960
 
 
12961
 
# Whether we need hard or soft links.
12962
 
LN_S=$lt_LN_S
12963
 
 
12964
 
# A BSD-compatible nm program.
12965
 
NM=$lt_NM
12966
 
 
12967
 
# A symbol stripping program
12968
 
STRIP=$STRIP
12969
 
 
12970
 
# Used to examine libraries when file_magic_cmd begins "file"
12971
 
MAGIC_CMD=$MAGIC_CMD
12972
 
 
12973
 
# Used on cygwin: DLL creation program.
12974
 
DLLTOOL="$DLLTOOL"
12975
 
 
12976
 
# Used on cygwin: object dumper.
12977
 
OBJDUMP="$OBJDUMP"
12978
 
 
12979
 
# Used on cygwin: assembler.
12980
 
AS="$AS"
12981
 
 
12982
 
# The name of the directory that contains temporary libtool files.
12983
 
objdir=$objdir
12984
 
 
12985
 
# How to create reloadable object files.
12986
 
reload_flag=$lt_reload_flag
12987
 
reload_cmds=$lt_reload_cmds
12988
 
 
12989
 
# How to pass a linker flag through the compiler.
12990
 
wl=$lt_lt_prog_compiler_wl
12991
 
 
12992
 
# Object file suffix (normally "o").
12993
 
objext="$ac_objext"
12994
 
 
12995
 
# Old archive suffix (normally "a").
12996
 
libext="$libext"
12997
 
 
12998
 
# Shared library suffix (normally ".so").
12999
 
shrext='$shrext'
13000
 
 
13001
 
# Executable file suffix (normally "").
13002
 
exeext="$exeext"
13003
 
 
13004
 
# Additional compiler flags for building library objects.
13005
 
pic_flag=$lt_lt_prog_compiler_pic
13006
 
pic_mode=$pic_mode
13007
 
 
13008
 
# What is the maximum length of a command?
13009
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13010
 
 
13011
 
# Does compiler simultaneously support -c and -o options?
13012
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13013
 
 
13014
 
# Must we lock files when doing compilation ?
13015
 
need_locks=$lt_need_locks
13016
 
 
13017
 
# Do we need the lib prefix for modules?
13018
 
need_lib_prefix=$need_lib_prefix
13019
 
 
13020
 
# Do we need a version for libraries?
13021
 
need_version=$need_version
13022
 
 
13023
 
# Whether dlopen is supported.
13024
 
dlopen_support=$enable_dlopen
13025
 
 
13026
 
# Whether dlopen of programs is supported.
13027
 
dlopen_self=$enable_dlopen_self
13028
 
 
13029
 
# Whether dlopen of statically linked programs is supported.
13030
 
dlopen_self_static=$enable_dlopen_self_static
13031
 
 
13032
 
# Compiler flag to prevent dynamic linking.
13033
 
link_static_flag=$lt_lt_prog_compiler_static
13034
 
 
13035
 
# Compiler flag to turn off builtin functions.
13036
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13037
 
 
13038
 
# Compiler flag to allow reflexive dlopens.
13039
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13040
 
 
13041
 
# Compiler flag to generate shared objects directly from archives.
13042
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
13043
 
 
13044
 
# Compiler flag to generate thread-safe objects.
13045
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
13046
 
 
13047
 
# Library versioning type.
13048
 
version_type=$version_type
13049
 
 
13050
 
# Format of library name prefix.
13051
 
libname_spec=$lt_libname_spec
13052
 
 
13053
 
# List of archive names.  First name is the real one, the rest are links.
13054
 
# The last name is the one that the linker finds with -lNAME.
13055
 
library_names_spec=$lt_library_names_spec
13056
 
 
13057
 
# The coded name of the library, if different from the real name.
13058
 
soname_spec=$lt_soname_spec
13059
 
 
13060
 
# Commands used to build and install an old-style archive.
13061
 
RANLIB=$lt_RANLIB
13062
 
old_archive_cmds=$lt_old_archive_cmds
13063
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13064
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13065
 
 
13066
 
# Create an old-style archive from a shared archive.
13067
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13068
 
 
13069
 
# Create a temporary old-style archive to link instead of a shared archive.
13070
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13071
 
 
13072
 
# Commands used to build and install a shared archive.
13073
 
archive_cmds=$lt_archive_cmds
13074
 
archive_expsym_cmds=$lt_archive_expsym_cmds
13075
 
postinstall_cmds=$lt_postinstall_cmds
13076
 
postuninstall_cmds=$lt_postuninstall_cmds
13077
 
 
13078
 
# Commands used to build a loadable module (assumed same as above if empty)
13079
 
module_cmds=$lt_module_cmds
13080
 
module_expsym_cmds=$lt_module_expsym_cmds
13081
 
 
13082
 
# Commands to strip libraries.
13083
 
old_striplib=$lt_old_striplib
13084
 
striplib=$lt_striplib
13085
 
 
13086
 
# Dependencies to place before the objects being linked to create a
13087
 
# shared library.
13088
 
predep_objects=$lt_predep_objects
13089
 
 
13090
 
# Dependencies to place after the objects being linked to create a
13091
 
# shared library.
13092
 
postdep_objects=$lt_postdep_objects
13093
 
 
13094
 
# Dependencies to place before the objects being linked to create a
13095
 
# shared library.
13096
 
predeps=$lt_predeps
13097
 
 
13098
 
# Dependencies to place after the objects being linked to create a
13099
 
# shared library.
13100
 
postdeps=$lt_postdeps
13101
 
 
13102
 
# The library search path used internally by the compiler when linking
13103
 
# a shared library.
13104
 
compiler_lib_search_path=$lt_compiler_lib_search_path
13105
 
 
13106
 
# Method to check whether dependent libraries are shared objects.
13107
 
deplibs_check_method=$lt_deplibs_check_method
13108
 
 
13109
 
# Command to use when deplibs_check_method == file_magic.
13110
 
file_magic_cmd=$lt_file_magic_cmd
13111
 
 
13112
 
# Flag that allows shared libraries with undefined symbols to be built.
13113
 
allow_undefined_flag=$lt_allow_undefined_flag
13114
 
 
13115
 
# Flag that forces no undefined symbols.
13116
 
no_undefined_flag=$lt_no_undefined_flag
13117
 
 
13118
 
# Commands used to finish a libtool library installation in a directory.
13119
 
finish_cmds=$lt_finish_cmds
13120
 
 
13121
 
# Same as above, but a single script fragment to be evaled but not shown.
13122
 
finish_eval=$lt_finish_eval
13123
 
 
13124
 
# Take the output of nm and produce a listing of raw symbols and C names.
13125
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13126
 
 
13127
 
# Transform the output of nm in a proper C declaration
13128
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13129
 
 
13130
 
# Transform the output of nm in a C name address pair
13131
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13132
 
 
13133
 
# This is the shared library runtime path variable.
13134
 
runpath_var=$runpath_var
13135
 
 
13136
 
# This is the shared library path variable.
13137
 
shlibpath_var=$shlibpath_var
13138
 
 
13139
 
# Is shlibpath searched before the hard-coded library search path?
13140
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13141
 
 
13142
 
# How to hardcode a shared library path into an executable.
13143
 
hardcode_action=$hardcode_action
13144
 
 
13145
 
# Whether we should hardcode library paths into libraries.
13146
 
hardcode_into_libs=$hardcode_into_libs
13147
 
 
13148
 
# Flag to hardcode \$libdir into a binary during linking.
13149
 
# This must work even if \$libdir does not exist.
13150
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13151
 
 
13152
 
# If ld is used when linking, flag to hardcode \$libdir into
13153
 
# a binary during linking. This must work even if \$libdir does
13154
 
# not exist.
13155
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13156
 
 
13157
 
# Whether we need a single -rpath flag with a separated argument.
13158
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13159
 
 
13160
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13161
 
# resulting binary.
13162
 
hardcode_direct=$hardcode_direct
13163
 
 
13164
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13165
 
# resulting binary.
13166
 
hardcode_minus_L=$hardcode_minus_L
13167
 
 
13168
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13169
 
# the resulting binary.
13170
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
13171
 
 
13172
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13173
 
# and all subsequent libraries and executables linked against it.
13174
 
hardcode_automatic=$hardcode_automatic
13175
 
 
13176
 
# Variables whose values should be saved in libtool wrapper scripts and
13177
 
# restored at relink time.
13178
 
variables_saved_for_relink="$variables_saved_for_relink"
13179
 
 
13180
 
# Whether libtool must link a program against all its dependency libraries.
13181
 
link_all_deplibs=$link_all_deplibs
13182
 
 
13183
 
# Compile-time system search path for libraries
13184
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13185
 
 
13186
 
# Run-time system search path for libraries
13187
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13188
 
 
13189
 
# Fix the shell variable \$srcfile for the compiler.
13190
 
fix_srcfile_path="$fix_srcfile_path"
13191
 
 
13192
 
# Set to yes if exported symbols are required.
13193
 
always_export_symbols=$always_export_symbols
13194
 
 
13195
 
# The commands to list exported symbols.
13196
 
export_symbols_cmds=$lt_export_symbols_cmds
13197
 
 
13198
 
# The commands to extract the exported symbol list from a shared archive.
13199
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13200
 
 
13201
 
# Symbols that should not be listed in the preloaded symbols.
13202
 
exclude_expsyms=$lt_exclude_expsyms
13203
 
 
13204
 
# Symbols that must always be exported.
13205
 
include_expsyms=$lt_include_expsyms
13206
 
 
13207
 
# ### END LIBTOOL CONFIG
13208
 
 
13209
 
__EOF__
13210
 
 
13211
 
 
13212
 
  case $host_os in
13213
 
  aix3*)
13214
 
    cat <<\EOF >> "$cfgfile"
13215
 
 
13216
 
# AIX sometimes has problems with the GCC collect2 program.  For some
13217
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
13218
 
# vanish in a puff of smoke.
13219
 
if test "X${COLLECT_NAMES+set}" != Xset; then
13220
 
  COLLECT_NAMES=
13221
 
  export COLLECT_NAMES
13222
 
fi
13223
 
EOF
13224
 
    ;;
13225
 
  esac
13226
 
 
13227
 
  # We use sed instead of cat because bash on DJGPP gets confused if
13228
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13229
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
13230
 
  # is reportedly fixed, but why not run on old versions too?
13231
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13232
 
 
13233
 
  mv -f "$cfgfile" "$ofile" || \
13234
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13235
 
  chmod +x "$ofile"
13236
 
 
13237
 
else
13238
 
  # If there is no Makefile yet, we rely on a make rule to execute
13239
 
  # `config.status --recheck' to rerun these tests and create the
13240
 
  # libtool script then.
13241
 
  test -f Makefile && make "$ltmain"
13242
 
fi
13243
 
 
13244
 
 
13245
 
ac_ext=c
13246
 
ac_cpp='$CPP $CPPFLAGS'
13247
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13248
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13249
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13250
 
 
13251
 
CC="$lt_save_CC"
13252
 
 
13253
 
 
13254
 
# Check whether --with-tags was given.
13255
 
if test "${with_tags+set}" = set; then
13256
 
  withval=$with_tags; tagnames="$withval"
13257
 
fi
13258
 
 
13259
 
 
13260
 
if test -f "$ltmain" && test -n "$tagnames"; then
13261
 
  if test ! -f "${ofile}"; then
13262
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13263
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13264
 
  fi
13265
 
 
13266
 
  if test -z "$LTCC"; then
13267
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13268
 
    if test -z "$LTCC"; then
13269
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13270
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13271
 
    else
13272
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13273
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13274
 
    fi
13275
 
  fi
13276
 
 
13277
 
  # Extract list of available tagged configurations in $ofile.
13278
 
  # Note that this assumes the entire list is on one line.
13279
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13280
 
 
13281
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13282
 
  for tagname in $tagnames; do
13283
 
    IFS="$lt_save_ifs"
13284
 
    # Check whether tagname contains only valid characters
13285
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13286
 
    "") ;;
13287
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13288
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
13289
 
   { (exit 1); exit 1; }; }
13290
 
        ;;
13291
 
    esac
13292
 
 
13293
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13294
 
    then
13295
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13296
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13297
 
   { (exit 1); exit 1; }; }
13298
 
    fi
13299
 
 
13300
 
    # Update the list of available tags.
13301
 
    if test -n "$tagname"; then
13302
 
      echo appending configuration tag \"$tagname\" to $ofile
13303
 
 
13304
 
      case $tagname in
13305
 
      CXX)
13306
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
13307
 
          ac_ext=cpp
13308
 
ac_cpp='$CXXCPP $CPPFLAGS'
13309
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13310
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13311
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13312
 
 
13313
 
 
13314
 
 
13315
 
 
13316
 
archive_cmds_need_lc_CXX=no
13317
 
allow_undefined_flag_CXX=
13318
 
always_export_symbols_CXX=no
13319
 
archive_expsym_cmds_CXX=
13320
 
export_dynamic_flag_spec_CXX=
13321
 
hardcode_direct_CXX=no
13322
 
hardcode_libdir_flag_spec_CXX=
13323
 
hardcode_libdir_flag_spec_ld_CXX=
13324
 
hardcode_libdir_separator_CXX=
13325
 
hardcode_minus_L_CXX=no
13326
 
hardcode_automatic_CXX=no
13327
 
module_cmds_CXX=
13328
 
module_expsym_cmds_CXX=
13329
 
link_all_deplibs_CXX=unknown
13330
 
old_archive_cmds_CXX=$old_archive_cmds
13331
 
no_undefined_flag_CXX=
13332
 
whole_archive_flag_spec_CXX=
13333
 
enable_shared_with_static_runtimes_CXX=no
13334
 
 
13335
 
# Dependencies to place before and after the object being linked:
13336
 
predep_objects_CXX=
13337
 
postdep_objects_CXX=
13338
 
predeps_CXX=
13339
 
postdeps_CXX=
13340
 
compiler_lib_search_path_CXX=
13341
 
 
13342
 
# Source file extension for C++ test sources.
13343
 
ac_ext=cc
13344
 
 
13345
 
# Object file extension for compiled C++ test sources.
13346
 
objext=o
13347
 
objext_CXX=$objext
13348
 
 
13349
 
# Code to be used in simple compile tests
13350
 
lt_simple_compile_test_code="int some_variable = 0;\n"
13351
 
 
13352
 
# Code to be used in simple link tests
13353
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
13354
 
 
13355
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13356
 
 
13357
 
# If no C compiler was specified, use CC.
13358
 
LTCC=${LTCC-"$CC"}
13359
 
 
13360
 
# Allow CC to be a program name with arguments.
13361
 
compiler=$CC
13362
 
 
13363
 
 
13364
 
# Allow CC to be a program name with arguments.
13365
 
lt_save_CC=$CC
13366
 
lt_save_LD=$LD
13367
 
lt_save_GCC=$GCC
13368
 
GCC=$GXX
13369
 
lt_save_with_gnu_ld=$with_gnu_ld
13370
 
lt_save_path_LD=$lt_cv_path_LD
13371
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13372
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13373
 
else
13374
 
  unset lt_cv_prog_gnu_ld
13375
 
fi
13376
 
if test -n "${lt_cv_path_LDCXX+set}"; then
13377
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
13378
 
else
13379
 
  unset lt_cv_path_LD
13380
 
fi
13381
 
test -z "${LDCXX+set}" || LD=$LDCXX
13382
 
CC=${CXX-"c++"}
13383
 
compiler=$CC
13384
 
compiler_CXX=$CC
13385
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13386
 
 
13387
 
# We don't want -fno-exception wen compiling C++ code, so set the
13388
 
# no_builtin_flag separately
13389
 
if test "$GXX" = yes; then
13390
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13391
 
else
13392
 
  lt_prog_compiler_no_builtin_flag_CXX=
13393
 
fi
13394
 
 
13395
 
if test "$GXX" = yes; then
13396
 
  # Set up default GNU C++ configuration
13397
 
 
13398
 
 
13399
 
# Check whether --with-gnu-ld was given.
13400
 
if test "${with_gnu_ld+set}" = set; then
13401
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13402
 
else
13403
 
  with_gnu_ld=no
13404
 
fi
13405
 
 
13406
 
ac_prog=ld
13407
 
if test "$GCC" = yes; then
13408
 
  # Check if gcc -print-prog-name=ld gives a path.
13409
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13410
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13411
 
  case $host in
13412
 
  *-*-mingw*)
13413
 
    # gcc leaves a trailing carriage return which upsets mingw
13414
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13415
 
  *)
13416
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13417
 
  esac
13418
 
  case $ac_prog in
13419
 
    # Accept absolute paths.
13420
 
    [\\/]* | ?:[\\/]*)
13421
 
      re_direlt='/[^/][^/]*/\.\./'
13422
 
      # Canonicalize the pathname of ld
13423
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13424
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13425
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13426
 
      done
13427
 
      test -z "$LD" && LD="$ac_prog"
13428
 
      ;;
13429
 
  "")
13430
 
    # If it fails, then pretend we aren't using GCC.
13431
 
    ac_prog=ld
13432
 
    ;;
13433
 
  *)
13434
 
    # If it is relative, then search for the first ld in PATH.
13435
 
    with_gnu_ld=unknown
13436
 
    ;;
13437
 
  esac
13438
 
elif test "$with_gnu_ld" = yes; then
13439
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
13440
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13441
 
else
13442
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13443
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13444
 
fi
13445
 
if test "${lt_cv_path_LD+set}" = set; then
13446
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13447
 
else
13448
 
  if test -z "$LD"; then
13449
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13450
 
  for ac_dir in $PATH; do
13451
 
    IFS="$lt_save_ifs"
13452
 
    test -z "$ac_dir" && ac_dir=.
13453
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13454
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
13455
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
13456
 
      # but apparently some GNU ld's only accept -v.
13457
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
13458
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13459
 
      *GNU* | *'with BFD'*)
13460
 
        test "$with_gnu_ld" != no && break
13461
 
        ;;
13462
 
      *)
13463
 
        test "$with_gnu_ld" != yes && break
13464
 
        ;;
13465
 
      esac
13466
 
    fi
13467
 
  done
13468
 
  IFS="$lt_save_ifs"
13469
 
else
13470
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
13471
 
fi
13472
 
fi
13473
 
 
13474
 
LD="$lt_cv_path_LD"
13475
 
if test -n "$LD"; then
13476
 
  { echo "$as_me:$LINENO: result: $LD" >&5
13477
 
echo "${ECHO_T}$LD" >&6; }
13478
 
else
13479
 
  { echo "$as_me:$LINENO: result: no" >&5
13480
 
echo "${ECHO_T}no" >&6; }
13481
 
fi
13482
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13483
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13484
 
   { (exit 1); exit 1; }; }
13485
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13486
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13487
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13488
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13489
 
else
13490
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13491
 
case `$LD -v 2>&1 </dev/null` in
13492
 
*GNU* | *'with BFD'*)
13493
 
  lt_cv_prog_gnu_ld=yes
13494
 
  ;;
13495
 
*)
13496
 
  lt_cv_prog_gnu_ld=no
13497
 
  ;;
13498
 
esac
13499
 
fi
13500
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13501
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13502
 
with_gnu_ld=$lt_cv_prog_gnu_ld
13503
 
 
13504
 
 
13505
 
 
13506
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
13507
 
  # archiving commands below assume that GNU ld is being used.
13508
 
  if test "$with_gnu_ld" = yes; then
13509
 
    archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13510
 
    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'
13511
 
 
13512
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13513
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13514
 
 
13515
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
13516
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13517
 
    #     investigate it a little bit more. (MM)
13518
 
    wlarc='${wl}'
13519
 
 
13520
 
    # ancient GNU ld didn't support --whole-archive et. al.
13521
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13522
 
        grep 'no-whole-archive' > /dev/null; then
13523
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13524
 
    else
13525
 
      whole_archive_flag_spec_CXX=
13526
 
    fi
13527
 
  else
13528
 
    with_gnu_ld=no
13529
 
    wlarc=
13530
 
 
13531
 
    # A generic and very simple default shared library creation
13532
 
    # command for GNU C++ for the case where it uses the native
13533
 
    # linker, instead of GNU ld.  If possible, this setting should
13534
 
    # overridden to take advantage of the native linker features on
13535
 
    # the platform it is being used on.
13536
 
    archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
13537
 
  fi
13538
 
 
13539
 
  # Commands to make compiler produce verbose output that lists
13540
 
  # what "hidden" libraries, object files and flags are used when
13541
 
  # linking a shared library.
13542
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13543
 
 
13544
 
else
13545
 
  GXX=no
13546
 
  with_gnu_ld=no
13547
 
  wlarc=
13548
 
fi
13549
 
 
13550
 
# PORTME: fill in a description of your system's C++ link characteristics
13551
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13552
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13553
 
ld_shlibs_CXX=yes
13554
 
case $host_os in
13555
 
  aix3*)
13556
 
    # FIXME: insert proper C++ library support
13557
 
    ld_shlibs_CXX=no
13558
 
    ;;
13559
 
  aix4* | aix5*)
13560
 
    if test "$host_cpu" = ia64; then
13561
 
      # On IA64, the linker does run time linking by default, so we don't
13562
 
      # have to do anything special.
13563
 
      aix_use_runtimelinking=no
13564
 
      exp_sym_flag='-Bexport'
13565
 
      no_entry_flag=""
13566
 
    else
13567
 
      # KDE requires run time linking.  Make it the default.
13568
 
      aix_use_runtimelinking=yes
13569
 
      exp_sym_flag='-bexport'
13570
 
      no_entry_flag='-bnoentry'
13571
 
    fi
13572
 
 
13573
 
    # When large executables or shared objects are built, AIX ld can
13574
 
    # have problems creating the table of contents.  If linking a library
13575
 
    # or program results in "error TOC overflow" add -mminimal-toc to
13576
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13577
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13578
 
 
13579
 
    archive_cmds_CXX=''
13580
 
    hardcode_direct_CXX=yes
13581
 
    hardcode_libdir_separator_CXX=':'
13582
 
    link_all_deplibs_CXX=yes
13583
 
 
13584
 
    if test "$GXX" = yes; then
13585
 
      case $host_os in aix4.012|aix4.012.*)
13586
 
      # We only want to do this on AIX 4.2 and lower, the check
13587
 
      # below for broken collect2 doesn't work under 4.3+
13588
 
        collect2name=`${CC} -print-prog-name=collect2`
13589
 
        if test -f "$collect2name" && \
13590
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13591
 
        then
13592
 
          # We have reworked collect2
13593
 
          hardcode_direct_CXX=yes
13594
 
        else
13595
 
          # We have old collect2
13596
 
          hardcode_direct_CXX=unsupported
13597
 
          # It fails to find uninstalled libraries when the uninstalled
13598
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
13599
 
          # to unsupported forces relinking
13600
 
          hardcode_minus_L_CXX=yes
13601
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
13602
 
          hardcode_libdir_separator_CXX=
13603
 
        fi
13604
 
      esac
13605
 
      shared_flag='-shared'
13606
 
    else
13607
 
      # not using gcc
13608
 
      if test "$host_cpu" = ia64; then
13609
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13610
 
        # chokes on -Wl,-G. The following line is correct:
13611
 
        shared_flag='-G'
13612
 
      else
13613
 
        if test "$aix_use_runtimelinking" = yes; then
13614
 
          shared_flag='-qmkshrobj ${wl}-G'
13615
 
        else
13616
 
          shared_flag='-qmkshrobj'
13617
 
        fi
13618
 
      fi
13619
 
    fi
13620
 
 
13621
 
    # Let the compiler handle the export list.
13622
 
    always_export_symbols_CXX=no
13623
 
    if test "$aix_use_runtimelinking" = yes; then
13624
 
      # Warning - without using the other runtime loading flags (-brtl),
13625
 
      # -berok will link without error, but may produce a broken library.
13626
 
      allow_undefined_flag_CXX='-berok'
13627
 
      # Determine the default libpath from the value encoded in an empty executable.
13628
 
      cat >conftest.$ac_ext <<_ACEOF
13629
 
/* confdefs.h.  */
13630
 
_ACEOF
13631
 
cat confdefs.h >>conftest.$ac_ext
13632
 
cat >>conftest.$ac_ext <<_ACEOF
13633
 
/* end confdefs.h.  */
13634
 
 
13635
 
int
13636
 
main ()
13637
 
{
13638
 
 
13639
 
  ;
13640
 
  return 0;
13641
 
}
13642
 
_ACEOF
13643
 
rm -f conftest.$ac_objext conftest$ac_exeext
13644
 
if { (ac_try="$ac_link"
13645
 
case "(($ac_try" in
13646
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13647
 
  *) ac_try_echo=$ac_try;;
13648
 
esac
13649
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13650
 
  (eval "$ac_link") 2>conftest.er1
13651
 
  ac_status=$?
13652
 
  grep -v '^ *+' conftest.er1 >conftest.err
13653
 
  rm -f conftest.er1
13654
 
  cat conftest.err >&5
13655
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656
 
  (exit $ac_status); } && {
13657
 
         test -z "$ac_cxx_werror_flag" ||
13658
 
         test ! -s conftest.err
13659
 
       } && test -s conftest$ac_exeext &&
13660
 
       $as_test_x conftest$ac_exeext; then
13661
 
 
13662
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13663
 
}'`
13664
 
# Check for a 64-bit object if we didn't find anything.
13665
 
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; }
13666
 
}'`; fi
13667
 
else
13668
 
  echo "$as_me: failed program was:" >&5
13669
 
sed 's/^/| /' conftest.$ac_ext >&5
13670
 
 
13671
 
 
13672
 
fi
13673
 
 
13674
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13675
 
      conftest$ac_exeext conftest.$ac_ext
13676
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13677
 
 
13678
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13679
 
 
13680
 
      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"
13681
 
      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"
13682
 
     else
13683
 
      if test "$host_cpu" = ia64; then
13684
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13685
 
        allow_undefined_flag_CXX="-z nodefs"
13686
 
        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"
13687
 
      else
13688
 
        # Determine the default libpath from the value encoded in an empty executable.
13689
 
        cat >conftest.$ac_ext <<_ACEOF
13690
 
/* confdefs.h.  */
13691
 
_ACEOF
13692
 
cat confdefs.h >>conftest.$ac_ext
13693
 
cat >>conftest.$ac_ext <<_ACEOF
13694
 
/* end confdefs.h.  */
13695
 
 
13696
 
int
13697
 
main ()
13698
 
{
13699
 
 
13700
 
  ;
13701
 
  return 0;
13702
 
}
13703
 
_ACEOF
13704
 
rm -f conftest.$ac_objext conftest$ac_exeext
13705
 
if { (ac_try="$ac_link"
13706
 
case "(($ac_try" in
13707
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13708
 
  *) ac_try_echo=$ac_try;;
13709
 
esac
13710
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13711
 
  (eval "$ac_link") 2>conftest.er1
13712
 
  ac_status=$?
13713
 
  grep -v '^ *+' conftest.er1 >conftest.err
13714
 
  rm -f conftest.er1
13715
 
  cat conftest.err >&5
13716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717
 
  (exit $ac_status); } && {
13718
 
         test -z "$ac_cxx_werror_flag" ||
13719
 
         test ! -s conftest.err
13720
 
       } && test -s conftest$ac_exeext &&
13721
 
       $as_test_x conftest$ac_exeext; then
13722
 
 
13723
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13724
 
}'`
13725
 
# Check for a 64-bit object if we didn't find anything.
13726
 
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; }
13727
 
}'`; fi
13728
 
else
13729
 
  echo "$as_me: failed program was:" >&5
13730
 
sed 's/^/| /' conftest.$ac_ext >&5
13731
 
 
13732
 
 
13733
 
fi
13734
 
 
13735
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13736
 
      conftest$ac_exeext conftest.$ac_ext
13737
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13738
 
 
13739
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13740
 
        # Warning - without using the other run time loading flags,
13741
 
        # -berok will link without error, but may produce a broken library.
13742
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
13743
 
        allow_undefined_flag_CXX=' ${wl}-berok'
13744
 
        # -bexpall does not export symbols beginning with underscore (_)
13745
 
        always_export_symbols_CXX=yes
13746
 
        # Exported symbols can be pulled into shared objects from archives
13747
 
        whole_archive_flag_spec_CXX=' '
13748
 
        archive_cmds_need_lc_CXX=yes
13749
 
        # This is similar to how AIX traditionally builds it's shared libraries.
13750
 
        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'
13751
 
      fi
13752
 
    fi
13753
 
    ;;
13754
 
  chorus*)
13755
 
    case $cc_basename in
13756
 
      *)
13757
 
        # FIXME: insert proper C++ library support
13758
 
        ld_shlibs_CXX=no
13759
 
        ;;
13760
 
    esac
13761
 
    ;;
13762
 
 
13763
 
  cygwin* | mingw* | pw32*)
13764
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13765
 
    # as there is no search path for DLLs.
13766
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
13767
 
    allow_undefined_flag_CXX=no
13768
 
    always_export_symbols_CXX=no
13769
 
    enable_shared_with_static_runtimes_CXX=yes
13770
 
 
13771
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13772
 
      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'
13773
 
      # If the export-symbols file already is a .def file (1st line
13774
 
      # is EXPORTS), use it as is; otherwise, prepend...
13775
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13776
 
        cp $export_symbols $output_objdir/$soname.def;
13777
 
      else
13778
 
        echo EXPORTS > $output_objdir/$soname.def;
13779
 
        cat $export_symbols >> $output_objdir/$soname.def;
13780
 
      fi~
13781
 
      $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'
13782
 
    else
13783
 
      ld_shlibs_CXX=no
13784
 
    fi
13785
 
  ;;
13786
 
 
13787
 
  darwin* | rhapsody*)
13788
 
  if test "$GXX" = yes; then
13789
 
    archive_cmds_need_lc_CXX=no
13790
 
    case "$host_os" in
13791
 
    rhapsody* | darwin1.[012])
13792
 
      allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress'
13793
 
      ;;
13794
 
    *) # Darwin 1.3 on
13795
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13796
 
        allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13797
 
      else
13798
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
13799
 
          10.012)
13800
 
            allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13801
 
            ;;
13802
 
          10.*)
13803
 
            allow_undefined_flag_CXX='-Wl,-undefined -Wl,dynamic_lookup'
13804
 
            ;;
13805
 
        esac
13806
 
      fi
13807
 
      ;;
13808
 
    esac
13809
 
    lt_int_apple_cc_single_mod=no
13810
 
    output_verbose_link_cmd='echo'
13811
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13812
 
      lt_int_apple_cc_single_mod=yes
13813
 
    fi
13814
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13815
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
13816
 
    else
13817
 
      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'
13818
 
    fi
13819
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
13820
 
 
13821
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13822
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13823
 
      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}'
13824
 
    else
13825
 
      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}'
13826
 
    fi
13827
 
    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}'
13828
 
    hardcode_direct_CXX=no
13829
 
    hardcode_automatic_CXX=yes
13830
 
    hardcode_shlibpath_var_CXX=unsupported
13831
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
13832
 
    link_all_deplibs_CXX=yes
13833
 
  else
13834
 
    ld_shlibs_CXX=no
13835
 
  fi
13836
 
    ;;
13837
 
 
13838
 
  dgux*)
13839
 
    case $cc_basename in
13840
 
      ec++)
13841
 
        # FIXME: insert proper C++ library support
13842
 
        ld_shlibs_CXX=no
13843
 
        ;;
13844
 
      ghcx)
13845
 
        # Green Hills C++ Compiler
13846
 
        # FIXME: insert proper C++ library support
13847
 
        ld_shlibs_CXX=no
13848
 
        ;;
13849
 
      *)
13850
 
        # FIXME: insert proper C++ library support
13851
 
        ld_shlibs_CXX=no
13852
 
        ;;
13853
 
    esac
13854
 
    ;;
13855
 
  freebsd12*)
13856
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
13857
 
    ld_shlibs_CXX=no
13858
 
    ;;
13859
 
  freebsd-elf*)
13860
 
    archive_cmds_need_lc_CXX=no
13861
 
    ;;
13862
 
  freebsd* | kfreebsd*-gnu)
13863
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13864
 
    # conventions
13865
 
    ld_shlibs_CXX=yes
13866
 
    ;;
13867
 
  gnu*)
13868
 
    ;;
13869
 
  hpux9*)
13870
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13871
 
    hardcode_libdir_separator_CXX=:
13872
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13873
 
    hardcode_direct_CXX=yes
13874
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
13875
 
                                # but as the default
13876
 
                                # location of the library.
13877
 
 
13878
 
    case $cc_basename in
13879
 
    CC)
13880
 
      # FIXME: insert proper C++ library support
13881
 
      ld_shlibs_CXX=no
13882
 
      ;;
13883
 
    aCC)
13884
 
      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'
13885
 
      # Commands to make compiler produce verbose output that lists
13886
 
      # what "hidden" libraries, object files and flags are used when
13887
 
      # linking a shared library.
13888
 
      #
13889
 
      # There doesn't appear to be a way to prevent this compiler from
13890
 
      # explicitly linking system object files so we need to strip them
13891
 
      # from the output so that they don't get included in the library
13892
 
      # dependencies.
13893
 
      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'
13894
 
      ;;
13895
 
    *)
13896
 
      if test "$GXX" = yes; then
13897
 
        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'
13898
 
      else
13899
 
        # FIXME: insert proper C++ library support
13900
 
        ld_shlibs_CXX=no
13901
 
      fi
13902
 
      ;;
13903
 
    esac
13904
 
    ;;
13905
 
  hpux10*|hpux11*)
13906
 
    if test $with_gnu_ld = no; then
13907
 
      case "$host_cpu" in
13908
 
      hppa*64*)
13909
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13910
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13911
 
        hardcode_libdir_separator_CXX=:
13912
 
        ;;
13913
 
      ia64*)
13914
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
13915
 
        ;;
13916
 
      *)
13917
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13918
 
        hardcode_libdir_separator_CXX=:
13919
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13920
 
        ;;
13921
 
      esac
13922
 
    fi
13923
 
    case "$host_cpu" in
13924
 
    hppa*64*)
13925
 
      hardcode_direct_CXX=no
13926
 
      hardcode_shlibpath_var_CXX=no
13927
 
      ;;
13928
 
    ia64*)
13929
 
      hardcode_direct_CXX=no
13930
 
      hardcode_shlibpath_var_CXX=no
13931
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13932
 
                                              # but as the default
13933
 
                                              # location of the library.
13934
 
      ;;
13935
 
    *)
13936
 
      hardcode_direct_CXX=yes
13937
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13938
 
                                              # but as the default
13939
 
                                              # location of the library.
13940
 
      ;;
13941
 
    esac
13942
 
 
13943
 
    case $cc_basename in
13944
 
      CC)
13945
 
        # FIXME: insert proper C++ library support
13946
 
        ld_shlibs_CXX=no
13947
 
        ;;
13948
 
      aCC)
13949
 
        case "$host_cpu" in
13950
 
        hppa*64*|ia64*)
13951
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13952
 
          ;;
13953
 
        *)
13954
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13955
 
          ;;
13956
 
        esac
13957
 
        # Commands to make compiler produce verbose output that lists
13958
 
        # what "hidden" libraries, object files and flags are used when
13959
 
        # linking a shared library.
13960
 
        #
13961
 
        # There doesn't appear to be a way to prevent this compiler from
13962
 
        # explicitly linking system object files so we need to strip them
13963
 
        # from the output so that they don't get included in the library
13964
 
        # dependencies.
13965
 
        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'
13966
 
        ;;
13967
 
      *)
13968
 
        if test "$GXX" = yes; then
13969
 
          if test $with_gnu_ld = no; then
13970
 
            case "$host_cpu" in
13971
 
            ia64*|hppa*64*)
13972
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13973
 
              ;;
13974
 
            *)
13975
 
              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'
13976
 
              ;;
13977
 
            esac
13978
 
          fi
13979
 
        else
13980
 
          # FIXME: insert proper C++ library support
13981
 
          ld_shlibs_CXX=no
13982
 
        fi
13983
 
        ;;
13984
 
    esac
13985
 
    ;;
13986
 
  irix5* | irix6*)
13987
 
    case $cc_basename in
13988
 
      CC)
13989
 
        # SGI C++
13990
 
        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'
13991
 
 
13992
 
        # Archives containing C++ object files must be created using
13993
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13994
 
        # necessary to make sure instantiated templates are included
13995
 
        # in the archive.
13996
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13997
 
        ;;
13998
 
      *)
13999
 
        if test "$GXX" = yes; then
14000
 
          if test "$with_gnu_ld" = no; then
14001
 
            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'
14002
 
          else
14003
 
            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'
14004
 
          fi
14005
 
        fi
14006
 
        link_all_deplibs_CXX=yes
14007
 
        ;;
14008
 
    esac
14009
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14010
 
    hardcode_libdir_separator_CXX=:
14011
 
    ;;
14012
 
  linux*)
14013
 
    case $cc_basename in
14014
 
      KCC)
14015
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14016
 
 
14017
 
        # KCC will only create a shared library if the output file
14018
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14019
 
        # to its proper name (with version) after linking.
14020
 
        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'
14021
 
        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'
14022
 
        # Commands to make compiler produce verbose output that lists
14023
 
        # what "hidden" libraries, object files and flags are used when
14024
 
        # linking a shared library.
14025
 
        #
14026
 
        # There doesn't appear to be a way to prevent this compiler from
14027
 
        # explicitly linking system object files so we need to strip them
14028
 
        # from the output so that they don't get included in the library
14029
 
        # dependencies.
14030
 
        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'
14031
 
 
14032
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
14033
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14034
 
 
14035
 
        # Archives containing C++ object files must be created using
14036
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14037
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14038
 
        ;;
14039
 
      icpc)
14040
 
        # Intel C++
14041
 
        with_gnu_ld=yes
14042
 
        archive_cmds_need_lc_CXX=no
14043
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14044
 
        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'
14045
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14046
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14047
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14048
 
        ;;
14049
 
      cxx)
14050
 
        # Compaq C++
14051
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14052
 
        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'
14053
 
 
14054
 
        runpath_var=LD_RUN_PATH
14055
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14056
 
        hardcode_libdir_separator_CXX=:
14057
 
 
14058
 
        # Commands to make compiler produce verbose output that lists
14059
 
        # what "hidden" libraries, object files and flags are used when
14060
 
        # linking a shared library.
14061
 
        #
14062
 
        # There doesn't appear to be a way to prevent this compiler from
14063
 
        # explicitly linking system object files so we need to strip them
14064
 
        # from the output so that they don't get included in the library
14065
 
        # dependencies.
14066
 
        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'
14067
 
        ;;
14068
 
    esac
14069
 
    ;;
14070
 
  lynxos*)
14071
 
    # FIXME: insert proper C++ library support
14072
 
    ld_shlibs_CXX=no
14073
 
    ;;
14074
 
  m88k*)
14075
 
    # FIXME: insert proper C++ library support
14076
 
    ld_shlibs_CXX=no
14077
 
    ;;
14078
 
  mvs*)
14079
 
    case $cc_basename in
14080
 
      cxx)
14081
 
        # FIXME: insert proper C++ library support
14082
 
        ld_shlibs_CXX=no
14083
 
        ;;
14084
 
      *)
14085
 
        # FIXME: insert proper C++ library support
14086
 
        ld_shlibs_CXX=no
14087
 
        ;;
14088
 
    esac
14089
 
    ;;
14090
 
  netbsd*)
14091
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14092
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14093
 
      wlarc=
14094
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
14095
 
      hardcode_direct_CXX=yes
14096
 
      hardcode_shlibpath_var_CXX=no
14097
 
    fi
14098
 
    # Workaround some broken pre-1.5 toolchains
14099
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14100
 
    ;;
14101
 
  osf3*)
14102
 
    case $cc_basename in
14103
 
      KCC)
14104
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14105
 
 
14106
 
        # KCC will only create a shared library if the output file
14107
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14108
 
        # to its proper name (with version) after linking.
14109
 
        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'
14110
 
 
14111
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14112
 
        hardcode_libdir_separator_CXX=:
14113
 
 
14114
 
        # Archives containing C++ object files must be created using
14115
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14116
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14117
 
 
14118
 
        ;;
14119
 
      RCC)
14120
 
        # Rational C++ 2.4.1
14121
 
        # FIXME: insert proper C++ library support
14122
 
        ld_shlibs_CXX=no
14123
 
        ;;
14124
 
      cxx)
14125
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14126
 
        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'
14127
 
 
14128
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14129
 
        hardcode_libdir_separator_CXX=:
14130
 
 
14131
 
        # Commands to make compiler produce verbose output that lists
14132
 
        # what "hidden" libraries, object files and flags are used when
14133
 
        # linking a shared library.
14134
 
        #
14135
 
        # There doesn't appear to be a way to prevent this compiler from
14136
 
        # explicitly linking system object files so we need to strip them
14137
 
        # from the output so that they don't get included in the library
14138
 
        # dependencies.
14139
 
        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'
14140
 
        ;;
14141
 
      *)
14142
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14143
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14144
 
          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'
14145
 
 
14146
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14147
 
          hardcode_libdir_separator_CXX=:
14148
 
 
14149
 
          # Commands to make compiler produce verbose output that lists
14150
 
          # what "hidden" libraries, object files and flags are used when
14151
 
          # linking a shared library.
14152
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14153
 
 
14154
 
        else
14155
 
          # FIXME: insert proper C++ library support
14156
 
          ld_shlibs_CXX=no
14157
 
        fi
14158
 
        ;;
14159
 
    esac
14160
 
    ;;
14161
 
  osf4* | osf5*)
14162
 
    case $cc_basename in
14163
 
      KCC)
14164
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14165
 
 
14166
 
        # KCC will only create a shared library if the output file
14167
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14168
 
        # to its proper name (with version) after linking.
14169
 
        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'
14170
 
 
14171
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14172
 
        hardcode_libdir_separator_CXX=:
14173
 
 
14174
 
        # Archives containing C++ object files must be created using
14175
 
        # the KAI C++ compiler.
14176
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14177
 
        ;;
14178
 
      RCC)
14179
 
        # Rational C++ 2.4.1
14180
 
        # FIXME: insert proper C++ library support
14181
 
        ld_shlibs_CXX=no
14182
 
        ;;
14183
 
      cxx)
14184
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
14185
 
        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'
14186
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14187
 
          echo "-hidden">> $lib.exp~
14188
 
          $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~
14189
 
          $rm $lib.exp'
14190
 
 
14191
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14192
 
        hardcode_libdir_separator_CXX=:
14193
 
 
14194
 
        # Commands to make compiler produce verbose output that lists
14195
 
        # what "hidden" libraries, object files and flags are used when
14196
 
        # linking a shared library.
14197
 
        #
14198
 
        # There doesn't appear to be a way to prevent this compiler from
14199
 
        # explicitly linking system object files so we need to strip them
14200
 
        # from the output so that they don't get included in the library
14201
 
        # dependencies.
14202
 
        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'
14203
 
        ;;
14204
 
      *)
14205
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14206
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14207
 
         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'
14208
 
 
14209
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14210
 
          hardcode_libdir_separator_CXX=:
14211
 
 
14212
 
          # Commands to make compiler produce verbose output that lists
14213
 
          # what "hidden" libraries, object files and flags are used when
14214
 
          # linking a shared library.
14215
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14216
 
 
14217
 
        else
14218
 
          # FIXME: insert proper C++ library support
14219
 
          ld_shlibs_CXX=no
14220
 
        fi
14221
 
        ;;
14222
 
    esac
14223
 
    ;;
14224
 
  psos*)
14225
 
    # FIXME: insert proper C++ library support
14226
 
    ld_shlibs_CXX=no
14227
 
    ;;
14228
 
  sco*)
14229
 
    archive_cmds_need_lc_CXX=no
14230
 
    case $cc_basename in
14231
 
      CC)
14232
 
        # FIXME: insert proper C++ library support
14233
 
        ld_shlibs_CXX=no
14234
 
        ;;
14235
 
      *)
14236
 
        # FIXME: insert proper C++ library support
14237
 
        ld_shlibs_CXX=no
14238
 
        ;;
14239
 
    esac
14240
 
    ;;
14241
 
  sunos4*)
14242
 
    case $cc_basename in
14243
 
      CC)
14244
 
        # Sun C++ 4.x
14245
 
        # FIXME: insert proper C++ library support
14246
 
        ld_shlibs_CXX=no
14247
 
        ;;
14248
 
      lcc)
14249
 
        # Lucid
14250
 
        # FIXME: insert proper C++ library support
14251
 
        ld_shlibs_CXX=no
14252
 
        ;;
14253
 
      *)
14254
 
        # FIXME: insert proper C++ library support
14255
 
        ld_shlibs_CXX=no
14256
 
        ;;
14257
 
    esac
14258
 
    ;;
14259
 
  solaris*)
14260
 
    case $cc_basename in
14261
 
      CC)
14262
 
        # Sun C++ 4.2, 5.x and Centerline C++
14263
 
        no_undefined_flag_CXX=' -zdefs'
14264
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
14265
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14266
 
        $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'
14267
 
 
14268
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
14269
 
        hardcode_shlibpath_var_CXX=no
14270
 
        case $host_os in
14271
 
          solaris2.0-5 | solaris2.0-5.*) ;;
14272
 
          *)
14273
 
            # The C++ compiler is used as linker so we must use $wl
14274
 
            # flag to pass the commands to the underlying system
14275
 
            # linker.
14276
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
14277
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14278
 
            ;;
14279
 
        esac
14280
 
        link_all_deplibs_CXX=yes
14281
 
 
14282
 
        # Commands to make compiler produce verbose output that lists
14283
 
        # what "hidden" libraries, object files and flags are used when
14284
 
        # linking a shared library.
14285
 
        #
14286
 
        # There doesn't appear to be a way to prevent this compiler from
14287
 
        # explicitly linking system object files so we need to strip them
14288
 
        # from the output so that they don't get included in the library
14289
 
        # dependencies.
14290
 
        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'
14291
 
 
14292
 
        # Archives containing C++ object files must be created using
14293
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14294
 
        # necessary to make sure instantiated templates are included
14295
 
        # in the archive.
14296
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14297
 
        ;;
14298
 
      gcx)
14299
 
        # Green Hills C++ Compiler
14300
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14301
 
 
14302
 
        # The C++ compiler must be used to create the archive.
14303
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14304
 
        ;;
14305
 
      *)
14306
 
        # GNU C++ compiler with Solaris linker
14307
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14308
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14309
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
14310
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14311
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14312
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14313
 
 
14314
 
            # Commands to make compiler produce verbose output that lists
14315
 
            # what "hidden" libraries, object files and flags are used when
14316
 
            # linking a shared library.
14317
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14318
 
          else
14319
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
14320
 
            # platform.
14321
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14322
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14323
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14324
 
 
14325
 
            # Commands to make compiler produce verbose output that lists
14326
 
            # what "hidden" libraries, object files and flags are used when
14327
 
            # linking a shared library.
14328
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14329
 
          fi
14330
 
 
14331
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14332
 
        fi
14333
 
        ;;
14334
 
    esac
14335
 
    ;;
14336
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
14337
 
    archive_cmds_need_lc_CXX=no
14338
 
    ;;
14339
 
  tandem*)
14340
 
    case $cc_basename in
14341
 
      NCC)
14342
 
        # NonStop-UX NCC 3.20
14343
 
        # FIXME: insert proper C++ library support
14344
 
        ld_shlibs_CXX=no
14345
 
        ;;
14346
 
      *)
14347
 
        # FIXME: insert proper C++ library support
14348
 
        ld_shlibs_CXX=no
14349
 
        ;;
14350
 
    esac
14351
 
    ;;
14352
 
  vxworks*)
14353
 
    # FIXME: insert proper C++ library support
14354
 
    ld_shlibs_CXX=no
14355
 
    ;;
14356
 
  *)
14357
 
    # FIXME: insert proper C++ library support
14358
 
    ld_shlibs_CXX=no
14359
 
    ;;
14360
 
esac
14361
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14362
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14363
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14364
 
 
14365
 
GCC_CXX="$GXX"
14366
 
LD_CXX="$LD"
14367
 
 
14368
 
## CAVEAT EMPTOR:
14369
 
## There is no encapsulation within the following macros, do not change
14370
 
## the running order or otherwise move them around unless you know exactly
14371
 
## what you are doing...
14372
 
 
14373
 
cat > conftest.$ac_ext <<EOF
14374
 
class Foo
14375
 
{
14376
 
public:
14377
 
  Foo (void) { a = 0; }
14378
 
private:
14379
 
  int a;
14380
 
};
14381
 
EOF
14382
 
 
14383
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14384
 
  (eval $ac_compile) 2>&5
14385
 
  ac_status=$?
14386
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387
 
  (exit $ac_status); }; then
14388
 
  # Parse the compiler output and extract the necessary
14389
 
  # objects, libraries and library flags.
14390
 
 
14391
 
  # Sentinel used to keep track of whether or not we are before
14392
 
  # the conftest object file.
14393
 
  pre_test_object_deps_done=no
14394
 
 
14395
 
  # The `*' in the case matches for architectures that use `case' in
14396
 
  # $output_verbose_cmd can trigger glob expansion during the loop
14397
 
  # eval without this substitution.
14398
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
14399
 
 
14400
 
  for p in `eval $output_verbose_link_cmd`; do
14401
 
    case $p in
14402
 
 
14403
 
    -L* | -R* | -l*)
14404
 
       # Some compilers place space between "-{L,R}" and the path.
14405
 
       # Remove the space.
14406
 
       if test $p = "-L" \
14407
 
          || test $p = "-R"; then
14408
 
         prev=$p
14409
 
         continue
14410
 
       else
14411
 
         prev=
14412
 
       fi
14413
 
 
14414
 
       if test "$pre_test_object_deps_done" = no; then
14415
 
         case $p in
14416
 
         -L* | -R*)
14417
 
           # Internal compiler library paths should come after those
14418
 
           # provided the user.  The postdeps already come after the
14419
 
           # user supplied libs so there is no need to process them.
14420
 
           if test -z "$compiler_lib_search_path_CXX"; then
14421
 
             compiler_lib_search_path_CXX="${prev}${p}"
14422
 
           else
14423
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14424
 
           fi
14425
 
           ;;
14426
 
         # The "-l" case would never come before the object being
14427
 
         # linked, so don't bother handling this case.
14428
 
         esac
14429
 
       else
14430
 
         if test -z "$postdeps_CXX"; then
14431
 
           postdeps_CXX="${prev}${p}"
14432
 
         else
14433
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14434
 
         fi
14435
 
       fi
14436
 
       ;;
14437
 
 
14438
 
    *.$objext|*.$libext)
14439
 
       # This assumes that the test object file only shows up
14440
 
       # once in the compiler output.
14441
 
       if test "$p" = "conftest.$objext"; then
14442
 
         pre_test_object_deps_done=yes
14443
 
         continue
14444
 
       fi
14445
 
 
14446
 
       if test "$pre_test_object_deps_done" = no; then
14447
 
         if test -z "$predep_objects_CXX"; then
14448
 
           predep_objects_CXX="$p"
14449
 
         else
14450
 
           predep_objects_CXX="$predep_objects_CXX $p"
14451
 
         fi
14452
 
       else
14453
 
         if test -z "$postdep_objects_CXX"; then
14454
 
           postdep_objects_CXX="$p"
14455
 
         else
14456
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
14457
 
         fi
14458
 
       fi
14459
 
       ;;
14460
 
 
14461
 
    *) ;; # Ignore the rest.
14462
 
 
14463
 
    esac
14464
 
  done
14465
 
 
14466
 
  # Clean up.
14467
 
  rm -f a.out a.exe
14468
 
else
14469
 
  echo "libtool.m4: error: problem compiling CXX test program"
14470
 
fi
14471
 
 
14472
 
$rm -f confest.$objext
14473
 
 
14474
 
case " $postdeps_CXX " in
14475
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14476
 
esac
14477
 
 
14478
 
lt_prog_compiler_wl_CXX=
14479
 
lt_prog_compiler_pic_CXX=
14480
 
lt_prog_compiler_static_CXX=
14481
 
 
14482
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14483
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14484
 
 
14485
 
  # C++ specific cases for pic, static, wl, etc.
14486
 
  if test "$GXX" = yes; then
14487
 
    lt_prog_compiler_wl_CXX='-Wl,'
14488
 
    lt_prog_compiler_static_CXX='-static'
14489
 
 
14490
 
    case $host_os in
14491
 
    aix*)
14492
 
      # All AIX code is PIC.
14493
 
      if test "$host_cpu" = ia64; then
14494
 
        # AIX 5 now supports IA64 processor
14495
 
        lt_prog_compiler_static_CXX='-Bstatic'
14496
 
      fi
14497
 
      ;;
14498
 
    amigaos*)
14499
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14500
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14501
 
      # like `-m68040'.
14502
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14503
 
      ;;
14504
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14505
 
      # PIC is the default for these OSes.
14506
 
      ;;
14507
 
    mingw* | os2* | pw32*)
14508
 
      # This hack is so that the source file can tell whether it is being
14509
 
      # built for inclusion in a dll (and should export symbols for example).
14510
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14511
 
      ;;
14512
 
    darwin* | rhapsody*)
14513
 
      # PIC is the default on this platform
14514
 
      # Common symbols not allowed in MH_DYLIB files
14515
 
      lt_prog_compiler_pic_CXX='-fno-common'
14516
 
      ;;
14517
 
    *djgpp*)
14518
 
      # DJGPP does not support shared libraries at all
14519
 
      lt_prog_compiler_pic_CXX=
14520
 
      ;;
14521
 
    sysv4*MP*)
14522
 
      if test -d /usr/nec; then
14523
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
14524
 
      fi
14525
 
      ;;
14526
 
    hpux*)
14527
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14528
 
      # not for PA HP-UX.
14529
 
      case "$host_cpu" in
14530
 
      hppa*64*|ia64*)
14531
 
        ;;
14532
 
      *)
14533
 
        lt_prog_compiler_pic_CXX='-fPIC'
14534
 
        ;;
14535
 
      esac
14536
 
      ;;
14537
 
    *)
14538
 
      lt_prog_compiler_pic_CXX='-fPIC'
14539
 
      ;;
14540
 
    esac
14541
 
  else
14542
 
    case $host_os in
14543
 
      aix4* | aix5*)
14544
 
        # All AIX code is PIC.
14545
 
        if test "$host_cpu" = ia64; then
14546
 
          # AIX 5 now supports IA64 processor
14547
 
          lt_prog_compiler_static_CXX='-Bstatic'
14548
 
        else
14549
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14550
 
        fi
14551
 
        ;;
14552
 
      chorus*)
14553
 
        case $cc_basename in
14554
 
        cxch68)
14555
 
          # Green Hills C++ Compiler
14556
 
          # _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"
14557
 
          ;;
14558
 
        esac
14559
 
        ;;
14560
 
      dgux*)
14561
 
        case $cc_basename in
14562
 
          ec++)
14563
 
            lt_prog_compiler_pic_CXX='-KPIC'
14564
 
            ;;
14565
 
          ghcx)
14566
 
            # Green Hills C++ Compiler
14567
 
            lt_prog_compiler_pic_CXX='-pic'
14568
 
            ;;
14569
 
          *)
14570
 
            ;;
14571
 
        esac
14572
 
        ;;
14573
 
      freebsd* | kfreebsd*-gnu)
14574
 
        # FreeBSD uses GNU C++
14575
 
        ;;
14576
 
      hpux9* | hpux10* | hpux11*)
14577
 
        case $cc_basename in
14578
 
          CC)
14579
 
            lt_prog_compiler_wl_CXX='-Wl,'
14580
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14581
 
            if test "$host_cpu" != ia64; then
14582
 
              lt_prog_compiler_pic_CXX='+Z'
14583
 
            fi
14584
 
            ;;
14585
 
          aCC)
14586
 
            lt_prog_compiler_wl_CXX='-Wl,'
14587
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14588
 
            case "$host_cpu" in
14589
 
            hppa*64*|ia64*)
14590
 
              # +Z the default
14591
 
              ;;
14592
 
            *)
14593
 
              lt_prog_compiler_pic_CXX='+Z'
14594
 
              ;;
14595
 
            esac
14596
 
            ;;
14597
 
          *)
14598
 
            ;;
14599
 
        esac
14600
 
        ;;
14601
 
      irix5* | irix6* | nonstopux*)
14602
 
        case $cc_basename in
14603
 
          CC)
14604
 
            lt_prog_compiler_wl_CXX='-Wl,'
14605
 
            lt_prog_compiler_static_CXX='-non_shared'
14606
 
            # CC pic flag -KPIC is the default.
14607
 
            ;;
14608
 
          *)
14609
 
            ;;
14610
 
        esac
14611
 
        ;;
14612
 
      linux*)
14613
 
        case $cc_basename in
14614
 
          KCC)
14615
 
            # KAI C++ Compiler
14616
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14617
 
            lt_prog_compiler_pic_CXX='-fPIC'
14618
 
            ;;
14619
 
          icpc)
14620
 
            # Intel C++
14621
 
            lt_prog_compiler_wl_CXX='-Wl,'
14622
 
            lt_prog_compiler_pic_CXX='-KPIC'
14623
 
            lt_prog_compiler_static_CXX='-static'
14624
 
            ;;
14625
 
          cxx)
14626
 
            # Compaq C++
14627
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14628
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14629
 
            lt_prog_compiler_pic_CXX=
14630
 
            lt_prog_compiler_static_CXX='-non_shared'
14631
 
            ;;
14632
 
          *)
14633
 
            ;;
14634
 
        esac
14635
 
        ;;
14636
 
      lynxos*)
14637
 
        ;;
14638
 
      m88k*)
14639
 
        ;;
14640
 
      mvs*)
14641
 
        case $cc_basename in
14642
 
          cxx)
14643
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
14644
 
            ;;
14645
 
          *)
14646
 
            ;;
14647
 
        esac
14648
 
        ;;
14649
 
      netbsd*)
14650
 
        ;;
14651
 
      osf3* | osf4* | osf5*)
14652
 
        case $cc_basename in
14653
 
          KCC)
14654
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14655
 
            ;;
14656
 
          RCC)
14657
 
            # Rational C++ 2.4.1
14658
 
            lt_prog_compiler_pic_CXX='-pic'
14659
 
            ;;
14660
 
          cxx)
14661
 
            # Digital/Compaq C++
14662
 
            lt_prog_compiler_wl_CXX='-Wl,'
14663
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14664
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14665
 
            lt_prog_compiler_pic_CXX=
14666
 
            lt_prog_compiler_static_CXX='-non_shared'
14667
 
            ;;
14668
 
          *)
14669
 
            ;;
14670
 
        esac
14671
 
        ;;
14672
 
      psos*)
14673
 
        ;;
14674
 
      sco*)
14675
 
        case $cc_basename in
14676
 
          CC)
14677
 
            lt_prog_compiler_pic_CXX='-fPIC'
14678
 
            ;;
14679
 
          *)
14680
 
            ;;
14681
 
        esac
14682
 
        ;;
14683
 
      solaris*)
14684
 
        case $cc_basename in
14685
 
          CC)
14686
 
            # Sun C++ 4.2, 5.x and Centerline C++
14687
 
            lt_prog_compiler_pic_CXX='-KPIC'
14688
 
            lt_prog_compiler_static_CXX='-Bstatic'
14689
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
14690
 
            ;;
14691
 
          gcx)
14692
 
            # Green Hills C++ Compiler
14693
 
            lt_prog_compiler_pic_CXX='-PIC'
14694
 
            ;;
14695
 
          *)
14696
 
            ;;
14697
 
        esac
14698
 
        ;;
14699
 
      sunos4*)
14700
 
        case $cc_basename in
14701
 
          CC)
14702
 
            # Sun C++ 4.x
14703
 
            lt_prog_compiler_pic_CXX='-pic'
14704
 
            lt_prog_compiler_static_CXX='-Bstatic'
14705
 
            ;;
14706
 
          lcc)
14707
 
            # Lucid
14708
 
            lt_prog_compiler_pic_CXX='-pic'
14709
 
            ;;
14710
 
          *)
14711
 
            ;;
14712
 
        esac
14713
 
        ;;
14714
 
      tandem*)
14715
 
        case $cc_basename in
14716
 
          NCC)
14717
 
            # NonStop-UX NCC 3.20
14718
 
            lt_prog_compiler_pic_CXX='-KPIC'
14719
 
            ;;
14720
 
          *)
14721
 
            ;;
14722
 
        esac
14723
 
        ;;
14724
 
      unixware*)
14725
 
        ;;
14726
 
      vxworks*)
14727
 
        ;;
14728
 
      *)
14729
 
        lt_prog_compiler_can_build_shared_CXX=no
14730
 
        ;;
14731
 
    esac
14732
 
  fi
14733
 
 
14734
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14735
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14736
 
 
14737
 
#
14738
 
# Check to make sure the PIC flag actually works.
14739
 
#
14740
 
if test -n "$lt_prog_compiler_pic_CXX"; then
14741
 
 
14742
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14743
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14744
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14745
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14746
 
else
14747
 
  lt_prog_compiler_pic_works_CXX=no
14748
 
  ac_outfile=conftest.$ac_objext
14749
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14750
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14751
 
   # Insert the option either (1) after the last *FLAGS variable, or
14752
 
   # (2) before a word containing "conftest.", or (3) at the end.
14753
 
   # Note that $ac_compile itself does not contain backslashes and begins
14754
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14755
 
   # The option is referenced via a variable to avoid confusing sed.
14756
 
   lt_compile=`echo "$ac_compile" | $SED \
14757
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14758
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14759
 
   -e 's:$: $lt_compiler_flag:'`
14760
 
   (eval echo "\"\$as_me:14760: $lt_compile\"" >&5)
14761
 
   (eval "$lt_compile" 2>conftest.err)
14762
 
   ac_status=$?
14763
 
   cat conftest.err >&5
14764
 
   echo "$as_me:14764: \$? = $ac_status" >&5
14765
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14766
 
     # The compiler can only warn and ignore the option if not recognized
14767
 
     # So say no if there are warnings
14768
 
     if test ! -s conftest.err; then
14769
 
       lt_prog_compiler_pic_works_CXX=yes
14770
 
     fi
14771
 
   fi
14772
 
   $rm conftest*
14773
 
 
14774
 
fi
14775
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14776
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
14777
 
 
14778
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
14779
 
    case $lt_prog_compiler_pic_CXX in
14780
 
     "" | " "*) ;;
14781
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14782
 
     esac
14783
 
else
14784
 
    lt_prog_compiler_pic_CXX=
14785
 
     lt_prog_compiler_can_build_shared_CXX=no
14786
 
fi
14787
 
 
14788
 
fi
14789
 
case "$host_os" in
14790
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14791
 
  *djgpp*)
14792
 
    lt_prog_compiler_pic_CXX=
14793
 
    ;;
14794
 
  *)
14795
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14796
 
    ;;
14797
 
esac
14798
 
 
14799
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14800
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14801
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14802
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14803
 
else
14804
 
  lt_cv_prog_compiler_c_o_CXX=no
14805
 
   $rm -r conftest 2>/dev/null
14806
 
   mkdir conftest
14807
 
   cd conftest
14808
 
   mkdir out
14809
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14810
 
 
14811
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
14812
 
   # that will create temporary files in the current directory regardless of
14813
 
   # the output directory.  Thus, making CWD read-only will cause this test
14814
 
   # to fail, enabling locking or at least warning the user not to do parallel
14815
 
   # builds.
14816
 
   chmod -w .
14817
 
 
14818
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14819
 
   # Insert the option either (1) after the last *FLAGS variable, or
14820
 
   # (2) before a word containing "conftest.", or (3) at the end.
14821
 
   # Note that $ac_compile itself does not contain backslashes and begins
14822
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14823
 
   lt_compile=`echo "$ac_compile" | $SED \
14824
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14825
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14826
 
   -e 's:$: $lt_compiler_flag:'`
14827
 
   (eval echo "\"\$as_me:14827: $lt_compile\"" >&5)
14828
 
   (eval "$lt_compile" 2>out/conftest.err)
14829
 
   ac_status=$?
14830
 
   cat out/conftest.err >&5
14831
 
   echo "$as_me:14831: \$? = $ac_status" >&5
14832
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14833
 
   then
14834
 
     # The compiler can only warn and ignore the option if not recognized
14835
 
     # So say no if there are warnings
14836
 
     if test ! -s out/conftest.err; then
14837
 
       lt_cv_prog_compiler_c_o_CXX=yes
14838
 
     fi
14839
 
   fi
14840
 
   chmod u+w .
14841
 
   $rm conftest* out/*
14842
 
   rmdir out
14843
 
   cd ..
14844
 
   rmdir conftest
14845
 
   $rm conftest*
14846
 
 
14847
 
fi
14848
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14849
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14850
 
 
14851
 
 
14852
 
hard_links="nottested"
14853
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14854
 
  # do not overwrite the value of need_locks provided by the user
14855
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14856
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14857
 
  hard_links=yes
14858
 
  $rm conftest*
14859
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14860
 
  touch conftest.a
14861
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14862
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14863
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14864
 
echo "${ECHO_T}$hard_links" >&6; }
14865
 
  if test "$hard_links" = no; then
14866
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14867
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14868
 
    need_locks=warn
14869
 
  fi
14870
 
else
14871
 
  need_locks=no
14872
 
fi
14873
 
 
14874
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14875
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14876
 
 
14877
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14878
 
  case $host_os in
14879
 
  aix4* | aix5*)
14880
 
    # If we're using GNU nm, then we don't want the "-C" option.
14881
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14882
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14883
 
      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'
14884
 
    else
14885
 
      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'
14886
 
    fi
14887
 
    ;;
14888
 
  pw32*)
14889
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14890
 
  ;;
14891
 
  cygwin* | mingw*)
14892
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14893
 
  ;;
14894
 
  *)
14895
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14896
 
  ;;
14897
 
  esac
14898
 
 
14899
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14900
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14901
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14902
 
 
14903
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14904
 
if test "$GCC" = yes; then
14905
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14906
 
fi
14907
 
 
14908
 
#
14909
 
# Do we need to explicitly link libc?
14910
 
#
14911
 
case "x$archive_cmds_need_lc_CXX" in
14912
 
x|xyes)
14913
 
  # Assume -lc should be added
14914
 
  archive_cmds_need_lc_CXX=yes
14915
 
 
14916
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14917
 
    case $archive_cmds_CXX in
14918
 
    *'~'*)
14919
 
      # FIXME: we may have to deal with multi-command sequences.
14920
 
      ;;
14921
 
    '$CC '*)
14922
 
      # Test whether the compiler implicitly links with -lc since on some
14923
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14924
 
      # to ld, don't add -lc before -lgcc.
14925
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14926
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14927
 
      $rm conftest*
14928
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14929
 
 
14930
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931
 
  (eval $ac_compile) 2>&5
14932
 
  ac_status=$?
14933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934
 
  (exit $ac_status); } 2>conftest.err; then
14935
 
        soname=conftest
14936
 
        lib=conftest
14937
 
        libobjs=conftest.$ac_objext
14938
 
        deplibs=
14939
 
        wl=$lt_prog_compiler_wl_CXX
14940
 
        compiler_flags=-v
14941
 
        linker_flags=-v
14942
 
        verstring=
14943
 
        output_objdir=.
14944
 
        libname=conftest
14945
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14946
 
        allow_undefined_flag_CXX=
14947
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14948
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14949
 
  ac_status=$?
14950
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951
 
  (exit $ac_status); }
14952
 
        then
14953
 
          archive_cmds_need_lc_CXX=no
14954
 
        else
14955
 
          archive_cmds_need_lc_CXX=yes
14956
 
        fi
14957
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14958
 
      else
14959
 
        cat conftest.err 1>&5
14960
 
      fi
14961
 
      $rm conftest*
14962
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14963
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14964
 
      ;;
14965
 
    esac
14966
 
  fi
14967
 
  ;;
14968
 
esac
14969
 
 
14970
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14971
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14972
 
library_names_spec=
14973
 
libname_spec='lib$name'
14974
 
soname_spec=
14975
 
shrext=".so"
14976
 
postinstall_cmds=
14977
 
postuninstall_cmds=
14978
 
finish_cmds=
14979
 
finish_eval=
14980
 
shlibpath_var=
14981
 
shlibpath_overrides_runpath=unknown
14982
 
version_type=none
14983
 
dynamic_linker="$host_os ld.so"
14984
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14985
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14986
 
need_lib_prefix=unknown
14987
 
hardcode_into_libs=no
14988
 
 
14989
 
# when you set need_version to no, make sure it does not cause -set_version
14990
 
# flags to be left without arguments
14991
 
need_version=unknown
14992
 
 
14993
 
case $host_os in
14994
 
aix3*)
14995
 
  version_type=linux
14996
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14997
 
  shlibpath_var=LIBPATH
14998
 
 
14999
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15000
 
  soname_spec='${libname}${release}${shared_ext}$major'
15001
 
  ;;
15002
 
 
15003
 
aix4* | aix5*)
15004
 
  version_type=linux
15005
 
  need_lib_prefix=no
15006
 
  need_version=no
15007
 
  hardcode_into_libs=yes
15008
 
  if test "$host_cpu" = ia64; then
15009
 
    # AIX 5 supports IA64
15010
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15011
 
    shlibpath_var=LD_LIBRARY_PATH
15012
 
  else
15013
 
    # With GCC up to 2.95.x, collect2 would create an import file
15014
 
    # for dependence libraries.  The import file would start with
15015
 
    # the line `#! .'.  This would cause the generated library to
15016
 
    # depend on `.', always an invalid library.  This was fixed in
15017
 
    # development snapshots of GCC prior to 3.0.
15018
 
    case $host_os in
15019
 
      aix4 | aix4.[01] | aix4.[01].*)
15020
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15021
 
           echo ' yes '
15022
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15023
 
        :
15024
 
      else
15025
 
        can_build_shared=no
15026
 
      fi
15027
 
      ;;
15028
 
    esac
15029
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15030
 
    # soname into executable. Probably we can add versioning support to
15031
 
    # collect2, so additional links can be useful in future.
15032
 
    if test "$aix_use_runtimelinking" = yes; then
15033
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15034
 
      # instead of lib<name>.a to let people know that these are not
15035
 
      # typical AIX shared libraries.
15036
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15037
 
    else
15038
 
      # We preserve .a as extension for shared libraries through AIX4.2
15039
 
      # and later when we are not doing run time linking.
15040
 
      library_names_spec='${libname}${release}.a $libname.a'
15041
 
      soname_spec='${libname}${release}${shared_ext}$major'
15042
 
    fi
15043
 
    shlibpath_var=LIBPATH
15044
 
  fi
15045
 
  ;;
15046
 
 
15047
 
amigaos*)
15048
 
  library_names_spec='$libname.ixlibrary $libname.a'
15049
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15050
 
  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'
15051
 
  ;;
15052
 
 
15053
 
beos*)
15054
 
  library_names_spec='${libname}${shared_ext}'
15055
 
  dynamic_linker="$host_os ld.so"
15056
 
  shlibpath_var=LIBRARY_PATH
15057
 
  ;;
15058
 
 
15059
 
bsdi4*)
15060
 
  version_type=linux
15061
 
  need_version=no
15062
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15063
 
  soname_spec='${libname}${release}${shared_ext}$major'
15064
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15065
 
  shlibpath_var=LD_LIBRARY_PATH
15066
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15067
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15068
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15069
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15070
 
  # libtool to hard-code these into programs
15071
 
  ;;
15072
 
 
15073
 
cygwin* | mingw* | pw32*)
15074
 
  version_type=windows
15075
 
  shrext=".dll"
15076
 
  need_version=no
15077
 
  need_lib_prefix=no
15078
 
 
15079
 
  case $GCC,$host_os in
15080
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15081
 
    library_names_spec='$libname.dll.a'
15082
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15083
 
    postinstall_cmds='base_file=`basename \${file}`~
15084
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15085
 
      dldir=$destdir/`dirname \$dlpath`~
15086
 
      test -d \$dldir || mkdir -p \$dldir~
15087
 
      $install_prog $dir/$dlname \$dldir/$dlname'
15088
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15089
 
      dlpath=$dir/\$dldll~
15090
 
       $rm \$dlpath'
15091
 
    shlibpath_overrides_runpath=yes
15092
 
 
15093
 
    case $host_os in
15094
 
    cygwin*)
15095
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15096
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15097
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15098
 
      ;;
15099
 
    mingw*)
15100
 
      # MinGW DLLs use traditional 'lib' prefix
15101
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15102
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15103
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15104
 
        # It is most probably a Windows format PATH printed by
15105
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15106
 
        # path with ; separators, and with drive letters. We can handle the
15107
 
        # drive letters (cygwin fileutils understands them), so leave them,
15108
 
        # especially as we might pass files found there to a mingw objdump,
15109
 
        # which wouldn't understand a cygwinified path. Ahh.
15110
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15111
 
      else
15112
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15113
 
      fi
15114
 
      ;;
15115
 
    pw32*)
15116
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15117
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
15118
 
      ;;
15119
 
    esac
15120
 
    ;;
15121
 
 
15122
 
  *)
15123
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15124
 
    ;;
15125
 
  esac
15126
 
  dynamic_linker='Win32 ld.exe'
15127
 
  # FIXME: first we should search . and the directory the executable is in
15128
 
  shlibpath_var=PATH
15129
 
  ;;
15130
 
 
15131
 
darwin* | rhapsody*)
15132
 
  dynamic_linker="$host_os dyld"
15133
 
  version_type=darwin
15134
 
  need_lib_prefix=no
15135
 
  need_version=no
15136
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15137
 
  soname_spec='${libname}${release}${major}$shared_ext'
15138
 
  shlibpath_overrides_runpath=yes
15139
 
  shlibpath_var=DYLD_LIBRARY_PATH
15140
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
15141
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15142
 
  if test "$GCC" = yes; then
15143
 
    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"`
15144
 
  else
15145
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15146
 
  fi
15147
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15148
 
  ;;
15149
 
 
15150
 
dgux*)
15151
 
  version_type=linux
15152
 
  need_lib_prefix=no
15153
 
  need_version=no
15154
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15155
 
  soname_spec='${libname}${release}${shared_ext}$major'
15156
 
  shlibpath_var=LD_LIBRARY_PATH
15157
 
  ;;
15158
 
 
15159
 
freebsd1*)
15160
 
  dynamic_linker=no
15161
 
  ;;
15162
 
 
15163
 
kfreebsd*-gnu*)
15164
 
  version_type=linux
15165
 
  need_lib_prefix=no
15166
 
  need_version=no
15167
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15168
 
  soname_spec='${libname}${release}${shared_ext}$major'
15169
 
  shlibpath_var=LD_LIBRARY_PATH
15170
 
  shlibpath_overrides_runpath=no
15171
 
  hardcode_into_libs=yes
15172
 
  dynamic_linker='GNU ld.so'
15173
 
  ;;
15174
 
 
15175
 
freebsd*)
15176
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15177
 
  version_type=freebsd-$objformat
15178
 
  case $version_type in
15179
 
    freebsd-elf*)
15180
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15181
 
      need_version=no
15182
 
      need_lib_prefix=no
15183
 
      ;;
15184
 
    freebsd-*)
15185
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15186
 
      need_version=yes
15187
 
      ;;
15188
 
  esac
15189
 
  shlibpath_var=LD_LIBRARY_PATH
15190
 
  case $host_os in
15191
 
  freebsd2*)
15192
 
    shlibpath_overrides_runpath=yes
15193
 
    ;;
15194
 
  freebsd3.01* | freebsdelf3.01*)
15195
 
    shlibpath_overrides_runpath=yes
15196
 
    hardcode_into_libs=yes
15197
 
    ;;
15198
 
  *) # from 3.2 on
15199
 
    shlibpath_overrides_runpath=no
15200
 
    hardcode_into_libs=yes
15201
 
    ;;
15202
 
  esac
15203
 
  ;;
15204
 
 
15205
 
gnu*)
15206
 
  version_type=linux
15207
 
  need_lib_prefix=no
15208
 
  need_version=no
15209
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15210
 
  soname_spec='${libname}${release}${shared_ext}$major'
15211
 
  shlibpath_var=LD_LIBRARY_PATH
15212
 
  hardcode_into_libs=yes
15213
 
  ;;
15214
 
 
15215
 
hpux9* | hpux10* | hpux11*)
15216
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15217
 
  # link against other versions.
15218
 
  version_type=sunos
15219
 
  need_lib_prefix=no
15220
 
  need_version=no
15221
 
  case "$host_cpu" in
15222
 
  ia64*)
15223
 
    shrext='.so'
15224
 
    hardcode_into_libs=yes
15225
 
    dynamic_linker="$host_os dld.so"
15226
 
    shlibpath_var=LD_LIBRARY_PATH
15227
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15228
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15229
 
    soname_spec='${libname}${release}${shared_ext}$major'
15230
 
    if test "X$HPUX_IA64_MODE" = X32; then
15231
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15232
 
    else
15233
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15234
 
    fi
15235
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15236
 
    ;;
15237
 
   hppa*64*)
15238
 
     shrext='.sl'
15239
 
     hardcode_into_libs=yes
15240
 
     dynamic_linker="$host_os dld.sl"
15241
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15242
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15243
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15244
 
     soname_spec='${libname}${release}${shared_ext}$major'
15245
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15246
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15247
 
     ;;
15248
 
   *)
15249
 
    shrext='.sl'
15250
 
    dynamic_linker="$host_os dld.sl"
15251
 
    shlibpath_var=SHLIB_PATH
15252
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15253
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15254
 
    soname_spec='${libname}${release}${shared_ext}$major'
15255
 
    ;;
15256
 
  esac
15257
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15258
 
  postinstall_cmds='chmod 555 $lib'
15259
 
  ;;
15260
 
 
15261
 
irix5* | irix6* | nonstopux*)
15262
 
  case $host_os in
15263
 
    nonstopux*) version_type=nonstopux ;;
15264
 
    *)
15265
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15266
 
                version_type=linux
15267
 
        else
15268
 
                version_type=irix
15269
 
        fi ;;
15270
 
  esac
15271
 
  need_lib_prefix=no
15272
 
  need_version=no
15273
 
  soname_spec='${libname}${release}${shared_ext}$major'
15274
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15275
 
  case $host_os in
15276
 
  irix5* | nonstopux*)
15277
 
    libsuff= shlibsuff=
15278
 
    ;;
15279
 
  *)
15280
 
    case $LD in # libtool.m4 will add one of these switches to LD
15281
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15282
 
      libsuff= shlibsuff= libmagic=32-bit;;
15283
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15284
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15285
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15286
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15287
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15288
 
    esac
15289
 
    ;;
15290
 
  esac
15291
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15292
 
  shlibpath_overrides_runpath=no
15293
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15294
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15295
 
  hardcode_into_libs=yes
15296
 
  ;;
15297
 
 
15298
 
# No shared lib support for Linux oldld, aout, or coff.
15299
 
linux*oldld* | linux*aout* | linux*coff*)
15300
 
  dynamic_linker=no
15301
 
  ;;
15302
 
 
15303
 
# This must be Linux ELF.
15304
 
linux*)
15305
 
  version_type=linux
15306
 
  need_lib_prefix=no
15307
 
  need_version=no
15308
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15309
 
  soname_spec='${libname}${release}${shared_ext}$major'
15310
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15311
 
  libsuff=
15312
 
  if test "x$LINUX_64_MODE" = x64; then
15313
 
    # Some platforms are per default 64-bit, so there's no /lib64
15314
 
    if test -d /lib64; then
15315
 
      libsuff=64
15316
 
    fi
15317
 
  fi
15318
 
  shlibpath_var=LD_LIBRARY_PATH
15319
 
  shlibpath_overrides_runpath=no
15320
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
15321
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15322
 
  # This implies no fast_install, which is unacceptable.
15323
 
  # Some rework will be needed to allow for fast_install
15324
 
  # before this can be enabled.
15325
 
  hardcode_into_libs=yes
15326
 
 
15327
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15328
 
  # powerpc, because MkLinux only supported shared libraries with the
15329
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15330
 
  # most powerpc-linux boxes support dynamic linking these days and
15331
 
  # people can always --disable-shared, the test was removed, and we
15332
 
  # assume the GNU/Linux dynamic linker is in use.
15333
 
  dynamic_linker='GNU/Linux ld.so'
15334
 
  ;;
15335
 
 
15336
 
netbsd*)
15337
 
  version_type=sunos
15338
 
  need_lib_prefix=no
15339
 
  need_version=no
15340
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15341
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15342
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15343
 
    dynamic_linker='NetBSD (a.out) ld.so'
15344
 
  else
15345
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
15346
 
    soname_spec='${libname}${release}${shared_ext}$major'
15347
 
    dynamic_linker='NetBSD ld.elf_so'
15348
 
  fi
15349
 
  shlibpath_var=LD_LIBRARY_PATH
15350
 
  shlibpath_overrides_runpath=yes
15351
 
  hardcode_into_libs=yes
15352
 
  ;;
15353
 
 
15354
 
newsos6)
15355
 
  version_type=linux
15356
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15357
 
  shlibpath_var=LD_LIBRARY_PATH
15358
 
  shlibpath_overrides_runpath=yes
15359
 
  ;;
15360
 
 
15361
 
nto-qnx*)
15362
 
  version_type=linux
15363
 
  need_lib_prefix=no
15364
 
  need_version=no
15365
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15366
 
  soname_spec='${libname}${release}${shared_ext}$major'
15367
 
  shlibpath_var=LD_LIBRARY_PATH
15368
 
  shlibpath_overrides_runpath=yes
15369
 
  ;;
15370
 
 
15371
 
openbsd*)
15372
 
  version_type=sunos
15373
 
  need_lib_prefix=no
15374
 
  need_version=no
15375
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15376
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15377
 
  shlibpath_var=LD_LIBRARY_PATH
15378
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15379
 
    case $host_os in
15380
 
      openbsd2.[89] | openbsd2.[89].*)
15381
 
        shlibpath_overrides_runpath=no
15382
 
        ;;
15383
 
      *)
15384
 
        shlibpath_overrides_runpath=yes
15385
 
        ;;
15386
 
      esac
15387
 
  else
15388
 
    shlibpath_overrides_runpath=yes
15389
 
  fi
15390
 
  ;;
15391
 
 
15392
 
os2*)
15393
 
  libname_spec='$name'
15394
 
  shrext=".dll"
15395
 
  need_lib_prefix=no
15396
 
  library_names_spec='$libname${shared_ext} $libname.a'
15397
 
  dynamic_linker='OS/2 ld.exe'
15398
 
  shlibpath_var=LIBPATH
15399
 
  ;;
15400
 
 
15401
 
osf3* | osf4* | osf5*)
15402
 
  version_type=osf
15403
 
  need_lib_prefix=no
15404
 
  need_version=no
15405
 
  soname_spec='${libname}${release}${shared_ext}$major'
15406
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15407
 
  shlibpath_var=LD_LIBRARY_PATH
15408
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15409
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15410
 
  ;;
15411
 
 
15412
 
sco3.2v5*)
15413
 
  version_type=osf
15414
 
  soname_spec='${libname}${release}${shared_ext}$major'
15415
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15416
 
  shlibpath_var=LD_LIBRARY_PATH
15417
 
  ;;
15418
 
 
15419
 
solaris*)
15420
 
  version_type=linux
15421
 
  need_lib_prefix=no
15422
 
  need_version=no
15423
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15424
 
  soname_spec='${libname}${release}${shared_ext}$major'
15425
 
  shlibpath_var=LD_LIBRARY_PATH
15426
 
  shlibpath_overrides_runpath=yes
15427
 
  hardcode_into_libs=yes
15428
 
  # ldd complains unless libraries are executable
15429
 
  postinstall_cmds='chmod +x $lib'
15430
 
  ;;
15431
 
 
15432
 
sunos4*)
15433
 
  version_type=sunos
15434
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15435
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15436
 
  shlibpath_var=LD_LIBRARY_PATH
15437
 
  shlibpath_overrides_runpath=yes
15438
 
  if test "$with_gnu_ld" = yes; then
15439
 
    need_lib_prefix=no
15440
 
  fi
15441
 
  need_version=yes
15442
 
  ;;
15443
 
 
15444
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15445
 
  version_type=linux
15446
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15447
 
  soname_spec='${libname}${release}${shared_ext}$major'
15448
 
  shlibpath_var=LD_LIBRARY_PATH
15449
 
  case $host_vendor in
15450
 
    sni)
15451
 
      shlibpath_overrides_runpath=no
15452
 
      need_lib_prefix=no
15453
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15454
 
      runpath_var=LD_RUN_PATH
15455
 
      ;;
15456
 
    siemens)
15457
 
      need_lib_prefix=no
15458
 
      ;;
15459
 
    motorola)
15460
 
      need_lib_prefix=no
15461
 
      need_version=no
15462
 
      shlibpath_overrides_runpath=no
15463
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15464
 
      ;;
15465
 
  esac
15466
 
  ;;
15467
 
 
15468
 
sysv4*MP*)
15469
 
  if test -d /usr/nec ;then
15470
 
    version_type=linux
15471
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15472
 
    soname_spec='$libname${shared_ext}.$major'
15473
 
    shlibpath_var=LD_LIBRARY_PATH
15474
 
  fi
15475
 
  ;;
15476
 
 
15477
 
uts4*)
15478
 
  version_type=linux
15479
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15480
 
  soname_spec='${libname}${release}${shared_ext}$major'
15481
 
  shlibpath_var=LD_LIBRARY_PATH
15482
 
  ;;
15483
 
 
15484
 
*)
15485
 
  dynamic_linker=no
15486
 
  ;;
15487
 
esac
15488
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15489
 
echo "${ECHO_T}$dynamic_linker" >&6; }
15490
 
test "$dynamic_linker" = no && can_build_shared=no
15491
 
 
15492
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15493
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15494
 
hardcode_action_CXX=
15495
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15496
 
   test -n "$runpath_var CXX" || \
15497
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
15498
 
 
15499
 
  # We can hardcode non-existant directories.
15500
 
  if test "$hardcode_direct_CXX" != no &&
15501
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15502
 
     # have to relink, otherwise we might link with an installed library
15503
 
     # when we should be linking with a yet-to-be-installed one
15504
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15505
 
     test "$hardcode_minus_L_CXX" != no; then
15506
 
    # Linking always hardcodes the temporary library directory.
15507
 
    hardcode_action_CXX=relink
15508
 
  else
15509
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15510
 
    hardcode_action_CXX=immediate
15511
 
  fi
15512
 
else
15513
 
  # We cannot hardcode anything, or else we can only hardcode existing
15514
 
  # directories.
15515
 
  hardcode_action_CXX=unsupported
15516
 
fi
15517
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15518
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15519
 
 
15520
 
if test "$hardcode_action_CXX" = relink; then
15521
 
  # Fast installation is not supported
15522
 
  enable_fast_install=no
15523
 
elif test "$shlibpath_overrides_runpath" = yes ||
15524
 
     test "$enable_shared" = no; then
15525
 
  # Fast installation is not necessary
15526
 
  enable_fast_install=needless
15527
 
fi
15528
 
 
15529
 
striplib=
15530
 
old_striplib=
15531
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15532
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15533
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15534
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15535
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15536
 
  { echo "$as_me:$LINENO: result: yes" >&5
15537
 
echo "${ECHO_T}yes" >&6; }
15538
 
else
15539
 
# FIXME - insert some real tests, host_os isn't really good enough
15540
 
  case $host_os in
15541
 
   darwin*)
15542
 
       if test -n "$STRIP" ; then
15543
 
         striplib="$STRIP -x"
15544
 
         { echo "$as_me:$LINENO: result: yes" >&5
15545
 
echo "${ECHO_T}yes" >&6; }
15546
 
       else
15547
 
  { echo "$as_me:$LINENO: result: no" >&5
15548
 
echo "${ECHO_T}no" >&6; }
15549
 
fi
15550
 
       ;;
15551
 
   *)
15552
 
  { echo "$as_me:$LINENO: result: no" >&5
15553
 
echo "${ECHO_T}no" >&6; }
15554
 
    ;;
15555
 
  esac
15556
 
fi
15557
 
 
15558
 
if test "x$enable_dlopen" != xyes; then
15559
 
  enable_dlopen=unknown
15560
 
  enable_dlopen_self=unknown
15561
 
  enable_dlopen_self_static=unknown
15562
 
else
15563
 
  lt_cv_dlopen=no
15564
 
  lt_cv_dlopen_libs=
15565
 
 
15566
 
  case $host_os in
15567
 
  beos*)
15568
 
    lt_cv_dlopen="load_add_on"
15569
 
    lt_cv_dlopen_libs=
15570
 
    lt_cv_dlopen_self=yes
15571
 
    ;;
15572
 
 
15573
 
  mingw* | pw32*)
15574
 
    lt_cv_dlopen="LoadLibrary"
15575
 
    lt_cv_dlopen_libs=
15576
 
   ;;
15577
 
 
15578
 
  cygwin*)
15579
 
    lt_cv_dlopen="dlopen"
15580
 
    lt_cv_dlopen_libs=
15581
 
   ;;
15582
 
 
15583
 
  darwin*)
15584
 
  # if libdl is installed we need to link against it
15585
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15586
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15587
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15589
 
else
15590
 
  ac_check_lib_save_LIBS=$LIBS
15591
 
LIBS="-ldl  $LIBS"
15592
 
cat >conftest.$ac_ext <<_ACEOF
15593
 
/* confdefs.h.  */
15594
 
_ACEOF
15595
 
cat confdefs.h >>conftest.$ac_ext
15596
 
cat >>conftest.$ac_ext <<_ACEOF
15597
 
/* end confdefs.h.  */
15598
 
 
15599
 
/* Override any GCC internal prototype to avoid an error.
15600
 
   Use char because int might match the return type of a GCC
15601
 
   builtin and then its argument prototype would still apply.  */
15602
 
#ifdef __cplusplus
15603
 
extern "C"
15604
 
#endif
15605
 
char dlopen ();
15606
 
int
15607
 
main ()
15608
 
{
15609
 
return dlopen ();
15610
 
  ;
15611
 
  return 0;
15612
 
}
15613
 
_ACEOF
15614
 
rm -f conftest.$ac_objext conftest$ac_exeext
15615
 
if { (ac_try="$ac_link"
15616
 
case "(($ac_try" in
15617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15618
 
  *) ac_try_echo=$ac_try;;
15619
 
esac
15620
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15621
 
  (eval "$ac_link") 2>conftest.er1
15622
 
  ac_status=$?
15623
 
  grep -v '^ *+' conftest.er1 >conftest.err
15624
 
  rm -f conftest.er1
15625
 
  cat conftest.err >&5
15626
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627
 
  (exit $ac_status); } && {
15628
 
         test -z "$ac_cxx_werror_flag" ||
15629
 
         test ! -s conftest.err
15630
 
       } && test -s conftest$ac_exeext &&
15631
 
       $as_test_x conftest$ac_exeext; then
15632
 
  ac_cv_lib_dl_dlopen=yes
15633
 
else
15634
 
  echo "$as_me: failed program was:" >&5
15635
 
sed 's/^/| /' conftest.$ac_ext >&5
15636
 
 
15637
 
        ac_cv_lib_dl_dlopen=no
15638
 
fi
15639
 
 
15640
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15641
 
      conftest$ac_exeext conftest.$ac_ext
15642
 
LIBS=$ac_check_lib_save_LIBS
15643
 
fi
15644
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15645
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15646
 
if test $ac_cv_lib_dl_dlopen = yes; then
15647
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15648
 
else
15649
 
 
15650
 
    lt_cv_dlopen="dyld"
15651
 
    lt_cv_dlopen_libs=
15652
 
    lt_cv_dlopen_self=yes
15653
 
 
15654
 
fi
15655
 
 
15656
 
   ;;
15657
 
 
15658
 
  *)
15659
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
15660
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
15661
 
if test "${ac_cv_func_shl_load+set}" = set; then
15662
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15663
 
else
15664
 
  cat >conftest.$ac_ext <<_ACEOF
15665
 
/* confdefs.h.  */
15666
 
_ACEOF
15667
 
cat confdefs.h >>conftest.$ac_ext
15668
 
cat >>conftest.$ac_ext <<_ACEOF
15669
 
/* end confdefs.h.  */
15670
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15671
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15672
 
#define shl_load innocuous_shl_load
15673
 
 
15674
 
/* System header to define __stub macros and hopefully few prototypes,
15675
 
    which can conflict with char shl_load (); below.
15676
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15677
 
    <limits.h> exists even on freestanding compilers.  */
15678
 
 
15679
 
#ifdef __STDC__
15680
 
# include <limits.h>
15681
 
#else
15682
 
# include <assert.h>
15683
 
#endif
15684
 
 
15685
 
#undef shl_load
15686
 
 
15687
 
/* Override any GCC internal prototype to avoid an error.
15688
 
   Use char because int might match the return type of a GCC
15689
 
   builtin and then its argument prototype would still apply.  */
15690
 
#ifdef __cplusplus
15691
 
extern "C"
15692
 
#endif
15693
 
char shl_load ();
15694
 
/* The GNU C library defines this for functions which it implements
15695
 
    to always fail with ENOSYS.  Some functions are actually named
15696
 
    something starting with __ and the normal name is an alias.  */
15697
 
#if defined __stub_shl_load || defined __stub___shl_load
15698
 
choke me
15699
 
#endif
15700
 
 
15701
 
int
15702
 
main ()
15703
 
{
15704
 
return shl_load ();
15705
 
  ;
15706
 
  return 0;
15707
 
}
15708
 
_ACEOF
15709
 
rm -f conftest.$ac_objext conftest$ac_exeext
15710
 
if { (ac_try="$ac_link"
15711
 
case "(($ac_try" in
15712
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15713
 
  *) ac_try_echo=$ac_try;;
15714
 
esac
15715
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15716
 
  (eval "$ac_link") 2>conftest.er1
15717
 
  ac_status=$?
15718
 
  grep -v '^ *+' conftest.er1 >conftest.err
15719
 
  rm -f conftest.er1
15720
 
  cat conftest.err >&5
15721
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722
 
  (exit $ac_status); } && {
15723
 
         test -z "$ac_cxx_werror_flag" ||
15724
 
         test ! -s conftest.err
15725
 
       } && test -s conftest$ac_exeext &&
15726
 
       $as_test_x conftest$ac_exeext; then
15727
 
  ac_cv_func_shl_load=yes
15728
 
else
15729
 
  echo "$as_me: failed program was:" >&5
15730
 
sed 's/^/| /' conftest.$ac_ext >&5
15731
 
 
15732
 
        ac_cv_func_shl_load=no
15733
 
fi
15734
 
 
15735
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15736
 
      conftest$ac_exeext conftest.$ac_ext
15737
 
fi
15738
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15739
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
15740
 
if test $ac_cv_func_shl_load = yes; then
15741
 
  lt_cv_dlopen="shl_load"
15742
 
else
15743
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15744
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
15745
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15747
 
else
15748
 
  ac_check_lib_save_LIBS=$LIBS
15749
 
LIBS="-ldld  $LIBS"
15750
 
cat >conftest.$ac_ext <<_ACEOF
15751
 
/* confdefs.h.  */
15752
 
_ACEOF
15753
 
cat confdefs.h >>conftest.$ac_ext
15754
 
cat >>conftest.$ac_ext <<_ACEOF
15755
 
/* end confdefs.h.  */
15756
 
 
15757
 
/* Override any GCC internal prototype to avoid an error.
15758
 
   Use char because int might match the return type of a GCC
15759
 
   builtin and then its argument prototype would still apply.  */
15760
 
#ifdef __cplusplus
15761
 
extern "C"
15762
 
#endif
15763
 
char shl_load ();
15764
 
int
15765
 
main ()
15766
 
{
15767
 
return shl_load ();
15768
 
  ;
15769
 
  return 0;
15770
 
}
15771
 
_ACEOF
15772
 
rm -f conftest.$ac_objext conftest$ac_exeext
15773
 
if { (ac_try="$ac_link"
15774
 
case "(($ac_try" in
15775
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15776
 
  *) ac_try_echo=$ac_try;;
15777
 
esac
15778
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15779
 
  (eval "$ac_link") 2>conftest.er1
15780
 
  ac_status=$?
15781
 
  grep -v '^ *+' conftest.er1 >conftest.err
15782
 
  rm -f conftest.er1
15783
 
  cat conftest.err >&5
15784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785
 
  (exit $ac_status); } && {
15786
 
         test -z "$ac_cxx_werror_flag" ||
15787
 
         test ! -s conftest.err
15788
 
       } && test -s conftest$ac_exeext &&
15789
 
       $as_test_x conftest$ac_exeext; then
15790
 
  ac_cv_lib_dld_shl_load=yes
15791
 
else
15792
 
  echo "$as_me: failed program was:" >&5
15793
 
sed 's/^/| /' conftest.$ac_ext >&5
15794
 
 
15795
 
        ac_cv_lib_dld_shl_load=no
15796
 
fi
15797
 
 
15798
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15799
 
      conftest$ac_exeext conftest.$ac_ext
15800
 
LIBS=$ac_check_lib_save_LIBS
15801
 
fi
15802
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15803
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
15804
 
if test $ac_cv_lib_dld_shl_load = yes; then
15805
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15806
 
else
15807
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
15808
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
15809
 
if test "${ac_cv_func_dlopen+set}" = set; then
15810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15811
 
else
15812
 
  cat >conftest.$ac_ext <<_ACEOF
15813
 
/* confdefs.h.  */
15814
 
_ACEOF
15815
 
cat confdefs.h >>conftest.$ac_ext
15816
 
cat >>conftest.$ac_ext <<_ACEOF
15817
 
/* end confdefs.h.  */
15818
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15819
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15820
 
#define dlopen innocuous_dlopen
15821
 
 
15822
 
/* System header to define __stub macros and hopefully few prototypes,
15823
 
    which can conflict with char dlopen (); below.
15824
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15825
 
    <limits.h> exists even on freestanding compilers.  */
15826
 
 
15827
 
#ifdef __STDC__
15828
 
# include <limits.h>
15829
 
#else
15830
 
# include <assert.h>
15831
 
#endif
15832
 
 
15833
 
#undef dlopen
15834
 
 
15835
 
/* Override any GCC internal prototype to avoid an error.
15836
 
   Use char because int might match the return type of a GCC
15837
 
   builtin and then its argument prototype would still apply.  */
15838
 
#ifdef __cplusplus
15839
 
extern "C"
15840
 
#endif
15841
 
char dlopen ();
15842
 
/* The GNU C library defines this for functions which it implements
15843
 
    to always fail with ENOSYS.  Some functions are actually named
15844
 
    something starting with __ and the normal name is an alias.  */
15845
 
#if defined __stub_dlopen || defined __stub___dlopen
15846
 
choke me
15847
 
#endif
15848
 
 
15849
 
int
15850
 
main ()
15851
 
{
15852
 
return dlopen ();
15853
 
  ;
15854
 
  return 0;
15855
 
}
15856
 
_ACEOF
15857
 
rm -f conftest.$ac_objext conftest$ac_exeext
15858
 
if { (ac_try="$ac_link"
15859
 
case "(($ac_try" in
15860
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15861
 
  *) ac_try_echo=$ac_try;;
15862
 
esac
15863
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15864
 
  (eval "$ac_link") 2>conftest.er1
15865
 
  ac_status=$?
15866
 
  grep -v '^ *+' conftest.er1 >conftest.err
15867
 
  rm -f conftest.er1
15868
 
  cat conftest.err >&5
15869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870
 
  (exit $ac_status); } && {
15871
 
         test -z "$ac_cxx_werror_flag" ||
15872
 
         test ! -s conftest.err
15873
 
       } && test -s conftest$ac_exeext &&
15874
 
       $as_test_x conftest$ac_exeext; then
15875
 
  ac_cv_func_dlopen=yes
15876
 
else
15877
 
  echo "$as_me: failed program was:" >&5
15878
 
sed 's/^/| /' conftest.$ac_ext >&5
15879
 
 
15880
 
        ac_cv_func_dlopen=no
15881
 
fi
15882
 
 
15883
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15884
 
      conftest$ac_exeext conftest.$ac_ext
15885
 
fi
15886
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15887
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
15888
 
if test $ac_cv_func_dlopen = yes; then
15889
 
  lt_cv_dlopen="dlopen"
15890
 
else
15891
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15892
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15893
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15894
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15895
 
else
15896
 
  ac_check_lib_save_LIBS=$LIBS
15897
 
LIBS="-ldl  $LIBS"
15898
 
cat >conftest.$ac_ext <<_ACEOF
15899
 
/* confdefs.h.  */
15900
 
_ACEOF
15901
 
cat confdefs.h >>conftest.$ac_ext
15902
 
cat >>conftest.$ac_ext <<_ACEOF
15903
 
/* end confdefs.h.  */
15904
 
 
15905
 
/* Override any GCC internal prototype to avoid an error.
15906
 
   Use char because int might match the return type of a GCC
15907
 
   builtin and then its argument prototype would still apply.  */
15908
 
#ifdef __cplusplus
15909
 
extern "C"
15910
 
#endif
15911
 
char dlopen ();
15912
 
int
15913
 
main ()
15914
 
{
15915
 
return dlopen ();
15916
 
  ;
15917
 
  return 0;
15918
 
}
15919
 
_ACEOF
15920
 
rm -f conftest.$ac_objext conftest$ac_exeext
15921
 
if { (ac_try="$ac_link"
15922
 
case "(($ac_try" in
15923
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15924
 
  *) ac_try_echo=$ac_try;;
15925
 
esac
15926
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15927
 
  (eval "$ac_link") 2>conftest.er1
15928
 
  ac_status=$?
15929
 
  grep -v '^ *+' conftest.er1 >conftest.err
15930
 
  rm -f conftest.er1
15931
 
  cat conftest.err >&5
15932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933
 
  (exit $ac_status); } && {
15934
 
         test -z "$ac_cxx_werror_flag" ||
15935
 
         test ! -s conftest.err
15936
 
       } && test -s conftest$ac_exeext &&
15937
 
       $as_test_x conftest$ac_exeext; then
15938
 
  ac_cv_lib_dl_dlopen=yes
15939
 
else
15940
 
  echo "$as_me: failed program was:" >&5
15941
 
sed 's/^/| /' conftest.$ac_ext >&5
15942
 
 
15943
 
        ac_cv_lib_dl_dlopen=no
15944
 
fi
15945
 
 
15946
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15947
 
      conftest$ac_exeext conftest.$ac_ext
15948
 
LIBS=$ac_check_lib_save_LIBS
15949
 
fi
15950
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15951
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15952
 
if test $ac_cv_lib_dl_dlopen = yes; then
15953
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15954
 
else
15955
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15956
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
15957
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15958
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15959
 
else
15960
 
  ac_check_lib_save_LIBS=$LIBS
15961
 
LIBS="-lsvld  $LIBS"
15962
 
cat >conftest.$ac_ext <<_ACEOF
15963
 
/* confdefs.h.  */
15964
 
_ACEOF
15965
 
cat confdefs.h >>conftest.$ac_ext
15966
 
cat >>conftest.$ac_ext <<_ACEOF
15967
 
/* end confdefs.h.  */
15968
 
 
15969
 
/* Override any GCC internal prototype to avoid an error.
15970
 
   Use char because int might match the return type of a GCC
15971
 
   builtin and then its argument prototype would still apply.  */
15972
 
#ifdef __cplusplus
15973
 
extern "C"
15974
 
#endif
15975
 
char dlopen ();
15976
 
int
15977
 
main ()
15978
 
{
15979
 
return dlopen ();
15980
 
  ;
15981
 
  return 0;
15982
 
}
15983
 
_ACEOF
15984
 
rm -f conftest.$ac_objext conftest$ac_exeext
15985
 
if { (ac_try="$ac_link"
15986
 
case "(($ac_try" in
15987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15988
 
  *) ac_try_echo=$ac_try;;
15989
 
esac
15990
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15991
 
  (eval "$ac_link") 2>conftest.er1
15992
 
  ac_status=$?
15993
 
  grep -v '^ *+' conftest.er1 >conftest.err
15994
 
  rm -f conftest.er1
15995
 
  cat conftest.err >&5
15996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997
 
  (exit $ac_status); } && {
15998
 
         test -z "$ac_cxx_werror_flag" ||
15999
 
         test ! -s conftest.err
16000
 
       } && test -s conftest$ac_exeext &&
16001
 
       $as_test_x conftest$ac_exeext; then
16002
 
  ac_cv_lib_svld_dlopen=yes
16003
 
else
16004
 
  echo "$as_me: failed program was:" >&5
16005
 
sed 's/^/| /' conftest.$ac_ext >&5
16006
 
 
16007
 
        ac_cv_lib_svld_dlopen=no
16008
 
fi
16009
 
 
16010
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16011
 
      conftest$ac_exeext conftest.$ac_ext
16012
 
LIBS=$ac_check_lib_save_LIBS
16013
 
fi
16014
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16015
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
16016
 
if test $ac_cv_lib_svld_dlopen = yes; then
16017
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16018
 
else
16019
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16020
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
16021
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16022
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16023
 
else
16024
 
  ac_check_lib_save_LIBS=$LIBS
16025
 
LIBS="-ldld  $LIBS"
16026
 
cat >conftest.$ac_ext <<_ACEOF
16027
 
/* confdefs.h.  */
16028
 
_ACEOF
16029
 
cat confdefs.h >>conftest.$ac_ext
16030
 
cat >>conftest.$ac_ext <<_ACEOF
16031
 
/* end confdefs.h.  */
16032
 
 
16033
 
/* Override any GCC internal prototype to avoid an error.
16034
 
   Use char because int might match the return type of a GCC
16035
 
   builtin and then its argument prototype would still apply.  */
16036
 
#ifdef __cplusplus
16037
 
extern "C"
16038
 
#endif
16039
 
char dld_link ();
16040
 
int
16041
 
main ()
16042
 
{
16043
 
return dld_link ();
16044
 
  ;
16045
 
  return 0;
16046
 
}
16047
 
_ACEOF
16048
 
rm -f conftest.$ac_objext conftest$ac_exeext
16049
 
if { (ac_try="$ac_link"
16050
 
case "(($ac_try" in
16051
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16052
 
  *) ac_try_echo=$ac_try;;
16053
 
esac
16054
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16055
 
  (eval "$ac_link") 2>conftest.er1
16056
 
  ac_status=$?
16057
 
  grep -v '^ *+' conftest.er1 >conftest.err
16058
 
  rm -f conftest.er1
16059
 
  cat conftest.err >&5
16060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061
 
  (exit $ac_status); } && {
16062
 
         test -z "$ac_cxx_werror_flag" ||
16063
 
         test ! -s conftest.err
16064
 
       } && test -s conftest$ac_exeext &&
16065
 
       $as_test_x conftest$ac_exeext; then
16066
 
  ac_cv_lib_dld_dld_link=yes
16067
 
else
16068
 
  echo "$as_me: failed program was:" >&5
16069
 
sed 's/^/| /' conftest.$ac_ext >&5
16070
 
 
16071
 
        ac_cv_lib_dld_dld_link=no
16072
 
fi
16073
 
 
16074
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16075
 
      conftest$ac_exeext conftest.$ac_ext
16076
 
LIBS=$ac_check_lib_save_LIBS
16077
 
fi
16078
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
16079
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
16080
 
if test $ac_cv_lib_dld_dld_link = yes; then
16081
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
16082
 
fi
16083
 
 
16084
 
 
16085
 
fi
16086
 
 
16087
 
 
16088
 
fi
16089
 
 
16090
 
 
16091
 
fi
16092
 
 
16093
 
 
16094
 
fi
16095
 
 
16096
 
 
16097
 
fi
16098
 
 
16099
 
    ;;
16100
 
  esac
16101
 
 
16102
 
  if test "x$lt_cv_dlopen" != xno; then
16103
 
    enable_dlopen=yes
16104
 
  else
16105
 
    enable_dlopen=no
16106
 
  fi
16107
 
 
16108
 
  case $lt_cv_dlopen in
16109
 
  dlopen)
16110
 
    save_CPPFLAGS="$CPPFLAGS"
16111
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16112
 
 
16113
 
    save_LDFLAGS="$LDFLAGS"
16114
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16115
 
 
16116
 
    save_LIBS="$LIBS"
16117
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
16118
 
 
16119
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
16120
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
16121
 
if test "${lt_cv_dlopen_self+set}" = set; then
16122
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16123
 
else
16124
 
          if test "$cross_compiling" = yes; then :
16125
 
  lt_cv_dlopen_self=cross
16126
 
else
16127
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16128
 
  lt_status=$lt_dlunknown
16129
 
  cat > conftest.$ac_ext <<EOF
16130
 
#line 16130 "configure"
16131
 
#include "confdefs.h"
16132
 
 
16133
 
#if HAVE_DLFCN_H
16134
 
#include <dlfcn.h>
16135
 
#endif
16136
 
 
16137
 
#include <stdio.h>
16138
 
 
16139
 
#ifdef RTLD_GLOBAL
16140
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
16141
 
#else
16142
 
#  ifdef DL_GLOBAL
16143
 
#    define LT_DLGLOBAL         DL_GLOBAL
16144
 
#  else
16145
 
#    define LT_DLGLOBAL         0
16146
 
#  endif
16147
 
#endif
16148
 
 
16149
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16150
 
   find out it does not work in some platform. */
16151
 
#ifndef LT_DLLAZY_OR_NOW
16152
 
#  ifdef RTLD_LAZY
16153
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
16154
 
#  else
16155
 
#    ifdef DL_LAZY
16156
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
16157
 
#    else
16158
 
#      ifdef RTLD_NOW
16159
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
16160
 
#      else
16161
 
#        ifdef DL_NOW
16162
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
16163
 
#        else
16164
 
#          define LT_DLLAZY_OR_NOW      0
16165
 
#        endif
16166
 
#      endif
16167
 
#    endif
16168
 
#  endif
16169
 
#endif
16170
 
 
16171
 
#ifdef __cplusplus
16172
 
extern "C" void exit (int);
16173
 
#endif
16174
 
 
16175
 
void fnord() { int i=42;}
16176
 
int main ()
16177
 
{
16178
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16179
 
  int status = $lt_dlunknown;
16180
 
 
16181
 
  if (self)
16182
 
    {
16183
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16184
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16185
 
      /* dlclose (self); */
16186
 
    }
16187
 
 
16188
 
    exit (status);
16189
 
}
16190
 
EOF
16191
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16192
 
  (eval $ac_link) 2>&5
16193
 
  ac_status=$?
16194
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16196
 
    (./conftest; exit; ) 2>/dev/null
16197
 
    lt_status=$?
16198
 
    case x$lt_status in
16199
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16200
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16201
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
16202
 
    esac
16203
 
  else :
16204
 
    # compilation failed
16205
 
    lt_cv_dlopen_self=no
16206
 
  fi
16207
 
fi
16208
 
rm -fr conftest*
16209
 
 
16210
 
 
16211
 
fi
16212
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
16213
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
16214
 
 
16215
 
    if test "x$lt_cv_dlopen_self" = xyes; then
16216
 
      LDFLAGS="$LDFLAGS $link_static_flag"
16217
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
16218
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
16219
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
16220
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16221
 
else
16222
 
          if test "$cross_compiling" = yes; then :
16223
 
  lt_cv_dlopen_self_static=cross
16224
 
else
16225
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16226
 
  lt_status=$lt_dlunknown
16227
 
  cat > conftest.$ac_ext <<EOF
16228
 
#line 16228 "configure"
16229
 
#include "confdefs.h"
16230
 
 
16231
 
#if HAVE_DLFCN_H
16232
 
#include <dlfcn.h>
16233
 
#endif
16234
 
 
16235
 
#include <stdio.h>
16236
 
 
16237
 
#ifdef RTLD_GLOBAL
16238
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
16239
 
#else
16240
 
#  ifdef DL_GLOBAL
16241
 
#    define LT_DLGLOBAL         DL_GLOBAL
16242
 
#  else
16243
 
#    define LT_DLGLOBAL         0
16244
 
#  endif
16245
 
#endif
16246
 
 
16247
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16248
 
   find out it does not work in some platform. */
16249
 
#ifndef LT_DLLAZY_OR_NOW
16250
 
#  ifdef RTLD_LAZY
16251
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
16252
 
#  else
16253
 
#    ifdef DL_LAZY
16254
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
16255
 
#    else
16256
 
#      ifdef RTLD_NOW
16257
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
16258
 
#      else
16259
 
#        ifdef DL_NOW
16260
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
16261
 
#        else
16262
 
#          define LT_DLLAZY_OR_NOW      0
16263
 
#        endif
16264
 
#      endif
16265
 
#    endif
16266
 
#  endif
16267
 
#endif
16268
 
 
16269
 
#ifdef __cplusplus
16270
 
extern "C" void exit (int);
16271
 
#endif
16272
 
 
16273
 
void fnord() { int i=42;}
16274
 
int main ()
16275
 
{
16276
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16277
 
  int status = $lt_dlunknown;
16278
 
 
16279
 
  if (self)
16280
 
    {
16281
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16282
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16283
 
      /* dlclose (self); */
16284
 
    }
16285
 
 
16286
 
    exit (status);
16287
 
}
16288
 
EOF
16289
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16290
 
  (eval $ac_link) 2>&5
16291
 
  ac_status=$?
16292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16294
 
    (./conftest; exit; ) 2>/dev/null
16295
 
    lt_status=$?
16296
 
    case x$lt_status in
16297
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16298
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16299
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
16300
 
    esac
16301
 
  else :
16302
 
    # compilation failed
16303
 
    lt_cv_dlopen_self_static=no
16304
 
  fi
16305
 
fi
16306
 
rm -fr conftest*
16307
 
 
16308
 
 
16309
 
fi
16310
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16311
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
16312
 
    fi
16313
 
 
16314
 
    CPPFLAGS="$save_CPPFLAGS"
16315
 
    LDFLAGS="$save_LDFLAGS"
16316
 
    LIBS="$save_LIBS"
16317
 
    ;;
16318
 
  esac
16319
 
 
16320
 
  case $lt_cv_dlopen_self in
16321
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16322
 
  *) enable_dlopen_self=unknown ;;
16323
 
  esac
16324
 
 
16325
 
  case $lt_cv_dlopen_self_static in
16326
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16327
 
  *) enable_dlopen_self_static=unknown ;;
16328
 
  esac
16329
 
fi
16330
 
 
16331
 
 
16332
 
# The else clause should only fire when bootstrapping the
16333
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16334
 
# with your package, and you will get complaints that there are
16335
 
# no rules to generate ltmain.sh.
16336
 
if test -f "$ltmain"; then
16337
 
  # See if we are running on zsh, and set the options which allow our commands through
16338
 
  # without removal of \ escapes.
16339
 
  if test -n "${ZSH_VERSION+set}" ; then
16340
 
    setopt NO_GLOB_SUBST
16341
 
  fi
16342
 
  # Now quote all the things that may contain metacharacters while being
16343
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16344
 
  # variables and quote the copies for generation of the libtool script.
16345
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
16346
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16347
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16348
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16349
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16350
 
    lt_cv_sys_global_symbol_to_c_name_address \
16351
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16352
 
    old_postinstall_cmds old_postuninstall_cmds \
16353
 
    compiler_CXX \
16354
 
    CC_CXX \
16355
 
    LD_CXX \
16356
 
    lt_prog_compiler_wl_CXX \
16357
 
    lt_prog_compiler_pic_CXX \
16358
 
    lt_prog_compiler_static_CXX \
16359
 
    lt_prog_compiler_no_builtin_flag_CXX \
16360
 
    export_dynamic_flag_spec_CXX \
16361
 
    thread_safe_flag_spec_CXX \
16362
 
    whole_archive_flag_spec_CXX \
16363
 
    enable_shared_with_static_runtimes_CXX \
16364
 
    old_archive_cmds_CXX \
16365
 
    old_archive_from_new_cmds_CXX \
16366
 
    predep_objects_CXX \
16367
 
    postdep_objects_CXX \
16368
 
    predeps_CXX \
16369
 
    postdeps_CXX \
16370
 
    compiler_lib_search_path_CXX \
16371
 
    archive_cmds_CXX \
16372
 
    archive_expsym_cmds_CXX \
16373
 
    postinstall_cmds_CXX \
16374
 
    postuninstall_cmds_CXX \
16375
 
    old_archive_from_expsyms_cmds_CXX \
16376
 
    allow_undefined_flag_CXX \
16377
 
    no_undefined_flag_CXX \
16378
 
    export_symbols_cmds_CXX \
16379
 
    hardcode_libdir_flag_spec_CXX \
16380
 
    hardcode_libdir_flag_spec_ld_CXX \
16381
 
    hardcode_libdir_separator_CXX \
16382
 
    hardcode_automatic_CXX \
16383
 
    module_cmds_CXX \
16384
 
    module_expsym_cmds_CXX \
16385
 
    lt_cv_prog_compiler_c_o_CXX \
16386
 
    exclude_expsyms_CXX \
16387
 
    include_expsyms_CXX; do
16388
 
 
16389
 
    case $var in
16390
 
    old_archive_cmds_CXX | \
16391
 
    old_archive_from_new_cmds_CXX | \
16392
 
    archive_cmds_CXX | \
16393
 
    archive_expsym_cmds_CXX | \
16394
 
    module_cmds_CXX | \
16395
 
    module_expsym_cmds_CXX | \
16396
 
    old_archive_from_expsyms_cmds_CXX | \
16397
 
    export_symbols_cmds_CXX | \
16398
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16399
 
    postinstall_cmds | postuninstall_cmds | \
16400
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16401
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16402
 
      # Double-quote double-evaled strings.
16403
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16404
 
      ;;
16405
 
    *)
16406
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16407
 
      ;;
16408
 
    esac
16409
 
  done
16410
 
 
16411
 
  case $lt_echo in
16412
 
  *'\$0 --fallback-echo"')
16413
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16414
 
    ;;
16415
 
  esac
16416
 
 
16417
 
cfgfile="$ofile"
16418
 
 
16419
 
  cat <<__EOF__ >> "$cfgfile"
16420
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16421
 
 
16422
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16423
 
 
16424
 
# Shell to use when invoking shell scripts.
16425
 
SHELL=$lt_SHELL
16426
 
 
16427
 
# Whether or not to build shared libraries.
16428
 
build_libtool_libs=$enable_shared
16429
 
 
16430
 
# Whether or not to build static libraries.
16431
 
build_old_libs=$enable_static
16432
 
 
16433
 
# Whether or not to add -lc for building shared libraries.
16434
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
16435
 
 
16436
 
# Whether or not to disallow shared libs when runtime libs are static
16437
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16438
 
 
16439
 
# Whether or not to optimize for fast installation.
16440
 
fast_install=$enable_fast_install
16441
 
 
16442
 
# The host system.
16443
 
host_alias=$host_alias
16444
 
host=$host
16445
 
 
16446
 
# An echo program that does not interpret backslashes.
16447
 
echo=$lt_echo
16448
 
 
16449
 
# The archiver.
16450
 
AR=$lt_AR
16451
 
AR_FLAGS=$lt_AR_FLAGS
16452
 
 
16453
 
# A C compiler.
16454
 
LTCC=$lt_LTCC
16455
 
 
16456
 
# A language-specific compiler.
16457
 
CC=$lt_compiler_CXX
16458
 
 
16459
 
# Is the compiler the GNU C compiler?
16460
 
with_gcc=$GCC_CXX
16461
 
 
16462
 
# An ERE matcher.
16463
 
EGREP=$lt_EGREP
16464
 
 
16465
 
# The linker used to build libraries.
16466
 
LD=$lt_LD_CXX
16467
 
 
16468
 
# Whether we need hard or soft links.
16469
 
LN_S=$lt_LN_S
16470
 
 
16471
 
# A BSD-compatible nm program.
16472
 
NM=$lt_NM
16473
 
 
16474
 
# A symbol stripping program
16475
 
STRIP=$STRIP
16476
 
 
16477
 
# Used to examine libraries when file_magic_cmd begins "file"
16478
 
MAGIC_CMD=$MAGIC_CMD
16479
 
 
16480
 
# Used on cygwin: DLL creation program.
16481
 
DLLTOOL="$DLLTOOL"
16482
 
 
16483
 
# Used on cygwin: object dumper.
16484
 
OBJDUMP="$OBJDUMP"
16485
 
 
16486
 
# Used on cygwin: assembler.
16487
 
AS="$AS"
16488
 
 
16489
 
# The name of the directory that contains temporary libtool files.
16490
 
objdir=$objdir
16491
 
 
16492
 
# How to create reloadable object files.
16493
 
reload_flag=$lt_reload_flag
16494
 
reload_cmds=$lt_reload_cmds
16495
 
 
16496
 
# How to pass a linker flag through the compiler.
16497
 
wl=$lt_lt_prog_compiler_wl_CXX
16498
 
 
16499
 
# Object file suffix (normally "o").
16500
 
objext="$ac_objext"
16501
 
 
16502
 
# Old archive suffix (normally "a").
16503
 
libext="$libext"
16504
 
 
16505
 
# Shared library suffix (normally ".so").
16506
 
shrext='$shrext'
16507
 
 
16508
 
# Executable file suffix (normally "").
16509
 
exeext="$exeext"
16510
 
 
16511
 
# Additional compiler flags for building library objects.
16512
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
16513
 
pic_mode=$pic_mode
16514
 
 
16515
 
# What is the maximum length of a command?
16516
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16517
 
 
16518
 
# Does compiler simultaneously support -c and -o options?
16519
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16520
 
 
16521
 
# Must we lock files when doing compilation ?
16522
 
need_locks=$lt_need_locks
16523
 
 
16524
 
# Do we need the lib prefix for modules?
16525
 
need_lib_prefix=$need_lib_prefix
16526
 
 
16527
 
# Do we need a version for libraries?
16528
 
need_version=$need_version
16529
 
 
16530
 
# Whether dlopen is supported.
16531
 
dlopen_support=$enable_dlopen
16532
 
 
16533
 
# Whether dlopen of programs is supported.
16534
 
dlopen_self=$enable_dlopen_self
16535
 
 
16536
 
# Whether dlopen of statically linked programs is supported.
16537
 
dlopen_self_static=$enable_dlopen_self_static
16538
 
 
16539
 
# Compiler flag to prevent dynamic linking.
16540
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
16541
 
 
16542
 
# Compiler flag to turn off builtin functions.
16543
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16544
 
 
16545
 
# Compiler flag to allow reflexive dlopens.
16546
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16547
 
 
16548
 
# Compiler flag to generate shared objects directly from archives.
16549
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16550
 
 
16551
 
# Compiler flag to generate thread-safe objects.
16552
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16553
 
 
16554
 
# Library versioning type.
16555
 
version_type=$version_type
16556
 
 
16557
 
# Format of library name prefix.
16558
 
libname_spec=$lt_libname_spec
16559
 
 
16560
 
# List of archive names.  First name is the real one, the rest are links.
16561
 
# The last name is the one that the linker finds with -lNAME.
16562
 
library_names_spec=$lt_library_names_spec
16563
 
 
16564
 
# The coded name of the library, if different from the real name.
16565
 
soname_spec=$lt_soname_spec
16566
 
 
16567
 
# Commands used to build and install an old-style archive.
16568
 
RANLIB=$lt_RANLIB
16569
 
old_archive_cmds=$lt_old_archive_cmds_CXX
16570
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16571
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16572
 
 
16573
 
# Create an old-style archive from a shared archive.
16574
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16575
 
 
16576
 
# Create a temporary old-style archive to link instead of a shared archive.
16577
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16578
 
 
16579
 
# Commands used to build and install a shared archive.
16580
 
archive_cmds=$lt_archive_cmds_CXX
16581
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16582
 
postinstall_cmds=$lt_postinstall_cmds
16583
 
postuninstall_cmds=$lt_postuninstall_cmds
16584
 
 
16585
 
# Commands used to build a loadable module (assumed same as above if empty)
16586
 
module_cmds=$lt_module_cmds_CXX
16587
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
16588
 
 
16589
 
# Commands to strip libraries.
16590
 
old_striplib=$lt_old_striplib
16591
 
striplib=$lt_striplib
16592
 
 
16593
 
# Dependencies to place before the objects being linked to create a
16594
 
# shared library.
16595
 
predep_objects=$lt_predep_objects_CXX
16596
 
 
16597
 
# Dependencies to place after the objects being linked to create a
16598
 
# shared library.
16599
 
postdep_objects=$lt_postdep_objects_CXX
16600
 
 
16601
 
# Dependencies to place before the objects being linked to create a
16602
 
# shared library.
16603
 
predeps=$lt_predeps_CXX
16604
 
 
16605
 
# Dependencies to place after the objects being linked to create a
16606
 
# shared library.
16607
 
postdeps=$lt_postdeps_CXX
16608
 
 
16609
 
# The library search path used internally by the compiler when linking
16610
 
# a shared library.
16611
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16612
 
 
16613
 
# Method to check whether dependent libraries are shared objects.
16614
 
deplibs_check_method=$lt_deplibs_check_method
16615
 
 
16616
 
# Command to use when deplibs_check_method == file_magic.
16617
 
file_magic_cmd=$lt_file_magic_cmd
16618
 
 
16619
 
# Flag that allows shared libraries with undefined symbols to be built.
16620
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
16621
 
 
16622
 
# Flag that forces no undefined symbols.
16623
 
no_undefined_flag=$lt_no_undefined_flag_CXX
16624
 
 
16625
 
# Commands used to finish a libtool library installation in a directory.
16626
 
finish_cmds=$lt_finish_cmds
16627
 
 
16628
 
# Same as above, but a single script fragment to be evaled but not shown.
16629
 
finish_eval=$lt_finish_eval
16630
 
 
16631
 
# Take the output of nm and produce a listing of raw symbols and C names.
16632
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16633
 
 
16634
 
# Transform the output of nm in a proper C declaration
16635
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16636
 
 
16637
 
# Transform the output of nm in a C name address pair
16638
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16639
 
 
16640
 
# This is the shared library runtime path variable.
16641
 
runpath_var=$runpath_var
16642
 
 
16643
 
# This is the shared library path variable.
16644
 
shlibpath_var=$shlibpath_var
16645
 
 
16646
 
# Is shlibpath searched before the hard-coded library search path?
16647
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16648
 
 
16649
 
# How to hardcode a shared library path into an executable.
16650
 
hardcode_action=$hardcode_action_CXX
16651
 
 
16652
 
# Whether we should hardcode library paths into libraries.
16653
 
hardcode_into_libs=$hardcode_into_libs
16654
 
 
16655
 
# Flag to hardcode \$libdir into a binary during linking.
16656
 
# This must work even if \$libdir does not exist.
16657
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16658
 
 
16659
 
# If ld is used when linking, flag to hardcode \$libdir into
16660
 
# a binary during linking. This must work even if \$libdir does
16661
 
# not exist.
16662
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16663
 
 
16664
 
# Whether we need a single -rpath flag with a separated argument.
16665
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16666
 
 
16667
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16668
 
# resulting binary.
16669
 
hardcode_direct=$hardcode_direct_CXX
16670
 
 
16671
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16672
 
# resulting binary.
16673
 
hardcode_minus_L=$hardcode_minus_L_CXX
16674
 
 
16675
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16676
 
# the resulting binary.
16677
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16678
 
 
16679
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16680
 
# and all subsequent libraries and executables linked against it.
16681
 
hardcode_automatic=$hardcode_automatic_CXX
16682
 
 
16683
 
# Variables whose values should be saved in libtool wrapper scripts and
16684
 
# restored at relink time.
16685
 
variables_saved_for_relink="$variables_saved_for_relink"
16686
 
 
16687
 
# Whether libtool must link a program against all its dependency libraries.
16688
 
link_all_deplibs=$link_all_deplibs_CXX
16689
 
 
16690
 
# Compile-time system search path for libraries
16691
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16692
 
 
16693
 
# Run-time system search path for libraries
16694
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16695
 
 
16696
 
# Fix the shell variable \$srcfile for the compiler.
16697
 
fix_srcfile_path="$fix_srcfile_path_CXX"
16698
 
 
16699
 
# Set to yes if exported symbols are required.
16700
 
always_export_symbols=$always_export_symbols_CXX
16701
 
 
16702
 
# The commands to list exported symbols.
16703
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
16704
 
 
16705
 
# The commands to extract the exported symbol list from a shared archive.
16706
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16707
 
 
16708
 
# Symbols that should not be listed in the preloaded symbols.
16709
 
exclude_expsyms=$lt_exclude_expsyms_CXX
16710
 
 
16711
 
# Symbols that must always be exported.
16712
 
include_expsyms=$lt_include_expsyms_CXX
16713
 
 
16714
 
# ### END LIBTOOL TAG CONFIG: $tagname
16715
 
 
16716
 
__EOF__
16717
 
 
16718
 
 
16719
 
else
16720
 
  # If there is no Makefile yet, we rely on a make rule to execute
16721
 
  # `config.status --recheck' to rerun these tests and create the
16722
 
  # libtool script then.
16723
 
  test -f Makefile && make "$ltmain"
16724
 
fi
16725
 
 
16726
 
 
16727
 
ac_ext=c
16728
 
ac_cpp='$CPP $CPPFLAGS'
16729
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16730
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16731
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16732
 
 
16733
 
CC=$lt_save_CC
16734
 
LDCXX=$LD
16735
 
LD=$lt_save_LD
16736
 
GCC=$lt_save_GCC
16737
 
with_gnu_ldcxx=$with_gnu_ld
16738
 
with_gnu_ld=$lt_save_with_gnu_ld
16739
 
lt_cv_path_LDCXX=$lt_cv_path_LD
16740
 
lt_cv_path_LD=$lt_save_path_LD
16741
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16742
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16743
 
 
16744
 
        else
16745
 
          tagname=""
16746
 
        fi
16747
 
        ;;
16748
 
 
16749
 
      F77)
16750
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
16751
 
 
16752
 
ac_ext=f
16753
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16754
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16755
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16756
 
 
16757
 
 
16758
 
archive_cmds_need_lc_F77=no
16759
 
allow_undefined_flag_F77=
16760
 
always_export_symbols_F77=no
16761
 
archive_expsym_cmds_F77=
16762
 
export_dynamic_flag_spec_F77=
16763
 
hardcode_direct_F77=no
16764
 
hardcode_libdir_flag_spec_F77=
16765
 
hardcode_libdir_flag_spec_ld_F77=
16766
 
hardcode_libdir_separator_F77=
16767
 
hardcode_minus_L_F77=no
16768
 
hardcode_automatic_F77=no
16769
 
module_cmds_F77=
16770
 
module_expsym_cmds_F77=
16771
 
link_all_deplibs_F77=unknown
16772
 
old_archive_cmds_F77=$old_archive_cmds
16773
 
no_undefined_flag_F77=
16774
 
whole_archive_flag_spec_F77=
16775
 
enable_shared_with_static_runtimes_F77=no
16776
 
 
16777
 
# Source file extension for f77 test sources.
16778
 
ac_ext=f
16779
 
 
16780
 
# Object file extension for compiled f77 test sources.
16781
 
objext=o
16782
 
objext_F77=$objext
16783
 
 
16784
 
# Code to be used in simple compile tests
16785
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
16786
 
 
16787
 
# Code to be used in simple link tests
16788
 
lt_simple_link_test_code="      program t\n      end\n"
16789
 
 
16790
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16791
 
 
16792
 
# If no C compiler was specified, use CC.
16793
 
LTCC=${LTCC-"$CC"}
16794
 
 
16795
 
# Allow CC to be a program name with arguments.
16796
 
compiler=$CC
16797
 
 
16798
 
 
16799
 
# Allow CC to be a program name with arguments.
16800
 
lt_save_CC="$CC"
16801
 
CC=${F77-"f77"}
16802
 
compiler=$CC
16803
 
compiler_F77=$CC
16804
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16805
 
 
16806
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16807
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
16808
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
16809
 
echo "${ECHO_T}$can_build_shared" >&6; }
16810
 
 
16811
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16812
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16813
 
test "$can_build_shared" = "no" && enable_shared=no
16814
 
 
16815
 
# On AIX, shared libraries and static libraries use the same namespace, and
16816
 
# are all built from PIC.
16817
 
case "$host_os" in
16818
 
aix3*)
16819
 
  test "$enable_shared" = yes && enable_static=no
16820
 
  if test -n "$RANLIB"; then
16821
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
16822
 
    postinstall_cmds='$RANLIB $lib'
16823
 
  fi
16824
 
  ;;
16825
 
aix4*)
16826
 
  test "$enable_shared" = yes && enable_static=no
16827
 
  ;;
16828
 
esac
16829
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
16830
 
echo "${ECHO_T}$enable_shared" >&6; }
16831
 
 
16832
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16833
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16834
 
# Make sure either enable_shared or enable_static is yes.
16835
 
test "$enable_shared" = yes || enable_static=yes
16836
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
16837
 
echo "${ECHO_T}$enable_static" >&6; }
16838
 
 
16839
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16840
 
 
16841
 
GCC_F77="$G77"
16842
 
LD_F77="$LD"
16843
 
 
16844
 
lt_prog_compiler_wl_F77=
16845
 
lt_prog_compiler_pic_F77=
16846
 
lt_prog_compiler_static_F77=
16847
 
 
16848
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16849
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16850
 
 
16851
 
  if test "$GCC" = yes; then
16852
 
    lt_prog_compiler_wl_F77='-Wl,'
16853
 
    lt_prog_compiler_static_F77='-static'
16854
 
 
16855
 
    case $host_os in
16856
 
      aix*)
16857
 
      # All AIX code is PIC.
16858
 
      if test "$host_cpu" = ia64; then
16859
 
        # AIX 5 now supports IA64 processor
16860
 
        lt_prog_compiler_static_F77='-Bstatic'
16861
 
      fi
16862
 
      ;;
16863
 
 
16864
 
    amigaos*)
16865
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16866
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16867
 
      # like `-m68040'.
16868
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16869
 
      ;;
16870
 
 
16871
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16872
 
      # PIC is the default for these OSes.
16873
 
      ;;
16874
 
 
16875
 
    mingw* | pw32* | os2*)
16876
 
      # This hack is so that the source file can tell whether it is being
16877
 
      # built for inclusion in a dll (and should export symbols for example).
16878
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16879
 
      ;;
16880
 
 
16881
 
    darwin* | rhapsody*)
16882
 
      # PIC is the default on this platform
16883
 
      # Common symbols not allowed in MH_DYLIB files
16884
 
      lt_prog_compiler_pic_F77='-fno-common'
16885
 
      ;;
16886
 
 
16887
 
    msdosdjgpp*)
16888
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16889
 
      # on systems that don't support them.
16890
 
      lt_prog_compiler_can_build_shared_F77=no
16891
 
      enable_shared=no
16892
 
      ;;
16893
 
 
16894
 
    sysv4*MP*)
16895
 
      if test -d /usr/nec; then
16896
 
        lt_prog_compiler_pic_F77=-Kconform_pic
16897
 
      fi
16898
 
      ;;
16899
 
 
16900
 
    hpux*)
16901
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16902
 
      # not for PA HP-UX.
16903
 
      case "$host_cpu" in
16904
 
      hppa*64*|ia64*)
16905
 
        # +Z the default
16906
 
        ;;
16907
 
      *)
16908
 
        lt_prog_compiler_pic_F77='-fPIC'
16909
 
        ;;
16910
 
      esac
16911
 
      ;;
16912
 
 
16913
 
    *)
16914
 
      lt_prog_compiler_pic_F77='-fPIC'
16915
 
      ;;
16916
 
    esac
16917
 
  else
16918
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16919
 
    case $host_os in
16920
 
    aix*)
16921
 
      lt_prog_compiler_wl_F77='-Wl,'
16922
 
      if test "$host_cpu" = ia64; then
16923
 
        # AIX 5 now supports IA64 processor
16924
 
        lt_prog_compiler_static_F77='-Bstatic'
16925
 
      else
16926
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16927
 
      fi
16928
 
      ;;
16929
 
 
16930
 
    mingw* | pw32* | os2*)
16931
 
      # This hack is so that the source file can tell whether it is being
16932
 
      # built for inclusion in a dll (and should export symbols for example).
16933
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16934
 
      ;;
16935
 
 
16936
 
    hpux9* | hpux10* | hpux11*)
16937
 
      lt_prog_compiler_wl_F77='-Wl,'
16938
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16939
 
      # not for PA HP-UX.
16940
 
      case "$host_cpu" in
16941
 
      hppa*64*|ia64*)
16942
 
        # +Z the default
16943
 
        ;;
16944
 
      *)
16945
 
        lt_prog_compiler_pic_F77='+Z'
16946
 
        ;;
16947
 
      esac
16948
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16949
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16950
 
      ;;
16951
 
 
16952
 
    irix5* | irix6* | nonstopux*)
16953
 
      lt_prog_compiler_wl_F77='-Wl,'
16954
 
      # PIC (with -KPIC) is the default.
16955
 
      lt_prog_compiler_static_F77='-non_shared'
16956
 
      ;;
16957
 
 
16958
 
    newsos6)
16959
 
      lt_prog_compiler_pic_F77='-KPIC'
16960
 
      lt_prog_compiler_static_F77='-Bstatic'
16961
 
      ;;
16962
 
 
16963
 
    linux*)
16964
 
      case $CC in
16965
 
      icc* | ecc*)
16966
 
        lt_prog_compiler_wl_F77='-Wl,'
16967
 
        lt_prog_compiler_pic_F77='-KPIC'
16968
 
        lt_prog_compiler_static_F77='-static'
16969
 
        ;;
16970
 
      ccc*)
16971
 
        lt_prog_compiler_wl_F77='-Wl,'
16972
 
        # All Alpha code is PIC.
16973
 
        lt_prog_compiler_static_F77='-non_shared'
16974
 
        ;;
16975
 
      esac
16976
 
      ;;
16977
 
 
16978
 
    osf3* | osf4* | osf5*)
16979
 
      lt_prog_compiler_wl_F77='-Wl,'
16980
 
      # All OSF/1 code is PIC.
16981
 
      lt_prog_compiler_static_F77='-non_shared'
16982
 
      ;;
16983
 
 
16984
 
    sco3.2v5*)
16985
 
      lt_prog_compiler_pic_F77='-Kpic'
16986
 
      lt_prog_compiler_static_F77='-dn'
16987
 
      ;;
16988
 
 
16989
 
    solaris*)
16990
 
      lt_prog_compiler_wl_F77='-Wl,'
16991
 
      lt_prog_compiler_pic_F77='-KPIC'
16992
 
      lt_prog_compiler_static_F77='-Bstatic'
16993
 
      ;;
16994
 
 
16995
 
    sunos4*)
16996
 
      lt_prog_compiler_wl_F77='-Qoption ld '
16997
 
      lt_prog_compiler_pic_F77='-PIC'
16998
 
      lt_prog_compiler_static_F77='-Bstatic'
16999
 
      ;;
17000
 
 
17001
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17002
 
      lt_prog_compiler_wl_F77='-Wl,'
17003
 
      lt_prog_compiler_pic_F77='-KPIC'
17004
 
      lt_prog_compiler_static_F77='-Bstatic'
17005
 
      ;;
17006
 
 
17007
 
    sysv4*MP*)
17008
 
      if test -d /usr/nec ;then
17009
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
17010
 
        lt_prog_compiler_static_F77='-Bstatic'
17011
 
      fi
17012
 
      ;;
17013
 
 
17014
 
    uts4*)
17015
 
      lt_prog_compiler_pic_F77='-pic'
17016
 
      lt_prog_compiler_static_F77='-Bstatic'
17017
 
      ;;
17018
 
 
17019
 
    *)
17020
 
      lt_prog_compiler_can_build_shared_F77=no
17021
 
      ;;
17022
 
    esac
17023
 
  fi
17024
 
 
17025
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
17026
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
17027
 
 
17028
 
#
17029
 
# Check to make sure the PIC flag actually works.
17030
 
#
17031
 
if test -n "$lt_prog_compiler_pic_F77"; then
17032
 
 
17033
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17034
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
17035
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
17036
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17037
 
else
17038
 
  lt_prog_compiler_pic_works_F77=no
17039
 
  ac_outfile=conftest.$ac_objext
17040
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17041
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
17042
 
   # Insert the option either (1) after the last *FLAGS variable, or
17043
 
   # (2) before a word containing "conftest.", or (3) at the end.
17044
 
   # Note that $ac_compile itself does not contain backslashes and begins
17045
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17046
 
   # The option is referenced via a variable to avoid confusing sed.
17047
 
   lt_compile=`echo "$ac_compile" | $SED \
17048
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17049
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17050
 
   -e 's:$: $lt_compiler_flag:'`
17051
 
   (eval echo "\"\$as_me:17051: $lt_compile\"" >&5)
17052
 
   (eval "$lt_compile" 2>conftest.err)
17053
 
   ac_status=$?
17054
 
   cat conftest.err >&5
17055
 
   echo "$as_me:17055: \$? = $ac_status" >&5
17056
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17057
 
     # The compiler can only warn and ignore the option if not recognized
17058
 
     # So say no if there are warnings
17059
 
     if test ! -s conftest.err; then
17060
 
       lt_prog_compiler_pic_works_F77=yes
17061
 
     fi
17062
 
   fi
17063
 
   $rm conftest*
17064
 
 
17065
 
fi
17066
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
17067
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
17068
 
 
17069
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
17070
 
    case $lt_prog_compiler_pic_F77 in
17071
 
     "" | " "*) ;;
17072
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
17073
 
     esac
17074
 
else
17075
 
    lt_prog_compiler_pic_F77=
17076
 
     lt_prog_compiler_can_build_shared_F77=no
17077
 
fi
17078
 
 
17079
 
fi
17080
 
case "$host_os" in
17081
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17082
 
  *djgpp*)
17083
 
    lt_prog_compiler_pic_F77=
17084
 
    ;;
17085
 
  *)
17086
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
17087
 
    ;;
17088
 
esac
17089
 
 
17090
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17091
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17092
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17093
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17094
 
else
17095
 
  lt_cv_prog_compiler_c_o_F77=no
17096
 
   $rm -r conftest 2>/dev/null
17097
 
   mkdir conftest
17098
 
   cd conftest
17099
 
   mkdir out
17100
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17101
 
 
17102
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
17103
 
   # that will create temporary files in the current directory regardless of
17104
 
   # the output directory.  Thus, making CWD read-only will cause this test
17105
 
   # to fail, enabling locking or at least warning the user not to do parallel
17106
 
   # builds.
17107
 
   chmod -w .
17108
 
 
17109
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17110
 
   # Insert the option either (1) after the last *FLAGS variable, or
17111
 
   # (2) before a word containing "conftest.", or (3) at the end.
17112
 
   # Note that $ac_compile itself does not contain backslashes and begins
17113
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17114
 
   lt_compile=`echo "$ac_compile" | $SED \
17115
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17116
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17117
 
   -e 's:$: $lt_compiler_flag:'`
17118
 
   (eval echo "\"\$as_me:17118: $lt_compile\"" >&5)
17119
 
   (eval "$lt_compile" 2>out/conftest.err)
17120
 
   ac_status=$?
17121
 
   cat out/conftest.err >&5
17122
 
   echo "$as_me:17122: \$? = $ac_status" >&5
17123
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17124
 
   then
17125
 
     # The compiler can only warn and ignore the option if not recognized
17126
 
     # So say no if there are warnings
17127
 
     if test ! -s out/conftest.err; then
17128
 
       lt_cv_prog_compiler_c_o_F77=yes
17129
 
     fi
17130
 
   fi
17131
 
   chmod u+w .
17132
 
   $rm conftest* out/*
17133
 
   rmdir out
17134
 
   cd ..
17135
 
   rmdir conftest
17136
 
   $rm conftest*
17137
 
 
17138
 
fi
17139
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17140
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
17141
 
 
17142
 
 
17143
 
hard_links="nottested"
17144
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
17145
 
  # do not overwrite the value of need_locks provided by the user
17146
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17147
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17148
 
  hard_links=yes
17149
 
  $rm conftest*
17150
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17151
 
  touch conftest.a
17152
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17153
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17154
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17155
 
echo "${ECHO_T}$hard_links" >&6; }
17156
 
  if test "$hard_links" = no; then
17157
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17158
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17159
 
    need_locks=warn
17160
 
  fi
17161
 
else
17162
 
  need_locks=no
17163
 
fi
17164
 
 
17165
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17166
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17167
 
 
17168
 
  runpath_var=
17169
 
  allow_undefined_flag_F77=
17170
 
  enable_shared_with_static_runtimes_F77=no
17171
 
  archive_cmds_F77=
17172
 
  archive_expsym_cmds_F77=
17173
 
  old_archive_From_new_cmds_F77=
17174
 
  old_archive_from_expsyms_cmds_F77=
17175
 
  export_dynamic_flag_spec_F77=
17176
 
  whole_archive_flag_spec_F77=
17177
 
  thread_safe_flag_spec_F77=
17178
 
  hardcode_libdir_flag_spec_F77=
17179
 
  hardcode_libdir_flag_spec_ld_F77=
17180
 
  hardcode_libdir_separator_F77=
17181
 
  hardcode_direct_F77=no
17182
 
  hardcode_minus_L_F77=no
17183
 
  hardcode_shlibpath_var_F77=unsupported
17184
 
  link_all_deplibs_F77=unknown
17185
 
  hardcode_automatic_F77=no
17186
 
  module_cmds_F77=
17187
 
  module_expsym_cmds_F77=
17188
 
  always_export_symbols_F77=no
17189
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17190
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17191
 
  # included in the symbol list
17192
 
  include_expsyms_F77=
17193
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17194
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17195
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17196
 
  # as well as any symbol that contains `d'.
17197
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
17198
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17199
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17200
 
  # the symbol is explicitly referenced.  Since portable code cannot
17201
 
  # rely on this symbol name, it's probably fine to never include it in
17202
 
  # preloaded symbol tables.
17203
 
  extract_expsyms_cmds=
17204
 
 
17205
 
  case $host_os in
17206
 
  cygwin* | mingw* | pw32*)
17207
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17208
 
    # When not using gcc, we currently assume that we are using
17209
 
    # Microsoft Visual C++.
17210
 
    if test "$GCC" != yes; then
17211
 
      with_gnu_ld=no
17212
 
    fi
17213
 
    ;;
17214
 
  openbsd*)
17215
 
    with_gnu_ld=no
17216
 
    ;;
17217
 
  esac
17218
 
 
17219
 
  ld_shlibs_F77=yes
17220
 
  if test "$with_gnu_ld" = yes; then
17221
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17222
 
    wlarc='${wl}'
17223
 
 
17224
 
    # See if GNU ld supports shared libraries.
17225
 
    case $host_os in
17226
 
    aix3* | aix4* | aix5*)
17227
 
      # On AIX/PPC, the GNU linker is very broken
17228
 
      if test "$host_cpu" != ia64; then
17229
 
        ld_shlibs_F77=no
17230
 
        cat <<EOF 1>&2
17231
 
 
17232
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17233
 
*** to be unable to reliably create shared libraries on AIX.
17234
 
*** Therefore, libtool is disabling shared libraries support.  If you
17235
 
*** really care for shared libraries, you may want to modify your PATH
17236
 
*** so that a non-GNU linker is found, and then restart.
17237
 
 
17238
 
EOF
17239
 
      fi
17240
 
      ;;
17241
 
 
17242
 
    amigaos*)
17243
 
      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)'
17244
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17245
 
      hardcode_minus_L_F77=yes
17246
 
 
17247
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17248
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17249
 
      # to version 4, is to share data among multiple programs linked
17250
 
      # with the same dynamic library.  Since this doesn't match the
17251
 
      # behavior of shared libraries on other platforms, we can't use
17252
 
      # them.
17253
 
      ld_shlibs_F77=no
17254
 
      ;;
17255
 
 
17256
 
    beos*)
17257
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17258
 
        allow_undefined_flag_F77=unsupported
17259
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17260
 
        # support --undefined.  This deserves some investigation.  FIXME
17261
 
        archive_cmds_F77='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17262
 
      else
17263
 
        ld_shlibs_F77=no
17264
 
      fi
17265
 
      ;;
17266
 
 
17267
 
    cygwin* | mingw* | pw32*)
17268
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17269
 
      # as there is no search path for DLLs.
17270
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17271
 
      allow_undefined_flag_F77=no
17272
 
      always_export_symbols_F77=no
17273
 
      enable_shared_with_static_runtimes_F77=yes
17274
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17275
 
 
17276
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17277
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17278
 
        # If the export-symbols file already is a .def file (1st line
17279
 
        # is EXPORTS), use it as is; otherwise, prepend...
17280
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17281
 
          cp $export_symbols $output_objdir/$soname.def;
17282
 
        else
17283
 
          echo EXPORTS > $output_objdir/$soname.def;
17284
 
          cat $export_symbols >> $output_objdir/$soname.def;
17285
 
        fi~
17286
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
17287
 
      else
17288
 
        ld_shlibs=no
17289
 
      fi
17290
 
      ;;
17291
 
 
17292
 
    netbsd*)
17293
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17294
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17295
 
        wlarc=
17296
 
      else
17297
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17298
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17299
 
      fi
17300
 
      ;;
17301
 
 
17302
 
    solaris* | sysv5*)
17303
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17304
 
        ld_shlibs_F77=no
17305
 
        cat <<EOF 1>&2
17306
 
 
17307
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17308
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17309
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17310
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17311
 
*** your PATH or compiler configuration so that the native linker is
17312
 
*** used, and then restart.
17313
 
 
17314
 
EOF
17315
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17316
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17317
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17318
 
      else
17319
 
        ld_shlibs_F77=no
17320
 
      fi
17321
 
      ;;
17322
 
 
17323
 
    sunos4*)
17324
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17325
 
      wlarc=
17326
 
      hardcode_direct_F77=yes
17327
 
      hardcode_shlibpath_var_F77=no
17328
 
      ;;
17329
 
 
17330
 
    *)
17331
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17332
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17333
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17334
 
      else
17335
 
        ld_shlibs_F77=no
17336
 
      fi
17337
 
      ;;
17338
 
    esac
17339
 
 
17340
 
    if test "$ld_shlibs_F77" = yes; then
17341
 
      runpath_var=LD_RUN_PATH
17342
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
17343
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17344
 
      # ancient GNU ld didn't support --whole-archive et. al.
17345
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17346
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17347
 
      else
17348
 
        whole_archive_flag_spec_F77=
17349
 
      fi
17350
 
    fi
17351
 
  else
17352
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17353
 
    case $host_os in
17354
 
    aix3*)
17355
 
      allow_undefined_flag_F77=unsupported
17356
 
      always_export_symbols_F77=yes
17357
 
      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'
17358
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17359
 
      # are no directories specified by -L.
17360
 
      hardcode_minus_L_F77=yes
17361
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
17362
 
        # Neither direct hardcoding nor static linking is supported with a
17363
 
        # broken collect2.
17364
 
        hardcode_direct_F77=unsupported
17365
 
      fi
17366
 
      ;;
17367
 
 
17368
 
    aix4* | aix5*)
17369
 
      if test "$host_cpu" = ia64; then
17370
 
        # On IA64, the linker does run time linking by default, so we don't
17371
 
        # have to do anything special.
17372
 
        aix_use_runtimelinking=no
17373
 
        exp_sym_flag='-Bexport'
17374
 
        no_entry_flag=""
17375
 
      else
17376
 
        # If we're using GNU nm, then we don't want the "-C" option.
17377
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17378
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17379
 
          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'
17380
 
        else
17381
 
          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'
17382
 
        fi
17383
 
 
17384
 
        # KDE requires run time linking.  Make it the default.
17385
 
        aix_use_runtimelinking=yes
17386
 
        exp_sym_flag='-bexport'
17387
 
        no_entry_flag='-bnoentry'
17388
 
      fi
17389
 
 
17390
 
      # When large executables or shared objects are built, AIX ld can
17391
 
      # have problems creating the table of contents.  If linking a library
17392
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17393
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17394
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17395
 
 
17396
 
      archive_cmds_F77=''
17397
 
      hardcode_direct_F77=yes
17398
 
      hardcode_libdir_separator_F77=':'
17399
 
      link_all_deplibs_F77=yes
17400
 
 
17401
 
      if test "$GCC" = yes; then
17402
 
        case $host_os in aix4.012|aix4.012.*)
17403
 
        # We only want to do this on AIX 4.2 and lower, the check
17404
 
        # below for broken collect2 doesn't work under 4.3+
17405
 
          collect2name=`${CC} -print-prog-name=collect2`
17406
 
          if test -f "$collect2name" && \
17407
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17408
 
          then
17409
 
          # We have reworked collect2
17410
 
          hardcode_direct_F77=yes
17411
 
          else
17412
 
          # We have old collect2
17413
 
          hardcode_direct_F77=unsupported
17414
 
          # It fails to find uninstalled libraries when the uninstalled
17415
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17416
 
          # to unsupported forces relinking
17417
 
          hardcode_minus_L_F77=yes
17418
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17419
 
          hardcode_libdir_separator_F77=
17420
 
          fi
17421
 
        esac
17422
 
        shared_flag='-shared'
17423
 
      else
17424
 
        # not using gcc
17425
 
        if test "$host_cpu" = ia64; then
17426
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17427
 
        # chokes on -Wl,-G. The following line is correct:
17428
 
          shared_flag='-G'
17429
 
        else
17430
 
        if test "$aix_use_runtimelinking" = yes; then
17431
 
            shared_flag='-qmkshrobj ${wl}-G'
17432
 
          else
17433
 
            shared_flag='-qmkshrobj'
17434
 
        fi
17435
 
        fi
17436
 
      fi
17437
 
 
17438
 
      # Let the compiler handle the export list.
17439
 
      always_export_symbols_F77=no
17440
 
      if test "$aix_use_runtimelinking" = yes; then
17441
 
        # Warning - without using the other runtime loading flags (-brtl),
17442
 
        # -berok will link without error, but may produce a broken library.
17443
 
        allow_undefined_flag_F77='-berok'
17444
 
       # Determine the default libpath from the value encoded in an empty executable.
17445
 
        cat >conftest.$ac_ext <<_ACEOF
17446
 
      program main
17447
 
 
17448
 
      end
17449
 
_ACEOF
17450
 
rm -f conftest.$ac_objext conftest$ac_exeext
17451
 
if { (ac_try="$ac_link"
17452
 
case "(($ac_try" in
17453
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17454
 
  *) ac_try_echo=$ac_try;;
17455
 
esac
17456
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17457
 
  (eval "$ac_link") 2>conftest.er1
17458
 
  ac_status=$?
17459
 
  grep -v '^ *+' conftest.er1 >conftest.err
17460
 
  rm -f conftest.er1
17461
 
  cat conftest.err >&5
17462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463
 
  (exit $ac_status); } && {
17464
 
         test -z "$ac_f77_werror_flag" ||
17465
 
         test ! -s conftest.err
17466
 
       } && test -s conftest$ac_exeext &&
17467
 
       $as_test_x conftest$ac_exeext; then
17468
 
 
17469
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17470
 
}'`
17471
 
# Check for a 64-bit object if we didn't find anything.
17472
 
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; }
17473
 
}'`; fi
17474
 
else
17475
 
  echo "$as_me: failed program was:" >&5
17476
 
sed 's/^/| /' conftest.$ac_ext >&5
17477
 
 
17478
 
 
17479
 
fi
17480
 
 
17481
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17482
 
      conftest$ac_exeext conftest.$ac_ext
17483
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17484
 
 
17485
 
        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17486
 
        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"
17487
 
        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"
17488
 
       else
17489
 
        if test "$host_cpu" = ia64; then
17490
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17491
 
          allow_undefined_flag_F77="-z nodefs"
17492
 
          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"
17493
 
        else
17494
 
         # Determine the default libpath from the value encoded in an empty executable.
17495
 
         cat >conftest.$ac_ext <<_ACEOF
17496
 
      program main
17497
 
 
17498
 
      end
17499
 
_ACEOF
17500
 
rm -f conftest.$ac_objext conftest$ac_exeext
17501
 
if { (ac_try="$ac_link"
17502
 
case "(($ac_try" in
17503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17504
 
  *) ac_try_echo=$ac_try;;
17505
 
esac
17506
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17507
 
  (eval "$ac_link") 2>conftest.er1
17508
 
  ac_status=$?
17509
 
  grep -v '^ *+' conftest.er1 >conftest.err
17510
 
  rm -f conftest.er1
17511
 
  cat conftest.err >&5
17512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513
 
  (exit $ac_status); } && {
17514
 
         test -z "$ac_f77_werror_flag" ||
17515
 
         test ! -s conftest.err
17516
 
       } && test -s conftest$ac_exeext &&
17517
 
       $as_test_x conftest$ac_exeext; then
17518
 
 
17519
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17520
 
}'`
17521
 
# Check for a 64-bit object if we didn't find anything.
17522
 
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; }
17523
 
}'`; fi
17524
 
else
17525
 
  echo "$as_me: failed program was:" >&5
17526
 
sed 's/^/| /' conftest.$ac_ext >&5
17527
 
 
17528
 
 
17529
 
fi
17530
 
 
17531
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17532
 
      conftest$ac_exeext conftest.$ac_ext
17533
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17534
 
 
17535
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17536
 
          # Warning - without using the other run time loading flags,
17537
 
          # -berok will link without error, but may produce a broken library.
17538
 
          no_undefined_flag_F77=' ${wl}-bernotok'
17539
 
          allow_undefined_flag_F77=' ${wl}-berok'
17540
 
          # -bexpall does not export symbols beginning with underscore (_)
17541
 
          always_export_symbols_F77=yes
17542
 
          # Exported symbols can be pulled into shared objects from archives
17543
 
          whole_archive_flag_spec_F77=' '
17544
 
          archive_cmds_need_lc_F77=yes
17545
 
          # This is similar to how AIX traditionally builds it's shared libraries.
17546
 
          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'
17547
 
        fi
17548
 
      fi
17549
 
      ;;
17550
 
 
17551
 
    amigaos*)
17552
 
      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)'
17553
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17554
 
      hardcode_minus_L_F77=yes
17555
 
      # see comment about different semantics on the GNU ld section
17556
 
      ld_shlibs_F77=no
17557
 
      ;;
17558
 
 
17559
 
    bsdi4*)
17560
 
      export_dynamic_flag_spec_F77=-rdynamic
17561
 
      ;;
17562
 
 
17563
 
    cygwin* | mingw* | pw32*)
17564
 
      # When not using gcc, we currently assume that we are using
17565
 
      # Microsoft Visual C++.
17566
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17567
 
      # no search path for DLLs.
17568
 
      hardcode_libdir_flag_spec_F77=' '
17569
 
      allow_undefined_flag_F77=no
17570
 
      # Tell ltmain to make .lib files, not .a files.
17571
 
      libext=lib
17572
 
      # Tell ltmain to make .dll files, not .so files.
17573
 
      shrext=".dll"
17574
 
      # FIXME: Setting linknames here is a bad hack.
17575
 
      archive_cmds_F77='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17576
 
      # The linker will automatically build a .lib file if we build a DLL.
17577
 
      old_archive_From_new_cmds_F77='true'
17578
 
      # FIXME: Should let the user specify the lib program.
17579
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
17580
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
17581
 
      enable_shared_with_static_runtimes_F77=yes
17582
 
      ;;
17583
 
 
17584
 
    darwin* | rhapsody*)
17585
 
    if test "$GXX" = yes ; then
17586
 
      archive_cmds_need_lc_F77=no
17587
 
      case "$host_os" in
17588
 
      rhapsody* | darwin1.[012])
17589
 
        allow_undefined_flag_F77='-Wl,-undefined -Wl,suppress'
17590
 
        ;;
17591
 
      *) # Darwin 1.3 on
17592
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17593
 
          allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17594
 
        else
17595
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
17596
 
            10.012)
17597
 
              allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17598
 
              ;;
17599
 
            10.*)
17600
 
              allow_undefined_flag_F77='-Wl,-undefined -Wl,dynamic_lookup'
17601
 
              ;;
17602
 
          esac
17603
 
        fi
17604
 
        ;;
17605
 
      esac
17606
 
        lt_int_apple_cc_single_mod=no
17607
 
        output_verbose_link_cmd='echo'
17608
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17609
 
          lt_int_apple_cc_single_mod=yes
17610
 
        fi
17611
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17612
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
17613
 
        else
17614
 
        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'
17615
 
      fi
17616
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
17617
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17618
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17619
 
          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}'
17620
 
        else
17621
 
          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}'
17622
 
        fi
17623
 
          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}'
17624
 
      hardcode_direct_F77=no
17625
 
      hardcode_automatic_F77=yes
17626
 
      hardcode_shlibpath_var_F77=unsupported
17627
 
      whole_archive_flag_spec_F77='-all_load $convenience'
17628
 
      link_all_deplibs_F77=yes
17629
 
    else
17630
 
      ld_shlibs_F77=no
17631
 
    fi
17632
 
      ;;
17633
 
 
17634
 
    dgux*)
17635
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17636
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17637
 
      hardcode_shlibpath_var_F77=no
17638
 
      ;;
17639
 
 
17640
 
    freebsd1*)
17641
 
      ld_shlibs_F77=no
17642
 
      ;;
17643
 
 
17644
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17645
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17646
 
    # does not break anything, and helps significantly (at the cost of a little
17647
 
    # extra space).
17648
 
    freebsd2.2*)
17649
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17650
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17651
 
      hardcode_direct_F77=yes
17652
 
      hardcode_shlibpath_var_F77=no
17653
 
      ;;
17654
 
 
17655
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17656
 
    freebsd2*)
17657
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17658
 
      hardcode_direct_F77=yes
17659
 
      hardcode_minus_L_F77=yes
17660
 
      hardcode_shlibpath_var_F77=no
17661
 
      ;;
17662
 
 
17663
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17664
 
    freebsd* | kfreebsd*-gnu)
17665
 
      archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
17666
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17667
 
      hardcode_direct_F77=yes
17668
 
      hardcode_shlibpath_var_F77=no
17669
 
      ;;
17670
 
 
17671
 
    hpux9*)
17672
 
      if test "$GCC" = yes; then
17673
 
        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'
17674
 
      else
17675
 
        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'
17676
 
      fi
17677
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17678
 
      hardcode_libdir_separator_F77=:
17679
 
      hardcode_direct_F77=yes
17680
 
 
17681
 
      # hardcode_minus_L: Not really in the search PATH,
17682
 
      # but as the default location of the library.
17683
 
      hardcode_minus_L_F77=yes
17684
 
      export_dynamic_flag_spec_F77='${wl}-E'
17685
 
      ;;
17686
 
 
17687
 
    hpux10* | hpux11*)
17688
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17689
 
        case "$host_cpu" in
17690
 
        hppa*64*|ia64*)
17691
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17692
 
          ;;
17693
 
        *)
17694
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
17695
 
          ;;
17696
 
        esac
17697
 
      else
17698
 
        case "$host_cpu" in
17699
 
        hppa*64*|ia64*)
17700
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17701
 
          ;;
17702
 
        *)
17703
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17704
 
          ;;
17705
 
        esac
17706
 
      fi
17707
 
      if test "$with_gnu_ld" = no; then
17708
 
        case "$host_cpu" in
17709
 
        hppa*64*)
17710
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17711
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17712
 
          hardcode_libdir_separator_F77=:
17713
 
          hardcode_direct_F77=no
17714
 
          hardcode_shlibpath_var_F77=no
17715
 
          ;;
17716
 
        ia64*)
17717
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17718
 
          hardcode_direct_F77=no
17719
 
          hardcode_shlibpath_var_F77=no
17720
 
 
17721
 
          # hardcode_minus_L: Not really in the search PATH,
17722
 
          # but as the default location of the library.
17723
 
          hardcode_minus_L_F77=yes
17724
 
          ;;
17725
 
        *)
17726
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17727
 
          hardcode_libdir_separator_F77=:
17728
 
          hardcode_direct_F77=yes
17729
 
          export_dynamic_flag_spec_F77='${wl}-E'
17730
 
 
17731
 
          # hardcode_minus_L: Not really in the search PATH,
17732
 
          # but as the default location of the library.
17733
 
          hardcode_minus_L_F77=yes
17734
 
          ;;
17735
 
        esac
17736
 
      fi
17737
 
      ;;
17738
 
 
17739
 
    irix5* | irix6* | nonstopux*)
17740
 
      if test "$GCC" = yes; then
17741
 
        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'
17742
 
      else
17743
 
        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'
17744
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17745
 
      fi
17746
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17747
 
      hardcode_libdir_separator_F77=:
17748
 
      link_all_deplibs_F77=yes
17749
 
      ;;
17750
 
 
17751
 
    netbsd*)
17752
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17753
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17754
 
      else
17755
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17756
 
      fi
17757
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17758
 
      hardcode_direct_F77=yes
17759
 
      hardcode_shlibpath_var_F77=no
17760
 
      ;;
17761
 
 
17762
 
    newsos6)
17763
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17764
 
      hardcode_direct_F77=yes
17765
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17766
 
      hardcode_libdir_separator_F77=:
17767
 
      hardcode_shlibpath_var_F77=no
17768
 
      ;;
17769
 
 
17770
 
    openbsd*)
17771
 
      hardcode_direct_F77=yes
17772
 
      hardcode_shlibpath_var_F77=no
17773
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17774
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17775
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17776
 
        export_dynamic_flag_spec_F77='${wl}-E'
17777
 
      else
17778
 
       case $host_os in
17779
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17780
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17781
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
17782
 
           ;;
17783
 
         *)
17784
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17785
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17786
 
           ;;
17787
 
       esac
17788
 
      fi
17789
 
      ;;
17790
 
 
17791
 
    os2*)
17792
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17793
 
      hardcode_minus_L_F77=yes
17794
 
      allow_undefined_flag_F77=unsupported
17795
 
      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'
17796
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17797
 
      ;;
17798
 
 
17799
 
    osf3*)
17800
 
      if test "$GCC" = yes; then
17801
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17802
 
        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'
17803
 
      else
17804
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17805
 
        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'
17806
 
      fi
17807
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17808
 
      hardcode_libdir_separator_F77=:
17809
 
      ;;
17810
 
 
17811
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17812
 
      if test "$GCC" = yes; then
17813
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17814
 
        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'
17815
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17816
 
      else
17817
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17818
 
        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'
17819
 
        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~
17820
 
        $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'
17821
 
 
17822
 
        # Both c and cxx compiler support -rpath directly
17823
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
17824
 
      fi
17825
 
      hardcode_libdir_separator_F77=:
17826
 
      ;;
17827
 
 
17828
 
    sco3.2v5*)
17829
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17830
 
      hardcode_shlibpath_var_F77=no
17831
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
17832
 
      runpath_var=LD_RUN_PATH
17833
 
      hardcode_runpath_var=yes
17834
 
      ;;
17835
 
 
17836
 
    solaris*)
17837
 
      no_undefined_flag_F77=' -z text'
17838
 
      if test "$GCC" = yes; then
17839
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17840
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17841
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
17842
 
      else
17843
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17844
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17845
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17846
 
      fi
17847
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17848
 
      hardcode_shlibpath_var_F77=no
17849
 
      case $host_os in
17850
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17851
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17852
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
17853
 
      esac
17854
 
      link_all_deplibs_F77=yes
17855
 
      ;;
17856
 
 
17857
 
    sunos4*)
17858
 
      if test "x$host_vendor" = xsequent; then
17859
 
        # Use $CC to link under sequent, because it throws in some extra .o
17860
 
        # files that make .init and .fini sections work.
17861
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
17862
 
      else
17863
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17864
 
      fi
17865
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17866
 
      hardcode_direct_F77=yes
17867
 
      hardcode_minus_L_F77=yes
17868
 
      hardcode_shlibpath_var_F77=no
17869
 
      ;;
17870
 
 
17871
 
    sysv4)
17872
 
      case $host_vendor in
17873
 
        sni)
17874
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17875
 
          hardcode_direct_F77=yes # is this really true???
17876
 
        ;;
17877
 
        siemens)
17878
 
          ## LD is ld it makes a PLAMLIB
17879
 
          ## CC just makes a GrossModule.
17880
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17881
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
17882
 
          hardcode_direct_F77=no
17883
 
        ;;
17884
 
        motorola)
17885
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17886
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17887
 
        ;;
17888
 
      esac
17889
 
      runpath_var='LD_RUN_PATH'
17890
 
      hardcode_shlibpath_var_F77=no
17891
 
      ;;
17892
 
 
17893
 
    sysv4.3*)
17894
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17895
 
      hardcode_shlibpath_var_F77=no
17896
 
      export_dynamic_flag_spec_F77='-Bexport'
17897
 
      ;;
17898
 
 
17899
 
    sysv4*MP*)
17900
 
      if test -d /usr/nec; then
17901
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17902
 
        hardcode_shlibpath_var_F77=no
17903
 
        runpath_var=LD_RUN_PATH
17904
 
        hardcode_runpath_var=yes
17905
 
        ld_shlibs_F77=yes
17906
 
      fi
17907
 
      ;;
17908
 
 
17909
 
    sysv4.2uw2*)
17910
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17911
 
      hardcode_direct_F77=yes
17912
 
      hardcode_minus_L_F77=no
17913
 
      hardcode_shlibpath_var_F77=no
17914
 
      hardcode_runpath_var=yes
17915
 
      runpath_var=LD_RUN_PATH
17916
 
      ;;
17917
 
 
17918
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
17919
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
17920
 
      if test "$GCC" = yes; then
17921
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17922
 
      else
17923
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17924
 
      fi
17925
 
      runpath_var='LD_RUN_PATH'
17926
 
      hardcode_shlibpath_var_F77=no
17927
 
      ;;
17928
 
 
17929
 
    sysv5*)
17930
 
      no_undefined_flag_F77=' -z text'
17931
 
      # $CC -shared without GNU ld will not create a library from C++
17932
 
      # object files and a static libstdc++, better avoid it by now
17933
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17934
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17935
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17936
 
      hardcode_libdir_flag_spec_F77=
17937
 
      hardcode_shlibpath_var_F77=no
17938
 
      runpath_var='LD_RUN_PATH'
17939
 
      ;;
17940
 
 
17941
 
    uts4*)
17942
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17943
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17944
 
      hardcode_shlibpath_var_F77=no
17945
 
      ;;
17946
 
 
17947
 
    *)
17948
 
      ld_shlibs_F77=no
17949
 
      ;;
17950
 
    esac
17951
 
  fi
17952
 
 
17953
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17954
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17955
 
test "$ld_shlibs_F77" = no && can_build_shared=no
17956
 
 
17957
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17958
 
if test "$GCC" = yes; then
17959
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17960
 
fi
17961
 
 
17962
 
#
17963
 
# Do we need to explicitly link libc?
17964
 
#
17965
 
case "x$archive_cmds_need_lc_F77" in
17966
 
x|xyes)
17967
 
  # Assume -lc should be added
17968
 
  archive_cmds_need_lc_F77=yes
17969
 
 
17970
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17971
 
    case $archive_cmds_F77 in
17972
 
    *'~'*)
17973
 
      # FIXME: we may have to deal with multi-command sequences.
17974
 
      ;;
17975
 
    '$CC '*)
17976
 
      # Test whether the compiler implicitly links with -lc since on some
17977
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17978
 
      # to ld, don't add -lc before -lgcc.
17979
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17980
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17981
 
      $rm conftest*
17982
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17983
 
 
17984
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17985
 
  (eval $ac_compile) 2>&5
17986
 
  ac_status=$?
17987
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988
 
  (exit $ac_status); } 2>conftest.err; then
17989
 
        soname=conftest
17990
 
        lib=conftest
17991
 
        libobjs=conftest.$ac_objext
17992
 
        deplibs=
17993
 
        wl=$lt_prog_compiler_wl_F77
17994
 
        compiler_flags=-v
17995
 
        linker_flags=-v
17996
 
        verstring=
17997
 
        output_objdir=.
17998
 
        libname=conftest
17999
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
18000
 
        allow_undefined_flag_F77=
18001
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18002
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18003
 
  ac_status=$?
18004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005
 
  (exit $ac_status); }
18006
 
        then
18007
 
          archive_cmds_need_lc_F77=no
18008
 
        else
18009
 
          archive_cmds_need_lc_F77=yes
18010
 
        fi
18011
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
18012
 
      else
18013
 
        cat conftest.err 1>&5
18014
 
      fi
18015
 
      $rm conftest*
18016
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18017
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
18018
 
      ;;
18019
 
    esac
18020
 
  fi
18021
 
  ;;
18022
 
esac
18023
 
 
18024
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18025
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18026
 
library_names_spec=
18027
 
libname_spec='lib$name'
18028
 
soname_spec=
18029
 
shrext=".so"
18030
 
postinstall_cmds=
18031
 
postuninstall_cmds=
18032
 
finish_cmds=
18033
 
finish_eval=
18034
 
shlibpath_var=
18035
 
shlibpath_overrides_runpath=unknown
18036
 
version_type=none
18037
 
dynamic_linker="$host_os ld.so"
18038
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18039
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18040
 
need_lib_prefix=unknown
18041
 
hardcode_into_libs=no
18042
 
 
18043
 
# when you set need_version to no, make sure it does not cause -set_version
18044
 
# flags to be left without arguments
18045
 
need_version=unknown
18046
 
 
18047
 
case $host_os in
18048
 
aix3*)
18049
 
  version_type=linux
18050
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18051
 
  shlibpath_var=LIBPATH
18052
 
 
18053
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18054
 
  soname_spec='${libname}${release}${shared_ext}$major'
18055
 
  ;;
18056
 
 
18057
 
aix4* | aix5*)
18058
 
  version_type=linux
18059
 
  need_lib_prefix=no
18060
 
  need_version=no
18061
 
  hardcode_into_libs=yes
18062
 
  if test "$host_cpu" = ia64; then
18063
 
    # AIX 5 supports IA64
18064
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18065
 
    shlibpath_var=LD_LIBRARY_PATH
18066
 
  else
18067
 
    # With GCC up to 2.95.x, collect2 would create an import file
18068
 
    # for dependence libraries.  The import file would start with
18069
 
    # the line `#! .'.  This would cause the generated library to
18070
 
    # depend on `.', always an invalid library.  This was fixed in
18071
 
    # development snapshots of GCC prior to 3.0.
18072
 
    case $host_os in
18073
 
      aix4 | aix4.[01] | aix4.[01].*)
18074
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18075
 
           echo ' yes '
18076
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18077
 
        :
18078
 
      else
18079
 
        can_build_shared=no
18080
 
      fi
18081
 
      ;;
18082
 
    esac
18083
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18084
 
    # soname into executable. Probably we can add versioning support to
18085
 
    # collect2, so additional links can be useful in future.
18086
 
    if test "$aix_use_runtimelinking" = yes; then
18087
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18088
 
      # instead of lib<name>.a to let people know that these are not
18089
 
      # typical AIX shared libraries.
18090
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18091
 
    else
18092
 
      # We preserve .a as extension for shared libraries through AIX4.2
18093
 
      # and later when we are not doing run time linking.
18094
 
      library_names_spec='${libname}${release}.a $libname.a'
18095
 
      soname_spec='${libname}${release}${shared_ext}$major'
18096
 
    fi
18097
 
    shlibpath_var=LIBPATH
18098
 
  fi
18099
 
  ;;
18100
 
 
18101
 
amigaos*)
18102
 
  library_names_spec='$libname.ixlibrary $libname.a'
18103
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18104
 
  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'
18105
 
  ;;
18106
 
 
18107
 
beos*)
18108
 
  library_names_spec='${libname}${shared_ext}'
18109
 
  dynamic_linker="$host_os ld.so"
18110
 
  shlibpath_var=LIBRARY_PATH
18111
 
  ;;
18112
 
 
18113
 
bsdi4*)
18114
 
  version_type=linux
18115
 
  need_version=no
18116
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18117
 
  soname_spec='${libname}${release}${shared_ext}$major'
18118
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18119
 
  shlibpath_var=LD_LIBRARY_PATH
18120
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18121
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18122
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18123
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18124
 
  # libtool to hard-code these into programs
18125
 
  ;;
18126
 
 
18127
 
cygwin* | mingw* | pw32*)
18128
 
  version_type=windows
18129
 
  shrext=".dll"
18130
 
  need_version=no
18131
 
  need_lib_prefix=no
18132
 
 
18133
 
  case $GCC,$host_os in
18134
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18135
 
    library_names_spec='$libname.dll.a'
18136
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18137
 
    postinstall_cmds='base_file=`basename \${file}`~
18138
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18139
 
      dldir=$destdir/`dirname \$dlpath`~
18140
 
      test -d \$dldir || mkdir -p \$dldir~
18141
 
      $install_prog $dir/$dlname \$dldir/$dlname'
18142
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18143
 
      dlpath=$dir/\$dldll~
18144
 
       $rm \$dlpath'
18145
 
    shlibpath_overrides_runpath=yes
18146
 
 
18147
 
    case $host_os in
18148
 
    cygwin*)
18149
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18150
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18151
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18152
 
      ;;
18153
 
    mingw*)
18154
 
      # MinGW DLLs use traditional 'lib' prefix
18155
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18156
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18157
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18158
 
        # It is most probably a Windows format PATH printed by
18159
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18160
 
        # path with ; separators, and with drive letters. We can handle the
18161
 
        # drive letters (cygwin fileutils understands them), so leave them,
18162
 
        # especially as we might pass files found there to a mingw objdump,
18163
 
        # which wouldn't understand a cygwinified path. Ahh.
18164
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18165
 
      else
18166
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18167
 
      fi
18168
 
      ;;
18169
 
    pw32*)
18170
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18171
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18172
 
      ;;
18173
 
    esac
18174
 
    ;;
18175
 
 
18176
 
  *)
18177
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18178
 
    ;;
18179
 
  esac
18180
 
  dynamic_linker='Win32 ld.exe'
18181
 
  # FIXME: first we should search . and the directory the executable is in
18182
 
  shlibpath_var=PATH
18183
 
  ;;
18184
 
 
18185
 
darwin* | rhapsody*)
18186
 
  dynamic_linker="$host_os dyld"
18187
 
  version_type=darwin
18188
 
  need_lib_prefix=no
18189
 
  need_version=no
18190
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18191
 
  soname_spec='${libname}${release}${major}$shared_ext'
18192
 
  shlibpath_overrides_runpath=yes
18193
 
  shlibpath_var=DYLD_LIBRARY_PATH
18194
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
18195
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18196
 
  if test "$GCC" = yes; then
18197
 
    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"`
18198
 
  else
18199
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18200
 
  fi
18201
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18202
 
  ;;
18203
 
 
18204
 
dgux*)
18205
 
  version_type=linux
18206
 
  need_lib_prefix=no
18207
 
  need_version=no
18208
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18209
 
  soname_spec='${libname}${release}${shared_ext}$major'
18210
 
  shlibpath_var=LD_LIBRARY_PATH
18211
 
  ;;
18212
 
 
18213
 
freebsd1*)
18214
 
  dynamic_linker=no
18215
 
  ;;
18216
 
 
18217
 
kfreebsd*-gnu*)
18218
 
  version_type=linux
18219
 
  need_lib_prefix=no
18220
 
  need_version=no
18221
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18222
 
  soname_spec='${libname}${release}${shared_ext}$major'
18223
 
  shlibpath_var=LD_LIBRARY_PATH
18224
 
  shlibpath_overrides_runpath=no
18225
 
  hardcode_into_libs=yes
18226
 
  dynamic_linker='GNU ld.so'
18227
 
  ;;
18228
 
 
18229
 
freebsd*)
18230
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18231
 
  version_type=freebsd-$objformat
18232
 
  case $version_type in
18233
 
    freebsd-elf*)
18234
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18235
 
      need_version=no
18236
 
      need_lib_prefix=no
18237
 
      ;;
18238
 
    freebsd-*)
18239
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18240
 
      need_version=yes
18241
 
      ;;
18242
 
  esac
18243
 
  shlibpath_var=LD_LIBRARY_PATH
18244
 
  case $host_os in
18245
 
  freebsd2*)
18246
 
    shlibpath_overrides_runpath=yes
18247
 
    ;;
18248
 
  freebsd3.01* | freebsdelf3.01*)
18249
 
    shlibpath_overrides_runpath=yes
18250
 
    hardcode_into_libs=yes
18251
 
    ;;
18252
 
  *) # from 3.2 on
18253
 
    shlibpath_overrides_runpath=no
18254
 
    hardcode_into_libs=yes
18255
 
    ;;
18256
 
  esac
18257
 
  ;;
18258
 
 
18259
 
gnu*)
18260
 
  version_type=linux
18261
 
  need_lib_prefix=no
18262
 
  need_version=no
18263
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18264
 
  soname_spec='${libname}${release}${shared_ext}$major'
18265
 
  shlibpath_var=LD_LIBRARY_PATH
18266
 
  hardcode_into_libs=yes
18267
 
  ;;
18268
 
 
18269
 
hpux9* | hpux10* | hpux11*)
18270
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18271
 
  # link against other versions.
18272
 
  version_type=sunos
18273
 
  need_lib_prefix=no
18274
 
  need_version=no
18275
 
  case "$host_cpu" in
18276
 
  ia64*)
18277
 
    shrext='.so'
18278
 
    hardcode_into_libs=yes
18279
 
    dynamic_linker="$host_os dld.so"
18280
 
    shlibpath_var=LD_LIBRARY_PATH
18281
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18282
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18283
 
    soname_spec='${libname}${release}${shared_ext}$major'
18284
 
    if test "X$HPUX_IA64_MODE" = X32; then
18285
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18286
 
    else
18287
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18288
 
    fi
18289
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18290
 
    ;;
18291
 
   hppa*64*)
18292
 
     shrext='.sl'
18293
 
     hardcode_into_libs=yes
18294
 
     dynamic_linker="$host_os dld.sl"
18295
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18296
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18297
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18298
 
     soname_spec='${libname}${release}${shared_ext}$major'
18299
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18300
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18301
 
     ;;
18302
 
   *)
18303
 
    shrext='.sl'
18304
 
    dynamic_linker="$host_os dld.sl"
18305
 
    shlibpath_var=SHLIB_PATH
18306
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18307
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18308
 
    soname_spec='${libname}${release}${shared_ext}$major'
18309
 
    ;;
18310
 
  esac
18311
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18312
 
  postinstall_cmds='chmod 555 $lib'
18313
 
  ;;
18314
 
 
18315
 
irix5* | irix6* | nonstopux*)
18316
 
  case $host_os in
18317
 
    nonstopux*) version_type=nonstopux ;;
18318
 
    *)
18319
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18320
 
                version_type=linux
18321
 
        else
18322
 
                version_type=irix
18323
 
        fi ;;
18324
 
  esac
18325
 
  need_lib_prefix=no
18326
 
  need_version=no
18327
 
  soname_spec='${libname}${release}${shared_ext}$major'
18328
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18329
 
  case $host_os in
18330
 
  irix5* | nonstopux*)
18331
 
    libsuff= shlibsuff=
18332
 
    ;;
18333
 
  *)
18334
 
    case $LD in # libtool.m4 will add one of these switches to LD
18335
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18336
 
      libsuff= shlibsuff= libmagic=32-bit;;
18337
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18338
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18339
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18340
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18341
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18342
 
    esac
18343
 
    ;;
18344
 
  esac
18345
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18346
 
  shlibpath_overrides_runpath=no
18347
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18348
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18349
 
  hardcode_into_libs=yes
18350
 
  ;;
18351
 
 
18352
 
# No shared lib support for Linux oldld, aout, or coff.
18353
 
linux*oldld* | linux*aout* | linux*coff*)
18354
 
  dynamic_linker=no
18355
 
  ;;
18356
 
 
18357
 
# This must be Linux ELF.
18358
 
linux*)
18359
 
  version_type=linux
18360
 
  need_lib_prefix=no
18361
 
  need_version=no
18362
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18363
 
  soname_spec='${libname}${release}${shared_ext}$major'
18364
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18365
 
  libsuff=
18366
 
  if test "x$LINUX_64_MODE" = x64; then
18367
 
    # Some platforms are per default 64-bit, so there's no /lib64
18368
 
    if test -d /lib64; then
18369
 
      libsuff=64
18370
 
    fi
18371
 
  fi
18372
 
  shlibpath_var=LD_LIBRARY_PATH
18373
 
  shlibpath_overrides_runpath=no
18374
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
18375
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18376
 
  # This implies no fast_install, which is unacceptable.
18377
 
  # Some rework will be needed to allow for fast_install
18378
 
  # before this can be enabled.
18379
 
  hardcode_into_libs=yes
18380
 
 
18381
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18382
 
  # powerpc, because MkLinux only supported shared libraries with the
18383
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18384
 
  # most powerpc-linux boxes support dynamic linking these days and
18385
 
  # people can always --disable-shared, the test was removed, and we
18386
 
  # assume the GNU/Linux dynamic linker is in use.
18387
 
  dynamic_linker='GNU/Linux ld.so'
18388
 
  ;;
18389
 
 
18390
 
netbsd*)
18391
 
  version_type=sunos
18392
 
  need_lib_prefix=no
18393
 
  need_version=no
18394
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18395
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18396
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18397
 
    dynamic_linker='NetBSD (a.out) ld.so'
18398
 
  else
18399
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
18400
 
    soname_spec='${libname}${release}${shared_ext}$major'
18401
 
    dynamic_linker='NetBSD ld.elf_so'
18402
 
  fi
18403
 
  shlibpath_var=LD_LIBRARY_PATH
18404
 
  shlibpath_overrides_runpath=yes
18405
 
  hardcode_into_libs=yes
18406
 
  ;;
18407
 
 
18408
 
newsos6)
18409
 
  version_type=linux
18410
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18411
 
  shlibpath_var=LD_LIBRARY_PATH
18412
 
  shlibpath_overrides_runpath=yes
18413
 
  ;;
18414
 
 
18415
 
nto-qnx*)
18416
 
  version_type=linux
18417
 
  need_lib_prefix=no
18418
 
  need_version=no
18419
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18420
 
  soname_spec='${libname}${release}${shared_ext}$major'
18421
 
  shlibpath_var=LD_LIBRARY_PATH
18422
 
  shlibpath_overrides_runpath=yes
18423
 
  ;;
18424
 
 
18425
 
openbsd*)
18426
 
  version_type=sunos
18427
 
  need_lib_prefix=no
18428
 
  need_version=no
18429
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18430
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18431
 
  shlibpath_var=LD_LIBRARY_PATH
18432
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18433
 
    case $host_os in
18434
 
      openbsd2.[89] | openbsd2.[89].*)
18435
 
        shlibpath_overrides_runpath=no
18436
 
        ;;
18437
 
      *)
18438
 
        shlibpath_overrides_runpath=yes
18439
 
        ;;
18440
 
      esac
18441
 
  else
18442
 
    shlibpath_overrides_runpath=yes
18443
 
  fi
18444
 
  ;;
18445
 
 
18446
 
os2*)
18447
 
  libname_spec='$name'
18448
 
  shrext=".dll"
18449
 
  need_lib_prefix=no
18450
 
  library_names_spec='$libname${shared_ext} $libname.a'
18451
 
  dynamic_linker='OS/2 ld.exe'
18452
 
  shlibpath_var=LIBPATH
18453
 
  ;;
18454
 
 
18455
 
osf3* | osf4* | osf5*)
18456
 
  version_type=osf
18457
 
  need_lib_prefix=no
18458
 
  need_version=no
18459
 
  soname_spec='${libname}${release}${shared_ext}$major'
18460
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18461
 
  shlibpath_var=LD_LIBRARY_PATH
18462
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18463
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18464
 
  ;;
18465
 
 
18466
 
sco3.2v5*)
18467
 
  version_type=osf
18468
 
  soname_spec='${libname}${release}${shared_ext}$major'
18469
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18470
 
  shlibpath_var=LD_LIBRARY_PATH
18471
 
  ;;
18472
 
 
18473
 
solaris*)
18474
 
  version_type=linux
18475
 
  need_lib_prefix=no
18476
 
  need_version=no
18477
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18478
 
  soname_spec='${libname}${release}${shared_ext}$major'
18479
 
  shlibpath_var=LD_LIBRARY_PATH
18480
 
  shlibpath_overrides_runpath=yes
18481
 
  hardcode_into_libs=yes
18482
 
  # ldd complains unless libraries are executable
18483
 
  postinstall_cmds='chmod +x $lib'
18484
 
  ;;
18485
 
 
18486
 
sunos4*)
18487
 
  version_type=sunos
18488
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18489
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18490
 
  shlibpath_var=LD_LIBRARY_PATH
18491
 
  shlibpath_overrides_runpath=yes
18492
 
  if test "$with_gnu_ld" = yes; then
18493
 
    need_lib_prefix=no
18494
 
  fi
18495
 
  need_version=yes
18496
 
  ;;
18497
 
 
18498
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18499
 
  version_type=linux
18500
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18501
 
  soname_spec='${libname}${release}${shared_ext}$major'
18502
 
  shlibpath_var=LD_LIBRARY_PATH
18503
 
  case $host_vendor in
18504
 
    sni)
18505
 
      shlibpath_overrides_runpath=no
18506
 
      need_lib_prefix=no
18507
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18508
 
      runpath_var=LD_RUN_PATH
18509
 
      ;;
18510
 
    siemens)
18511
 
      need_lib_prefix=no
18512
 
      ;;
18513
 
    motorola)
18514
 
      need_lib_prefix=no
18515
 
      need_version=no
18516
 
      shlibpath_overrides_runpath=no
18517
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18518
 
      ;;
18519
 
  esac
18520
 
  ;;
18521
 
 
18522
 
sysv4*MP*)
18523
 
  if test -d /usr/nec ;then
18524
 
    version_type=linux
18525
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18526
 
    soname_spec='$libname${shared_ext}.$major'
18527
 
    shlibpath_var=LD_LIBRARY_PATH
18528
 
  fi
18529
 
  ;;
18530
 
 
18531
 
uts4*)
18532
 
  version_type=linux
18533
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18534
 
  soname_spec='${libname}${release}${shared_ext}$major'
18535
 
  shlibpath_var=LD_LIBRARY_PATH
18536
 
  ;;
18537
 
 
18538
 
*)
18539
 
  dynamic_linker=no
18540
 
  ;;
18541
 
esac
18542
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18543
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18544
 
test "$dynamic_linker" = no && can_build_shared=no
18545
 
 
18546
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18547
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18548
 
hardcode_action_F77=
18549
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
18550
 
   test -n "$runpath_var F77" || \
18551
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
18552
 
 
18553
 
  # We can hardcode non-existant directories.
18554
 
  if test "$hardcode_direct_F77" != no &&
18555
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18556
 
     # have to relink, otherwise we might link with an installed library
18557
 
     # when we should be linking with a yet-to-be-installed one
18558
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18559
 
     test "$hardcode_minus_L_F77" != no; then
18560
 
    # Linking always hardcodes the temporary library directory.
18561
 
    hardcode_action_F77=relink
18562
 
  else
18563
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18564
 
    hardcode_action_F77=immediate
18565
 
  fi
18566
 
else
18567
 
  # We cannot hardcode anything, or else we can only hardcode existing
18568
 
  # directories.
18569
 
  hardcode_action_F77=unsupported
18570
 
fi
18571
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18572
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
18573
 
 
18574
 
if test "$hardcode_action_F77" = relink; then
18575
 
  # Fast installation is not supported
18576
 
  enable_fast_install=no
18577
 
elif test "$shlibpath_overrides_runpath" = yes ||
18578
 
     test "$enable_shared" = no; then
18579
 
  # Fast installation is not necessary
18580
 
  enable_fast_install=needless
18581
 
fi
18582
 
 
18583
 
striplib=
18584
 
old_striplib=
18585
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18586
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
18587
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18588
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18589
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18590
 
  { echo "$as_me:$LINENO: result: yes" >&5
18591
 
echo "${ECHO_T}yes" >&6; }
18592
 
else
18593
 
# FIXME - insert some real tests, host_os isn't really good enough
18594
 
  case $host_os in
18595
 
   darwin*)
18596
 
       if test -n "$STRIP" ; then
18597
 
         striplib="$STRIP -x"
18598
 
         { echo "$as_me:$LINENO: result: yes" >&5
18599
 
echo "${ECHO_T}yes" >&6; }
18600
 
       else
18601
 
  { echo "$as_me:$LINENO: result: no" >&5
18602
 
echo "${ECHO_T}no" >&6; }
18603
 
fi
18604
 
       ;;
18605
 
   *)
18606
 
  { echo "$as_me:$LINENO: result: no" >&5
18607
 
echo "${ECHO_T}no" >&6; }
18608
 
    ;;
18609
 
  esac
18610
 
fi
18611
 
 
18612
 
 
18613
 
 
18614
 
# The else clause should only fire when bootstrapping the
18615
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18616
 
# with your package, and you will get complaints that there are
18617
 
# no rules to generate ltmain.sh.
18618
 
if test -f "$ltmain"; then
18619
 
  # See if we are running on zsh, and set the options which allow our commands through
18620
 
  # without removal of \ escapes.
18621
 
  if test -n "${ZSH_VERSION+set}" ; then
18622
 
    setopt NO_GLOB_SUBST
18623
 
  fi
18624
 
  # Now quote all the things that may contain metacharacters while being
18625
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18626
 
  # variables and quote the copies for generation of the libtool script.
18627
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18628
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18629
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18630
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18631
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18632
 
    lt_cv_sys_global_symbol_to_c_name_address \
18633
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18634
 
    old_postinstall_cmds old_postuninstall_cmds \
18635
 
    compiler_F77 \
18636
 
    CC_F77 \
18637
 
    LD_F77 \
18638
 
    lt_prog_compiler_wl_F77 \
18639
 
    lt_prog_compiler_pic_F77 \
18640
 
    lt_prog_compiler_static_F77 \
18641
 
    lt_prog_compiler_no_builtin_flag_F77 \
18642
 
    export_dynamic_flag_spec_F77 \
18643
 
    thread_safe_flag_spec_F77 \
18644
 
    whole_archive_flag_spec_F77 \
18645
 
    enable_shared_with_static_runtimes_F77 \
18646
 
    old_archive_cmds_F77 \
18647
 
    old_archive_from_new_cmds_F77 \
18648
 
    predep_objects_F77 \
18649
 
    postdep_objects_F77 \
18650
 
    predeps_F77 \
18651
 
    postdeps_F77 \
18652
 
    compiler_lib_search_path_F77 \
18653
 
    archive_cmds_F77 \
18654
 
    archive_expsym_cmds_F77 \
18655
 
    postinstall_cmds_F77 \
18656
 
    postuninstall_cmds_F77 \
18657
 
    old_archive_from_expsyms_cmds_F77 \
18658
 
    allow_undefined_flag_F77 \
18659
 
    no_undefined_flag_F77 \
18660
 
    export_symbols_cmds_F77 \
18661
 
    hardcode_libdir_flag_spec_F77 \
18662
 
    hardcode_libdir_flag_spec_ld_F77 \
18663
 
    hardcode_libdir_separator_F77 \
18664
 
    hardcode_automatic_F77 \
18665
 
    module_cmds_F77 \
18666
 
    module_expsym_cmds_F77 \
18667
 
    lt_cv_prog_compiler_c_o_F77 \
18668
 
    exclude_expsyms_F77 \
18669
 
    include_expsyms_F77; do
18670
 
 
18671
 
    case $var in
18672
 
    old_archive_cmds_F77 | \
18673
 
    old_archive_from_new_cmds_F77 | \
18674
 
    archive_cmds_F77 | \
18675
 
    archive_expsym_cmds_F77 | \
18676
 
    module_cmds_F77 | \
18677
 
    module_expsym_cmds_F77 | \
18678
 
    old_archive_from_expsyms_cmds_F77 | \
18679
 
    export_symbols_cmds_F77 | \
18680
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18681
 
    postinstall_cmds | postuninstall_cmds | \
18682
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18683
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18684
 
      # Double-quote double-evaled strings.
18685
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18686
 
      ;;
18687
 
    *)
18688
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18689
 
      ;;
18690
 
    esac
18691
 
  done
18692
 
 
18693
 
  case $lt_echo in
18694
 
  *'\$0 --fallback-echo"')
18695
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18696
 
    ;;
18697
 
  esac
18698
 
 
18699
 
cfgfile="$ofile"
18700
 
 
18701
 
  cat <<__EOF__ >> "$cfgfile"
18702
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18703
 
 
18704
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18705
 
 
18706
 
# Shell to use when invoking shell scripts.
18707
 
SHELL=$lt_SHELL
18708
 
 
18709
 
# Whether or not to build shared libraries.
18710
 
build_libtool_libs=$enable_shared
18711
 
 
18712
 
# Whether or not to build static libraries.
18713
 
build_old_libs=$enable_static
18714
 
 
18715
 
# Whether or not to add -lc for building shared libraries.
18716
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
18717
 
 
18718
 
# Whether or not to disallow shared libs when runtime libs are static
18719
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18720
 
 
18721
 
# Whether or not to optimize for fast installation.
18722
 
fast_install=$enable_fast_install
18723
 
 
18724
 
# The host system.
18725
 
host_alias=$host_alias
18726
 
host=$host
18727
 
 
18728
 
# An echo program that does not interpret backslashes.
18729
 
echo=$lt_echo
18730
 
 
18731
 
# The archiver.
18732
 
AR=$lt_AR
18733
 
AR_FLAGS=$lt_AR_FLAGS
18734
 
 
18735
 
# A C compiler.
18736
 
LTCC=$lt_LTCC
18737
 
 
18738
 
# A language-specific compiler.
18739
 
CC=$lt_compiler_F77
18740
 
 
18741
 
# Is the compiler the GNU C compiler?
18742
 
with_gcc=$GCC_F77
18743
 
 
18744
 
# An ERE matcher.
18745
 
EGREP=$lt_EGREP
18746
 
 
18747
 
# The linker used to build libraries.
18748
 
LD=$lt_LD_F77
18749
 
 
18750
 
# Whether we need hard or soft links.
18751
 
LN_S=$lt_LN_S
18752
 
 
18753
 
# A BSD-compatible nm program.
18754
 
NM=$lt_NM
18755
 
 
18756
 
# A symbol stripping program
18757
 
STRIP=$STRIP
18758
 
 
18759
 
# Used to examine libraries when file_magic_cmd begins "file"
18760
 
MAGIC_CMD=$MAGIC_CMD
18761
 
 
18762
 
# Used on cygwin: DLL creation program.
18763
 
DLLTOOL="$DLLTOOL"
18764
 
 
18765
 
# Used on cygwin: object dumper.
18766
 
OBJDUMP="$OBJDUMP"
18767
 
 
18768
 
# Used on cygwin: assembler.
18769
 
AS="$AS"
18770
 
 
18771
 
# The name of the directory that contains temporary libtool files.
18772
 
objdir=$objdir
18773
 
 
18774
 
# How to create reloadable object files.
18775
 
reload_flag=$lt_reload_flag
18776
 
reload_cmds=$lt_reload_cmds
18777
 
 
18778
 
# How to pass a linker flag through the compiler.
18779
 
wl=$lt_lt_prog_compiler_wl_F77
18780
 
 
18781
 
# Object file suffix (normally "o").
18782
 
objext="$ac_objext"
18783
 
 
18784
 
# Old archive suffix (normally "a").
18785
 
libext="$libext"
18786
 
 
18787
 
# Shared library suffix (normally ".so").
18788
 
shrext='$shrext'
18789
 
 
18790
 
# Executable file suffix (normally "").
18791
 
exeext="$exeext"
18792
 
 
18793
 
# Additional compiler flags for building library objects.
18794
 
pic_flag=$lt_lt_prog_compiler_pic_F77
18795
 
pic_mode=$pic_mode
18796
 
 
18797
 
# What is the maximum length of a command?
18798
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18799
 
 
18800
 
# Does compiler simultaneously support -c and -o options?
18801
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18802
 
 
18803
 
# Must we lock files when doing compilation ?
18804
 
need_locks=$lt_need_locks
18805
 
 
18806
 
# Do we need the lib prefix for modules?
18807
 
need_lib_prefix=$need_lib_prefix
18808
 
 
18809
 
# Do we need a version for libraries?
18810
 
need_version=$need_version
18811
 
 
18812
 
# Whether dlopen is supported.
18813
 
dlopen_support=$enable_dlopen
18814
 
 
18815
 
# Whether dlopen of programs is supported.
18816
 
dlopen_self=$enable_dlopen_self
18817
 
 
18818
 
# Whether dlopen of statically linked programs is supported.
18819
 
dlopen_self_static=$enable_dlopen_self_static
18820
 
 
18821
 
# Compiler flag to prevent dynamic linking.
18822
 
link_static_flag=$lt_lt_prog_compiler_static_F77
18823
 
 
18824
 
# Compiler flag to turn off builtin functions.
18825
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18826
 
 
18827
 
# Compiler flag to allow reflexive dlopens.
18828
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18829
 
 
18830
 
# Compiler flag to generate shared objects directly from archives.
18831
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18832
 
 
18833
 
# Compiler flag to generate thread-safe objects.
18834
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18835
 
 
18836
 
# Library versioning type.
18837
 
version_type=$version_type
18838
 
 
18839
 
# Format of library name prefix.
18840
 
libname_spec=$lt_libname_spec
18841
 
 
18842
 
# List of archive names.  First name is the real one, the rest are links.
18843
 
# The last name is the one that the linker finds with -lNAME.
18844
 
library_names_spec=$lt_library_names_spec
18845
 
 
18846
 
# The coded name of the library, if different from the real name.
18847
 
soname_spec=$lt_soname_spec
18848
 
 
18849
 
# Commands used to build and install an old-style archive.
18850
 
RANLIB=$lt_RANLIB
18851
 
old_archive_cmds=$lt_old_archive_cmds_F77
18852
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18853
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18854
 
 
18855
 
# Create an old-style archive from a shared archive.
18856
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18857
 
 
18858
 
# Create a temporary old-style archive to link instead of a shared archive.
18859
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18860
 
 
18861
 
# Commands used to build and install a shared archive.
18862
 
archive_cmds=$lt_archive_cmds_F77
18863
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18864
 
postinstall_cmds=$lt_postinstall_cmds
18865
 
postuninstall_cmds=$lt_postuninstall_cmds
18866
 
 
18867
 
# Commands used to build a loadable module (assumed same as above if empty)
18868
 
module_cmds=$lt_module_cmds_F77
18869
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
18870
 
 
18871
 
# Commands to strip libraries.
18872
 
old_striplib=$lt_old_striplib
18873
 
striplib=$lt_striplib
18874
 
 
18875
 
# Dependencies to place before the objects being linked to create a
18876
 
# shared library.
18877
 
predep_objects=$lt_predep_objects_F77
18878
 
 
18879
 
# Dependencies to place after the objects being linked to create a
18880
 
# shared library.
18881
 
postdep_objects=$lt_postdep_objects_F77
18882
 
 
18883
 
# Dependencies to place before the objects being linked to create a
18884
 
# shared library.
18885
 
predeps=$lt_predeps_F77
18886
 
 
18887
 
# Dependencies to place after the objects being linked to create a
18888
 
# shared library.
18889
 
postdeps=$lt_postdeps_F77
18890
 
 
18891
 
# The library search path used internally by the compiler when linking
18892
 
# a shared library.
18893
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18894
 
 
18895
 
# Method to check whether dependent libraries are shared objects.
18896
 
deplibs_check_method=$lt_deplibs_check_method
18897
 
 
18898
 
# Command to use when deplibs_check_method == file_magic.
18899
 
file_magic_cmd=$lt_file_magic_cmd
18900
 
 
18901
 
# Flag that allows shared libraries with undefined symbols to be built.
18902
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
18903
 
 
18904
 
# Flag that forces no undefined symbols.
18905
 
no_undefined_flag=$lt_no_undefined_flag_F77
18906
 
 
18907
 
# Commands used to finish a libtool library installation in a directory.
18908
 
finish_cmds=$lt_finish_cmds
18909
 
 
18910
 
# Same as above, but a single script fragment to be evaled but not shown.
18911
 
finish_eval=$lt_finish_eval
18912
 
 
18913
 
# Take the output of nm and produce a listing of raw symbols and C names.
18914
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18915
 
 
18916
 
# Transform the output of nm in a proper C declaration
18917
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18918
 
 
18919
 
# Transform the output of nm in a C name address pair
18920
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18921
 
 
18922
 
# This is the shared library runtime path variable.
18923
 
runpath_var=$runpath_var
18924
 
 
18925
 
# This is the shared library path variable.
18926
 
shlibpath_var=$shlibpath_var
18927
 
 
18928
 
# Is shlibpath searched before the hard-coded library search path?
18929
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18930
 
 
18931
 
# How to hardcode a shared library path into an executable.
18932
 
hardcode_action=$hardcode_action_F77
18933
 
 
18934
 
# Whether we should hardcode library paths into libraries.
18935
 
hardcode_into_libs=$hardcode_into_libs
18936
 
 
18937
 
# Flag to hardcode \$libdir into a binary during linking.
18938
 
# This must work even if \$libdir does not exist.
18939
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18940
 
 
18941
 
# If ld is used when linking, flag to hardcode \$libdir into
18942
 
# a binary during linking. This must work even if \$libdir does
18943
 
# not exist.
18944
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18945
 
 
18946
 
# Whether we need a single -rpath flag with a separated argument.
18947
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18948
 
 
18949
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18950
 
# resulting binary.
18951
 
hardcode_direct=$hardcode_direct_F77
18952
 
 
18953
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18954
 
# resulting binary.
18955
 
hardcode_minus_L=$hardcode_minus_L_F77
18956
 
 
18957
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18958
 
# the resulting binary.
18959
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18960
 
 
18961
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18962
 
# and all subsequent libraries and executables linked against it.
18963
 
hardcode_automatic=$hardcode_automatic_F77
18964
 
 
18965
 
# Variables whose values should be saved in libtool wrapper scripts and
18966
 
# restored at relink time.
18967
 
variables_saved_for_relink="$variables_saved_for_relink"
18968
 
 
18969
 
# Whether libtool must link a program against all its dependency libraries.
18970
 
link_all_deplibs=$link_all_deplibs_F77
18971
 
 
18972
 
# Compile-time system search path for libraries
18973
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18974
 
 
18975
 
# Run-time system search path for libraries
18976
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18977
 
 
18978
 
# Fix the shell variable \$srcfile for the compiler.
18979
 
fix_srcfile_path="$fix_srcfile_path_F77"
18980
 
 
18981
 
# Set to yes if exported symbols are required.
18982
 
always_export_symbols=$always_export_symbols_F77
18983
 
 
18984
 
# The commands to list exported symbols.
18985
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
18986
 
 
18987
 
# The commands to extract the exported symbol list from a shared archive.
18988
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18989
 
 
18990
 
# Symbols that should not be listed in the preloaded symbols.
18991
 
exclude_expsyms=$lt_exclude_expsyms_F77
18992
 
 
18993
 
# Symbols that must always be exported.
18994
 
include_expsyms=$lt_include_expsyms_F77
18995
 
 
18996
 
# ### END LIBTOOL TAG CONFIG: $tagname
18997
 
 
18998
 
__EOF__
18999
 
 
19000
 
 
19001
 
else
19002
 
  # If there is no Makefile yet, we rely on a make rule to execute
19003
 
  # `config.status --recheck' to rerun these tests and create the
19004
 
  # libtool script then.
19005
 
  test -f Makefile && make "$ltmain"
19006
 
fi
19007
 
 
19008
 
 
19009
 
ac_ext=c
19010
 
ac_cpp='$CPP $CPPFLAGS'
19011
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19012
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19013
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19014
 
 
19015
 
CC="$lt_save_CC"
19016
 
 
19017
 
        else
19018
 
          tagname=""
19019
 
        fi
19020
 
        ;;
19021
 
 
19022
 
      GCJ)
19023
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
19024
 
 
19025
 
 
19026
 
# Source file extension for Java test sources.
19027
 
ac_ext=java
19028
 
 
19029
 
# Object file extension for compiled Java test sources.
19030
 
objext=o
19031
 
objext_GCJ=$objext
19032
 
 
19033
 
# Code to be used in simple compile tests
19034
 
lt_simple_compile_test_code="class foo {}\n"
19035
 
 
19036
 
# Code to be used in simple link tests
19037
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
19038
 
 
19039
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19040
 
 
19041
 
# If no C compiler was specified, use CC.
19042
 
LTCC=${LTCC-"$CC"}
19043
 
 
19044
 
# Allow CC to be a program name with arguments.
19045
 
compiler=$CC
19046
 
 
19047
 
 
19048
 
# Allow CC to be a program name with arguments.
19049
 
lt_save_CC="$CC"
19050
 
CC=${GCJ-"gcj"}
19051
 
compiler=$CC
19052
 
compiler_GCJ=$CC
19053
 
 
19054
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
19055
 
archive_cmds_need_lc_GCJ=no
19056
 
 
19057
 
## CAVEAT EMPTOR:
19058
 
## There is no encapsulation within the following macros, do not change
19059
 
## the running order or otherwise move them around unless you know exactly
19060
 
## what you are doing...
19061
 
 
19062
 
lt_prog_compiler_no_builtin_flag_GCJ=
19063
 
 
19064
 
if test "$GCC" = yes; then
19065
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
19066
 
 
19067
 
 
19068
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
19069
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
19070
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
19071
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19072
 
else
19073
 
  lt_cv_prog_compiler_rtti_exceptions=no
19074
 
  ac_outfile=conftest.$ac_objext
19075
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19076
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
19077
 
   # Insert the option either (1) after the last *FLAGS variable, or
19078
 
   # (2) before a word containing "conftest.", or (3) at the end.
19079
 
   # Note that $ac_compile itself does not contain backslashes and begins
19080
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19081
 
   # The option is referenced via a variable to avoid confusing sed.
19082
 
   lt_compile=`echo "$ac_compile" | $SED \
19083
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19084
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19085
 
   -e 's:$: $lt_compiler_flag:'`
19086
 
   (eval echo "\"\$as_me:19086: $lt_compile\"" >&5)
19087
 
   (eval "$lt_compile" 2>conftest.err)
19088
 
   ac_status=$?
19089
 
   cat conftest.err >&5
19090
 
   echo "$as_me:19090: \$? = $ac_status" >&5
19091
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19092
 
     # The compiler can only warn and ignore the option if not recognized
19093
 
     # So say no if there are warnings
19094
 
     if test ! -s conftest.err; then
19095
 
       lt_cv_prog_compiler_rtti_exceptions=yes
19096
 
     fi
19097
 
   fi
19098
 
   $rm conftest*
19099
 
 
19100
 
fi
19101
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
19102
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
19103
 
 
19104
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
19105
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
19106
 
else
19107
 
    :
19108
 
fi
19109
 
 
19110
 
fi
19111
 
 
19112
 
lt_prog_compiler_wl_GCJ=
19113
 
lt_prog_compiler_pic_GCJ=
19114
 
lt_prog_compiler_static_GCJ=
19115
 
 
19116
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19117
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19118
 
 
19119
 
  if test "$GCC" = yes; then
19120
 
    lt_prog_compiler_wl_GCJ='-Wl,'
19121
 
    lt_prog_compiler_static_GCJ='-static'
19122
 
 
19123
 
    case $host_os in
19124
 
      aix*)
19125
 
      # All AIX code is PIC.
19126
 
      if test "$host_cpu" = ia64; then
19127
 
        # AIX 5 now supports IA64 processor
19128
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19129
 
      fi
19130
 
      ;;
19131
 
 
19132
 
    amigaos*)
19133
 
      # FIXME: we need at least 68020 code to build shared libraries, but
19134
 
      # adding the `-m68020' flag to GCC prevents building anything better,
19135
 
      # like `-m68040'.
19136
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
19137
 
      ;;
19138
 
 
19139
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19140
 
      # PIC is the default for these OSes.
19141
 
      ;;
19142
 
 
19143
 
    mingw* | pw32* | os2*)
19144
 
      # This hack is so that the source file can tell whether it is being
19145
 
      # built for inclusion in a dll (and should export symbols for example).
19146
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19147
 
      ;;
19148
 
 
19149
 
    darwin* | rhapsody*)
19150
 
      # PIC is the default on this platform
19151
 
      # Common symbols not allowed in MH_DYLIB files
19152
 
      lt_prog_compiler_pic_GCJ='-fno-common'
19153
 
      ;;
19154
 
 
19155
 
    msdosdjgpp*)
19156
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
19157
 
      # on systems that don't support them.
19158
 
      lt_prog_compiler_can_build_shared_GCJ=no
19159
 
      enable_shared=no
19160
 
      ;;
19161
 
 
19162
 
    sysv4*MP*)
19163
 
      if test -d /usr/nec; then
19164
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
19165
 
      fi
19166
 
      ;;
19167
 
 
19168
 
    hpux*)
19169
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19170
 
      # not for PA HP-UX.
19171
 
      case "$host_cpu" in
19172
 
      hppa*64*|ia64*)
19173
 
        # +Z the default
19174
 
        ;;
19175
 
      *)
19176
 
        lt_prog_compiler_pic_GCJ='-fPIC'
19177
 
        ;;
19178
 
      esac
19179
 
      ;;
19180
 
 
19181
 
    *)
19182
 
      lt_prog_compiler_pic_GCJ='-fPIC'
19183
 
      ;;
19184
 
    esac
19185
 
  else
19186
 
    # PORTME Check for flag to pass linker flags through the system compiler.
19187
 
    case $host_os in
19188
 
    aix*)
19189
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19190
 
      if test "$host_cpu" = ia64; then
19191
 
        # AIX 5 now supports IA64 processor
19192
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19193
 
      else
19194
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19195
 
      fi
19196
 
      ;;
19197
 
 
19198
 
    mingw* | pw32* | os2*)
19199
 
      # This hack is so that the source file can tell whether it is being
19200
 
      # built for inclusion in a dll (and should export symbols for example).
19201
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19202
 
      ;;
19203
 
 
19204
 
    hpux9* | hpux10* | hpux11*)
19205
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19206
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19207
 
      # not for PA HP-UX.
19208
 
      case "$host_cpu" in
19209
 
      hppa*64*|ia64*)
19210
 
        # +Z the default
19211
 
        ;;
19212
 
      *)
19213
 
        lt_prog_compiler_pic_GCJ='+Z'
19214
 
        ;;
19215
 
      esac
19216
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
19217
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19218
 
      ;;
19219
 
 
19220
 
    irix5* | irix6* | nonstopux*)
19221
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19222
 
      # PIC (with -KPIC) is the default.
19223
 
      lt_prog_compiler_static_GCJ='-non_shared'
19224
 
      ;;
19225
 
 
19226
 
    newsos6)
19227
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19228
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19229
 
      ;;
19230
 
 
19231
 
    linux*)
19232
 
      case $CC in
19233
 
      icc* | ecc*)
19234
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19235
 
        lt_prog_compiler_pic_GCJ='-KPIC'
19236
 
        lt_prog_compiler_static_GCJ='-static'
19237
 
        ;;
19238
 
      ccc*)
19239
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19240
 
        # All Alpha code is PIC.
19241
 
        lt_prog_compiler_static_GCJ='-non_shared'
19242
 
        ;;
19243
 
      esac
19244
 
      ;;
19245
 
 
19246
 
    osf3* | osf4* | osf5*)
19247
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19248
 
      # All OSF/1 code is PIC.
19249
 
      lt_prog_compiler_static_GCJ='-non_shared'
19250
 
      ;;
19251
 
 
19252
 
    sco3.2v5*)
19253
 
      lt_prog_compiler_pic_GCJ='-Kpic'
19254
 
      lt_prog_compiler_static_GCJ='-dn'
19255
 
      ;;
19256
 
 
19257
 
    solaris*)
19258
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19259
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19260
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19261
 
      ;;
19262
 
 
19263
 
    sunos4*)
19264
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
19265
 
      lt_prog_compiler_pic_GCJ='-PIC'
19266
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19267
 
      ;;
19268
 
 
19269
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19270
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19271
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19272
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19273
 
      ;;
19274
 
 
19275
 
    sysv4*MP*)
19276
 
      if test -d /usr/nec ;then
19277
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
19278
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19279
 
      fi
19280
 
      ;;
19281
 
 
19282
 
    uts4*)
19283
 
      lt_prog_compiler_pic_GCJ='-pic'
19284
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19285
 
      ;;
19286
 
 
19287
 
    *)
19288
 
      lt_prog_compiler_can_build_shared_GCJ=no
19289
 
      ;;
19290
 
    esac
19291
 
  fi
19292
 
 
19293
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19294
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
19295
 
 
19296
 
#
19297
 
# Check to make sure the PIC flag actually works.
19298
 
#
19299
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
19300
 
 
19301
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19302
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19303
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
19304
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19305
 
else
19306
 
  lt_prog_compiler_pic_works_GCJ=no
19307
 
  ac_outfile=conftest.$ac_objext
19308
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19309
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19310
 
   # Insert the option either (1) after the last *FLAGS variable, or
19311
 
   # (2) before a word containing "conftest.", or (3) at the end.
19312
 
   # Note that $ac_compile itself does not contain backslashes and begins
19313
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19314
 
   # The option is referenced via a variable to avoid confusing sed.
19315
 
   lt_compile=`echo "$ac_compile" | $SED \
19316
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19317
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19318
 
   -e 's:$: $lt_compiler_flag:'`
19319
 
   (eval echo "\"\$as_me:19319: $lt_compile\"" >&5)
19320
 
   (eval "$lt_compile" 2>conftest.err)
19321
 
   ac_status=$?
19322
 
   cat conftest.err >&5
19323
 
   echo "$as_me:19323: \$? = $ac_status" >&5
19324
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19325
 
     # The compiler can only warn and ignore the option if not recognized
19326
 
     # So say no if there are warnings
19327
 
     if test ! -s conftest.err; then
19328
 
       lt_prog_compiler_pic_works_GCJ=yes
19329
 
     fi
19330
 
   fi
19331
 
   $rm conftest*
19332
 
 
19333
 
fi
19334
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
19335
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
19336
 
 
19337
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
19338
 
    case $lt_prog_compiler_pic_GCJ in
19339
 
     "" | " "*) ;;
19340
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19341
 
     esac
19342
 
else
19343
 
    lt_prog_compiler_pic_GCJ=
19344
 
     lt_prog_compiler_can_build_shared_GCJ=no
19345
 
fi
19346
 
 
19347
 
fi
19348
 
case "$host_os" in
19349
 
  # For platforms which do not support PIC, -DPIC is meaningless:
19350
 
  *djgpp*)
19351
 
    lt_prog_compiler_pic_GCJ=
19352
 
    ;;
19353
 
  *)
19354
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19355
 
    ;;
19356
 
esac
19357
 
 
19358
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19359
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19360
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19361
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19362
 
else
19363
 
  lt_cv_prog_compiler_c_o_GCJ=no
19364
 
   $rm -r conftest 2>/dev/null
19365
 
   mkdir conftest
19366
 
   cd conftest
19367
 
   mkdir out
19368
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19369
 
 
19370
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
19371
 
   # that will create temporary files in the current directory regardless of
19372
 
   # the output directory.  Thus, making CWD read-only will cause this test
19373
 
   # to fail, enabling locking or at least warning the user not to do parallel
19374
 
   # builds.
19375
 
   chmod -w .
19376
 
 
19377
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
19378
 
   # Insert the option either (1) after the last *FLAGS variable, or
19379
 
   # (2) before a word containing "conftest.", or (3) at the end.
19380
 
   # Note that $ac_compile itself does not contain backslashes and begins
19381
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19382
 
   lt_compile=`echo "$ac_compile" | $SED \
19383
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19384
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19385
 
   -e 's:$: $lt_compiler_flag:'`
19386
 
   (eval echo "\"\$as_me:19386: $lt_compile\"" >&5)
19387
 
   (eval "$lt_compile" 2>out/conftest.err)
19388
 
   ac_status=$?
19389
 
   cat out/conftest.err >&5
19390
 
   echo "$as_me:19390: \$? = $ac_status" >&5
19391
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
19392
 
   then
19393
 
     # The compiler can only warn and ignore the option if not recognized
19394
 
     # So say no if there are warnings
19395
 
     if test ! -s out/conftest.err; then
19396
 
       lt_cv_prog_compiler_c_o_GCJ=yes
19397
 
     fi
19398
 
   fi
19399
 
   chmod u+w .
19400
 
   $rm conftest* out/*
19401
 
   rmdir out
19402
 
   cd ..
19403
 
   rmdir conftest
19404
 
   $rm conftest*
19405
 
 
19406
 
fi
19407
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19408
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19409
 
 
19410
 
 
19411
 
hard_links="nottested"
19412
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19413
 
  # do not overwrite the value of need_locks provided by the user
19414
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19415
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19416
 
  hard_links=yes
19417
 
  $rm conftest*
19418
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19419
 
  touch conftest.a
19420
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
19421
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19422
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
19423
 
echo "${ECHO_T}$hard_links" >&6; }
19424
 
  if test "$hard_links" = no; then
19425
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19426
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19427
 
    need_locks=warn
19428
 
  fi
19429
 
else
19430
 
  need_locks=no
19431
 
fi
19432
 
 
19433
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19434
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19435
 
 
19436
 
  runpath_var=
19437
 
  allow_undefined_flag_GCJ=
19438
 
  enable_shared_with_static_runtimes_GCJ=no
19439
 
  archive_cmds_GCJ=
19440
 
  archive_expsym_cmds_GCJ=
19441
 
  old_archive_From_new_cmds_GCJ=
19442
 
  old_archive_from_expsyms_cmds_GCJ=
19443
 
  export_dynamic_flag_spec_GCJ=
19444
 
  whole_archive_flag_spec_GCJ=
19445
 
  thread_safe_flag_spec_GCJ=
19446
 
  hardcode_libdir_flag_spec_GCJ=
19447
 
  hardcode_libdir_flag_spec_ld_GCJ=
19448
 
  hardcode_libdir_separator_GCJ=
19449
 
  hardcode_direct_GCJ=no
19450
 
  hardcode_minus_L_GCJ=no
19451
 
  hardcode_shlibpath_var_GCJ=unsupported
19452
 
  link_all_deplibs_GCJ=unknown
19453
 
  hardcode_automatic_GCJ=no
19454
 
  module_cmds_GCJ=
19455
 
  module_expsym_cmds_GCJ=
19456
 
  always_export_symbols_GCJ=no
19457
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19458
 
  # include_expsyms should be a list of space-separated symbols to be *always*
19459
 
  # included in the symbol list
19460
 
  include_expsyms_GCJ=
19461
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
19462
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
19463
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19464
 
  # as well as any symbol that contains `d'.
19465
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
19466
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19467
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
19468
 
  # the symbol is explicitly referenced.  Since portable code cannot
19469
 
  # rely on this symbol name, it's probably fine to never include it in
19470
 
  # preloaded symbol tables.
19471
 
  extract_expsyms_cmds=
19472
 
 
19473
 
  case $host_os in
19474
 
  cygwin* | mingw* | pw32*)
19475
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
19476
 
    # When not using gcc, we currently assume that we are using
19477
 
    # Microsoft Visual C++.
19478
 
    if test "$GCC" != yes; then
19479
 
      with_gnu_ld=no
19480
 
    fi
19481
 
    ;;
19482
 
  openbsd*)
19483
 
    with_gnu_ld=no
19484
 
    ;;
19485
 
  esac
19486
 
 
19487
 
  ld_shlibs_GCJ=yes
19488
 
  if test "$with_gnu_ld" = yes; then
19489
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
19490
 
    wlarc='${wl}'
19491
 
 
19492
 
    # See if GNU ld supports shared libraries.
19493
 
    case $host_os in
19494
 
    aix3* | aix4* | aix5*)
19495
 
      # On AIX/PPC, the GNU linker is very broken
19496
 
      if test "$host_cpu" != ia64; then
19497
 
        ld_shlibs_GCJ=no
19498
 
        cat <<EOF 1>&2
19499
 
 
19500
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19501
 
*** to be unable to reliably create shared libraries on AIX.
19502
 
*** Therefore, libtool is disabling shared libraries support.  If you
19503
 
*** really care for shared libraries, you may want to modify your PATH
19504
 
*** so that a non-GNU linker is found, and then restart.
19505
 
 
19506
 
EOF
19507
 
      fi
19508
 
      ;;
19509
 
 
19510
 
    amigaos*)
19511
 
      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)'
19512
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19513
 
      hardcode_minus_L_GCJ=yes
19514
 
 
19515
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19516
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
19517
 
      # to version 4, is to share data among multiple programs linked
19518
 
      # with the same dynamic library.  Since this doesn't match the
19519
 
      # behavior of shared libraries on other platforms, we can't use
19520
 
      # them.
19521
 
      ld_shlibs_GCJ=no
19522
 
      ;;
19523
 
 
19524
 
    beos*)
19525
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19526
 
        allow_undefined_flag_GCJ=unsupported
19527
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19528
 
        # support --undefined.  This deserves some investigation.  FIXME
19529
 
        archive_cmds_GCJ='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19530
 
      else
19531
 
        ld_shlibs_GCJ=no
19532
 
      fi
19533
 
      ;;
19534
 
 
19535
 
    cygwin* | mingw* | pw32*)
19536
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19537
 
      # as there is no search path for DLLs.
19538
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19539
 
      allow_undefined_flag_GCJ=no
19540
 
      always_export_symbols_GCJ=no
19541
 
      enable_shared_with_static_runtimes_GCJ=yes
19542
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19543
 
 
19544
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19545
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19546
 
        # If the export-symbols file already is a .def file (1st line
19547
 
        # is EXPORTS), use it as is; otherwise, prepend...
19548
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19549
 
          cp $export_symbols $output_objdir/$soname.def;
19550
 
        else
19551
 
          echo EXPORTS > $output_objdir/$soname.def;
19552
 
          cat $export_symbols >> $output_objdir/$soname.def;
19553
 
        fi~
19554
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
19555
 
      else
19556
 
        ld_shlibs=no
19557
 
      fi
19558
 
      ;;
19559
 
 
19560
 
    netbsd*)
19561
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19562
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19563
 
        wlarc=
19564
 
      else
19565
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19566
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19567
 
      fi
19568
 
      ;;
19569
 
 
19570
 
    solaris* | sysv5*)
19571
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19572
 
        ld_shlibs_GCJ=no
19573
 
        cat <<EOF 1>&2
19574
 
 
19575
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19576
 
*** create shared libraries on Solaris systems.  Therefore, libtool
19577
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
19578
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
19579
 
*** your PATH or compiler configuration so that the native linker is
19580
 
*** used, and then restart.
19581
 
 
19582
 
EOF
19583
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19584
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19585
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19586
 
      else
19587
 
        ld_shlibs_GCJ=no
19588
 
      fi
19589
 
      ;;
19590
 
 
19591
 
    sunos4*)
19592
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19593
 
      wlarc=
19594
 
      hardcode_direct_GCJ=yes
19595
 
      hardcode_shlibpath_var_GCJ=no
19596
 
      ;;
19597
 
 
19598
 
    *)
19599
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19600
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19601
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19602
 
      else
19603
 
        ld_shlibs_GCJ=no
19604
 
      fi
19605
 
      ;;
19606
 
    esac
19607
 
 
19608
 
    if test "$ld_shlibs_GCJ" = yes; then
19609
 
      runpath_var=LD_RUN_PATH
19610
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19611
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19612
 
      # ancient GNU ld didn't support --whole-archive et. al.
19613
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19614
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19615
 
      else
19616
 
        whole_archive_flag_spec_GCJ=
19617
 
      fi
19618
 
    fi
19619
 
  else
19620
 
    # PORTME fill in a description of your system's linker (not GNU ld)
19621
 
    case $host_os in
19622
 
    aix3*)
19623
 
      allow_undefined_flag_GCJ=unsupported
19624
 
      always_export_symbols_GCJ=yes
19625
 
      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'
19626
 
      # Note: this linker hardcodes the directories in LIBPATH if there
19627
 
      # are no directories specified by -L.
19628
 
      hardcode_minus_L_GCJ=yes
19629
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
19630
 
        # Neither direct hardcoding nor static linking is supported with a
19631
 
        # broken collect2.
19632
 
        hardcode_direct_GCJ=unsupported
19633
 
      fi
19634
 
      ;;
19635
 
 
19636
 
    aix4* | aix5*)
19637
 
      if test "$host_cpu" = ia64; then
19638
 
        # On IA64, the linker does run time linking by default, so we don't
19639
 
        # have to do anything special.
19640
 
        aix_use_runtimelinking=no
19641
 
        exp_sym_flag='-Bexport'
19642
 
        no_entry_flag=""
19643
 
      else
19644
 
        # If we're using GNU nm, then we don't want the "-C" option.
19645
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
19646
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19647
 
          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'
19648
 
        else
19649
 
          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'
19650
 
        fi
19651
 
 
19652
 
        # KDE requires run time linking.  Make it the default.
19653
 
        aix_use_runtimelinking=yes
19654
 
        exp_sym_flag='-bexport'
19655
 
        no_entry_flag='-bnoentry'
19656
 
      fi
19657
 
 
19658
 
      # When large executables or shared objects are built, AIX ld can
19659
 
      # have problems creating the table of contents.  If linking a library
19660
 
      # or program results in "error TOC overflow" add -mminimal-toc to
19661
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19662
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19663
 
 
19664
 
      archive_cmds_GCJ=''
19665
 
      hardcode_direct_GCJ=yes
19666
 
      hardcode_libdir_separator_GCJ=':'
19667
 
      link_all_deplibs_GCJ=yes
19668
 
 
19669
 
      if test "$GCC" = yes; then
19670
 
        case $host_os in aix4.012|aix4.012.*)
19671
 
        # We only want to do this on AIX 4.2 and lower, the check
19672
 
        # below for broken collect2 doesn't work under 4.3+
19673
 
          collect2name=`${CC} -print-prog-name=collect2`
19674
 
          if test -f "$collect2name" && \
19675
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
19676
 
          then
19677
 
          # We have reworked collect2
19678
 
          hardcode_direct_GCJ=yes
19679
 
          else
19680
 
          # We have old collect2
19681
 
          hardcode_direct_GCJ=unsupported
19682
 
          # It fails to find uninstalled libraries when the uninstalled
19683
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
19684
 
          # to unsupported forces relinking
19685
 
          hardcode_minus_L_GCJ=yes
19686
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
19687
 
          hardcode_libdir_separator_GCJ=
19688
 
          fi
19689
 
        esac
19690
 
        shared_flag='-shared'
19691
 
      else
19692
 
        # not using gcc
19693
 
        if test "$host_cpu" = ia64; then
19694
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19695
 
        # chokes on -Wl,-G. The following line is correct:
19696
 
          shared_flag='-G'
19697
 
        else
19698
 
        if test "$aix_use_runtimelinking" = yes; then
19699
 
            shared_flag='-qmkshrobj ${wl}-G'
19700
 
          else
19701
 
            shared_flag='-qmkshrobj'
19702
 
        fi
19703
 
        fi
19704
 
      fi
19705
 
 
19706
 
      # Let the compiler handle the export list.
19707
 
      always_export_symbols_GCJ=no
19708
 
      if test "$aix_use_runtimelinking" = yes; then
19709
 
        # Warning - without using the other runtime loading flags (-brtl),
19710
 
        # -berok will link without error, but may produce a broken library.
19711
 
        allow_undefined_flag_GCJ='-berok'
19712
 
       # Determine the default libpath from the value encoded in an empty executable.
19713
 
        cat >conftest.$ac_ext <<_ACEOF
19714
 
/* confdefs.h.  */
19715
 
_ACEOF
19716
 
cat confdefs.h >>conftest.$ac_ext
19717
 
cat >>conftest.$ac_ext <<_ACEOF
19718
 
/* end confdefs.h.  */
19719
 
 
19720
 
int
19721
 
main ()
19722
 
{
19723
 
 
19724
 
  ;
19725
 
  return 0;
19726
 
}
19727
 
_ACEOF
19728
 
rm -f conftest.$ac_objext conftest$ac_exeext
19729
 
if { (ac_try="$ac_link"
19730
 
case "(($ac_try" in
19731
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19732
 
  *) ac_try_echo=$ac_try;;
19733
 
esac
19734
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19735
 
  (eval "$ac_link") 2>conftest.er1
19736
 
  ac_status=$?
19737
 
  grep -v '^ *+' conftest.er1 >conftest.err
19738
 
  rm -f conftest.er1
19739
 
  cat conftest.err >&5
19740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741
 
  (exit $ac_status); } && {
19742
 
         test -z "$ac_c_werror_flag" ||
19743
 
         test ! -s conftest.err
19744
 
       } && test -s conftest$ac_exeext &&
19745
 
       $as_test_x conftest$ac_exeext; then
19746
 
 
19747
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19748
 
}'`
19749
 
# Check for a 64-bit object if we didn't find anything.
19750
 
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; }
19751
 
}'`; fi
19752
 
else
19753
 
  echo "$as_me: failed program was:" >&5
19754
 
sed 's/^/| /' conftest.$ac_ext >&5
19755
 
 
19756
 
 
19757
 
fi
19758
 
 
19759
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19760
 
      conftest$ac_exeext conftest.$ac_ext
19761
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19762
 
 
19763
 
        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19764
 
        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"
19765
 
        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"
19766
 
       else
19767
 
        if test "$host_cpu" = ia64; then
19768
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19769
 
          allow_undefined_flag_GCJ="-z nodefs"
19770
 
          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"
19771
 
        else
19772
 
         # Determine the default libpath from the value encoded in an empty executable.
19773
 
         cat >conftest.$ac_ext <<_ACEOF
19774
 
/* confdefs.h.  */
19775
 
_ACEOF
19776
 
cat confdefs.h >>conftest.$ac_ext
19777
 
cat >>conftest.$ac_ext <<_ACEOF
19778
 
/* end confdefs.h.  */
19779
 
 
19780
 
int
19781
 
main ()
19782
 
{
19783
 
 
19784
 
  ;
19785
 
  return 0;
19786
 
}
19787
 
_ACEOF
19788
 
rm -f conftest.$ac_objext conftest$ac_exeext
19789
 
if { (ac_try="$ac_link"
19790
 
case "(($ac_try" in
19791
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19792
 
  *) ac_try_echo=$ac_try;;
19793
 
esac
19794
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19795
 
  (eval "$ac_link") 2>conftest.er1
19796
 
  ac_status=$?
19797
 
  grep -v '^ *+' conftest.er1 >conftest.err
19798
 
  rm -f conftest.er1
19799
 
  cat conftest.err >&5
19800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801
 
  (exit $ac_status); } && {
19802
 
         test -z "$ac_c_werror_flag" ||
19803
 
         test ! -s conftest.err
19804
 
       } && test -s conftest$ac_exeext &&
19805
 
       $as_test_x conftest$ac_exeext; then
19806
 
 
19807
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19808
 
}'`
19809
 
# Check for a 64-bit object if we didn't find anything.
19810
 
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; }
19811
 
}'`; fi
19812
 
else
19813
 
  echo "$as_me: failed program was:" >&5
19814
 
sed 's/^/| /' conftest.$ac_ext >&5
19815
 
 
19816
 
 
19817
 
fi
19818
 
 
19819
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19820
 
      conftest$ac_exeext conftest.$ac_ext
19821
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19822
 
 
19823
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19824
 
          # Warning - without using the other run time loading flags,
19825
 
          # -berok will link without error, but may produce a broken library.
19826
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
19827
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
19828
 
          # -bexpall does not export symbols beginning with underscore (_)
19829
 
          always_export_symbols_GCJ=yes
19830
 
          # Exported symbols can be pulled into shared objects from archives
19831
 
          whole_archive_flag_spec_GCJ=' '
19832
 
          archive_cmds_need_lc_GCJ=yes
19833
 
          # This is similar to how AIX traditionally builds it's shared libraries.
19834
 
          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'
19835
 
        fi
19836
 
      fi
19837
 
      ;;
19838
 
 
19839
 
    amigaos*)
19840
 
      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)'
19841
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19842
 
      hardcode_minus_L_GCJ=yes
19843
 
      # see comment about different semantics on the GNU ld section
19844
 
      ld_shlibs_GCJ=no
19845
 
      ;;
19846
 
 
19847
 
    bsdi4*)
19848
 
      export_dynamic_flag_spec_GCJ=-rdynamic
19849
 
      ;;
19850
 
 
19851
 
    cygwin* | mingw* | pw32*)
19852
 
      # When not using gcc, we currently assume that we are using
19853
 
      # Microsoft Visual C++.
19854
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
19855
 
      # no search path for DLLs.
19856
 
      hardcode_libdir_flag_spec_GCJ=' '
19857
 
      allow_undefined_flag_GCJ=no
19858
 
      # Tell ltmain to make .lib files, not .a files.
19859
 
      libext=lib
19860
 
      # Tell ltmain to make .dll files, not .so files.
19861
 
      shrext=".dll"
19862
 
      # FIXME: Setting linknames here is a bad hack.
19863
 
      archive_cmds_GCJ='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19864
 
      # The linker will automatically build a .lib file if we build a DLL.
19865
 
      old_archive_From_new_cmds_GCJ='true'
19866
 
      # FIXME: Should let the user specify the lib program.
19867
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
19868
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
19869
 
      enable_shared_with_static_runtimes_GCJ=yes
19870
 
      ;;
19871
 
 
19872
 
    darwin* | rhapsody*)
19873
 
    if test "$GXX" = yes ; then
19874
 
      archive_cmds_need_lc_GCJ=no
19875
 
      case "$host_os" in
19876
 
      rhapsody* | darwin1.[012])
19877
 
        allow_undefined_flag_GCJ='-Wl,-undefined -Wl,suppress'
19878
 
        ;;
19879
 
      *) # Darwin 1.3 on
19880
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19881
 
          allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19882
 
        else
19883
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
19884
 
            10.012)
19885
 
              allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19886
 
              ;;
19887
 
            10.*)
19888
 
              allow_undefined_flag_GCJ='-Wl,-undefined -Wl,dynamic_lookup'
19889
 
              ;;
19890
 
          esac
19891
 
        fi
19892
 
        ;;
19893
 
      esac
19894
 
        lt_int_apple_cc_single_mod=no
19895
 
        output_verbose_link_cmd='echo'
19896
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
19897
 
          lt_int_apple_cc_single_mod=yes
19898
 
        fi
19899
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19900
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
19901
 
        else
19902
 
        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'
19903
 
      fi
19904
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
19905
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19906
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19907
 
          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}'
19908
 
        else
19909
 
          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}'
19910
 
        fi
19911
 
          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}'
19912
 
      hardcode_direct_GCJ=no
19913
 
      hardcode_automatic_GCJ=yes
19914
 
      hardcode_shlibpath_var_GCJ=unsupported
19915
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
19916
 
      link_all_deplibs_GCJ=yes
19917
 
    else
19918
 
      ld_shlibs_GCJ=no
19919
 
    fi
19920
 
      ;;
19921
 
 
19922
 
    dgux*)
19923
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19924
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19925
 
      hardcode_shlibpath_var_GCJ=no
19926
 
      ;;
19927
 
 
19928
 
    freebsd1*)
19929
 
      ld_shlibs_GCJ=no
19930
 
      ;;
19931
 
 
19932
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19933
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
19934
 
    # does not break anything, and helps significantly (at the cost of a little
19935
 
    # extra space).
19936
 
    freebsd2.2*)
19937
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19938
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19939
 
      hardcode_direct_GCJ=yes
19940
 
      hardcode_shlibpath_var_GCJ=no
19941
 
      ;;
19942
 
 
19943
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19944
 
    freebsd2*)
19945
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19946
 
      hardcode_direct_GCJ=yes
19947
 
      hardcode_minus_L_GCJ=yes
19948
 
      hardcode_shlibpath_var_GCJ=no
19949
 
      ;;
19950
 
 
19951
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19952
 
    freebsd* | kfreebsd*-gnu)
19953
 
      archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
19954
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19955
 
      hardcode_direct_GCJ=yes
19956
 
      hardcode_shlibpath_var_GCJ=no
19957
 
      ;;
19958
 
 
19959
 
    hpux9*)
19960
 
      if test "$GCC" = yes; then
19961
 
        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'
19962
 
      else
19963
 
        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'
19964
 
      fi
19965
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19966
 
      hardcode_libdir_separator_GCJ=:
19967
 
      hardcode_direct_GCJ=yes
19968
 
 
19969
 
      # hardcode_minus_L: Not really in the search PATH,
19970
 
      # but as the default location of the library.
19971
 
      hardcode_minus_L_GCJ=yes
19972
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
19973
 
      ;;
19974
 
 
19975
 
    hpux10* | hpux11*)
19976
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19977
 
        case "$host_cpu" in
19978
 
        hppa*64*|ia64*)
19979
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19980
 
          ;;
19981
 
        *)
19982
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
19983
 
          ;;
19984
 
        esac
19985
 
      else
19986
 
        case "$host_cpu" in
19987
 
        hppa*64*|ia64*)
19988
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
19989
 
          ;;
19990
 
        *)
19991
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19992
 
          ;;
19993
 
        esac
19994
 
      fi
19995
 
      if test "$with_gnu_ld" = no; then
19996
 
        case "$host_cpu" in
19997
 
        hppa*64*)
19998
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19999
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
20000
 
          hardcode_libdir_separator_GCJ=:
20001
 
          hardcode_direct_GCJ=no
20002
 
          hardcode_shlibpath_var_GCJ=no
20003
 
          ;;
20004
 
        ia64*)
20005
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
20006
 
          hardcode_direct_GCJ=no
20007
 
          hardcode_shlibpath_var_GCJ=no
20008
 
 
20009
 
          # hardcode_minus_L: Not really in the search PATH,
20010
 
          # but as the default location of the library.
20011
 
          hardcode_minus_L_GCJ=yes
20012
 
          ;;
20013
 
        *)
20014
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20015
 
          hardcode_libdir_separator_GCJ=:
20016
 
          hardcode_direct_GCJ=yes
20017
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
20018
 
 
20019
 
          # hardcode_minus_L: Not really in the search PATH,
20020
 
          # but as the default location of the library.
20021
 
          hardcode_minus_L_GCJ=yes
20022
 
          ;;
20023
 
        esac
20024
 
      fi
20025
 
      ;;
20026
 
 
20027
 
    irix5* | irix6* | nonstopux*)
20028
 
      if test "$GCC" = yes; then
20029
 
        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'
20030
 
      else
20031
 
        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'
20032
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
20033
 
      fi
20034
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20035
 
      hardcode_libdir_separator_GCJ=:
20036
 
      link_all_deplibs_GCJ=yes
20037
 
      ;;
20038
 
 
20039
 
    netbsd*)
20040
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20041
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
20042
 
      else
20043
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
20044
 
      fi
20045
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20046
 
      hardcode_direct_GCJ=yes
20047
 
      hardcode_shlibpath_var_GCJ=no
20048
 
      ;;
20049
 
 
20050
 
    newsos6)
20051
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20052
 
      hardcode_direct_GCJ=yes
20053
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20054
 
      hardcode_libdir_separator_GCJ=:
20055
 
      hardcode_shlibpath_var_GCJ=no
20056
 
      ;;
20057
 
 
20058
 
    openbsd*)
20059
 
      hardcode_direct_GCJ=yes
20060
 
      hardcode_shlibpath_var_GCJ=no
20061
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20062
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20063
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20064
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
20065
 
      else
20066
 
       case $host_os in
20067
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20068
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20069
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
20070
 
           ;;
20071
 
         *)
20072
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20073
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20074
 
           ;;
20075
 
       esac
20076
 
      fi
20077
 
      ;;
20078
 
 
20079
 
    os2*)
20080
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20081
 
      hardcode_minus_L_GCJ=yes
20082
 
      allow_undefined_flag_GCJ=unsupported
20083
 
      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'
20084
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20085
 
      ;;
20086
 
 
20087
 
    osf3*)
20088
 
      if test "$GCC" = yes; then
20089
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20090
 
        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'
20091
 
      else
20092
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20093
 
        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'
20094
 
      fi
20095
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20096
 
      hardcode_libdir_separator_GCJ=:
20097
 
      ;;
20098
 
 
20099
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
20100
 
      if test "$GCC" = yes; then
20101
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20102
 
        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'
20103
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20104
 
      else
20105
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20106
 
        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'
20107
 
        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~
20108
 
        $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'
20109
 
 
20110
 
        # Both c and cxx compiler support -rpath directly
20111
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20112
 
      fi
20113
 
      hardcode_libdir_separator_GCJ=:
20114
 
      ;;
20115
 
 
20116
 
    sco3.2v5*)
20117
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20118
 
      hardcode_shlibpath_var_GCJ=no
20119
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20120
 
      runpath_var=LD_RUN_PATH
20121
 
      hardcode_runpath_var=yes
20122
 
      ;;
20123
 
 
20124
 
    solaris*)
20125
 
      no_undefined_flag_GCJ=' -z text'
20126
 
      if test "$GCC" = yes; then
20127
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20128
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20129
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
20130
 
      else
20131
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20132
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20133
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20134
 
      fi
20135
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20136
 
      hardcode_shlibpath_var_GCJ=no
20137
 
      case $host_os in
20138
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
20139
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
20140
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
20141
 
      esac
20142
 
      link_all_deplibs_GCJ=yes
20143
 
      ;;
20144
 
 
20145
 
    sunos4*)
20146
 
      if test "x$host_vendor" = xsequent; then
20147
 
        # Use $CC to link under sequent, because it throws in some extra .o
20148
 
        # files that make .init and .fini sections work.
20149
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
20150
 
      else
20151
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20152
 
      fi
20153
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20154
 
      hardcode_direct_GCJ=yes
20155
 
      hardcode_minus_L_GCJ=yes
20156
 
      hardcode_shlibpath_var_GCJ=no
20157
 
      ;;
20158
 
 
20159
 
    sysv4)
20160
 
      case $host_vendor in
20161
 
        sni)
20162
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20163
 
          hardcode_direct_GCJ=yes # is this really true???
20164
 
        ;;
20165
 
        siemens)
20166
 
          ## LD is ld it makes a PLAMLIB
20167
 
          ## CC just makes a GrossModule.
20168
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20169
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20170
 
          hardcode_direct_GCJ=no
20171
 
        ;;
20172
 
        motorola)
20173
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20174
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20175
 
        ;;
20176
 
      esac
20177
 
      runpath_var='LD_RUN_PATH'
20178
 
      hardcode_shlibpath_var_GCJ=no
20179
 
      ;;
20180
 
 
20181
 
    sysv4.3*)
20182
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20183
 
      hardcode_shlibpath_var_GCJ=no
20184
 
      export_dynamic_flag_spec_GCJ='-Bexport'
20185
 
      ;;
20186
 
 
20187
 
    sysv4*MP*)
20188
 
      if test -d /usr/nec; then
20189
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20190
 
        hardcode_shlibpath_var_GCJ=no
20191
 
        runpath_var=LD_RUN_PATH
20192
 
        hardcode_runpath_var=yes
20193
 
        ld_shlibs_GCJ=yes
20194
 
      fi
20195
 
      ;;
20196
 
 
20197
 
    sysv4.2uw2*)
20198
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20199
 
      hardcode_direct_GCJ=yes
20200
 
      hardcode_minus_L_GCJ=no
20201
 
      hardcode_shlibpath_var_GCJ=no
20202
 
      hardcode_runpath_var=yes
20203
 
      runpath_var=LD_RUN_PATH
20204
 
      ;;
20205
 
 
20206
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
20207
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
20208
 
      if test "$GCC" = yes; then
20209
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20210
 
      else
20211
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20212
 
      fi
20213
 
      runpath_var='LD_RUN_PATH'
20214
 
      hardcode_shlibpath_var_GCJ=no
20215
 
      ;;
20216
 
 
20217
 
    sysv5*)
20218
 
      no_undefined_flag_GCJ=' -z text'
20219
 
      # $CC -shared without GNU ld will not create a library from C++
20220
 
      # object files and a static libstdc++, better avoid it by now
20221
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20222
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20223
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20224
 
      hardcode_libdir_flag_spec_GCJ=
20225
 
      hardcode_shlibpath_var_GCJ=no
20226
 
      runpath_var='LD_RUN_PATH'
20227
 
      ;;
20228
 
 
20229
 
    uts4*)
20230
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20231
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20232
 
      hardcode_shlibpath_var_GCJ=no
20233
 
      ;;
20234
 
 
20235
 
    *)
20236
 
      ld_shlibs_GCJ=no
20237
 
      ;;
20238
 
    esac
20239
 
  fi
20240
 
 
20241
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20242
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20243
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20244
 
 
20245
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20246
 
if test "$GCC" = yes; then
20247
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20248
 
fi
20249
 
 
20250
 
#
20251
 
# Do we need to explicitly link libc?
20252
 
#
20253
 
case "x$archive_cmds_need_lc_GCJ" in
20254
 
x|xyes)
20255
 
  # Assume -lc should be added
20256
 
  archive_cmds_need_lc_GCJ=yes
20257
 
 
20258
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
20259
 
    case $archive_cmds_GCJ in
20260
 
    *'~'*)
20261
 
      # FIXME: we may have to deal with multi-command sequences.
20262
 
      ;;
20263
 
    '$CC '*)
20264
 
      # Test whether the compiler implicitly links with -lc since on some
20265
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20266
 
      # to ld, don't add -lc before -lgcc.
20267
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20268
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20269
 
      $rm conftest*
20270
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20271
 
 
20272
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20273
 
  (eval $ac_compile) 2>&5
20274
 
  ac_status=$?
20275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276
 
  (exit $ac_status); } 2>conftest.err; then
20277
 
        soname=conftest
20278
 
        lib=conftest
20279
 
        libobjs=conftest.$ac_objext
20280
 
        deplibs=
20281
 
        wl=$lt_prog_compiler_wl_GCJ
20282
 
        compiler_flags=-v
20283
 
        linker_flags=-v
20284
 
        verstring=
20285
 
        output_objdir=.
20286
 
        libname=conftest
20287
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20288
 
        allow_undefined_flag_GCJ=
20289
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20290
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20291
 
  ac_status=$?
20292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293
 
  (exit $ac_status); }
20294
 
        then
20295
 
          archive_cmds_need_lc_GCJ=no
20296
 
        else
20297
 
          archive_cmds_need_lc_GCJ=yes
20298
 
        fi
20299
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20300
 
      else
20301
 
        cat conftest.err 1>&5
20302
 
      fi
20303
 
      $rm conftest*
20304
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20305
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20306
 
      ;;
20307
 
    esac
20308
 
  fi
20309
 
  ;;
20310
 
esac
20311
 
 
20312
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20313
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20314
 
library_names_spec=
20315
 
libname_spec='lib$name'
20316
 
soname_spec=
20317
 
shrext=".so"
20318
 
postinstall_cmds=
20319
 
postuninstall_cmds=
20320
 
finish_cmds=
20321
 
finish_eval=
20322
 
shlibpath_var=
20323
 
shlibpath_overrides_runpath=unknown
20324
 
version_type=none
20325
 
dynamic_linker="$host_os ld.so"
20326
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20327
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20328
 
need_lib_prefix=unknown
20329
 
hardcode_into_libs=no
20330
 
 
20331
 
# when you set need_version to no, make sure it does not cause -set_version
20332
 
# flags to be left without arguments
20333
 
need_version=unknown
20334
 
 
20335
 
case $host_os in
20336
 
aix3*)
20337
 
  version_type=linux
20338
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20339
 
  shlibpath_var=LIBPATH
20340
 
 
20341
 
  # AIX 3 has no versioning support, so we append a major version to the name.
20342
 
  soname_spec='${libname}${release}${shared_ext}$major'
20343
 
  ;;
20344
 
 
20345
 
aix4* | aix5*)
20346
 
  version_type=linux
20347
 
  need_lib_prefix=no
20348
 
  need_version=no
20349
 
  hardcode_into_libs=yes
20350
 
  if test "$host_cpu" = ia64; then
20351
 
    # AIX 5 supports IA64
20352
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20353
 
    shlibpath_var=LD_LIBRARY_PATH
20354
 
  else
20355
 
    # With GCC up to 2.95.x, collect2 would create an import file
20356
 
    # for dependence libraries.  The import file would start with
20357
 
    # the line `#! .'.  This would cause the generated library to
20358
 
    # depend on `.', always an invalid library.  This was fixed in
20359
 
    # development snapshots of GCC prior to 3.0.
20360
 
    case $host_os in
20361
 
      aix4 | aix4.[01] | aix4.[01].*)
20362
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20363
 
           echo ' yes '
20364
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20365
 
        :
20366
 
      else
20367
 
        can_build_shared=no
20368
 
      fi
20369
 
      ;;
20370
 
    esac
20371
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20372
 
    # soname into executable. Probably we can add versioning support to
20373
 
    # collect2, so additional links can be useful in future.
20374
 
    if test "$aix_use_runtimelinking" = yes; then
20375
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20376
 
      # instead of lib<name>.a to let people know that these are not
20377
 
      # typical AIX shared libraries.
20378
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20379
 
    else
20380
 
      # We preserve .a as extension for shared libraries through AIX4.2
20381
 
      # and later when we are not doing run time linking.
20382
 
      library_names_spec='${libname}${release}.a $libname.a'
20383
 
      soname_spec='${libname}${release}${shared_ext}$major'
20384
 
    fi
20385
 
    shlibpath_var=LIBPATH
20386
 
  fi
20387
 
  ;;
20388
 
 
20389
 
amigaos*)
20390
 
  library_names_spec='$libname.ixlibrary $libname.a'
20391
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
20392
 
  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'
20393
 
  ;;
20394
 
 
20395
 
beos*)
20396
 
  library_names_spec='${libname}${shared_ext}'
20397
 
  dynamic_linker="$host_os ld.so"
20398
 
  shlibpath_var=LIBRARY_PATH
20399
 
  ;;
20400
 
 
20401
 
bsdi4*)
20402
 
  version_type=linux
20403
 
  need_version=no
20404
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20405
 
  soname_spec='${libname}${release}${shared_ext}$major'
20406
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20407
 
  shlibpath_var=LD_LIBRARY_PATH
20408
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20409
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20410
 
  # the default ld.so.conf also contains /usr/contrib/lib and
20411
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20412
 
  # libtool to hard-code these into programs
20413
 
  ;;
20414
 
 
20415
 
cygwin* | mingw* | pw32*)
20416
 
  version_type=windows
20417
 
  shrext=".dll"
20418
 
  need_version=no
20419
 
  need_lib_prefix=no
20420
 
 
20421
 
  case $GCC,$host_os in
20422
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
20423
 
    library_names_spec='$libname.dll.a'
20424
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
20425
 
    postinstall_cmds='base_file=`basename \${file}`~
20426
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20427
 
      dldir=$destdir/`dirname \$dlpath`~
20428
 
      test -d \$dldir || mkdir -p \$dldir~
20429
 
      $install_prog $dir/$dlname \$dldir/$dlname'
20430
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20431
 
      dlpath=$dir/\$dldll~
20432
 
       $rm \$dlpath'
20433
 
    shlibpath_overrides_runpath=yes
20434
 
 
20435
 
    case $host_os in
20436
 
    cygwin*)
20437
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20438
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20439
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20440
 
      ;;
20441
 
    mingw*)
20442
 
      # MinGW DLLs use traditional 'lib' prefix
20443
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20444
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20445
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20446
 
        # It is most probably a Windows format PATH printed by
20447
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
20448
 
        # path with ; separators, and with drive letters. We can handle the
20449
 
        # drive letters (cygwin fileutils understands them), so leave them,
20450
 
        # especially as we might pass files found there to a mingw objdump,
20451
 
        # which wouldn't understand a cygwinified path. Ahh.
20452
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20453
 
      else
20454
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20455
 
      fi
20456
 
      ;;
20457
 
    pw32*)
20458
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
20459
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
20460
 
      ;;
20461
 
    esac
20462
 
    ;;
20463
 
 
20464
 
  *)
20465
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20466
 
    ;;
20467
 
  esac
20468
 
  dynamic_linker='Win32 ld.exe'
20469
 
  # FIXME: first we should search . and the directory the executable is in
20470
 
  shlibpath_var=PATH
20471
 
  ;;
20472
 
 
20473
 
darwin* | rhapsody*)
20474
 
  dynamic_linker="$host_os dyld"
20475
 
  version_type=darwin
20476
 
  need_lib_prefix=no
20477
 
  need_version=no
20478
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20479
 
  soname_spec='${libname}${release}${major}$shared_ext'
20480
 
  shlibpath_overrides_runpath=yes
20481
 
  shlibpath_var=DYLD_LIBRARY_PATH
20482
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
20483
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20484
 
  if test "$GCC" = yes; then
20485
 
    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"`
20486
 
  else
20487
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20488
 
  fi
20489
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20490
 
  ;;
20491
 
 
20492
 
dgux*)
20493
 
  version_type=linux
20494
 
  need_lib_prefix=no
20495
 
  need_version=no
20496
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20497
 
  soname_spec='${libname}${release}${shared_ext}$major'
20498
 
  shlibpath_var=LD_LIBRARY_PATH
20499
 
  ;;
20500
 
 
20501
 
freebsd1*)
20502
 
  dynamic_linker=no
20503
 
  ;;
20504
 
 
20505
 
kfreebsd*-gnu*)
20506
 
  version_type=linux
20507
 
  need_lib_prefix=no
20508
 
  need_version=no
20509
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20510
 
  soname_spec='${libname}${release}${shared_ext}$major'
20511
 
  shlibpath_var=LD_LIBRARY_PATH
20512
 
  shlibpath_overrides_runpath=no
20513
 
  hardcode_into_libs=yes
20514
 
  dynamic_linker='GNU ld.so'
20515
 
  ;;
20516
 
 
20517
 
freebsd*)
20518
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
20519
 
  version_type=freebsd-$objformat
20520
 
  case $version_type in
20521
 
    freebsd-elf*)
20522
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20523
 
      need_version=no
20524
 
      need_lib_prefix=no
20525
 
      ;;
20526
 
    freebsd-*)
20527
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20528
 
      need_version=yes
20529
 
      ;;
20530
 
  esac
20531
 
  shlibpath_var=LD_LIBRARY_PATH
20532
 
  case $host_os in
20533
 
  freebsd2*)
20534
 
    shlibpath_overrides_runpath=yes
20535
 
    ;;
20536
 
  freebsd3.01* | freebsdelf3.01*)
20537
 
    shlibpath_overrides_runpath=yes
20538
 
    hardcode_into_libs=yes
20539
 
    ;;
20540
 
  *) # from 3.2 on
20541
 
    shlibpath_overrides_runpath=no
20542
 
    hardcode_into_libs=yes
20543
 
    ;;
20544
 
  esac
20545
 
  ;;
20546
 
 
20547
 
gnu*)
20548
 
  version_type=linux
20549
 
  need_lib_prefix=no
20550
 
  need_version=no
20551
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20552
 
  soname_spec='${libname}${release}${shared_ext}$major'
20553
 
  shlibpath_var=LD_LIBRARY_PATH
20554
 
  hardcode_into_libs=yes
20555
 
  ;;
20556
 
 
20557
 
hpux9* | hpux10* | hpux11*)
20558
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
20559
 
  # link against other versions.
20560
 
  version_type=sunos
20561
 
  need_lib_prefix=no
20562
 
  need_version=no
20563
 
  case "$host_cpu" in
20564
 
  ia64*)
20565
 
    shrext='.so'
20566
 
    hardcode_into_libs=yes
20567
 
    dynamic_linker="$host_os dld.so"
20568
 
    shlibpath_var=LD_LIBRARY_PATH
20569
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20570
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20571
 
    soname_spec='${libname}${release}${shared_ext}$major'
20572
 
    if test "X$HPUX_IA64_MODE" = X32; then
20573
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20574
 
    else
20575
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20576
 
    fi
20577
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20578
 
    ;;
20579
 
   hppa*64*)
20580
 
     shrext='.sl'
20581
 
     hardcode_into_libs=yes
20582
 
     dynamic_linker="$host_os dld.sl"
20583
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20584
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20585
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20586
 
     soname_spec='${libname}${release}${shared_ext}$major'
20587
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20588
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20589
 
     ;;
20590
 
   *)
20591
 
    shrext='.sl'
20592
 
    dynamic_linker="$host_os dld.sl"
20593
 
    shlibpath_var=SHLIB_PATH
20594
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20595
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20596
 
    soname_spec='${libname}${release}${shared_ext}$major'
20597
 
    ;;
20598
 
  esac
20599
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
20600
 
  postinstall_cmds='chmod 555 $lib'
20601
 
  ;;
20602
 
 
20603
 
irix5* | irix6* | nonstopux*)
20604
 
  case $host_os in
20605
 
    nonstopux*) version_type=nonstopux ;;
20606
 
    *)
20607
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
20608
 
                version_type=linux
20609
 
        else
20610
 
                version_type=irix
20611
 
        fi ;;
20612
 
  esac
20613
 
  need_lib_prefix=no
20614
 
  need_version=no
20615
 
  soname_spec='${libname}${release}${shared_ext}$major'
20616
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20617
 
  case $host_os in
20618
 
  irix5* | nonstopux*)
20619
 
    libsuff= shlibsuff=
20620
 
    ;;
20621
 
  *)
20622
 
    case $LD in # libtool.m4 will add one of these switches to LD
20623
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20624
 
      libsuff= shlibsuff= libmagic=32-bit;;
20625
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20626
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
20627
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20628
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
20629
 
    *) libsuff= shlibsuff= libmagic=never-match;;
20630
 
    esac
20631
 
    ;;
20632
 
  esac
20633
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20634
 
  shlibpath_overrides_runpath=no
20635
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20636
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20637
 
  hardcode_into_libs=yes
20638
 
  ;;
20639
 
 
20640
 
# No shared lib support for Linux oldld, aout, or coff.
20641
 
linux*oldld* | linux*aout* | linux*coff*)
20642
 
  dynamic_linker=no
20643
 
  ;;
20644
 
 
20645
 
# This must be Linux ELF.
20646
 
linux*)
20647
 
  version_type=linux
20648
 
  need_lib_prefix=no
20649
 
  need_version=no
20650
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20651
 
  soname_spec='${libname}${release}${shared_ext}$major'
20652
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20653
 
  libsuff=
20654
 
  if test "x$LINUX_64_MODE" = x64; then
20655
 
    # Some platforms are per default 64-bit, so there's no /lib64
20656
 
    if test -d /lib64; then
20657
 
      libsuff=64
20658
 
    fi
20659
 
  fi
20660
 
  shlibpath_var=LD_LIBRARY_PATH
20661
 
  shlibpath_overrides_runpath=no
20662
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
20663
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
20664
 
  # This implies no fast_install, which is unacceptable.
20665
 
  # Some rework will be needed to allow for fast_install
20666
 
  # before this can be enabled.
20667
 
  hardcode_into_libs=yes
20668
 
 
20669
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
20670
 
  # powerpc, because MkLinux only supported shared libraries with the
20671
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
20672
 
  # most powerpc-linux boxes support dynamic linking these days and
20673
 
  # people can always --disable-shared, the test was removed, and we
20674
 
  # assume the GNU/Linux dynamic linker is in use.
20675
 
  dynamic_linker='GNU/Linux ld.so'
20676
 
  ;;
20677
 
 
20678
 
netbsd*)
20679
 
  version_type=sunos
20680
 
  need_lib_prefix=no
20681
 
  need_version=no
20682
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20683
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20684
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20685
 
    dynamic_linker='NetBSD (a.out) ld.so'
20686
 
  else
20687
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
20688
 
    soname_spec='${libname}${release}${shared_ext}$major'
20689
 
    dynamic_linker='NetBSD ld.elf_so'
20690
 
  fi
20691
 
  shlibpath_var=LD_LIBRARY_PATH
20692
 
  shlibpath_overrides_runpath=yes
20693
 
  hardcode_into_libs=yes
20694
 
  ;;
20695
 
 
20696
 
newsos6)
20697
 
  version_type=linux
20698
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20699
 
  shlibpath_var=LD_LIBRARY_PATH
20700
 
  shlibpath_overrides_runpath=yes
20701
 
  ;;
20702
 
 
20703
 
nto-qnx*)
20704
 
  version_type=linux
20705
 
  need_lib_prefix=no
20706
 
  need_version=no
20707
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20708
 
  soname_spec='${libname}${release}${shared_ext}$major'
20709
 
  shlibpath_var=LD_LIBRARY_PATH
20710
 
  shlibpath_overrides_runpath=yes
20711
 
  ;;
20712
 
 
20713
 
openbsd*)
20714
 
  version_type=sunos
20715
 
  need_lib_prefix=no
20716
 
  need_version=no
20717
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20718
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20719
 
  shlibpath_var=LD_LIBRARY_PATH
20720
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20721
 
    case $host_os in
20722
 
      openbsd2.[89] | openbsd2.[89].*)
20723
 
        shlibpath_overrides_runpath=no
20724
 
        ;;
20725
 
      *)
20726
 
        shlibpath_overrides_runpath=yes
20727
 
        ;;
20728
 
      esac
20729
 
  else
20730
 
    shlibpath_overrides_runpath=yes
20731
 
  fi
20732
 
  ;;
20733
 
 
20734
 
os2*)
20735
 
  libname_spec='$name'
20736
 
  shrext=".dll"
20737
 
  need_lib_prefix=no
20738
 
  library_names_spec='$libname${shared_ext} $libname.a'
20739
 
  dynamic_linker='OS/2 ld.exe'
20740
 
  shlibpath_var=LIBPATH
20741
 
  ;;
20742
 
 
20743
 
osf3* | osf4* | osf5*)
20744
 
  version_type=osf
20745
 
  need_lib_prefix=no
20746
 
  need_version=no
20747
 
  soname_spec='${libname}${release}${shared_ext}$major'
20748
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20749
 
  shlibpath_var=LD_LIBRARY_PATH
20750
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20751
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20752
 
  ;;
20753
 
 
20754
 
sco3.2v5*)
20755
 
  version_type=osf
20756
 
  soname_spec='${libname}${release}${shared_ext}$major'
20757
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20758
 
  shlibpath_var=LD_LIBRARY_PATH
20759
 
  ;;
20760
 
 
20761
 
solaris*)
20762
 
  version_type=linux
20763
 
  need_lib_prefix=no
20764
 
  need_version=no
20765
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20766
 
  soname_spec='${libname}${release}${shared_ext}$major'
20767
 
  shlibpath_var=LD_LIBRARY_PATH
20768
 
  shlibpath_overrides_runpath=yes
20769
 
  hardcode_into_libs=yes
20770
 
  # ldd complains unless libraries are executable
20771
 
  postinstall_cmds='chmod +x $lib'
20772
 
  ;;
20773
 
 
20774
 
sunos4*)
20775
 
  version_type=sunos
20776
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20777
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20778
 
  shlibpath_var=LD_LIBRARY_PATH
20779
 
  shlibpath_overrides_runpath=yes
20780
 
  if test "$with_gnu_ld" = yes; then
20781
 
    need_lib_prefix=no
20782
 
  fi
20783
 
  need_version=yes
20784
 
  ;;
20785
 
 
20786
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20787
 
  version_type=linux
20788
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20789
 
  soname_spec='${libname}${release}${shared_ext}$major'
20790
 
  shlibpath_var=LD_LIBRARY_PATH
20791
 
  case $host_vendor in
20792
 
    sni)
20793
 
      shlibpath_overrides_runpath=no
20794
 
      need_lib_prefix=no
20795
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
20796
 
      runpath_var=LD_RUN_PATH
20797
 
      ;;
20798
 
    siemens)
20799
 
      need_lib_prefix=no
20800
 
      ;;
20801
 
    motorola)
20802
 
      need_lib_prefix=no
20803
 
      need_version=no
20804
 
      shlibpath_overrides_runpath=no
20805
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20806
 
      ;;
20807
 
  esac
20808
 
  ;;
20809
 
 
20810
 
sysv4*MP*)
20811
 
  if test -d /usr/nec ;then
20812
 
    version_type=linux
20813
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20814
 
    soname_spec='$libname${shared_ext}.$major'
20815
 
    shlibpath_var=LD_LIBRARY_PATH
20816
 
  fi
20817
 
  ;;
20818
 
 
20819
 
uts4*)
20820
 
  version_type=linux
20821
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20822
 
  soname_spec='${libname}${release}${shared_ext}$major'
20823
 
  shlibpath_var=LD_LIBRARY_PATH
20824
 
  ;;
20825
 
 
20826
 
*)
20827
 
  dynamic_linker=no
20828
 
  ;;
20829
 
esac
20830
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20831
 
echo "${ECHO_T}$dynamic_linker" >&6; }
20832
 
test "$dynamic_linker" = no && can_build_shared=no
20833
 
 
20834
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20835
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20836
 
hardcode_action_GCJ=
20837
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20838
 
   test -n "$runpath_var GCJ" || \
20839
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
20840
 
 
20841
 
  # We can hardcode non-existant directories.
20842
 
  if test "$hardcode_direct_GCJ" != no &&
20843
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
20844
 
     # have to relink, otherwise we might link with an installed library
20845
 
     # when we should be linking with a yet-to-be-installed one
20846
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20847
 
     test "$hardcode_minus_L_GCJ" != no; then
20848
 
    # Linking always hardcodes the temporary library directory.
20849
 
    hardcode_action_GCJ=relink
20850
 
  else
20851
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
20852
 
    hardcode_action_GCJ=immediate
20853
 
  fi
20854
 
else
20855
 
  # We cannot hardcode anything, or else we can only hardcode existing
20856
 
  # directories.
20857
 
  hardcode_action_GCJ=unsupported
20858
 
fi
20859
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20860
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20861
 
 
20862
 
if test "$hardcode_action_GCJ" = relink; then
20863
 
  # Fast installation is not supported
20864
 
  enable_fast_install=no
20865
 
elif test "$shlibpath_overrides_runpath" = yes ||
20866
 
     test "$enable_shared" = no; then
20867
 
  # Fast installation is not necessary
20868
 
  enable_fast_install=needless
20869
 
fi
20870
 
 
20871
 
striplib=
20872
 
old_striplib=
20873
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20874
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
20875
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
20876
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
20877
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
20878
 
  { echo "$as_me:$LINENO: result: yes" >&5
20879
 
echo "${ECHO_T}yes" >&6; }
20880
 
else
20881
 
# FIXME - insert some real tests, host_os isn't really good enough
20882
 
  case $host_os in
20883
 
   darwin*)
20884
 
       if test -n "$STRIP" ; then
20885
 
         striplib="$STRIP -x"
20886
 
         { echo "$as_me:$LINENO: result: yes" >&5
20887
 
echo "${ECHO_T}yes" >&6; }
20888
 
       else
20889
 
  { echo "$as_me:$LINENO: result: no" >&5
20890
 
echo "${ECHO_T}no" >&6; }
20891
 
fi
20892
 
       ;;
20893
 
   *)
20894
 
  { echo "$as_me:$LINENO: result: no" >&5
20895
 
echo "${ECHO_T}no" >&6; }
20896
 
    ;;
20897
 
  esac
20898
 
fi
20899
 
 
20900
 
if test "x$enable_dlopen" != xyes; then
20901
 
  enable_dlopen=unknown
20902
 
  enable_dlopen_self=unknown
20903
 
  enable_dlopen_self_static=unknown
20904
 
else
20905
 
  lt_cv_dlopen=no
20906
 
  lt_cv_dlopen_libs=
20907
 
 
20908
 
  case $host_os in
20909
 
  beos*)
20910
 
    lt_cv_dlopen="load_add_on"
20911
 
    lt_cv_dlopen_libs=
20912
 
    lt_cv_dlopen_self=yes
20913
 
    ;;
20914
 
 
20915
 
  mingw* | pw32*)
20916
 
    lt_cv_dlopen="LoadLibrary"
20917
 
    lt_cv_dlopen_libs=
20918
 
   ;;
20919
 
 
20920
 
  cygwin*)
20921
 
    lt_cv_dlopen="dlopen"
20922
 
    lt_cv_dlopen_libs=
20923
 
   ;;
20924
 
 
20925
 
  darwin*)
20926
 
  # if libdl is installed we need to link against it
20927
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20928
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20929
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20931
 
else
20932
 
  ac_check_lib_save_LIBS=$LIBS
20933
 
LIBS="-ldl  $LIBS"
20934
 
cat >conftest.$ac_ext <<_ACEOF
20935
 
/* confdefs.h.  */
20936
 
_ACEOF
20937
 
cat confdefs.h >>conftest.$ac_ext
20938
 
cat >>conftest.$ac_ext <<_ACEOF
20939
 
/* end confdefs.h.  */
20940
 
 
20941
 
/* Override any GCC internal prototype to avoid an error.
20942
 
   Use char because int might match the return type of a GCC
20943
 
   builtin and then its argument prototype would still apply.  */
20944
 
#ifdef __cplusplus
20945
 
extern "C"
20946
 
#endif
20947
 
char dlopen ();
20948
 
int
20949
 
main ()
20950
 
{
20951
 
return dlopen ();
20952
 
  ;
20953
 
  return 0;
20954
 
}
20955
 
_ACEOF
20956
 
rm -f conftest.$ac_objext conftest$ac_exeext
20957
 
if { (ac_try="$ac_link"
20958
 
case "(($ac_try" in
20959
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20960
 
  *) ac_try_echo=$ac_try;;
20961
 
esac
20962
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20963
 
  (eval "$ac_link") 2>conftest.er1
20964
 
  ac_status=$?
20965
 
  grep -v '^ *+' conftest.er1 >conftest.err
20966
 
  rm -f conftest.er1
20967
 
  cat conftest.err >&5
20968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969
 
  (exit $ac_status); } && {
20970
 
         test -z "$ac_c_werror_flag" ||
20971
 
         test ! -s conftest.err
20972
 
       } && test -s conftest$ac_exeext &&
20973
 
       $as_test_x conftest$ac_exeext; then
20974
 
  ac_cv_lib_dl_dlopen=yes
20975
 
else
20976
 
  echo "$as_me: failed program was:" >&5
20977
 
sed 's/^/| /' conftest.$ac_ext >&5
20978
 
 
20979
 
        ac_cv_lib_dl_dlopen=no
20980
 
fi
20981
 
 
20982
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20983
 
      conftest$ac_exeext conftest.$ac_ext
20984
 
LIBS=$ac_check_lib_save_LIBS
20985
 
fi
20986
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20987
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
20988
 
if test $ac_cv_lib_dl_dlopen = yes; then
20989
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20990
 
else
20991
 
 
20992
 
    lt_cv_dlopen="dyld"
20993
 
    lt_cv_dlopen_libs=
20994
 
    lt_cv_dlopen_self=yes
20995
 
 
20996
 
fi
20997
 
 
20998
 
   ;;
20999
 
 
21000
 
  *)
21001
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
21002
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
21003
 
if test "${ac_cv_func_shl_load+set}" = set; then
21004
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21005
 
else
21006
 
  cat >conftest.$ac_ext <<_ACEOF
21007
 
/* confdefs.h.  */
21008
 
_ACEOF
21009
 
cat confdefs.h >>conftest.$ac_ext
21010
 
cat >>conftest.$ac_ext <<_ACEOF
21011
 
/* end confdefs.h.  */
21012
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
21013
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21014
 
#define shl_load innocuous_shl_load
21015
 
 
21016
 
/* System header to define __stub macros and hopefully few prototypes,
21017
 
    which can conflict with char shl_load (); below.
21018
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21019
 
    <limits.h> exists even on freestanding compilers.  */
21020
 
 
21021
 
#ifdef __STDC__
21022
 
# include <limits.h>
21023
 
#else
21024
 
# include <assert.h>
21025
 
#endif
21026
 
 
21027
 
#undef shl_load
21028
 
 
21029
 
/* Override any GCC internal prototype to avoid an error.
21030
 
   Use char because int might match the return type of a GCC
21031
 
   builtin and then its argument prototype would still apply.  */
21032
 
#ifdef __cplusplus
21033
 
extern "C"
21034
 
#endif
21035
 
char shl_load ();
21036
 
/* The GNU C library defines this for functions which it implements
21037
 
    to always fail with ENOSYS.  Some functions are actually named
21038
 
    something starting with __ and the normal name is an alias.  */
21039
 
#if defined __stub_shl_load || defined __stub___shl_load
21040
 
choke me
21041
 
#endif
21042
 
 
21043
 
int
21044
 
main ()
21045
 
{
21046
 
return shl_load ();
21047
 
  ;
21048
 
  return 0;
21049
 
}
21050
 
_ACEOF
21051
 
rm -f conftest.$ac_objext conftest$ac_exeext
21052
 
if { (ac_try="$ac_link"
21053
 
case "(($ac_try" in
21054
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21055
 
  *) ac_try_echo=$ac_try;;
21056
 
esac
21057
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21058
 
  (eval "$ac_link") 2>conftest.er1
21059
 
  ac_status=$?
21060
 
  grep -v '^ *+' conftest.er1 >conftest.err
21061
 
  rm -f conftest.er1
21062
 
  cat conftest.err >&5
21063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064
 
  (exit $ac_status); } && {
21065
 
         test -z "$ac_c_werror_flag" ||
21066
 
         test ! -s conftest.err
21067
 
       } && test -s conftest$ac_exeext &&
21068
 
       $as_test_x conftest$ac_exeext; then
21069
 
  ac_cv_func_shl_load=yes
21070
 
else
21071
 
  echo "$as_me: failed program was:" >&5
21072
 
sed 's/^/| /' conftest.$ac_ext >&5
21073
 
 
21074
 
        ac_cv_func_shl_load=no
21075
 
fi
21076
 
 
21077
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21078
 
      conftest$ac_exeext conftest.$ac_ext
21079
 
fi
21080
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
21081
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
21082
 
if test $ac_cv_func_shl_load = yes; then
21083
 
  lt_cv_dlopen="shl_load"
21084
 
else
21085
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
21086
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
21087
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
21088
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21089
 
else
21090
 
  ac_check_lib_save_LIBS=$LIBS
21091
 
LIBS="-ldld  $LIBS"
21092
 
cat >conftest.$ac_ext <<_ACEOF
21093
 
/* confdefs.h.  */
21094
 
_ACEOF
21095
 
cat confdefs.h >>conftest.$ac_ext
21096
 
cat >>conftest.$ac_ext <<_ACEOF
21097
 
/* end confdefs.h.  */
21098
 
 
21099
 
/* Override any GCC internal prototype to avoid an error.
21100
 
   Use char because int might match the return type of a GCC
21101
 
   builtin and then its argument prototype would still apply.  */
21102
 
#ifdef __cplusplus
21103
 
extern "C"
21104
 
#endif
21105
 
char shl_load ();
21106
 
int
21107
 
main ()
21108
 
{
21109
 
return shl_load ();
21110
 
  ;
21111
 
  return 0;
21112
 
}
21113
 
_ACEOF
21114
 
rm -f conftest.$ac_objext conftest$ac_exeext
21115
 
if { (ac_try="$ac_link"
21116
 
case "(($ac_try" in
21117
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21118
 
  *) ac_try_echo=$ac_try;;
21119
 
esac
21120
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21121
 
  (eval "$ac_link") 2>conftest.er1
21122
 
  ac_status=$?
21123
 
  grep -v '^ *+' conftest.er1 >conftest.err
21124
 
  rm -f conftest.er1
21125
 
  cat conftest.err >&5
21126
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127
 
  (exit $ac_status); } && {
21128
 
         test -z "$ac_c_werror_flag" ||
21129
 
         test ! -s conftest.err
21130
 
       } && test -s conftest$ac_exeext &&
21131
 
       $as_test_x conftest$ac_exeext; then
21132
 
  ac_cv_lib_dld_shl_load=yes
21133
 
else
21134
 
  echo "$as_me: failed program was:" >&5
21135
 
sed 's/^/| /' conftest.$ac_ext >&5
21136
 
 
21137
 
        ac_cv_lib_dld_shl_load=no
21138
 
fi
21139
 
 
21140
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21141
 
      conftest$ac_exeext conftest.$ac_ext
21142
 
LIBS=$ac_check_lib_save_LIBS
21143
 
fi
21144
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
21145
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
21146
 
if test $ac_cv_lib_dld_shl_load = yes; then
21147
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
21148
 
else
21149
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
21150
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
21151
 
if test "${ac_cv_func_dlopen+set}" = set; then
21152
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21153
 
else
21154
 
  cat >conftest.$ac_ext <<_ACEOF
21155
 
/* confdefs.h.  */
21156
 
_ACEOF
21157
 
cat confdefs.h >>conftest.$ac_ext
21158
 
cat >>conftest.$ac_ext <<_ACEOF
21159
 
/* end confdefs.h.  */
21160
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
21161
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21162
 
#define dlopen innocuous_dlopen
21163
 
 
21164
 
/* System header to define __stub macros and hopefully few prototypes,
21165
 
    which can conflict with char dlopen (); below.
21166
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21167
 
    <limits.h> exists even on freestanding compilers.  */
21168
 
 
21169
 
#ifdef __STDC__
21170
 
# include <limits.h>
21171
 
#else
21172
 
# include <assert.h>
21173
 
#endif
21174
 
 
21175
 
#undef dlopen
21176
 
 
21177
 
/* Override any GCC internal prototype to avoid an error.
21178
 
   Use char because int might match the return type of a GCC
21179
 
   builtin and then its argument prototype would still apply.  */
21180
 
#ifdef __cplusplus
21181
 
extern "C"
21182
 
#endif
21183
 
char dlopen ();
21184
 
/* The GNU C library defines this for functions which it implements
21185
 
    to always fail with ENOSYS.  Some functions are actually named
21186
 
    something starting with __ and the normal name is an alias.  */
21187
 
#if defined __stub_dlopen || defined __stub___dlopen
21188
 
choke me
21189
 
#endif
21190
 
 
21191
 
int
21192
 
main ()
21193
 
{
21194
 
return dlopen ();
21195
 
  ;
21196
 
  return 0;
21197
 
}
21198
 
_ACEOF
21199
 
rm -f conftest.$ac_objext conftest$ac_exeext
21200
 
if { (ac_try="$ac_link"
21201
 
case "(($ac_try" in
21202
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21203
 
  *) ac_try_echo=$ac_try;;
21204
 
esac
21205
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21206
 
  (eval "$ac_link") 2>conftest.er1
21207
 
  ac_status=$?
21208
 
  grep -v '^ *+' conftest.er1 >conftest.err
21209
 
  rm -f conftest.er1
21210
 
  cat conftest.err >&5
21211
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212
 
  (exit $ac_status); } && {
21213
 
         test -z "$ac_c_werror_flag" ||
21214
 
         test ! -s conftest.err
21215
 
       } && test -s conftest$ac_exeext &&
21216
 
       $as_test_x conftest$ac_exeext; then
21217
 
  ac_cv_func_dlopen=yes
21218
 
else
21219
 
  echo "$as_me: failed program was:" >&5
21220
 
sed 's/^/| /' conftest.$ac_ext >&5
21221
 
 
21222
 
        ac_cv_func_dlopen=no
21223
 
fi
21224
 
 
21225
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21226
 
      conftest$ac_exeext conftest.$ac_ext
21227
 
fi
21228
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
21229
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
21230
 
if test $ac_cv_func_dlopen = yes; then
21231
 
  lt_cv_dlopen="dlopen"
21232
 
else
21233
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21234
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
21235
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21236
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21237
 
else
21238
 
  ac_check_lib_save_LIBS=$LIBS
21239
 
LIBS="-ldl  $LIBS"
21240
 
cat >conftest.$ac_ext <<_ACEOF
21241
 
/* confdefs.h.  */
21242
 
_ACEOF
21243
 
cat confdefs.h >>conftest.$ac_ext
21244
 
cat >>conftest.$ac_ext <<_ACEOF
21245
 
/* end confdefs.h.  */
21246
 
 
21247
 
/* Override any GCC internal prototype to avoid an error.
21248
 
   Use char because int might match the return type of a GCC
21249
 
   builtin and then its argument prototype would still apply.  */
21250
 
#ifdef __cplusplus
21251
 
extern "C"
21252
 
#endif
21253
 
char dlopen ();
21254
 
int
21255
 
main ()
21256
 
{
21257
 
return dlopen ();
21258
 
  ;
21259
 
  return 0;
21260
 
}
21261
 
_ACEOF
21262
 
rm -f conftest.$ac_objext conftest$ac_exeext
21263
 
if { (ac_try="$ac_link"
21264
 
case "(($ac_try" in
21265
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21266
 
  *) ac_try_echo=$ac_try;;
21267
 
esac
21268
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21269
 
  (eval "$ac_link") 2>conftest.er1
21270
 
  ac_status=$?
21271
 
  grep -v '^ *+' conftest.er1 >conftest.err
21272
 
  rm -f conftest.er1
21273
 
  cat conftest.err >&5
21274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275
 
  (exit $ac_status); } && {
21276
 
         test -z "$ac_c_werror_flag" ||
21277
 
         test ! -s conftest.err
21278
 
       } && test -s conftest$ac_exeext &&
21279
 
       $as_test_x conftest$ac_exeext; then
21280
 
  ac_cv_lib_dl_dlopen=yes
21281
 
else
21282
 
  echo "$as_me: failed program was:" >&5
21283
 
sed 's/^/| /' conftest.$ac_ext >&5
21284
 
 
21285
 
        ac_cv_lib_dl_dlopen=no
21286
 
fi
21287
 
 
21288
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21289
 
      conftest$ac_exeext conftest.$ac_ext
21290
 
LIBS=$ac_check_lib_save_LIBS
21291
 
fi
21292
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21293
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
21294
 
if test $ac_cv_lib_dl_dlopen = yes; then
21295
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21296
 
else
21297
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
21298
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
21299
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
21300
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21301
 
else
21302
 
  ac_check_lib_save_LIBS=$LIBS
21303
 
LIBS="-lsvld  $LIBS"
21304
 
cat >conftest.$ac_ext <<_ACEOF
21305
 
/* confdefs.h.  */
21306
 
_ACEOF
21307
 
cat confdefs.h >>conftest.$ac_ext
21308
 
cat >>conftest.$ac_ext <<_ACEOF
21309
 
/* end confdefs.h.  */
21310
 
 
21311
 
/* Override any GCC internal prototype to avoid an error.
21312
 
   Use char because int might match the return type of a GCC
21313
 
   builtin and then its argument prototype would still apply.  */
21314
 
#ifdef __cplusplus
21315
 
extern "C"
21316
 
#endif
21317
 
char dlopen ();
21318
 
int
21319
 
main ()
21320
 
{
21321
 
return dlopen ();
21322
 
  ;
21323
 
  return 0;
21324
 
}
21325
 
_ACEOF
21326
 
rm -f conftest.$ac_objext conftest$ac_exeext
21327
 
if { (ac_try="$ac_link"
21328
 
case "(($ac_try" in
21329
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21330
 
  *) ac_try_echo=$ac_try;;
21331
 
esac
21332
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21333
 
  (eval "$ac_link") 2>conftest.er1
21334
 
  ac_status=$?
21335
 
  grep -v '^ *+' conftest.er1 >conftest.err
21336
 
  rm -f conftest.er1
21337
 
  cat conftest.err >&5
21338
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339
 
  (exit $ac_status); } && {
21340
 
         test -z "$ac_c_werror_flag" ||
21341
 
         test ! -s conftest.err
21342
 
       } && test -s conftest$ac_exeext &&
21343
 
       $as_test_x conftest$ac_exeext; then
21344
 
  ac_cv_lib_svld_dlopen=yes
21345
 
else
21346
 
  echo "$as_me: failed program was:" >&5
21347
 
sed 's/^/| /' conftest.$ac_ext >&5
21348
 
 
21349
 
        ac_cv_lib_svld_dlopen=no
21350
 
fi
21351
 
 
21352
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21353
 
      conftest$ac_exeext conftest.$ac_ext
21354
 
LIBS=$ac_check_lib_save_LIBS
21355
 
fi
21356
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
21357
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
21358
 
if test $ac_cv_lib_svld_dlopen = yes; then
21359
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
21360
 
else
21361
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
21362
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
21363
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
21364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21365
 
else
21366
 
  ac_check_lib_save_LIBS=$LIBS
21367
 
LIBS="-ldld  $LIBS"
21368
 
cat >conftest.$ac_ext <<_ACEOF
21369
 
/* confdefs.h.  */
21370
 
_ACEOF
21371
 
cat confdefs.h >>conftest.$ac_ext
21372
 
cat >>conftest.$ac_ext <<_ACEOF
21373
 
/* end confdefs.h.  */
21374
 
 
21375
 
/* Override any GCC internal prototype to avoid an error.
21376
 
   Use char because int might match the return type of a GCC
21377
 
   builtin and then its argument prototype would still apply.  */
21378
 
#ifdef __cplusplus
21379
 
extern "C"
21380
 
#endif
21381
 
char dld_link ();
21382
 
int
21383
 
main ()
21384
 
{
21385
 
return dld_link ();
21386
 
  ;
21387
 
  return 0;
21388
 
}
21389
 
_ACEOF
21390
 
rm -f conftest.$ac_objext conftest$ac_exeext
21391
 
if { (ac_try="$ac_link"
21392
 
case "(($ac_try" in
21393
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21394
 
  *) ac_try_echo=$ac_try;;
21395
 
esac
21396
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21397
 
  (eval "$ac_link") 2>conftest.er1
21398
 
  ac_status=$?
21399
 
  grep -v '^ *+' conftest.er1 >conftest.err
21400
 
  rm -f conftest.er1
21401
 
  cat conftest.err >&5
21402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403
 
  (exit $ac_status); } && {
21404
 
         test -z "$ac_c_werror_flag" ||
21405
 
         test ! -s conftest.err
21406
 
       } && test -s conftest$ac_exeext &&
21407
 
       $as_test_x conftest$ac_exeext; then
21408
 
  ac_cv_lib_dld_dld_link=yes
21409
 
else
21410
 
  echo "$as_me: failed program was:" >&5
21411
 
sed 's/^/| /' conftest.$ac_ext >&5
21412
 
 
21413
 
        ac_cv_lib_dld_dld_link=no
21414
 
fi
21415
 
 
21416
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21417
 
      conftest$ac_exeext conftest.$ac_ext
21418
 
LIBS=$ac_check_lib_save_LIBS
21419
 
fi
21420
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
21421
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
21422
 
if test $ac_cv_lib_dld_dld_link = yes; then
21423
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
21424
 
fi
21425
 
 
21426
 
 
21427
 
fi
21428
 
 
21429
 
 
21430
 
fi
21431
 
 
21432
 
 
21433
 
fi
21434
 
 
21435
 
 
21436
 
fi
21437
 
 
21438
 
 
21439
 
fi
21440
 
 
21441
 
    ;;
21442
 
  esac
21443
 
 
21444
 
  if test "x$lt_cv_dlopen" != xno; then
21445
 
    enable_dlopen=yes
21446
 
  else
21447
 
    enable_dlopen=no
21448
 
  fi
21449
 
 
21450
 
  case $lt_cv_dlopen in
21451
 
  dlopen)
21452
 
    save_CPPFLAGS="$CPPFLAGS"
21453
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
21454
 
 
21455
 
    save_LDFLAGS="$LDFLAGS"
21456
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
21457
 
 
21458
 
    save_LIBS="$LIBS"
21459
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
21460
 
 
21461
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
21462
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
21463
 
if test "${lt_cv_dlopen_self+set}" = set; then
21464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21465
 
else
21466
 
          if test "$cross_compiling" = yes; then :
21467
 
  lt_cv_dlopen_self=cross
21468
 
else
21469
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21470
 
  lt_status=$lt_dlunknown
21471
 
  cat > conftest.$ac_ext <<EOF
21472
 
#line 21472 "configure"
21473
 
#include "confdefs.h"
21474
 
 
21475
 
#if HAVE_DLFCN_H
21476
 
#include <dlfcn.h>
21477
 
#endif
21478
 
 
21479
 
#include <stdio.h>
21480
 
 
21481
 
#ifdef RTLD_GLOBAL
21482
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
21483
 
#else
21484
 
#  ifdef DL_GLOBAL
21485
 
#    define LT_DLGLOBAL         DL_GLOBAL
21486
 
#  else
21487
 
#    define LT_DLGLOBAL         0
21488
 
#  endif
21489
 
#endif
21490
 
 
21491
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21492
 
   find out it does not work in some platform. */
21493
 
#ifndef LT_DLLAZY_OR_NOW
21494
 
#  ifdef RTLD_LAZY
21495
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
21496
 
#  else
21497
 
#    ifdef DL_LAZY
21498
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
21499
 
#    else
21500
 
#      ifdef RTLD_NOW
21501
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
21502
 
#      else
21503
 
#        ifdef DL_NOW
21504
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
21505
 
#        else
21506
 
#          define LT_DLLAZY_OR_NOW      0
21507
 
#        endif
21508
 
#      endif
21509
 
#    endif
21510
 
#  endif
21511
 
#endif
21512
 
 
21513
 
#ifdef __cplusplus
21514
 
extern "C" void exit (int);
21515
 
#endif
21516
 
 
21517
 
void fnord() { int i=42;}
21518
 
int main ()
21519
 
{
21520
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21521
 
  int status = $lt_dlunknown;
21522
 
 
21523
 
  if (self)
21524
 
    {
21525
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
21526
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21527
 
      /* dlclose (self); */
21528
 
    }
21529
 
 
21530
 
    exit (status);
21531
 
}
21532
 
EOF
21533
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21534
 
  (eval $ac_link) 2>&5
21535
 
  ac_status=$?
21536
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21538
 
    (./conftest; exit; ) 2>/dev/null
21539
 
    lt_status=$?
21540
 
    case x$lt_status in
21541
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
21542
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
21543
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
21544
 
    esac
21545
 
  else :
21546
 
    # compilation failed
21547
 
    lt_cv_dlopen_self=no
21548
 
  fi
21549
 
fi
21550
 
rm -fr conftest*
21551
 
 
21552
 
 
21553
 
fi
21554
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
21555
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
21556
 
 
21557
 
    if test "x$lt_cv_dlopen_self" = xyes; then
21558
 
      LDFLAGS="$LDFLAGS $link_static_flag"
21559
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
21560
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
21561
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
21562
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21563
 
else
21564
 
          if test "$cross_compiling" = yes; then :
21565
 
  lt_cv_dlopen_self_static=cross
21566
 
else
21567
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21568
 
  lt_status=$lt_dlunknown
21569
 
  cat > conftest.$ac_ext <<EOF
21570
 
#line 21570 "configure"
21571
 
#include "confdefs.h"
21572
 
 
21573
 
#if HAVE_DLFCN_H
21574
 
#include <dlfcn.h>
21575
 
#endif
21576
 
 
21577
 
#include <stdio.h>
21578
 
 
21579
 
#ifdef RTLD_GLOBAL
21580
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
21581
 
#else
21582
 
#  ifdef DL_GLOBAL
21583
 
#    define LT_DLGLOBAL         DL_GLOBAL
21584
 
#  else
21585
 
#    define LT_DLGLOBAL         0
21586
 
#  endif
21587
 
#endif
21588
 
 
21589
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21590
 
   find out it does not work in some platform. */
21591
 
#ifndef LT_DLLAZY_OR_NOW
21592
 
#  ifdef RTLD_LAZY
21593
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
21594
 
#  else
21595
 
#    ifdef DL_LAZY
21596
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
21597
 
#    else
21598
 
#      ifdef RTLD_NOW
21599
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
21600
 
#      else
21601
 
#        ifdef DL_NOW
21602
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
21603
 
#        else
21604
 
#          define LT_DLLAZY_OR_NOW      0
21605
 
#        endif
21606
 
#      endif
21607
 
#    endif
21608
 
#  endif
21609
 
#endif
21610
 
 
21611
 
#ifdef __cplusplus
21612
 
extern "C" void exit (int);
21613
 
#endif
21614
 
 
21615
 
void fnord() { int i=42;}
21616
 
int main ()
21617
 
{
21618
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21619
 
  int status = $lt_dlunknown;
21620
 
 
21621
 
  if (self)
21622
 
    {
21623
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
21624
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21625
 
      /* dlclose (self); */
21626
 
    }
21627
 
 
21628
 
    exit (status);
21629
 
}
21630
 
EOF
21631
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21632
 
  (eval $ac_link) 2>&5
21633
 
  ac_status=$?
21634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21636
 
    (./conftest; exit; ) 2>/dev/null
21637
 
    lt_status=$?
21638
 
    case x$lt_status in
21639
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
21640
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
21641
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
21642
 
    esac
21643
 
  else :
21644
 
    # compilation failed
21645
 
    lt_cv_dlopen_self_static=no
21646
 
  fi
21647
 
fi
21648
 
rm -fr conftest*
21649
 
 
21650
 
 
21651
 
fi
21652
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
21653
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
21654
 
    fi
21655
 
 
21656
 
    CPPFLAGS="$save_CPPFLAGS"
21657
 
    LDFLAGS="$save_LDFLAGS"
21658
 
    LIBS="$save_LIBS"
21659
 
    ;;
21660
 
  esac
21661
 
 
21662
 
  case $lt_cv_dlopen_self in
21663
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
21664
 
  *) enable_dlopen_self=unknown ;;
21665
 
  esac
21666
 
 
21667
 
  case $lt_cv_dlopen_self_static in
21668
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
21669
 
  *) enable_dlopen_self_static=unknown ;;
21670
 
  esac
21671
 
fi
21672
 
 
21673
 
 
21674
 
# The else clause should only fire when bootstrapping the
21675
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
21676
 
# with your package, and you will get complaints that there are
21677
 
# no rules to generate ltmain.sh.
21678
 
if test -f "$ltmain"; then
21679
 
  # See if we are running on zsh, and set the options which allow our commands through
21680
 
  # without removal of \ escapes.
21681
 
  if test -n "${ZSH_VERSION+set}" ; then
21682
 
    setopt NO_GLOB_SUBST
21683
 
  fi
21684
 
  # Now quote all the things that may contain metacharacters while being
21685
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21686
 
  # variables and quote the copies for generation of the libtool script.
21687
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
21688
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21689
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21690
 
    deplibs_check_method reload_flag reload_cmds need_locks \
21691
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21692
 
    lt_cv_sys_global_symbol_to_c_name_address \
21693
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21694
 
    old_postinstall_cmds old_postuninstall_cmds \
21695
 
    compiler_GCJ \
21696
 
    CC_GCJ \
21697
 
    LD_GCJ \
21698
 
    lt_prog_compiler_wl_GCJ \
21699
 
    lt_prog_compiler_pic_GCJ \
21700
 
    lt_prog_compiler_static_GCJ \
21701
 
    lt_prog_compiler_no_builtin_flag_GCJ \
21702
 
    export_dynamic_flag_spec_GCJ \
21703
 
    thread_safe_flag_spec_GCJ \
21704
 
    whole_archive_flag_spec_GCJ \
21705
 
    enable_shared_with_static_runtimes_GCJ \
21706
 
    old_archive_cmds_GCJ \
21707
 
    old_archive_from_new_cmds_GCJ \
21708
 
    predep_objects_GCJ \
21709
 
    postdep_objects_GCJ \
21710
 
    predeps_GCJ \
21711
 
    postdeps_GCJ \
21712
 
    compiler_lib_search_path_GCJ \
21713
 
    archive_cmds_GCJ \
21714
 
    archive_expsym_cmds_GCJ \
21715
 
    postinstall_cmds_GCJ \
21716
 
    postuninstall_cmds_GCJ \
21717
 
    old_archive_from_expsyms_cmds_GCJ \
21718
 
    allow_undefined_flag_GCJ \
21719
 
    no_undefined_flag_GCJ \
21720
 
    export_symbols_cmds_GCJ \
21721
 
    hardcode_libdir_flag_spec_GCJ \
21722
 
    hardcode_libdir_flag_spec_ld_GCJ \
21723
 
    hardcode_libdir_separator_GCJ \
21724
 
    hardcode_automatic_GCJ \
21725
 
    module_cmds_GCJ \
21726
 
    module_expsym_cmds_GCJ \
21727
 
    lt_cv_prog_compiler_c_o_GCJ \
21728
 
    exclude_expsyms_GCJ \
21729
 
    include_expsyms_GCJ; do
21730
 
 
21731
 
    case $var in
21732
 
    old_archive_cmds_GCJ | \
21733
 
    old_archive_from_new_cmds_GCJ | \
21734
 
    archive_cmds_GCJ | \
21735
 
    archive_expsym_cmds_GCJ | \
21736
 
    module_cmds_GCJ | \
21737
 
    module_expsym_cmds_GCJ | \
21738
 
    old_archive_from_expsyms_cmds_GCJ | \
21739
 
    export_symbols_cmds_GCJ | \
21740
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21741
 
    postinstall_cmds | postuninstall_cmds | \
21742
 
    old_postinstall_cmds | old_postuninstall_cmds | \
21743
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21744
 
      # Double-quote double-evaled strings.
21745
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21746
 
      ;;
21747
 
    *)
21748
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21749
 
      ;;
21750
 
    esac
21751
 
  done
21752
 
 
21753
 
  case $lt_echo in
21754
 
  *'\$0 --fallback-echo"')
21755
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21756
 
    ;;
21757
 
  esac
21758
 
 
21759
 
cfgfile="$ofile"
21760
 
 
21761
 
  cat <<__EOF__ >> "$cfgfile"
21762
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21763
 
 
21764
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21765
 
 
21766
 
# Shell to use when invoking shell scripts.
21767
 
SHELL=$lt_SHELL
21768
 
 
21769
 
# Whether or not to build shared libraries.
21770
 
build_libtool_libs=$enable_shared
21771
 
 
21772
 
# Whether or not to build static libraries.
21773
 
build_old_libs=$enable_static
21774
 
 
21775
 
# Whether or not to add -lc for building shared libraries.
21776
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21777
 
 
21778
 
# Whether or not to disallow shared libs when runtime libs are static
21779
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21780
 
 
21781
 
# Whether or not to optimize for fast installation.
21782
 
fast_install=$enable_fast_install
21783
 
 
21784
 
# The host system.
21785
 
host_alias=$host_alias
21786
 
host=$host
21787
 
 
21788
 
# An echo program that does not interpret backslashes.
21789
 
echo=$lt_echo
21790
 
 
21791
 
# The archiver.
21792
 
AR=$lt_AR
21793
 
AR_FLAGS=$lt_AR_FLAGS
21794
 
 
21795
 
# A C compiler.
21796
 
LTCC=$lt_LTCC
21797
 
 
21798
 
# A language-specific compiler.
21799
 
CC=$lt_compiler_GCJ
21800
 
 
21801
 
# Is the compiler the GNU C compiler?
21802
 
with_gcc=$GCC_GCJ
21803
 
 
21804
 
# An ERE matcher.
21805
 
EGREP=$lt_EGREP
21806
 
 
21807
 
# The linker used to build libraries.
21808
 
LD=$lt_LD_GCJ
21809
 
 
21810
 
# Whether we need hard or soft links.
21811
 
LN_S=$lt_LN_S
21812
 
 
21813
 
# A BSD-compatible nm program.
21814
 
NM=$lt_NM
21815
 
 
21816
 
# A symbol stripping program
21817
 
STRIP=$STRIP
21818
 
 
21819
 
# Used to examine libraries when file_magic_cmd begins "file"
21820
 
MAGIC_CMD=$MAGIC_CMD
21821
 
 
21822
 
# Used on cygwin: DLL creation program.
21823
 
DLLTOOL="$DLLTOOL"
21824
 
 
21825
 
# Used on cygwin: object dumper.
21826
 
OBJDUMP="$OBJDUMP"
21827
 
 
21828
 
# Used on cygwin: assembler.
21829
 
AS="$AS"
21830
 
 
21831
 
# The name of the directory that contains temporary libtool files.
21832
 
objdir=$objdir
21833
 
 
21834
 
# How to create reloadable object files.
21835
 
reload_flag=$lt_reload_flag
21836
 
reload_cmds=$lt_reload_cmds
21837
 
 
21838
 
# How to pass a linker flag through the compiler.
21839
 
wl=$lt_lt_prog_compiler_wl_GCJ
21840
 
 
21841
 
# Object file suffix (normally "o").
21842
 
objext="$ac_objext"
21843
 
 
21844
 
# Old archive suffix (normally "a").
21845
 
libext="$libext"
21846
 
 
21847
 
# Shared library suffix (normally ".so").
21848
 
shrext='$shrext'
21849
 
 
21850
 
# Executable file suffix (normally "").
21851
 
exeext="$exeext"
21852
 
 
21853
 
# Additional compiler flags for building library objects.
21854
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21855
 
pic_mode=$pic_mode
21856
 
 
21857
 
# What is the maximum length of a command?
21858
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21859
 
 
21860
 
# Does compiler simultaneously support -c and -o options?
21861
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21862
 
 
21863
 
# Must we lock files when doing compilation ?
21864
 
need_locks=$lt_need_locks
21865
 
 
21866
 
# Do we need the lib prefix for modules?
21867
 
need_lib_prefix=$need_lib_prefix
21868
 
 
21869
 
# Do we need a version for libraries?
21870
 
need_version=$need_version
21871
 
 
21872
 
# Whether dlopen is supported.
21873
 
dlopen_support=$enable_dlopen
21874
 
 
21875
 
# Whether dlopen of programs is supported.
21876
 
dlopen_self=$enable_dlopen_self
21877
 
 
21878
 
# Whether dlopen of statically linked programs is supported.
21879
 
dlopen_self_static=$enable_dlopen_self_static
21880
 
 
21881
 
# Compiler flag to prevent dynamic linking.
21882
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21883
 
 
21884
 
# Compiler flag to turn off builtin functions.
21885
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21886
 
 
21887
 
# Compiler flag to allow reflexive dlopens.
21888
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21889
 
 
21890
 
# Compiler flag to generate shared objects directly from archives.
21891
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21892
 
 
21893
 
# Compiler flag to generate thread-safe objects.
21894
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21895
 
 
21896
 
# Library versioning type.
21897
 
version_type=$version_type
21898
 
 
21899
 
# Format of library name prefix.
21900
 
libname_spec=$lt_libname_spec
21901
 
 
21902
 
# List of archive names.  First name is the real one, the rest are links.
21903
 
# The last name is the one that the linker finds with -lNAME.
21904
 
library_names_spec=$lt_library_names_spec
21905
 
 
21906
 
# The coded name of the library, if different from the real name.
21907
 
soname_spec=$lt_soname_spec
21908
 
 
21909
 
# Commands used to build and install an old-style archive.
21910
 
RANLIB=$lt_RANLIB
21911
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
21912
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21913
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21914
 
 
21915
 
# Create an old-style archive from a shared archive.
21916
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21917
 
 
21918
 
# Create a temporary old-style archive to link instead of a shared archive.
21919
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21920
 
 
21921
 
# Commands used to build and install a shared archive.
21922
 
archive_cmds=$lt_archive_cmds_GCJ
21923
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21924
 
postinstall_cmds=$lt_postinstall_cmds
21925
 
postuninstall_cmds=$lt_postuninstall_cmds
21926
 
 
21927
 
# Commands used to build a loadable module (assumed same as above if empty)
21928
 
module_cmds=$lt_module_cmds_GCJ
21929
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21930
 
 
21931
 
# Commands to strip libraries.
21932
 
old_striplib=$lt_old_striplib
21933
 
striplib=$lt_striplib
21934
 
 
21935
 
# Dependencies to place before the objects being linked to create a
21936
 
# shared library.
21937
 
predep_objects=$lt_predep_objects_GCJ
21938
 
 
21939
 
# Dependencies to place after the objects being linked to create a
21940
 
# shared library.
21941
 
postdep_objects=$lt_postdep_objects_GCJ
21942
 
 
21943
 
# Dependencies to place before the objects being linked to create a
21944
 
# shared library.
21945
 
predeps=$lt_predeps_GCJ
21946
 
 
21947
 
# Dependencies to place after the objects being linked to create a
21948
 
# shared library.
21949
 
postdeps=$lt_postdeps_GCJ
21950
 
 
21951
 
# The library search path used internally by the compiler when linking
21952
 
# a shared library.
21953
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21954
 
 
21955
 
# Method to check whether dependent libraries are shared objects.
21956
 
deplibs_check_method=$lt_deplibs_check_method
21957
 
 
21958
 
# Command to use when deplibs_check_method == file_magic.
21959
 
file_magic_cmd=$lt_file_magic_cmd
21960
 
 
21961
 
# Flag that allows shared libraries with undefined symbols to be built.
21962
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21963
 
 
21964
 
# Flag that forces no undefined symbols.
21965
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
21966
 
 
21967
 
# Commands used to finish a libtool library installation in a directory.
21968
 
finish_cmds=$lt_finish_cmds
21969
 
 
21970
 
# Same as above, but a single script fragment to be evaled but not shown.
21971
 
finish_eval=$lt_finish_eval
21972
 
 
21973
 
# Take the output of nm and produce a listing of raw symbols and C names.
21974
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21975
 
 
21976
 
# Transform the output of nm in a proper C declaration
21977
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21978
 
 
21979
 
# Transform the output of nm in a C name address pair
21980
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21981
 
 
21982
 
# This is the shared library runtime path variable.
21983
 
runpath_var=$runpath_var
21984
 
 
21985
 
# This is the shared library path variable.
21986
 
shlibpath_var=$shlibpath_var
21987
 
 
21988
 
# Is shlibpath searched before the hard-coded library search path?
21989
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21990
 
 
21991
 
# How to hardcode a shared library path into an executable.
21992
 
hardcode_action=$hardcode_action_GCJ
21993
 
 
21994
 
# Whether we should hardcode library paths into libraries.
21995
 
hardcode_into_libs=$hardcode_into_libs
21996
 
 
21997
 
# Flag to hardcode \$libdir into a binary during linking.
21998
 
# This must work even if \$libdir does not exist.
21999
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
22000
 
 
22001
 
# If ld is used when linking, flag to hardcode \$libdir into
22002
 
# a binary during linking. This must work even if \$libdir does
22003
 
# not exist.
22004
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
22005
 
 
22006
 
# Whether we need a single -rpath flag with a separated argument.
22007
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
22008
 
 
22009
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22010
 
# resulting binary.
22011
 
hardcode_direct=$hardcode_direct_GCJ
22012
 
 
22013
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22014
 
# resulting binary.
22015
 
hardcode_minus_L=$hardcode_minus_L_GCJ
22016
 
 
22017
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22018
 
# the resulting binary.
22019
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
22020
 
 
22021
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
22022
 
# and all subsequent libraries and executables linked against it.
22023
 
hardcode_automatic=$hardcode_automatic_GCJ
22024
 
 
22025
 
# Variables whose values should be saved in libtool wrapper scripts and
22026
 
# restored at relink time.
22027
 
variables_saved_for_relink="$variables_saved_for_relink"
22028
 
 
22029
 
# Whether libtool must link a program against all its dependency libraries.
22030
 
link_all_deplibs=$link_all_deplibs_GCJ
22031
 
 
22032
 
# Compile-time system search path for libraries
22033
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22034
 
 
22035
 
# Run-time system search path for libraries
22036
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22037
 
 
22038
 
# Fix the shell variable \$srcfile for the compiler.
22039
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
22040
 
 
22041
 
# Set to yes if exported symbols are required.
22042
 
always_export_symbols=$always_export_symbols_GCJ
22043
 
 
22044
 
# The commands to list exported symbols.
22045
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
22046
 
 
22047
 
# The commands to extract the exported symbol list from a shared archive.
22048
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22049
 
 
22050
 
# Symbols that should not be listed in the preloaded symbols.
22051
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
22052
 
 
22053
 
# Symbols that must always be exported.
22054
 
include_expsyms=$lt_include_expsyms_GCJ
22055
 
 
22056
 
# ### END LIBTOOL TAG CONFIG: $tagname
22057
 
 
22058
 
__EOF__
22059
 
 
22060
 
 
22061
 
else
22062
 
  # If there is no Makefile yet, we rely on a make rule to execute
22063
 
  # `config.status --recheck' to rerun these tests and create the
22064
 
  # libtool script then.
22065
 
  test -f Makefile && make "$ltmain"
22066
 
fi
22067
 
 
22068
 
 
22069
 
ac_ext=c
22070
 
ac_cpp='$CPP $CPPFLAGS'
22071
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22072
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22073
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22074
 
 
22075
 
CC="$lt_save_CC"
22076
 
 
22077
 
        else
22078
 
          tagname=""
22079
 
        fi
22080
 
        ;;
22081
 
 
22082
 
      RC)
22083
 
 
22084
 
 
22085
 
# Source file extension for RC test sources.
22086
 
ac_ext=rc
22087
 
 
22088
 
# Object file extension for compiled RC test sources.
22089
 
objext=o
22090
 
objext_RC=$objext
22091
 
 
22092
 
# Code to be used in simple compile tests
22093
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
22094
 
 
22095
 
# Code to be used in simple link tests
22096
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
22097
 
 
22098
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
22099
 
 
22100
 
# If no C compiler was specified, use CC.
22101
 
LTCC=${LTCC-"$CC"}
22102
 
 
22103
 
# Allow CC to be a program name with arguments.
22104
 
compiler=$CC
22105
 
 
22106
 
 
22107
 
# Allow CC to be a program name with arguments.
22108
 
lt_save_CC="$CC"
22109
 
CC=${RC-"windres"}
22110
 
compiler=$CC
22111
 
compiler_RC=$CC
22112
 
lt_cv_prog_compiler_c_o_RC=yes
22113
 
 
22114
 
# The else clause should only fire when bootstrapping the
22115
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
22116
 
# with your package, and you will get complaints that there are
22117
 
# no rules to generate ltmain.sh.
22118
 
if test -f "$ltmain"; then
22119
 
  # See if we are running on zsh, and set the options which allow our commands through
22120
 
  # without removal of \ escapes.
22121
 
  if test -n "${ZSH_VERSION+set}" ; then
22122
 
    setopt NO_GLOB_SUBST
22123
 
  fi
22124
 
  # Now quote all the things that may contain metacharacters while being
22125
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
22126
 
  # variables and quote the copies for generation of the libtool script.
22127
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
22128
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22129
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22130
 
    deplibs_check_method reload_flag reload_cmds need_locks \
22131
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22132
 
    lt_cv_sys_global_symbol_to_c_name_address \
22133
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22134
 
    old_postinstall_cmds old_postuninstall_cmds \
22135
 
    compiler_RC \
22136
 
    CC_RC \
22137
 
    LD_RC \
22138
 
    lt_prog_compiler_wl_RC \
22139
 
    lt_prog_compiler_pic_RC \
22140
 
    lt_prog_compiler_static_RC \
22141
 
    lt_prog_compiler_no_builtin_flag_RC \
22142
 
    export_dynamic_flag_spec_RC \
22143
 
    thread_safe_flag_spec_RC \
22144
 
    whole_archive_flag_spec_RC \
22145
 
    enable_shared_with_static_runtimes_RC \
22146
 
    old_archive_cmds_RC \
22147
 
    old_archive_from_new_cmds_RC \
22148
 
    predep_objects_RC \
22149
 
    postdep_objects_RC \
22150
 
    predeps_RC \
22151
 
    postdeps_RC \
22152
 
    compiler_lib_search_path_RC \
22153
 
    archive_cmds_RC \
22154
 
    archive_expsym_cmds_RC \
22155
 
    postinstall_cmds_RC \
22156
 
    postuninstall_cmds_RC \
22157
 
    old_archive_from_expsyms_cmds_RC \
22158
 
    allow_undefined_flag_RC \
22159
 
    no_undefined_flag_RC \
22160
 
    export_symbols_cmds_RC \
22161
 
    hardcode_libdir_flag_spec_RC \
22162
 
    hardcode_libdir_flag_spec_ld_RC \
22163
 
    hardcode_libdir_separator_RC \
22164
 
    hardcode_automatic_RC \
22165
 
    module_cmds_RC \
22166
 
    module_expsym_cmds_RC \
22167
 
    lt_cv_prog_compiler_c_o_RC \
22168
 
    exclude_expsyms_RC \
22169
 
    include_expsyms_RC; do
22170
 
 
22171
 
    case $var in
22172
 
    old_archive_cmds_RC | \
22173
 
    old_archive_from_new_cmds_RC | \
22174
 
    archive_cmds_RC | \
22175
 
    archive_expsym_cmds_RC | \
22176
 
    module_cmds_RC | \
22177
 
    module_expsym_cmds_RC | \
22178
 
    old_archive_from_expsyms_cmds_RC | \
22179
 
    export_symbols_cmds_RC | \
22180
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
22181
 
    postinstall_cmds | postuninstall_cmds | \
22182
 
    old_postinstall_cmds | old_postuninstall_cmds | \
22183
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22184
 
      # Double-quote double-evaled strings.
22185
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22186
 
      ;;
22187
 
    *)
22188
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22189
 
      ;;
22190
 
    esac
22191
 
  done
22192
 
 
22193
 
  case $lt_echo in
22194
 
  *'\$0 --fallback-echo"')
22195
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22196
 
    ;;
22197
 
  esac
22198
 
 
22199
 
cfgfile="$ofile"
22200
 
 
22201
 
  cat <<__EOF__ >> "$cfgfile"
22202
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
22203
 
 
22204
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22205
 
 
22206
 
# Shell to use when invoking shell scripts.
22207
 
SHELL=$lt_SHELL
22208
 
 
22209
 
# Whether or not to build shared libraries.
22210
 
build_libtool_libs=$enable_shared
22211
 
 
22212
 
# Whether or not to build static libraries.
22213
 
build_old_libs=$enable_static
22214
 
 
22215
 
# Whether or not to add -lc for building shared libraries.
22216
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
22217
 
 
22218
 
# Whether or not to disallow shared libs when runtime libs are static
22219
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22220
 
 
22221
 
# Whether or not to optimize for fast installation.
22222
 
fast_install=$enable_fast_install
22223
 
 
22224
 
# The host system.
22225
 
host_alias=$host_alias
22226
 
host=$host
22227
 
 
22228
 
# An echo program that does not interpret backslashes.
22229
 
echo=$lt_echo
22230
 
 
22231
 
# The archiver.
22232
 
AR=$lt_AR
22233
 
AR_FLAGS=$lt_AR_FLAGS
22234
 
 
22235
 
# A C compiler.
22236
 
LTCC=$lt_LTCC
22237
 
 
22238
 
# A language-specific compiler.
22239
 
CC=$lt_compiler_RC
22240
 
 
22241
 
# Is the compiler the GNU C compiler?
22242
 
with_gcc=$GCC_RC
22243
 
 
22244
 
# An ERE matcher.
22245
 
EGREP=$lt_EGREP
22246
 
 
22247
 
# The linker used to build libraries.
22248
 
LD=$lt_LD_RC
22249
 
 
22250
 
# Whether we need hard or soft links.
22251
 
LN_S=$lt_LN_S
22252
 
 
22253
 
# A BSD-compatible nm program.
22254
 
NM=$lt_NM
22255
 
 
22256
 
# A symbol stripping program
22257
 
STRIP=$STRIP
22258
 
 
22259
 
# Used to examine libraries when file_magic_cmd begins "file"
22260
 
MAGIC_CMD=$MAGIC_CMD
22261
 
 
22262
 
# Used on cygwin: DLL creation program.
22263
 
DLLTOOL="$DLLTOOL"
22264
 
 
22265
 
# Used on cygwin: object dumper.
22266
 
OBJDUMP="$OBJDUMP"
22267
 
 
22268
 
# Used on cygwin: assembler.
22269
 
AS="$AS"
22270
 
 
22271
 
# The name of the directory that contains temporary libtool files.
22272
 
objdir=$objdir
22273
 
 
22274
 
# How to create reloadable object files.
22275
 
reload_flag=$lt_reload_flag
22276
 
reload_cmds=$lt_reload_cmds
22277
 
 
22278
 
# How to pass a linker flag through the compiler.
22279
 
wl=$lt_lt_prog_compiler_wl_RC
22280
 
 
22281
 
# Object file suffix (normally "o").
22282
 
objext="$ac_objext"
22283
 
 
22284
 
# Old archive suffix (normally "a").
22285
 
libext="$libext"
22286
 
 
22287
 
# Shared library suffix (normally ".so").
22288
 
shrext='$shrext'
22289
 
 
22290
 
# Executable file suffix (normally "").
22291
 
exeext="$exeext"
22292
 
 
22293
 
# Additional compiler flags for building library objects.
22294
 
pic_flag=$lt_lt_prog_compiler_pic_RC
22295
 
pic_mode=$pic_mode
22296
 
 
22297
 
# What is the maximum length of a command?
22298
 
max_cmd_len=$lt_cv_sys_max_cmd_len
22299
 
 
22300
 
# Does compiler simultaneously support -c and -o options?
22301
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22302
 
 
22303
 
# Must we lock files when doing compilation ?
22304
 
need_locks=$lt_need_locks
22305
 
 
22306
 
# Do we need the lib prefix for modules?
22307
 
need_lib_prefix=$need_lib_prefix
22308
 
 
22309
 
# Do we need a version for libraries?
22310
 
need_version=$need_version
22311
 
 
22312
 
# Whether dlopen is supported.
22313
 
dlopen_support=$enable_dlopen
22314
 
 
22315
 
# Whether dlopen of programs is supported.
22316
 
dlopen_self=$enable_dlopen_self
22317
 
 
22318
 
# Whether dlopen of statically linked programs is supported.
22319
 
dlopen_self_static=$enable_dlopen_self_static
22320
 
 
22321
 
# Compiler flag to prevent dynamic linking.
22322
 
link_static_flag=$lt_lt_prog_compiler_static_RC
22323
 
 
22324
 
# Compiler flag to turn off builtin functions.
22325
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22326
 
 
22327
 
# Compiler flag to allow reflexive dlopens.
22328
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22329
 
 
22330
 
# Compiler flag to generate shared objects directly from archives.
22331
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22332
 
 
22333
 
# Compiler flag to generate thread-safe objects.
22334
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22335
 
 
22336
 
# Library versioning type.
22337
 
version_type=$version_type
22338
 
 
22339
 
# Format of library name prefix.
22340
 
libname_spec=$lt_libname_spec
22341
 
 
22342
 
# List of archive names.  First name is the real one, the rest are links.
22343
 
# The last name is the one that the linker finds with -lNAME.
22344
 
library_names_spec=$lt_library_names_spec
22345
 
 
22346
 
# The coded name of the library, if different from the real name.
22347
 
soname_spec=$lt_soname_spec
22348
 
 
22349
 
# Commands used to build and install an old-style archive.
22350
 
RANLIB=$lt_RANLIB
22351
 
old_archive_cmds=$lt_old_archive_cmds_RC
22352
 
old_postinstall_cmds=$lt_old_postinstall_cmds
22353
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22354
 
 
22355
 
# Create an old-style archive from a shared archive.
22356
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22357
 
 
22358
 
# Create a temporary old-style archive to link instead of a shared archive.
22359
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22360
 
 
22361
 
# Commands used to build and install a shared archive.
22362
 
archive_cmds=$lt_archive_cmds_RC
22363
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22364
 
postinstall_cmds=$lt_postinstall_cmds
22365
 
postuninstall_cmds=$lt_postuninstall_cmds
22366
 
 
22367
 
# Commands used to build a loadable module (assumed same as above if empty)
22368
 
module_cmds=$lt_module_cmds_RC
22369
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
22370
 
 
22371
 
# Commands to strip libraries.
22372
 
old_striplib=$lt_old_striplib
22373
 
striplib=$lt_striplib
22374
 
 
22375
 
# Dependencies to place before the objects being linked to create a
22376
 
# shared library.
22377
 
predep_objects=$lt_predep_objects_RC
22378
 
 
22379
 
# Dependencies to place after the objects being linked to create a
22380
 
# shared library.
22381
 
postdep_objects=$lt_postdep_objects_RC
22382
 
 
22383
 
# Dependencies to place before the objects being linked to create a
22384
 
# shared library.
22385
 
predeps=$lt_predeps_RC
22386
 
 
22387
 
# Dependencies to place after the objects being linked to create a
22388
 
# shared library.
22389
 
postdeps=$lt_postdeps_RC
22390
 
 
22391
 
# The library search path used internally by the compiler when linking
22392
 
# a shared library.
22393
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22394
 
 
22395
 
# Method to check whether dependent libraries are shared objects.
22396
 
deplibs_check_method=$lt_deplibs_check_method
22397
 
 
22398
 
# Command to use when deplibs_check_method == file_magic.
22399
 
file_magic_cmd=$lt_file_magic_cmd
22400
 
 
22401
 
# Flag that allows shared libraries with undefined symbols to be built.
22402
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
22403
 
 
22404
 
# Flag that forces no undefined symbols.
22405
 
no_undefined_flag=$lt_no_undefined_flag_RC
22406
 
 
22407
 
# Commands used to finish a libtool library installation in a directory.
22408
 
finish_cmds=$lt_finish_cmds
22409
 
 
22410
 
# Same as above, but a single script fragment to be evaled but not shown.
22411
 
finish_eval=$lt_finish_eval
22412
 
 
22413
 
# Take the output of nm and produce a listing of raw symbols and C names.
22414
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22415
 
 
22416
 
# Transform the output of nm in a proper C declaration
22417
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22418
 
 
22419
 
# Transform the output of nm in a C name address pair
22420
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22421
 
 
22422
 
# This is the shared library runtime path variable.
22423
 
runpath_var=$runpath_var
22424
 
 
22425
 
# This is the shared library path variable.
22426
 
shlibpath_var=$shlibpath_var
22427
 
 
22428
 
# Is shlibpath searched before the hard-coded library search path?
22429
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22430
 
 
22431
 
# How to hardcode a shared library path into an executable.
22432
 
hardcode_action=$hardcode_action_RC
22433
 
 
22434
 
# Whether we should hardcode library paths into libraries.
22435
 
hardcode_into_libs=$hardcode_into_libs
22436
 
 
22437
 
# Flag to hardcode \$libdir into a binary during linking.
22438
 
# This must work even if \$libdir does not exist.
22439
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22440
 
 
22441
 
# If ld is used when linking, flag to hardcode \$libdir into
22442
 
# a binary during linking. This must work even if \$libdir does
22443
 
# not exist.
22444
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22445
 
 
22446
 
# Whether we need a single -rpath flag with a separated argument.
22447
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22448
 
 
22449
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22450
 
# resulting binary.
22451
 
hardcode_direct=$hardcode_direct_RC
22452
 
 
22453
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22454
 
# resulting binary.
22455
 
hardcode_minus_L=$hardcode_minus_L_RC
22456
 
 
22457
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22458
 
# the resulting binary.
22459
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22460
 
 
22461
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
22462
 
# and all subsequent libraries and executables linked against it.
22463
 
hardcode_automatic=$hardcode_automatic_RC
22464
 
 
22465
 
# Variables whose values should be saved in libtool wrapper scripts and
22466
 
# restored at relink time.
22467
 
variables_saved_for_relink="$variables_saved_for_relink"
22468
 
 
22469
 
# Whether libtool must link a program against all its dependency libraries.
22470
 
link_all_deplibs=$link_all_deplibs_RC
22471
 
 
22472
 
# Compile-time system search path for libraries
22473
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22474
 
 
22475
 
# Run-time system search path for libraries
22476
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22477
 
 
22478
 
# Fix the shell variable \$srcfile for the compiler.
22479
 
fix_srcfile_path="$fix_srcfile_path_RC"
22480
 
 
22481
 
# Set to yes if exported symbols are required.
22482
 
always_export_symbols=$always_export_symbols_RC
22483
 
 
22484
 
# The commands to list exported symbols.
22485
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
22486
 
 
22487
 
# The commands to extract the exported symbol list from a shared archive.
22488
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22489
 
 
22490
 
# Symbols that should not be listed in the preloaded symbols.
22491
 
exclude_expsyms=$lt_exclude_expsyms_RC
22492
 
 
22493
 
# Symbols that must always be exported.
22494
 
include_expsyms=$lt_include_expsyms_RC
22495
 
 
22496
 
# ### END LIBTOOL TAG CONFIG: $tagname
22497
 
 
22498
 
__EOF__
22499
 
 
22500
 
 
22501
 
else
22502
 
  # If there is no Makefile yet, we rely on a make rule to execute
22503
 
  # `config.status --recheck' to rerun these tests and create the
22504
 
  # libtool script then.
22505
 
  test -f Makefile && make "$ltmain"
22506
 
fi
22507
 
 
22508
 
 
22509
 
ac_ext=c
22510
 
ac_cpp='$CPP $CPPFLAGS'
22511
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22514
 
 
22515
 
CC="$lt_save_CC"
22516
 
 
22517
 
        ;;
22518
 
 
22519
 
      *)
22520
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22521
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22522
 
   { (exit 1); exit 1; }; }
22523
 
        ;;
22524
 
      esac
22525
 
 
22526
 
      # Append the new tag name to the list of available tags.
22527
 
      if test -n "$tagname" ; then
22528
 
      available_tags="$available_tags $tagname"
22529
 
    fi
22530
 
    fi
22531
 
  done
22532
 
  IFS="$lt_save_ifs"
22533
 
 
22534
 
  # Now substitute the updated list of available tags.
22535
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22536
 
    mv "${ofile}T" "$ofile"
22537
 
    chmod +x "$ofile"
22538
 
  else
22539
 
    rm -f "${ofile}T"
22540
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22541
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22542
 
   { (exit 1); exit 1; }; }
22543
 
  fi
22544
 
fi
22545
 
 
22546
 
 
22547
 
 
22548
 
# This can be used to rebuild libtool when needed
22549
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
22550
 
 
22551
 
# Always use our own libtool.
22552
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
22553
 
 
22554
 
# Prevent multiple expansion
22555
 
 
22556
 
 
22557
 
 
22558
 
 
22559
 
 
22560
 
 
22561
 
 
22562
 
 
22563
 
 
22564
 
 
22565
 
 
22566
 
 
22567
 
 
22568
 
 
22569
 
 
22570
 
 
22571
 
 
22572
 
 
22573
 
 
22574
 
 
22575
 
 
22576
 
 
22577
 
 
22578
 
 
22579
 
 
22580
 
 
22581
 
 
22582
 
 
22583
 
 
22584
 
 
22585
 
 
22586
 
 
22587
 
 
22588
 
 
22589
 
LIBTOOL_SHELL="/bin/sh ./libtool"
22590
 
#  LIBTOOL="$LIBTOOL --silent"
22591
 
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
22592
 
 
22593
 
 
22594
 
# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
22595
 
KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
22596
 
 
22597
 
 
22598
 
# we patch configure quite some so we better keep that consistent for incremental runs
22599
 
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
22600
 
 
22601
 
 
22602
 
 
22603
 
 
22604
 
 
22605
 
    # Extract the first word of "msgfmt", so it can be a program name with args.
22606
 
set dummy msgfmt; ac_word=$2
22607
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22608
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22609
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
22610
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22611
 
else
22612
 
  case "$MSGFMT" in
22613
 
  /*)
22614
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22615
 
  ;;
22616
 
  *)
22617
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22618
 
  for ac_dir in $PATH; do
22619
 
    test -z "$ac_dir" && ac_dir=.
22620
 
    if test -f $ac_dir/$ac_word; then
22621
 
      if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
22622
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22623
 
        break
22624
 
      fi
22625
 
    fi
22626
 
  done
22627
 
  IFS="$ac_save_ifs"
22628
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
22629
 
  ;;
22630
 
esac
22631
 
fi
22632
 
MSGFMT="$ac_cv_path_MSGFMT"
22633
 
if test -n "$MSGFMT"; then
22634
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
22635
 
echo "${ECHO_T}$MSGFMT" >&6; }
22636
 
else
22637
 
  { echo "$as_me:$LINENO: result: no" >&5
22638
 
echo "${ECHO_T}no" >&6; }
22639
 
fi
22640
 
 
22641
 
    # Extract the first word of "gmsgfmt", so it can be a program name with args.
22642
 
set dummy gmsgfmt; ac_word=$2
22643
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22644
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22645
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22646
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22647
 
else
22648
 
  case $GMSGFMT in
22649
 
  [\\/]* | ?:[\\/]*)
22650
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22651
 
  ;;
22652
 
  *)
22653
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22654
 
for as_dir in $PATH
22655
 
do
22656
 
  IFS=$as_save_IFS
22657
 
  test -z "$as_dir" && as_dir=.
22658
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22659
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22660
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22661
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22662
 
    break 2
22663
 
  fi
22664
 
done
22665
 
done
22666
 
IFS=$as_save_IFS
22667
 
 
22668
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22669
 
  ;;
22670
 
esac
22671
 
fi
22672
 
GMSGFMT=$ac_cv_path_GMSGFMT
22673
 
if test -n "$GMSGFMT"; then
22674
 
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22675
 
echo "${ECHO_T}$GMSGFMT" >&6; }
22676
 
else
22677
 
  { echo "$as_me:$LINENO: result: no" >&5
22678
 
echo "${ECHO_T}no" >&6; }
22679
 
fi
22680
 
 
22681
 
 
22682
 
 
22683
 
     if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
22684
 
        { echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
22685
 
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
22686
 
        GMSGFMT=":"
22687
 
      fi
22688
 
      MSGFMT=$GMSGFMT
22689
 
 
22690
 
 
22691
 
 
22692
 
      # Extract the first word of "xgettext", so it can be a program name with args.
22693
 
set dummy xgettext; ac_word=$2
22694
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22695
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22696
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22698
 
else
22699
 
  case "$XGETTEXT" in
22700
 
  /*)
22701
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22702
 
  ;;
22703
 
  *)
22704
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22705
 
  for ac_dir in $PATH; do
22706
 
    test -z "$ac_dir" && ac_dir=.
22707
 
    if test -f $ac_dir/$ac_word; then
22708
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22709
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22710
 
        break
22711
 
      fi
22712
 
    fi
22713
 
  done
22714
 
  IFS="$ac_save_ifs"
22715
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22716
 
  ;;
22717
 
esac
22718
 
fi
22719
 
XGETTEXT="$ac_cv_path_XGETTEXT"
22720
 
if test -n "$XGETTEXT"; then
22721
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22722
 
echo "${ECHO_T}$XGETTEXT" >&6; }
22723
 
else
22724
 
  { echo "$as_me:$LINENO: result: no" >&5
22725
 
echo "${ECHO_T}no" >&6; }
22726
 
fi
22727
 
 
22728
 
 
22729
 
            if test "$XGETTEXT" != ":"; then
22730
 
                        if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22731
 
          : ;
22732
 
        else
22733
 
          { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
22734
 
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
22735
 
          XGETTEXT=":"
22736
 
        fi
22737
 
      fi
22738
 
 
22739
 
 
22740
 
 
22741
 
 
22742
 
 
22743
 
if test -z "3.2.0"; then
22744
 
  # Current default Qt version: 3.3
22745
 
  kde_qtver=3
22746
 
  kde_qtsubver=3
22747
 
else
22748
 
  kde_qtsubver=`echo "3.2.0" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
22749
 
  # following is the check if subversion isnt found in passed argument
22750
 
  if test "$kde_qtsubver" = "3.2.0"; then
22751
 
    kde_qtsubver=1
22752
 
  fi
22753
 
  kde_qtver=`echo "3.2.0" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
22754
 
  if test "$kde_qtver" = "1"; then
22755
 
    kde_qtsubver=42
22756
 
  fi
22757
 
fi
22758
 
 
22759
 
if test -z ""; then
22760
 
  if test "$kde_qtver" = "2"; then
22761
 
    if test $kde_qtsubver -gt 0; then
22762
 
      kde_qt_minversion=">= Qt 2.2.2"
22763
 
    else
22764
 
      kde_qt_minversion=">= Qt 2.0.2"
22765
 
    fi
22766
 
  fi
22767
 
  if test "$kde_qtver" = "3"; then
22768
 
    if test $kde_qtsubver -gt 0; then
22769
 
         if test $kde_qtsubver -gt 1; then
22770
 
            if test $kde_qtsubver -gt 2; then
22771
 
                kde_qt_minversion=">= Qt 3.3 and < 4.0"
22772
 
            else
22773
 
                kde_qt_minversion=">= Qt 3.2 and < 4.0"
22774
 
            fi
22775
 
         else
22776
 
            kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
22777
 
         fi
22778
 
    else
22779
 
      kde_qt_minversion=">= Qt 3.0 and < 4.0"
22780
 
    fi
22781
 
  fi
22782
 
  if test "$kde_qtver" = "1"; then
22783
 
    kde_qt_minversion=">= 1.42 and < 2.0"
22784
 
  fi
22785
 
else
22786
 
   kde_qt_minversion=""
22787
 
fi
22788
 
 
22789
 
if test -z ""; then
22790
 
   if test $kde_qtver = 3; then
22791
 
     if test $kde_qtsubver -gt 0; then
22792
 
       kde_qt_verstring="QT_VERSION >= 0x03@VER@00 && QT_VERSION < 0x040000"
22793
 
       qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
22794
 
       kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
22795
 
     else
22796
 
       kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
22797
 
     fi
22798
 
   fi
22799
 
   if test $kde_qtver = 2; then
22800
 
     if test $kde_qtsubver -gt 0; then
22801
 
       kde_qt_verstring="QT_VERSION >= 222"
22802
 
     else
22803
 
       kde_qt_verstring="QT_VERSION >= 200"
22804
 
     fi
22805
 
   fi
22806
 
   if test $kde_qtver = 1; then
22807
 
    kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
22808
 
   fi
22809
 
else
22810
 
   kde_qt_verstring=""
22811
 
fi
22812
 
 
22813
 
if test $kde_qtver = 4; then
22814
 
  kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
22815
 
fi
22816
 
if test $kde_qtver = 3; then
22817
 
  kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
22818
 
fi
22819
 
if test $kde_qtver = 2; then
22820
 
   kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
22821
 
fi
22822
 
if test $kde_qtver = 1; then
22823
 
   kde_qt_dirs="$QTDIR /usr/lib/qt"
22824
 
fi
22825
 
 
22826
 
 
22827
 
 
22828
 
     ac_ext=cpp
22829
 
ac_cpp='$CXXCPP $CPPFLAGS'
22830
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22831
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22832
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22833
 
 
22834
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22835
 
 
22836
 
 
22837
 
    ac_save_CXXFLAGS="$CXXFLAGS"
22838
 
    CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
22839
 
 
22840
 
    { echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
22841
 
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6; }
22842
 
    if test "${kde_cv_stl_works+set}" = set; then
22843
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22844
 
else
22845
 
 
22846
 
      cat >conftest.$ac_ext <<_ACEOF
22847
 
/* confdefs.h.  */
22848
 
_ACEOF
22849
 
cat confdefs.h >>conftest.$ac_ext
22850
 
cat >>conftest.$ac_ext <<_ACEOF
22851
 
/* end confdefs.h.  */
22852
 
 
22853
 
#include <string>
22854
 
using namespace std;
22855
 
 
22856
 
int
22857
 
main ()
22858
 
{
22859
 
 
22860
 
  string astring="Hallo Welt.";
22861
 
  astring.erase(0, 6); // now astring is "Welt"
22862
 
  return 0;
22863
 
 
22864
 
  ;
22865
 
  return 0;
22866
 
}
22867
 
_ACEOF
22868
 
rm -f conftest.$ac_objext
22869
 
if { (ac_try="$ac_compile"
22870
 
case "(($ac_try" in
22871
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22872
 
  *) ac_try_echo=$ac_try;;
22873
 
esac
22874
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22875
 
  (eval "$ac_compile") 2>conftest.er1
22876
 
  ac_status=$?
22877
 
  grep -v '^ *+' conftest.er1 >conftest.err
22878
 
  rm -f conftest.er1
22879
 
  cat conftest.err >&5
22880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881
 
  (exit $ac_status); } && {
22882
 
         test -z "$ac_cxx_werror_flag" ||
22883
 
         test ! -s conftest.err
22884
 
       } && test -s conftest.$ac_objext; then
22885
 
  kde_cv_stl_works=yes
22886
 
else
22887
 
  echo "$as_me: failed program was:" >&5
22888
 
sed 's/^/| /' conftest.$ac_ext >&5
22889
 
 
22890
 
        kde_cv_stl_works=no
22891
 
fi
22892
 
 
22893
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22894
 
 
22895
 
fi
22896
 
 
22897
 
 
22898
 
   { echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
22899
 
echo "${ECHO_T}$kde_cv_stl_works" >&6; }
22900
 
 
22901
 
   if test "$kde_cv_stl_works" = "yes"; then
22902
 
     # back compatible
22903
 
 
22904
 
cat >>confdefs.h <<_ACEOF
22905
 
#define HAVE_SGI_STL 1
22906
 
_ACEOF
22907
 
 
22908
 
   else
22909
 
         { { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
22910
 
Check config.log for details - if you're using a Linux distribution you might miss
22911
 
a package named similar to libstdc++-dev." >&5
22912
 
echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
22913
 
Check config.log for details - if you're using a Linux distribution you might miss
22914
 
a package named similar to libstdc++-dev." >&2;}
22915
 
   { (exit 1); exit 1; }; }
22916
 
   fi
22917
 
 
22918
 
   CXXFLAGS="$ac_save_CXXFLAGS"
22919
 
   ac_ext=c
22920
 
ac_cpp='$CPP $CPPFLAGS'
22921
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22922
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22923
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22924
 
 
22925
 
 
22926
 
 
22927
 
 
22928
 
{ echo "$as_me:$LINENO: checking for strlcat" >&5
22929
 
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; }
22930
 
if test "${kde_cv_func_strlcat+set}" = set; then
22931
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22932
 
else
22933
 
 
22934
 
 
22935
 
 ac_ext=cpp
22936
 
ac_cpp='$CXXCPP $CPPFLAGS'
22937
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22938
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22939
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22940
 
 
22941
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22942
 
 
22943
 
 
22944
 
save_CXXFLAGS="$CXXFLAGS"
22945
 
kde_safe_LIBS="$LIBS"
22946
 
LIBS="$LIBS $X_EXTRA_LIBS"
22947
 
if test "$GXX" = "yes"; then
22948
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
22949
 
fi
22950
 
cat >conftest.$ac_ext <<_ACEOF
22951
 
/* confdefs.h.  */
22952
 
_ACEOF
22953
 
cat confdefs.h >>conftest.$ac_ext
22954
 
cat >>conftest.$ac_ext <<_ACEOF
22955
 
/* end confdefs.h.  */
22956
 
 
22957
 
 
22958
 
#include <string.h>
22959
 
 
22960
 
 
22961
 
int
22962
 
main ()
22963
 
{
22964
 
 
22965
 
 char buf[20];
22966
 
  buf[0]='\0';
22967
 
  strlcat(buf, "KDE function test", sizeof(buf));
22968
 
 
22969
 
 
22970
 
  ;
22971
 
  return 0;
22972
 
}
22973
 
_ACEOF
22974
 
rm -f conftest.$ac_objext
22975
 
if { (ac_try="$ac_compile"
22976
 
case "(($ac_try" in
22977
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22978
 
  *) ac_try_echo=$ac_try;;
22979
 
esac
22980
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22981
 
  (eval "$ac_compile") 2>conftest.er1
22982
 
  ac_status=$?
22983
 
  grep -v '^ *+' conftest.er1 >conftest.err
22984
 
  rm -f conftest.er1
22985
 
  cat conftest.err >&5
22986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987
 
  (exit $ac_status); } && {
22988
 
         test -z "$ac_cxx_werror_flag" ||
22989
 
         test ! -s conftest.err
22990
 
       } && test -s conftest.$ac_objext; then
22991
 
  kde_cv_func_strlcat=yes
22992
 
else
22993
 
  echo "$as_me: failed program was:" >&5
22994
 
sed 's/^/| /' conftest.$ac_ext >&5
22995
 
 
22996
 
        kde_cv_func_strlcat=no
22997
 
fi
22998
 
 
22999
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23000
 
CXXFLAGS="$save_CXXFLAGS"
23001
 
LIBS="$kde_safe_LIBS"
23002
 
ac_ext=c
23003
 
ac_cpp='$CPP $CPPFLAGS'
23004
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23005
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23006
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23007
 
 
23008
 
 
23009
 
fi
23010
 
 
23011
 
 
23012
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
23013
 
echo "${ECHO_T}$kde_cv_func_strlcat" >&6; }
23014
 
 
23015
 
{ echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
23016
 
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6; }
23017
 
if test "${kde_cv_proto_strlcat+set}" = set; then
23018
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23019
 
else
23020
 
 
23021
 
if test "x$kde_cv_func_strlcat" = xyes; then
23022
 
  kde_cv_proto_strlcat=no
23023
 
else
23024
 
  case "strlcat" in
23025
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23026
 
                kde_cv_proto_strlcat="yes - in libkdefakes"
23027
 
                ;;
23028
 
        *)
23029
 
                kde_cv_proto_strlcat=unknown
23030
 
                ;;
23031
 
  esac
23032
 
fi
23033
 
 
23034
 
if test "x$kde_cv_proto_strlcat" = xunknown; then
23035
 
 
23036
 
 
23037
 
 ac_ext=cpp
23038
 
ac_cpp='$CXXCPP $CPPFLAGS'
23039
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23042
 
 
23043
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23044
 
 
23045
 
 
23046
 
  kde_safe_libs=$LIBS
23047
 
  LIBS="$LIBS $X_EXTRA_LIBS"
23048
 
  cat >conftest.$ac_ext <<_ACEOF
23049
 
/* confdefs.h.  */
23050
 
_ACEOF
23051
 
cat confdefs.h >>conftest.$ac_ext
23052
 
cat >>conftest.$ac_ext <<_ACEOF
23053
 
/* end confdefs.h.  */
23054
 
 
23055
 
 
23056
 
#include <string.h>
23057
 
 
23058
 
 
23059
 
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
23060
 
 
23061
 
int
23062
 
main ()
23063
 
{
23064
 
 
23065
 
 char buf[20];
23066
 
  buf[0]='\0';
23067
 
  strlcat(buf, "KDE function test", sizeof(buf));
23068
 
 
23069
 
 
23070
 
  ;
23071
 
  return 0;
23072
 
}
23073
 
_ACEOF
23074
 
rm -f conftest.$ac_objext conftest$ac_exeext
23075
 
if { (ac_try="$ac_link"
23076
 
case "(($ac_try" in
23077
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23078
 
  *) ac_try_echo=$ac_try;;
23079
 
esac
23080
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23081
 
  (eval "$ac_link") 2>conftest.er1
23082
 
  ac_status=$?
23083
 
  grep -v '^ *+' conftest.er1 >conftest.err
23084
 
  rm -f conftest.er1
23085
 
  cat conftest.err >&5
23086
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087
 
  (exit $ac_status); } && {
23088
 
         test -z "$ac_cxx_werror_flag" ||
23089
 
         test ! -s conftest.err
23090
 
       } && test -s conftest$ac_exeext &&
23091
 
       $as_test_x conftest$ac_exeext; then
23092
 
   kde_cv_func_strlcat=yes
23093
 
  kde_cv_proto_strlcat=yes
23094
 
else
23095
 
  echo "$as_me: failed program was:" >&5
23096
 
sed 's/^/| /' conftest.$ac_ext >&5
23097
 
 
23098
 
        kde_cv_proto_strlcat="strlcat unavailable"
23099
 
 
23100
 
fi
23101
 
 
23102
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23103
 
      conftest$ac_exeext conftest.$ac_ext
23104
 
LIBS=$kde_safe_libs
23105
 
ac_ext=c
23106
 
ac_cpp='$CPP $CPPFLAGS'
23107
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23110
 
 
23111
 
fi
23112
 
 
23113
 
fi
23114
 
 
23115
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
23116
 
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6; }
23117
 
 
23118
 
if test "x$kde_cv_func_strlcat" = xyes; then
23119
 
 
23120
 
cat >>confdefs.h <<\_ACEOF
23121
 
#define HAVE_STRLCAT 1
23122
 
_ACEOF
23123
 
 
23124
 
 
23125
 
fi
23126
 
if test "x$kde_cv_proto_strlcat" = xno; then
23127
 
 
23128
 
cat >>confdefs.h <<\_ACEOF
23129
 
#define HAVE_STRLCAT_PROTO 1
23130
 
_ACEOF
23131
 
 
23132
 
fi
23133
 
 
23134
 
 
23135
 
 
23136
 
 
23137
 
 
23138
 
 
23139
 
 
23140
 
{ echo "$as_me:$LINENO: checking for strlcpy" >&5
23141
 
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; }
23142
 
if test "${kde_cv_func_strlcpy+set}" = set; then
23143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23144
 
else
23145
 
 
23146
 
 
23147
 
 ac_ext=cpp
23148
 
ac_cpp='$CXXCPP $CPPFLAGS'
23149
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23150
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23151
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23152
 
 
23153
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23154
 
 
23155
 
 
23156
 
save_CXXFLAGS="$CXXFLAGS"
23157
 
kde_safe_LIBS="$LIBS"
23158
 
LIBS="$LIBS $X_EXTRA_LIBS"
23159
 
if test "$GXX" = "yes"; then
23160
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
23161
 
fi
23162
 
cat >conftest.$ac_ext <<_ACEOF
23163
 
/* confdefs.h.  */
23164
 
_ACEOF
23165
 
cat confdefs.h >>conftest.$ac_ext
23166
 
cat >>conftest.$ac_ext <<_ACEOF
23167
 
/* end confdefs.h.  */
23168
 
 
23169
 
 
23170
 
#include <string.h>
23171
 
 
23172
 
 
23173
 
int
23174
 
main ()
23175
 
{
23176
 
 
23177
 
 char buf[20];
23178
 
  strlcpy(buf, "KDE function test", sizeof(buf));
23179
 
 
23180
 
 
23181
 
  ;
23182
 
  return 0;
23183
 
}
23184
 
_ACEOF
23185
 
rm -f conftest.$ac_objext
23186
 
if { (ac_try="$ac_compile"
23187
 
case "(($ac_try" in
23188
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23189
 
  *) ac_try_echo=$ac_try;;
23190
 
esac
23191
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23192
 
  (eval "$ac_compile") 2>conftest.er1
23193
 
  ac_status=$?
23194
 
  grep -v '^ *+' conftest.er1 >conftest.err
23195
 
  rm -f conftest.er1
23196
 
  cat conftest.err >&5
23197
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198
 
  (exit $ac_status); } && {
23199
 
         test -z "$ac_cxx_werror_flag" ||
23200
 
         test ! -s conftest.err
23201
 
       } && test -s conftest.$ac_objext; then
23202
 
  kde_cv_func_strlcpy=yes
23203
 
else
23204
 
  echo "$as_me: failed program was:" >&5
23205
 
sed 's/^/| /' conftest.$ac_ext >&5
23206
 
 
23207
 
        kde_cv_func_strlcpy=no
23208
 
fi
23209
 
 
23210
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211
 
CXXFLAGS="$save_CXXFLAGS"
23212
 
LIBS="$kde_safe_LIBS"
23213
 
ac_ext=c
23214
 
ac_cpp='$CPP $CPPFLAGS'
23215
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23216
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23217
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23218
 
 
23219
 
 
23220
 
fi
23221
 
 
23222
 
 
23223
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
23224
 
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6; }
23225
 
 
23226
 
{ echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
23227
 
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6; }
23228
 
if test "${kde_cv_proto_strlcpy+set}" = set; then
23229
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23230
 
else
23231
 
 
23232
 
if test "x$kde_cv_func_strlcpy" = xyes; then
23233
 
  kde_cv_proto_strlcpy=no
23234
 
else
23235
 
  case "strlcpy" in
23236
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23237
 
                kde_cv_proto_strlcpy="yes - in libkdefakes"
23238
 
                ;;
23239
 
        *)
23240
 
                kde_cv_proto_strlcpy=unknown
23241
 
                ;;
23242
 
  esac
23243
 
fi
23244
 
 
23245
 
if test "x$kde_cv_proto_strlcpy" = xunknown; then
23246
 
 
23247
 
 
23248
 
 ac_ext=cpp
23249
 
ac_cpp='$CXXCPP $CPPFLAGS'
23250
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23251
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23252
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23253
 
 
23254
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23255
 
 
23256
 
 
23257
 
  kde_safe_libs=$LIBS
23258
 
  LIBS="$LIBS $X_EXTRA_LIBS"
23259
 
  cat >conftest.$ac_ext <<_ACEOF
23260
 
/* confdefs.h.  */
23261
 
_ACEOF
23262
 
cat confdefs.h >>conftest.$ac_ext
23263
 
cat >>conftest.$ac_ext <<_ACEOF
23264
 
/* end confdefs.h.  */
23265
 
 
23266
 
 
23267
 
#include <string.h>
23268
 
 
23269
 
 
23270
 
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
23271
 
 
23272
 
int
23273
 
main ()
23274
 
{
23275
 
 
23276
 
 char buf[20];
23277
 
  strlcpy(buf, "KDE function test", sizeof(buf));
23278
 
 
23279
 
 
23280
 
  ;
23281
 
  return 0;
23282
 
}
23283
 
_ACEOF
23284
 
rm -f conftest.$ac_objext conftest$ac_exeext
23285
 
if { (ac_try="$ac_link"
23286
 
case "(($ac_try" in
23287
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23288
 
  *) ac_try_echo=$ac_try;;
23289
 
esac
23290
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23291
 
  (eval "$ac_link") 2>conftest.er1
23292
 
  ac_status=$?
23293
 
  grep -v '^ *+' conftest.er1 >conftest.err
23294
 
  rm -f conftest.er1
23295
 
  cat conftest.err >&5
23296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297
 
  (exit $ac_status); } && {
23298
 
         test -z "$ac_cxx_werror_flag" ||
23299
 
         test ! -s conftest.err
23300
 
       } && test -s conftest$ac_exeext &&
23301
 
       $as_test_x conftest$ac_exeext; then
23302
 
   kde_cv_func_strlcpy=yes
23303
 
  kde_cv_proto_strlcpy=yes
23304
 
else
23305
 
  echo "$as_me: failed program was:" >&5
23306
 
sed 's/^/| /' conftest.$ac_ext >&5
23307
 
 
23308
 
        kde_cv_proto_strlcpy="strlcpy unavailable"
23309
 
 
23310
 
fi
23311
 
 
23312
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23313
 
      conftest$ac_exeext conftest.$ac_ext
23314
 
LIBS=$kde_safe_libs
23315
 
ac_ext=c
23316
 
ac_cpp='$CPP $CPPFLAGS'
23317
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23318
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23319
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23320
 
 
23321
 
fi
23322
 
 
23323
 
fi
23324
 
 
23325
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
23326
 
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6; }
23327
 
 
23328
 
if test "x$kde_cv_func_strlcpy" = xyes; then
23329
 
 
23330
 
cat >>confdefs.h <<\_ACEOF
23331
 
#define HAVE_STRLCPY 1
23332
 
_ACEOF
23333
 
 
23334
 
 
23335
 
fi
23336
 
if test "x$kde_cv_proto_strlcpy" = xno; then
23337
 
 
23338
 
cat >>confdefs.h <<\_ACEOF
23339
 
#define HAVE_STRLCPY_PROTO 1
23340
 
_ACEOF
23341
 
 
23342
 
fi
23343
 
 
23344
 
 
23345
 
 
23346
 
 
23347
 
 
23348
 
 
23349
 
      { echo "$as_me:$LINENO: checking for main in -lutil" >&5
23350
 
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6; }
23351
 
if test "${ac_cv_lib_util_main+set}" = set; then
23352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23353
 
else
23354
 
  ac_check_lib_save_LIBS=$LIBS
23355
 
LIBS="-lutil  $LIBS"
23356
 
cat >conftest.$ac_ext <<_ACEOF
23357
 
/* confdefs.h.  */
23358
 
_ACEOF
23359
 
cat confdefs.h >>conftest.$ac_ext
23360
 
cat >>conftest.$ac_ext <<_ACEOF
23361
 
/* end confdefs.h.  */
23362
 
 
23363
 
 
23364
 
int
23365
 
main ()
23366
 
{
23367
 
return main ();
23368
 
  ;
23369
 
  return 0;
23370
 
}
23371
 
_ACEOF
23372
 
rm -f conftest.$ac_objext conftest$ac_exeext
23373
 
if { (ac_try="$ac_link"
23374
 
case "(($ac_try" in
23375
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23376
 
  *) ac_try_echo=$ac_try;;
23377
 
esac
23378
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23379
 
  (eval "$ac_link") 2>conftest.er1
23380
 
  ac_status=$?
23381
 
  grep -v '^ *+' conftest.er1 >conftest.err
23382
 
  rm -f conftest.er1
23383
 
  cat conftest.err >&5
23384
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385
 
  (exit $ac_status); } && {
23386
 
         test -z "$ac_c_werror_flag" ||
23387
 
         test ! -s conftest.err
23388
 
       } && test -s conftest$ac_exeext &&
23389
 
       $as_test_x conftest$ac_exeext; then
23390
 
  ac_cv_lib_util_main=yes
23391
 
else
23392
 
  echo "$as_me: failed program was:" >&5
23393
 
sed 's/^/| /' conftest.$ac_ext >&5
23394
 
 
23395
 
        ac_cv_lib_util_main=no
23396
 
fi
23397
 
 
23398
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23399
 
      conftest$ac_exeext conftest.$ac_ext
23400
 
LIBS=$ac_check_lib_save_LIBS
23401
 
fi
23402
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
23403
 
echo "${ECHO_T}$ac_cv_lib_util_main" >&6; }
23404
 
if test $ac_cv_lib_util_main = yes; then
23405
 
  LIBUTIL="-lutil"
23406
 
fi
23407
 
 
23408
 
   { echo "$as_me:$LINENO: checking for main in -lcompat" >&5
23409
 
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
23410
 
if test "${ac_cv_lib_compat_main+set}" = set; then
23411
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23412
 
else
23413
 
  ac_check_lib_save_LIBS=$LIBS
23414
 
LIBS="-lcompat  $LIBS"
23415
 
cat >conftest.$ac_ext <<_ACEOF
23416
 
/* confdefs.h.  */
23417
 
_ACEOF
23418
 
cat confdefs.h >>conftest.$ac_ext
23419
 
cat >>conftest.$ac_ext <<_ACEOF
23420
 
/* end confdefs.h.  */
23421
 
 
23422
 
 
23423
 
int
23424
 
main ()
23425
 
{
23426
 
return main ();
23427
 
  ;
23428
 
  return 0;
23429
 
}
23430
 
_ACEOF
23431
 
rm -f conftest.$ac_objext conftest$ac_exeext
23432
 
if { (ac_try="$ac_link"
23433
 
case "(($ac_try" in
23434
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23435
 
  *) ac_try_echo=$ac_try;;
23436
 
esac
23437
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23438
 
  (eval "$ac_link") 2>conftest.er1
23439
 
  ac_status=$?
23440
 
  grep -v '^ *+' conftest.er1 >conftest.err
23441
 
  rm -f conftest.er1
23442
 
  cat conftest.err >&5
23443
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444
 
  (exit $ac_status); } && {
23445
 
         test -z "$ac_c_werror_flag" ||
23446
 
         test ! -s conftest.err
23447
 
       } && test -s conftest$ac_exeext &&
23448
 
       $as_test_x conftest$ac_exeext; then
23449
 
  ac_cv_lib_compat_main=yes
23450
 
else
23451
 
  echo "$as_me: failed program was:" >&5
23452
 
sed 's/^/| /' conftest.$ac_ext >&5
23453
 
 
23454
 
        ac_cv_lib_compat_main=no
23455
 
fi
23456
 
 
23457
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23458
 
      conftest$ac_exeext conftest.$ac_ext
23459
 
LIBS=$ac_check_lib_save_LIBS
23460
 
fi
23461
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
23462
 
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
23463
 
if test $ac_cv_lib_compat_main = yes; then
23464
 
  LIBCOMPAT="-lcompat"
23465
 
fi
23466
 
 
23467
 
   kde_have_crypt=
23468
 
   { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
23469
 
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
23470
 
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
23471
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23472
 
else
23473
 
  ac_check_lib_save_LIBS=$LIBS
23474
 
LIBS="-lcrypt  $LIBS"
23475
 
cat >conftest.$ac_ext <<_ACEOF
23476
 
/* confdefs.h.  */
23477
 
_ACEOF
23478
 
cat confdefs.h >>conftest.$ac_ext
23479
 
cat >>conftest.$ac_ext <<_ACEOF
23480
 
/* end confdefs.h.  */
23481
 
 
23482
 
/* Override any GCC internal prototype to avoid an error.
23483
 
   Use char because int might match the return type of a GCC
23484
 
   builtin and then its argument prototype would still apply.  */
23485
 
#ifdef __cplusplus
23486
 
extern "C"
23487
 
#endif
23488
 
char crypt ();
23489
 
int
23490
 
main ()
23491
 
{
23492
 
return crypt ();
23493
 
  ;
23494
 
  return 0;
23495
 
}
23496
 
_ACEOF
23497
 
rm -f conftest.$ac_objext conftest$ac_exeext
23498
 
if { (ac_try="$ac_link"
23499
 
case "(($ac_try" in
23500
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23501
 
  *) ac_try_echo=$ac_try;;
23502
 
esac
23503
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23504
 
  (eval "$ac_link") 2>conftest.er1
23505
 
  ac_status=$?
23506
 
  grep -v '^ *+' conftest.er1 >conftest.err
23507
 
  rm -f conftest.er1
23508
 
  cat conftest.err >&5
23509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510
 
  (exit $ac_status); } && {
23511
 
         test -z "$ac_c_werror_flag" ||
23512
 
         test ! -s conftest.err
23513
 
       } && test -s conftest$ac_exeext &&
23514
 
       $as_test_x conftest$ac_exeext; then
23515
 
  ac_cv_lib_crypt_crypt=yes
23516
 
else
23517
 
  echo "$as_me: failed program was:" >&5
23518
 
sed 's/^/| /' conftest.$ac_ext >&5
23519
 
 
23520
 
        ac_cv_lib_crypt_crypt=no
23521
 
fi
23522
 
 
23523
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23524
 
      conftest$ac_exeext conftest.$ac_ext
23525
 
LIBS=$ac_check_lib_save_LIBS
23526
 
fi
23527
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
23528
 
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
23529
 
if test $ac_cv_lib_crypt_crypt = yes; then
23530
 
  LIBCRYPT="-lcrypt"; kde_have_crypt=yes
23531
 
else
23532
 
  { echo "$as_me:$LINENO: checking for crypt in -lc" >&5
23533
 
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
23534
 
if test "${ac_cv_lib_c_crypt+set}" = set; then
23535
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23536
 
else
23537
 
  ac_check_lib_save_LIBS=$LIBS
23538
 
LIBS="-lc  $LIBS"
23539
 
cat >conftest.$ac_ext <<_ACEOF
23540
 
/* confdefs.h.  */
23541
 
_ACEOF
23542
 
cat confdefs.h >>conftest.$ac_ext
23543
 
cat >>conftest.$ac_ext <<_ACEOF
23544
 
/* end confdefs.h.  */
23545
 
 
23546
 
/* Override any GCC internal prototype to avoid an error.
23547
 
   Use char because int might match the return type of a GCC
23548
 
   builtin and then its argument prototype would still apply.  */
23549
 
#ifdef __cplusplus
23550
 
extern "C"
23551
 
#endif
23552
 
char crypt ();
23553
 
int
23554
 
main ()
23555
 
{
23556
 
return crypt ();
23557
 
  ;
23558
 
  return 0;
23559
 
}
23560
 
_ACEOF
23561
 
rm -f conftest.$ac_objext conftest$ac_exeext
23562
 
if { (ac_try="$ac_link"
23563
 
case "(($ac_try" in
23564
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23565
 
  *) ac_try_echo=$ac_try;;
23566
 
esac
23567
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23568
 
  (eval "$ac_link") 2>conftest.er1
23569
 
  ac_status=$?
23570
 
  grep -v '^ *+' conftest.er1 >conftest.err
23571
 
  rm -f conftest.er1
23572
 
  cat conftest.err >&5
23573
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574
 
  (exit $ac_status); } && {
23575
 
         test -z "$ac_c_werror_flag" ||
23576
 
         test ! -s conftest.err
23577
 
       } && test -s conftest$ac_exeext &&
23578
 
       $as_test_x conftest$ac_exeext; then
23579
 
  ac_cv_lib_c_crypt=yes
23580
 
else
23581
 
  echo "$as_me: failed program was:" >&5
23582
 
sed 's/^/| /' conftest.$ac_ext >&5
23583
 
 
23584
 
        ac_cv_lib_c_crypt=no
23585
 
fi
23586
 
 
23587
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23588
 
      conftest$ac_exeext conftest.$ac_ext
23589
 
LIBS=$ac_check_lib_save_LIBS
23590
 
fi
23591
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
23592
 
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
23593
 
if test $ac_cv_lib_c_crypt = yes; then
23594
 
  kde_have_crypt=yes
23595
 
else
23596
 
 
23597
 
        { echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
23598
 
You should install libcrypt from another source or configure with PAM
23599
 
support" >&5
23600
 
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
23601
 
You should install libcrypt from another source or configure with PAM
23602
 
support" >&2;}
23603
 
        kde_have_crypt=no
23604
 
 
23605
 
fi
23606
 
 
23607
 
fi
23608
 
 
23609
 
 
23610
 
   if test $kde_have_crypt = yes; then
23611
 
 
23612
 
cat >>confdefs.h <<_ACEOF
23613
 
#define HAVE_CRYPT 1
23614
 
_ACEOF
23615
 
 
23616
 
   fi
23617
 
 
23618
 
   { echo "$as_me:$LINENO: checking for socklen_t" >&5
23619
 
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
23620
 
   if test "${kde_cv_socklen_t+set}" = set; then
23621
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23622
 
else
23623
 
 
23624
 
      ac_ext=cpp
23625
 
ac_cpp='$CXXCPP $CPPFLAGS'
23626
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23627
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23628
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23629
 
 
23630
 
      kde_cv_socklen_t=no
23631
 
      cat >conftest.$ac_ext <<_ACEOF
23632
 
/* confdefs.h.  */
23633
 
_ACEOF
23634
 
cat confdefs.h >>conftest.$ac_ext
23635
 
cat >>conftest.$ac_ext <<_ACEOF
23636
 
/* end confdefs.h.  */
23637
 
 
23638
 
         #include <sys/types.h>
23639
 
         #include <sys/socket.h>
23640
 
 
23641
 
int
23642
 
main ()
23643
 
{
23644
 
 
23645
 
         socklen_t len;
23646
 
         getpeername(0,0,&len);
23647
 
 
23648
 
  ;
23649
 
  return 0;
23650
 
}
23651
 
_ACEOF
23652
 
rm -f conftest.$ac_objext
23653
 
if { (ac_try="$ac_compile"
23654
 
case "(($ac_try" in
23655
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23656
 
  *) ac_try_echo=$ac_try;;
23657
 
esac
23658
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23659
 
  (eval "$ac_compile") 2>conftest.er1
23660
 
  ac_status=$?
23661
 
  grep -v '^ *+' conftest.er1 >conftest.err
23662
 
  rm -f conftest.er1
23663
 
  cat conftest.err >&5
23664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665
 
  (exit $ac_status); } && {
23666
 
         test -z "$ac_cxx_werror_flag" ||
23667
 
         test ! -s conftest.err
23668
 
       } && test -s conftest.$ac_objext; then
23669
 
 
23670
 
         kde_cv_socklen_t=yes
23671
 
         kde_cv_socklen_t_equiv=socklen_t
23672
 
 
23673
 
else
23674
 
  echo "$as_me: failed program was:" >&5
23675
 
sed 's/^/| /' conftest.$ac_ext >&5
23676
 
 
23677
 
 
23678
 
fi
23679
 
 
23680
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23681
 
      ac_ext=c
23682
 
ac_cpp='$CPP $CPPFLAGS'
23683
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23684
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23685
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23686
 
 
23687
 
 
23688
 
fi
23689
 
 
23690
 
   { echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
23691
 
echo "${ECHO_T}$kde_cv_socklen_t" >&6; }
23692
 
   if test $kde_cv_socklen_t = no; then
23693
 
      { echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
23694
 
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6; }
23695
 
      if test "${kde_cv_socklen_t_equiv+set}" = set; then
23696
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23697
 
else
23698
 
 
23699
 
         kde_cv_socklen_t_equiv=int
23700
 
         ac_ext=cpp
23701
 
ac_cpp='$CXXCPP $CPPFLAGS'
23702
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23703
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23704
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23705
 
 
23706
 
         for t in int size_t unsigned long "unsigned long"; do
23707
 
            cat >conftest.$ac_ext <<_ACEOF
23708
 
/* confdefs.h.  */
23709
 
_ACEOF
23710
 
cat confdefs.h >>conftest.$ac_ext
23711
 
cat >>conftest.$ac_ext <<_ACEOF
23712
 
/* end confdefs.h.  */
23713
 
 
23714
 
               #include <sys/types.h>
23715
 
               #include <sys/socket.h>
23716
 
 
23717
 
int
23718
 
main ()
23719
 
{
23720
 
 
23721
 
               $t len;
23722
 
               getpeername(0,0,&len);
23723
 
 
23724
 
  ;
23725
 
  return 0;
23726
 
}
23727
 
_ACEOF
23728
 
rm -f conftest.$ac_objext
23729
 
if { (ac_try="$ac_compile"
23730
 
case "(($ac_try" in
23731
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23732
 
  *) ac_try_echo=$ac_try;;
23733
 
esac
23734
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23735
 
  (eval "$ac_compile") 2>conftest.er1
23736
 
  ac_status=$?
23737
 
  grep -v '^ *+' conftest.er1 >conftest.err
23738
 
  rm -f conftest.er1
23739
 
  cat conftest.err >&5
23740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741
 
  (exit $ac_status); } && {
23742
 
         test -z "$ac_cxx_werror_flag" ||
23743
 
         test ! -s conftest.err
23744
 
       } && test -s conftest.$ac_objext; then
23745
 
 
23746
 
               kde_cv_socklen_t_equiv="$t"
23747
 
               break
23748
 
 
23749
 
else
23750
 
  echo "$as_me: failed program was:" >&5
23751
 
sed 's/^/| /' conftest.$ac_ext >&5
23752
 
 
23753
 
 
23754
 
fi
23755
 
 
23756
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23757
 
         done
23758
 
         ac_ext=c
23759
 
ac_cpp='$CPP $CPPFLAGS'
23760
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23761
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23762
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23763
 
 
23764
 
 
23765
 
fi
23766
 
 
23767
 
      { echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
23768
 
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6; }
23769
 
   fi
23770
 
 
23771
 
cat >>confdefs.h <<_ACEOF
23772
 
#define kde_socklen_t $kde_cv_socklen_t_equiv
23773
 
_ACEOF
23774
 
 
23775
 
 
23776
 
cat >>confdefs.h <<_ACEOF
23777
 
#define ksize_t $kde_cv_socklen_t_equiv
23778
 
_ACEOF
23779
 
 
23780
 
 
23781
 
   { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23782
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
23783
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23784
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23785
 
else
23786
 
  ac_check_lib_save_LIBS=$LIBS
23787
 
LIBS="-ldnet  $LIBS"
23788
 
cat >conftest.$ac_ext <<_ACEOF
23789
 
/* confdefs.h.  */
23790
 
_ACEOF
23791
 
cat confdefs.h >>conftest.$ac_ext
23792
 
cat >>conftest.$ac_ext <<_ACEOF
23793
 
/* end confdefs.h.  */
23794
 
 
23795
 
/* Override any GCC internal prototype to avoid an error.
23796
 
   Use char because int might match the return type of a GCC
23797
 
   builtin and then its argument prototype would still apply.  */
23798
 
#ifdef __cplusplus
23799
 
extern "C"
23800
 
#endif
23801
 
char dnet_ntoa ();
23802
 
int
23803
 
main ()
23804
 
{
23805
 
return dnet_ntoa ();
23806
 
  ;
23807
 
  return 0;
23808
 
}
23809
 
_ACEOF
23810
 
rm -f conftest.$ac_objext conftest$ac_exeext
23811
 
if { (ac_try="$ac_link"
23812
 
case "(($ac_try" in
23813
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23814
 
  *) ac_try_echo=$ac_try;;
23815
 
esac
23816
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23817
 
  (eval "$ac_link") 2>conftest.er1
23818
 
  ac_status=$?
23819
 
  grep -v '^ *+' conftest.er1 >conftest.err
23820
 
  rm -f conftest.er1
23821
 
  cat conftest.err >&5
23822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823
 
  (exit $ac_status); } && {
23824
 
         test -z "$ac_c_werror_flag" ||
23825
 
         test ! -s conftest.err
23826
 
       } && test -s conftest$ac_exeext &&
23827
 
       $as_test_x conftest$ac_exeext; then
23828
 
  ac_cv_lib_dnet_dnet_ntoa=yes
23829
 
else
23830
 
  echo "$as_me: failed program was:" >&5
23831
 
sed 's/^/| /' conftest.$ac_ext >&5
23832
 
 
23833
 
        ac_cv_lib_dnet_dnet_ntoa=no
23834
 
fi
23835
 
 
23836
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23837
 
      conftest$ac_exeext conftest.$ac_ext
23838
 
LIBS=$ac_check_lib_save_LIBS
23839
 
fi
23840
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23841
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23842
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23843
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23844
 
fi
23845
 
 
23846
 
   if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23847
 
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23848
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
23849
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23850
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23851
 
else
23852
 
  ac_check_lib_save_LIBS=$LIBS
23853
 
LIBS="-ldnet_stub  $LIBS"
23854
 
cat >conftest.$ac_ext <<_ACEOF
23855
 
/* confdefs.h.  */
23856
 
_ACEOF
23857
 
cat confdefs.h >>conftest.$ac_ext
23858
 
cat >>conftest.$ac_ext <<_ACEOF
23859
 
/* end confdefs.h.  */
23860
 
 
23861
 
/* Override any GCC internal prototype to avoid an error.
23862
 
   Use char because int might match the return type of a GCC
23863
 
   builtin and then its argument prototype would still apply.  */
23864
 
#ifdef __cplusplus
23865
 
extern "C"
23866
 
#endif
23867
 
char dnet_ntoa ();
23868
 
int
23869
 
main ()
23870
 
{
23871
 
return dnet_ntoa ();
23872
 
  ;
23873
 
  return 0;
23874
 
}
23875
 
_ACEOF
23876
 
rm -f conftest.$ac_objext conftest$ac_exeext
23877
 
if { (ac_try="$ac_link"
23878
 
case "(($ac_try" in
23879
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23880
 
  *) ac_try_echo=$ac_try;;
23881
 
esac
23882
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23883
 
  (eval "$ac_link") 2>conftest.er1
23884
 
  ac_status=$?
23885
 
  grep -v '^ *+' conftest.er1 >conftest.err
23886
 
  rm -f conftest.er1
23887
 
  cat conftest.err >&5
23888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889
 
  (exit $ac_status); } && {
23890
 
         test -z "$ac_c_werror_flag" ||
23891
 
         test ! -s conftest.err
23892
 
       } && test -s conftest$ac_exeext &&
23893
 
       $as_test_x conftest$ac_exeext; then
23894
 
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
23895
 
else
23896
 
  echo "$as_me: failed program was:" >&5
23897
 
sed 's/^/| /' conftest.$ac_ext >&5
23898
 
 
23899
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
23900
 
fi
23901
 
 
23902
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23903
 
      conftest$ac_exeext conftest.$ac_ext
23904
 
LIBS=$ac_check_lib_save_LIBS
23905
 
fi
23906
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23907
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23908
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23909
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23910
 
fi
23911
 
 
23912
 
   fi
23913
 
   { echo "$as_me:$LINENO: checking for inet_ntoa" >&5
23914
 
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6; }
23915
 
if test "${ac_cv_func_inet_ntoa+set}" = set; then
23916
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23917
 
else
23918
 
  cat >conftest.$ac_ext <<_ACEOF
23919
 
/* confdefs.h.  */
23920
 
_ACEOF
23921
 
cat confdefs.h >>conftest.$ac_ext
23922
 
cat >>conftest.$ac_ext <<_ACEOF
23923
 
/* end confdefs.h.  */
23924
 
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
23925
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23926
 
#define inet_ntoa innocuous_inet_ntoa
23927
 
 
23928
 
/* System header to define __stub macros and hopefully few prototypes,
23929
 
    which can conflict with char inet_ntoa (); below.
23930
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23931
 
    <limits.h> exists even on freestanding compilers.  */
23932
 
 
23933
 
#ifdef __STDC__
23934
 
# include <limits.h>
23935
 
#else
23936
 
# include <assert.h>
23937
 
#endif
23938
 
 
23939
 
#undef inet_ntoa
23940
 
 
23941
 
/* Override any GCC internal prototype to avoid an error.
23942
 
   Use char because int might match the return type of a GCC
23943
 
   builtin and then its argument prototype would still apply.  */
23944
 
#ifdef __cplusplus
23945
 
extern "C"
23946
 
#endif
23947
 
char inet_ntoa ();
23948
 
/* The GNU C library defines this for functions which it implements
23949
 
    to always fail with ENOSYS.  Some functions are actually named
23950
 
    something starting with __ and the normal name is an alias.  */
23951
 
#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
23952
 
choke me
23953
 
#endif
23954
 
 
23955
 
int
23956
 
main ()
23957
 
{
23958
 
return inet_ntoa ();
23959
 
  ;
23960
 
  return 0;
23961
 
}
23962
 
_ACEOF
23963
 
rm -f conftest.$ac_objext conftest$ac_exeext
23964
 
if { (ac_try="$ac_link"
23965
 
case "(($ac_try" in
23966
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23967
 
  *) ac_try_echo=$ac_try;;
23968
 
esac
23969
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23970
 
  (eval "$ac_link") 2>conftest.er1
23971
 
  ac_status=$?
23972
 
  grep -v '^ *+' conftest.er1 >conftest.err
23973
 
  rm -f conftest.er1
23974
 
  cat conftest.err >&5
23975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976
 
  (exit $ac_status); } && {
23977
 
         test -z "$ac_c_werror_flag" ||
23978
 
         test ! -s conftest.err
23979
 
       } && test -s conftest$ac_exeext &&
23980
 
       $as_test_x conftest$ac_exeext; then
23981
 
  ac_cv_func_inet_ntoa=yes
23982
 
else
23983
 
  echo "$as_me: failed program was:" >&5
23984
 
sed 's/^/| /' conftest.$ac_ext >&5
23985
 
 
23986
 
        ac_cv_func_inet_ntoa=no
23987
 
fi
23988
 
 
23989
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23990
 
      conftest$ac_exeext conftest.$ac_ext
23991
 
fi
23992
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
23993
 
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6; }
23994
 
 
23995
 
   if test $ac_cv_func_inet_ntoa = no; then
23996
 
     { echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
23997
 
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6; }
23998
 
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
23999
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24000
 
else
24001
 
  ac_check_lib_save_LIBS=$LIBS
24002
 
LIBS="-lnsl  $LIBS"
24003
 
cat >conftest.$ac_ext <<_ACEOF
24004
 
/* confdefs.h.  */
24005
 
_ACEOF
24006
 
cat confdefs.h >>conftest.$ac_ext
24007
 
cat >>conftest.$ac_ext <<_ACEOF
24008
 
/* end confdefs.h.  */
24009
 
 
24010
 
/* Override any GCC internal prototype to avoid an error.
24011
 
   Use char because int might match the return type of a GCC
24012
 
   builtin and then its argument prototype would still apply.  */
24013
 
#ifdef __cplusplus
24014
 
extern "C"
24015
 
#endif
24016
 
char inet_ntoa ();
24017
 
int
24018
 
main ()
24019
 
{
24020
 
return inet_ntoa ();
24021
 
  ;
24022
 
  return 0;
24023
 
}
24024
 
_ACEOF
24025
 
rm -f conftest.$ac_objext conftest$ac_exeext
24026
 
if { (ac_try="$ac_link"
24027
 
case "(($ac_try" in
24028
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24029
 
  *) ac_try_echo=$ac_try;;
24030
 
esac
24031
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24032
 
  (eval "$ac_link") 2>conftest.er1
24033
 
  ac_status=$?
24034
 
  grep -v '^ *+' conftest.er1 >conftest.err
24035
 
  rm -f conftest.er1
24036
 
  cat conftest.err >&5
24037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038
 
  (exit $ac_status); } && {
24039
 
         test -z "$ac_c_werror_flag" ||
24040
 
         test ! -s conftest.err
24041
 
       } && test -s conftest$ac_exeext &&
24042
 
       $as_test_x conftest$ac_exeext; then
24043
 
  ac_cv_lib_nsl_inet_ntoa=yes
24044
 
else
24045
 
  echo "$as_me: failed program was:" >&5
24046
 
sed 's/^/| /' conftest.$ac_ext >&5
24047
 
 
24048
 
        ac_cv_lib_nsl_inet_ntoa=no
24049
 
fi
24050
 
 
24051
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24052
 
      conftest$ac_exeext conftest.$ac_ext
24053
 
LIBS=$ac_check_lib_save_LIBS
24054
 
fi
24055
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
24056
 
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6; }
24057
 
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
24058
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24059
 
fi
24060
 
 
24061
 
   fi
24062
 
   { echo "$as_me:$LINENO: checking for connect" >&5
24063
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
24064
 
if test "${ac_cv_func_connect+set}" = set; then
24065
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24066
 
else
24067
 
  cat >conftest.$ac_ext <<_ACEOF
24068
 
/* confdefs.h.  */
24069
 
_ACEOF
24070
 
cat confdefs.h >>conftest.$ac_ext
24071
 
cat >>conftest.$ac_ext <<_ACEOF
24072
 
/* end confdefs.h.  */
24073
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
24074
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24075
 
#define connect innocuous_connect
24076
 
 
24077
 
/* System header to define __stub macros and hopefully few prototypes,
24078
 
    which can conflict with char connect (); below.
24079
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24080
 
    <limits.h> exists even on freestanding compilers.  */
24081
 
 
24082
 
#ifdef __STDC__
24083
 
# include <limits.h>
24084
 
#else
24085
 
# include <assert.h>
24086
 
#endif
24087
 
 
24088
 
#undef connect
24089
 
 
24090
 
/* Override any GCC internal prototype to avoid an error.
24091
 
   Use char because int might match the return type of a GCC
24092
 
   builtin and then its argument prototype would still apply.  */
24093
 
#ifdef __cplusplus
24094
 
extern "C"
24095
 
#endif
24096
 
char connect ();
24097
 
/* The GNU C library defines this for functions which it implements
24098
 
    to always fail with ENOSYS.  Some functions are actually named
24099
 
    something starting with __ and the normal name is an alias.  */
24100
 
#if defined __stub_connect || defined __stub___connect
24101
 
choke me
24102
 
#endif
24103
 
 
24104
 
int
24105
 
main ()
24106
 
{
24107
 
return connect ();
24108
 
  ;
24109
 
  return 0;
24110
 
}
24111
 
_ACEOF
24112
 
rm -f conftest.$ac_objext conftest$ac_exeext
24113
 
if { (ac_try="$ac_link"
24114
 
case "(($ac_try" in
24115
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24116
 
  *) ac_try_echo=$ac_try;;
24117
 
esac
24118
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24119
 
  (eval "$ac_link") 2>conftest.er1
24120
 
  ac_status=$?
24121
 
  grep -v '^ *+' conftest.er1 >conftest.err
24122
 
  rm -f conftest.er1
24123
 
  cat conftest.err >&5
24124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125
 
  (exit $ac_status); } && {
24126
 
         test -z "$ac_c_werror_flag" ||
24127
 
         test ! -s conftest.err
24128
 
       } && test -s conftest$ac_exeext &&
24129
 
       $as_test_x conftest$ac_exeext; then
24130
 
  ac_cv_func_connect=yes
24131
 
else
24132
 
  echo "$as_me: failed program was:" >&5
24133
 
sed 's/^/| /' conftest.$ac_ext >&5
24134
 
 
24135
 
        ac_cv_func_connect=no
24136
 
fi
24137
 
 
24138
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24139
 
      conftest$ac_exeext conftest.$ac_ext
24140
 
fi
24141
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24142
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
24143
 
 
24144
 
   if test $ac_cv_func_connect = no; then
24145
 
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24146
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
24147
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
24148
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24149
 
else
24150
 
  ac_check_lib_save_LIBS=$LIBS
24151
 
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24152
 
cat >conftest.$ac_ext <<_ACEOF
24153
 
/* confdefs.h.  */
24154
 
_ACEOF
24155
 
cat confdefs.h >>conftest.$ac_ext
24156
 
cat >>conftest.$ac_ext <<_ACEOF
24157
 
/* end confdefs.h.  */
24158
 
 
24159
 
/* Override any GCC internal prototype to avoid an error.
24160
 
   Use char because int might match the return type of a GCC
24161
 
   builtin and then its argument prototype would still apply.  */
24162
 
#ifdef __cplusplus
24163
 
extern "C"
24164
 
#endif
24165
 
char connect ();
24166
 
int
24167
 
main ()
24168
 
{
24169
 
return connect ();
24170
 
  ;
24171
 
  return 0;
24172
 
}
24173
 
_ACEOF
24174
 
rm -f conftest.$ac_objext conftest$ac_exeext
24175
 
if { (ac_try="$ac_link"
24176
 
case "(($ac_try" in
24177
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24178
 
  *) ac_try_echo=$ac_try;;
24179
 
esac
24180
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24181
 
  (eval "$ac_link") 2>conftest.er1
24182
 
  ac_status=$?
24183
 
  grep -v '^ *+' conftest.er1 >conftest.err
24184
 
  rm -f conftest.er1
24185
 
  cat conftest.err >&5
24186
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187
 
  (exit $ac_status); } && {
24188
 
         test -z "$ac_c_werror_flag" ||
24189
 
         test ! -s conftest.err
24190
 
       } && test -s conftest$ac_exeext &&
24191
 
       $as_test_x conftest$ac_exeext; then
24192
 
  ac_cv_lib_socket_connect=yes
24193
 
else
24194
 
  echo "$as_me: failed program was:" >&5
24195
 
sed 's/^/| /' conftest.$ac_ext >&5
24196
 
 
24197
 
        ac_cv_lib_socket_connect=no
24198
 
fi
24199
 
 
24200
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24201
 
      conftest$ac_exeext conftest.$ac_ext
24202
 
LIBS=$ac_check_lib_save_LIBS
24203
 
fi
24204
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24205
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
24206
 
if test $ac_cv_lib_socket_connect = yes; then
24207
 
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24208
 
fi
24209
 
 
24210
 
   fi
24211
 
 
24212
 
   { echo "$as_me:$LINENO: checking for remove" >&5
24213
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
24214
 
if test "${ac_cv_func_remove+set}" = set; then
24215
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24216
 
else
24217
 
  cat >conftest.$ac_ext <<_ACEOF
24218
 
/* confdefs.h.  */
24219
 
_ACEOF
24220
 
cat confdefs.h >>conftest.$ac_ext
24221
 
cat >>conftest.$ac_ext <<_ACEOF
24222
 
/* end confdefs.h.  */
24223
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
24224
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24225
 
#define remove innocuous_remove
24226
 
 
24227
 
/* System header to define __stub macros and hopefully few prototypes,
24228
 
    which can conflict with char remove (); below.
24229
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24230
 
    <limits.h> exists even on freestanding compilers.  */
24231
 
 
24232
 
#ifdef __STDC__
24233
 
# include <limits.h>
24234
 
#else
24235
 
# include <assert.h>
24236
 
#endif
24237
 
 
24238
 
#undef remove
24239
 
 
24240
 
/* Override any GCC internal prototype to avoid an error.
24241
 
   Use char because int might match the return type of a GCC
24242
 
   builtin and then its argument prototype would still apply.  */
24243
 
#ifdef __cplusplus
24244
 
extern "C"
24245
 
#endif
24246
 
char remove ();
24247
 
/* The GNU C library defines this for functions which it implements
24248
 
    to always fail with ENOSYS.  Some functions are actually named
24249
 
    something starting with __ and the normal name is an alias.  */
24250
 
#if defined __stub_remove || defined __stub___remove
24251
 
choke me
24252
 
#endif
24253
 
 
24254
 
int
24255
 
main ()
24256
 
{
24257
 
return remove ();
24258
 
  ;
24259
 
  return 0;
24260
 
}
24261
 
_ACEOF
24262
 
rm -f conftest.$ac_objext conftest$ac_exeext
24263
 
if { (ac_try="$ac_link"
24264
 
case "(($ac_try" in
24265
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24266
 
  *) ac_try_echo=$ac_try;;
24267
 
esac
24268
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24269
 
  (eval "$ac_link") 2>conftest.er1
24270
 
  ac_status=$?
24271
 
  grep -v '^ *+' conftest.er1 >conftest.err
24272
 
  rm -f conftest.er1
24273
 
  cat conftest.err >&5
24274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275
 
  (exit $ac_status); } && {
24276
 
         test -z "$ac_c_werror_flag" ||
24277
 
         test ! -s conftest.err
24278
 
       } && test -s conftest$ac_exeext &&
24279
 
       $as_test_x conftest$ac_exeext; then
24280
 
  ac_cv_func_remove=yes
24281
 
else
24282
 
  echo "$as_me: failed program was:" >&5
24283
 
sed 's/^/| /' conftest.$ac_ext >&5
24284
 
 
24285
 
        ac_cv_func_remove=no
24286
 
fi
24287
 
 
24288
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24289
 
      conftest$ac_exeext conftest.$ac_ext
24290
 
fi
24291
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24292
 
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
24293
 
 
24294
 
   if test $ac_cv_func_remove = no; then
24295
 
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24296
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
24297
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
24298
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24299
 
else
24300
 
  ac_check_lib_save_LIBS=$LIBS
24301
 
LIBS="-lposix  $LIBS"
24302
 
cat >conftest.$ac_ext <<_ACEOF
24303
 
/* confdefs.h.  */
24304
 
_ACEOF
24305
 
cat confdefs.h >>conftest.$ac_ext
24306
 
cat >>conftest.$ac_ext <<_ACEOF
24307
 
/* end confdefs.h.  */
24308
 
 
24309
 
/* Override any GCC internal prototype to avoid an error.
24310
 
   Use char because int might match the return type of a GCC
24311
 
   builtin and then its argument prototype would still apply.  */
24312
 
#ifdef __cplusplus
24313
 
extern "C"
24314
 
#endif
24315
 
char remove ();
24316
 
int
24317
 
main ()
24318
 
{
24319
 
return remove ();
24320
 
  ;
24321
 
  return 0;
24322
 
}
24323
 
_ACEOF
24324
 
rm -f conftest.$ac_objext conftest$ac_exeext
24325
 
if { (ac_try="$ac_link"
24326
 
case "(($ac_try" in
24327
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24328
 
  *) ac_try_echo=$ac_try;;
24329
 
esac
24330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24331
 
  (eval "$ac_link") 2>conftest.er1
24332
 
  ac_status=$?
24333
 
  grep -v '^ *+' conftest.er1 >conftest.err
24334
 
  rm -f conftest.er1
24335
 
  cat conftest.err >&5
24336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337
 
  (exit $ac_status); } && {
24338
 
         test -z "$ac_c_werror_flag" ||
24339
 
         test ! -s conftest.err
24340
 
       } && test -s conftest$ac_exeext &&
24341
 
       $as_test_x conftest$ac_exeext; then
24342
 
  ac_cv_lib_posix_remove=yes
24343
 
else
24344
 
  echo "$as_me: failed program was:" >&5
24345
 
sed 's/^/| /' conftest.$ac_ext >&5
24346
 
 
24347
 
        ac_cv_lib_posix_remove=no
24348
 
fi
24349
 
 
24350
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24351
 
      conftest$ac_exeext conftest.$ac_ext
24352
 
LIBS=$ac_check_lib_save_LIBS
24353
 
fi
24354
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24355
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
24356
 
if test $ac_cv_lib_posix_remove = yes; then
24357
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24358
 
fi
24359
 
 
24360
 
   fi
24361
 
 
24362
 
   # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24363
 
   { echo "$as_me:$LINENO: checking for shmat" >&5
24364
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
24365
 
if test "${ac_cv_func_shmat+set}" = set; then
24366
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24367
 
else
24368
 
  cat >conftest.$ac_ext <<_ACEOF
24369
 
/* confdefs.h.  */
24370
 
_ACEOF
24371
 
cat confdefs.h >>conftest.$ac_ext
24372
 
cat >>conftest.$ac_ext <<_ACEOF
24373
 
/* end confdefs.h.  */
24374
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24375
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24376
 
#define shmat innocuous_shmat
24377
 
 
24378
 
/* System header to define __stub macros and hopefully few prototypes,
24379
 
    which can conflict with char shmat (); below.
24380
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24381
 
    <limits.h> exists even on freestanding compilers.  */
24382
 
 
24383
 
#ifdef __STDC__
24384
 
# include <limits.h>
24385
 
#else
24386
 
# include <assert.h>
24387
 
#endif
24388
 
 
24389
 
#undef shmat
24390
 
 
24391
 
/* Override any GCC internal prototype to avoid an error.
24392
 
   Use char because int might match the return type of a GCC
24393
 
   builtin and then its argument prototype would still apply.  */
24394
 
#ifdef __cplusplus
24395
 
extern "C"
24396
 
#endif
24397
 
char shmat ();
24398
 
/* The GNU C library defines this for functions which it implements
24399
 
    to always fail with ENOSYS.  Some functions are actually named
24400
 
    something starting with __ and the normal name is an alias.  */
24401
 
#if defined __stub_shmat || defined __stub___shmat
24402
 
choke me
24403
 
#endif
24404
 
 
24405
 
int
24406
 
main ()
24407
 
{
24408
 
return shmat ();
24409
 
  ;
24410
 
  return 0;
24411
 
}
24412
 
_ACEOF
24413
 
rm -f conftest.$ac_objext conftest$ac_exeext
24414
 
if { (ac_try="$ac_link"
24415
 
case "(($ac_try" in
24416
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24417
 
  *) ac_try_echo=$ac_try;;
24418
 
esac
24419
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24420
 
  (eval "$ac_link") 2>conftest.er1
24421
 
  ac_status=$?
24422
 
  grep -v '^ *+' conftest.er1 >conftest.err
24423
 
  rm -f conftest.er1
24424
 
  cat conftest.err >&5
24425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426
 
  (exit $ac_status); } && {
24427
 
         test -z "$ac_c_werror_flag" ||
24428
 
         test ! -s conftest.err
24429
 
       } && test -s conftest$ac_exeext &&
24430
 
       $as_test_x conftest$ac_exeext; then
24431
 
  ac_cv_func_shmat=yes
24432
 
else
24433
 
  echo "$as_me: failed program was:" >&5
24434
 
sed 's/^/| /' conftest.$ac_ext >&5
24435
 
 
24436
 
        ac_cv_func_shmat=no
24437
 
fi
24438
 
 
24439
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24440
 
      conftest$ac_exeext conftest.$ac_ext
24441
 
fi
24442
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24443
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
24444
 
if test $ac_cv_func_shmat = yes; then
24445
 
  :
24446
 
else
24447
 
  { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24448
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
24449
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24450
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24451
 
else
24452
 
  ac_check_lib_save_LIBS=$LIBS
24453
 
LIBS="-lipc  $LIBS"
24454
 
cat >conftest.$ac_ext <<_ACEOF
24455
 
/* confdefs.h.  */
24456
 
_ACEOF
24457
 
cat confdefs.h >>conftest.$ac_ext
24458
 
cat >>conftest.$ac_ext <<_ACEOF
24459
 
/* end confdefs.h.  */
24460
 
 
24461
 
/* Override any GCC internal prototype to avoid an error.
24462
 
   Use char because int might match the return type of a GCC
24463
 
   builtin and then its argument prototype would still apply.  */
24464
 
#ifdef __cplusplus
24465
 
extern "C"
24466
 
#endif
24467
 
char shmat ();
24468
 
int
24469
 
main ()
24470
 
{
24471
 
return shmat ();
24472
 
  ;
24473
 
  return 0;
24474
 
}
24475
 
_ACEOF
24476
 
rm -f conftest.$ac_objext conftest$ac_exeext
24477
 
if { (ac_try="$ac_link"
24478
 
case "(($ac_try" in
24479
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24480
 
  *) ac_try_echo=$ac_try;;
24481
 
esac
24482
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24483
 
  (eval "$ac_link") 2>conftest.er1
24484
 
  ac_status=$?
24485
 
  grep -v '^ *+' conftest.er1 >conftest.err
24486
 
  rm -f conftest.er1
24487
 
  cat conftest.err >&5
24488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489
 
  (exit $ac_status); } && {
24490
 
         test -z "$ac_c_werror_flag" ||
24491
 
         test ! -s conftest.err
24492
 
       } && test -s conftest$ac_exeext &&
24493
 
       $as_test_x conftest$ac_exeext; then
24494
 
  ac_cv_lib_ipc_shmat=yes
24495
 
else
24496
 
  echo "$as_me: failed program was:" >&5
24497
 
sed 's/^/| /' conftest.$ac_ext >&5
24498
 
 
24499
 
        ac_cv_lib_ipc_shmat=no
24500
 
fi
24501
 
 
24502
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24503
 
      conftest$ac_exeext conftest.$ac_ext
24504
 
LIBS=$ac_check_lib_save_LIBS
24505
 
fi
24506
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24507
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
24508
 
if test $ac_cv_lib_ipc_shmat = yes; then
24509
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24510
 
fi
24511
 
 
24512
 
fi
24513
 
 
24514
 
 
24515
 
   # more headers that need to be explicitly included on darwin
24516
 
 
24517
 
 
24518
 
for ac_header in sys/types.h stdint.h
24519
 
do
24520
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24521
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24522
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24523
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24524
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24525
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24526
 
fi
24527
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24528
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24529
 
echo "${ECHO_T}$ac_res" >&6; }
24530
 
else
24531
 
  # Is the header compilable?
24532
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24533
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24534
 
cat >conftest.$ac_ext <<_ACEOF
24535
 
/* confdefs.h.  */
24536
 
_ACEOF
24537
 
cat confdefs.h >>conftest.$ac_ext
24538
 
cat >>conftest.$ac_ext <<_ACEOF
24539
 
/* end confdefs.h.  */
24540
 
$ac_includes_default
24541
 
#include <$ac_header>
24542
 
_ACEOF
24543
 
rm -f conftest.$ac_objext
24544
 
if { (ac_try="$ac_compile"
24545
 
case "(($ac_try" in
24546
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24547
 
  *) ac_try_echo=$ac_try;;
24548
 
esac
24549
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24550
 
  (eval "$ac_compile") 2>conftest.er1
24551
 
  ac_status=$?
24552
 
  grep -v '^ *+' conftest.er1 >conftest.err
24553
 
  rm -f conftest.er1
24554
 
  cat conftest.err >&5
24555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556
 
  (exit $ac_status); } && {
24557
 
         test -z "$ac_c_werror_flag" ||
24558
 
         test ! -s conftest.err
24559
 
       } && test -s conftest.$ac_objext; then
24560
 
  ac_header_compiler=yes
24561
 
else
24562
 
  echo "$as_me: failed program was:" >&5
24563
 
sed 's/^/| /' conftest.$ac_ext >&5
24564
 
 
24565
 
        ac_header_compiler=no
24566
 
fi
24567
 
 
24568
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24569
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24570
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24571
 
 
24572
 
# Is the header present?
24573
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24574
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24575
 
cat >conftest.$ac_ext <<_ACEOF
24576
 
/* confdefs.h.  */
24577
 
_ACEOF
24578
 
cat confdefs.h >>conftest.$ac_ext
24579
 
cat >>conftest.$ac_ext <<_ACEOF
24580
 
/* end confdefs.h.  */
24581
 
#include <$ac_header>
24582
 
_ACEOF
24583
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24584
 
case "(($ac_try" in
24585
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24586
 
  *) ac_try_echo=$ac_try;;
24587
 
esac
24588
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24589
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24590
 
  ac_status=$?
24591
 
  grep -v '^ *+' conftest.er1 >conftest.err
24592
 
  rm -f conftest.er1
24593
 
  cat conftest.err >&5
24594
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595
 
  (exit $ac_status); } >/dev/null && {
24596
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24597
 
         test ! -s conftest.err
24598
 
       }; then
24599
 
  ac_header_preproc=yes
24600
 
else
24601
 
  echo "$as_me: failed program was:" >&5
24602
 
sed 's/^/| /' conftest.$ac_ext >&5
24603
 
 
24604
 
  ac_header_preproc=no
24605
 
fi
24606
 
 
24607
 
rm -f conftest.err conftest.$ac_ext
24608
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24609
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24610
 
 
24611
 
# So?  What about this header?
24612
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24613
 
  yes:no: )
24614
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24615
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24616
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24617
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24618
 
    ac_header_preproc=yes
24619
 
    ;;
24620
 
  no:yes:* )
24621
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24622
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24623
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24624
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24625
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24626
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24627
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24628
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24629
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24630
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24631
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24632
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24633
 
 
24634
 
    ;;
24635
 
esac
24636
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24637
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24638
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24639
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24640
 
else
24641
 
  eval "$as_ac_Header=\$ac_header_preproc"
24642
 
fi
24643
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24644
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24645
 
echo "${ECHO_T}$ac_res" >&6; }
24646
 
 
24647
 
fi
24648
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24649
 
  cat >>confdefs.h <<_ACEOF
24650
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24651
 
_ACEOF
24652
 
 
24653
 
fi
24654
 
 
24655
 
done
24656
 
 
24657
 
 
24658
 
   # sys/bitypes.h is needed for uint32_t and friends on Tru64
24659
 
 
24660
 
for ac_header in sys/bitypes.h
24661
 
do
24662
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24663
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24664
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24665
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24666
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24667
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24668
 
fi
24669
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24670
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24671
 
echo "${ECHO_T}$ac_res" >&6; }
24672
 
else
24673
 
  # Is the header compilable?
24674
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24675
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24676
 
cat >conftest.$ac_ext <<_ACEOF
24677
 
/* confdefs.h.  */
24678
 
_ACEOF
24679
 
cat confdefs.h >>conftest.$ac_ext
24680
 
cat >>conftest.$ac_ext <<_ACEOF
24681
 
/* end confdefs.h.  */
24682
 
$ac_includes_default
24683
 
#include <$ac_header>
24684
 
_ACEOF
24685
 
rm -f conftest.$ac_objext
24686
 
if { (ac_try="$ac_compile"
24687
 
case "(($ac_try" in
24688
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24689
 
  *) ac_try_echo=$ac_try;;
24690
 
esac
24691
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24692
 
  (eval "$ac_compile") 2>conftest.er1
24693
 
  ac_status=$?
24694
 
  grep -v '^ *+' conftest.er1 >conftest.err
24695
 
  rm -f conftest.er1
24696
 
  cat conftest.err >&5
24697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698
 
  (exit $ac_status); } && {
24699
 
         test -z "$ac_c_werror_flag" ||
24700
 
         test ! -s conftest.err
24701
 
       } && test -s conftest.$ac_objext; then
24702
 
  ac_header_compiler=yes
24703
 
else
24704
 
  echo "$as_me: failed program was:" >&5
24705
 
sed 's/^/| /' conftest.$ac_ext >&5
24706
 
 
24707
 
        ac_header_compiler=no
24708
 
fi
24709
 
 
24710
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24711
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24712
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24713
 
 
24714
 
# Is the header present?
24715
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24716
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24717
 
cat >conftest.$ac_ext <<_ACEOF
24718
 
/* confdefs.h.  */
24719
 
_ACEOF
24720
 
cat confdefs.h >>conftest.$ac_ext
24721
 
cat >>conftest.$ac_ext <<_ACEOF
24722
 
/* end confdefs.h.  */
24723
 
#include <$ac_header>
24724
 
_ACEOF
24725
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24726
 
case "(($ac_try" in
24727
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728
 
  *) ac_try_echo=$ac_try;;
24729
 
esac
24730
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24732
 
  ac_status=$?
24733
 
  grep -v '^ *+' conftest.er1 >conftest.err
24734
 
  rm -f conftest.er1
24735
 
  cat conftest.err >&5
24736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737
 
  (exit $ac_status); } >/dev/null && {
24738
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24739
 
         test ! -s conftest.err
24740
 
       }; then
24741
 
  ac_header_preproc=yes
24742
 
else
24743
 
  echo "$as_me: failed program was:" >&5
24744
 
sed 's/^/| /' conftest.$ac_ext >&5
24745
 
 
24746
 
  ac_header_preproc=no
24747
 
fi
24748
 
 
24749
 
rm -f conftest.err conftest.$ac_ext
24750
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24751
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24752
 
 
24753
 
# So?  What about this header?
24754
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24755
 
  yes:no: )
24756
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24757
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24758
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24759
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24760
 
    ac_header_preproc=yes
24761
 
    ;;
24762
 
  no:yes:* )
24763
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24764
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24765
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24766
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24767
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24768
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24769
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24770
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24771
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24772
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24773
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24774
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24775
 
 
24776
 
    ;;
24777
 
esac
24778
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24779
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24780
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24781
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24782
 
else
24783
 
  eval "$as_ac_Header=\$ac_header_preproc"
24784
 
fi
24785
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24786
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24787
 
echo "${ECHO_T}$ac_res" >&6; }
24788
 
 
24789
 
fi
24790
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24791
 
  cat >>confdefs.h <<_ACEOF
24792
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24793
 
_ACEOF
24794
 
 
24795
 
fi
24796
 
 
24797
 
done
24798
 
 
24799
 
 
24800
 
   # darwin requires a poll emulation library
24801
 
   { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
24802
 
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
24803
 
if test "${ac_cv_lib_poll_poll+set}" = set; then
24804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24805
 
else
24806
 
  ac_check_lib_save_LIBS=$LIBS
24807
 
LIBS="-lpoll  $LIBS"
24808
 
cat >conftest.$ac_ext <<_ACEOF
24809
 
/* confdefs.h.  */
24810
 
_ACEOF
24811
 
cat confdefs.h >>conftest.$ac_ext
24812
 
cat >>conftest.$ac_ext <<_ACEOF
24813
 
/* end confdefs.h.  */
24814
 
 
24815
 
/* Override any GCC internal prototype to avoid an error.
24816
 
   Use char because int might match the return type of a GCC
24817
 
   builtin and then its argument prototype would still apply.  */
24818
 
#ifdef __cplusplus
24819
 
extern "C"
24820
 
#endif
24821
 
char poll ();
24822
 
int
24823
 
main ()
24824
 
{
24825
 
return poll ();
24826
 
  ;
24827
 
  return 0;
24828
 
}
24829
 
_ACEOF
24830
 
rm -f conftest.$ac_objext conftest$ac_exeext
24831
 
if { (ac_try="$ac_link"
24832
 
case "(($ac_try" in
24833
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24834
 
  *) ac_try_echo=$ac_try;;
24835
 
esac
24836
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24837
 
  (eval "$ac_link") 2>conftest.er1
24838
 
  ac_status=$?
24839
 
  grep -v '^ *+' conftest.er1 >conftest.err
24840
 
  rm -f conftest.er1
24841
 
  cat conftest.err >&5
24842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843
 
  (exit $ac_status); } && {
24844
 
         test -z "$ac_c_werror_flag" ||
24845
 
         test ! -s conftest.err
24846
 
       } && test -s conftest$ac_exeext &&
24847
 
       $as_test_x conftest$ac_exeext; then
24848
 
  ac_cv_lib_poll_poll=yes
24849
 
else
24850
 
  echo "$as_me: failed program was:" >&5
24851
 
sed 's/^/| /' conftest.$ac_ext >&5
24852
 
 
24853
 
        ac_cv_lib_poll_poll=no
24854
 
fi
24855
 
 
24856
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24857
 
      conftest$ac_exeext conftest.$ac_ext
24858
 
LIBS=$ac_check_lib_save_LIBS
24859
 
fi
24860
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
24861
 
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
24862
 
if test $ac_cv_lib_poll_poll = yes; then
24863
 
  LIB_POLL="-lpoll"
24864
 
fi
24865
 
 
24866
 
 
24867
 
   # for some image handling on Mac OS X
24868
 
 
24869
 
for ac_header in Carbon/Carbon.h
24870
 
do
24871
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24872
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24873
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24874
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24875
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24877
 
fi
24878
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24879
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24880
 
echo "${ECHO_T}$ac_res" >&6; }
24881
 
else
24882
 
  # Is the header compilable?
24883
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24884
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24885
 
cat >conftest.$ac_ext <<_ACEOF
24886
 
/* confdefs.h.  */
24887
 
_ACEOF
24888
 
cat confdefs.h >>conftest.$ac_ext
24889
 
cat >>conftest.$ac_ext <<_ACEOF
24890
 
/* end confdefs.h.  */
24891
 
$ac_includes_default
24892
 
#include <$ac_header>
24893
 
_ACEOF
24894
 
rm -f conftest.$ac_objext
24895
 
if { (ac_try="$ac_compile"
24896
 
case "(($ac_try" in
24897
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24898
 
  *) ac_try_echo=$ac_try;;
24899
 
esac
24900
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24901
 
  (eval "$ac_compile") 2>conftest.er1
24902
 
  ac_status=$?
24903
 
  grep -v '^ *+' conftest.er1 >conftest.err
24904
 
  rm -f conftest.er1
24905
 
  cat conftest.err >&5
24906
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907
 
  (exit $ac_status); } && {
24908
 
         test -z "$ac_c_werror_flag" ||
24909
 
         test ! -s conftest.err
24910
 
       } && test -s conftest.$ac_objext; then
24911
 
  ac_header_compiler=yes
24912
 
else
24913
 
  echo "$as_me: failed program was:" >&5
24914
 
sed 's/^/| /' conftest.$ac_ext >&5
24915
 
 
24916
 
        ac_header_compiler=no
24917
 
fi
24918
 
 
24919
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24920
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24921
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24922
 
 
24923
 
# Is the header present?
24924
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24925
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24926
 
cat >conftest.$ac_ext <<_ACEOF
24927
 
/* confdefs.h.  */
24928
 
_ACEOF
24929
 
cat confdefs.h >>conftest.$ac_ext
24930
 
cat >>conftest.$ac_ext <<_ACEOF
24931
 
/* end confdefs.h.  */
24932
 
#include <$ac_header>
24933
 
_ACEOF
24934
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24935
 
case "(($ac_try" in
24936
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24937
 
  *) ac_try_echo=$ac_try;;
24938
 
esac
24939
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24940
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24941
 
  ac_status=$?
24942
 
  grep -v '^ *+' conftest.er1 >conftest.err
24943
 
  rm -f conftest.er1
24944
 
  cat conftest.err >&5
24945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946
 
  (exit $ac_status); } >/dev/null && {
24947
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24948
 
         test ! -s conftest.err
24949
 
       }; then
24950
 
  ac_header_preproc=yes
24951
 
else
24952
 
  echo "$as_me: failed program was:" >&5
24953
 
sed 's/^/| /' conftest.$ac_ext >&5
24954
 
 
24955
 
  ac_header_preproc=no
24956
 
fi
24957
 
 
24958
 
rm -f conftest.err conftest.$ac_ext
24959
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24960
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24961
 
 
24962
 
# So?  What about this header?
24963
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24964
 
  yes:no: )
24965
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24966
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24967
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24968
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24969
 
    ac_header_preproc=yes
24970
 
    ;;
24971
 
  no:yes:* )
24972
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24973
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24974
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24975
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24976
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24977
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24978
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24979
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24980
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24981
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24982
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24983
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24984
 
 
24985
 
    ;;
24986
 
esac
24987
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24988
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24989
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24991
 
else
24992
 
  eval "$as_ac_Header=\$ac_header_preproc"
24993
 
fi
24994
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24995
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24996
 
echo "${ECHO_T}$ac_res" >&6; }
24997
 
 
24998
 
fi
24999
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25000
 
  cat >>confdefs.h <<_ACEOF
25001
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25002
 
_ACEOF
25003
 
 
25004
 
fi
25005
 
 
25006
 
done
25007
 
 
25008
 
 
25009
 
   # CoreAudio framework
25010
 
   if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25011
 
  { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25012
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
25013
 
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25014
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25015
 
fi
25016
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25017
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25018
 
else
25019
 
  # Is the header compilable?
25020
 
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
25021
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
25022
 
cat >conftest.$ac_ext <<_ACEOF
25023
 
/* confdefs.h.  */
25024
 
_ACEOF
25025
 
cat confdefs.h >>conftest.$ac_ext
25026
 
cat >>conftest.$ac_ext <<_ACEOF
25027
 
/* end confdefs.h.  */
25028
 
$ac_includes_default
25029
 
#include <CoreAudio/CoreAudio.h>
25030
 
_ACEOF
25031
 
rm -f conftest.$ac_objext
25032
 
if { (ac_try="$ac_compile"
25033
 
case "(($ac_try" in
25034
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25035
 
  *) ac_try_echo=$ac_try;;
25036
 
esac
25037
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25038
 
  (eval "$ac_compile") 2>conftest.er1
25039
 
  ac_status=$?
25040
 
  grep -v '^ *+' conftest.er1 >conftest.err
25041
 
  rm -f conftest.er1
25042
 
  cat conftest.err >&5
25043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25044
 
  (exit $ac_status); } && {
25045
 
         test -z "$ac_c_werror_flag" ||
25046
 
         test ! -s conftest.err
25047
 
       } && test -s conftest.$ac_objext; then
25048
 
  ac_header_compiler=yes
25049
 
else
25050
 
  echo "$as_me: failed program was:" >&5
25051
 
sed 's/^/| /' conftest.$ac_ext >&5
25052
 
 
25053
 
        ac_header_compiler=no
25054
 
fi
25055
 
 
25056
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25057
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25058
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
25059
 
 
25060
 
# Is the header present?
25061
 
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
25062
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
25063
 
cat >conftest.$ac_ext <<_ACEOF
25064
 
/* confdefs.h.  */
25065
 
_ACEOF
25066
 
cat confdefs.h >>conftest.$ac_ext
25067
 
cat >>conftest.$ac_ext <<_ACEOF
25068
 
/* end confdefs.h.  */
25069
 
#include <CoreAudio/CoreAudio.h>
25070
 
_ACEOF
25071
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
25072
 
case "(($ac_try" in
25073
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25074
 
  *) ac_try_echo=$ac_try;;
25075
 
esac
25076
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25077
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25078
 
  ac_status=$?
25079
 
  grep -v '^ *+' conftest.er1 >conftest.err
25080
 
  rm -f conftest.er1
25081
 
  cat conftest.err >&5
25082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25083
 
  (exit $ac_status); } >/dev/null && {
25084
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25085
 
         test ! -s conftest.err
25086
 
       }; then
25087
 
  ac_header_preproc=yes
25088
 
else
25089
 
  echo "$as_me: failed program was:" >&5
25090
 
sed 's/^/| /' conftest.$ac_ext >&5
25091
 
 
25092
 
  ac_header_preproc=no
25093
 
fi
25094
 
 
25095
 
rm -f conftest.err conftest.$ac_ext
25096
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25097
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
25098
 
 
25099
 
# So?  What about this header?
25100
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25101
 
  yes:no: )
25102
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25103
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25104
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
25105
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
25106
 
    ac_header_preproc=yes
25107
 
    ;;
25108
 
  no:yes:* )
25109
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
25110
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
25111
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
25112
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
25113
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
25114
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
25115
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
25116
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
25117
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
25118
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
25119
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
25120
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
25121
 
 
25122
 
    ;;
25123
 
esac
25124
 
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25125
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
25126
 
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25127
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25128
 
else
25129
 
  ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
25130
 
fi
25131
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25132
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25133
 
 
25134
 
fi
25135
 
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
25136
 
 
25137
 
 
25138
 
cat >>confdefs.h <<\_ACEOF
25139
 
#define HAVE_COREAUDIO 1
25140
 
_ACEOF
25141
 
 
25142
 
     FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
25143
 
 
25144
 
fi
25145
 
 
25146
 
 
25147
 
 
25148
 
 
25149
 
  { echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
25150
 
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6; }
25151
 
  kde_libs_safe="$LIBS"
25152
 
  LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
25153
 
  cat >conftest.$ac_ext <<_ACEOF
25154
 
/* confdefs.h.  */
25155
 
_ACEOF
25156
 
cat confdefs.h >>conftest.$ac_ext
25157
 
cat >>conftest.$ac_ext <<_ACEOF
25158
 
/* end confdefs.h.  */
25159
 
 
25160
 
#include <sys/types.h>
25161
 
#include <netinet/in.h>
25162
 
#include <arpa/nameser.h>
25163
 
#include <resolv.h>
25164
 
 
25165
 
int
25166
 
main ()
25167
 
{
25168
 
 
25169
 
      res_init();
25170
 
 
25171
 
  ;
25172
 
  return 0;
25173
 
}
25174
 
_ACEOF
25175
 
rm -f conftest.$ac_objext conftest$ac_exeext
25176
 
if { (ac_try="$ac_link"
25177
 
case "(($ac_try" in
25178
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25179
 
  *) ac_try_echo=$ac_try;;
25180
 
esac
25181
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25182
 
  (eval "$ac_link") 2>conftest.er1
25183
 
  ac_status=$?
25184
 
  grep -v '^ *+' conftest.er1 >conftest.err
25185
 
  rm -f conftest.er1
25186
 
  cat conftest.err >&5
25187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188
 
  (exit $ac_status); } && {
25189
 
         test -z "$ac_c_werror_flag" ||
25190
 
         test ! -s conftest.err
25191
 
       } && test -s conftest$ac_exeext &&
25192
 
       $as_test_x conftest$ac_exeext; then
25193
 
 
25194
 
      LIBRESOLV="-lresolv"
25195
 
      { echo "$as_me:$LINENO: result: yes" >&5
25196
 
echo "${ECHO_T}yes" >&6; }
25197
 
 
25198
 
cat >>confdefs.h <<\_ACEOF
25199
 
#define HAVE_RES_INIT 1
25200
 
_ACEOF
25201
 
 
25202
 
 
25203
 
else
25204
 
  echo "$as_me: failed program was:" >&5
25205
 
sed 's/^/| /' conftest.$ac_ext >&5
25206
 
 
25207
 
         { echo "$as_me:$LINENO: result: no" >&5
25208
 
echo "${ECHO_T}no" >&6; }
25209
 
 
25210
 
fi
25211
 
 
25212
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25213
 
      conftest$ac_exeext conftest.$ac_ext
25214
 
  LIBS=$kde_libs_safe
25215
 
 
25216
 
 
25217
 
 
25218
 
{ echo "$as_me:$LINENO: checking for res_init" >&5
25219
 
echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
25220
 
if test "${kde_cv_func_res_init+set}" = set; then
25221
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25222
 
else
25223
 
 
25224
 
 
25225
 
 ac_ext=cpp
25226
 
ac_cpp='$CXXCPP $CPPFLAGS'
25227
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25230
 
 
25231
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25232
 
 
25233
 
 
25234
 
save_CXXFLAGS="$CXXFLAGS"
25235
 
kde_safe_LIBS="$LIBS"
25236
 
LIBS="$LIBS $X_EXTRA_LIBS"
25237
 
if test "$GXX" = "yes"; then
25238
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
25239
 
fi
25240
 
cat >conftest.$ac_ext <<_ACEOF
25241
 
/* confdefs.h.  */
25242
 
_ACEOF
25243
 
cat confdefs.h >>conftest.$ac_ext
25244
 
cat >>conftest.$ac_ext <<_ACEOF
25245
 
/* end confdefs.h.  */
25246
 
 
25247
 
 
25248
 
#include <sys/types.h>
25249
 
#include <netinet/in.h>
25250
 
#include <arpa/nameser.h>
25251
 
#include <resolv.h>
25252
 
 
25253
 
 
25254
 
int
25255
 
main ()
25256
 
{
25257
 
 
25258
 
res_init()
25259
 
 
25260
 
  ;
25261
 
  return 0;
25262
 
}
25263
 
_ACEOF
25264
 
rm -f conftest.$ac_objext
25265
 
if { (ac_try="$ac_compile"
25266
 
case "(($ac_try" in
25267
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25268
 
  *) ac_try_echo=$ac_try;;
25269
 
esac
25270
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25271
 
  (eval "$ac_compile") 2>conftest.er1
25272
 
  ac_status=$?
25273
 
  grep -v '^ *+' conftest.er1 >conftest.err
25274
 
  rm -f conftest.er1
25275
 
  cat conftest.err >&5
25276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277
 
  (exit $ac_status); } && {
25278
 
         test -z "$ac_cxx_werror_flag" ||
25279
 
         test ! -s conftest.err
25280
 
       } && test -s conftest.$ac_objext; then
25281
 
  kde_cv_func_res_init=yes
25282
 
else
25283
 
  echo "$as_me: failed program was:" >&5
25284
 
sed 's/^/| /' conftest.$ac_ext >&5
25285
 
 
25286
 
        kde_cv_func_res_init=no
25287
 
fi
25288
 
 
25289
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25290
 
CXXFLAGS="$save_CXXFLAGS"
25291
 
LIBS="$kde_safe_LIBS"
25292
 
ac_ext=c
25293
 
ac_cpp='$CPP $CPPFLAGS'
25294
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25297
 
 
25298
 
 
25299
 
fi
25300
 
 
25301
 
 
25302
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
25303
 
echo "${ECHO_T}$kde_cv_func_res_init" >&6; }
25304
 
 
25305
 
{ echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
25306
 
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6; }
25307
 
if test "${kde_cv_proto_res_init+set}" = set; then
25308
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25309
 
else
25310
 
 
25311
 
if test "x$kde_cv_func_res_init" = xyes; then
25312
 
  kde_cv_proto_res_init=no
25313
 
else
25314
 
  case "res_init" in
25315
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
25316
 
                kde_cv_proto_res_init="yes - in libkdefakes"
25317
 
                ;;
25318
 
        *)
25319
 
                kde_cv_proto_res_init=unknown
25320
 
                ;;
25321
 
  esac
25322
 
fi
25323
 
 
25324
 
if test "x$kde_cv_proto_res_init" = xunknown; then
25325
 
 
25326
 
 
25327
 
 ac_ext=cpp
25328
 
ac_cpp='$CXXCPP $CPPFLAGS'
25329
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25330
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25331
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25332
 
 
25333
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25334
 
 
25335
 
 
25336
 
  kde_safe_libs=$LIBS
25337
 
  LIBS="$LIBS $X_EXTRA_LIBS"
25338
 
  cat >conftest.$ac_ext <<_ACEOF
25339
 
/* confdefs.h.  */
25340
 
_ACEOF
25341
 
cat confdefs.h >>conftest.$ac_ext
25342
 
cat >>conftest.$ac_ext <<_ACEOF
25343
 
/* end confdefs.h.  */
25344
 
 
25345
 
 
25346
 
#include <sys/types.h>
25347
 
#include <netinet/in.h>
25348
 
#include <arpa/nameser.h>
25349
 
#include <resolv.h>
25350
 
 
25351
 
 
25352
 
extern "C" int res_init(void);
25353
 
 
25354
 
int
25355
 
main ()
25356
 
{
25357
 
 
25358
 
res_init()
25359
 
 
25360
 
  ;
25361
 
  return 0;
25362
 
}
25363
 
_ACEOF
25364
 
rm -f conftest.$ac_objext conftest$ac_exeext
25365
 
if { (ac_try="$ac_link"
25366
 
case "(($ac_try" in
25367
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25368
 
  *) ac_try_echo=$ac_try;;
25369
 
esac
25370
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25371
 
  (eval "$ac_link") 2>conftest.er1
25372
 
  ac_status=$?
25373
 
  grep -v '^ *+' conftest.er1 >conftest.err
25374
 
  rm -f conftest.er1
25375
 
  cat conftest.err >&5
25376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377
 
  (exit $ac_status); } && {
25378
 
         test -z "$ac_cxx_werror_flag" ||
25379
 
         test ! -s conftest.err
25380
 
       } && test -s conftest$ac_exeext &&
25381
 
       $as_test_x conftest$ac_exeext; then
25382
 
   kde_cv_func_res_init=yes
25383
 
  kde_cv_proto_res_init=yes
25384
 
else
25385
 
  echo "$as_me: failed program was:" >&5
25386
 
sed 's/^/| /' conftest.$ac_ext >&5
25387
 
 
25388
 
        kde_cv_proto_res_init="res_init unavailable"
25389
 
 
25390
 
fi
25391
 
 
25392
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25393
 
      conftest$ac_exeext conftest.$ac_ext
25394
 
LIBS=$kde_safe_libs
25395
 
ac_ext=c
25396
 
ac_cpp='$CPP $CPPFLAGS'
25397
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25398
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25399
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25400
 
 
25401
 
fi
25402
 
 
25403
 
fi
25404
 
 
25405
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
25406
 
echo "${ECHO_T}$kde_cv_proto_res_init" >&6; }
25407
 
 
25408
 
if test "x$kde_cv_func_res_init" = xyes; then
25409
 
 
25410
 
cat >>confdefs.h <<\_ACEOF
25411
 
#define HAVE_RES_INIT 1
25412
 
_ACEOF
25413
 
 
25414
 
 
25415
 
fi
25416
 
if test "x$kde_cv_proto_res_init" = xno; then
25417
 
 
25418
 
cat >>confdefs.h <<\_ACEOF
25419
 
#define HAVE_RES_INIT_PROTO 1
25420
 
_ACEOF
25421
 
 
25422
 
fi
25423
 
 
25424
 
 
25425
 
 
25426
 
 
25427
 
 
25428
 
 
25429
 
 
25430
 
   LIBSOCKET="$X_EXTRA_LIBS"
25431
 
 
25432
 
 
25433
 
   { echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
25434
 
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6; }
25435
 
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
25436
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25437
 
else
25438
 
  ac_check_lib_save_LIBS=$LIBS
25439
 
LIBS="-lucb  $LIBS"
25440
 
cat >conftest.$ac_ext <<_ACEOF
25441
 
/* confdefs.h.  */
25442
 
_ACEOF
25443
 
cat confdefs.h >>conftest.$ac_ext
25444
 
cat >>conftest.$ac_ext <<_ACEOF
25445
 
/* end confdefs.h.  */
25446
 
 
25447
 
/* Override any GCC internal prototype to avoid an error.
25448
 
   Use char because int might match the return type of a GCC
25449
 
   builtin and then its argument prototype would still apply.  */
25450
 
#ifdef __cplusplus
25451
 
extern "C"
25452
 
#endif
25453
 
char killpg ();
25454
 
int
25455
 
main ()
25456
 
{
25457
 
return killpg ();
25458
 
  ;
25459
 
  return 0;
25460
 
}
25461
 
_ACEOF
25462
 
rm -f conftest.$ac_objext conftest$ac_exeext
25463
 
if { (ac_try="$ac_link"
25464
 
case "(($ac_try" in
25465
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25466
 
  *) ac_try_echo=$ac_try;;
25467
 
esac
25468
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25469
 
  (eval "$ac_link") 2>conftest.er1
25470
 
  ac_status=$?
25471
 
  grep -v '^ *+' conftest.er1 >conftest.err
25472
 
  rm -f conftest.er1
25473
 
  cat conftest.err >&5
25474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475
 
  (exit $ac_status); } && {
25476
 
         test -z "$ac_c_werror_flag" ||
25477
 
         test ! -s conftest.err
25478
 
       } && test -s conftest$ac_exeext &&
25479
 
       $as_test_x conftest$ac_exeext; then
25480
 
  ac_cv_lib_ucb_killpg=yes
25481
 
else
25482
 
  echo "$as_me: failed program was:" >&5
25483
 
sed 's/^/| /' conftest.$ac_ext >&5
25484
 
 
25485
 
        ac_cv_lib_ucb_killpg=no
25486
 
fi
25487
 
 
25488
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25489
 
      conftest$ac_exeext conftest.$ac_ext
25490
 
LIBS=$ac_check_lib_save_LIBS
25491
 
fi
25492
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
25493
 
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6; }
25494
 
if test $ac_cv_lib_ucb_killpg = yes; then
25495
 
  LIBUCB="-lucb"
25496
 
fi
25497
 
 
25498
 
 
25499
 
   case $host in     *-*-lynxos* )
25500
 
        { echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
25501
 
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6; }
25502
 
        CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
25503
 
        { echo "$as_me:$LINENO: result: disabled" >&5
25504
 
echo "${ECHO_T}disabled" >&6; }
25505
 
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25506
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
25507
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25508
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25509
 
else
25510
 
  ac_check_lib_save_LIBS=$LIBS
25511
 
LIBS="-lbsd  $LIBS"
25512
 
cat >conftest.$ac_ext <<_ACEOF
25513
 
/* confdefs.h.  */
25514
 
_ACEOF
25515
 
cat confdefs.h >>conftest.$ac_ext
25516
 
cat >>conftest.$ac_ext <<_ACEOF
25517
 
/* end confdefs.h.  */
25518
 
 
25519
 
/* Override any GCC internal prototype to avoid an error.
25520
 
   Use char because int might match the return type of a GCC
25521
 
   builtin and then its argument prototype would still apply.  */
25522
 
#ifdef __cplusplus
25523
 
extern "C"
25524
 
#endif
25525
 
char gethostbyname ();
25526
 
int
25527
 
main ()
25528
 
{
25529
 
return gethostbyname ();
25530
 
  ;
25531
 
  return 0;
25532
 
}
25533
 
_ACEOF
25534
 
rm -f conftest.$ac_objext conftest$ac_exeext
25535
 
if { (ac_try="$ac_link"
25536
 
case "(($ac_try" in
25537
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25538
 
  *) ac_try_echo=$ac_try;;
25539
 
esac
25540
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25541
 
  (eval "$ac_link") 2>conftest.er1
25542
 
  ac_status=$?
25543
 
  grep -v '^ *+' conftest.er1 >conftest.err
25544
 
  rm -f conftest.er1
25545
 
  cat conftest.err >&5
25546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25547
 
  (exit $ac_status); } && {
25548
 
         test -z "$ac_c_werror_flag" ||
25549
 
         test ! -s conftest.err
25550
 
       } && test -s conftest$ac_exeext &&
25551
 
       $as_test_x conftest$ac_exeext; then
25552
 
  ac_cv_lib_bsd_gethostbyname=yes
25553
 
else
25554
 
  echo "$as_me: failed program was:" >&5
25555
 
sed 's/^/| /' conftest.$ac_ext >&5
25556
 
 
25557
 
        ac_cv_lib_bsd_gethostbyname=no
25558
 
fi
25559
 
 
25560
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25561
 
      conftest$ac_exeext conftest.$ac_ext
25562
 
LIBS=$ac_check_lib_save_LIBS
25563
 
fi
25564
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25565
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
25566
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
25567
 
  LIBSOCKET="-lbsd"
25568
 
fi
25569
 
          ;;
25570
 
    esac
25571
 
 
25572
 
     { echo "$as_me:$LINENO: checking for int" >&5
25573
 
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
25574
 
if test "${ac_cv_type_int+set}" = set; then
25575
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25576
 
else
25577
 
  cat >conftest.$ac_ext <<_ACEOF
25578
 
/* confdefs.h.  */
25579
 
_ACEOF
25580
 
cat confdefs.h >>conftest.$ac_ext
25581
 
cat >>conftest.$ac_ext <<_ACEOF
25582
 
/* end confdefs.h.  */
25583
 
$ac_includes_default
25584
 
typedef int ac__type_new_;
25585
 
int
25586
 
main ()
25587
 
{
25588
 
if ((ac__type_new_ *) 0)
25589
 
  return 0;
25590
 
if (sizeof (ac__type_new_))
25591
 
  return 0;
25592
 
  ;
25593
 
  return 0;
25594
 
}
25595
 
_ACEOF
25596
 
rm -f conftest.$ac_objext
25597
 
if { (ac_try="$ac_compile"
25598
 
case "(($ac_try" in
25599
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25600
 
  *) ac_try_echo=$ac_try;;
25601
 
esac
25602
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25603
 
  (eval "$ac_compile") 2>conftest.er1
25604
 
  ac_status=$?
25605
 
  grep -v '^ *+' conftest.er1 >conftest.err
25606
 
  rm -f conftest.er1
25607
 
  cat conftest.err >&5
25608
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609
 
  (exit $ac_status); } && {
25610
 
         test -z "$ac_c_werror_flag" ||
25611
 
         test ! -s conftest.err
25612
 
       } && test -s conftest.$ac_objext; then
25613
 
  ac_cv_type_int=yes
25614
 
else
25615
 
  echo "$as_me: failed program was:" >&5
25616
 
sed 's/^/| /' conftest.$ac_ext >&5
25617
 
 
25618
 
        ac_cv_type_int=no
25619
 
fi
25620
 
 
25621
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25622
 
fi
25623
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
25624
 
echo "${ECHO_T}$ac_cv_type_int" >&6; }
25625
 
 
25626
 
# The cast to long int works around a bug in the HP C Compiler
25627
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25628
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25629
 
# This bug is HP SR number 8606223364.
25630
 
{ echo "$as_me:$LINENO: checking size of int" >&5
25631
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
25632
 
if test "${ac_cv_sizeof_int+set}" = set; then
25633
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25634
 
else
25635
 
  if test "$cross_compiling" = yes; then
25636
 
  # Depending upon the size, compute the lo and hi bounds.
25637
 
cat >conftest.$ac_ext <<_ACEOF
25638
 
/* confdefs.h.  */
25639
 
_ACEOF
25640
 
cat confdefs.h >>conftest.$ac_ext
25641
 
cat >>conftest.$ac_ext <<_ACEOF
25642
 
/* end confdefs.h.  */
25643
 
$ac_includes_default
25644
 
   typedef int ac__type_sizeof_;
25645
 
int
25646
 
main ()
25647
 
{
25648
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25649
 
test_array [0] = 0
25650
 
 
25651
 
  ;
25652
 
  return 0;
25653
 
}
25654
 
_ACEOF
25655
 
rm -f conftest.$ac_objext
25656
 
if { (ac_try="$ac_compile"
25657
 
case "(($ac_try" in
25658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25659
 
  *) ac_try_echo=$ac_try;;
25660
 
esac
25661
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25662
 
  (eval "$ac_compile") 2>conftest.er1
25663
 
  ac_status=$?
25664
 
  grep -v '^ *+' conftest.er1 >conftest.err
25665
 
  rm -f conftest.er1
25666
 
  cat conftest.err >&5
25667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668
 
  (exit $ac_status); } && {
25669
 
         test -z "$ac_c_werror_flag" ||
25670
 
         test ! -s conftest.err
25671
 
       } && test -s conftest.$ac_objext; then
25672
 
  ac_lo=0 ac_mid=0
25673
 
  while :; do
25674
 
    cat >conftest.$ac_ext <<_ACEOF
25675
 
/* confdefs.h.  */
25676
 
_ACEOF
25677
 
cat confdefs.h >>conftest.$ac_ext
25678
 
cat >>conftest.$ac_ext <<_ACEOF
25679
 
/* end confdefs.h.  */
25680
 
$ac_includes_default
25681
 
   typedef int ac__type_sizeof_;
25682
 
int
25683
 
main ()
25684
 
{
25685
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25686
 
test_array [0] = 0
25687
 
 
25688
 
  ;
25689
 
  return 0;
25690
 
}
25691
 
_ACEOF
25692
 
rm -f conftest.$ac_objext
25693
 
if { (ac_try="$ac_compile"
25694
 
case "(($ac_try" in
25695
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25696
 
  *) ac_try_echo=$ac_try;;
25697
 
esac
25698
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25699
 
  (eval "$ac_compile") 2>conftest.er1
25700
 
  ac_status=$?
25701
 
  grep -v '^ *+' conftest.er1 >conftest.err
25702
 
  rm -f conftest.er1
25703
 
  cat conftest.err >&5
25704
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705
 
  (exit $ac_status); } && {
25706
 
         test -z "$ac_c_werror_flag" ||
25707
 
         test ! -s conftest.err
25708
 
       } && test -s conftest.$ac_objext; then
25709
 
  ac_hi=$ac_mid; break
25710
 
else
25711
 
  echo "$as_me: failed program was:" >&5
25712
 
sed 's/^/| /' conftest.$ac_ext >&5
25713
 
 
25714
 
        ac_lo=`expr $ac_mid + 1`
25715
 
                        if test $ac_lo -le $ac_mid; then
25716
 
                          ac_lo= ac_hi=
25717
 
                          break
25718
 
                        fi
25719
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25720
 
fi
25721
 
 
25722
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25723
 
  done
25724
 
else
25725
 
  echo "$as_me: failed program was:" >&5
25726
 
sed 's/^/| /' conftest.$ac_ext >&5
25727
 
 
25728
 
        cat >conftest.$ac_ext <<_ACEOF
25729
 
/* confdefs.h.  */
25730
 
_ACEOF
25731
 
cat confdefs.h >>conftest.$ac_ext
25732
 
cat >>conftest.$ac_ext <<_ACEOF
25733
 
/* end confdefs.h.  */
25734
 
$ac_includes_default
25735
 
   typedef int ac__type_sizeof_;
25736
 
int
25737
 
main ()
25738
 
{
25739
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25740
 
test_array [0] = 0
25741
 
 
25742
 
  ;
25743
 
  return 0;
25744
 
}
25745
 
_ACEOF
25746
 
rm -f conftest.$ac_objext
25747
 
if { (ac_try="$ac_compile"
25748
 
case "(($ac_try" in
25749
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25750
 
  *) ac_try_echo=$ac_try;;
25751
 
esac
25752
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25753
 
  (eval "$ac_compile") 2>conftest.er1
25754
 
  ac_status=$?
25755
 
  grep -v '^ *+' conftest.er1 >conftest.err
25756
 
  rm -f conftest.er1
25757
 
  cat conftest.err >&5
25758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759
 
  (exit $ac_status); } && {
25760
 
         test -z "$ac_c_werror_flag" ||
25761
 
         test ! -s conftest.err
25762
 
       } && test -s conftest.$ac_objext; then
25763
 
  ac_hi=-1 ac_mid=-1
25764
 
  while :; do
25765
 
    cat >conftest.$ac_ext <<_ACEOF
25766
 
/* confdefs.h.  */
25767
 
_ACEOF
25768
 
cat confdefs.h >>conftest.$ac_ext
25769
 
cat >>conftest.$ac_ext <<_ACEOF
25770
 
/* end confdefs.h.  */
25771
 
$ac_includes_default
25772
 
   typedef int ac__type_sizeof_;
25773
 
int
25774
 
main ()
25775
 
{
25776
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25777
 
test_array [0] = 0
25778
 
 
25779
 
  ;
25780
 
  return 0;
25781
 
}
25782
 
_ACEOF
25783
 
rm -f conftest.$ac_objext
25784
 
if { (ac_try="$ac_compile"
25785
 
case "(($ac_try" in
25786
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25787
 
  *) ac_try_echo=$ac_try;;
25788
 
esac
25789
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25790
 
  (eval "$ac_compile") 2>conftest.er1
25791
 
  ac_status=$?
25792
 
  grep -v '^ *+' conftest.er1 >conftest.err
25793
 
  rm -f conftest.er1
25794
 
  cat conftest.err >&5
25795
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796
 
  (exit $ac_status); } && {
25797
 
         test -z "$ac_c_werror_flag" ||
25798
 
         test ! -s conftest.err
25799
 
       } && test -s conftest.$ac_objext; then
25800
 
  ac_lo=$ac_mid; break
25801
 
else
25802
 
  echo "$as_me: failed program was:" >&5
25803
 
sed 's/^/| /' conftest.$ac_ext >&5
25804
 
 
25805
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
25806
 
                        if test $ac_mid -le $ac_hi; then
25807
 
                          ac_lo= ac_hi=
25808
 
                          break
25809
 
                        fi
25810
 
                        ac_mid=`expr 2 '*' $ac_mid`
25811
 
fi
25812
 
 
25813
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25814
 
  done
25815
 
else
25816
 
  echo "$as_me: failed program was:" >&5
25817
 
sed 's/^/| /' conftest.$ac_ext >&5
25818
 
 
25819
 
        ac_lo= ac_hi=
25820
 
fi
25821
 
 
25822
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25823
 
fi
25824
 
 
25825
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25826
 
# Binary search between lo and hi bounds.
25827
 
while test "x$ac_lo" != "x$ac_hi"; do
25828
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25829
 
  cat >conftest.$ac_ext <<_ACEOF
25830
 
/* confdefs.h.  */
25831
 
_ACEOF
25832
 
cat confdefs.h >>conftest.$ac_ext
25833
 
cat >>conftest.$ac_ext <<_ACEOF
25834
 
/* end confdefs.h.  */
25835
 
$ac_includes_default
25836
 
   typedef int ac__type_sizeof_;
25837
 
int
25838
 
main ()
25839
 
{
25840
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25841
 
test_array [0] = 0
25842
 
 
25843
 
  ;
25844
 
  return 0;
25845
 
}
25846
 
_ACEOF
25847
 
rm -f conftest.$ac_objext
25848
 
if { (ac_try="$ac_compile"
25849
 
case "(($ac_try" in
25850
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25851
 
  *) ac_try_echo=$ac_try;;
25852
 
esac
25853
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25854
 
  (eval "$ac_compile") 2>conftest.er1
25855
 
  ac_status=$?
25856
 
  grep -v '^ *+' conftest.er1 >conftest.err
25857
 
  rm -f conftest.er1
25858
 
  cat conftest.err >&5
25859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860
 
  (exit $ac_status); } && {
25861
 
         test -z "$ac_c_werror_flag" ||
25862
 
         test ! -s conftest.err
25863
 
       } && test -s conftest.$ac_objext; then
25864
 
  ac_hi=$ac_mid
25865
 
else
25866
 
  echo "$as_me: failed program was:" >&5
25867
 
sed 's/^/| /' conftest.$ac_ext >&5
25868
 
 
25869
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
25870
 
fi
25871
 
 
25872
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25873
 
done
25874
 
case $ac_lo in
25875
 
?*) ac_cv_sizeof_int=$ac_lo;;
25876
 
'') if test "$ac_cv_type_int" = yes; then
25877
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25878
 
See \`config.log' for more details." >&5
25879
 
echo "$as_me: error: cannot compute sizeof (int)
25880
 
See \`config.log' for more details." >&2;}
25881
 
   { (exit 77); exit 77; }; }
25882
 
   else
25883
 
     ac_cv_sizeof_int=0
25884
 
   fi ;;
25885
 
esac
25886
 
else
25887
 
  cat >conftest.$ac_ext <<_ACEOF
25888
 
/* confdefs.h.  */
25889
 
_ACEOF
25890
 
cat confdefs.h >>conftest.$ac_ext
25891
 
cat >>conftest.$ac_ext <<_ACEOF
25892
 
/* end confdefs.h.  */
25893
 
$ac_includes_default
25894
 
   typedef int ac__type_sizeof_;
25895
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25896
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25897
 
#include <stdio.h>
25898
 
#include <stdlib.h>
25899
 
int
25900
 
main ()
25901
 
{
25902
 
 
25903
 
  FILE *f = fopen ("conftest.val", "w");
25904
 
  if (! f)
25905
 
    return 1;
25906
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25907
 
    {
25908
 
      long int i = longval ();
25909
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25910
 
        return 1;
25911
 
      fprintf (f, "%ld\n", i);
25912
 
    }
25913
 
  else
25914
 
    {
25915
 
      unsigned long int i = ulongval ();
25916
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25917
 
        return 1;
25918
 
      fprintf (f, "%lu\n", i);
25919
 
    }
25920
 
  return ferror (f) || fclose (f) != 0;
25921
 
 
25922
 
  ;
25923
 
  return 0;
25924
 
}
25925
 
_ACEOF
25926
 
rm -f conftest$ac_exeext
25927
 
if { (ac_try="$ac_link"
25928
 
case "(($ac_try" in
25929
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25930
 
  *) ac_try_echo=$ac_try;;
25931
 
esac
25932
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25933
 
  (eval "$ac_link") 2>&5
25934
 
  ac_status=$?
25935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25937
 
  { (case "(($ac_try" in
25938
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25939
 
  *) ac_try_echo=$ac_try;;
25940
 
esac
25941
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25942
 
  (eval "$ac_try") 2>&5
25943
 
  ac_status=$?
25944
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945
 
  (exit $ac_status); }; }; then
25946
 
  ac_cv_sizeof_int=`cat conftest.val`
25947
 
else
25948
 
  echo "$as_me: program exited with status $ac_status" >&5
25949
 
echo "$as_me: failed program was:" >&5
25950
 
sed 's/^/| /' conftest.$ac_ext >&5
25951
 
 
25952
 
( exit $ac_status )
25953
 
if test "$ac_cv_type_int" = yes; then
25954
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25955
 
See \`config.log' for more details." >&5
25956
 
echo "$as_me: error: cannot compute sizeof (int)
25957
 
See \`config.log' for more details." >&2;}
25958
 
   { (exit 77); exit 77; }; }
25959
 
   else
25960
 
     ac_cv_sizeof_int=0
25961
 
   fi
25962
 
fi
25963
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25964
 
fi
25965
 
rm -f conftest.val
25966
 
fi
25967
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
25968
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
25969
 
 
25970
 
 
25971
 
 
25972
 
cat >>confdefs.h <<_ACEOF
25973
 
#define SIZEOF_INT $ac_cv_sizeof_int
25974
 
_ACEOF
25975
 
 
25976
 
   { echo "$as_me:$LINENO: checking for short" >&5
25977
 
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
25978
 
if test "${ac_cv_type_short+set}" = set; then
25979
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25980
 
else
25981
 
  cat >conftest.$ac_ext <<_ACEOF
25982
 
/* confdefs.h.  */
25983
 
_ACEOF
25984
 
cat confdefs.h >>conftest.$ac_ext
25985
 
cat >>conftest.$ac_ext <<_ACEOF
25986
 
/* end confdefs.h.  */
25987
 
$ac_includes_default
25988
 
typedef short ac__type_new_;
25989
 
int
25990
 
main ()
25991
 
{
25992
 
if ((ac__type_new_ *) 0)
25993
 
  return 0;
25994
 
if (sizeof (ac__type_new_))
25995
 
  return 0;
25996
 
  ;
25997
 
  return 0;
25998
 
}
25999
 
_ACEOF
26000
 
rm -f conftest.$ac_objext
26001
 
if { (ac_try="$ac_compile"
26002
 
case "(($ac_try" in
26003
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26004
 
  *) ac_try_echo=$ac_try;;
26005
 
esac
26006
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26007
 
  (eval "$ac_compile") 2>conftest.er1
26008
 
  ac_status=$?
26009
 
  grep -v '^ *+' conftest.er1 >conftest.err
26010
 
  rm -f conftest.er1
26011
 
  cat conftest.err >&5
26012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013
 
  (exit $ac_status); } && {
26014
 
         test -z "$ac_c_werror_flag" ||
26015
 
         test ! -s conftest.err
26016
 
       } && test -s conftest.$ac_objext; then
26017
 
  ac_cv_type_short=yes
26018
 
else
26019
 
  echo "$as_me: failed program was:" >&5
26020
 
sed 's/^/| /' conftest.$ac_ext >&5
26021
 
 
26022
 
        ac_cv_type_short=no
26023
 
fi
26024
 
 
26025
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26026
 
fi
26027
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
26028
 
echo "${ECHO_T}$ac_cv_type_short" >&6; }
26029
 
 
26030
 
# The cast to long int works around a bug in the HP C Compiler
26031
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26032
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26033
 
# This bug is HP SR number 8606223364.
26034
 
{ echo "$as_me:$LINENO: checking size of short" >&5
26035
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
26036
 
if test "${ac_cv_sizeof_short+set}" = set; then
26037
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26038
 
else
26039
 
  if test "$cross_compiling" = yes; then
26040
 
  # Depending upon the size, compute the lo and hi bounds.
26041
 
cat >conftest.$ac_ext <<_ACEOF
26042
 
/* confdefs.h.  */
26043
 
_ACEOF
26044
 
cat confdefs.h >>conftest.$ac_ext
26045
 
cat >>conftest.$ac_ext <<_ACEOF
26046
 
/* end confdefs.h.  */
26047
 
$ac_includes_default
26048
 
   typedef short ac__type_sizeof_;
26049
 
int
26050
 
main ()
26051
 
{
26052
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26053
 
test_array [0] = 0
26054
 
 
26055
 
  ;
26056
 
  return 0;
26057
 
}
26058
 
_ACEOF
26059
 
rm -f conftest.$ac_objext
26060
 
if { (ac_try="$ac_compile"
26061
 
case "(($ac_try" in
26062
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26063
 
  *) ac_try_echo=$ac_try;;
26064
 
esac
26065
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26066
 
  (eval "$ac_compile") 2>conftest.er1
26067
 
  ac_status=$?
26068
 
  grep -v '^ *+' conftest.er1 >conftest.err
26069
 
  rm -f conftest.er1
26070
 
  cat conftest.err >&5
26071
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072
 
  (exit $ac_status); } && {
26073
 
         test -z "$ac_c_werror_flag" ||
26074
 
         test ! -s conftest.err
26075
 
       } && test -s conftest.$ac_objext; then
26076
 
  ac_lo=0 ac_mid=0
26077
 
  while :; do
26078
 
    cat >conftest.$ac_ext <<_ACEOF
26079
 
/* confdefs.h.  */
26080
 
_ACEOF
26081
 
cat confdefs.h >>conftest.$ac_ext
26082
 
cat >>conftest.$ac_ext <<_ACEOF
26083
 
/* end confdefs.h.  */
26084
 
$ac_includes_default
26085
 
   typedef short ac__type_sizeof_;
26086
 
int
26087
 
main ()
26088
 
{
26089
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26090
 
test_array [0] = 0
26091
 
 
26092
 
  ;
26093
 
  return 0;
26094
 
}
26095
 
_ACEOF
26096
 
rm -f conftest.$ac_objext
26097
 
if { (ac_try="$ac_compile"
26098
 
case "(($ac_try" in
26099
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26100
 
  *) ac_try_echo=$ac_try;;
26101
 
esac
26102
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26103
 
  (eval "$ac_compile") 2>conftest.er1
26104
 
  ac_status=$?
26105
 
  grep -v '^ *+' conftest.er1 >conftest.err
26106
 
  rm -f conftest.er1
26107
 
  cat conftest.err >&5
26108
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109
 
  (exit $ac_status); } && {
26110
 
         test -z "$ac_c_werror_flag" ||
26111
 
         test ! -s conftest.err
26112
 
       } && test -s conftest.$ac_objext; then
26113
 
  ac_hi=$ac_mid; break
26114
 
else
26115
 
  echo "$as_me: failed program was:" >&5
26116
 
sed 's/^/| /' conftest.$ac_ext >&5
26117
 
 
26118
 
        ac_lo=`expr $ac_mid + 1`
26119
 
                        if test $ac_lo -le $ac_mid; then
26120
 
                          ac_lo= ac_hi=
26121
 
                          break
26122
 
                        fi
26123
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26124
 
fi
26125
 
 
26126
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26127
 
  done
26128
 
else
26129
 
  echo "$as_me: failed program was:" >&5
26130
 
sed 's/^/| /' conftest.$ac_ext >&5
26131
 
 
26132
 
        cat >conftest.$ac_ext <<_ACEOF
26133
 
/* confdefs.h.  */
26134
 
_ACEOF
26135
 
cat confdefs.h >>conftest.$ac_ext
26136
 
cat >>conftest.$ac_ext <<_ACEOF
26137
 
/* end confdefs.h.  */
26138
 
$ac_includes_default
26139
 
   typedef short ac__type_sizeof_;
26140
 
int
26141
 
main ()
26142
 
{
26143
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26144
 
test_array [0] = 0
26145
 
 
26146
 
  ;
26147
 
  return 0;
26148
 
}
26149
 
_ACEOF
26150
 
rm -f conftest.$ac_objext
26151
 
if { (ac_try="$ac_compile"
26152
 
case "(($ac_try" in
26153
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26154
 
  *) ac_try_echo=$ac_try;;
26155
 
esac
26156
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26157
 
  (eval "$ac_compile") 2>conftest.er1
26158
 
  ac_status=$?
26159
 
  grep -v '^ *+' conftest.er1 >conftest.err
26160
 
  rm -f conftest.er1
26161
 
  cat conftest.err >&5
26162
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163
 
  (exit $ac_status); } && {
26164
 
         test -z "$ac_c_werror_flag" ||
26165
 
         test ! -s conftest.err
26166
 
       } && test -s conftest.$ac_objext; then
26167
 
  ac_hi=-1 ac_mid=-1
26168
 
  while :; do
26169
 
    cat >conftest.$ac_ext <<_ACEOF
26170
 
/* confdefs.h.  */
26171
 
_ACEOF
26172
 
cat confdefs.h >>conftest.$ac_ext
26173
 
cat >>conftest.$ac_ext <<_ACEOF
26174
 
/* end confdefs.h.  */
26175
 
$ac_includes_default
26176
 
   typedef short ac__type_sizeof_;
26177
 
int
26178
 
main ()
26179
 
{
26180
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26181
 
test_array [0] = 0
26182
 
 
26183
 
  ;
26184
 
  return 0;
26185
 
}
26186
 
_ACEOF
26187
 
rm -f conftest.$ac_objext
26188
 
if { (ac_try="$ac_compile"
26189
 
case "(($ac_try" in
26190
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26191
 
  *) ac_try_echo=$ac_try;;
26192
 
esac
26193
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26194
 
  (eval "$ac_compile") 2>conftest.er1
26195
 
  ac_status=$?
26196
 
  grep -v '^ *+' conftest.er1 >conftest.err
26197
 
  rm -f conftest.er1
26198
 
  cat conftest.err >&5
26199
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200
 
  (exit $ac_status); } && {
26201
 
         test -z "$ac_c_werror_flag" ||
26202
 
         test ! -s conftest.err
26203
 
       } && test -s conftest.$ac_objext; then
26204
 
  ac_lo=$ac_mid; break
26205
 
else
26206
 
  echo "$as_me: failed program was:" >&5
26207
 
sed 's/^/| /' conftest.$ac_ext >&5
26208
 
 
26209
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26210
 
                        if test $ac_mid -le $ac_hi; then
26211
 
                          ac_lo= ac_hi=
26212
 
                          break
26213
 
                        fi
26214
 
                        ac_mid=`expr 2 '*' $ac_mid`
26215
 
fi
26216
 
 
26217
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26218
 
  done
26219
 
else
26220
 
  echo "$as_me: failed program was:" >&5
26221
 
sed 's/^/| /' conftest.$ac_ext >&5
26222
 
 
26223
 
        ac_lo= ac_hi=
26224
 
fi
26225
 
 
26226
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26227
 
fi
26228
 
 
26229
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26230
 
# Binary search between lo and hi bounds.
26231
 
while test "x$ac_lo" != "x$ac_hi"; do
26232
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26233
 
  cat >conftest.$ac_ext <<_ACEOF
26234
 
/* confdefs.h.  */
26235
 
_ACEOF
26236
 
cat confdefs.h >>conftest.$ac_ext
26237
 
cat >>conftest.$ac_ext <<_ACEOF
26238
 
/* end confdefs.h.  */
26239
 
$ac_includes_default
26240
 
   typedef short ac__type_sizeof_;
26241
 
int
26242
 
main ()
26243
 
{
26244
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26245
 
test_array [0] = 0
26246
 
 
26247
 
  ;
26248
 
  return 0;
26249
 
}
26250
 
_ACEOF
26251
 
rm -f conftest.$ac_objext
26252
 
if { (ac_try="$ac_compile"
26253
 
case "(($ac_try" in
26254
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26255
 
  *) ac_try_echo=$ac_try;;
26256
 
esac
26257
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26258
 
  (eval "$ac_compile") 2>conftest.er1
26259
 
  ac_status=$?
26260
 
  grep -v '^ *+' conftest.er1 >conftest.err
26261
 
  rm -f conftest.er1
26262
 
  cat conftest.err >&5
26263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264
 
  (exit $ac_status); } && {
26265
 
         test -z "$ac_c_werror_flag" ||
26266
 
         test ! -s conftest.err
26267
 
       } && test -s conftest.$ac_objext; then
26268
 
  ac_hi=$ac_mid
26269
 
else
26270
 
  echo "$as_me: failed program was:" >&5
26271
 
sed 's/^/| /' conftest.$ac_ext >&5
26272
 
 
26273
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26274
 
fi
26275
 
 
26276
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26277
 
done
26278
 
case $ac_lo in
26279
 
?*) ac_cv_sizeof_short=$ac_lo;;
26280
 
'') if test "$ac_cv_type_short" = yes; then
26281
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26282
 
See \`config.log' for more details." >&5
26283
 
echo "$as_me: error: cannot compute sizeof (short)
26284
 
See \`config.log' for more details." >&2;}
26285
 
   { (exit 77); exit 77; }; }
26286
 
   else
26287
 
     ac_cv_sizeof_short=0
26288
 
   fi ;;
26289
 
esac
26290
 
else
26291
 
  cat >conftest.$ac_ext <<_ACEOF
26292
 
/* confdefs.h.  */
26293
 
_ACEOF
26294
 
cat confdefs.h >>conftest.$ac_ext
26295
 
cat >>conftest.$ac_ext <<_ACEOF
26296
 
/* end confdefs.h.  */
26297
 
$ac_includes_default
26298
 
   typedef short ac__type_sizeof_;
26299
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26300
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26301
 
#include <stdio.h>
26302
 
#include <stdlib.h>
26303
 
int
26304
 
main ()
26305
 
{
26306
 
 
26307
 
  FILE *f = fopen ("conftest.val", "w");
26308
 
  if (! f)
26309
 
    return 1;
26310
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26311
 
    {
26312
 
      long int i = longval ();
26313
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26314
 
        return 1;
26315
 
      fprintf (f, "%ld\n", i);
26316
 
    }
26317
 
  else
26318
 
    {
26319
 
      unsigned long int i = ulongval ();
26320
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26321
 
        return 1;
26322
 
      fprintf (f, "%lu\n", i);
26323
 
    }
26324
 
  return ferror (f) || fclose (f) != 0;
26325
 
 
26326
 
  ;
26327
 
  return 0;
26328
 
}
26329
 
_ACEOF
26330
 
rm -f conftest$ac_exeext
26331
 
if { (ac_try="$ac_link"
26332
 
case "(($ac_try" in
26333
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26334
 
  *) ac_try_echo=$ac_try;;
26335
 
esac
26336
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26337
 
  (eval "$ac_link") 2>&5
26338
 
  ac_status=$?
26339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26341
 
  { (case "(($ac_try" in
26342
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26343
 
  *) ac_try_echo=$ac_try;;
26344
 
esac
26345
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26346
 
  (eval "$ac_try") 2>&5
26347
 
  ac_status=$?
26348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349
 
  (exit $ac_status); }; }; then
26350
 
  ac_cv_sizeof_short=`cat conftest.val`
26351
 
else
26352
 
  echo "$as_me: program exited with status $ac_status" >&5
26353
 
echo "$as_me: failed program was:" >&5
26354
 
sed 's/^/| /' conftest.$ac_ext >&5
26355
 
 
26356
 
( exit $ac_status )
26357
 
if test "$ac_cv_type_short" = yes; then
26358
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26359
 
See \`config.log' for more details." >&5
26360
 
echo "$as_me: error: cannot compute sizeof (short)
26361
 
See \`config.log' for more details." >&2;}
26362
 
   { (exit 77); exit 77; }; }
26363
 
   else
26364
 
     ac_cv_sizeof_short=0
26365
 
   fi
26366
 
fi
26367
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26368
 
fi
26369
 
rm -f conftest.val
26370
 
fi
26371
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
26372
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
26373
 
 
26374
 
 
26375
 
 
26376
 
cat >>confdefs.h <<_ACEOF
26377
 
#define SIZEOF_SHORT $ac_cv_sizeof_short
26378
 
_ACEOF
26379
 
 
26380
 
  { echo "$as_me:$LINENO: checking for long" >&5
26381
 
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
26382
 
if test "${ac_cv_type_long+set}" = set; then
26383
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26384
 
else
26385
 
  cat >conftest.$ac_ext <<_ACEOF
26386
 
/* confdefs.h.  */
26387
 
_ACEOF
26388
 
cat confdefs.h >>conftest.$ac_ext
26389
 
cat >>conftest.$ac_ext <<_ACEOF
26390
 
/* end confdefs.h.  */
26391
 
$ac_includes_default
26392
 
typedef long ac__type_new_;
26393
 
int
26394
 
main ()
26395
 
{
26396
 
if ((ac__type_new_ *) 0)
26397
 
  return 0;
26398
 
if (sizeof (ac__type_new_))
26399
 
  return 0;
26400
 
  ;
26401
 
  return 0;
26402
 
}
26403
 
_ACEOF
26404
 
rm -f conftest.$ac_objext
26405
 
if { (ac_try="$ac_compile"
26406
 
case "(($ac_try" in
26407
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26408
 
  *) ac_try_echo=$ac_try;;
26409
 
esac
26410
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26411
 
  (eval "$ac_compile") 2>conftest.er1
26412
 
  ac_status=$?
26413
 
  grep -v '^ *+' conftest.er1 >conftest.err
26414
 
  rm -f conftest.er1
26415
 
  cat conftest.err >&5
26416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417
 
  (exit $ac_status); } && {
26418
 
         test -z "$ac_c_werror_flag" ||
26419
 
         test ! -s conftest.err
26420
 
       } && test -s conftest.$ac_objext; then
26421
 
  ac_cv_type_long=yes
26422
 
else
26423
 
  echo "$as_me: failed program was:" >&5
26424
 
sed 's/^/| /' conftest.$ac_ext >&5
26425
 
 
26426
 
        ac_cv_type_long=no
26427
 
fi
26428
 
 
26429
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26430
 
fi
26431
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
26432
 
echo "${ECHO_T}$ac_cv_type_long" >&6; }
26433
 
 
26434
 
# The cast to long int works around a bug in the HP C Compiler
26435
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26436
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26437
 
# This bug is HP SR number 8606223364.
26438
 
{ echo "$as_me:$LINENO: checking size of long" >&5
26439
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
26440
 
if test "${ac_cv_sizeof_long+set}" = set; then
26441
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26442
 
else
26443
 
  if test "$cross_compiling" = yes; then
26444
 
  # Depending upon the size, compute the lo and hi bounds.
26445
 
cat >conftest.$ac_ext <<_ACEOF
26446
 
/* confdefs.h.  */
26447
 
_ACEOF
26448
 
cat confdefs.h >>conftest.$ac_ext
26449
 
cat >>conftest.$ac_ext <<_ACEOF
26450
 
/* end confdefs.h.  */
26451
 
$ac_includes_default
26452
 
   typedef long ac__type_sizeof_;
26453
 
int
26454
 
main ()
26455
 
{
26456
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26457
 
test_array [0] = 0
26458
 
 
26459
 
  ;
26460
 
  return 0;
26461
 
}
26462
 
_ACEOF
26463
 
rm -f conftest.$ac_objext
26464
 
if { (ac_try="$ac_compile"
26465
 
case "(($ac_try" in
26466
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26467
 
  *) ac_try_echo=$ac_try;;
26468
 
esac
26469
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26470
 
  (eval "$ac_compile") 2>conftest.er1
26471
 
  ac_status=$?
26472
 
  grep -v '^ *+' conftest.er1 >conftest.err
26473
 
  rm -f conftest.er1
26474
 
  cat conftest.err >&5
26475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476
 
  (exit $ac_status); } && {
26477
 
         test -z "$ac_c_werror_flag" ||
26478
 
         test ! -s conftest.err
26479
 
       } && test -s conftest.$ac_objext; then
26480
 
  ac_lo=0 ac_mid=0
26481
 
  while :; do
26482
 
    cat >conftest.$ac_ext <<_ACEOF
26483
 
/* confdefs.h.  */
26484
 
_ACEOF
26485
 
cat confdefs.h >>conftest.$ac_ext
26486
 
cat >>conftest.$ac_ext <<_ACEOF
26487
 
/* end confdefs.h.  */
26488
 
$ac_includes_default
26489
 
   typedef long ac__type_sizeof_;
26490
 
int
26491
 
main ()
26492
 
{
26493
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26494
 
test_array [0] = 0
26495
 
 
26496
 
  ;
26497
 
  return 0;
26498
 
}
26499
 
_ACEOF
26500
 
rm -f conftest.$ac_objext
26501
 
if { (ac_try="$ac_compile"
26502
 
case "(($ac_try" in
26503
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26504
 
  *) ac_try_echo=$ac_try;;
26505
 
esac
26506
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26507
 
  (eval "$ac_compile") 2>conftest.er1
26508
 
  ac_status=$?
26509
 
  grep -v '^ *+' conftest.er1 >conftest.err
26510
 
  rm -f conftest.er1
26511
 
  cat conftest.err >&5
26512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513
 
  (exit $ac_status); } && {
26514
 
         test -z "$ac_c_werror_flag" ||
26515
 
         test ! -s conftest.err
26516
 
       } && test -s conftest.$ac_objext; then
26517
 
  ac_hi=$ac_mid; break
26518
 
else
26519
 
  echo "$as_me: failed program was:" >&5
26520
 
sed 's/^/| /' conftest.$ac_ext >&5
26521
 
 
26522
 
        ac_lo=`expr $ac_mid + 1`
26523
 
                        if test $ac_lo -le $ac_mid; then
26524
 
                          ac_lo= ac_hi=
26525
 
                          break
26526
 
                        fi
26527
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26528
 
fi
26529
 
 
26530
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26531
 
  done
26532
 
else
26533
 
  echo "$as_me: failed program was:" >&5
26534
 
sed 's/^/| /' conftest.$ac_ext >&5
26535
 
 
26536
 
        cat >conftest.$ac_ext <<_ACEOF
26537
 
/* confdefs.h.  */
26538
 
_ACEOF
26539
 
cat confdefs.h >>conftest.$ac_ext
26540
 
cat >>conftest.$ac_ext <<_ACEOF
26541
 
/* end confdefs.h.  */
26542
 
$ac_includes_default
26543
 
   typedef long ac__type_sizeof_;
26544
 
int
26545
 
main ()
26546
 
{
26547
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26548
 
test_array [0] = 0
26549
 
 
26550
 
  ;
26551
 
  return 0;
26552
 
}
26553
 
_ACEOF
26554
 
rm -f conftest.$ac_objext
26555
 
if { (ac_try="$ac_compile"
26556
 
case "(($ac_try" in
26557
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26558
 
  *) ac_try_echo=$ac_try;;
26559
 
esac
26560
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26561
 
  (eval "$ac_compile") 2>conftest.er1
26562
 
  ac_status=$?
26563
 
  grep -v '^ *+' conftest.er1 >conftest.err
26564
 
  rm -f conftest.er1
26565
 
  cat conftest.err >&5
26566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567
 
  (exit $ac_status); } && {
26568
 
         test -z "$ac_c_werror_flag" ||
26569
 
         test ! -s conftest.err
26570
 
       } && test -s conftest.$ac_objext; then
26571
 
  ac_hi=-1 ac_mid=-1
26572
 
  while :; do
26573
 
    cat >conftest.$ac_ext <<_ACEOF
26574
 
/* confdefs.h.  */
26575
 
_ACEOF
26576
 
cat confdefs.h >>conftest.$ac_ext
26577
 
cat >>conftest.$ac_ext <<_ACEOF
26578
 
/* end confdefs.h.  */
26579
 
$ac_includes_default
26580
 
   typedef long ac__type_sizeof_;
26581
 
int
26582
 
main ()
26583
 
{
26584
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26585
 
test_array [0] = 0
26586
 
 
26587
 
  ;
26588
 
  return 0;
26589
 
}
26590
 
_ACEOF
26591
 
rm -f conftest.$ac_objext
26592
 
if { (ac_try="$ac_compile"
26593
 
case "(($ac_try" in
26594
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26595
 
  *) ac_try_echo=$ac_try;;
26596
 
esac
26597
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26598
 
  (eval "$ac_compile") 2>conftest.er1
26599
 
  ac_status=$?
26600
 
  grep -v '^ *+' conftest.er1 >conftest.err
26601
 
  rm -f conftest.er1
26602
 
  cat conftest.err >&5
26603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604
 
  (exit $ac_status); } && {
26605
 
         test -z "$ac_c_werror_flag" ||
26606
 
         test ! -s conftest.err
26607
 
       } && test -s conftest.$ac_objext; then
26608
 
  ac_lo=$ac_mid; break
26609
 
else
26610
 
  echo "$as_me: failed program was:" >&5
26611
 
sed 's/^/| /' conftest.$ac_ext >&5
26612
 
 
26613
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26614
 
                        if test $ac_mid -le $ac_hi; then
26615
 
                          ac_lo= ac_hi=
26616
 
                          break
26617
 
                        fi
26618
 
                        ac_mid=`expr 2 '*' $ac_mid`
26619
 
fi
26620
 
 
26621
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26622
 
  done
26623
 
else
26624
 
  echo "$as_me: failed program was:" >&5
26625
 
sed 's/^/| /' conftest.$ac_ext >&5
26626
 
 
26627
 
        ac_lo= ac_hi=
26628
 
fi
26629
 
 
26630
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26631
 
fi
26632
 
 
26633
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26634
 
# Binary search between lo and hi bounds.
26635
 
while test "x$ac_lo" != "x$ac_hi"; do
26636
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26637
 
  cat >conftest.$ac_ext <<_ACEOF
26638
 
/* confdefs.h.  */
26639
 
_ACEOF
26640
 
cat confdefs.h >>conftest.$ac_ext
26641
 
cat >>conftest.$ac_ext <<_ACEOF
26642
 
/* end confdefs.h.  */
26643
 
$ac_includes_default
26644
 
   typedef long ac__type_sizeof_;
26645
 
int
26646
 
main ()
26647
 
{
26648
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26649
 
test_array [0] = 0
26650
 
 
26651
 
  ;
26652
 
  return 0;
26653
 
}
26654
 
_ACEOF
26655
 
rm -f conftest.$ac_objext
26656
 
if { (ac_try="$ac_compile"
26657
 
case "(($ac_try" in
26658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26659
 
  *) ac_try_echo=$ac_try;;
26660
 
esac
26661
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26662
 
  (eval "$ac_compile") 2>conftest.er1
26663
 
  ac_status=$?
26664
 
  grep -v '^ *+' conftest.er1 >conftest.err
26665
 
  rm -f conftest.er1
26666
 
  cat conftest.err >&5
26667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668
 
  (exit $ac_status); } && {
26669
 
         test -z "$ac_c_werror_flag" ||
26670
 
         test ! -s conftest.err
26671
 
       } && test -s conftest.$ac_objext; then
26672
 
  ac_hi=$ac_mid
26673
 
else
26674
 
  echo "$as_me: failed program was:" >&5
26675
 
sed 's/^/| /' conftest.$ac_ext >&5
26676
 
 
26677
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26678
 
fi
26679
 
 
26680
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26681
 
done
26682
 
case $ac_lo in
26683
 
?*) ac_cv_sizeof_long=$ac_lo;;
26684
 
'') if test "$ac_cv_type_long" = yes; then
26685
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26686
 
See \`config.log' for more details." >&5
26687
 
echo "$as_me: error: cannot compute sizeof (long)
26688
 
See \`config.log' for more details." >&2;}
26689
 
   { (exit 77); exit 77; }; }
26690
 
   else
26691
 
     ac_cv_sizeof_long=0
26692
 
   fi ;;
26693
 
esac
26694
 
else
26695
 
  cat >conftest.$ac_ext <<_ACEOF
26696
 
/* confdefs.h.  */
26697
 
_ACEOF
26698
 
cat confdefs.h >>conftest.$ac_ext
26699
 
cat >>conftest.$ac_ext <<_ACEOF
26700
 
/* end confdefs.h.  */
26701
 
$ac_includes_default
26702
 
   typedef long ac__type_sizeof_;
26703
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26704
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26705
 
#include <stdio.h>
26706
 
#include <stdlib.h>
26707
 
int
26708
 
main ()
26709
 
{
26710
 
 
26711
 
  FILE *f = fopen ("conftest.val", "w");
26712
 
  if (! f)
26713
 
    return 1;
26714
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26715
 
    {
26716
 
      long int i = longval ();
26717
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26718
 
        return 1;
26719
 
      fprintf (f, "%ld\n", i);
26720
 
    }
26721
 
  else
26722
 
    {
26723
 
      unsigned long int i = ulongval ();
26724
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26725
 
        return 1;
26726
 
      fprintf (f, "%lu\n", i);
26727
 
    }
26728
 
  return ferror (f) || fclose (f) != 0;
26729
 
 
26730
 
  ;
26731
 
  return 0;
26732
 
}
26733
 
_ACEOF
26734
 
rm -f conftest$ac_exeext
26735
 
if { (ac_try="$ac_link"
26736
 
case "(($ac_try" in
26737
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26738
 
  *) ac_try_echo=$ac_try;;
26739
 
esac
26740
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26741
 
  (eval "$ac_link") 2>&5
26742
 
  ac_status=$?
26743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26745
 
  { (case "(($ac_try" in
26746
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26747
 
  *) ac_try_echo=$ac_try;;
26748
 
esac
26749
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26750
 
  (eval "$ac_try") 2>&5
26751
 
  ac_status=$?
26752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753
 
  (exit $ac_status); }; }; then
26754
 
  ac_cv_sizeof_long=`cat conftest.val`
26755
 
else
26756
 
  echo "$as_me: program exited with status $ac_status" >&5
26757
 
echo "$as_me: failed program was:" >&5
26758
 
sed 's/^/| /' conftest.$ac_ext >&5
26759
 
 
26760
 
( exit $ac_status )
26761
 
if test "$ac_cv_type_long" = yes; then
26762
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26763
 
See \`config.log' for more details." >&5
26764
 
echo "$as_me: error: cannot compute sizeof (long)
26765
 
See \`config.log' for more details." >&2;}
26766
 
   { (exit 77); exit 77; }; }
26767
 
   else
26768
 
     ac_cv_sizeof_long=0
26769
 
   fi
26770
 
fi
26771
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26772
 
fi
26773
 
rm -f conftest.val
26774
 
fi
26775
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
26776
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
26777
 
 
26778
 
 
26779
 
 
26780
 
cat >>confdefs.h <<_ACEOF
26781
 
#define SIZEOF_LONG $ac_cv_sizeof_long
26782
 
_ACEOF
26783
 
 
26784
 
  { echo "$as_me:$LINENO: checking for char *" >&5
26785
 
echo $ECHO_N "checking for char *... $ECHO_C" >&6; }
26786
 
if test "${ac_cv_type_char_p+set}" = set; then
26787
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26788
 
else
26789
 
  cat >conftest.$ac_ext <<_ACEOF
26790
 
/* confdefs.h.  */
26791
 
_ACEOF
26792
 
cat confdefs.h >>conftest.$ac_ext
26793
 
cat >>conftest.$ac_ext <<_ACEOF
26794
 
/* end confdefs.h.  */
26795
 
$ac_includes_default
26796
 
typedef char * ac__type_new_;
26797
 
int
26798
 
main ()
26799
 
{
26800
 
if ((ac__type_new_ *) 0)
26801
 
  return 0;
26802
 
if (sizeof (ac__type_new_))
26803
 
  return 0;
26804
 
  ;
26805
 
  return 0;
26806
 
}
26807
 
_ACEOF
26808
 
rm -f conftest.$ac_objext
26809
 
if { (ac_try="$ac_compile"
26810
 
case "(($ac_try" in
26811
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26812
 
  *) ac_try_echo=$ac_try;;
26813
 
esac
26814
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26815
 
  (eval "$ac_compile") 2>conftest.er1
26816
 
  ac_status=$?
26817
 
  grep -v '^ *+' conftest.er1 >conftest.err
26818
 
  rm -f conftest.er1
26819
 
  cat conftest.err >&5
26820
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821
 
  (exit $ac_status); } && {
26822
 
         test -z "$ac_c_werror_flag" ||
26823
 
         test ! -s conftest.err
26824
 
       } && test -s conftest.$ac_objext; then
26825
 
  ac_cv_type_char_p=yes
26826
 
else
26827
 
  echo "$as_me: failed program was:" >&5
26828
 
sed 's/^/| /' conftest.$ac_ext >&5
26829
 
 
26830
 
        ac_cv_type_char_p=no
26831
 
fi
26832
 
 
26833
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26834
 
fi
26835
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
26836
 
echo "${ECHO_T}$ac_cv_type_char_p" >&6; }
26837
 
 
26838
 
# The cast to long int works around a bug in the HP C Compiler
26839
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26840
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26841
 
# This bug is HP SR number 8606223364.
26842
 
{ echo "$as_me:$LINENO: checking size of char *" >&5
26843
 
echo $ECHO_N "checking size of char *... $ECHO_C" >&6; }
26844
 
if test "${ac_cv_sizeof_char_p+set}" = set; then
26845
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26846
 
else
26847
 
  if test "$cross_compiling" = yes; then
26848
 
  # Depending upon the size, compute the lo and hi bounds.
26849
 
cat >conftest.$ac_ext <<_ACEOF
26850
 
/* confdefs.h.  */
26851
 
_ACEOF
26852
 
cat confdefs.h >>conftest.$ac_ext
26853
 
cat >>conftest.$ac_ext <<_ACEOF
26854
 
/* end confdefs.h.  */
26855
 
$ac_includes_default
26856
 
   typedef char * ac__type_sizeof_;
26857
 
int
26858
 
main ()
26859
 
{
26860
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26861
 
test_array [0] = 0
26862
 
 
26863
 
  ;
26864
 
  return 0;
26865
 
}
26866
 
_ACEOF
26867
 
rm -f conftest.$ac_objext
26868
 
if { (ac_try="$ac_compile"
26869
 
case "(($ac_try" in
26870
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26871
 
  *) ac_try_echo=$ac_try;;
26872
 
esac
26873
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26874
 
  (eval "$ac_compile") 2>conftest.er1
26875
 
  ac_status=$?
26876
 
  grep -v '^ *+' conftest.er1 >conftest.err
26877
 
  rm -f conftest.er1
26878
 
  cat conftest.err >&5
26879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880
 
  (exit $ac_status); } && {
26881
 
         test -z "$ac_c_werror_flag" ||
26882
 
         test ! -s conftest.err
26883
 
       } && test -s conftest.$ac_objext; then
26884
 
  ac_lo=0 ac_mid=0
26885
 
  while :; do
26886
 
    cat >conftest.$ac_ext <<_ACEOF
26887
 
/* confdefs.h.  */
26888
 
_ACEOF
26889
 
cat confdefs.h >>conftest.$ac_ext
26890
 
cat >>conftest.$ac_ext <<_ACEOF
26891
 
/* end confdefs.h.  */
26892
 
$ac_includes_default
26893
 
   typedef char * ac__type_sizeof_;
26894
 
int
26895
 
main ()
26896
 
{
26897
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26898
 
test_array [0] = 0
26899
 
 
26900
 
  ;
26901
 
  return 0;
26902
 
}
26903
 
_ACEOF
26904
 
rm -f conftest.$ac_objext
26905
 
if { (ac_try="$ac_compile"
26906
 
case "(($ac_try" in
26907
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26908
 
  *) ac_try_echo=$ac_try;;
26909
 
esac
26910
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26911
 
  (eval "$ac_compile") 2>conftest.er1
26912
 
  ac_status=$?
26913
 
  grep -v '^ *+' conftest.er1 >conftest.err
26914
 
  rm -f conftest.er1
26915
 
  cat conftest.err >&5
26916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917
 
  (exit $ac_status); } && {
26918
 
         test -z "$ac_c_werror_flag" ||
26919
 
         test ! -s conftest.err
26920
 
       } && test -s conftest.$ac_objext; then
26921
 
  ac_hi=$ac_mid; break
26922
 
else
26923
 
  echo "$as_me: failed program was:" >&5
26924
 
sed 's/^/| /' conftest.$ac_ext >&5
26925
 
 
26926
 
        ac_lo=`expr $ac_mid + 1`
26927
 
                        if test $ac_lo -le $ac_mid; then
26928
 
                          ac_lo= ac_hi=
26929
 
                          break
26930
 
                        fi
26931
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26932
 
fi
26933
 
 
26934
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26935
 
  done
26936
 
else
26937
 
  echo "$as_me: failed program was:" >&5
26938
 
sed 's/^/| /' conftest.$ac_ext >&5
26939
 
 
26940
 
        cat >conftest.$ac_ext <<_ACEOF
26941
 
/* confdefs.h.  */
26942
 
_ACEOF
26943
 
cat confdefs.h >>conftest.$ac_ext
26944
 
cat >>conftest.$ac_ext <<_ACEOF
26945
 
/* end confdefs.h.  */
26946
 
$ac_includes_default
26947
 
   typedef char * ac__type_sizeof_;
26948
 
int
26949
 
main ()
26950
 
{
26951
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26952
 
test_array [0] = 0
26953
 
 
26954
 
  ;
26955
 
  return 0;
26956
 
}
26957
 
_ACEOF
26958
 
rm -f conftest.$ac_objext
26959
 
if { (ac_try="$ac_compile"
26960
 
case "(($ac_try" in
26961
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26962
 
  *) ac_try_echo=$ac_try;;
26963
 
esac
26964
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26965
 
  (eval "$ac_compile") 2>conftest.er1
26966
 
  ac_status=$?
26967
 
  grep -v '^ *+' conftest.er1 >conftest.err
26968
 
  rm -f conftest.er1
26969
 
  cat conftest.err >&5
26970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971
 
  (exit $ac_status); } && {
26972
 
         test -z "$ac_c_werror_flag" ||
26973
 
         test ! -s conftest.err
26974
 
       } && test -s conftest.$ac_objext; then
26975
 
  ac_hi=-1 ac_mid=-1
26976
 
  while :; do
26977
 
    cat >conftest.$ac_ext <<_ACEOF
26978
 
/* confdefs.h.  */
26979
 
_ACEOF
26980
 
cat confdefs.h >>conftest.$ac_ext
26981
 
cat >>conftest.$ac_ext <<_ACEOF
26982
 
/* end confdefs.h.  */
26983
 
$ac_includes_default
26984
 
   typedef char * ac__type_sizeof_;
26985
 
int
26986
 
main ()
26987
 
{
26988
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26989
 
test_array [0] = 0
26990
 
 
26991
 
  ;
26992
 
  return 0;
26993
 
}
26994
 
_ACEOF
26995
 
rm -f conftest.$ac_objext
26996
 
if { (ac_try="$ac_compile"
26997
 
case "(($ac_try" in
26998
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26999
 
  *) ac_try_echo=$ac_try;;
27000
 
esac
27001
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27002
 
  (eval "$ac_compile") 2>conftest.er1
27003
 
  ac_status=$?
27004
 
  grep -v '^ *+' conftest.er1 >conftest.err
27005
 
  rm -f conftest.er1
27006
 
  cat conftest.err >&5
27007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008
 
  (exit $ac_status); } && {
27009
 
         test -z "$ac_c_werror_flag" ||
27010
 
         test ! -s conftest.err
27011
 
       } && test -s conftest.$ac_objext; then
27012
 
  ac_lo=$ac_mid; break
27013
 
else
27014
 
  echo "$as_me: failed program was:" >&5
27015
 
sed 's/^/| /' conftest.$ac_ext >&5
27016
 
 
27017
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27018
 
                        if test $ac_mid -le $ac_hi; then
27019
 
                          ac_lo= ac_hi=
27020
 
                          break
27021
 
                        fi
27022
 
                        ac_mid=`expr 2 '*' $ac_mid`
27023
 
fi
27024
 
 
27025
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27026
 
  done
27027
 
else
27028
 
  echo "$as_me: failed program was:" >&5
27029
 
sed 's/^/| /' conftest.$ac_ext >&5
27030
 
 
27031
 
        ac_lo= ac_hi=
27032
 
fi
27033
 
 
27034
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27035
 
fi
27036
 
 
27037
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27038
 
# Binary search between lo and hi bounds.
27039
 
while test "x$ac_lo" != "x$ac_hi"; do
27040
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27041
 
  cat >conftest.$ac_ext <<_ACEOF
27042
 
/* confdefs.h.  */
27043
 
_ACEOF
27044
 
cat confdefs.h >>conftest.$ac_ext
27045
 
cat >>conftest.$ac_ext <<_ACEOF
27046
 
/* end confdefs.h.  */
27047
 
$ac_includes_default
27048
 
   typedef char * ac__type_sizeof_;
27049
 
int
27050
 
main ()
27051
 
{
27052
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27053
 
test_array [0] = 0
27054
 
 
27055
 
  ;
27056
 
  return 0;
27057
 
}
27058
 
_ACEOF
27059
 
rm -f conftest.$ac_objext
27060
 
if { (ac_try="$ac_compile"
27061
 
case "(($ac_try" in
27062
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27063
 
  *) ac_try_echo=$ac_try;;
27064
 
esac
27065
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27066
 
  (eval "$ac_compile") 2>conftest.er1
27067
 
  ac_status=$?
27068
 
  grep -v '^ *+' conftest.er1 >conftest.err
27069
 
  rm -f conftest.er1
27070
 
  cat conftest.err >&5
27071
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072
 
  (exit $ac_status); } && {
27073
 
         test -z "$ac_c_werror_flag" ||
27074
 
         test ! -s conftest.err
27075
 
       } && test -s conftest.$ac_objext; then
27076
 
  ac_hi=$ac_mid
27077
 
else
27078
 
  echo "$as_me: failed program was:" >&5
27079
 
sed 's/^/| /' conftest.$ac_ext >&5
27080
 
 
27081
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
27082
 
fi
27083
 
 
27084
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27085
 
done
27086
 
case $ac_lo in
27087
 
?*) ac_cv_sizeof_char_p=$ac_lo;;
27088
 
'') if test "$ac_cv_type_char_p" = yes; then
27089
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27090
 
See \`config.log' for more details." >&5
27091
 
echo "$as_me: error: cannot compute sizeof (char *)
27092
 
See \`config.log' for more details." >&2;}
27093
 
   { (exit 77); exit 77; }; }
27094
 
   else
27095
 
     ac_cv_sizeof_char_p=0
27096
 
   fi ;;
27097
 
esac
27098
 
else
27099
 
  cat >conftest.$ac_ext <<_ACEOF
27100
 
/* confdefs.h.  */
27101
 
_ACEOF
27102
 
cat confdefs.h >>conftest.$ac_ext
27103
 
cat >>conftest.$ac_ext <<_ACEOF
27104
 
/* end confdefs.h.  */
27105
 
$ac_includes_default
27106
 
   typedef char * ac__type_sizeof_;
27107
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27108
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27109
 
#include <stdio.h>
27110
 
#include <stdlib.h>
27111
 
int
27112
 
main ()
27113
 
{
27114
 
 
27115
 
  FILE *f = fopen ("conftest.val", "w");
27116
 
  if (! f)
27117
 
    return 1;
27118
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27119
 
    {
27120
 
      long int i = longval ();
27121
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27122
 
        return 1;
27123
 
      fprintf (f, "%ld\n", i);
27124
 
    }
27125
 
  else
27126
 
    {
27127
 
      unsigned long int i = ulongval ();
27128
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27129
 
        return 1;
27130
 
      fprintf (f, "%lu\n", i);
27131
 
    }
27132
 
  return ferror (f) || fclose (f) != 0;
27133
 
 
27134
 
  ;
27135
 
  return 0;
27136
 
}
27137
 
_ACEOF
27138
 
rm -f conftest$ac_exeext
27139
 
if { (ac_try="$ac_link"
27140
 
case "(($ac_try" in
27141
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27142
 
  *) ac_try_echo=$ac_try;;
27143
 
esac
27144
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27145
 
  (eval "$ac_link") 2>&5
27146
 
  ac_status=$?
27147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27149
 
  { (case "(($ac_try" in
27150
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27151
 
  *) ac_try_echo=$ac_try;;
27152
 
esac
27153
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27154
 
  (eval "$ac_try") 2>&5
27155
 
  ac_status=$?
27156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157
 
  (exit $ac_status); }; }; then
27158
 
  ac_cv_sizeof_char_p=`cat conftest.val`
27159
 
else
27160
 
  echo "$as_me: program exited with status $ac_status" >&5
27161
 
echo "$as_me: failed program was:" >&5
27162
 
sed 's/^/| /' conftest.$ac_ext >&5
27163
 
 
27164
 
( exit $ac_status )
27165
 
if test "$ac_cv_type_char_p" = yes; then
27166
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27167
 
See \`config.log' for more details." >&5
27168
 
echo "$as_me: error: cannot compute sizeof (char *)
27169
 
See \`config.log' for more details." >&2;}
27170
 
   { (exit 77); exit 77; }; }
27171
 
   else
27172
 
     ac_cv_sizeof_char_p=0
27173
 
   fi
27174
 
fi
27175
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27176
 
fi
27177
 
rm -f conftest.val
27178
 
fi
27179
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
27180
 
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6; }
27181
 
 
27182
 
 
27183
 
 
27184
 
cat >>confdefs.h <<_ACEOF
27185
 
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
27186
 
_ACEOF
27187
 
 
27188
 
 
27189
 
 
27190
 
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27191
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
27192
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27194
 
else
27195
 
  ac_check_lib_save_LIBS=$LIBS
27196
 
LIBS="-ldl  $LIBS"
27197
 
cat >conftest.$ac_ext <<_ACEOF
27198
 
/* confdefs.h.  */
27199
 
_ACEOF
27200
 
cat confdefs.h >>conftest.$ac_ext
27201
 
cat >>conftest.$ac_ext <<_ACEOF
27202
 
/* end confdefs.h.  */
27203
 
 
27204
 
/* Override any GCC internal prototype to avoid an error.
27205
 
   Use char because int might match the return type of a GCC
27206
 
   builtin and then its argument prototype would still apply.  */
27207
 
#ifdef __cplusplus
27208
 
extern "C"
27209
 
#endif
27210
 
char dlopen ();
27211
 
int
27212
 
main ()
27213
 
{
27214
 
return dlopen ();
27215
 
  ;
27216
 
  return 0;
27217
 
}
27218
 
_ACEOF
27219
 
rm -f conftest.$ac_objext conftest$ac_exeext
27220
 
if { (ac_try="$ac_link"
27221
 
case "(($ac_try" in
27222
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27223
 
  *) ac_try_echo=$ac_try;;
27224
 
esac
27225
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27226
 
  (eval "$ac_link") 2>conftest.er1
27227
 
  ac_status=$?
27228
 
  grep -v '^ *+' conftest.er1 >conftest.err
27229
 
  rm -f conftest.er1
27230
 
  cat conftest.err >&5
27231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232
 
  (exit $ac_status); } && {
27233
 
         test -z "$ac_c_werror_flag" ||
27234
 
         test ! -s conftest.err
27235
 
       } && test -s conftest$ac_exeext &&
27236
 
       $as_test_x conftest$ac_exeext; then
27237
 
  ac_cv_lib_dl_dlopen=yes
27238
 
else
27239
 
  echo "$as_me: failed program was:" >&5
27240
 
sed 's/^/| /' conftest.$ac_ext >&5
27241
 
 
27242
 
        ac_cv_lib_dl_dlopen=no
27243
 
fi
27244
 
 
27245
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27246
 
      conftest$ac_exeext conftest.$ac_ext
27247
 
LIBS=$ac_check_lib_save_LIBS
27248
 
fi
27249
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27250
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
27251
 
if test $ac_cv_lib_dl_dlopen = yes; then
27252
 
 
27253
 
LIBDL="-ldl"
27254
 
ac_cv_have_dlfcn=yes
27255
 
 
27256
 
fi
27257
 
 
27258
 
 
27259
 
{ echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
27260
 
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6; }
27261
 
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
27262
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27263
 
else
27264
 
  ac_check_lib_save_LIBS=$LIBS
27265
 
LIBS="-ldld  $LIBS"
27266
 
cat >conftest.$ac_ext <<_ACEOF
27267
 
/* confdefs.h.  */
27268
 
_ACEOF
27269
 
cat confdefs.h >>conftest.$ac_ext
27270
 
cat >>conftest.$ac_ext <<_ACEOF
27271
 
/* end confdefs.h.  */
27272
 
 
27273
 
/* Override any GCC internal prototype to avoid an error.
27274
 
   Use char because int might match the return type of a GCC
27275
 
   builtin and then its argument prototype would still apply.  */
27276
 
#ifdef __cplusplus
27277
 
extern "C"
27278
 
#endif
27279
 
char shl_unload ();
27280
 
int
27281
 
main ()
27282
 
{
27283
 
return shl_unload ();
27284
 
  ;
27285
 
  return 0;
27286
 
}
27287
 
_ACEOF
27288
 
rm -f conftest.$ac_objext conftest$ac_exeext
27289
 
if { (ac_try="$ac_link"
27290
 
case "(($ac_try" in
27291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27292
 
  *) ac_try_echo=$ac_try;;
27293
 
esac
27294
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27295
 
  (eval "$ac_link") 2>conftest.er1
27296
 
  ac_status=$?
27297
 
  grep -v '^ *+' conftest.er1 >conftest.err
27298
 
  rm -f conftest.er1
27299
 
  cat conftest.err >&5
27300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301
 
  (exit $ac_status); } && {
27302
 
         test -z "$ac_c_werror_flag" ||
27303
 
         test ! -s conftest.err
27304
 
       } && test -s conftest$ac_exeext &&
27305
 
       $as_test_x conftest$ac_exeext; then
27306
 
  ac_cv_lib_dld_shl_unload=yes
27307
 
else
27308
 
  echo "$as_me: failed program was:" >&5
27309
 
sed 's/^/| /' conftest.$ac_ext >&5
27310
 
 
27311
 
        ac_cv_lib_dld_shl_unload=no
27312
 
fi
27313
 
 
27314
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27315
 
      conftest$ac_exeext conftest.$ac_ext
27316
 
LIBS=$ac_check_lib_save_LIBS
27317
 
fi
27318
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
27319
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6; }
27320
 
if test $ac_cv_lib_dld_shl_unload = yes; then
27321
 
 
27322
 
LIBDL="-ldld"
27323
 
ac_cv_have_shload=yes
27324
 
 
27325
 
fi
27326
 
 
27327
 
 
27328
 
 
27329
 
 
27330
 
 
27331
 
 
27332
 
 
27333
 
  { echo "$as_me:$LINENO: checking for size_t" >&5
27334
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
27335
 
if test "${ac_cv_type_size_t+set}" = set; then
27336
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27337
 
else
27338
 
  cat >conftest.$ac_ext <<_ACEOF
27339
 
/* confdefs.h.  */
27340
 
_ACEOF
27341
 
cat confdefs.h >>conftest.$ac_ext
27342
 
cat >>conftest.$ac_ext <<_ACEOF
27343
 
/* end confdefs.h.  */
27344
 
$ac_includes_default
27345
 
typedef size_t ac__type_new_;
27346
 
int
27347
 
main ()
27348
 
{
27349
 
if ((ac__type_new_ *) 0)
27350
 
  return 0;
27351
 
if (sizeof (ac__type_new_))
27352
 
  return 0;
27353
 
  ;
27354
 
  return 0;
27355
 
}
27356
 
_ACEOF
27357
 
rm -f conftest.$ac_objext
27358
 
if { (ac_try="$ac_compile"
27359
 
case "(($ac_try" in
27360
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27361
 
  *) ac_try_echo=$ac_try;;
27362
 
esac
27363
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27364
 
  (eval "$ac_compile") 2>conftest.er1
27365
 
  ac_status=$?
27366
 
  grep -v '^ *+' conftest.er1 >conftest.err
27367
 
  rm -f conftest.er1
27368
 
  cat conftest.err >&5
27369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370
 
  (exit $ac_status); } && {
27371
 
         test -z "$ac_c_werror_flag" ||
27372
 
         test ! -s conftest.err
27373
 
       } && test -s conftest.$ac_objext; then
27374
 
  ac_cv_type_size_t=yes
27375
 
else
27376
 
  echo "$as_me: failed program was:" >&5
27377
 
sed 's/^/| /' conftest.$ac_ext >&5
27378
 
 
27379
 
        ac_cv_type_size_t=no
27380
 
fi
27381
 
 
27382
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27383
 
fi
27384
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27385
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
27386
 
 
27387
 
# The cast to long int works around a bug in the HP C Compiler
27388
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27389
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27390
 
# This bug is HP SR number 8606223364.
27391
 
{ echo "$as_me:$LINENO: checking size of size_t" >&5
27392
 
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
27393
 
if test "${ac_cv_sizeof_size_t+set}" = set; then
27394
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27395
 
else
27396
 
  if test "$cross_compiling" = yes; then
27397
 
  # Depending upon the size, compute the lo and hi bounds.
27398
 
cat >conftest.$ac_ext <<_ACEOF
27399
 
/* confdefs.h.  */
27400
 
_ACEOF
27401
 
cat confdefs.h >>conftest.$ac_ext
27402
 
cat >>conftest.$ac_ext <<_ACEOF
27403
 
/* end confdefs.h.  */
27404
 
$ac_includes_default
27405
 
   typedef size_t ac__type_sizeof_;
27406
 
int
27407
 
main ()
27408
 
{
27409
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27410
 
test_array [0] = 0
27411
 
 
27412
 
  ;
27413
 
  return 0;
27414
 
}
27415
 
_ACEOF
27416
 
rm -f conftest.$ac_objext
27417
 
if { (ac_try="$ac_compile"
27418
 
case "(($ac_try" in
27419
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27420
 
  *) ac_try_echo=$ac_try;;
27421
 
esac
27422
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27423
 
  (eval "$ac_compile") 2>conftest.er1
27424
 
  ac_status=$?
27425
 
  grep -v '^ *+' conftest.er1 >conftest.err
27426
 
  rm -f conftest.er1
27427
 
  cat conftest.err >&5
27428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429
 
  (exit $ac_status); } && {
27430
 
         test -z "$ac_c_werror_flag" ||
27431
 
         test ! -s conftest.err
27432
 
       } && test -s conftest.$ac_objext; then
27433
 
  ac_lo=0 ac_mid=0
27434
 
  while :; do
27435
 
    cat >conftest.$ac_ext <<_ACEOF
27436
 
/* confdefs.h.  */
27437
 
_ACEOF
27438
 
cat confdefs.h >>conftest.$ac_ext
27439
 
cat >>conftest.$ac_ext <<_ACEOF
27440
 
/* end confdefs.h.  */
27441
 
$ac_includes_default
27442
 
   typedef size_t ac__type_sizeof_;
27443
 
int
27444
 
main ()
27445
 
{
27446
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27447
 
test_array [0] = 0
27448
 
 
27449
 
  ;
27450
 
  return 0;
27451
 
}
27452
 
_ACEOF
27453
 
rm -f conftest.$ac_objext
27454
 
if { (ac_try="$ac_compile"
27455
 
case "(($ac_try" in
27456
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27457
 
  *) ac_try_echo=$ac_try;;
27458
 
esac
27459
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27460
 
  (eval "$ac_compile") 2>conftest.er1
27461
 
  ac_status=$?
27462
 
  grep -v '^ *+' conftest.er1 >conftest.err
27463
 
  rm -f conftest.er1
27464
 
  cat conftest.err >&5
27465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466
 
  (exit $ac_status); } && {
27467
 
         test -z "$ac_c_werror_flag" ||
27468
 
         test ! -s conftest.err
27469
 
       } && test -s conftest.$ac_objext; then
27470
 
  ac_hi=$ac_mid; break
27471
 
else
27472
 
  echo "$as_me: failed program was:" >&5
27473
 
sed 's/^/| /' conftest.$ac_ext >&5
27474
 
 
27475
 
        ac_lo=`expr $ac_mid + 1`
27476
 
                        if test $ac_lo -le $ac_mid; then
27477
 
                          ac_lo= ac_hi=
27478
 
                          break
27479
 
                        fi
27480
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27481
 
fi
27482
 
 
27483
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27484
 
  done
27485
 
else
27486
 
  echo "$as_me: failed program was:" >&5
27487
 
sed 's/^/| /' conftest.$ac_ext >&5
27488
 
 
27489
 
        cat >conftest.$ac_ext <<_ACEOF
27490
 
/* confdefs.h.  */
27491
 
_ACEOF
27492
 
cat confdefs.h >>conftest.$ac_ext
27493
 
cat >>conftest.$ac_ext <<_ACEOF
27494
 
/* end confdefs.h.  */
27495
 
$ac_includes_default
27496
 
   typedef size_t ac__type_sizeof_;
27497
 
int
27498
 
main ()
27499
 
{
27500
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27501
 
test_array [0] = 0
27502
 
 
27503
 
  ;
27504
 
  return 0;
27505
 
}
27506
 
_ACEOF
27507
 
rm -f conftest.$ac_objext
27508
 
if { (ac_try="$ac_compile"
27509
 
case "(($ac_try" in
27510
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27511
 
  *) ac_try_echo=$ac_try;;
27512
 
esac
27513
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27514
 
  (eval "$ac_compile") 2>conftest.er1
27515
 
  ac_status=$?
27516
 
  grep -v '^ *+' conftest.er1 >conftest.err
27517
 
  rm -f conftest.er1
27518
 
  cat conftest.err >&5
27519
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520
 
  (exit $ac_status); } && {
27521
 
         test -z "$ac_c_werror_flag" ||
27522
 
         test ! -s conftest.err
27523
 
       } && test -s conftest.$ac_objext; then
27524
 
  ac_hi=-1 ac_mid=-1
27525
 
  while :; do
27526
 
    cat >conftest.$ac_ext <<_ACEOF
27527
 
/* confdefs.h.  */
27528
 
_ACEOF
27529
 
cat confdefs.h >>conftest.$ac_ext
27530
 
cat >>conftest.$ac_ext <<_ACEOF
27531
 
/* end confdefs.h.  */
27532
 
$ac_includes_default
27533
 
   typedef size_t ac__type_sizeof_;
27534
 
int
27535
 
main ()
27536
 
{
27537
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27538
 
test_array [0] = 0
27539
 
 
27540
 
  ;
27541
 
  return 0;
27542
 
}
27543
 
_ACEOF
27544
 
rm -f conftest.$ac_objext
27545
 
if { (ac_try="$ac_compile"
27546
 
case "(($ac_try" in
27547
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27548
 
  *) ac_try_echo=$ac_try;;
27549
 
esac
27550
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27551
 
  (eval "$ac_compile") 2>conftest.er1
27552
 
  ac_status=$?
27553
 
  grep -v '^ *+' conftest.er1 >conftest.err
27554
 
  rm -f conftest.er1
27555
 
  cat conftest.err >&5
27556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557
 
  (exit $ac_status); } && {
27558
 
         test -z "$ac_c_werror_flag" ||
27559
 
         test ! -s conftest.err
27560
 
       } && test -s conftest.$ac_objext; then
27561
 
  ac_lo=$ac_mid; break
27562
 
else
27563
 
  echo "$as_me: failed program was:" >&5
27564
 
sed 's/^/| /' conftest.$ac_ext >&5
27565
 
 
27566
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27567
 
                        if test $ac_mid -le $ac_hi; then
27568
 
                          ac_lo= ac_hi=
27569
 
                          break
27570
 
                        fi
27571
 
                        ac_mid=`expr 2 '*' $ac_mid`
27572
 
fi
27573
 
 
27574
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27575
 
  done
27576
 
else
27577
 
  echo "$as_me: failed program was:" >&5
27578
 
sed 's/^/| /' conftest.$ac_ext >&5
27579
 
 
27580
 
        ac_lo= ac_hi=
27581
 
fi
27582
 
 
27583
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27584
 
fi
27585
 
 
27586
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27587
 
# Binary search between lo and hi bounds.
27588
 
while test "x$ac_lo" != "x$ac_hi"; do
27589
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27590
 
  cat >conftest.$ac_ext <<_ACEOF
27591
 
/* confdefs.h.  */
27592
 
_ACEOF
27593
 
cat confdefs.h >>conftest.$ac_ext
27594
 
cat >>conftest.$ac_ext <<_ACEOF
27595
 
/* end confdefs.h.  */
27596
 
$ac_includes_default
27597
 
   typedef size_t ac__type_sizeof_;
27598
 
int
27599
 
main ()
27600
 
{
27601
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27602
 
test_array [0] = 0
27603
 
 
27604
 
  ;
27605
 
  return 0;
27606
 
}
27607
 
_ACEOF
27608
 
rm -f conftest.$ac_objext
27609
 
if { (ac_try="$ac_compile"
27610
 
case "(($ac_try" in
27611
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27612
 
  *) ac_try_echo=$ac_try;;
27613
 
esac
27614
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27615
 
  (eval "$ac_compile") 2>conftest.er1
27616
 
  ac_status=$?
27617
 
  grep -v '^ *+' conftest.er1 >conftest.err
27618
 
  rm -f conftest.er1
27619
 
  cat conftest.err >&5
27620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621
 
  (exit $ac_status); } && {
27622
 
         test -z "$ac_c_werror_flag" ||
27623
 
         test ! -s conftest.err
27624
 
       } && test -s conftest.$ac_objext; then
27625
 
  ac_hi=$ac_mid
27626
 
else
27627
 
  echo "$as_me: failed program was:" >&5
27628
 
sed 's/^/| /' conftest.$ac_ext >&5
27629
 
 
27630
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
27631
 
fi
27632
 
 
27633
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27634
 
done
27635
 
case $ac_lo in
27636
 
?*) ac_cv_sizeof_size_t=$ac_lo;;
27637
 
'') if test "$ac_cv_type_size_t" = yes; then
27638
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27639
 
See \`config.log' for more details." >&5
27640
 
echo "$as_me: error: cannot compute sizeof (size_t)
27641
 
See \`config.log' for more details." >&2;}
27642
 
   { (exit 77); exit 77; }; }
27643
 
   else
27644
 
     ac_cv_sizeof_size_t=0
27645
 
   fi ;;
27646
 
esac
27647
 
else
27648
 
  cat >conftest.$ac_ext <<_ACEOF
27649
 
/* confdefs.h.  */
27650
 
_ACEOF
27651
 
cat confdefs.h >>conftest.$ac_ext
27652
 
cat >>conftest.$ac_ext <<_ACEOF
27653
 
/* end confdefs.h.  */
27654
 
$ac_includes_default
27655
 
   typedef size_t ac__type_sizeof_;
27656
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27657
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27658
 
#include <stdio.h>
27659
 
#include <stdlib.h>
27660
 
int
27661
 
main ()
27662
 
{
27663
 
 
27664
 
  FILE *f = fopen ("conftest.val", "w");
27665
 
  if (! f)
27666
 
    return 1;
27667
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27668
 
    {
27669
 
      long int i = longval ();
27670
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27671
 
        return 1;
27672
 
      fprintf (f, "%ld\n", i);
27673
 
    }
27674
 
  else
27675
 
    {
27676
 
      unsigned long int i = ulongval ();
27677
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27678
 
        return 1;
27679
 
      fprintf (f, "%lu\n", i);
27680
 
    }
27681
 
  return ferror (f) || fclose (f) != 0;
27682
 
 
27683
 
  ;
27684
 
  return 0;
27685
 
}
27686
 
_ACEOF
27687
 
rm -f conftest$ac_exeext
27688
 
if { (ac_try="$ac_link"
27689
 
case "(($ac_try" in
27690
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27691
 
  *) ac_try_echo=$ac_try;;
27692
 
esac
27693
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27694
 
  (eval "$ac_link") 2>&5
27695
 
  ac_status=$?
27696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27698
 
  { (case "(($ac_try" in
27699
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27700
 
  *) ac_try_echo=$ac_try;;
27701
 
esac
27702
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27703
 
  (eval "$ac_try") 2>&5
27704
 
  ac_status=$?
27705
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706
 
  (exit $ac_status); }; }; then
27707
 
  ac_cv_sizeof_size_t=`cat conftest.val`
27708
 
else
27709
 
  echo "$as_me: program exited with status $ac_status" >&5
27710
 
echo "$as_me: failed program was:" >&5
27711
 
sed 's/^/| /' conftest.$ac_ext >&5
27712
 
 
27713
 
( exit $ac_status )
27714
 
if test "$ac_cv_type_size_t" = yes; then
27715
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27716
 
See \`config.log' for more details." >&5
27717
 
echo "$as_me: error: cannot compute sizeof (size_t)
27718
 
See \`config.log' for more details." >&2;}
27719
 
   { (exit 77); exit 77; }; }
27720
 
   else
27721
 
     ac_cv_sizeof_size_t=0
27722
 
   fi
27723
 
fi
27724
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27725
 
fi
27726
 
rm -f conftest.val
27727
 
fi
27728
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
27729
 
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
27730
 
 
27731
 
 
27732
 
 
27733
 
cat >>confdefs.h <<_ACEOF
27734
 
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
27735
 
_ACEOF
27736
 
 
27737
 
 
27738
 
  { echo "$as_me:$LINENO: checking for unsigned long" >&5
27739
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
27740
 
if test "${ac_cv_type_unsigned_long+set}" = set; then
27741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27742
 
else
27743
 
  cat >conftest.$ac_ext <<_ACEOF
27744
 
/* confdefs.h.  */
27745
 
_ACEOF
27746
 
cat confdefs.h >>conftest.$ac_ext
27747
 
cat >>conftest.$ac_ext <<_ACEOF
27748
 
/* end confdefs.h.  */
27749
 
$ac_includes_default
27750
 
typedef unsigned long ac__type_new_;
27751
 
int
27752
 
main ()
27753
 
{
27754
 
if ((ac__type_new_ *) 0)
27755
 
  return 0;
27756
 
if (sizeof (ac__type_new_))
27757
 
  return 0;
27758
 
  ;
27759
 
  return 0;
27760
 
}
27761
 
_ACEOF
27762
 
rm -f conftest.$ac_objext
27763
 
if { (ac_try="$ac_compile"
27764
 
case "(($ac_try" in
27765
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27766
 
  *) ac_try_echo=$ac_try;;
27767
 
esac
27768
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27769
 
  (eval "$ac_compile") 2>conftest.er1
27770
 
  ac_status=$?
27771
 
  grep -v '^ *+' conftest.er1 >conftest.err
27772
 
  rm -f conftest.er1
27773
 
  cat conftest.err >&5
27774
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775
 
  (exit $ac_status); } && {
27776
 
         test -z "$ac_c_werror_flag" ||
27777
 
         test ! -s conftest.err
27778
 
       } && test -s conftest.$ac_objext; then
27779
 
  ac_cv_type_unsigned_long=yes
27780
 
else
27781
 
  echo "$as_me: failed program was:" >&5
27782
 
sed 's/^/| /' conftest.$ac_ext >&5
27783
 
 
27784
 
        ac_cv_type_unsigned_long=no
27785
 
fi
27786
 
 
27787
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27788
 
fi
27789
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
27790
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
27791
 
 
27792
 
# The cast to long int works around a bug in the HP C Compiler
27793
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27794
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27795
 
# This bug is HP SR number 8606223364.
27796
 
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
27797
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
27798
 
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
27799
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27800
 
else
27801
 
  if test "$cross_compiling" = yes; then
27802
 
  # Depending upon the size, compute the lo and hi bounds.
27803
 
cat >conftest.$ac_ext <<_ACEOF
27804
 
/* confdefs.h.  */
27805
 
_ACEOF
27806
 
cat confdefs.h >>conftest.$ac_ext
27807
 
cat >>conftest.$ac_ext <<_ACEOF
27808
 
/* end confdefs.h.  */
27809
 
$ac_includes_default
27810
 
   typedef unsigned long ac__type_sizeof_;
27811
 
int
27812
 
main ()
27813
 
{
27814
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27815
 
test_array [0] = 0
27816
 
 
27817
 
  ;
27818
 
  return 0;
27819
 
}
27820
 
_ACEOF
27821
 
rm -f conftest.$ac_objext
27822
 
if { (ac_try="$ac_compile"
27823
 
case "(($ac_try" in
27824
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27825
 
  *) ac_try_echo=$ac_try;;
27826
 
esac
27827
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27828
 
  (eval "$ac_compile") 2>conftest.er1
27829
 
  ac_status=$?
27830
 
  grep -v '^ *+' conftest.er1 >conftest.err
27831
 
  rm -f conftest.er1
27832
 
  cat conftest.err >&5
27833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834
 
  (exit $ac_status); } && {
27835
 
         test -z "$ac_c_werror_flag" ||
27836
 
         test ! -s conftest.err
27837
 
       } && test -s conftest.$ac_objext; then
27838
 
  ac_lo=0 ac_mid=0
27839
 
  while :; do
27840
 
    cat >conftest.$ac_ext <<_ACEOF
27841
 
/* confdefs.h.  */
27842
 
_ACEOF
27843
 
cat confdefs.h >>conftest.$ac_ext
27844
 
cat >>conftest.$ac_ext <<_ACEOF
27845
 
/* end confdefs.h.  */
27846
 
$ac_includes_default
27847
 
   typedef unsigned long ac__type_sizeof_;
27848
 
int
27849
 
main ()
27850
 
{
27851
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27852
 
test_array [0] = 0
27853
 
 
27854
 
  ;
27855
 
  return 0;
27856
 
}
27857
 
_ACEOF
27858
 
rm -f conftest.$ac_objext
27859
 
if { (ac_try="$ac_compile"
27860
 
case "(($ac_try" in
27861
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27862
 
  *) ac_try_echo=$ac_try;;
27863
 
esac
27864
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27865
 
  (eval "$ac_compile") 2>conftest.er1
27866
 
  ac_status=$?
27867
 
  grep -v '^ *+' conftest.er1 >conftest.err
27868
 
  rm -f conftest.er1
27869
 
  cat conftest.err >&5
27870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871
 
  (exit $ac_status); } && {
27872
 
         test -z "$ac_c_werror_flag" ||
27873
 
         test ! -s conftest.err
27874
 
       } && test -s conftest.$ac_objext; then
27875
 
  ac_hi=$ac_mid; break
27876
 
else
27877
 
  echo "$as_me: failed program was:" >&5
27878
 
sed 's/^/| /' conftest.$ac_ext >&5
27879
 
 
27880
 
        ac_lo=`expr $ac_mid + 1`
27881
 
                        if test $ac_lo -le $ac_mid; then
27882
 
                          ac_lo= ac_hi=
27883
 
                          break
27884
 
                        fi
27885
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27886
 
fi
27887
 
 
27888
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27889
 
  done
27890
 
else
27891
 
  echo "$as_me: failed program was:" >&5
27892
 
sed 's/^/| /' conftest.$ac_ext >&5
27893
 
 
27894
 
        cat >conftest.$ac_ext <<_ACEOF
27895
 
/* confdefs.h.  */
27896
 
_ACEOF
27897
 
cat confdefs.h >>conftest.$ac_ext
27898
 
cat >>conftest.$ac_ext <<_ACEOF
27899
 
/* end confdefs.h.  */
27900
 
$ac_includes_default
27901
 
   typedef unsigned long ac__type_sizeof_;
27902
 
int
27903
 
main ()
27904
 
{
27905
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27906
 
test_array [0] = 0
27907
 
 
27908
 
  ;
27909
 
  return 0;
27910
 
}
27911
 
_ACEOF
27912
 
rm -f conftest.$ac_objext
27913
 
if { (ac_try="$ac_compile"
27914
 
case "(($ac_try" in
27915
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27916
 
  *) ac_try_echo=$ac_try;;
27917
 
esac
27918
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27919
 
  (eval "$ac_compile") 2>conftest.er1
27920
 
  ac_status=$?
27921
 
  grep -v '^ *+' conftest.er1 >conftest.err
27922
 
  rm -f conftest.er1
27923
 
  cat conftest.err >&5
27924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925
 
  (exit $ac_status); } && {
27926
 
         test -z "$ac_c_werror_flag" ||
27927
 
         test ! -s conftest.err
27928
 
       } && test -s conftest.$ac_objext; then
27929
 
  ac_hi=-1 ac_mid=-1
27930
 
  while :; do
27931
 
    cat >conftest.$ac_ext <<_ACEOF
27932
 
/* confdefs.h.  */
27933
 
_ACEOF
27934
 
cat confdefs.h >>conftest.$ac_ext
27935
 
cat >>conftest.$ac_ext <<_ACEOF
27936
 
/* end confdefs.h.  */
27937
 
$ac_includes_default
27938
 
   typedef unsigned long ac__type_sizeof_;
27939
 
int
27940
 
main ()
27941
 
{
27942
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27943
 
test_array [0] = 0
27944
 
 
27945
 
  ;
27946
 
  return 0;
27947
 
}
27948
 
_ACEOF
27949
 
rm -f conftest.$ac_objext
27950
 
if { (ac_try="$ac_compile"
27951
 
case "(($ac_try" in
27952
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27953
 
  *) ac_try_echo=$ac_try;;
27954
 
esac
27955
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27956
 
  (eval "$ac_compile") 2>conftest.er1
27957
 
  ac_status=$?
27958
 
  grep -v '^ *+' conftest.er1 >conftest.err
27959
 
  rm -f conftest.er1
27960
 
  cat conftest.err >&5
27961
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962
 
  (exit $ac_status); } && {
27963
 
         test -z "$ac_c_werror_flag" ||
27964
 
         test ! -s conftest.err
27965
 
       } && test -s conftest.$ac_objext; then
27966
 
  ac_lo=$ac_mid; break
27967
 
else
27968
 
  echo "$as_me: failed program was:" >&5
27969
 
sed 's/^/| /' conftest.$ac_ext >&5
27970
 
 
27971
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27972
 
                        if test $ac_mid -le $ac_hi; then
27973
 
                          ac_lo= ac_hi=
27974
 
                          break
27975
 
                        fi
27976
 
                        ac_mid=`expr 2 '*' $ac_mid`
27977
 
fi
27978
 
 
27979
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27980
 
  done
27981
 
else
27982
 
  echo "$as_me: failed program was:" >&5
27983
 
sed 's/^/| /' conftest.$ac_ext >&5
27984
 
 
27985
 
        ac_lo= ac_hi=
27986
 
fi
27987
 
 
27988
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27989
 
fi
27990
 
 
27991
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27992
 
# Binary search between lo and hi bounds.
27993
 
while test "x$ac_lo" != "x$ac_hi"; do
27994
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27995
 
  cat >conftest.$ac_ext <<_ACEOF
27996
 
/* confdefs.h.  */
27997
 
_ACEOF
27998
 
cat confdefs.h >>conftest.$ac_ext
27999
 
cat >>conftest.$ac_ext <<_ACEOF
28000
 
/* end confdefs.h.  */
28001
 
$ac_includes_default
28002
 
   typedef unsigned long ac__type_sizeof_;
28003
 
int
28004
 
main ()
28005
 
{
28006
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28007
 
test_array [0] = 0
28008
 
 
28009
 
  ;
28010
 
  return 0;
28011
 
}
28012
 
_ACEOF
28013
 
rm -f conftest.$ac_objext
28014
 
if { (ac_try="$ac_compile"
28015
 
case "(($ac_try" in
28016
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28017
 
  *) ac_try_echo=$ac_try;;
28018
 
esac
28019
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28020
 
  (eval "$ac_compile") 2>conftest.er1
28021
 
  ac_status=$?
28022
 
  grep -v '^ *+' conftest.er1 >conftest.err
28023
 
  rm -f conftest.er1
28024
 
  cat conftest.err >&5
28025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026
 
  (exit $ac_status); } && {
28027
 
         test -z "$ac_c_werror_flag" ||
28028
 
         test ! -s conftest.err
28029
 
       } && test -s conftest.$ac_objext; then
28030
 
  ac_hi=$ac_mid
28031
 
else
28032
 
  echo "$as_me: failed program was:" >&5
28033
 
sed 's/^/| /' conftest.$ac_ext >&5
28034
 
 
28035
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
28036
 
fi
28037
 
 
28038
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28039
 
done
28040
 
case $ac_lo in
28041
 
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
28042
 
'') if test "$ac_cv_type_unsigned_long" = yes; then
28043
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28044
 
See \`config.log' for more details." >&5
28045
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
28046
 
See \`config.log' for more details." >&2;}
28047
 
   { (exit 77); exit 77; }; }
28048
 
   else
28049
 
     ac_cv_sizeof_unsigned_long=0
28050
 
   fi ;;
28051
 
esac
28052
 
else
28053
 
  cat >conftest.$ac_ext <<_ACEOF
28054
 
/* confdefs.h.  */
28055
 
_ACEOF
28056
 
cat confdefs.h >>conftest.$ac_ext
28057
 
cat >>conftest.$ac_ext <<_ACEOF
28058
 
/* end confdefs.h.  */
28059
 
$ac_includes_default
28060
 
   typedef unsigned long ac__type_sizeof_;
28061
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28062
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28063
 
#include <stdio.h>
28064
 
#include <stdlib.h>
28065
 
int
28066
 
main ()
28067
 
{
28068
 
 
28069
 
  FILE *f = fopen ("conftest.val", "w");
28070
 
  if (! f)
28071
 
    return 1;
28072
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28073
 
    {
28074
 
      long int i = longval ();
28075
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
28076
 
        return 1;
28077
 
      fprintf (f, "%ld\n", i);
28078
 
    }
28079
 
  else
28080
 
    {
28081
 
      unsigned long int i = ulongval ();
28082
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
28083
 
        return 1;
28084
 
      fprintf (f, "%lu\n", i);
28085
 
    }
28086
 
  return ferror (f) || fclose (f) != 0;
28087
 
 
28088
 
  ;
28089
 
  return 0;
28090
 
}
28091
 
_ACEOF
28092
 
rm -f conftest$ac_exeext
28093
 
if { (ac_try="$ac_link"
28094
 
case "(($ac_try" in
28095
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28096
 
  *) ac_try_echo=$ac_try;;
28097
 
esac
28098
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28099
 
  (eval "$ac_link") 2>&5
28100
 
  ac_status=$?
28101
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28103
 
  { (case "(($ac_try" in
28104
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28105
 
  *) ac_try_echo=$ac_try;;
28106
 
esac
28107
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28108
 
  (eval "$ac_try") 2>&5
28109
 
  ac_status=$?
28110
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111
 
  (exit $ac_status); }; }; then
28112
 
  ac_cv_sizeof_unsigned_long=`cat conftest.val`
28113
 
else
28114
 
  echo "$as_me: program exited with status $ac_status" >&5
28115
 
echo "$as_me: failed program was:" >&5
28116
 
sed 's/^/| /' conftest.$ac_ext >&5
28117
 
 
28118
 
( exit $ac_status )
28119
 
if test "$ac_cv_type_unsigned_long" = yes; then
28120
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28121
 
See \`config.log' for more details." >&5
28122
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
28123
 
See \`config.log' for more details." >&2;}
28124
 
   { (exit 77); exit 77; }; }
28125
 
   else
28126
 
     ac_cv_sizeof_unsigned_long=0
28127
 
   fi
28128
 
fi
28129
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28130
 
fi
28131
 
rm -f conftest.val
28132
 
fi
28133
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
28134
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
28135
 
 
28136
 
 
28137
 
 
28138
 
cat >>confdefs.h <<_ACEOF
28139
 
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
28140
 
_ACEOF
28141
 
 
28142
 
 
28143
 
 
28144
 
  { echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
28145
 
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6; }
28146
 
  cat >conftest.$ac_ext <<_ACEOF
28147
 
/* confdefs.h.  */
28148
 
_ACEOF
28149
 
cat confdefs.h >>conftest.$ac_ext
28150
 
cat >>conftest.$ac_ext <<_ACEOF
28151
 
/* end confdefs.h.  */
28152
 
 
28153
 
int
28154
 
main ()
28155
 
{
28156
 
 
28157
 
    #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
28158
 
       choke me
28159
 
    #endif
28160
 
 
28161
 
  ;
28162
 
  return 0;
28163
 
}
28164
 
_ACEOF
28165
 
rm -f conftest.$ac_objext
28166
 
if { (ac_try="$ac_compile"
28167
 
case "(($ac_try" in
28168
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28169
 
  *) ac_try_echo=$ac_try;;
28170
 
esac
28171
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28172
 
  (eval "$ac_compile") 2>conftest.er1
28173
 
  ac_status=$?
28174
 
  grep -v '^ *+' conftest.er1 >conftest.err
28175
 
  rm -f conftest.er1
28176
 
  cat conftest.err >&5
28177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178
 
  (exit $ac_status); } && {
28179
 
         test -z "$ac_c_werror_flag" ||
28180
 
         test ! -s conftest.err
28181
 
       } && test -s conftest.$ac_objext; then
28182
 
  { echo "$as_me:$LINENO: result: yes" >&5
28183
 
echo "${ECHO_T}yes" >&6; }
28184
 
else
28185
 
  echo "$as_me: failed program was:" >&5
28186
 
sed 's/^/| /' conftest.$ac_ext >&5
28187
 
 
28188
 
 
28189
 
      { echo "$as_me:$LINENO: result: no" >&5
28190
 
echo "${ECHO_T}no" >&6; }
28191
 
      { { echo "$as_me:$LINENO: error:
28192
 
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28193
 
       does not apply. Please mail kde-devel@kde.org with a description of your system!
28194
 
      " >&5
28195
 
echo "$as_me: error:
28196
 
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28197
 
       does not apply. Please mail kde-devel@kde.org with a description of your system!
28198
 
      " >&2;}
28199
 
   { (exit 1); exit 1; }; }
28200
 
 
28201
 
fi
28202
 
 
28203
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28204
 
 
28205
 
 
28206
 
  { echo "$as_me:$LINENO: checking for PIE support" >&5
28207
 
echo $ECHO_N "checking for PIE support... $ECHO_C" >&6; }
28208
 
if test "${kde_cv_val_pie_support+set}" = set; then
28209
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28210
 
else
28211
 
 
28212
 
 
28213
 
     ac_ext=cpp
28214
 
ac_cpp='$CXXCPP $CPPFLAGS'
28215
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28216
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28217
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28218
 
 
28219
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28220
 
 
28221
 
 
28222
 
    safe_CXXFLAGS=$CXXFLAGS
28223
 
    safe_LDFLAGS=$LDFLAGS
28224
 
    CXXFLAGS="$CXXFLAGS -fPIE"
28225
 
    LDFLAGS="$LDFLAGS -pie"
28226
 
 
28227
 
    cat >conftest.$ac_ext <<_ACEOF
28228
 
/* confdefs.h.  */
28229
 
_ACEOF
28230
 
cat confdefs.h >>conftest.$ac_ext
28231
 
cat >>conftest.$ac_ext <<_ACEOF
28232
 
/* end confdefs.h.  */
28233
 
int foo;
28234
 
int
28235
 
main ()
28236
 
{
28237
 
 
28238
 
  ;
28239
 
  return 0;
28240
 
}
28241
 
_ACEOF
28242
 
rm -f conftest.$ac_objext conftest$ac_exeext
28243
 
if { (ac_try="$ac_link"
28244
 
case "(($ac_try" in
28245
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28246
 
  *) ac_try_echo=$ac_try;;
28247
 
esac
28248
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28249
 
  (eval "$ac_link") 2>conftest.er1
28250
 
  ac_status=$?
28251
 
  grep -v '^ *+' conftest.er1 >conftest.err
28252
 
  rm -f conftest.er1
28253
 
  cat conftest.err >&5
28254
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255
 
  (exit $ac_status); } && {
28256
 
         test -z "$ac_cxx_werror_flag" ||
28257
 
         test ! -s conftest.err
28258
 
       } && test -s conftest$ac_exeext &&
28259
 
       $as_test_x conftest$ac_exeext; then
28260
 
  kde_cv_val_pie_support=yes
28261
 
else
28262
 
  echo "$as_me: failed program was:" >&5
28263
 
sed 's/^/| /' conftest.$ac_ext >&5
28264
 
 
28265
 
        kde_cv_val_pie_support=no
28266
 
fi
28267
 
 
28268
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28269
 
      conftest$ac_exeext conftest.$ac_ext
28270
 
 
28271
 
    CXXFLAGS=$safe_CXXFLAGS
28272
 
    LDFLAGS=$safe_LDFLAGS
28273
 
    ac_ext=c
28274
 
ac_cpp='$CPP $CPPFLAGS'
28275
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28276
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28277
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28278
 
 
28279
 
 
28280
 
fi
28281
 
{ echo "$as_me:$LINENO: result: $kde_cv_val_pie_support" >&5
28282
 
echo "${ECHO_T}$kde_cv_val_pie_support" >&6; }
28283
 
 
28284
 
  { echo "$as_me:$LINENO: checking if enabling -pie/fPIE support" >&5
28285
 
echo $ECHO_N "checking if enabling -pie/fPIE support... $ECHO_C" >&6; }
28286
 
 
28287
 
  # Check whether --enable-pie was given.
28288
 
if test "${enable_pie+set}" = set; then
28289
 
  enableval=$enable_pie; kde_has_pie_support=$enableval
28290
 
else
28291
 
  kde_has_pie_support=detect
28292
 
fi
28293
 
 
28294
 
 
28295
 
  if test "$kde_has_pie_support" = "detect"; then
28296
 
    kde_has_pie_support=$kde_cv_val_pie_support
28297
 
  fi
28298
 
 
28299
 
  { echo "$as_me:$LINENO: result: $kde_has_pie_support" >&5
28300
 
echo "${ECHO_T}$kde_has_pie_support" >&6; }
28301
 
 
28302
 
  KDE_USE_FPIE=""
28303
 
  KDE_USE_PIE=""
28304
 
 
28305
 
 
28306
 
 
28307
 
 
28308
 
  if test "$kde_has_pie_support" = "yes"; then
28309
 
    KDE_USE_FPIE="-fPIE"
28310
 
    KDE_USE_PIE="-pie"
28311
 
  fi
28312
 
 
28313
 
 
28314
 
# darwin needs this to initialize the environment
28315
 
 
28316
 
for ac_header in crt_externs.h
28317
 
do
28318
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28319
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28320
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
28321
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28322
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28323
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28324
 
fi
28325
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28326
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28327
 
echo "${ECHO_T}$ac_res" >&6; }
28328
 
else
28329
 
  # Is the header compilable?
28330
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28331
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28332
 
cat >conftest.$ac_ext <<_ACEOF
28333
 
/* confdefs.h.  */
28334
 
_ACEOF
28335
 
cat confdefs.h >>conftest.$ac_ext
28336
 
cat >>conftest.$ac_ext <<_ACEOF
28337
 
/* end confdefs.h.  */
28338
 
$ac_includes_default
28339
 
#include <$ac_header>
28340
 
_ACEOF
28341
 
rm -f conftest.$ac_objext
28342
 
if { (ac_try="$ac_compile"
28343
 
case "(($ac_try" in
28344
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28345
 
  *) ac_try_echo=$ac_try;;
28346
 
esac
28347
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28348
 
  (eval "$ac_compile") 2>conftest.er1
28349
 
  ac_status=$?
28350
 
  grep -v '^ *+' conftest.er1 >conftest.err
28351
 
  rm -f conftest.er1
28352
 
  cat conftest.err >&5
28353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354
 
  (exit $ac_status); } && {
28355
 
         test -z "$ac_c_werror_flag" ||
28356
 
         test ! -s conftest.err
28357
 
       } && test -s conftest.$ac_objext; then
28358
 
  ac_header_compiler=yes
28359
 
else
28360
 
  echo "$as_me: failed program was:" >&5
28361
 
sed 's/^/| /' conftest.$ac_ext >&5
28362
 
 
28363
 
        ac_header_compiler=no
28364
 
fi
28365
 
 
28366
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28367
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28368
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
28369
 
 
28370
 
# Is the header present?
28371
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28372
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28373
 
cat >conftest.$ac_ext <<_ACEOF
28374
 
/* confdefs.h.  */
28375
 
_ACEOF
28376
 
cat confdefs.h >>conftest.$ac_ext
28377
 
cat >>conftest.$ac_ext <<_ACEOF
28378
 
/* end confdefs.h.  */
28379
 
#include <$ac_header>
28380
 
_ACEOF
28381
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28382
 
case "(($ac_try" in
28383
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28384
 
  *) ac_try_echo=$ac_try;;
28385
 
esac
28386
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28387
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28388
 
  ac_status=$?
28389
 
  grep -v '^ *+' conftest.er1 >conftest.err
28390
 
  rm -f conftest.er1
28391
 
  cat conftest.err >&5
28392
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393
 
  (exit $ac_status); } >/dev/null && {
28394
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28395
 
         test ! -s conftest.err
28396
 
       }; then
28397
 
  ac_header_preproc=yes
28398
 
else
28399
 
  echo "$as_me: failed program was:" >&5
28400
 
sed 's/^/| /' conftest.$ac_ext >&5
28401
 
 
28402
 
  ac_header_preproc=no
28403
 
fi
28404
 
 
28405
 
rm -f conftest.err conftest.$ac_ext
28406
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28407
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
28408
 
 
28409
 
# So?  What about this header?
28410
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28411
 
  yes:no: )
28412
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28413
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28414
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28415
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28416
 
    ac_header_preproc=yes
28417
 
    ;;
28418
 
  no:yes:* )
28419
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28420
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28421
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28422
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28423
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28424
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28425
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28426
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28427
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28428
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28429
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28430
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28431
 
 
28432
 
    ;;
28433
 
esac
28434
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28435
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28436
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28437
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28438
 
else
28439
 
  eval "$as_ac_Header=\$ac_header_preproc"
28440
 
fi
28441
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28442
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28443
 
echo "${ECHO_T}$ac_res" >&6; }
28444
 
 
28445
 
fi
28446
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
28447
 
  cat >>confdefs.h <<_ACEOF
28448
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28449
 
_ACEOF
28450
 
 
28451
 
fi
28452
 
 
28453
 
done
28454
 
 
28455
 
{ echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
28456
 
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6; }
28457
 
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
28458
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28459
 
else
28460
 
  cat >conftest.$ac_ext <<_ACEOF
28461
 
/* confdefs.h.  */
28462
 
_ACEOF
28463
 
cat confdefs.h >>conftest.$ac_ext
28464
 
cat >>conftest.$ac_ext <<_ACEOF
28465
 
/* end confdefs.h.  */
28466
 
/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
28467
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28468
 
#define _NSGetEnviron innocuous__NSGetEnviron
28469
 
 
28470
 
/* System header to define __stub macros and hopefully few prototypes,
28471
 
    which can conflict with char _NSGetEnviron (); below.
28472
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28473
 
    <limits.h> exists even on freestanding compilers.  */
28474
 
 
28475
 
#ifdef __STDC__
28476
 
# include <limits.h>
28477
 
#else
28478
 
# include <assert.h>
28479
 
#endif
28480
 
 
28481
 
#undef _NSGetEnviron
28482
 
 
28483
 
/* Override any GCC internal prototype to avoid an error.
28484
 
   Use char because int might match the return type of a GCC
28485
 
   builtin and then its argument prototype would still apply.  */
28486
 
#ifdef __cplusplus
28487
 
extern "C"
28488
 
#endif
28489
 
char _NSGetEnviron ();
28490
 
/* The GNU C library defines this for functions which it implements
28491
 
    to always fail with ENOSYS.  Some functions are actually named
28492
 
    something starting with __ and the normal name is an alias.  */
28493
 
#if defined __stub__NSGetEnviron || defined __stub____NSGetEnviron
28494
 
choke me
28495
 
#endif
28496
 
 
28497
 
int
28498
 
main ()
28499
 
{
28500
 
return _NSGetEnviron ();
28501
 
  ;
28502
 
  return 0;
28503
 
}
28504
 
_ACEOF
28505
 
rm -f conftest.$ac_objext conftest$ac_exeext
28506
 
if { (ac_try="$ac_link"
28507
 
case "(($ac_try" in
28508
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28509
 
  *) ac_try_echo=$ac_try;;
28510
 
esac
28511
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28512
 
  (eval "$ac_link") 2>conftest.er1
28513
 
  ac_status=$?
28514
 
  grep -v '^ *+' conftest.er1 >conftest.err
28515
 
  rm -f conftest.er1
28516
 
  cat conftest.err >&5
28517
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518
 
  (exit $ac_status); } && {
28519
 
         test -z "$ac_c_werror_flag" ||
28520
 
         test ! -s conftest.err
28521
 
       } && test -s conftest$ac_exeext &&
28522
 
       $as_test_x conftest$ac_exeext; then
28523
 
  ac_cv_func__NSGetEnviron=yes
28524
 
else
28525
 
  echo "$as_me: failed program was:" >&5
28526
 
sed 's/^/| /' conftest.$ac_ext >&5
28527
 
 
28528
 
        ac_cv_func__NSGetEnviron=no
28529
 
fi
28530
 
 
28531
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28532
 
      conftest$ac_exeext conftest.$ac_ext
28533
 
fi
28534
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
28535
 
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6; }
28536
 
if test $ac_cv_func__NSGetEnviron = yes; then
28537
 
 
28538
 
cat >>confdefs.h <<\_ACEOF
28539
 
#define HAVE_NSGETENVIRON 1
28540
 
_ACEOF
28541
 
 
28542
 
fi
28543
 
 
28544
 
 
28545
 
 
28546
 
 
28547
 
 
28548
 
 
28549
 
 
28550
 
 
28551
 
 
28552
 
 
28553
 
for ac_func in vsnprintf snprintf
28554
 
do
28555
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28556
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28557
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28558
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28559
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28560
 
else
28561
 
  cat >conftest.$ac_ext <<_ACEOF
28562
 
/* confdefs.h.  */
28563
 
_ACEOF
28564
 
cat confdefs.h >>conftest.$ac_ext
28565
 
cat >>conftest.$ac_ext <<_ACEOF
28566
 
/* end confdefs.h.  */
28567
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28568
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28569
 
#define $ac_func innocuous_$ac_func
28570
 
 
28571
 
/* System header to define __stub macros and hopefully few prototypes,
28572
 
    which can conflict with char $ac_func (); below.
28573
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28574
 
    <limits.h> exists even on freestanding compilers.  */
28575
 
 
28576
 
#ifdef __STDC__
28577
 
# include <limits.h>
28578
 
#else
28579
 
# include <assert.h>
28580
 
#endif
28581
 
 
28582
 
#undef $ac_func
28583
 
 
28584
 
/* Override any GCC internal prototype to avoid an error.
28585
 
   Use char because int might match the return type of a GCC
28586
 
   builtin and then its argument prototype would still apply.  */
28587
 
#ifdef __cplusplus
28588
 
extern "C"
28589
 
#endif
28590
 
char $ac_func ();
28591
 
/* The GNU C library defines this for functions which it implements
28592
 
    to always fail with ENOSYS.  Some functions are actually named
28593
 
    something starting with __ and the normal name is an alias.  */
28594
 
#if defined __stub_$ac_func || defined __stub___$ac_func
28595
 
choke me
28596
 
#endif
28597
 
 
28598
 
int
28599
 
main ()
28600
 
{
28601
 
return $ac_func ();
28602
 
  ;
28603
 
  return 0;
28604
 
}
28605
 
_ACEOF
28606
 
rm -f conftest.$ac_objext conftest$ac_exeext
28607
 
if { (ac_try="$ac_link"
28608
 
case "(($ac_try" in
28609
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28610
 
  *) ac_try_echo=$ac_try;;
28611
 
esac
28612
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28613
 
  (eval "$ac_link") 2>conftest.er1
28614
 
  ac_status=$?
28615
 
  grep -v '^ *+' conftest.er1 >conftest.err
28616
 
  rm -f conftest.er1
28617
 
  cat conftest.err >&5
28618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619
 
  (exit $ac_status); } && {
28620
 
         test -z "$ac_c_werror_flag" ||
28621
 
         test ! -s conftest.err
28622
 
       } && test -s conftest$ac_exeext &&
28623
 
       $as_test_x conftest$ac_exeext; then
28624
 
  eval "$as_ac_var=yes"
28625
 
else
28626
 
  echo "$as_me: failed program was:" >&5
28627
 
sed 's/^/| /' conftest.$ac_ext >&5
28628
 
 
28629
 
        eval "$as_ac_var=no"
28630
 
fi
28631
 
 
28632
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28633
 
      conftest$ac_exeext conftest.$ac_ext
28634
 
fi
28635
 
ac_res=`eval echo '${'$as_ac_var'}'`
28636
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28637
 
echo "${ECHO_T}$ac_res" >&6; }
28638
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
28639
 
  cat >>confdefs.h <<_ACEOF
28640
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28641
 
_ACEOF
28642
 
 
28643
 
fi
28644
 
done
28645
 
 
28646
 
 
28647
 
 
28648
 
 
28649
 
 
28650
 
 
28651
 
 
28652
 
 
28653
 
 
28654
 
# Check whether --enable-embedded was given.
28655
 
if test "${enable_embedded+set}" = set; then
28656
 
  enableval=$enable_embedded; kde_use_qt_emb=$enableval
28657
 
else
28658
 
  kde_use_qt_emb=no
28659
 
 
28660
 
fi
28661
 
 
28662
 
 
28663
 
# Check whether --enable-qtopia was given.
28664
 
if test "${enable_qtopia+set}" = set; then
28665
 
  enableval=$enable_qtopia; kde_use_qt_emb_palm=$enableval
28666
 
else
28667
 
  kde_use_qt_emb_palm=no
28668
 
 
28669
 
fi
28670
 
 
28671
 
 
28672
 
# Check whether --enable-mac was given.
28673
 
if test "${enable_mac+set}" = set; then
28674
 
  enableval=$enable_mac; kde_use_qt_mac=$enableval
28675
 
else
28676
 
  kde_use_qt_mac=no
28677
 
 
28678
 
fi
28679
 
 
28680
 
 
28681
 
# used to disable x11-specific stuff on special platforms
28682
 
 
28683
 
 
28684
 
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28685
 
  include_x11_TRUE=
28686
 
  include_x11_FALSE='#'
28687
 
else
28688
 
  include_x11_TRUE='#'
28689
 
  include_x11_FALSE=
28690
 
fi
28691
 
 
28692
 
 
28693
 
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28694
 
 
28695
 
{ echo "$as_me:$LINENO: checking for X" >&5
28696
 
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28697
 
 
28698
 
if test "${kde_cv_have_x+set}" = set; then
28699
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28700
 
else
28701
 
  # One or both of the vars are not set, and there is no cached value.
28702
 
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
28703
 
   kde_x_includes=NO
28704
 
else
28705
 
   kde_x_includes=$x_includes
28706
 
fi
28707
 
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
28708
 
   kde_x_libraries=NO
28709
 
else
28710
 
   kde_x_libraries=$x_libraries
28711
 
fi
28712
 
 
28713
 
# below we use the standard autoconf calls
28714
 
ac_x_libraries=$kde_x_libraries
28715
 
ac_x_includes=$kde_x_includes
28716
 
 
28717
 
 
28718
 
 
28719
 
 
28720
 
if test "$ac_x_includes" = NO; then
28721
 
  # Guess where to find include files, by looking for this one X11 .h file.
28722
 
  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
28723
 
 
28724
 
  # First, try using that file with no special directory specified.
28725
 
cat >conftest.$ac_ext <<_ACEOF
28726
 
/* confdefs.h.  */
28727
 
_ACEOF
28728
 
cat confdefs.h >>conftest.$ac_ext
28729
 
cat >>conftest.$ac_ext <<_ACEOF
28730
 
/* end confdefs.h.  */
28731
 
#include <$x_direct_test_include>
28732
 
_ACEOF
28733
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28734
 
case "(($ac_try" in
28735
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28736
 
  *) ac_try_echo=$ac_try;;
28737
 
esac
28738
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28739
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28740
 
  ac_status=$?
28741
 
  grep -v '^ *+' conftest.er1 >conftest.err
28742
 
  rm -f conftest.er1
28743
 
  cat conftest.err >&5
28744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745
 
  (exit $ac_status); } >/dev/null && {
28746
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28747
 
         test ! -s conftest.err
28748
 
       }; then
28749
 
  # We can compile using X headers with no special include directory.
28750
 
ac_x_includes=
28751
 
else
28752
 
  echo "$as_me: failed program was:" >&5
28753
 
sed 's/^/| /' conftest.$ac_ext >&5
28754
 
 
28755
 
  # Look for the header file in a standard set of common directories.
28756
 
# Check X11 before X11Rn because it is often a symlink to the current release.
28757
 
  for ac_dir in               \
28758
 
    /usr/X11/include          \
28759
 
    /usr/X11R6/include        \
28760
 
    /usr/X11R5/include        \
28761
 
    /usr/X11R4/include        \
28762
 
                              \
28763
 
    /usr/include/X11          \
28764
 
    /usr/include/X11R6        \
28765
 
    /usr/include/X11R5        \
28766
 
    /usr/include/X11R4        \
28767
 
                              \
28768
 
    /usr/local/X11/include    \
28769
 
    /usr/local/X11R6/include  \
28770
 
    /usr/local/X11R5/include  \
28771
 
    /usr/local/X11R4/include  \
28772
 
                              \
28773
 
    /usr/local/include/X11    \
28774
 
    /usr/local/include/X11R6  \
28775
 
    /usr/local/include/X11R5  \
28776
 
    /usr/local/include/X11R4  \
28777
 
                              \
28778
 
    /usr/X386/include         \
28779
 
    /usr/x386/include         \
28780
 
    /usr/XFree86/include/X11  \
28781
 
                              \
28782
 
    /usr/include              \
28783
 
    /usr/local/include        \
28784
 
    /usr/unsupported/include  \
28785
 
    /usr/athena/include       \
28786
 
    /usr/local/x11r5/include  \
28787
 
    /usr/lpp/Xamples/include  \
28788
 
                              \
28789
 
    /usr/openwin/include      \
28790
 
    /usr/openwin/share/include \
28791
 
    ; \
28792
 
  do
28793
 
    if test -r "$ac_dir/$x_direct_test_include"; then
28794
 
      ac_x_includes=$ac_dir
28795
 
      break
28796
 
    fi
28797
 
  done
28798
 
fi
28799
 
 
28800
 
rm -f conftest.err conftest.$ac_ext
28801
 
fi # $ac_x_includes = NO
28802
 
 
28803
 
if test "$ac_x_libraries" = NO; then
28804
 
  # Check for the libraries.
28805
 
 
28806
 
  test -z "$x_direct_test_library" && x_direct_test_library=Xt
28807
 
  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
28808
 
 
28809
 
  # See if we find them without any special options.
28810
 
  # Don't add to $LIBS permanently.
28811
 
  ac_save_LIBS="$LIBS"
28812
 
  LIBS="-l$x_direct_test_library $LIBS"
28813
 
cat >conftest.$ac_ext <<_ACEOF
28814
 
/* confdefs.h.  */
28815
 
_ACEOF
28816
 
cat confdefs.h >>conftest.$ac_ext
28817
 
cat >>conftest.$ac_ext <<_ACEOF
28818
 
/* end confdefs.h.  */
28819
 
#include <X11/Intrinsic.h>
28820
 
int
28821
 
main ()
28822
 
{
28823
 
${x_direct_test_function}(1)
28824
 
  ;
28825
 
  return 0;
28826
 
}
28827
 
_ACEOF
28828
 
rm -f conftest.$ac_objext conftest$ac_exeext
28829
 
if { (ac_try="$ac_link"
28830
 
case "(($ac_try" in
28831
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28832
 
  *) ac_try_echo=$ac_try;;
28833
 
esac
28834
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28835
 
  (eval "$ac_link") 2>conftest.er1
28836
 
  ac_status=$?
28837
 
  grep -v '^ *+' conftest.er1 >conftest.err
28838
 
  rm -f conftest.er1
28839
 
  cat conftest.err >&5
28840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841
 
  (exit $ac_status); } && {
28842
 
         test -z "$ac_c_werror_flag" ||
28843
 
         test ! -s conftest.err
28844
 
       } && test -s conftest$ac_exeext &&
28845
 
       $as_test_x conftest$ac_exeext; then
28846
 
  LIBS="$ac_save_LIBS"
28847
 
# We can link X programs with no special library path.
28848
 
ac_x_libraries=
28849
 
else
28850
 
  echo "$as_me: failed program was:" >&5
28851
 
sed 's/^/| /' conftest.$ac_ext >&5
28852
 
 
28853
 
        LIBS="$ac_save_LIBS"
28854
 
# First see if replacing the include by lib works.
28855
 
# Check X11 before X11Rn because it is often a symlink to the current release.
28856
 
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
28857
 
    /usr/X11/lib${kdelibsuff}           \
28858
 
    /usr/X11R6/lib${kdelibsuff}         \
28859
 
    /usr/X11R5/lib${kdelibsuff}         \
28860
 
    /usr/X11R4/lib${kdelibsuff}         \
28861
 
                                        \
28862
 
    /usr/lib${kdelibsuff}/X11           \
28863
 
    /usr/lib${kdelibsuff}/X11R6         \
28864
 
    /usr/lib${kdelibsuff}/X11R5         \
28865
 
    /usr/lib${kdelibsuff}/X11R4         \
28866
 
                                        \
28867
 
    /usr/local/X11/lib${kdelibsuff}     \
28868
 
    /usr/local/X11R6/lib${kdelibsuff}   \
28869
 
    /usr/local/X11R5/lib${kdelibsuff}   \
28870
 
    /usr/local/X11R4/lib${kdelibsuff}   \
28871
 
                                        \
28872
 
    /usr/local/lib${kdelibsuff}/X11     \
28873
 
    /usr/local/lib${kdelibsuff}/X11R6   \
28874
 
    /usr/local/lib${kdelibsuff}/X11R5   \
28875
 
    /usr/local/lib${kdelibsuff}/X11R4   \
28876
 
                                        \
28877
 
    /usr/X386/lib${kdelibsuff}          \
28878
 
    /usr/x386/lib${kdelibsuff}          \
28879
 
    /usr/XFree86/lib${kdelibsuff}/X11   \
28880
 
                                        \
28881
 
    /usr/lib${kdelibsuff}               \
28882
 
    /usr/local/lib${kdelibsuff}         \
28883
 
    /usr/unsupported/lib${kdelibsuff}   \
28884
 
    /usr/athena/lib${kdelibsuff}        \
28885
 
    /usr/local/x11r5/lib${kdelibsuff}   \
28886
 
    /usr/lpp/Xamples/lib${kdelibsuff}   \
28887
 
    /lib/usr/lib${kdelibsuff}/X11       \
28888
 
                                        \
28889
 
    /usr/openwin/lib${kdelibsuff}       \
28890
 
    /usr/openwin/share/lib${kdelibsuff} \
28891
 
    ; \
28892
 
do
28893
 
  for ac_extension in a so sl; do
28894
 
    if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
28895
 
      ac_x_libraries=$ac_dir
28896
 
      break 2
28897
 
    fi
28898
 
  done
28899
 
done
28900
 
fi
28901
 
 
28902
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28903
 
      conftest$ac_exeext conftest.$ac_ext
28904
 
fi # $ac_x_libraries = NO
28905
 
 
28906
 
case "$host" in
28907
 
mips-sgi-irix6*)
28908
 
  ;;
28909
 
*-*-solaris*)
28910
 
  ;;
28911
 
*)
28912
 
  rm -f -r conftest.dir
28913
 
if mkdir conftest.dir; then
28914
 
  cd conftest.dir
28915
 
  cat >Imakefile <<'_ACEOF'
28916
 
incroot:
28917
 
        @echo incroot='${INCROOT}'
28918
 
usrlibdir:
28919
 
        @echo usrlibdir='${USRLIBDIR}'
28920
 
libdir:
28921
 
        @echo libdir='${LIBDIR}'
28922
 
_ACEOF
28923
 
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28924
 
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28925
 
    for ac_var in incroot usrlibdir libdir; do
28926
 
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28927
 
    done
28928
 
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28929
 
    for ac_extension in a so sl; do
28930
 
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28931
 
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
28932
 
        ac_im_usrlibdir=$ac_im_libdir; break
28933
 
      fi
28934
 
    done
28935
 
    # Screen out bogus values from the imake configuration.  They are
28936
 
    # bogus both because they are the default anyway, and because
28937
 
    # using them would break gcc on systems where it needs fixed includes.
28938
 
    case $ac_im_incroot in
28939
 
        /usr/include) ac_x_includes= ;;
28940
 
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28941
 
    esac
28942
 
    case $ac_im_usrlibdir in
28943
 
        /usr/lib | /lib) ;;
28944
 
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28945
 
    esac
28946
 
  fi
28947
 
  cd ..
28948
 
  rm -f -r conftest.dir
28949
 
fi
28950
 
 
28951
 
  if test -z "$ac_x_includes"; then
28952
 
    ac_x_includes="."
28953
 
  fi
28954
 
  if test -z "$ac_x_libraries"; then
28955
 
    ac_x_libraries="/usr/lib${kdelibsuff}"
28956
 
  fi
28957
 
esac
28958
 
#from now on we use our own again
28959
 
 
28960
 
# when the user already gave --x-includes, we ignore
28961
 
# what the standard autoconf macros told us.
28962
 
if test "$kde_x_includes" = NO; then
28963
 
  kde_x_includes=$ac_x_includes
28964
 
fi
28965
 
 
28966
 
# for --x-libraries too
28967
 
if test "$kde_x_libraries" = NO; then
28968
 
  kde_x_libraries=$ac_x_libraries
28969
 
fi
28970
 
 
28971
 
if test "$kde_x_includes" = NO; then
28972
 
  { { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
28973
 
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
28974
 
   { (exit 1); exit 1; }; }
28975
 
fi
28976
 
 
28977
 
if test "$kde_x_libraries" = NO; then
28978
 
  { { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
28979
 
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
28980
 
   { (exit 1); exit 1; }; }
28981
 
fi
28982
 
 
28983
 
# Record where we found X for the cache.
28984
 
kde_cv_have_x="have_x=yes \
28985
 
         kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
28986
 
 
28987
 
fi
28988
 
 
28989
 
eval "$kde_cv_have_x"
28990
 
 
28991
 
if test "$have_x" != yes; then
28992
 
  { echo "$as_me:$LINENO: result: $have_x" >&5
28993
 
echo "${ECHO_T}$have_x" >&6; }
28994
 
  no_x=yes
28995
 
else
28996
 
  { echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
28997
 
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6; }
28998
 
fi
28999
 
 
29000
 
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
29001
 
  X_INCLUDES=""
29002
 
  x_includes=".";  else
29003
 
  x_includes=$kde_x_includes
29004
 
  X_INCLUDES="-I$x_includes"
29005
 
fi
29006
 
 
29007
 
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then
29008
 
  X_LDFLAGS=""
29009
 
  x_libraries="/usr/lib";  else
29010
 
  x_libraries=$kde_x_libraries
29011
 
  X_LDFLAGS="-L$x_libraries"
29012
 
fi
29013
 
all_includes="$X_INCLUDES"
29014
 
all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
29015
 
 
29016
 
# Check for libraries that X11R6 Xt/Xaw programs need.
29017
 
ac_save_LDFLAGS="$LDFLAGS"
29018
 
LDFLAGS="$LDFLAGS $X_LDFLAGS"
29019
 
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29020
 
# check for ICE first), but we must link in the order -lSM -lICE or
29021
 
# we get undefined symbols.  So assume we have SM if we have ICE.
29022
 
# These have to be linked with before -lX11, unlike the other
29023
 
# libraries we check for below, so use a different variable.
29024
 
#  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
29025
 
{ echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29026
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29027
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29028
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29029
 
else
29030
 
  ac_check_lib_save_LIBS=$LIBS
29031
 
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29032
 
cat >conftest.$ac_ext <<_ACEOF
29033
 
/* confdefs.h.  */
29034
 
_ACEOF
29035
 
cat confdefs.h >>conftest.$ac_ext
29036
 
cat >>conftest.$ac_ext <<_ACEOF
29037
 
/* end confdefs.h.  */
29038
 
 
29039
 
/* Override any GCC internal prototype to avoid an error.
29040
 
   Use char because int might match the return type of a GCC
29041
 
   builtin and then its argument prototype would still apply.  */
29042
 
#ifdef __cplusplus
29043
 
extern "C"
29044
 
#endif
29045
 
char IceConnectionNumber ();
29046
 
int
29047
 
main ()
29048
 
{
29049
 
return IceConnectionNumber ();
29050
 
  ;
29051
 
  return 0;
29052
 
}
29053
 
_ACEOF
29054
 
rm -f conftest.$ac_objext conftest$ac_exeext
29055
 
if { (ac_try="$ac_link"
29056
 
case "(($ac_try" in
29057
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29058
 
  *) ac_try_echo=$ac_try;;
29059
 
esac
29060
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29061
 
  (eval "$ac_link") 2>conftest.er1
29062
 
  ac_status=$?
29063
 
  grep -v '^ *+' conftest.er1 >conftest.err
29064
 
  rm -f conftest.er1
29065
 
  cat conftest.err >&5
29066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067
 
  (exit $ac_status); } && {
29068
 
         test -z "$ac_c_werror_flag" ||
29069
 
         test ! -s conftest.err
29070
 
       } && test -s conftest$ac_exeext &&
29071
 
       $as_test_x conftest$ac_exeext; then
29072
 
  ac_cv_lib_ICE_IceConnectionNumber=yes
29073
 
else
29074
 
  echo "$as_me: failed program was:" >&5
29075
 
sed 's/^/| /' conftest.$ac_ext >&5
29076
 
 
29077
 
        ac_cv_lib_ICE_IceConnectionNumber=no
29078
 
fi
29079
 
 
29080
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29081
 
      conftest$ac_exeext conftest.$ac_ext
29082
 
LIBS=$ac_check_lib_save_LIBS
29083
 
fi
29084
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29085
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29086
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29087
 
  LIBSM="-lSM -lICE"
29088
 
fi
29089
 
 
29090
 
LDFLAGS="$ac_save_LDFLAGS"
29091
 
 
29092
 
LIB_X11='-lX11 $(LIBSOCKET)'
29093
 
 
29094
 
{ echo "$as_me:$LINENO: checking for libXext" >&5
29095
 
echo $ECHO_N "checking for libXext... $ECHO_C" >&6; }
29096
 
if test "${kde_cv_have_libXext+set}" = set; then
29097
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29098
 
else
29099
 
 
29100
 
kde_ldflags_safe="$LDFLAGS"
29101
 
kde_libs_safe="$LIBS"
29102
 
 
29103
 
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
29104
 
LIBS="-lXext -lX11 $LIBSOCKET"
29105
 
 
29106
 
cat >conftest.$ac_ext <<_ACEOF
29107
 
/* confdefs.h.  */
29108
 
_ACEOF
29109
 
cat confdefs.h >>conftest.$ac_ext
29110
 
cat >>conftest.$ac_ext <<_ACEOF
29111
 
/* end confdefs.h.  */
29112
 
 
29113
 
#include <stdio.h>
29114
 
#ifdef STDC_HEADERS
29115
 
# include <stdlib.h>
29116
 
#endif
29117
 
 
29118
 
int
29119
 
main ()
29120
 
{
29121
 
 
29122
 
printf("hello Xext\n");
29123
 
 
29124
 
  ;
29125
 
  return 0;
29126
 
}
29127
 
_ACEOF
29128
 
rm -f conftest.$ac_objext conftest$ac_exeext
29129
 
if { (ac_try="$ac_link"
29130
 
case "(($ac_try" in
29131
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29132
 
  *) ac_try_echo=$ac_try;;
29133
 
esac
29134
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29135
 
  (eval "$ac_link") 2>conftest.er1
29136
 
  ac_status=$?
29137
 
  grep -v '^ *+' conftest.er1 >conftest.err
29138
 
  rm -f conftest.er1
29139
 
  cat conftest.err >&5
29140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141
 
  (exit $ac_status); } && {
29142
 
         test -z "$ac_c_werror_flag" ||
29143
 
         test ! -s conftest.err
29144
 
       } && test -s conftest$ac_exeext &&
29145
 
       $as_test_x conftest$ac_exeext; then
29146
 
  kde_cv_have_libXext=yes
29147
 
else
29148
 
  echo "$as_me: failed program was:" >&5
29149
 
sed 's/^/| /' conftest.$ac_ext >&5
29150
 
 
29151
 
        kde_cv_have_libXext=no
29152
 
 
29153
 
fi
29154
 
 
29155
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29156
 
      conftest$ac_exeext conftest.$ac_ext
29157
 
 
29158
 
LDFLAGS=$kde_ldflags_safe
29159
 
LIBS=$kde_libs_safe
29160
 
 
29161
 
fi
29162
 
 
29163
 
 
29164
 
{ echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
29165
 
echo "${ECHO_T}$kde_cv_have_libXext" >&6; }
29166
 
 
29167
 
if test "$kde_cv_have_libXext" = "no"; then
29168
 
  { { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
29169
 
can't find it itself, we stop here assuming that make wouldn't find
29170
 
them either." >&5
29171
 
echo "$as_me: error: We need a working libXext to proceed. Since configure
29172
 
can't find it itself, we stop here assuming that make wouldn't find
29173
 
them either." >&2;}
29174
 
   { (exit 1); exit 1; }; }
29175
 
fi
29176
 
 
29177
 
LIB_XEXT="-lXext"
29178
 
QTE_NORTTI=""
29179
 
 
29180
 
elif test "$kde_use_qt_emb" = "yes"; then
29181
 
    CPPFLAGS=-DQWS
29182
 
  CXXFLAGS="$CXXFLAGS -fno-rtti"
29183
 
  QTE_NORTTI="-fno-rtti -DQWS"
29184
 
  X_PRE_LIBS=""
29185
 
  LIB_X11=""
29186
 
  LIB_XEXT=""
29187
 
  LIB_XRENDER=""
29188
 
  LIBSM=""
29189
 
  X_INCLUDES=""
29190
 
  X_LDFLAGS=""
29191
 
  x_includes=""
29192
 
  x_libraries=""
29193
 
elif test "$kde_use_qt_mac" = "yes"; then
29194
 
      CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
29195
 
  CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
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
 
fi
29206
 
 
29207
 
 
29208
 
 
29209
 
 
29210
 
 
29211
 
 
29212
 
 
29213
 
 
29214
 
 
29215
 
 
29216
 
 
29217
 
 
29218
 
 
29219
 
                LIBPTHREAD=""
29220
 
 
29221
 
  if test -n "$PTHREAD_LIBS"; then
29222
 
    if test "x$PTHREAD_LIBS" = "x-pthread" ; then
29223
 
      LIBPTHREAD="PTHREAD"
29224
 
    else
29225
 
      PTHREAD_LIBS_save="$PTHREAD_LIBS"
29226
 
      PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
29227
 
      { echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
29228
 
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6; }
29229
 
 
29230
 
     kde_save_LDFLAGS="$LDFLAGS"
29231
 
          kde_save_LIBS="$LIBS"
29232
 
     LDFLAGS="$LDFLAGS $all_libraries"
29233
 
     case $host_os in
29234
 
      aix*) LDFLAGS="-brtl $LDFLAGS"
29235
 
        test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
29236
 
        ;;
29237
 
     esac
29238
 
     as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
29239
 
{ echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
29240
 
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6; }
29241
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29242
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29243
 
else
29244
 
  ac_check_lib_save_LIBS=$LIBS
29245
 
LIBS="-l$PTHREAD_LIBS  $LIBS"
29246
 
cat >conftest.$ac_ext <<_ACEOF
29247
 
/* confdefs.h.  */
29248
 
_ACEOF
29249
 
cat confdefs.h >>conftest.$ac_ext
29250
 
cat >>conftest.$ac_ext <<_ACEOF
29251
 
/* end confdefs.h.  */
29252
 
 
29253
 
/* Override any GCC internal prototype to avoid an error.
29254
 
   Use char because int might match the return type of a GCC
29255
 
   builtin and then its argument prototype would still apply.  */
29256
 
#ifdef __cplusplus
29257
 
extern "C"
29258
 
#endif
29259
 
char pthread_create ();
29260
 
int
29261
 
main ()
29262
 
{
29263
 
return pthread_create ();
29264
 
  ;
29265
 
  return 0;
29266
 
}
29267
 
_ACEOF
29268
 
rm -f conftest.$ac_objext conftest$ac_exeext
29269
 
if { (ac_try="$ac_link"
29270
 
case "(($ac_try" in
29271
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29272
 
  *) ac_try_echo=$ac_try;;
29273
 
esac
29274
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29275
 
  (eval "$ac_link") 2>conftest.er1
29276
 
  ac_status=$?
29277
 
  grep -v '^ *+' conftest.er1 >conftest.err
29278
 
  rm -f conftest.er1
29279
 
  cat conftest.err >&5
29280
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281
 
  (exit $ac_status); } && {
29282
 
         test -z "$ac_c_werror_flag" ||
29283
 
         test ! -s conftest.err
29284
 
       } && test -s conftest$ac_exeext &&
29285
 
       $as_test_x conftest$ac_exeext; then
29286
 
  eval "$as_ac_Lib=yes"
29287
 
else
29288
 
  echo "$as_me: failed program was:" >&5
29289
 
sed 's/^/| /' conftest.$ac_ext >&5
29290
 
 
29291
 
        eval "$as_ac_Lib=no"
29292
 
fi
29293
 
 
29294
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29295
 
      conftest$ac_exeext conftest.$ac_ext
29296
 
LIBS=$ac_check_lib_save_LIBS
29297
 
fi
29298
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
29299
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29300
 
echo "${ECHO_T}$ac_res" >&6; }
29301
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29302
 
  LIBPTHREAD="$PTHREAD_LIBS_save"
29303
 
fi
29304
 
 
29305
 
     LDFLAGS="$kde_save_LDFLAGS"
29306
 
     LIBS="$kde_save_LIBS"
29307
 
 
29308
 
      PTHREAD_LIBS="$PTHREAD_LIBS_save"
29309
 
    fi
29310
 
  fi
29311
 
 
29312
 
    if test -z "$LIBPTHREAD"; then
29313
 
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29314
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29315
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
29316
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29317
 
else
29318
 
  ac_check_lib_save_LIBS=$LIBS
29319
 
LIBS="-lpthread  $LIBS"
29320
 
cat >conftest.$ac_ext <<_ACEOF
29321
 
/* confdefs.h.  */
29322
 
_ACEOF
29323
 
cat confdefs.h >>conftest.$ac_ext
29324
 
cat >>conftest.$ac_ext <<_ACEOF
29325
 
/* end confdefs.h.  */
29326
 
 
29327
 
/* Override any GCC internal prototype to avoid an error.
29328
 
   Use char because int might match the return type of a GCC
29329
 
   builtin and then its argument prototype would still apply.  */
29330
 
#ifdef __cplusplus
29331
 
extern "C"
29332
 
#endif
29333
 
char pthread_create ();
29334
 
int
29335
 
main ()
29336
 
{
29337
 
return pthread_create ();
29338
 
  ;
29339
 
  return 0;
29340
 
}
29341
 
_ACEOF
29342
 
rm -f conftest.$ac_objext conftest$ac_exeext
29343
 
if { (ac_try="$ac_link"
29344
 
case "(($ac_try" in
29345
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29346
 
  *) ac_try_echo=$ac_try;;
29347
 
esac
29348
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29349
 
  (eval "$ac_link") 2>conftest.er1
29350
 
  ac_status=$?
29351
 
  grep -v '^ *+' conftest.er1 >conftest.err
29352
 
  rm -f conftest.er1
29353
 
  cat conftest.err >&5
29354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355
 
  (exit $ac_status); } && {
29356
 
         test -z "$ac_c_werror_flag" ||
29357
 
         test ! -s conftest.err
29358
 
       } && test -s conftest$ac_exeext &&
29359
 
       $as_test_x conftest$ac_exeext; then
29360
 
  ac_cv_lib_pthread_pthread_create=yes
29361
 
else
29362
 
  echo "$as_me: failed program was:" >&5
29363
 
sed 's/^/| /' conftest.$ac_ext >&5
29364
 
 
29365
 
        ac_cv_lib_pthread_pthread_create=no
29366
 
fi
29367
 
 
29368
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29369
 
      conftest$ac_exeext conftest.$ac_ext
29370
 
LIBS=$ac_check_lib_save_LIBS
29371
 
fi
29372
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
29373
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
29374
 
if test $ac_cv_lib_pthread_pthread_create = yes; then
29375
 
  LIBPTHREAD="-lpthread"
29376
 
fi
29377
 
 
29378
 
  fi
29379
 
 
29380
 
    if test -z "$LIBPTHREAD" ; then
29381
 
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29382
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29383
 
    kde_safe_libs=$LIBS
29384
 
    LIBS="$LIBS -lpthread"
29385
 
    cat >conftest.$ac_ext <<_ACEOF
29386
 
/* confdefs.h.  */
29387
 
_ACEOF
29388
 
cat confdefs.h >>conftest.$ac_ext
29389
 
cat >>conftest.$ac_ext <<_ACEOF
29390
 
/* end confdefs.h.  */
29391
 
#include <pthread.h>
29392
 
int
29393
 
main ()
29394
 
{
29395
 
(void)pthread_create(0,0,0,0);
29396
 
  ;
29397
 
  return 0;
29398
 
}
29399
 
_ACEOF
29400
 
rm -f conftest.$ac_objext conftest$ac_exeext
29401
 
if { (ac_try="$ac_link"
29402
 
case "(($ac_try" in
29403
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29404
 
  *) ac_try_echo=$ac_try;;
29405
 
esac
29406
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29407
 
  (eval "$ac_link") 2>conftest.er1
29408
 
  ac_status=$?
29409
 
  grep -v '^ *+' conftest.er1 >conftest.err
29410
 
  rm -f conftest.er1
29411
 
  cat conftest.err >&5
29412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413
 
  (exit $ac_status); } && {
29414
 
         test -z "$ac_c_werror_flag" ||
29415
 
         test ! -s conftest.err
29416
 
       } && test -s conftest$ac_exeext &&
29417
 
       $as_test_x conftest$ac_exeext; then
29418
 
 
29419
 
        { echo "$as_me:$LINENO: result: yes" >&5
29420
 
echo "${ECHO_T}yes" >&6; }
29421
 
        LIBPTHREAD="-lpthread"
29422
 
else
29423
 
  echo "$as_me: failed program was:" >&5
29424
 
sed 's/^/| /' conftest.$ac_ext >&5
29425
 
 
29426
 
 
29427
 
        { echo "$as_me:$LINENO: result: no" >&5
29428
 
echo "${ECHO_T}no" >&6; }
29429
 
fi
29430
 
 
29431
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29432
 
      conftest$ac_exeext conftest.$ac_ext
29433
 
    LIBS=$kde_safe_libs
29434
 
  fi
29435
 
 
29436
 
    if test "x$LIBPTHREAD" = "xPTHREAD" ; then
29437
 
    LIBPTHREAD=""
29438
 
  fi
29439
 
 
29440
 
 
29441
 
 
29442
 
 
29443
 
      USE_THREADS=""
29444
 
      if test -z "$LIBPTHREAD"; then
29445
 
 
29446
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
29447
 
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6; }
29448
 
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
29449
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29450
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29451
 
else
29452
 
 
29453
 
 
29454
 
   ac_ext=cpp
29455
 
ac_cpp='$CXXCPP $CPPFLAGS'
29456
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29457
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29458
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29459
 
 
29460
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29461
 
 
29462
 
 
29463
 
  save_CXXFLAGS="$CXXFLAGS"
29464
 
  CXXFLAGS="$CXXFLAGS -pthread"
29465
 
  cat >conftest.$ac_ext <<_ACEOF
29466
 
/* confdefs.h.  */
29467
 
_ACEOF
29468
 
cat confdefs.h >>conftest.$ac_ext
29469
 
cat >>conftest.$ac_ext <<_ACEOF
29470
 
/* end confdefs.h.  */
29471
 
 
29472
 
int
29473
 
main ()
29474
 
{
29475
 
 return 0;
29476
 
  ;
29477
 
  return 0;
29478
 
}
29479
 
_ACEOF
29480
 
rm -f conftest.$ac_objext conftest$ac_exeext
29481
 
if { (ac_try="$ac_link"
29482
 
case "(($ac_try" in
29483
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29484
 
  *) ac_try_echo=$ac_try;;
29485
 
esac
29486
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29487
 
  (eval "$ac_link") 2>conftest.er1
29488
 
  ac_status=$?
29489
 
  grep -v '^ *+' conftest.er1 >conftest.err
29490
 
  rm -f conftest.er1
29491
 
  cat conftest.err >&5
29492
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493
 
  (exit $ac_status); } && {
29494
 
         test -z "$ac_cxx_werror_flag" ||
29495
 
         test ! -s conftest.err
29496
 
       } && test -s conftest$ac_exeext &&
29497
 
       $as_test_x conftest$ac_exeext; then
29498
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
29499
 
else
29500
 
  echo "$as_me: failed program was:" >&5
29501
 
sed 's/^/| /' conftest.$ac_ext >&5
29502
 
 
29503
 
 
29504
 
fi
29505
 
 
29506
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29507
 
      conftest$ac_exeext conftest.$ac_ext
29508
 
  CXXFLAGS="$save_CXXFLAGS"
29509
 
  ac_ext=c
29510
 
ac_cpp='$CPP $CPPFLAGS'
29511
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29512
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29513
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29514
 
 
29515
 
 
29516
 
fi
29517
 
 
29518
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29519
 
 { echo "$as_me:$LINENO: result: yes" >&5
29520
 
echo "${ECHO_T}yes" >&6; }
29521
 
 :
29522
 
 USE_THREADS="-D_THREAD_SAFE -pthread"
29523
 
else
29524
 
 { echo "$as_me:$LINENO: result: no" >&5
29525
 
echo "${ECHO_T}no" >&6; }
29526
 
 :
29527
 
 
29528
 
fi
29529
 
 
29530
 
      fi
29531
 
 
29532
 
 
29533
 
 
29534
 
    case $host_os in
29535
 
        solaris*)
29536
 
 
29537
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
29538
 
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6; }
29539
 
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
29540
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29541
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29542
 
else
29543
 
 
29544
 
 
29545
 
   ac_ext=cpp
29546
 
ac_cpp='$CXXCPP $CPPFLAGS'
29547
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29548
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29549
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29550
 
 
29551
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29552
 
 
29553
 
 
29554
 
  save_CXXFLAGS="$CXXFLAGS"
29555
 
  CXXFLAGS="$CXXFLAGS -mt"
29556
 
  cat >conftest.$ac_ext <<_ACEOF
29557
 
/* confdefs.h.  */
29558
 
_ACEOF
29559
 
cat confdefs.h >>conftest.$ac_ext
29560
 
cat >>conftest.$ac_ext <<_ACEOF
29561
 
/* end confdefs.h.  */
29562
 
 
29563
 
int
29564
 
main ()
29565
 
{
29566
 
 return 0;
29567
 
  ;
29568
 
  return 0;
29569
 
}
29570
 
_ACEOF
29571
 
rm -f conftest.$ac_objext conftest$ac_exeext
29572
 
if { (ac_try="$ac_link"
29573
 
case "(($ac_try" in
29574
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29575
 
  *) ac_try_echo=$ac_try;;
29576
 
esac
29577
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29578
 
  (eval "$ac_link") 2>conftest.er1
29579
 
  ac_status=$?
29580
 
  grep -v '^ *+' conftest.er1 >conftest.err
29581
 
  rm -f conftest.er1
29582
 
  cat conftest.err >&5
29583
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584
 
  (exit $ac_status); } && {
29585
 
         test -z "$ac_cxx_werror_flag" ||
29586
 
         test ! -s conftest.err
29587
 
       } && test -s conftest$ac_exeext &&
29588
 
       $as_test_x conftest$ac_exeext; then
29589
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
29590
 
else
29591
 
  echo "$as_me: failed program was:" >&5
29592
 
sed 's/^/| /' conftest.$ac_ext >&5
29593
 
 
29594
 
 
29595
 
fi
29596
 
 
29597
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29598
 
      conftest$ac_exeext conftest.$ac_ext
29599
 
  CXXFLAGS="$save_CXXFLAGS"
29600
 
  ac_ext=c
29601
 
ac_cpp='$CPP $CPPFLAGS'
29602
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29603
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29604
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29605
 
 
29606
 
 
29607
 
fi
29608
 
 
29609
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29610
 
 { echo "$as_me:$LINENO: result: yes" >&5
29611
 
echo "${ECHO_T}yes" >&6; }
29612
 
 :
29613
 
 USE_THREADS="-mt"
29614
 
else
29615
 
 { echo "$as_me:$LINENO: result: no" >&5
29616
 
echo "${ECHO_T}no" >&6; }
29617
 
 :
29618
 
 
29619
 
fi
29620
 
 
29621
 
                CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
29622
 
                ;;
29623
 
        freebsd*)
29624
 
                CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
29625
 
                ;;
29626
 
        aix*)
29627
 
                CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
29628
 
                LIBPTHREAD="$LIBPTHREAD -lc_r"
29629
 
                ;;
29630
 
        linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
29631
 
                if test "$CXX" = "KCC"; then
29632
 
                  CXXFLAGS="$CXXFLAGS --thread_safe"
29633
 
                  NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
29634
 
                fi
29635
 
                ;;
29636
 
        *)
29637
 
                ;;
29638
 
    esac
29639
 
 
29640
 
 
29641
 
 
29642
 
 
29643
 
{ echo "$as_me:$LINENO: checking for extra includes" >&5
29644
 
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6; }
29645
 
 
29646
 
# Check whether --with-extra-includes was given.
29647
 
if test "${with_extra_includes+set}" = set; then
29648
 
  withval=$with_extra_includes; kde_use_extra_includes="$withval"
29649
 
else
29650
 
  kde_use_extra_includes=NONE
29651
 
 
29652
 
fi
29653
 
 
29654
 
kde_extra_includes=
29655
 
if test -n "$kde_use_extra_includes" && \
29656
 
   test "$kde_use_extra_includes" != "NONE"; then
29657
 
 
29658
 
   ac_save_ifs=$IFS
29659
 
   IFS=':'
29660
 
   for dir in $kde_use_extra_includes; do
29661
 
     kde_extra_includes="$kde_extra_includes $dir"
29662
 
     USER_INCLUDES="$USER_INCLUDES -I$dir"
29663
 
   done
29664
 
   IFS=$ac_save_ifs
29665
 
   kde_use_extra_includes="added"
29666
 
else
29667
 
   kde_use_extra_includes="no"
29668
 
fi
29669
 
 
29670
 
 
29671
 
{ echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
29672
 
echo "${ECHO_T}$kde_use_extra_includes" >&6; }
29673
 
 
29674
 
kde_extra_libs=
29675
 
{ echo "$as_me:$LINENO: checking for extra libs" >&5
29676
 
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6; }
29677
 
 
29678
 
# Check whether --with-extra-libs was given.
29679
 
if test "${with_extra_libs+set}" = set; then
29680
 
  withval=$with_extra_libs; kde_use_extra_libs=$withval
29681
 
else
29682
 
  kde_use_extra_libs=NONE
29683
 
 
29684
 
fi
29685
 
 
29686
 
if test -n "$kde_use_extra_libs" && \
29687
 
   test "$kde_use_extra_libs" != "NONE"; then
29688
 
 
29689
 
   ac_save_ifs=$IFS
29690
 
   IFS=':'
29691
 
   for dir in $kde_use_extra_libs; do
29692
 
     kde_extra_libs="$kde_extra_libs $dir"
29693
 
     KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
29694
 
     USER_LDFLAGS="$USER_LDFLAGS -L$dir"
29695
 
   done
29696
 
   IFS=$ac_save_ifs
29697
 
   kde_use_extra_libs="added"
29698
 
else
29699
 
   kde_use_extra_libs="no"
29700
 
fi
29701
 
 
29702
 
 
29703
 
 
29704
 
{ echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
29705
 
echo "${ECHO_T}$kde_use_extra_libs" >&6; }
29706
 
 
29707
 
 
29708
 
 
29709
 
 
29710
 
{ echo "$as_me:$LINENO: checking for libz" >&5
29711
 
echo $ECHO_N "checking for libz... $ECHO_C" >&6; }
29712
 
if test "${ac_cv_lib_z+set}" = set; then
29713
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29714
 
else
29715
 
 
29716
 
kde_save_LIBS="$LIBS"
29717
 
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
29718
 
kde_save_CFLAGS="$CFLAGS"
29719
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29720
 
cat >conftest.$ac_ext <<_ACEOF
29721
 
/* confdefs.h.  */
29722
 
_ACEOF
29723
 
cat confdefs.h >>conftest.$ac_ext
29724
 
cat >>conftest.$ac_ext <<_ACEOF
29725
 
/* end confdefs.h.  */
29726
 
 
29727
 
#include<zlib.h>
29728
 
 
29729
 
int
29730
 
main ()
29731
 
{
29732
 
 
29733
 
  char buf[42];
29734
 
  gzFile f = (gzFile) 0;
29735
 
  /* this would segfault.. but we only link, don't run */
29736
 
  (void) gzgets(f, buf, sizeof(buf));
29737
 
 
29738
 
  return (zlibVersion() == ZLIB_VERSION);
29739
 
 
29740
 
  ;
29741
 
  return 0;
29742
 
}
29743
 
_ACEOF
29744
 
rm -f conftest.$ac_objext conftest$ac_exeext
29745
 
if { (ac_try="$ac_link"
29746
 
case "(($ac_try" in
29747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29748
 
  *) ac_try_echo=$ac_try;;
29749
 
esac
29750
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29751
 
  (eval "$ac_link") 2>conftest.er1
29752
 
  ac_status=$?
29753
 
  grep -v '^ *+' conftest.er1 >conftest.err
29754
 
  rm -f conftest.er1
29755
 
  cat conftest.err >&5
29756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757
 
  (exit $ac_status); } && {
29758
 
         test -z "$ac_c_werror_flag" ||
29759
 
         test ! -s conftest.err
29760
 
       } && test -s conftest$ac_exeext &&
29761
 
       $as_test_x conftest$ac_exeext; then
29762
 
  eval "ac_cv_lib_z='-lz'"
29763
 
else
29764
 
  echo "$as_me: failed program was:" >&5
29765
 
sed 's/^/| /' conftest.$ac_ext >&5
29766
 
 
29767
 
        eval "ac_cv_lib_z=no"
29768
 
fi
29769
 
 
29770
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29771
 
      conftest$ac_exeext conftest.$ac_ext
29772
 
LIBS="$kde_save_LIBS"
29773
 
CFLAGS="$kde_save_CFLAGS"
29774
 
 
29775
 
fi
29776
 
if test ! "$ac_cv_lib_z" = no; then
29777
 
 
29778
 
cat >>confdefs.h <<_ACEOF
29779
 
#define HAVE_LIBZ 1
29780
 
_ACEOF
29781
 
 
29782
 
  LIBZ="$ac_cv_lib_z"
29783
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
29784
 
echo "${ECHO_T}$ac_cv_lib_z" >&6; }
29785
 
else
29786
 
  { { echo "$as_me:$LINENO: error: not found.
29787
 
          Possibly configure picks up an outdated version
29788
 
          installed by XFree86. Remove it from your system.
29789
 
 
29790
 
          Check your installation and look into config.log" >&5
29791
 
echo "$as_me: error: not found.
29792
 
          Possibly configure picks up an outdated version
29793
 
          installed by XFree86. Remove it from your system.
29794
 
 
29795
 
          Check your installation and look into config.log" >&2;}
29796
 
   { (exit 1); exit 1; }; }
29797
 
  LIBZ=""
29798
 
fi
29799
 
 
29800
 
 
29801
 
 
29802
 
 
29803
 
 
29804
 
{ echo "$as_me:$LINENO: checking for libpng" >&5
29805
 
echo $ECHO_N "checking for libpng... $ECHO_C" >&6; }
29806
 
if test "${ac_cv_lib_png+set}" = set; then
29807
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29808
 
else
29809
 
 
29810
 
kde_save_LIBS="$LIBS"
29811
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29812
 
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
29813
 
else
29814
 
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
29815
 
fi
29816
 
kde_save_CFLAGS="$CFLAGS"
29817
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29818
 
 
29819
 
cat >conftest.$ac_ext <<_ACEOF
29820
 
/* confdefs.h.  */
29821
 
_ACEOF
29822
 
cat confdefs.h >>conftest.$ac_ext
29823
 
cat >>conftest.$ac_ext <<_ACEOF
29824
 
/* end confdefs.h.  */
29825
 
 
29826
 
    #include<png.h>
29827
 
 
29828
 
int
29829
 
main ()
29830
 
{
29831
 
 
29832
 
    png_structp png_ptr = png_create_read_struct(  /* image ptr */
29833
 
                PNG_LIBPNG_VER_STRING, 0, 0, 0 );
29834
 
    return( png_ptr != 0 );
29835
 
 
29836
 
  ;
29837
 
  return 0;
29838
 
}
29839
 
_ACEOF
29840
 
rm -f conftest.$ac_objext conftest$ac_exeext
29841
 
if { (ac_try="$ac_link"
29842
 
case "(($ac_try" in
29843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29844
 
  *) ac_try_echo=$ac_try;;
29845
 
esac
29846
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29847
 
  (eval "$ac_link") 2>conftest.er1
29848
 
  ac_status=$?
29849
 
  grep -v '^ *+' conftest.er1 >conftest.err
29850
 
  rm -f conftest.er1
29851
 
  cat conftest.err >&5
29852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853
 
  (exit $ac_status); } && {
29854
 
         test -z "$ac_c_werror_flag" ||
29855
 
         test ! -s conftest.err
29856
 
       } && test -s conftest$ac_exeext &&
29857
 
       $as_test_x conftest$ac_exeext; then
29858
 
  eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
29859
 
else
29860
 
  echo "$as_me: failed program was:" >&5
29861
 
sed 's/^/| /' conftest.$ac_ext >&5
29862
 
 
29863
 
        eval "ac_cv_lib_png=no"
29864
 
 
29865
 
fi
29866
 
 
29867
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29868
 
      conftest$ac_exeext conftest.$ac_ext
29869
 
LIBS="$kde_save_LIBS"
29870
 
CFLAGS="$kde_save_CFLAGS"
29871
 
 
29872
 
fi
29873
 
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
29874
 
 
29875
 
cat >>confdefs.h <<_ACEOF
29876
 
#define HAVE_LIBPNG 1
29877
 
_ACEOF
29878
 
 
29879
 
  LIBPNG="$ac_cv_lib_png"
29880
 
 
29881
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
29882
 
echo "${ECHO_T}$ac_cv_lib_png" >&6; }
29883
 
else
29884
 
  { echo "$as_me:$LINENO: result: no" >&5
29885
 
echo "${ECHO_T}no" >&6; }
29886
 
  LIBPNG=""
29887
 
 
29888
 
fi
29889
 
 
29890
 
 
29891
 
 
29892
 
{ echo "$as_me:$LINENO: checking for libjpeg6b" >&5
29893
 
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6; }
29894
 
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
29895
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29896
 
else
29897
 
 
29898
 
ac_save_LIBS="$LIBS"
29899
 
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
29900
 
ac_save_CFLAGS="$CFLAGS"
29901
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29902
 
cat >conftest.$ac_ext <<_ACEOF
29903
 
/* confdefs.h.  */
29904
 
_ACEOF
29905
 
cat confdefs.h >>conftest.$ac_ext
29906
 
cat >>conftest.$ac_ext <<_ACEOF
29907
 
/* end confdefs.h.  */
29908
 
 
29909
 
#ifdef __cplusplus
29910
 
extern "C" {
29911
 
#endif
29912
 
void jpeg_CreateDecompress();
29913
 
#ifdef __cplusplus
29914
 
}
29915
 
#endif
29916
 
 
29917
 
int
29918
 
main ()
29919
 
{
29920
 
jpeg_CreateDecompress();
29921
 
  ;
29922
 
  return 0;
29923
 
}
29924
 
_ACEOF
29925
 
rm -f conftest.$ac_objext conftest$ac_exeext
29926
 
if { (ac_try="$ac_link"
29927
 
case "(($ac_try" in
29928
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29929
 
  *) ac_try_echo=$ac_try;;
29930
 
esac
29931
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29932
 
  (eval "$ac_link") 2>conftest.er1
29933
 
  ac_status=$?
29934
 
  grep -v '^ *+' conftest.er1 >conftest.err
29935
 
  rm -f conftest.er1
29936
 
  cat conftest.err >&5
29937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938
 
  (exit $ac_status); } && {
29939
 
         test -z "$ac_c_werror_flag" ||
29940
 
         test ! -s conftest.err
29941
 
       } && test -s conftest$ac_exeext &&
29942
 
       $as_test_x conftest$ac_exeext; then
29943
 
  eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
29944
 
else
29945
 
  echo "$as_me: failed program was:" >&5
29946
 
sed 's/^/| /' conftest.$ac_ext >&5
29947
 
 
29948
 
        eval "ac_cv_lib_jpeg_6b=no"
29949
 
fi
29950
 
 
29951
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29952
 
      conftest$ac_exeext conftest.$ac_ext
29953
 
LIBS="$ac_save_LIBS"
29954
 
CFLAGS="$ac_save_CFLAGS"
29955
 
 
29956
 
fi
29957
 
 
29958
 
 
29959
 
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
29960
 
  LIBJPEG="$ac_cv_lib_jpeg_6b"
29961
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
29962
 
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6; }
29963
 
else
29964
 
  { echo "$as_me:$LINENO: result: no" >&5
29965
 
echo "${ECHO_T}no" >&6; }
29966
 
 
29967
 
{ echo "$as_me:$LINENO: checking for libjpeg" >&5
29968
 
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6; }
29969
 
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
29970
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29971
 
else
29972
 
 
29973
 
ac_save_LIBS="$LIBS"
29974
 
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
29975
 
ac_save_CFLAGS="$CFLAGS"
29976
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29977
 
cat >conftest.$ac_ext <<_ACEOF
29978
 
/* confdefs.h.  */
29979
 
_ACEOF
29980
 
cat confdefs.h >>conftest.$ac_ext
29981
 
cat >>conftest.$ac_ext <<_ACEOF
29982
 
/* end confdefs.h.  */
29983
 
 
29984
 
#ifdef __cplusplus
29985
 
extern "C" {
29986
 
#endif
29987
 
void jpeg_CreateDecompress();
29988
 
#ifdef __cplusplus
29989
 
}
29990
 
#endif
29991
 
 
29992
 
int
29993
 
main ()
29994
 
{
29995
 
jpeg_CreateDecompress();
29996
 
  ;
29997
 
  return 0;
29998
 
}
29999
 
_ACEOF
30000
 
rm -f conftest.$ac_objext conftest$ac_exeext
30001
 
if { (ac_try="$ac_link"
30002
 
case "(($ac_try" in
30003
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30004
 
  *) ac_try_echo=$ac_try;;
30005
 
esac
30006
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30007
 
  (eval "$ac_link") 2>conftest.er1
30008
 
  ac_status=$?
30009
 
  grep -v '^ *+' conftest.er1 >conftest.err
30010
 
  rm -f conftest.er1
30011
 
  cat conftest.err >&5
30012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013
 
  (exit $ac_status); } && {
30014
 
         test -z "$ac_c_werror_flag" ||
30015
 
         test ! -s conftest.err
30016
 
       } && test -s conftest$ac_exeext &&
30017
 
       $as_test_x conftest$ac_exeext; then
30018
 
  eval "ac_cv_lib_jpeg_normal=-ljpeg"
30019
 
else
30020
 
  echo "$as_me: failed program was:" >&5
30021
 
sed 's/^/| /' conftest.$ac_ext >&5
30022
 
 
30023
 
        eval "ac_cv_lib_jpeg_normal=no"
30024
 
fi
30025
 
 
30026
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30027
 
      conftest$ac_exeext conftest.$ac_ext
30028
 
LIBS="$ac_save_LIBS"
30029
 
CFLAGS="$ac_save_CFLAGS"
30030
 
 
30031
 
fi
30032
 
 
30033
 
 
30034
 
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
30035
 
  LIBJPEG="$ac_cv_lib_jpeg_normal"
30036
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
30037
 
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6; }
30038
 
else
30039
 
  { echo "$as_me:$LINENO: result: no" >&5
30040
 
echo "${ECHO_T}no" >&6; }
30041
 
 
30042
 
       LIBJPEG=
30043
 
 
30044
 
 
30045
 
fi
30046
 
 
30047
 
 
30048
 
 
30049
 
fi
30050
 
 
30051
 
 
30052
 
 
30053
 
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
30054
 
 
30055
 
jpeg_incdir=NO
30056
 
for i in $jpeg_incdirs;
30057
 
do
30058
 
  for j in jpeglib.h;
30059
 
  do
30060
 
    echo "configure: 30060: $i/$j" >&5
30061
 
    if test -r "$i/$j"; then
30062
 
      echo "taking that" >&5
30063
 
      jpeg_incdir=$i
30064
 
      break 2
30065
 
    fi
30066
 
  done
30067
 
done
30068
 
 
30069
 
test "x$jpeg_incdir" = xNO && jpeg_incdir=
30070
 
 
30071
 
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
30072
 
 
30073
 
cat >>confdefs.h <<_ACEOF
30074
 
#define HAVE_LIBJPEG 1
30075
 
_ACEOF
30076
 
 
30077
 
else
30078
 
  if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
30079
 
    { echo "$as_me:$LINENO: WARNING:
30080
 
There is an installation error in jpeg support. You seem to have only one
30081
 
of either the headers _or_ the libraries installed. You may need to either
30082
 
provide correct --with-extra-... options, or the development package of
30083
 
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30084
 
Disabling JPEG support.
30085
 
" >&5
30086
 
echo "$as_me: WARNING:
30087
 
There is an installation error in jpeg support. You seem to have only one
30088
 
of either the headers _or_ the libraries installed. You may need to either
30089
 
provide correct --with-extra-... options, or the development package of
30090
 
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30091
 
Disabling JPEG support.
30092
 
" >&2;}
30093
 
  else
30094
 
    { echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
30095
 
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
30096
 
  fi
30097
 
  jpeg_incdir=
30098
 
  LIBJPEG=
30099
 
fi
30100
 
 
30101
 
 
30102
 
 
30103
 
 
30104
 
 
30105
 
 
30106
 
 
30107
 
   { echo "$as_me:$LINENO: checking for perl" >&5
30108
 
echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
30109
 
   if test -n "$PERL"; then
30110
 
        kde_cv_path="$PERL";
30111
 
   else
30112
 
        kde_cache=`echo perl | sed 'y%./+-%__p_%'`
30113
 
 
30114
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30115
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30116
 
else
30117
 
 
30118
 
        kde_cv_path="NONE"
30119
 
        kde_save_IFS=$IFS
30120
 
        IFS=':'
30121
 
        dirs=""
30122
 
        for dir in $PATH; do
30123
 
          dirs="$dirs $dir"
30124
 
        done
30125
 
        if test -z ""; then       dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
30126
 
        else      dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
30127
 
        fi
30128
 
        IFS=$kde_save_IFS
30129
 
 
30130
 
        for dir in $dirs; do
30131
 
          if test -x "$dir/perl"; then
30132
 
            if test -n ""
30133
 
            then
30134
 
              evalstr="$dir/perl  2>&1 "
30135
 
              if eval $evalstr; then
30136
 
                kde_cv_path="$dir/perl"
30137
 
                break
30138
 
              fi
30139
 
            else
30140
 
                kde_cv_path="$dir/perl"
30141
 
                break
30142
 
            fi
30143
 
          fi
30144
 
        done
30145
 
 
30146
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30147
 
 
30148
 
 
30149
 
fi
30150
 
 
30151
 
 
30152
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30153
 
 
30154
 
   fi
30155
 
 
30156
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30157
 
      { echo "$as_me:$LINENO: result: not found" >&5
30158
 
echo "${ECHO_T}not found" >&6; }
30159
 
 
30160
 
                    { { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
30161
 
We need perl to generate some code." >&5
30162
 
echo "$as_me: error: No Perl found in your $PATH.
30163
 
We need perl to generate some code." >&2;}
30164
 
   { (exit 1); exit 1; }; }
30165
 
 
30166
 
   else
30167
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30168
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30169
 
      PERL=$kde_cv_path
30170
 
 
30171
 
   fi
30172
 
 
30173
 
 
30174
 
 
30175
 
 
30176
 
 
30177
 
 
30178
 
 
30179
 
 
30180
 
 
30181
 
 
30182
 
# Check whether --enable-mt was given.
30183
 
if test "${enable_mt+set}" = set; then
30184
 
  enableval=$enable_mt; kde_use_qt_mt=$enableval
30185
 
else
30186
 
 
30187
 
    if test $kde_qtver = 3; then
30188
 
      kde_use_qt_mt=yes
30189
 
    else
30190
 
      kde_use_qt_mt=no
30191
 
    fi
30192
 
 
30193
 
 
30194
 
fi
30195
 
 
30196
 
 
30197
 
USING_QT_MT=""
30198
 
 
30199
 
 
30200
 
KDE_MT_LDFLAGS=
30201
 
KDE_MT_LIBS=
30202
 
if test "x$kde_use_qt_mt" = "xyes"; then
30203
 
 
30204
 
 
30205
 
 
30206
 
    if test -z "$LIBPTHREAD"; then
30207
 
    if test -z "$USE_THREADS"; then
30208
 
      kde_check_threading_default=no
30209
 
    else
30210
 
      kde_check_threading_default=yes
30211
 
    fi
30212
 
  else
30213
 
    kde_check_threading_default=yes
30214
 
  fi
30215
 
  # Check whether --enable-threading was given.
30216
 
if test "${enable_threading+set}" = set; then
30217
 
  enableval=$enable_threading; kde_use_threading=$enableval
30218
 
else
30219
 
  kde_use_threading=$kde_check_threading_default
30220
 
fi
30221
 
 
30222
 
  if test "x$kde_use_threading" = "xyes"; then
30223
 
 
30224
 
cat >>confdefs.h <<\_ACEOF
30225
 
#define HAVE_LIBPTHREAD 1
30226
 
_ACEOF
30227
 
 
30228
 
  fi
30229
 
 
30230
 
  if test "x$kde_use_threading" = "xyes"; then
30231
 
    CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
30232
 
    KDE_MT_LDFLAGS="$USE_THREADS"
30233
 
    KDE_MT_LIBS="$LIBPTHREAD"
30234
 
  else
30235
 
    kde_use_qt_mt=no
30236
 
  fi
30237
 
fi
30238
 
 
30239
 
 
30240
 
 
30241
 
kde_qt_was_given=yes
30242
 
 
30243
 
if test -z "$LIBQT_GLOB"; then
30244
 
  if test "x$kde_use_qt_emb" = "xyes"; then
30245
 
    LIBQT_GLOB="libqte.*"
30246
 
  else
30247
 
    LIBQT_GLOB="libqt.*"
30248
 
  fi
30249
 
fi
30250
 
 
30251
 
if test "x$kde_use_qt_emb" = "xyes"; then
30252
 
  qtlib="qte"
30253
 
else
30254
 
  qtlib="qt"
30255
 
fi
30256
 
 
30257
 
kde_int_qt="-l$qtlib"
30258
 
 
30259
 
if test -z "$LIBQPE"; then
30260
 
  if test "x$kde_use_qt_emb" = "xyes"; then
30261
 
    if test "x$kde_use_qt_emb_palm" = "xyes"; then
30262
 
      LIB_QPE="-lqpe"
30263
 
    else
30264
 
      LIB_QPE=""
30265
 
    fi
30266
 
  else
30267
 
    LIB_QPE=""
30268
 
  fi
30269
 
fi
30270
 
 
30271
 
 
30272
 
if test "x$kde_use_qt_mt" = "xyes"; then
30273
 
  LIBQT="-l$qtlib-mt"
30274
 
  kde_int_qt="-l$qtlib-mt"
30275
 
  LIBQT_GLOB="lib$qtlib-mt.*"
30276
 
  USING_QT_MT="using -mt"
30277
 
else
30278
 
  LIBQT="-l$qtlib"
30279
 
fi
30280
 
 
30281
 
if test $kde_qtver != 1; then
30282
 
 
30283
 
 
30284
 
 
30285
 
  LIBQT="$LIBQT $LIBPNG $LIBJPEG"
30286
 
fi
30287
 
 
30288
 
if test $kde_qtver = 3; then
30289
 
 
30290
 
  LIBQT="$LIBQT $LIBDL"
30291
 
fi
30292
 
 
30293
 
{ echo "$as_me:$LINENO: checking for Qt" >&5
30294
 
echo $ECHO_N "checking for Qt... $ECHO_C" >&6; }
30295
 
 
30296
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30297
 
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
30298
 
fi
30299
 
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
30300
 
qt_libraries=""
30301
 
qt_includes=""
30302
 
 
30303
 
# Check whether --with-qt-dir was given.
30304
 
if test "${with_qt_dir+set}" = set; then
30305
 
  withval=$with_qt_dir;   ac_qt_includes="$withval"/include
30306
 
       ac_qt_libraries="$withval"/lib${kdelibsuff}
30307
 
       ac_qt_bindir="$withval"/bin
30308
 
 
30309
 
fi
30310
 
 
30311
 
 
30312
 
 
30313
 
# Check whether --with-qt-includes was given.
30314
 
if test "${with_qt_includes+set}" = set; then
30315
 
  withval=$with_qt_includes;
30316
 
       ac_qt_includes="$withval"
30317
 
 
30318
 
fi
30319
 
 
30320
 
 
30321
 
kde_qt_libs_given=no
30322
 
 
30323
 
 
30324
 
# Check whether --with-qt-libraries was given.
30325
 
if test "${with_qt_libraries+set}" = set; then
30326
 
  withval=$with_qt_libraries;   ac_qt_libraries="$withval"
30327
 
       kde_qt_libs_given=yes
30328
 
 
30329
 
fi
30330
 
 
30331
 
 
30332
 
if test "${ac_cv_have_qt+set}" = set; then
30333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30334
 
else
30335
 
  #try to guess Qt locations
30336
 
 
30337
 
qt_incdirs=""
30338
 
for dir in $kde_qt_dirs; do
30339
 
   qt_incdirs="$qt_incdirs $dir/include $dir"
30340
 
done
30341
 
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"
30342
 
if test ! "$ac_qt_includes" = "NO"; then
30343
 
   qt_incdirs="$ac_qt_includes $qt_incdirs"
30344
 
fi
30345
 
 
30346
 
if test "$kde_qtver" != "1"; then
30347
 
  kde_qt_header=qstyle.h
30348
 
else
30349
 
  kde_qt_header=qglobal.h
30350
 
fi
30351
 
 
30352
 
 
30353
 
qt_incdir=NO
30354
 
for i in $qt_incdirs;
30355
 
do
30356
 
  for j in $kde_qt_header;
30357
 
  do
30358
 
    echo "configure: 30358: $i/$j" >&5
30359
 
    if test -r "$i/$j"; then
30360
 
      echo "taking that" >&5
30361
 
      qt_incdir=$i
30362
 
      break 2
30363
 
    fi
30364
 
  done
30365
 
done
30366
 
 
30367
 
ac_qt_includes="$qt_incdir"
30368
 
 
30369
 
qt_libdirs=""
30370
 
for dir in $kde_qt_dirs; do
30371
 
   qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
30372
 
done
30373
 
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
30374
 
if test ! "$ac_qt_libraries" = "NO"; then
30375
 
  qt_libdir=$ac_qt_libraries
30376
 
else
30377
 
  qt_libdirs="$ac_qt_libraries $qt_libdirs"
30378
 
  # if the Qt was given, the chance is too big that libqt.* doesn't exist
30379
 
  qt_libdir=NONE
30380
 
  for dir in $qt_libdirs; do
30381
 
    try="ls -1 $dir/${LIBQT_GLOB}"
30382
 
    if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
30383
 
  done
30384
 
fi
30385
 
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30386
 
  if test -e "$a"; then
30387
 
    LIBQT="$LIBQT ${kde_int_qt}_incremental"
30388
 
    break
30389
 
  fi
30390
 
done
30391
 
 
30392
 
ac_qt_libraries="$qt_libdir"
30393
 
 
30394
 
 
30395
 
 ac_ext=cpp
30396
 
ac_cpp='$CXXCPP $CPPFLAGS'
30397
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30398
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30399
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30400
 
 
30401
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30402
 
 
30403
 
 
30404
 
 
30405
 
ac_cxxflags_safe="$CXXFLAGS"
30406
 
ac_ldflags_safe="$LDFLAGS"
30407
 
ac_libs_safe="$LIBS"
30408
 
 
30409
 
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
30410
 
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
30411
 
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
30412
 
 
30413
 
 
30414
 
 
30415
 
cat > conftest.$ac_ext <<EOF
30416
 
#include "confdefs.h"
30417
 
#include <qglobal.h>
30418
 
#include <qapplication.h>
30419
 
EOF
30420
 
if test "$kde_qtver" = "2"; then
30421
 
cat >> conftest.$ac_ext <<EOF
30422
 
#include <qevent.h>
30423
 
#include <qstring.h>
30424
 
#include <qstyle.h>
30425
 
EOF
30426
 
 
30427
 
if test $kde_qtsubver -gt 0; then
30428
 
cat >> conftest.$ac_ext <<EOF
30429
 
#if QT_VERSION < 210
30430
 
#error 1
30431
 
#endif
30432
 
EOF
30433
 
fi
30434
 
fi
30435
 
 
30436
 
if test "$kde_qtver" = "3"; then
30437
 
cat >> conftest.$ac_ext <<EOF
30438
 
#include <qcursor.h>
30439
 
#include <qstylefactory.h>
30440
 
#include <private/qucomextra_p.h>
30441
 
EOF
30442
 
fi
30443
 
 
30444
 
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30445
 
cat >> conftest.$ac_ext <<EOF
30446
 
#error 1
30447
 
#endif
30448
 
 
30449
 
int main() {
30450
 
EOF
30451
 
if test "$kde_qtver" = "2"; then
30452
 
cat >> conftest.$ac_ext <<EOF
30453
 
    QStringList *t = new QStringList();
30454
 
    Q_UNUSED(t);
30455
 
EOF
30456
 
if test $kde_qtsubver -gt 0; then
30457
 
cat >> conftest.$ac_ext <<EOF
30458
 
    QString s;
30459
 
    s.setLatin1("Elvis is alive", 14);
30460
 
EOF
30461
 
fi
30462
 
fi
30463
 
if test "$kde_qtver" = "3"; then
30464
 
cat >> conftest.$ac_ext <<EOF
30465
 
    (void)QStyleFactory::create(QString::null);
30466
 
    QCursor c(Qt::WhatsThisCursor);
30467
 
EOF
30468
 
fi
30469
 
cat >> conftest.$ac_ext <<EOF
30470
 
    return 0;
30471
 
}
30472
 
EOF
30473
 
 
30474
 
 
30475
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30476
 
  (eval $ac_link) 2>&5
30477
 
  ac_status=$?
30478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479
 
  (exit $ac_status); } && test -s conftest; then
30480
 
  rm -f conftest*
30481
 
else
30482
 
  echo "configure: failed program was:" >&5
30483
 
  cat conftest.$ac_ext >&5
30484
 
  ac_qt_libraries="NO"
30485
 
fi
30486
 
rm -f conftest*
30487
 
CXXFLAGS="$ac_cxxflags_safe"
30488
 
LDFLAGS="$ac_ldflags_safe"
30489
 
LIBS="$ac_libs_safe"
30490
 
 
30491
 
ac_ext=c
30492
 
ac_cpp='$CPP $CPPFLAGS'
30493
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30494
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30495
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30496
 
 
30497
 
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
30498
 
  ac_cv_have_qt="have_qt=no"
30499
 
  ac_qt_notfound=""
30500
 
  missing_qt_mt=""
30501
 
  if test "$ac_qt_includes" = NO; then
30502
 
    if test "$ac_qt_libraries" = NO; then
30503
 
      ac_qt_notfound="(headers and libraries)";
30504
 
    else
30505
 
      ac_qt_notfound="(headers)";
30506
 
    fi
30507
 
  else
30508
 
    if test "x$kde_use_qt_mt" = "xyes"; then
30509
 
       missing_qt_mt="
30510
 
Make sure that you have compiled Qt with thread support!"
30511
 
       ac_qt_notfound="(library $qtlib-mt)";
30512
 
    else
30513
 
       ac_qt_notfound="(library $qtlib)";
30514
 
    fi
30515
 
  fi
30516
 
 
30517
 
  { { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30518
 
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
30519
 
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30520
 
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
30521
 
   { (exit 1); exit 1; }; }
30522
 
else
30523
 
  have_qt="yes"
30524
 
fi
30525
 
 
30526
 
fi
30527
 
 
30528
 
 
30529
 
eval "$ac_cv_have_qt"
30530
 
 
30531
 
if test "$have_qt" != yes; then
30532
 
  { echo "$as_me:$LINENO: result: $have_qt" >&5
30533
 
echo "${ECHO_T}$have_qt" >&6; };
30534
 
else
30535
 
  ac_cv_have_qt="have_qt=yes \
30536
 
    ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
30537
 
  { echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
30538
 
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6; }
30539
 
 
30540
 
  qt_libraries="$ac_qt_libraries"
30541
 
  qt_includes="$ac_qt_includes"
30542
 
fi
30543
 
 
30544
 
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
30545
 
 
30546
 
 
30547
 
{ echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
30548
 
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6; }
30549
 
if test "${kde_cv_qt_direct+set}" = set; then
30550
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30551
 
else
30552
 
 
30553
 
 
30554
 
 ac_ext=cpp
30555
 
ac_cpp='$CXXCPP $CPPFLAGS'
30556
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30559
 
 
30560
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30561
 
 
30562
 
 
30563
 
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
30564
 
ac_LIBRARY_PATH="$LIBRARY_PATH"
30565
 
ac_cxxflags_safe="$CXXFLAGS"
30566
 
ac_ldflags_safe="$LDFLAGS"
30567
 
ac_libs_safe="$LIBS"
30568
 
 
30569
 
CXXFLAGS="$CXXFLAGS -I$qt_includes"
30570
 
LDFLAGS="$LDFLAGS $X_LDFLAGS"
30571
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30572
 
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
30573
 
else
30574
 
LIBS="$LIBQT $LIBSOCKET"
30575
 
fi
30576
 
LD_LIBRARY_PATH=
30577
 
export LD_LIBRARY_PATH
30578
 
LIBRARY_PATH=
30579
 
export LIBRARY_PATH
30580
 
 
30581
 
 
30582
 
 
30583
 
cat > conftest.$ac_ext <<EOF
30584
 
#include "confdefs.h"
30585
 
#include <qglobal.h>
30586
 
#include <qapplication.h>
30587
 
EOF
30588
 
if test "$kde_qtver" = "2"; then
30589
 
cat >> conftest.$ac_ext <<EOF
30590
 
#include <qevent.h>
30591
 
#include <qstring.h>
30592
 
#include <qstyle.h>
30593
 
EOF
30594
 
 
30595
 
if test $kde_qtsubver -gt 0; then
30596
 
cat >> conftest.$ac_ext <<EOF
30597
 
#if QT_VERSION < 210
30598
 
#error 1
30599
 
#endif
30600
 
EOF
30601
 
fi
30602
 
fi
30603
 
 
30604
 
if test "$kde_qtver" = "3"; then
30605
 
cat >> conftest.$ac_ext <<EOF
30606
 
#include <qcursor.h>
30607
 
#include <qstylefactory.h>
30608
 
#include <private/qucomextra_p.h>
30609
 
EOF
30610
 
fi
30611
 
 
30612
 
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30613
 
cat >> conftest.$ac_ext <<EOF
30614
 
#error 1
30615
 
#endif
30616
 
 
30617
 
int main() {
30618
 
EOF
30619
 
if test "$kde_qtver" = "2"; then
30620
 
cat >> conftest.$ac_ext <<EOF
30621
 
    QStringList *t = new QStringList();
30622
 
    Q_UNUSED(t);
30623
 
EOF
30624
 
if test $kde_qtsubver -gt 0; then
30625
 
cat >> conftest.$ac_ext <<EOF
30626
 
    QString s;
30627
 
    s.setLatin1("Elvis is alive", 14);
30628
 
EOF
30629
 
fi
30630
 
fi
30631
 
if test "$kde_qtver" = "3"; then
30632
 
cat >> conftest.$ac_ext <<EOF
30633
 
    (void)QStyleFactory::create(QString::null);
30634
 
    QCursor c(Qt::WhatsThisCursor);
30635
 
EOF
30636
 
fi
30637
 
cat >> conftest.$ac_ext <<EOF
30638
 
    return 0;
30639
 
}
30640
 
EOF
30641
 
 
30642
 
 
30643
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30644
 
  (eval $ac_link) 2>&5
30645
 
  ac_status=$?
30646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647
 
  (exit $ac_status); } && test -s conftest; then
30648
 
  kde_cv_qt_direct="yes"
30649
 
else
30650
 
  kde_cv_qt_direct="no"
30651
 
  echo "configure: failed program was:" >&5
30652
 
  cat conftest.$ac_ext >&5
30653
 
fi
30654
 
 
30655
 
rm -f conftest*
30656
 
CXXFLAGS="$ac_cxxflags_safe"
30657
 
LDFLAGS="$ac_ldflags_safe"
30658
 
LIBS="$ac_libs_safe"
30659
 
 
30660
 
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
30661
 
export LD_LIBRARY_PATH
30662
 
LIBRARY_PATH="$ac_LIBRARY_PATH"
30663
 
export LIBRARY_PATH
30664
 
ac_ext=c
30665
 
ac_cpp='$CPP $CPPFLAGS'
30666
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30669
 
 
30670
 
 
30671
 
fi
30672
 
 
30673
 
 
30674
 
if test "$kde_cv_qt_direct" = "yes"; then
30675
 
  { echo "$as_me:$LINENO: result: yes" >&5
30676
 
echo "${ECHO_T}yes" >&6; }
30677
 
  qt_libraries=
30678
 
else
30679
 
  { echo "$as_me:$LINENO: result: no" >&5
30680
 
echo "${ECHO_T}no" >&6; }
30681
 
 
30682
 
fi
30683
 
 
30684
 
fi
30685
 
 
30686
 
 
30687
 
 
30688
 
 
30689
 
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
30690
 
 QT_INCLUDES=""
30691
 
else
30692
 
 QT_INCLUDES="-I$qt_includes"
30693
 
 all_includes="$QT_INCLUDES $all_includes"
30694
 
fi
30695
 
 
30696
 
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
30697
 
 QT_LDFLAGS=""
30698
 
else
30699
 
 QT_LDFLAGS="-L$qt_libraries"
30700
 
 all_libraries="$QT_LDFLAGS $all_libraries"
30701
 
fi
30702
 
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
30703
 
 
30704
 
 
30705
 
 
30706
 
 
30707
 
 
30708
 
   qt_bindirs=""
30709
 
   for dir in $kde_qt_dirs; do
30710
 
      qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
30711
 
   done
30712
 
   qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
30713
 
   if test ! "$ac_qt_bindir" = "NO"; then
30714
 
      qt_bindirs="$ac_qt_bindir $qt_bindirs"
30715
 
   fi
30716
 
 
30717
 
 
30718
 
   { echo "$as_me:$LINENO: checking for moc" >&5
30719
 
echo $ECHO_N "checking for moc... $ECHO_C" >&6; }
30720
 
   if test -n "$MOC"; then
30721
 
        kde_cv_path="$MOC";
30722
 
   else
30723
 
        kde_cache=`echo moc | sed 'y%./+-%__p_%'`
30724
 
 
30725
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30727
 
else
30728
 
 
30729
 
        kde_cv_path="NONE"
30730
 
        kde_save_IFS=$IFS
30731
 
        IFS=':'
30732
 
        dirs=""
30733
 
        for dir in $PATH; do
30734
 
          dirs="$dirs $dir"
30735
 
        done
30736
 
        if test -z ""; then       dirs="$qt_bindirs $dirs"
30737
 
        else      dirs="$dirs $qt_bindirs"
30738
 
        fi
30739
 
        IFS=$kde_save_IFS
30740
 
 
30741
 
        for dir in $dirs; do
30742
 
          if test -x "$dir/moc"; then
30743
 
            if test -n ""
30744
 
            then
30745
 
              evalstr="$dir/moc  2>&1 "
30746
 
              if eval $evalstr; then
30747
 
                kde_cv_path="$dir/moc"
30748
 
                break
30749
 
              fi
30750
 
            else
30751
 
                kde_cv_path="$dir/moc"
30752
 
                break
30753
 
            fi
30754
 
          fi
30755
 
        done
30756
 
 
30757
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30758
 
 
30759
 
 
30760
 
fi
30761
 
 
30762
 
 
30763
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30764
 
 
30765
 
   fi
30766
 
 
30767
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30768
 
      { echo "$as_me:$LINENO: result: not found" >&5
30769
 
echo "${ECHO_T}not found" >&6; }
30770
 
 
30771
 
    { { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
30772
 
Please check whether you installed Qt correctly.
30773
 
You need to have a running moc binary.
30774
 
configure tried to run $ac_cv_path_moc and the test didn't
30775
 
succeed. If configure shouldn't have tried this one, set
30776
 
the environment variable MOC to the right one before running
30777
 
configure.
30778
 
" >&5
30779
 
echo "$as_me: error: No Qt meta object compiler (moc) found!
30780
 
Please check whether you installed Qt correctly.
30781
 
You need to have a running moc binary.
30782
 
configure tried to run $ac_cv_path_moc and the test didn't
30783
 
succeed. If configure shouldn't have tried this one, set
30784
 
the environment variable MOC to the right one before running
30785
 
configure.
30786
 
" >&2;}
30787
 
   { (exit 1); exit 1; }; }
30788
 
 
30789
 
   else
30790
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30791
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30792
 
      MOC=$kde_cv_path
30793
 
 
30794
 
   fi
30795
 
 
30796
 
   if test -z "$UIC_NOT_NEEDED"; then
30797
 
 
30798
 
   { echo "$as_me:$LINENO: checking for uic" >&5
30799
 
echo $ECHO_N "checking for uic... $ECHO_C" >&6; }
30800
 
   if test -n "$UIC_PATH"; then
30801
 
        kde_cv_path="$UIC_PATH";
30802
 
   else
30803
 
        kde_cache=`echo uic | sed 'y%./+-%__p_%'`
30804
 
 
30805
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30807
 
else
30808
 
 
30809
 
        kde_cv_path="NONE"
30810
 
        kde_save_IFS=$IFS
30811
 
        IFS=':'
30812
 
        dirs=""
30813
 
        for dir in $PATH; do
30814
 
          dirs="$dirs $dir"
30815
 
        done
30816
 
        if test -z ""; then       dirs="$qt_bindirs $dirs"
30817
 
        else      dirs="$dirs $qt_bindirs"
30818
 
        fi
30819
 
        IFS=$kde_save_IFS
30820
 
 
30821
 
        for dir in $dirs; do
30822
 
          if test -x "$dir/uic"; then
30823
 
            if test -n ""
30824
 
            then
30825
 
              evalstr="$dir/uic  2>&1 "
30826
 
              if eval $evalstr; then
30827
 
                kde_cv_path="$dir/uic"
30828
 
                break
30829
 
              fi
30830
 
            else
30831
 
                kde_cv_path="$dir/uic"
30832
 
                break
30833
 
            fi
30834
 
          fi
30835
 
        done
30836
 
 
30837
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30838
 
 
30839
 
 
30840
 
fi
30841
 
 
30842
 
 
30843
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30844
 
 
30845
 
   fi
30846
 
 
30847
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30848
 
      { echo "$as_me:$LINENO: result: not found" >&5
30849
 
echo "${ECHO_T}not found" >&6; }
30850
 
      UIC_PATH=""
30851
 
   else
30852
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30853
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30854
 
      UIC_PATH=$kde_cv_path
30855
 
 
30856
 
   fi
30857
 
 
30858
 
     if test -z "$UIC_PATH" ; then
30859
 
 
30860
 
    { echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
30861
 
Please check whether you installed Qt correctly.
30862
 
You need to have a running uic binary.
30863
 
configure tried to run $ac_cv_path_uic and the test didn't
30864
 
succeed. If configure shouldn't have tried this one, set
30865
 
the environment variable UIC to the right one before running
30866
 
configure.
30867
 
" >&5
30868
 
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
30869
 
Please check whether you installed Qt correctly.
30870
 
You need to have a running uic binary.
30871
 
configure tried to run $ac_cv_path_uic and the test didn't
30872
 
succeed. If configure shouldn't have tried this one, set
30873
 
the environment variable UIC to the right one before running
30874
 
configure.
30875
 
" >&2;}
30876
 
 
30877
 
       exit 1
30878
 
     else
30879
 
       UIC=$UIC_PATH
30880
 
 
30881
 
       if test $kde_qtver = 3; then
30882
 
 
30883
 
    { echo "$as_me:$LINENO: checking whether uic supports -L " >&5
30884
 
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6; }
30885
 
    kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
30886
 
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30887
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30888
 
else
30889
 
 
30890
 
        cat >conftest.ui <<EOT
30891
 
        <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30892
 
EOT
30893
 
        ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
30894
 
        if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30895
 
  (eval $ac_uic_testrun) 2>&5
30896
 
  ac_status=$?
30897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898
 
  (exit $ac_status); }; then
30899
 
            eval "kde_cv_prog_uic_$kde_cache=yes"
30900
 
        else
30901
 
            eval "kde_cv_prog_uic_$kde_cache=no"
30902
 
        fi
30903
 
        rm -f conftest*
30904
 
 
30905
 
fi
30906
 
 
30907
 
 
30908
 
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30909
 
        { echo "$as_me:$LINENO: result: yes" >&5
30910
 
echo "${ECHO_T}yes" >&6; }
30911
 
        :
30912
 
        ac_uic_supports_libpath=yes
30913
 
    else
30914
 
        { echo "$as_me:$LINENO: result: no" >&5
30915
 
echo "${ECHO_T}no" >&6; }
30916
 
        :
30917
 
        ac_uic_supports_libpath=no
30918
 
    fi
30919
 
 
30920
 
 
30921
 
    { echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
30922
 
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6; }
30923
 
    kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
30924
 
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30925
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30926
 
else
30927
 
 
30928
 
        cat >conftest.ui <<EOT
30929
 
        <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30930
 
EOT
30931
 
        ac_uic_testrun="$UIC_PATH -nounload  conftest.ui >/dev/null"
30932
 
        if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30933
 
  (eval $ac_uic_testrun) 2>&5
30934
 
  ac_status=$?
30935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936
 
  (exit $ac_status); }; then
30937
 
            eval "kde_cv_prog_uic_$kde_cache=yes"
30938
 
        else
30939
 
            eval "kde_cv_prog_uic_$kde_cache=no"
30940
 
        fi
30941
 
        rm -f conftest*
30942
 
 
30943
 
fi
30944
 
 
30945
 
 
30946
 
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30947
 
        { echo "$as_me:$LINENO: result: yes" >&5
30948
 
echo "${ECHO_T}yes" >&6; }
30949
 
        :
30950
 
        ac_uic_supports_nounload=yes
30951
 
    else
30952
 
        { echo "$as_me:$LINENO: result: no" >&5
30953
 
echo "${ECHO_T}no" >&6; }
30954
 
        :
30955
 
        ac_uic_supports_nounload=no
30956
 
    fi
30957
 
 
30958
 
 
30959
 
         if test x$ac_uic_supports_libpath = xyes; then
30960
 
             UIC="$UIC -L \$(kde_widgetdir)"
30961
 
         fi
30962
 
         if test x$ac_uic_supports_nounload = xyes; then
30963
 
             UIC="$UIC -nounload"
30964
 
         fi
30965
 
       fi
30966
 
     fi
30967
 
   else
30968
 
     UIC="echo uic not available: "
30969
 
   fi
30970
 
 
30971
 
 
30972
 
 
30973
 
 
30974
 
   UIC_TR="i18n"
30975
 
   if test $kde_qtver = 3; then
30976
 
     UIC_TR="tr2i18n"
30977
 
   fi
30978
 
 
30979
 
 
30980
 
 
30981
 
 
30982
 
 
30983
 
if test -n "$LIBJPEG"; then
30984
 
{ echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
30985
 
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6; }
30986
 
if test "${kde_cv_qt_jpeg+set}" = set; then
30987
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30988
 
else
30989
 
 
30990
 
 
30991
 
 ac_ext=cpp
30992
 
ac_cpp='$CXXCPP $CPPFLAGS'
30993
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30994
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30995
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30996
 
 
30997
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30998
 
 
30999
 
 
31000
 
ac_save_LIBS="$LIBS"
31001
 
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
31002
 
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
31003
 
ac_save_CXXFLAGS="$CXXFLAGS"
31004
 
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
31005
 
cat >conftest.$ac_ext <<_ACEOF
31006
 
/* confdefs.h.  */
31007
 
_ACEOF
31008
 
cat confdefs.h >>conftest.$ac_ext
31009
 
cat >>conftest.$ac_ext <<_ACEOF
31010
 
/* end confdefs.h.  */
31011
 
#include <qapplication.h>
31012
 
int
31013
 
main ()
31014
 
{
31015
 
 
31016
 
            int argc;
31017
 
            char** argv;
31018
 
            QApplication app(argc, argv);
31019
 
  ;
31020
 
  return 0;
31021
 
}
31022
 
_ACEOF
31023
 
rm -f conftest.$ac_objext conftest$ac_exeext
31024
 
if { (ac_try="$ac_link"
31025
 
case "(($ac_try" in
31026
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31027
 
  *) ac_try_echo=$ac_try;;
31028
 
esac
31029
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31030
 
  (eval "$ac_link") 2>conftest.er1
31031
 
  ac_status=$?
31032
 
  grep -v '^ *+' conftest.er1 >conftest.err
31033
 
  rm -f conftest.er1
31034
 
  cat conftest.err >&5
31035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036
 
  (exit $ac_status); } && {
31037
 
         test -z "$ac_cxx_werror_flag" ||
31038
 
         test ! -s conftest.err
31039
 
       } && test -s conftest$ac_exeext &&
31040
 
       $as_test_x conftest$ac_exeext; then
31041
 
  eval "kde_cv_qt_jpeg=no"
31042
 
else
31043
 
  echo "$as_me: failed program was:" >&5
31044
 
sed 's/^/| /' conftest.$ac_ext >&5
31045
 
 
31046
 
        eval "kde_cv_qt_jpeg=yes"
31047
 
fi
31048
 
 
31049
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31050
 
      conftest$ac_exeext conftest.$ac_ext
31051
 
LIBS="$ac_save_LIBS"
31052
 
CXXFLAGS="$ac_save_CXXFLAGS"
31053
 
ac_ext=c
31054
 
ac_cpp='$CPP $CPPFLAGS'
31055
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31056
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31057
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31058
 
 
31059
 
fi
31060
 
 
31061
 
fi
31062
 
 
31063
 
 
31064
 
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
31065
 
  { echo "$as_me:$LINENO: result: yes" >&5
31066
 
echo "${ECHO_T}yes" >&6; }
31067
 
  LIBJPEG_QT='$(LIBJPEG)'
31068
 
else
31069
 
  { echo "$as_me:$LINENO: result: no" >&5
31070
 
echo "${ECHO_T}no" >&6; }
31071
 
  LIBJPEG_QT=
31072
 
fi
31073
 
 
31074
 
 
31075
 
 
31076
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
31077
 
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
31078
 
else
31079
 
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
31080
 
fi
31081
 
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
31082
 
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
31083
 
  if test -e "$a"; then
31084
 
     LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
31085
 
     break
31086
 
  fi
31087
 
done
31088
 
 
31089
 
 
31090
 
 
31091
 
 
31092
 
 
31093
 
 
31094
 
 
31095
 
 
31096
 
 
31097
 
 
31098
 
 
31099
 
 
31100
 
 
31101
 
{ echo "$as_me:$LINENO: checking for rpath" >&5
31102
 
echo $ECHO_N "checking for rpath... $ECHO_C" >&6; }
31103
 
# Check whether --enable-rpath was given.
31104
 
if test "${enable_rpath+set}" = set; then
31105
 
  enableval=$enable_rpath; USE_RPATH=$enableval
31106
 
else
31107
 
  USE_RPATH=yes
31108
 
fi
31109
 
 
31110
 
 
31111
 
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
31112
 
 
31113
 
  KDE_RPATH="-R \$(libdir)"
31114
 
 
31115
 
  if test "$kde_libraries" != "$libdir"; then
31116
 
      KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
31117
 
  fi
31118
 
 
31119
 
  if test -n "$qt_libraries"; then
31120
 
    KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
31121
 
  fi
31122
 
    if test -n "$X_LDFLAGS"; then
31123
 
    X_RPATH="-R \$(x_libraries)"
31124
 
    KDE_RPATH="$KDE_RPATH $X_RPATH"
31125
 
  fi
31126
 
  if test -n "$KDE_EXTRA_RPATH"; then
31127
 
    KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
31128
 
  fi
31129
 
fi
31130
 
 
31131
 
 
31132
 
 
31133
 
{ echo "$as_me:$LINENO: result: $USE_RPATH" >&5
31134
 
echo "${ECHO_T}$USE_RPATH" >&6; }
31135
 
 
31136
 
{ echo "$as_me:$LINENO: checking for KDE" >&5
31137
 
echo $ECHO_N "checking for KDE... $ECHO_C" >&6; }
31138
 
 
31139
 
if test "${prefix}" != NONE; then
31140
 
  kde_includes=${includedir}
31141
 
 
31142
 
savex=$exec_prefix
31143
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31144
 
tmp=$includedir
31145
 
while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
31146
 
exec_prefix=$savex
31147
 
 
31148
 
 
31149
 
  kde_libraries=${libdir}
31150
 
 
31151
 
savex=$exec_prefix
31152
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31153
 
tmp=$libdir
31154
 
while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
31155
 
exec_prefix=$savex
31156
 
 
31157
 
 
31158
 
else
31159
 
  ac_kde_includes=
31160
 
  ac_kde_libraries=
31161
 
  kde_libraries=""
31162
 
  kde_includes=""
31163
 
fi
31164
 
 
31165
 
if test "${ac_cv_have_kde+set}" = set; then
31166
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31167
 
else
31168
 
  #try to guess kde locations
31169
 
 
31170
 
if test "$kde_qtver" = 1; then
31171
 
  kde_check_header="ksock.h"
31172
 
  kde_check_lib="libkdecore.la"
31173
 
else
31174
 
  kde_check_header="ksharedptr.h"
31175
 
  kde_check_lib="libkio.la"
31176
 
fi
31177
 
 
31178
 
if test -z ""; then
31179
 
 
31180
 
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"
31181
 
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
31182
 
kde_incdirs="$ac_kde_includes $kde_incdirs"
31183
 
 
31184
 
kde_incdir=NO
31185
 
for i in $kde_incdirs;
31186
 
do
31187
 
  for j in $kde_check_header;
31188
 
  do
31189
 
    echo "configure: 31189: $i/$j" >&5
31190
 
    if test -r "$i/$j"; then
31191
 
      echo "taking that" >&5
31192
 
      kde_incdir=$i
31193
 
      break 2
31194
 
    fi
31195
 
  done
31196
 
done
31197
 
 
31198
 
ac_kde_includes="$kde_incdir"
31199
 
 
31200
 
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
31201
 
  { { echo "$as_me:$LINENO: error:
31202
 
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31203
 
So, check this please and use another prefix!" >&5
31204
 
echo "$as_me: error:
31205
 
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31206
 
So, check this please and use another prefix!" >&2;}
31207
 
   { (exit 1); exit 1; }; }
31208
 
fi
31209
 
 
31210
 
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}"
31211
 
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
31212
 
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
31213
 
 
31214
 
kde_libdir=NO
31215
 
for i in $kde_libdirs;
31216
 
do
31217
 
  for j in $kde_check_lib;
31218
 
  do
31219
 
    echo "configure: 31219: $i/$j" >&5
31220
 
    if test -r "$i/$j"; then
31221
 
      echo "taking that" >&5
31222
 
      kde_libdir=$i
31223
 
      break 2
31224
 
    fi
31225
 
  done
31226
 
done
31227
 
 
31228
 
ac_kde_libraries="$kde_libdir"
31229
 
 
31230
 
kde_widgetdir=NO
31231
 
 
31232
 
kde_widgetdir=NO
31233
 
for i in $kde_libdirs;
31234
 
do
31235
 
  for j in "kde3/plugins/designer/kdewidgets.la";
31236
 
  do
31237
 
    echo "configure: 31237: $i/$j" >&5
31238
 
    if test -r "$i/$j"; then
31239
 
      echo "taking that" >&5
31240
 
      kde_widgetdir=$i
31241
 
      break 2
31242
 
    fi
31243
 
  done
31244
 
done
31245
 
 
31246
 
 
31247
 
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
31248
 
{ { echo "$as_me:$LINENO: error:
31249
 
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31250
 
So, check this please and use another prefix!" >&5
31251
 
echo "$as_me: error:
31252
 
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31253
 
So, check this please and use another prefix!" >&2;}
31254
 
   { (exit 1); exit 1; }; }
31255
 
fi
31256
 
 
31257
 
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
31258
 
{ { echo "$as_me:$LINENO: error:
31259
 
I can't find the designer plugins. These are required and should have been installed
31260
 
by kdelibs" >&5
31261
 
echo "$as_me: error:
31262
 
I can't find the designer plugins. These are required and should have been installed
31263
 
by kdelibs" >&2;}
31264
 
   { (exit 1); exit 1; }; }
31265
 
fi
31266
 
 
31267
 
if test -n "$kde_widgetdir"; then
31268
 
    kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
31269
 
fi
31270
 
 
31271
 
 
31272
 
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
31273
 
  ac_cv_have_kde="have_kde=no"
31274
 
else
31275
 
  ac_cv_have_kde="have_kde=yes \
31276
 
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31277
 
fi
31278
 
 
31279
 
else
31280
 
  ac_cv_have_kde="have_kde=no"
31281
 
 
31282
 
fi
31283
 
 
31284
 
fi
31285
 
 
31286
 
eval "$ac_cv_have_kde"
31287
 
 
31288
 
if test "$have_kde" != "yes"; then
31289
 
 if test "${prefix}" = NONE; then
31290
 
  ac_kde_prefix="$ac_default_prefix"
31291
 
 else
31292
 
  ac_kde_prefix="$prefix"
31293
 
 fi
31294
 
 if test "$exec_prefix" = NONE; then
31295
 
  ac_kde_exec_prefix="$ac_kde_prefix"
31296
 
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
31297
 
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6; }
31298
 
 else
31299
 
  ac_kde_exec_prefix="$exec_prefix"
31300
 
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
31301
 
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6; }
31302
 
 fi
31303
 
 
31304
 
 kde_libraries="${libdir}"
31305
 
 kde_includes="${includedir}"
31306
 
 
31307
 
else
31308
 
  ac_cv_have_kde="have_kde=yes \
31309
 
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31310
 
  { echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
31311
 
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6; }
31312
 
 
31313
 
  kde_libraries="$ac_kde_libraries"
31314
 
  kde_includes="$ac_kde_includes"
31315
 
fi
31316
 
 
31317
 
 
31318
 
 
31319
 
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes"  || test "$kde_includes" = "/usr/include"; then
31320
 
 KDE_INCLUDES=""
31321
 
else
31322
 
 KDE_INCLUDES="-I$kde_includes"
31323
 
 all_includes="$KDE_INCLUDES $all_includes"
31324
 
fi
31325
 
 
31326
 
KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
31327
 
 
31328
 
KDE_LDFLAGS="-L$kde_libraries"
31329
 
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
31330
 
 all_libraries="$KDE_LDFLAGS $all_libraries"
31331
 
fi
31332
 
 
31333
 
 
31334
 
 
31335
 
 
31336
 
 
31337
 
 
31338
 
all_libraries="$all_libraries $USER_LDFLAGS"
31339
 
all_includes="$all_includes $USER_INCLUDES"
31340
 
 
31341
 
 
31342
 
 
31343
 
if test -z ""; then
31344
 
 
31345
 
 
31346
 
 
31347
 
if test x$ac_uic_supports_libpath = xyes; then
31348
 
 
31349
 
{ echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
31350
 
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6; }
31351
 
if test "${kde_cv_uic_plugins+set}" = set; then
31352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31353
 
else
31354
 
 
31355
 
cat > actest.ui << EOF
31356
 
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
31357
 
<class>NewConnectionDialog</class>
31358
 
<widget class="QDialog">
31359
 
   <widget class="KLineEdit">
31360
 
        <property name="name">
31361
 
           <cstring>testInput</cstring>
31362
 
        </property>
31363
 
   </widget>
31364
 
</widget>
31365
 
</UI>
31366
 
EOF
31367
 
 
31368
 
 
31369
 
 
31370
 
kde_cv_uic_plugins=no
31371
 
kde_line="$UIC_PATH -L $kde_widgetdir"
31372
 
if test x$ac_uic_supports_nounload = xyes; then
31373
 
   kde_line="$kde_line -nounload"
31374
 
fi
31375
 
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
31376
 
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
31377
 
  (eval $kde_line) 2>&5
31378
 
  ac_status=$?
31379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31380
 
  (exit $ac_status); }; then
31381
 
        # if you're trying to debug this check and think it's incorrect,
31382
 
        # better check your installation. The check _is_ correct - your
31383
 
        # installation is not.
31384
 
        if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
31385
 
                kde_cv_uic_plugins=yes
31386
 
        fi
31387
 
fi
31388
 
rm -f actest.ui actest.cpp
31389
 
 
31390
 
fi
31391
 
 
31392
 
 
31393
 
{ echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
31394
 
echo "${ECHO_T}$kde_cv_uic_plugins" >&6; }
31395
 
if test "$kde_cv_uic_plugins" != yes; then
31396
 
        { { echo "$as_me:$LINENO: error:
31397
 
you need to install kdelibs first.
31398
 
 
31399
 
If you did install kdelibs, then the Qt version that is picked up by
31400
 
this configure is not the same version you used to compile kdelibs.
31401
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31402
 
_same Qt version_, compiled with the _same compiler_ and the same Qt
31403
 
configuration settings.
31404
 
" >&5
31405
 
echo "$as_me: error:
31406
 
you need to install kdelibs first.
31407
 
 
31408
 
If you did install kdelibs, then the Qt version that is picked up by
31409
 
this configure is not the same version you used to compile kdelibs.
31410
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31411
 
_same Qt version_, compiled with the _same compiler_ and the same Qt
31412
 
configuration settings.
31413
 
" >&2;}
31414
 
   { (exit 1); exit 1; }; }
31415
 
fi
31416
 
fi
31417
 
 
31418
 
fi
31419
 
 
31420
 
ac_kde_libraries="$kde_libdir"
31421
 
 
31422
 
 
31423
 
 
31424
 
 
31425
 
 
31426
 
  # Check whether --enable-path-check was given.
31427
 
if test "${enable_path_check+set}" = set; then
31428
 
  enableval=$enable_path_check;
31429
 
  if test "$enableval" = "no";
31430
 
    then ac_use_path_checking="default"
31431
 
    else ac_use_path_checking=""
31432
 
  fi
31433
 
 
31434
 
else
31435
 
 
31436
 
  if test "$kde_qtver" = 1;
31437
 
    then ac_use_path_checking=""
31438
 
    else ac_use_path_checking="default"
31439
 
  fi
31440
 
 
31441
 
 
31442
 
fi
31443
 
 
31444
 
 
31445
 
 
31446
 
 
31447
 
 
31448
 
{ echo "$as_me:$LINENO: checking for KDE paths" >&5
31449
 
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6; }
31450
 
kde_result=""
31451
 
kde_cached_paths=yes
31452
 
if test "${kde_cv_all_paths+set}" = set; then
31453
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31454
 
else
31455
 
 
31456
 
 
31457
 
if test "$ac_use_path_checking" = "default"; then
31458
 
 
31459
 
  if test -z "$kde_htmldir"; then
31460
 
    kde_htmldir='\${datadir}/doc/kde/HTML'
31461
 
  fi
31462
 
  if test -z "$kde_appsdir"; then
31463
 
    kde_appsdir='\${datadir}/applnk'
31464
 
  fi
31465
 
  if test -z "$kde_icondir"; then
31466
 
    kde_icondir='\${datadir}/icons'
31467
 
  fi
31468
 
  if test -z "$kde_sounddir"; then
31469
 
    kde_sounddir='\${datadir}/sounds'
31470
 
  fi
31471
 
  if test -z "$kde_datadir"; then
31472
 
    kde_datadir='\${datadir}/apps'
31473
 
  fi
31474
 
  if test -z "$kde_locale"; then
31475
 
    kde_locale='\${datadir}/locale'
31476
 
  fi
31477
 
  if test -z "$kde_cgidir"; then
31478
 
    kde_cgidir='\${exec_prefix}/cgi-bin'
31479
 
  fi
31480
 
  if test -z "$kde_confdir"; then
31481
 
    kde_confdir='\${datadir}/config'
31482
 
  fi
31483
 
  if test -z "$kde_kcfgdir"; then
31484
 
    kde_kcfgdir='\${datadir}/config.kcfg'
31485
 
  fi
31486
 
  if test -z "$kde_mimedir"; then
31487
 
    kde_mimedir='\${datadir}/mimelnk'
31488
 
  fi
31489
 
  if test -z "$kde_toolbardir"; then
31490
 
    kde_toolbardir='\${datadir}/toolbar'
31491
 
  fi
31492
 
  if test -z "$kde_wallpaperdir"; then
31493
 
    kde_wallpaperdir='\${datadir}/wallpapers'
31494
 
  fi
31495
 
  if test -z "$kde_templatesdir"; then
31496
 
    kde_templatesdir='\${datadir}/templates'
31497
 
  fi
31498
 
  if test -z "$kde_bindir"; then
31499
 
    kde_bindir='\${exec_prefix}/bin'
31500
 
  fi
31501
 
  if test -z "$kde_servicesdir"; then
31502
 
    kde_servicesdir='\${datadir}/services'
31503
 
  fi
31504
 
  if test -z "$kde_servicetypesdir"; then
31505
 
    kde_servicetypesdir='\${datadir}/servicetypes'
31506
 
  fi
31507
 
  if test -z "$kde_moduledir"; then
31508
 
    if test "$kde_qtver" = "2"; then
31509
 
      kde_moduledir='\${libdir}/kde2'
31510
 
    else
31511
 
      kde_moduledir='\${libdir}/kde3'
31512
 
    fi
31513
 
  fi
31514
 
  if test -z "$kde_styledir"; then
31515
 
    kde_styledir='\${libdir}/kde3/plugins/styles'
31516
 
  fi
31517
 
  if test -z "$kde_widgetdir"; then
31518
 
    kde_widgetdir='\${libdir}/kde3/plugins/designer'
31519
 
  fi
31520
 
  if test -z "$xdg_appsdir"; then
31521
 
    xdg_appsdir='\${datadir}/applications/kde'
31522
 
  fi
31523
 
  if test -z "$xdg_menudir"; then
31524
 
    xdg_menudir='\${sysconfdir}/xdg/menus'
31525
 
  fi
31526
 
  if test -z "$xdg_directorydir"; then
31527
 
    xdg_directorydir='\${datadir}/desktop-directories'
31528
 
  fi
31529
 
 
31530
 
 
31531
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31532
 
        kde_htmldir=\"$kde_htmldir\" \
31533
 
        kde_appsdir=\"$kde_appsdir\" \
31534
 
        kde_icondir=\"$kde_icondir\" \
31535
 
        kde_sounddir=\"$kde_sounddir\" \
31536
 
        kde_datadir=\"$kde_datadir\" \
31537
 
        kde_locale=\"$kde_locale\" \
31538
 
        kde_cgidir=\"$kde_cgidir\" \
31539
 
        kde_confdir=\"$kde_confdir\" \
31540
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31541
 
        kde_mimedir=\"$kde_mimedir\" \
31542
 
        kde_toolbardir=\"$kde_toolbardir\" \
31543
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31544
 
        kde_templatesdir=\"$kde_templatesdir\" \
31545
 
        kde_bindir=\"$kde_bindir\" \
31546
 
        kde_servicesdir=\"$kde_servicesdir\" \
31547
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31548
 
        kde_moduledir=\"$kde_moduledir\" \
31549
 
        kde_styledir=\"$kde_styledir\" \
31550
 
        kde_widgetdir=\"$kde_widgetdir\" \
31551
 
        xdg_appsdir=\"$xdg_appsdir\" \
31552
 
        xdg_menudir=\"$xdg_menudir\" \
31553
 
        xdg_directorydir=\"$xdg_directorydir\" \
31554
 
        kde_result=defaults"
31555
 
 
31556
 
 
31557
 
else
31558
 
 
31559
 
  if test $kde_qtver = 1; then
31560
 
     { echo "$as_me:$LINENO: result: compiling" >&5
31561
 
echo "${ECHO_T}compiling" >&6; }
31562
 
 
31563
 
 
31564
 
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31565
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31566
 
 
31567
 
     ac_ext=cpp
31568
 
ac_cpp='$CXXCPP $CPPFLAGS'
31569
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31570
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31571
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31572
 
 
31573
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31574
 
 
31575
 
 
31576
 
cat > conftest.$ac_ext <<EOF
31577
 
#ifdef STDC_HEADERS
31578
 
# include <stdlib.h>
31579
 
#endif
31580
 
#include <stdio.h>
31581
 
#include "confdefs.h"
31582
 
#include <kapp.h>
31583
 
 
31584
 
int main() {
31585
 
    printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31586
 
    printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31587
 
    printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31588
 
    printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31589
 
    printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31590
 
    printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31591
 
    printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31592
 
    printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31593
 
    printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31594
 
    printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31595
 
    printf("kde_wallpaperdir=\\"%s\\"\n",
31596
 
        KApplication::kde_wallpaperdir().data());
31597
 
    printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31598
 
    printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31599
 
    printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31600
 
    printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31601
 
    printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31602
 
    printf("kde_styledir=\\"/tmp/dummy\\"\n");
31603
 
    printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31604
 
    printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31605
 
    printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31606
 
    printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31607
 
    printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31608
 
    return 0;
31609
 
    }
31610
 
EOF
31611
 
 
31612
 
 ac_save_CPPFLAGS=$CPPFLAGS
31613
 
 CPPFLAGS="$all_includes $CPPFLAGS"
31614
 
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31615
 
  (eval $ac_compile) 2>&5
31616
 
  ac_status=$?
31617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31618
 
  (exit $ac_status); }; then
31619
 
   { echo "$as_me:$LINENO: result: yes" >&5
31620
 
echo "${ECHO_T}yes" >&6; }
31621
 
 else
31622
 
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31623
 
Check, if you installed the KDE header files correctly.
31624
 
For more details about this problem, look at the end of config.log." >&5
31625
 
echo "$as_me: error: your system is not able to compile a small KDE application!
31626
 
Check, if you installed the KDE header files correctly.
31627
 
For more details about this problem, look at the end of config.log." >&2;}
31628
 
   { (exit 1); exit 1; }; }
31629
 
  fi
31630
 
  CPPFLAGS=$ac_save_CPPFLAGS
31631
 
 
31632
 
  ac_ext=c
31633
 
ac_cpp='$CPP $CPPFLAGS'
31634
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31635
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31636
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31637
 
 
31638
 
 
31639
 
 
31640
 
  KDE_TEST_RPATH=
31641
 
 
31642
 
  if test -n "$USE_RPATH"; then
31643
 
 
31644
 
     if test -n "$kde_libraries"; then
31645
 
       KDE_TEST_RPATH="-R $kde_libraries"
31646
 
     fi
31647
 
 
31648
 
     if test -n "$qt_libraries"; then
31649
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31650
 
     fi
31651
 
 
31652
 
     if test -n "$x_libraries"; then
31653
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31654
 
     fi
31655
 
 
31656
 
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31657
 
  fi
31658
 
 
31659
 
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31660
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31661
 
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'
31662
 
 
31663
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31664
 
  (eval $ac_link) 2>&5
31665
 
  ac_status=$?
31666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667
 
  (exit $ac_status); } && test -s conftest; then
31668
 
  { echo "$as_me:$LINENO: result: yes" >&5
31669
 
echo "${ECHO_T}yes" >&6; }
31670
 
else
31671
 
  { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31672
 
Check, if your compiler is installed correctly and if you have used the
31673
 
same compiler to compile Qt and kdelibs as you did use now.
31674
 
For more details about this problem, look at the end of config.log." >&5
31675
 
echo "$as_me: error: your system fails at linking a small KDE application!
31676
 
Check, if your compiler is installed correctly and if you have used the
31677
 
same compiler to compile Qt and kdelibs as you did use now.
31678
 
For more details about this problem, look at the end of config.log." >&2;}
31679
 
   { (exit 1); exit 1; }; }
31680
 
fi
31681
 
 
31682
 
if eval `KDEDIR= ./conftest 2>&5`; then
31683
 
  kde_result=done
31684
 
else
31685
 
  kde_result=problems
31686
 
fi
31687
 
 
31688
 
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31689
 
kde_have_all_paths=yes
31690
 
 
31691
 
 
31692
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31693
 
        kde_htmldir=\"$kde_htmldir\" \
31694
 
        kde_appsdir=\"$kde_appsdir\" \
31695
 
        kde_icondir=\"$kde_icondir\" \
31696
 
        kde_sounddir=\"$kde_sounddir\" \
31697
 
        kde_datadir=\"$kde_datadir\" \
31698
 
        kde_locale=\"$kde_locale\" \
31699
 
        kde_cgidir=\"$kde_cgidir\" \
31700
 
        kde_confdir=\"$kde_confdir\" \
31701
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31702
 
        kde_mimedir=\"$kde_mimedir\" \
31703
 
        kde_toolbardir=\"$kde_toolbardir\" \
31704
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31705
 
        kde_templatesdir=\"$kde_templatesdir\" \
31706
 
        kde_bindir=\"$kde_bindir\" \
31707
 
        kde_servicesdir=\"$kde_servicesdir\" \
31708
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31709
 
        kde_moduledir=\"$kde_moduledir\" \
31710
 
        kde_styledir=\"$kde_styledir\" \
31711
 
        kde_widgetdir=\"$kde_widgetdir\" \
31712
 
        xdg_appsdir=\"$xdg_appsdir\" \
31713
 
        xdg_menudir=\"$xdg_menudir\" \
31714
 
        xdg_directorydir=\"$xdg_directorydir\" \
31715
 
        kde_result=$kde_result"
31716
 
 
31717
 
 
31718
 
 
31719
 
  else
31720
 
     { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31721
 
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31722
 
   { (exit 1); exit 1; }; }
31723
 
  fi
31724
 
 
31725
 
fi
31726
 
 
31727
 
  kde_cached_paths=no
31728
 
 
31729
 
fi
31730
 
 
31731
 
eval "$kde_cv_all_paths"
31732
 
 if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
31733
 
   test -z "$kde_icondir" || test -z "$kde_sounddir" ||
31734
 
   test -z "$kde_datadir" || test -z "$kde_locale"  ||
31735
 
   test -z "$kde_cgidir"  || test -z "$kde_confdir" ||
31736
 
   test -z "$kde_kcfgdir" ||
31737
 
   test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
31738
 
   test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
31739
 
   test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
31740
 
   test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
31741
 
   test -z "$kde_styledir" || test -z "kde_widgetdir" ||
31742
 
   test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
31743
 
   test "x$kde_have_all_paths" != "xyes"; then
31744
 
     kde_have_all_paths=no
31745
 
  fi
31746
 
 
31747
 
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
31748
 
  # wrong values were cached, may be, we can set better ones
31749
 
  kde_result=
31750
 
  kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
31751
 
  kde_datadir= kde_locale=  kde_cgidir=  kde_confdir= kde_kcfgdir=
31752
 
  kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
31753
 
  kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
31754
 
  kde_have_all_paths=
31755
 
  kde_styledir=
31756
 
  kde_widgetdir=
31757
 
  xdg_appsdir = xdg_menudir= xdg_directorydir=
31758
 
 
31759
 
if test "$ac_use_path_checking" = "default"; then
31760
 
 
31761
 
  if test -z "$kde_htmldir"; then
31762
 
    kde_htmldir='\${datadir}/doc/kde/HTML'
31763
 
  fi
31764
 
  if test -z "$kde_appsdir"; then
31765
 
    kde_appsdir='\${datadir}/applnk'
31766
 
  fi
31767
 
  if test -z "$kde_icondir"; then
31768
 
    kde_icondir='\${datadir}/icons'
31769
 
  fi
31770
 
  if test -z "$kde_sounddir"; then
31771
 
    kde_sounddir='\${datadir}/sounds'
31772
 
  fi
31773
 
  if test -z "$kde_datadir"; then
31774
 
    kde_datadir='\${datadir}/apps'
31775
 
  fi
31776
 
  if test -z "$kde_locale"; then
31777
 
    kde_locale='\${datadir}/locale'
31778
 
  fi
31779
 
  if test -z "$kde_cgidir"; then
31780
 
    kde_cgidir='\${exec_prefix}/cgi-bin'
31781
 
  fi
31782
 
  if test -z "$kde_confdir"; then
31783
 
    kde_confdir='\${datadir}/config'
31784
 
  fi
31785
 
  if test -z "$kde_kcfgdir"; then
31786
 
    kde_kcfgdir='\${datadir}/config.kcfg'
31787
 
  fi
31788
 
  if test -z "$kde_mimedir"; then
31789
 
    kde_mimedir='\${datadir}/mimelnk'
31790
 
  fi
31791
 
  if test -z "$kde_toolbardir"; then
31792
 
    kde_toolbardir='\${datadir}/toolbar'
31793
 
  fi
31794
 
  if test -z "$kde_wallpaperdir"; then
31795
 
    kde_wallpaperdir='\${datadir}/wallpapers'
31796
 
  fi
31797
 
  if test -z "$kde_templatesdir"; then
31798
 
    kde_templatesdir='\${datadir}/templates'
31799
 
  fi
31800
 
  if test -z "$kde_bindir"; then
31801
 
    kde_bindir='\${exec_prefix}/bin'
31802
 
  fi
31803
 
  if test -z "$kde_servicesdir"; then
31804
 
    kde_servicesdir='\${datadir}/services'
31805
 
  fi
31806
 
  if test -z "$kde_servicetypesdir"; then
31807
 
    kde_servicetypesdir='\${datadir}/servicetypes'
31808
 
  fi
31809
 
  if test -z "$kde_moduledir"; then
31810
 
    if test "$kde_qtver" = "2"; then
31811
 
      kde_moduledir='\${libdir}/kde2'
31812
 
    else
31813
 
      kde_moduledir='\${libdir}/kde3'
31814
 
    fi
31815
 
  fi
31816
 
  if test -z "$kde_styledir"; then
31817
 
    kde_styledir='\${libdir}/kde3/plugins/styles'
31818
 
  fi
31819
 
  if test -z "$kde_widgetdir"; then
31820
 
    kde_widgetdir='\${libdir}/kde3/plugins/designer'
31821
 
  fi
31822
 
  if test -z "$xdg_appsdir"; then
31823
 
    xdg_appsdir='\${datadir}/applications/kde'
31824
 
  fi
31825
 
  if test -z "$xdg_menudir"; then
31826
 
    xdg_menudir='\${sysconfdir}/xdg/menus'
31827
 
  fi
31828
 
  if test -z "$xdg_directorydir"; then
31829
 
    xdg_directorydir='\${datadir}/desktop-directories'
31830
 
  fi
31831
 
 
31832
 
 
31833
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31834
 
        kde_htmldir=\"$kde_htmldir\" \
31835
 
        kde_appsdir=\"$kde_appsdir\" \
31836
 
        kde_icondir=\"$kde_icondir\" \
31837
 
        kde_sounddir=\"$kde_sounddir\" \
31838
 
        kde_datadir=\"$kde_datadir\" \
31839
 
        kde_locale=\"$kde_locale\" \
31840
 
        kde_cgidir=\"$kde_cgidir\" \
31841
 
        kde_confdir=\"$kde_confdir\" \
31842
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31843
 
        kde_mimedir=\"$kde_mimedir\" \
31844
 
        kde_toolbardir=\"$kde_toolbardir\" \
31845
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31846
 
        kde_templatesdir=\"$kde_templatesdir\" \
31847
 
        kde_bindir=\"$kde_bindir\" \
31848
 
        kde_servicesdir=\"$kde_servicesdir\" \
31849
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31850
 
        kde_moduledir=\"$kde_moduledir\" \
31851
 
        kde_styledir=\"$kde_styledir\" \
31852
 
        kde_widgetdir=\"$kde_widgetdir\" \
31853
 
        xdg_appsdir=\"$xdg_appsdir\" \
31854
 
        xdg_menudir=\"$xdg_menudir\" \
31855
 
        xdg_directorydir=\"$xdg_directorydir\" \
31856
 
        kde_result=defaults"
31857
 
 
31858
 
 
31859
 
else
31860
 
 
31861
 
  if test $kde_qtver = 1; then
31862
 
     { echo "$as_me:$LINENO: result: compiling" >&5
31863
 
echo "${ECHO_T}compiling" >&6; }
31864
 
 
31865
 
 
31866
 
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31867
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31868
 
 
31869
 
     ac_ext=cpp
31870
 
ac_cpp='$CXXCPP $CPPFLAGS'
31871
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31872
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31873
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31874
 
 
31875
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31876
 
 
31877
 
 
31878
 
cat > conftest.$ac_ext <<EOF
31879
 
#ifdef STDC_HEADERS
31880
 
# include <stdlib.h>
31881
 
#endif
31882
 
#include <stdio.h>
31883
 
#include "confdefs.h"
31884
 
#include <kapp.h>
31885
 
 
31886
 
int main() {
31887
 
    printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31888
 
    printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31889
 
    printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31890
 
    printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31891
 
    printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31892
 
    printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31893
 
    printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31894
 
    printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31895
 
    printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31896
 
    printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31897
 
    printf("kde_wallpaperdir=\\"%s\\"\n",
31898
 
        KApplication::kde_wallpaperdir().data());
31899
 
    printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31900
 
    printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31901
 
    printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31902
 
    printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31903
 
    printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31904
 
    printf("kde_styledir=\\"/tmp/dummy\\"\n");
31905
 
    printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31906
 
    printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31907
 
    printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31908
 
    printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31909
 
    printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31910
 
    return 0;
31911
 
    }
31912
 
EOF
31913
 
 
31914
 
 ac_save_CPPFLAGS=$CPPFLAGS
31915
 
 CPPFLAGS="$all_includes $CPPFLAGS"
31916
 
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31917
 
  (eval $ac_compile) 2>&5
31918
 
  ac_status=$?
31919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920
 
  (exit $ac_status); }; then
31921
 
   { echo "$as_me:$LINENO: result: yes" >&5
31922
 
echo "${ECHO_T}yes" >&6; }
31923
 
 else
31924
 
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31925
 
Check, if you installed the KDE header files correctly.
31926
 
For more details about this problem, look at the end of config.log." >&5
31927
 
echo "$as_me: error: your system is not able to compile a small KDE application!
31928
 
Check, if you installed the KDE header files correctly.
31929
 
For more details about this problem, look at the end of config.log." >&2;}
31930
 
   { (exit 1); exit 1; }; }
31931
 
  fi
31932
 
  CPPFLAGS=$ac_save_CPPFLAGS
31933
 
 
31934
 
  ac_ext=c
31935
 
ac_cpp='$CPP $CPPFLAGS'
31936
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31937
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31938
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31939
 
 
31940
 
 
31941
 
 
31942
 
  KDE_TEST_RPATH=
31943
 
 
31944
 
  if test -n "$USE_RPATH"; then
31945
 
 
31946
 
     if test -n "$kde_libraries"; then
31947
 
       KDE_TEST_RPATH="-R $kde_libraries"
31948
 
     fi
31949
 
 
31950
 
     if test -n "$qt_libraries"; then
31951
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31952
 
     fi
31953
 
 
31954
 
     if test -n "$x_libraries"; then
31955
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31956
 
     fi
31957
 
 
31958
 
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31959
 
  fi
31960
 
 
31961
 
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31962
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31963
 
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'
31964
 
 
31965
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31966
 
  (eval $ac_link) 2>&5
31967
 
  ac_status=$?
31968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969
 
  (exit $ac_status); } && test -s conftest; then
31970
 
  { echo "$as_me:$LINENO: result: yes" >&5
31971
 
echo "${ECHO_T}yes" >&6; }
31972
 
else
31973
 
  { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31974
 
Check, if your compiler is installed correctly and if you have used the
31975
 
same compiler to compile Qt and kdelibs as you did use now.
31976
 
For more details about this problem, look at the end of config.log." >&5
31977
 
echo "$as_me: error: your system fails at linking a small KDE application!
31978
 
Check, if your compiler is installed correctly and if you have used the
31979
 
same compiler to compile Qt and kdelibs as you did use now.
31980
 
For more details about this problem, look at the end of config.log." >&2;}
31981
 
   { (exit 1); exit 1; }; }
31982
 
fi
31983
 
 
31984
 
if eval `KDEDIR= ./conftest 2>&5`; then
31985
 
  kde_result=done
31986
 
else
31987
 
  kde_result=problems
31988
 
fi
31989
 
 
31990
 
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31991
 
kde_have_all_paths=yes
31992
 
 
31993
 
 
31994
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31995
 
        kde_htmldir=\"$kde_htmldir\" \
31996
 
        kde_appsdir=\"$kde_appsdir\" \
31997
 
        kde_icondir=\"$kde_icondir\" \
31998
 
        kde_sounddir=\"$kde_sounddir\" \
31999
 
        kde_datadir=\"$kde_datadir\" \
32000
 
        kde_locale=\"$kde_locale\" \
32001
 
        kde_cgidir=\"$kde_cgidir\" \
32002
 
        kde_confdir=\"$kde_confdir\" \
32003
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
32004
 
        kde_mimedir=\"$kde_mimedir\" \
32005
 
        kde_toolbardir=\"$kde_toolbardir\" \
32006
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
32007
 
        kde_templatesdir=\"$kde_templatesdir\" \
32008
 
        kde_bindir=\"$kde_bindir\" \
32009
 
        kde_servicesdir=\"$kde_servicesdir\" \
32010
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
32011
 
        kde_moduledir=\"$kde_moduledir\" \
32012
 
        kde_styledir=\"$kde_styledir\" \
32013
 
        kde_widgetdir=\"$kde_widgetdir\" \
32014
 
        xdg_appsdir=\"$xdg_appsdir\" \
32015
 
        xdg_menudir=\"$xdg_menudir\" \
32016
 
        xdg_directorydir=\"$xdg_directorydir\" \
32017
 
        kde_result=$kde_result"
32018
 
 
32019
 
 
32020
 
 
32021
 
  else
32022
 
     { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
32023
 
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
32024
 
   { (exit 1); exit 1; }; }
32025
 
  fi
32026
 
 
32027
 
fi
32028
 
 
32029
 
  eval "$kde_cv_all_paths"
32030
 
   if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
32031
 
   test -z "$kde_icondir" || test -z "$kde_sounddir" ||
32032
 
   test -z "$kde_datadir" || test -z "$kde_locale"  ||
32033
 
   test -z "$kde_cgidir"  || test -z "$kde_confdir" ||
32034
 
   test -z "$kde_kcfgdir" ||
32035
 
   test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
32036
 
   test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
32037
 
   test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
32038
 
   test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
32039
 
   test -z "$kde_styledir" || test -z "kde_widgetdir" ||
32040
 
   test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
32041
 
   test "x$kde_have_all_paths" != "xyes"; then
32042
 
     kde_have_all_paths=no
32043
 
  fi
32044
 
 
32045
 
  kde_result="$kde_result (cache overridden)"
32046
 
fi
32047
 
if test "$kde_have_all_paths" = "no"; then
32048
 
  { { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
32049
 
Since it had compiled and linked before, it must be a strange problem on your system.
32050
 
Look at config.log for details. If you are not able to fix this, look at
32051
 
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32052
 
(If you're using an egcs version on Linux, you may update binutils!)
32053
 
" >&5
32054
 
echo "$as_me: error: configure could not run a little KDE program to test the environment.
32055
 
Since it had compiled and linked before, it must be a strange problem on your system.
32056
 
Look at config.log for details. If you are not able to fix this, look at
32057
 
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32058
 
(If you're using an egcs version on Linux, you may update binutils!)
32059
 
" >&2;}
32060
 
   { (exit 1); exit 1; }; }
32061
 
else
32062
 
  rm -f conftest*
32063
 
  { echo "$as_me:$LINENO: result: $kde_result" >&5
32064
 
echo "${ECHO_T}$kde_result" >&6; }
32065
 
fi
32066
 
 
32067
 
bindir=$kde_bindir
32068
 
 
32069
 
 
32070
 
 
32071
 
# Check whether --with-arts was given.
32072
 
if test "${with_arts+set}" = set; then
32073
 
  withval=$with_arts; build_arts=$withval
32074
 
else
32075
 
  build_arts=yes
32076
 
 
32077
 
fi
32078
 
 
32079
 
 
32080
 
 
32081
 
if test "$build_arts" '!=' "no"; then
32082
 
  include_ARTS_TRUE=
32083
 
  include_ARTS_FALSE='#'
32084
 
else
32085
 
  include_ARTS_TRUE='#'
32086
 
  include_ARTS_FALSE=
32087
 
fi
32088
 
 
32089
 
    if test "$build_arts" = "no"; then
32090
 
 
32091
 
cat >>confdefs.h <<\_ACEOF
32092
 
#define WITHOUT_ARTS 1
32093
 
_ACEOF
32094
 
 
32095
 
    fi
32096
 
 
32097
 
 
32098
 
    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"
32099
 
    test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
32100
 
    if test -n "$KDEDIRS"; then
32101
 
       kde_save_IFS=$IFS
32102
 
       IFS=:
32103
 
       for dir in $KDEDIRS; do
32104
 
            kde_default_bindirs="$dir/bin $kde_default_bindirs "
32105
 
       done
32106
 
       IFS=$kde_save_IFS
32107
 
    fi
32108
 
 
32109
 
        kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
32110
 
 
32111
 
   { echo "$as_me:$LINENO: checking for dcopidl" >&5
32112
 
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6; }
32113
 
   if test -n "$DCOPIDL"; then
32114
 
        kde_cv_path="$DCOPIDL";
32115
 
   else
32116
 
        kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
32117
 
 
32118
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32119
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32120
 
else
32121
 
 
32122
 
        kde_cv_path="NONE"
32123
 
        kde_save_IFS=$IFS
32124
 
        IFS=':'
32125
 
        dirs=""
32126
 
        for dir in $PATH; do
32127
 
          dirs="$dirs $dir"
32128
 
        done
32129
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32130
 
        else      dirs="$dirs $kde_default_bindirs"
32131
 
        fi
32132
 
        IFS=$kde_save_IFS
32133
 
 
32134
 
        for dir in $dirs; do
32135
 
          if test -x "$dir/dcopidl"; then
32136
 
            if test -n ""
32137
 
            then
32138
 
              evalstr="$dir/dcopidl  2>&1 "
32139
 
              if eval $evalstr; then
32140
 
                kde_cv_path="$dir/dcopidl"
32141
 
                break
32142
 
              fi
32143
 
            else
32144
 
                kde_cv_path="$dir/dcopidl"
32145
 
                break
32146
 
            fi
32147
 
          fi
32148
 
        done
32149
 
 
32150
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32151
 
 
32152
 
 
32153
 
fi
32154
 
 
32155
 
 
32156
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32157
 
 
32158
 
   fi
32159
 
 
32160
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32161
 
      { echo "$as_me:$LINENO: result: not found" >&5
32162
 
echo "${ECHO_T}not found" >&6; }
32163
 
 
32164
 
    { { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
32165
 
Please check whether you installed KDE correctly.
32166
 
" >&5
32167
 
echo "$as_me: error: The important program dcopidl was not found!
32168
 
Please check whether you installed KDE correctly.
32169
 
" >&2;}
32170
 
   { (exit 1); exit 1; }; }
32171
 
 
32172
 
   else
32173
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32174
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32175
 
      DCOPIDL=$kde_cv_path
32176
 
 
32177
 
   fi
32178
 
 
32179
 
 
32180
 
   { echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
32181
 
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6; }
32182
 
   if test -n "$DCOPIDL2CPP"; then
32183
 
        kde_cv_path="$DCOPIDL2CPP";
32184
 
   else
32185
 
        kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
32186
 
 
32187
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32188
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32189
 
else
32190
 
 
32191
 
        kde_cv_path="NONE"
32192
 
        kde_save_IFS=$IFS
32193
 
        IFS=':'
32194
 
        dirs=""
32195
 
        for dir in $PATH; do
32196
 
          dirs="$dirs $dir"
32197
 
        done
32198
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32199
 
        else      dirs="$dirs $kde_default_bindirs"
32200
 
        fi
32201
 
        IFS=$kde_save_IFS
32202
 
 
32203
 
        for dir in $dirs; do
32204
 
          if test -x "$dir/dcopidl2cpp"; then
32205
 
            if test -n ""
32206
 
            then
32207
 
              evalstr="$dir/dcopidl2cpp  2>&1 "
32208
 
              if eval $evalstr; then
32209
 
                kde_cv_path="$dir/dcopidl2cpp"
32210
 
                break
32211
 
              fi
32212
 
            else
32213
 
                kde_cv_path="$dir/dcopidl2cpp"
32214
 
                break
32215
 
            fi
32216
 
          fi
32217
 
        done
32218
 
 
32219
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32220
 
 
32221
 
 
32222
 
fi
32223
 
 
32224
 
 
32225
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32226
 
 
32227
 
   fi
32228
 
 
32229
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32230
 
      { echo "$as_me:$LINENO: result: not found" >&5
32231
 
echo "${ECHO_T}not found" >&6; }
32232
 
 
32233
 
    { { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
32234
 
Please check whether you installed KDE correctly.
32235
 
" >&5
32236
 
echo "$as_me: error: The important program dcopidl2cpp was not found!
32237
 
Please check whether you installed KDE correctly.
32238
 
" >&2;}
32239
 
   { (exit 1); exit 1; }; }
32240
 
 
32241
 
   else
32242
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32243
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32244
 
      DCOPIDL2CPP=$kde_cv_path
32245
 
 
32246
 
   fi
32247
 
 
32248
 
        if test "$build_arts" '!=' "no"; then
32249
 
 
32250
 
   { echo "$as_me:$LINENO: checking for mcopidl" >&5
32251
 
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6; }
32252
 
   if test -n "$MCOPIDL"; then
32253
 
        kde_cv_path="$MCOPIDL";
32254
 
   else
32255
 
        kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
32256
 
 
32257
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32258
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32259
 
else
32260
 
 
32261
 
        kde_cv_path="NONE"
32262
 
        kde_save_IFS=$IFS
32263
 
        IFS=':'
32264
 
        dirs=""
32265
 
        for dir in $PATH; do
32266
 
          dirs="$dirs $dir"
32267
 
        done
32268
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32269
 
        else      dirs="$dirs $kde_default_bindirs"
32270
 
        fi
32271
 
        IFS=$kde_save_IFS
32272
 
 
32273
 
        for dir in $dirs; do
32274
 
          if test -x "$dir/mcopidl"; then
32275
 
            if test -n ""
32276
 
            then
32277
 
              evalstr="$dir/mcopidl  2>&1 "
32278
 
              if eval $evalstr; then
32279
 
                kde_cv_path="$dir/mcopidl"
32280
 
                break
32281
 
              fi
32282
 
            else
32283
 
                kde_cv_path="$dir/mcopidl"
32284
 
                break
32285
 
            fi
32286
 
          fi
32287
 
        done
32288
 
 
32289
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32290
 
 
32291
 
 
32292
 
fi
32293
 
 
32294
 
 
32295
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32296
 
 
32297
 
   fi
32298
 
 
32299
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32300
 
      { echo "$as_me:$LINENO: result: not found" >&5
32301
 
echo "${ECHO_T}not found" >&6; }
32302
 
 
32303
 
    { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
32304
 
Please check whether you installed aRts correctly or use
32305
 
--without-arts to compile without aRts support (this will remove functionality).
32306
 
" >&5
32307
 
echo "$as_me: error: The important program mcopidl was not found!
32308
 
Please check whether you installed aRts correctly or use
32309
 
--without-arts to compile without aRts support (this will remove functionality).
32310
 
" >&2;}
32311
 
   { (exit 1); exit 1; }; }
32312
 
 
32313
 
   else
32314
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32315
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32316
 
      MCOPIDL=$kde_cv_path
32317
 
 
32318
 
   fi
32319
 
 
32320
 
 
32321
 
   { echo "$as_me:$LINENO: checking for artsc-config" >&5
32322
 
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6; }
32323
 
   if test -n "$ARTSCCONFIG"; then
32324
 
        kde_cv_path="$ARTSCCONFIG";
32325
 
   else
32326
 
        kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
32327
 
 
32328
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32329
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32330
 
else
32331
 
 
32332
 
        kde_cv_path="NONE"
32333
 
        kde_save_IFS=$IFS
32334
 
        IFS=':'
32335
 
        dirs=""
32336
 
        for dir in $PATH; do
32337
 
          dirs="$dirs $dir"
32338
 
        done
32339
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32340
 
        else      dirs="$dirs $kde_default_bindirs"
32341
 
        fi
32342
 
        IFS=$kde_save_IFS
32343
 
 
32344
 
        for dir in $dirs; do
32345
 
          if test -x "$dir/artsc-config"; then
32346
 
            if test -n ""
32347
 
            then
32348
 
              evalstr="$dir/artsc-config  2>&1 "
32349
 
              if eval $evalstr; then
32350
 
                kde_cv_path="$dir/artsc-config"
32351
 
                break
32352
 
              fi
32353
 
            else
32354
 
                kde_cv_path="$dir/artsc-config"
32355
 
                break
32356
 
            fi
32357
 
          fi
32358
 
        done
32359
 
 
32360
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32361
 
 
32362
 
 
32363
 
fi
32364
 
 
32365
 
 
32366
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32367
 
 
32368
 
   fi
32369
 
 
32370
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32371
 
      { echo "$as_me:$LINENO: result: not found" >&5
32372
 
echo "${ECHO_T}not found" >&6; }
32373
 
 
32374
 
    { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
32375
 
Please check whether you installed aRts correctly or use
32376
 
--without-arts to compile without aRts support (this will remove functionality).
32377
 
" >&5
32378
 
echo "$as_me: error: The important program artsc-config was not found!
32379
 
Please check whether you installed aRts correctly or use
32380
 
--without-arts to compile without aRts support (this will remove functionality).
32381
 
" >&2;}
32382
 
   { (exit 1); exit 1; }; }
32383
 
 
32384
 
   else
32385
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32386
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32387
 
      ARTSCCONFIG=$kde_cv_path
32388
 
 
32389
 
   fi
32390
 
 
32391
 
        fi
32392
 
 
32393
 
   { echo "$as_me:$LINENO: checking for meinproc" >&5
32394
 
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6; }
32395
 
   if test -n "$MEINPROC"; then
32396
 
        kde_cv_path="$MEINPROC";
32397
 
   else
32398
 
        kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
32399
 
 
32400
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32401
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32402
 
else
32403
 
 
32404
 
        kde_cv_path="NONE"
32405
 
        kde_save_IFS=$IFS
32406
 
        IFS=':'
32407
 
        dirs=""
32408
 
        for dir in $PATH; do
32409
 
          dirs="$dirs $dir"
32410
 
        done
32411
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32412
 
        else      dirs="$dirs $kde_default_bindirs"
32413
 
        fi
32414
 
        IFS=$kde_save_IFS
32415
 
 
32416
 
        for dir in $dirs; do
32417
 
          if test -x "$dir/meinproc"; then
32418
 
            if test -n ""
32419
 
            then
32420
 
              evalstr="$dir/meinproc  2>&1 "
32421
 
              if eval $evalstr; then
32422
 
                kde_cv_path="$dir/meinproc"
32423
 
                break
32424
 
              fi
32425
 
            else
32426
 
                kde_cv_path="$dir/meinproc"
32427
 
                break
32428
 
            fi
32429
 
          fi
32430
 
        done
32431
 
 
32432
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32433
 
 
32434
 
 
32435
 
fi
32436
 
 
32437
 
 
32438
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32439
 
 
32440
 
   fi
32441
 
 
32442
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32443
 
      { echo "$as_me:$LINENO: result: not found" >&5
32444
 
echo "${ECHO_T}not found" >&6; }
32445
 
 
32446
 
   else
32447
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32448
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32449
 
      MEINPROC=$kde_cv_path
32450
 
 
32451
 
   fi
32452
 
 
32453
 
 
32454
 
        kde32ornewer=1
32455
 
        kde33ornewer=1
32456
 
        if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
32457
 
            kde32ornewer=
32458
 
            kde33ornewer=
32459
 
        else
32460
 
            if test "$kde_qtver" = "3"; then
32461
 
              if test "$kde_qtsubver" -le 1; then
32462
 
                kde32ornewer=
32463
 
              fi
32464
 
              if test "$kde_qtsubver" -le 2; then
32465
 
                kde33ornewer=
32466
 
              fi
32467
 
              if test "$KDECONFIG" != "compiled"; then
32468
 
                if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
32469
 
                  kde33ornewer=
32470
 
                fi
32471
 
              fi
32472
 
            fi
32473
 
        fi
32474
 
 
32475
 
        if test -n "$kde32ornewer"; then
32476
 
 
32477
 
   { echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
32478
 
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6; }
32479
 
   if test -n "$KCONFIG_COMPILER"; then
32480
 
        kde_cv_path="$KCONFIG_COMPILER";
32481
 
   else
32482
 
        kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
32483
 
 
32484
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32485
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32486
 
else
32487
 
 
32488
 
        kde_cv_path="NONE"
32489
 
        kde_save_IFS=$IFS
32490
 
        IFS=':'
32491
 
        dirs=""
32492
 
        for dir in $PATH; do
32493
 
          dirs="$dirs $dir"
32494
 
        done
32495
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32496
 
        else      dirs="$dirs $kde_default_bindirs"
32497
 
        fi
32498
 
        IFS=$kde_save_IFS
32499
 
 
32500
 
        for dir in $dirs; do
32501
 
          if test -x "$dir/kconfig_compiler"; then
32502
 
            if test -n ""
32503
 
            then
32504
 
              evalstr="$dir/kconfig_compiler  2>&1 "
32505
 
              if eval $evalstr; then
32506
 
                kde_cv_path="$dir/kconfig_compiler"
32507
 
                break
32508
 
              fi
32509
 
            else
32510
 
                kde_cv_path="$dir/kconfig_compiler"
32511
 
                break
32512
 
            fi
32513
 
          fi
32514
 
        done
32515
 
 
32516
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32517
 
 
32518
 
 
32519
 
fi
32520
 
 
32521
 
 
32522
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32523
 
 
32524
 
   fi
32525
 
 
32526
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32527
 
      { echo "$as_me:$LINENO: result: not found" >&5
32528
 
echo "${ECHO_T}not found" >&6; }
32529
 
 
32530
 
    { { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
32531
 
Please check whether you installed KDE correctly.
32532
 
" >&5
32533
 
echo "$as_me: error: The important program kconfig_compiler was not found!
32534
 
Please check whether you installed KDE correctly.
32535
 
" >&2;}
32536
 
   { (exit 1); exit 1; }; }
32537
 
 
32538
 
   else
32539
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32540
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32541
 
      KCONFIG_COMPILER=$kde_cv_path
32542
 
 
32543
 
   fi
32544
 
 
32545
 
 
32546
 
   { echo "$as_me:$LINENO: checking for dcopidlng" >&5
32547
 
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6; }
32548
 
   if test -n "$DCOPIDLNG"; then
32549
 
        kde_cv_path="$DCOPIDLNG";
32550
 
   else
32551
 
        kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
32552
 
 
32553
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32554
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32555
 
else
32556
 
 
32557
 
        kde_cv_path="NONE"
32558
 
        kde_save_IFS=$IFS
32559
 
        IFS=':'
32560
 
        dirs=""
32561
 
        for dir in $PATH; do
32562
 
          dirs="$dirs $dir"
32563
 
        done
32564
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32565
 
        else      dirs="$dirs $kde_default_bindirs"
32566
 
        fi
32567
 
        IFS=$kde_save_IFS
32568
 
 
32569
 
        for dir in $dirs; do
32570
 
          if test -x "$dir/dcopidlng"; then
32571
 
            if test -n ""
32572
 
            then
32573
 
              evalstr="$dir/dcopidlng  2>&1 "
32574
 
              if eval $evalstr; then
32575
 
                kde_cv_path="$dir/dcopidlng"
32576
 
                break
32577
 
              fi
32578
 
            else
32579
 
                kde_cv_path="$dir/dcopidlng"
32580
 
                break
32581
 
            fi
32582
 
          fi
32583
 
        done
32584
 
 
32585
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32586
 
 
32587
 
 
32588
 
fi
32589
 
 
32590
 
 
32591
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32592
 
 
32593
 
   fi
32594
 
 
32595
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32596
 
      { echo "$as_me:$LINENO: result: not found" >&5
32597
 
echo "${ECHO_T}not found" >&6; }
32598
 
 
32599
 
    { { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
32600
 
Please check whether you installed KDE correctly.
32601
 
" >&5
32602
 
echo "$as_me: error: The important program dcopidlng was not found!
32603
 
Please check whether you installed KDE correctly.
32604
 
" >&2;}
32605
 
   { (exit 1); exit 1; }; }
32606
 
 
32607
 
   else
32608
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32609
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32610
 
      DCOPIDLNG=$kde_cv_path
32611
 
 
32612
 
   fi
32613
 
 
32614
 
        fi
32615
 
        if test -n "$kde33ornewer"; then
32616
 
 
32617
 
   { echo "$as_me:$LINENO: checking for makekdewidgets" >&5
32618
 
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6; }
32619
 
   if test -n "$MAKEKDEWIDGETS"; then
32620
 
        kde_cv_path="$MAKEKDEWIDGETS";
32621
 
   else
32622
 
        kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
32623
 
 
32624
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32625
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32626
 
else
32627
 
 
32628
 
        kde_cv_path="NONE"
32629
 
        kde_save_IFS=$IFS
32630
 
        IFS=':'
32631
 
        dirs=""
32632
 
        for dir in $PATH; do
32633
 
          dirs="$dirs $dir"
32634
 
        done
32635
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32636
 
        else      dirs="$dirs $kde_default_bindirs"
32637
 
        fi
32638
 
        IFS=$kde_save_IFS
32639
 
 
32640
 
        for dir in $dirs; do
32641
 
          if test -x "$dir/makekdewidgets"; then
32642
 
            if test -n ""
32643
 
            then
32644
 
              evalstr="$dir/makekdewidgets  2>&1 "
32645
 
              if eval $evalstr; then
32646
 
                kde_cv_path="$dir/makekdewidgets"
32647
 
                break
32648
 
              fi
32649
 
            else
32650
 
                kde_cv_path="$dir/makekdewidgets"
32651
 
                break
32652
 
            fi
32653
 
          fi
32654
 
        done
32655
 
 
32656
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32657
 
 
32658
 
 
32659
 
fi
32660
 
 
32661
 
 
32662
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32663
 
 
32664
 
   fi
32665
 
 
32666
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32667
 
      { echo "$as_me:$LINENO: result: not found" >&5
32668
 
echo "${ECHO_T}not found" >&6; }
32669
 
 
32670
 
    { { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
32671
 
Please check whether you installed KDE correctly.
32672
 
" >&5
32673
 
echo "$as_me: error: The important program makekdewidgets was not found!
32674
 
Please check whether you installed KDE correctly.
32675
 
" >&2;}
32676
 
   { (exit 1); exit 1; }; }
32677
 
 
32678
 
   else
32679
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32680
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32681
 
      MAKEKDEWIDGETS=$kde_cv_path
32682
 
 
32683
 
   fi
32684
 
 
32685
 
 
32686
 
        fi
32687
 
 
32688
 
   { echo "$as_me:$LINENO: checking for xmllint" >&5
32689
 
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6; }
32690
 
   if test -n "$XMLLINT"; then
32691
 
        kde_cv_path="$XMLLINT";
32692
 
   else
32693
 
        kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
32694
 
 
32695
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32696
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32697
 
else
32698
 
 
32699
 
        kde_cv_path="NONE"
32700
 
        kde_save_IFS=$IFS
32701
 
        IFS=':'
32702
 
        dirs=""
32703
 
        for dir in $PATH; do
32704
 
          dirs="$dirs $dir"
32705
 
        done
32706
 
        if test -z ""; then       dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
32707
 
        else      dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
32708
 
        fi
32709
 
        IFS=$kde_save_IFS
32710
 
 
32711
 
        for dir in $dirs; do
32712
 
          if test -x "$dir/xmllint"; then
32713
 
            if test -n ""
32714
 
            then
32715
 
              evalstr="$dir/xmllint  2>&1 "
32716
 
              if eval $evalstr; then
32717
 
                kde_cv_path="$dir/xmllint"
32718
 
                break
32719
 
              fi
32720
 
            else
32721
 
                kde_cv_path="$dir/xmllint"
32722
 
                break
32723
 
            fi
32724
 
          fi
32725
 
        done
32726
 
 
32727
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32728
 
 
32729
 
 
32730
 
fi
32731
 
 
32732
 
 
32733
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32734
 
 
32735
 
   fi
32736
 
 
32737
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32738
 
      { echo "$as_me:$LINENO: result: not found" >&5
32739
 
echo "${ECHO_T}not found" >&6; }
32740
 
      XMLLINT=""
32741
 
   else
32742
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32743
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32744
 
      XMLLINT=$kde_cv_path
32745
 
 
32746
 
   fi
32747
 
 
32748
 
 
32749
 
        if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
32750
 
            kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
32751
 
            test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
32752
 
 
32753
 
KDE_XSL_STYLESHEET=NO
32754
 
for i in $kde_sharedirs;
32755
 
do
32756
 
  for j in apps/ksgmltools2/customization/kde-chunk.xsl;
32757
 
  do
32758
 
    echo "configure: 32758: $i/$j" >&5
32759
 
    if test -r "$i/$j"; then
32760
 
      echo "taking that" >&5
32761
 
      KDE_XSL_STYLESHEET=$i
32762
 
      break 2
32763
 
    fi
32764
 
  done
32765
 
done
32766
 
 
32767
 
            if test "$KDE_XSL_STYLESHEET" = "NO"; then
32768
 
                KDE_XSL_STYLESHEET=""
32769
 
            else
32770
 
                KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
32771
 
            fi
32772
 
        fi
32773
 
 
32774
 
        DCOP_DEPENDENCIES='$(DCOPIDL)'
32775
 
        if test -n "$kde32ornewer"; then
32776
 
            KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
32777
 
            DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
32778
 
 
32779
 
 
32780
 
 
32781
 
        fi
32782
 
 
32783
 
 
32784
 
 
32785
 
 
32786
 
 
32787
 
 
32788
 
 
32789
 
 
32790
 
 
32791
 
 
32792
 
 
32793
 
 
32794
 
 
32795
 
 
32796
 
 
32797
 
 
32798
 
 
32799
 
 
32800
 
 
32801
 
 
32802
 
 
32803
 
 
32804
 
 
32805
 
 
32806
 
 
32807
 
 
32808
 
 
32809
 
 
32810
 
 
32811
 
 
32812
 
 
32813
 
kdeinitdir='$(kde_moduledir)'
32814
 
 
32815
 
 
32816
 
 
32817
 
if test "$kde_qtver" = 1; then
32818
 
  kde_minidir="$kde_icondir/mini"
32819
 
else
32820
 
# for KDE 1 - this breaks KDE2 apps using minidir, but
32821
 
# that's the plan ;-/
32822
 
  kde_minidir="/dev/null"
32823
 
fi
32824
 
 
32825
 
 
32826
 
 
32827
 
 
32828
 
 
32829
 
 
32830
 
if test $kde_qtver = 3; then
32831
 
   case $host in
32832
 
               *cygwin*) lib_kded="-lkdeinit_kded" ;;
32833
 
               *) lib_kded="" ;;
32834
 
       esac
32835
 
   LIB_KDED=$lib_kded
32836
 
 
32837
 
   LIB_KDECORE="-lkdecore"
32838
 
 
32839
 
   LIB_KDEUI="-lkdeui"
32840
 
 
32841
 
   LIB_KIO="-lkio"
32842
 
 
32843
 
   LIB_KJS="-lkjs"
32844
 
 
32845
 
   LIB_SMB="-lsmb"
32846
 
 
32847
 
   LIB_KAB="-lkab"
32848
 
 
32849
 
   LIB_KABC="-lkabc"
32850
 
 
32851
 
   LIB_KHTML="-lkhtml"
32852
 
 
32853
 
   LIB_KSPELL="-lkspell"
32854
 
 
32855
 
   LIB_KPARTS="-lkparts"
32856
 
 
32857
 
   LIB_KDEPRINT="-lkdeprint"
32858
 
 
32859
 
   LIB_KUTILS="-lkutils"
32860
 
 
32861
 
   LIB_KDEPIM="-lkdepim"
32862
 
 
32863
 
   LIB_KIMPROXY="-lkimproxy"
32864
 
 
32865
 
   LIB_KNEWSTUFF="-lknewstuff"
32866
 
 
32867
 
   LIB_KDNSSD="-lkdnssd"
32868
 
 
32869
 
   LIB_KUNITTEST="-lkunittest"
32870
 
 
32871
 
# these are for backward compatibility
32872
 
   LIB_KSYCOCA="-lkio"
32873
 
 
32874
 
   LIB_KFILE="-lkio"
32875
 
 
32876
 
elif test $kde_qtver = 2; then
32877
 
   LIB_KDECORE="-lkdecore"
32878
 
 
32879
 
   LIB_KDEUI="-lkdeui"
32880
 
 
32881
 
   LIB_KIO="-lkio"
32882
 
 
32883
 
   LIB_KSYCOCA="-lksycoca"
32884
 
 
32885
 
   LIB_SMB="-lsmb"
32886
 
 
32887
 
   LIB_KFILE="-lkfile"
32888
 
 
32889
 
   LIB_KAB="-lkab"
32890
 
 
32891
 
   LIB_KHTML="-lkhtml"
32892
 
 
32893
 
   LIB_KSPELL="-lkspell"
32894
 
 
32895
 
   LIB_KPARTS="-lkparts"
32896
 
 
32897
 
   LIB_KDEPRINT="-lkdeprint"
32898
 
 
32899
 
else
32900
 
   LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
32901
 
 
32902
 
   LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
32903
 
 
32904
 
   LIB_KFM="-lkfm $(LIB_KDECORE)"
32905
 
 
32906
 
   LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
32907
 
 
32908
 
   LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
32909
 
 
32910
 
fi
32911
 
 
32912
 
 
32913
 
 
32914
 
#MIN_CONFIG(3.2.0)
32915
 
 
32916
 
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
32917
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
32918
 
if test "${ac_cv_c_bigendian+set}" = set; then
32919
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32920
 
else
32921
 
  # See if sys/param.h defines the BYTE_ORDER macro.
32922
 
cat >conftest.$ac_ext <<_ACEOF
32923
 
/* confdefs.h.  */
32924
 
_ACEOF
32925
 
cat confdefs.h >>conftest.$ac_ext
32926
 
cat >>conftest.$ac_ext <<_ACEOF
32927
 
/* end confdefs.h.  */
32928
 
#include <sys/types.h>
32929
 
#include <sys/param.h>
32930
 
 
32931
 
int
32932
 
main ()
32933
 
{
32934
 
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
32935
 
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
32936
 
 bogus endian macros
32937
 
#endif
32938
 
 
32939
 
  ;
32940
 
  return 0;
32941
 
}
32942
 
_ACEOF
32943
 
rm -f conftest.$ac_objext
32944
 
if { (ac_try="$ac_compile"
32945
 
case "(($ac_try" in
32946
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32947
 
  *) ac_try_echo=$ac_try;;
32948
 
esac
32949
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32950
 
  (eval "$ac_compile") 2>conftest.er1
32951
 
  ac_status=$?
32952
 
  grep -v '^ *+' conftest.er1 >conftest.err
32953
 
  rm -f conftest.er1
32954
 
  cat conftest.err >&5
32955
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956
 
  (exit $ac_status); } && {
32957
 
         test -z "$ac_c_werror_flag" ||
32958
 
         test ! -s conftest.err
32959
 
       } && test -s conftest.$ac_objext; then
32960
 
  # It does; now see whether it defined to BIG_ENDIAN or not.
32961
 
cat >conftest.$ac_ext <<_ACEOF
32962
 
/* confdefs.h.  */
32963
 
_ACEOF
32964
 
cat confdefs.h >>conftest.$ac_ext
32965
 
cat >>conftest.$ac_ext <<_ACEOF
32966
 
/* end confdefs.h.  */
32967
 
#include <sys/types.h>
32968
 
#include <sys/param.h>
32969
 
 
32970
 
int
32971
 
main ()
32972
 
{
32973
 
#if BYTE_ORDER != BIG_ENDIAN
32974
 
 not big endian
32975
 
#endif
32976
 
 
32977
 
  ;
32978
 
  return 0;
32979
 
}
32980
 
_ACEOF
32981
 
rm -f conftest.$ac_objext
32982
 
if { (ac_try="$ac_compile"
32983
 
case "(($ac_try" in
32984
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32985
 
  *) ac_try_echo=$ac_try;;
32986
 
esac
32987
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32988
 
  (eval "$ac_compile") 2>conftest.er1
32989
 
  ac_status=$?
32990
 
  grep -v '^ *+' conftest.er1 >conftest.err
32991
 
  rm -f conftest.er1
32992
 
  cat conftest.err >&5
32993
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994
 
  (exit $ac_status); } && {
32995
 
         test -z "$ac_c_werror_flag" ||
32996
 
         test ! -s conftest.err
32997
 
       } && test -s conftest.$ac_objext; then
32998
 
  ac_cv_c_bigendian=yes
32999
 
else
33000
 
  echo "$as_me: failed program was:" >&5
33001
 
sed 's/^/| /' conftest.$ac_ext >&5
33002
 
 
33003
 
        ac_cv_c_bigendian=no
33004
 
fi
33005
 
 
33006
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33007
 
else
33008
 
  echo "$as_me: failed program was:" >&5
33009
 
sed 's/^/| /' conftest.$ac_ext >&5
33010
 
 
33011
 
        # It does not; compile a test program.
33012
 
if test "$cross_compiling" = yes; then
33013
 
  # try to guess the endianness by grepping values into an object file
33014
 
  ac_cv_c_bigendian=unknown
33015
 
  cat >conftest.$ac_ext <<_ACEOF
33016
 
/* confdefs.h.  */
33017
 
_ACEOF
33018
 
cat confdefs.h >>conftest.$ac_ext
33019
 
cat >>conftest.$ac_ext <<_ACEOF
33020
 
/* end confdefs.h.  */
33021
 
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
33022
 
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
33023
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
33024
 
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
33025
 
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
33026
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
33027
 
int
33028
 
main ()
33029
 
{
33030
 
 _ascii (); _ebcdic ();
33031
 
  ;
33032
 
  return 0;
33033
 
}
33034
 
_ACEOF
33035
 
rm -f conftest.$ac_objext
33036
 
if { (ac_try="$ac_compile"
33037
 
case "(($ac_try" in
33038
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33039
 
  *) ac_try_echo=$ac_try;;
33040
 
esac
33041
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33042
 
  (eval "$ac_compile") 2>conftest.er1
33043
 
  ac_status=$?
33044
 
  grep -v '^ *+' conftest.er1 >conftest.err
33045
 
  rm -f conftest.er1
33046
 
  cat conftest.err >&5
33047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33048
 
  (exit $ac_status); } && {
33049
 
         test -z "$ac_c_werror_flag" ||
33050
 
         test ! -s conftest.err
33051
 
       } && test -s conftest.$ac_objext; then
33052
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
33053
 
  ac_cv_c_bigendian=yes
33054
 
fi
33055
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
33056
 
  if test "$ac_cv_c_bigendian" = unknown; then
33057
 
    ac_cv_c_bigendian=no
33058
 
  else
33059
 
    # finding both strings is unlikely to happen, but who knows?
33060
 
    ac_cv_c_bigendian=unknown
33061
 
  fi
33062
 
fi
33063
 
else
33064
 
  echo "$as_me: failed program was:" >&5
33065
 
sed 's/^/| /' conftest.$ac_ext >&5
33066
 
 
33067
 
 
33068
 
fi
33069
 
 
33070
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33071
 
else
33072
 
  cat >conftest.$ac_ext <<_ACEOF
33073
 
/* confdefs.h.  */
33074
 
_ACEOF
33075
 
cat confdefs.h >>conftest.$ac_ext
33076
 
cat >>conftest.$ac_ext <<_ACEOF
33077
 
/* end confdefs.h.  */
33078
 
$ac_includes_default
33079
 
int
33080
 
main ()
33081
 
{
33082
 
 
33083
 
  /* Are we little or big endian?  From Harbison&Steele.  */
33084
 
  union
33085
 
  {
33086
 
    long int l;
33087
 
    char c[sizeof (long int)];
33088
 
  } u;
33089
 
  u.l = 1;
33090
 
  return u.c[sizeof (long int) - 1] == 1;
33091
 
 
33092
 
  ;
33093
 
  return 0;
33094
 
}
33095
 
_ACEOF
33096
 
rm -f conftest$ac_exeext
33097
 
if { (ac_try="$ac_link"
33098
 
case "(($ac_try" in
33099
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33100
 
  *) ac_try_echo=$ac_try;;
33101
 
esac
33102
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33103
 
  (eval "$ac_link") 2>&5
33104
 
  ac_status=$?
33105
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33106
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33107
 
  { (case "(($ac_try" in
33108
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33109
 
  *) ac_try_echo=$ac_try;;
33110
 
esac
33111
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33112
 
  (eval "$ac_try") 2>&5
33113
 
  ac_status=$?
33114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33115
 
  (exit $ac_status); }; }; then
33116
 
  ac_cv_c_bigendian=no
33117
 
else
33118
 
  echo "$as_me: program exited with status $ac_status" >&5
33119
 
echo "$as_me: failed program was:" >&5
33120
 
sed 's/^/| /' conftest.$ac_ext >&5
33121
 
 
33122
 
( exit $ac_status )
33123
 
ac_cv_c_bigendian=yes
33124
 
fi
33125
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33126
 
fi
33127
 
 
33128
 
 
33129
 
fi
33130
 
 
33131
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33132
 
fi
33133
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
33134
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
33135
 
case $ac_cv_c_bigendian in
33136
 
  yes)
33137
 
 
33138
 
cat >>confdefs.h <<\_ACEOF
33139
 
#define WORDS_BIGENDIAN 1
33140
 
_ACEOF
33141
 
 ;;
33142
 
  no)
33143
 
     ;;
33144
 
  *)
33145
 
    { { echo "$as_me:$LINENO: error: unknown endianness
33146
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
33147
 
echo "$as_me: error: unknown endianness
33148
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
33149
 
   { (exit 1); exit 1; }; } ;;
33150
 
esac
33151
 
 
33152
 
 
33153
 
{ echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
33154
 
echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6; }
33155
 
if test "${ac_cv_maxpathlen+set}" = set; then
33156
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
33157
 
else
33158
 
 
33159
 
cat > conftest.$ac_ext <<EOF
33160
 
#ifdef STDC_HEADERS
33161
 
# include <stdlib.h>
33162
 
#endif
33163
 
#include <stdio.h>
33164
 
#include <sys/param.h>
33165
 
#ifndef MAXPATHLEN
33166
 
#define MAXPATHLEN 1024
33167
 
#endif
33168
 
 
33169
 
KDE_HELLO MAXPATHLEN
33170
 
 
33171
 
EOF
33172
 
 
33173
 
ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
33174
 
 
33175
 
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33176
 
  (eval $ac_try) 2>&5
33177
 
  ac_status=$?
33178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179
 
  (exit $ac_status); } && test -s conftest.out; then
33180
 
    ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
33181
 
else
33182
 
    ac_cv_maxpathlen=1024
33183
 
fi
33184
 
 
33185
 
rm conftest.*
33186
 
 
33187
 
 
33188
 
fi
33189
 
 
33190
 
{ echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
33191
 
echo "${ECHO_T}$ac_cv_maxpathlen" >&6; }
33192
 
 
33193
 
cat >>confdefs.h <<_ACEOF
33194
 
#define KDEMAXPATHLEN $ac_cv_maxpathlen
33195
 
_ACEOF
33196
 
 
33197
 
 
33198
 
 
33199
 
 
33200
 
 
33201
 
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
33202
 
TOPSUBDIRS=""
33203
 
 
33204
 
if test ! -s $srcdir/subdirs; then
33205
 
    files=`cd $srcdir && ls -1`
33206
 
  dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
33207
 
  for i in $dirs; do
33208
 
    echo $i >> $srcdir/subdirs
33209
 
  done
33210
 
fi
33211
 
 
33212
 
ac_topsubdirs=
33213
 
if test -s $srcdir/inst-apps; then
33214
 
  ac_topsubdirs="`cat $srcdir/inst-apps`"
33215
 
elif test -s $srcdir/subdirs; then
33216
 
  ac_topsubdirs="`cat $srcdir/subdirs`"
33217
 
fi
33218
 
 
33219
 
for i in $ac_topsubdirs; do
33220
 
  { echo "$as_me:$LINENO: checking if $i should be compiled" >&5
33221
 
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6; }
33222
 
  if test -d $srcdir/$i; then
33223
 
    install_it="yes"
33224
 
    for j in $DO_NOT_COMPILE; do
33225
 
      if test $i = $j; then
33226
 
        install_it="no"
33227
 
      fi
33228
 
    done
33229
 
  else
33230
 
    install_it="no"
33231
 
  fi
33232
 
  { echo "$as_me:$LINENO: result: $install_it" >&5
33233
 
echo "${ECHO_T}$install_it" >&6; }
33234
 
  vari=`echo $i | sed -e 's,[-+.@],_,g'`
33235
 
  if test $install_it = "yes"; then
33236
 
    TOPSUBDIRS="$TOPSUBDIRS $i"
33237
 
    eval "$vari""_SUBDIR_included=yes"
33238
 
  else
33239
 
    eval "$vari""_SUBDIR_included=no"
33240
 
  fi
33241
 
done
33242
 
 
33243
 
 
33244
 
 
33245
 
ac_config_files="$ac_config_files Makefile"
33246
 
 
33247
 
ac_config_files="$ac_config_files doc/Makefile"
33248
 
 
33249
 
ac_config_files="$ac_config_files doc/cs/Makefile"
33250
 
 
33251
 
ac_config_files="$ac_config_files doc/en/Makefile"
33252
 
 
33253
 
ac_config_files="$ac_config_files pics/Makefile"
33254
 
 
33255
 
ac_config_files="$ac_config_files po/Makefile"
33256
 
 
33257
 
ac_config_files="$ac_config_files specs/Makefile"
33258
 
 
33259
 
ac_config_files="$ac_config_files src/Makefile"
33260
 
 
33261
 
cat >confcache <<\_ACEOF
33262
 
# This file is a shell script that caches the results of configure
33263
 
# tests run on this system so they can be shared between configure
33264
 
# scripts and configure runs, see configure's option --config-cache.
33265
 
# It is not useful on other systems.  If it contains results you don't
33266
 
# want to keep, you may remove or edit it.
33267
 
#
33268
 
# config.status only pays attention to the cache file if you give it
33269
 
# the --recheck option to rerun configure.
33270
 
#
33271
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
33272
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
33273
 
# following values.
33274
 
 
33275
 
_ACEOF
33276
 
 
33277
 
# The following way of writing the cache mishandles newlines in values,
33278
 
# but we know of no workaround that is simple, portable, and efficient.
33279
 
# So, we kill variables containing newlines.
33280
 
# Ultrix sh set writes to stderr and can't be redirected directly,
33281
 
# and sets the high bit in the cache file unless we assign to the vars.
33282
 
(
33283
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33284
 
    eval ac_val=\$$ac_var
33285
 
    case $ac_val in #(
33286
 
    *${as_nl}*)
33287
 
      case $ac_var in #(
33288
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33289
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33290
 
      esac
33291
 
      case $ac_var in #(
33292
 
      _ | IFS | as_nl) ;; #(
33293
 
      *) $as_unset $ac_var ;;
33294
 
      esac ;;
33295
 
    esac
33296
 
  done
33297
 
 
33298
 
  (set) 2>&1 |
33299
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
33300
 
    *${as_nl}ac_space=\ *)
33301
 
      # `set' does not quote correctly, so add quotes (double-quote
33302
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
33303
 
      sed -n \
33304
 
        "s/'/'\\\\''/g;
33305
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33306
 
      ;; #(
33307
 
    *)
33308
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
33309
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33310
 
      ;;
33311
 
    esac |
33312
 
    sort
33313
 
) |
33314
 
  sed '
33315
 
     /^ac_cv_env_/b end
33316
 
     t clear
33317
 
     :clear
33318
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33319
 
     t end
33320
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33321
 
     :end' >>confcache
33322
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33323
 
  if test -w "$cache_file"; then
33324
 
    test "x$cache_file" != "x/dev/null" &&
33325
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33326
 
echo "$as_me: updating cache $cache_file" >&6;}
33327
 
    cat confcache >$cache_file
33328
 
  else
33329
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33330
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33331
 
  fi
33332
 
fi
33333
 
rm -f confcache
33334
 
 
33335
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
33336
 
# Let make expand exec_prefix.
33337
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33338
 
 
33339
 
DEFS=-DHAVE_CONFIG_H
33340
 
 
33341
 
ac_libobjs=
33342
 
ac_ltlibobjs=
33343
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33344
 
  # 1. Remove the extension, and $U if already installed.
33345
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33346
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
33347
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
33348
 
  #    will be set to the directory where LIBOBJS objects are built.
33349
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33350
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33351
 
done
33352
 
LIBOBJS=$ac_libobjs
33353
 
 
33354
 
LTLIBOBJS=$ac_ltlibobjs
33355
 
 
33356
 
 
33357
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33358
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33359
 
Usually this means the macro was only invoked conditionally." >&5
33360
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
33361
 
Usually this means the macro was only invoked conditionally." >&2;}
33362
 
   { (exit 1); exit 1; }; }
33363
 
fi
33364
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33365
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33366
 
Usually this means the macro was only invoked conditionally." >&5
33367
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33368
 
Usually this means the macro was only invoked conditionally." >&2;}
33369
 
   { (exit 1); exit 1; }; }
33370
 
fi
33371
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33372
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33373
 
Usually this means the macro was only invoked conditionally." >&5
33374
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33375
 
Usually this means the macro was only invoked conditionally." >&2;}
33376
 
   { (exit 1); exit 1; }; }
33377
 
fi
33378
 
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
33379
 
  { { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
33380
 
Usually this means the macro was only invoked conditionally." >&5
33381
 
echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
33382
 
Usually this means the macro was only invoked conditionally." >&2;}
33383
 
   { (exit 1); exit 1; }; }
33384
 
fi
33385
 
if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
33386
 
  { { echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
33387
 
Usually this means the macro was only invoked conditionally." >&5
33388
 
echo "$as_me: error: conditional \"include_x11\" was never defined.
33389
 
Usually this means the macro was only invoked conditionally." >&2;}
33390
 
   { (exit 1); exit 1; }; }
33391
 
fi
33392
 
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
33393
 
  { { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
33394
 
Usually this means the macro was only invoked conditionally." >&5
33395
 
echo "$as_me: error: conditional \"include_ARTS\" was never defined.
33396
 
Usually this means the macro was only invoked conditionally." >&2;}
33397
 
   { (exit 1); exit 1; }; }
33398
 
fi
33399
 
 
33400
 
: ${CONFIG_STATUS=./config.status}
33401
 
ac_clean_files_save=$ac_clean_files
33402
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33403
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33404
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
33405
 
cat >$CONFIG_STATUS <<_ACEOF
33406
 
#! $SHELL
33407
 
# Generated by $as_me.
33408
 
# Run this file to recreate the current configuration.
33409
 
# Compiler output produced by configure, useful for debugging
33410
 
# configure, is in config.log if it exists.
33411
 
 
33412
 
debug=false
33413
 
ac_cs_recheck=false
33414
 
ac_cs_silent=false
33415
 
SHELL=\${CONFIG_SHELL-$SHELL}
33416
 
_ACEOF
33417
 
 
33418
 
cat >>$CONFIG_STATUS <<\_ACEOF
33419
 
## --------------------- ##
33420
 
## M4sh Initialization.  ##
33421
 
## --------------------- ##
33422
 
 
33423
 
# Be more Bourne compatible
33424
 
DUALCASE=1; export DUALCASE # for MKS sh
33425
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33426
 
  emulate sh
33427
 
  NULLCMD=:
33428
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33429
 
  # is contrary to our usage.  Disable this feature.
33430
 
  alias -g '${1+"$@"}'='"$@"'
33431
 
  setopt NO_GLOB_SUBST
33432
 
else
33433
 
  case `(set -o) 2>/dev/null` in
33434
 
  *posix*) set -o posix ;;
33435
 
esac
33436
 
 
33437
 
fi
33438
 
 
33439
 
 
33440
 
 
33441
 
 
33442
 
# PATH needs CR
33443
 
# Avoid depending upon Character Ranges.
33444
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33445
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33446
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33447
 
as_cr_digits='0123456789'
33448
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
33449
 
 
33450
 
# The user is always right.
33451
 
if test "${PATH_SEPARATOR+set}" != set; then
33452
 
  echo "#! /bin/sh" >conf$$.sh
33453
 
  echo  "exit 0"   >>conf$$.sh
33454
 
  chmod +x conf$$.sh
33455
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33456
 
    PATH_SEPARATOR=';'
33457
 
  else
33458
 
    PATH_SEPARATOR=:
33459
 
  fi
33460
 
  rm -f conf$$.sh
33461
 
fi
33462
 
 
33463
 
# Support unset when possible.
33464
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33465
 
  as_unset=unset
33466
 
else
33467
 
  as_unset=false
33468
 
fi
33469
 
 
33470
 
 
33471
 
# IFS
33472
 
# We need space, tab and new line, in precisely that order.  Quoting is
33473
 
# there to prevent editors from complaining about space-tab.
33474
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33475
 
# splitting by setting IFS to empty value.)
33476
 
as_nl='
33477
 
'
33478
 
IFS=" ""        $as_nl"
33479
 
 
33480
 
# Find who we are.  Look in the path if we contain no directory separator.
33481
 
case $0 in
33482
 
  *[\\/]* ) as_myself=$0 ;;
33483
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33484
 
for as_dir in $PATH
33485
 
do
33486
 
  IFS=$as_save_IFS
33487
 
  test -z "$as_dir" && as_dir=.
33488
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33489
 
done
33490
 
IFS=$as_save_IFS
33491
 
 
33492
 
     ;;
33493
 
esac
33494
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
33495
 
# in which case we are not to be found in the path.
33496
 
if test "x$as_myself" = x; then
33497
 
  as_myself=$0
33498
 
fi
33499
 
if test ! -f "$as_myself"; then
33500
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33501
 
  { (exit 1); exit 1; }
33502
 
fi
33503
 
 
33504
 
# Work around bugs in pre-3.0 UWIN ksh.
33505
 
for as_var in ENV MAIL MAILPATH
33506
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33507
 
done
33508
 
PS1='$ '
33509
 
PS2='> '
33510
 
PS4='+ '
33511
 
 
33512
 
# NLS nuisances.
33513
 
for as_var in \
33514
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33515
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33516
 
  LC_TELEPHONE LC_TIME
33517
 
do
33518
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33519
 
    eval $as_var=C; export $as_var
33520
 
  else
33521
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33522
 
  fi
33523
 
done
33524
 
 
33525
 
# Required to use basename.
33526
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
33527
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
33528
 
  as_expr=expr
33529
 
else
33530
 
  as_expr=false
33531
 
fi
33532
 
 
33533
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33534
 
  as_basename=basename
33535
 
else
33536
 
  as_basename=false
33537
 
fi
33538
 
 
33539
 
 
33540
 
# Name of the executable.
33541
 
as_me=`$as_basename -- "$0" ||
33542
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33543
 
         X"$0" : 'X\(//\)$' \| \
33544
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33545
 
echo X/"$0" |
33546
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
33547
 
            s//\1/
33548
 
            q
33549
 
          }
33550
 
          /^X\/\(\/\/\)$/{
33551
 
            s//\1/
33552
 
            q
33553
 
          }
33554
 
          /^X\/\(\/\).*/{
33555
 
            s//\1/
33556
 
            q
33557
 
          }
33558
 
          s/.*/./; q'`
33559
 
 
33560
 
# CDPATH.
33561
 
$as_unset CDPATH
33562
 
 
33563
 
 
33564
 
 
33565
 
  as_lineno_1=$LINENO
33566
 
  as_lineno_2=$LINENO
33567
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
33568
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33569
 
 
33570
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33571
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
33572
 
  # line-number line after each line using $LINENO; the second 'sed'
33573
 
  # does the real work.  The second script uses 'N' to pair each
33574
 
  # line-number line with the line containing $LINENO, and appends
33575
 
  # trailing '-' during substitution so that $LINENO is not a special
33576
 
  # case at line end.
33577
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33578
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
33579
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
33580
 
  sed -n '
33581
 
    p
33582
 
    /[$]LINENO/=
33583
 
  ' <$as_myself |
33584
 
    sed '
33585
 
      s/[$]LINENO.*/&-/
33586
 
      t lineno
33587
 
      b
33588
 
      :lineno
33589
 
      N
33590
 
      :loop
33591
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33592
 
      t loop
33593
 
      s/-\n.*//
33594
 
    ' >$as_me.lineno &&
33595
 
  chmod +x "$as_me.lineno" ||
33596
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33597
 
   { (exit 1); exit 1; }; }
33598
 
 
33599
 
  # Don't try to exec as it changes $[0], causing all sort of problems
33600
 
  # (the dirname of $[0] is not the place where we might find the
33601
 
  # original and so on.  Autoconf is especially sensitive to this).
33602
 
  . "./$as_me.lineno"
33603
 
  # Exit status is that of the last command.
33604
 
  exit
33605
 
}
33606
 
 
33607
 
 
33608
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33609
 
  as_dirname=dirname
33610
 
else
33611
 
  as_dirname=false
33612
 
fi
33613
 
 
33614
 
ECHO_C= ECHO_N= ECHO_T=
33615
 
case `echo -n x` in
33616
 
-n*)
33617
 
  case `echo 'x\c'` in
33618
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
33619
 
  *)   ECHO_C='\c';;
33620
 
  esac;;
33621
 
*)
33622
 
  ECHO_N='-n';;
33623
 
esac
33624
 
 
33625
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
33626
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
33627
 
  as_expr=expr
33628
 
else
33629
 
  as_expr=false
33630
 
fi
33631
 
 
33632
 
rm -f conf$$ conf$$.exe conf$$.file
33633
 
if test -d conf$$.dir; then
33634
 
  rm -f conf$$.dir/conf$$.file
33635
 
else
33636
 
  rm -f conf$$.dir
33637
 
  mkdir conf$$.dir
33638
 
fi
33639
 
echo >conf$$.file
33640
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
33641
 
  as_ln_s='ln -s'
33642
 
  # ... but there are two gotchas:
33643
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33644
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33645
 
  # In both cases, we have to default to `cp -p'.
33646
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33647
 
    as_ln_s='cp -p'
33648
 
elif ln conf$$.file conf$$ 2>/dev/null; then
33649
 
  as_ln_s=ln
33650
 
else
33651
 
  as_ln_s='cp -p'
33652
 
fi
33653
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33654
 
rmdir conf$$.dir 2>/dev/null
33655
 
 
33656
 
if mkdir -p . 2>/dev/null; then
33657
 
  as_mkdir_p=:
33658
 
else
33659
 
  test -d ./-p && rmdir ./-p
33660
 
  as_mkdir_p=false
33661
 
fi
33662
 
 
33663
 
if test -x / >/dev/null 2>&1; then
33664
 
  as_test_x='test -x'
33665
 
else
33666
 
  if ls -dL / >/dev/null 2>&1; then
33667
 
    as_ls_L_option=L
33668
 
  else
33669
 
    as_ls_L_option=
33670
 
  fi
33671
 
  as_test_x='
33672
 
    eval sh -c '\''
33673
 
      if test -d "$1"; then
33674
 
        test -d "$1/.";
33675
 
      else
33676
 
        case $1 in
33677
 
        -*)set "./$1";;
33678
 
        esac;
33679
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33680
 
        ???[sx]*):;;*)false;;esac;fi
33681
 
    '\'' sh
33682
 
  '
33683
 
fi
33684
 
as_executable_p=$as_test_x
33685
 
 
33686
 
# Sed expression to map a string onto a valid CPP name.
33687
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33688
 
 
33689
 
# Sed expression to map a string onto a valid variable name.
33690
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33691
 
 
33692
 
 
33693
 
exec 6>&1
33694
 
 
33695
 
# Save the log message, to keep $[0] and so on meaningful, and to
33696
 
# report actual input values of CONFIG_FILES etc. instead of their
33697
 
# values after options handling.
33698
 
ac_log="
33699
 
This file was extended by $as_me, which was
33700
 
generated by GNU Autoconf 2.61.  Invocation command line was
33701
 
 
33702
 
  CONFIG_FILES    = $CONFIG_FILES
33703
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
33704
 
  CONFIG_LINKS    = $CONFIG_LINKS
33705
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
33706
 
  $ $0 $@
33707
 
 
33708
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
33709
 
"
33710
 
 
33711
 
_ACEOF
33712
 
 
33713
 
cat >>$CONFIG_STATUS <<_ACEOF
33714
 
# Files that config.status was made for.
33715
 
config_files="$ac_config_files"
33716
 
config_headers="$ac_config_headers"
33717
 
config_commands="$ac_config_commands"
33718
 
 
33719
 
_ACEOF
33720
 
 
33721
 
cat >>$CONFIG_STATUS <<\_ACEOF
33722
 
ac_cs_usage="\
33723
 
\`$as_me' instantiates files from templates according to the
33724
 
current configuration.
33725
 
 
33726
 
Usage: $0 [OPTIONS] [FILE]...
33727
 
 
33728
 
  -h, --help       print this help, then exit
33729
 
  -V, --version    print version number and configuration settings, then exit
33730
 
  -q, --quiet      do not print progress messages
33731
 
  -d, --debug      don't remove temporary files
33732
 
      --recheck    update $as_me by reconfiguring in the same conditions
33733
 
  --file=FILE[:TEMPLATE]
33734
 
                   instantiate the configuration file FILE
33735
 
  --header=FILE[:TEMPLATE]
33736
 
                   instantiate the configuration header FILE
33737
 
 
33738
 
Configuration files:
33739
 
$config_files
33740
 
 
33741
 
Configuration headers:
33742
 
$config_headers
33743
 
 
33744
 
Configuration commands:
33745
 
$config_commands
33746
 
 
33747
 
Report bugs to <bug-autoconf@gnu.org>."
33748
 
 
33749
 
_ACEOF
33750
 
cat >>$CONFIG_STATUS <<_ACEOF
33751
 
ac_cs_version="\\
33752
 
config.status
33753
 
configured by $0, generated by GNU Autoconf 2.61,
33754
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
33755
 
 
33756
 
Copyright (C) 2006 Free Software Foundation, Inc.
33757
 
This config.status script is free software; the Free Software Foundation
33758
 
gives unlimited permission to copy, distribute and modify it."
33759
 
 
33760
 
ac_pwd='$ac_pwd'
33761
 
srcdir='$srcdir'
33762
 
INSTALL='$INSTALL'
33763
 
_ACEOF
33764
 
 
33765
 
cat >>$CONFIG_STATUS <<\_ACEOF
33766
 
# If no file are specified by the user, then we need to provide default
33767
 
# value.  By we need to know if files were specified by the user.
33768
 
ac_need_defaults=:
33769
 
while test $# != 0
33770
 
do
33771
 
  case $1 in
33772
 
  --*=*)
33773
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
33774
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33775
 
    ac_shift=:
33776
 
    ;;
33777
 
  *)
33778
 
    ac_option=$1
33779
 
    ac_optarg=$2
33780
 
    ac_shift=shift
33781
 
    ;;
33782
 
  esac
33783
 
 
33784
 
  case $ac_option in
33785
 
  # Handling of the options.
33786
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33787
 
    ac_cs_recheck=: ;;
33788
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33789
 
    echo "$ac_cs_version"; exit ;;
33790
 
  --debug | --debu | --deb | --de | --d | -d )
33791
 
    debug=: ;;
33792
 
  --file | --fil | --fi | --f )
33793
 
    $ac_shift
33794
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33795
 
    ac_need_defaults=false;;
33796
 
  --header | --heade | --head | --hea )
33797
 
    $ac_shift
33798
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33799
 
    ac_need_defaults=false;;
33800
 
  --he | --h)
33801
 
    # Conflict between --help and --header
33802
 
    { echo "$as_me: error: ambiguous option: $1
33803
 
Try \`$0 --help' for more information." >&2
33804
 
   { (exit 1); exit 1; }; };;
33805
 
  --help | --hel | -h )
33806
 
    echo "$ac_cs_usage"; exit ;;
33807
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33808
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
33809
 
    ac_cs_silent=: ;;
33810
 
 
33811
 
  # This is an error.
33812
 
  -*) { echo "$as_me: error: unrecognized option: $1
33813
 
Try \`$0 --help' for more information." >&2
33814
 
   { (exit 1); exit 1; }; } ;;
33815
 
 
33816
 
  *) ac_config_targets="$ac_config_targets $1"
33817
 
     ac_need_defaults=false ;;
33818
 
 
33819
 
  esac
33820
 
  shift
33821
 
done
33822
 
 
33823
 
ac_configure_extra_args=
33824
 
 
33825
 
if $ac_cs_silent; then
33826
 
  exec 6>/dev/null
33827
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
33828
 
fi
33829
 
 
33830
 
_ACEOF
33831
 
cat >>$CONFIG_STATUS <<_ACEOF
33832
 
if \$ac_cs_recheck; then
33833
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33834
 
  CONFIG_SHELL=$SHELL
33835
 
  export CONFIG_SHELL
33836
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33837
 
fi
33838
 
 
33839
 
_ACEOF
33840
 
cat >>$CONFIG_STATUS <<\_ACEOF
33841
 
exec 5>>config.log
33842
 
{
33843
 
  echo
33844
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33845
 
## Running $as_me. ##
33846
 
_ASBOX
33847
 
  echo "$ac_log"
33848
 
} >&5
33849
 
 
33850
 
_ACEOF
33851
 
cat >>$CONFIG_STATUS <<_ACEOF
33852
 
#
33853
 
# INIT-COMMANDS
33854
 
#
33855
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33856
 
 
33857
 
_ACEOF
33858
 
 
33859
 
cat >>$CONFIG_STATUS <<\_ACEOF
33860
 
 
33861
 
# Handling of arguments.
33862
 
for ac_config_target in $ac_config_targets
33863
 
do
33864
 
  case $ac_config_target in
33865
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33866
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33867
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33868
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33869
 
    "doc/cs/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cs/Makefile" ;;
33870
 
    "doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
33871
 
    "pics/Makefile") CONFIG_FILES="$CONFIG_FILES pics/Makefile" ;;
33872
 
    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
33873
 
    "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
33874
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
33875
 
 
33876
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33877
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33878
 
   { (exit 1); exit 1; }; };;
33879
 
  esac
33880
 
done
33881
 
 
33882
 
 
33883
 
# If the user did not use the arguments to specify the items to instantiate,
33884
 
# then the envvar interface is used.  Set only those that are not.
33885
 
# We use the long form for the default assignment because of an extremely
33886
 
# bizarre bug on SunOS 4.1.3.
33887
 
if $ac_need_defaults; then
33888
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33889
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33890
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33891
 
fi
33892
 
 
33893
 
# Have a temporary directory for convenience.  Make it in the build tree
33894
 
# simply because there is no reason against having it here, and in addition,
33895
 
# creating and moving files from /tmp can sometimes cause problems.
33896
 
# Hook for its removal unless debugging.
33897
 
# Note that there is a small window in which the directory will not be cleaned:
33898
 
# after its creation but before its name has been assigned to `$tmp'.
33899
 
$debug ||
33900
 
{
33901
 
  tmp=
33902
 
  trap 'exit_status=$?
33903
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
33904
 
' 0
33905
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
33906
 
}
33907
 
# Create a (secure) tmp directory for tmp files.
33908
 
 
33909
 
{
33910
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33911
 
  test -n "$tmp" && test -d "$tmp"
33912
 
}  ||
33913
 
{
33914
 
  tmp=./conf$$-$RANDOM
33915
 
  (umask 077 && mkdir "$tmp")
33916
 
} ||
33917
 
{
33918
 
   echo "$me: cannot create a temporary directory in ." >&2
33919
 
   { (exit 1); exit 1; }
33920
 
}
33921
 
 
33922
 
#
33923
 
# Set up the sed scripts for CONFIG_FILES section.
33924
 
#
33925
 
 
33926
 
# No need to generate the scripts if there are no CONFIG_FILES.
33927
 
# This happens for instance when ./config.status config.h
33928
 
if test -n "$CONFIG_FILES"; then
33929
 
 
33930
 
_ACEOF
33931
 
 
33932
 
 
33933
 
 
33934
 
ac_delim='%!_!# '
33935
 
for ac_last_try in false false false false false :; do
33936
 
  cat >conf$$subs.sed <<_ACEOF
33937
 
SHELL!$SHELL$ac_delim
33938
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
33939
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
33940
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
33941
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
33942
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
33943
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
33944
 
exec_prefix!$exec_prefix$ac_delim
33945
 
prefix!$prefix$ac_delim
33946
 
program_transform_name!$program_transform_name$ac_delim
33947
 
bindir!$bindir$ac_delim
33948
 
sbindir!$sbindir$ac_delim
33949
 
libexecdir!$libexecdir$ac_delim
33950
 
datarootdir!$datarootdir$ac_delim
33951
 
datadir!$datadir$ac_delim
33952
 
sysconfdir!$sysconfdir$ac_delim
33953
 
sharedstatedir!$sharedstatedir$ac_delim
33954
 
localstatedir!$localstatedir$ac_delim
33955
 
includedir!$includedir$ac_delim
33956
 
oldincludedir!$oldincludedir$ac_delim
33957
 
docdir!$docdir$ac_delim
33958
 
infodir!$infodir$ac_delim
33959
 
htmldir!$htmldir$ac_delim
33960
 
dvidir!$dvidir$ac_delim
33961
 
pdfdir!$pdfdir$ac_delim
33962
 
psdir!$psdir$ac_delim
33963
 
libdir!$libdir$ac_delim
33964
 
localedir!$localedir$ac_delim
33965
 
mandir!$mandir$ac_delim
33966
 
DEFS!$DEFS$ac_delim
33967
 
ECHO_C!$ECHO_C$ac_delim
33968
 
ECHO_N!$ECHO_N$ac_delim
33969
 
ECHO_T!$ECHO_T$ac_delim
33970
 
LIBS!$LIBS$ac_delim
33971
 
build_alias!$build_alias$ac_delim
33972
 
host_alias!$host_alias$ac_delim
33973
 
target_alias!$target_alias$ac_delim
33974
 
build!$build$ac_delim
33975
 
build_cpu!$build_cpu$ac_delim
33976
 
build_vendor!$build_vendor$ac_delim
33977
 
build_os!$build_os$ac_delim
33978
 
host!$host$ac_delim
33979
 
host_cpu!$host_cpu$ac_delim
33980
 
host_vendor!$host_vendor$ac_delim
33981
 
host_os!$host_os$ac_delim
33982
 
target!$target$ac_delim
33983
 
target_cpu!$target_cpu$ac_delim
33984
 
target_vendor!$target_vendor$ac_delim
33985
 
target_os!$target_os$ac_delim
33986
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
33987
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
33988
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
33989
 
CYGPATH_W!$CYGPATH_W$ac_delim
33990
 
PACKAGE!$PACKAGE$ac_delim
33991
 
VERSION!$VERSION$ac_delim
33992
 
ACLOCAL!$ACLOCAL$ac_delim
33993
 
AUTOCONF!$AUTOCONF$ac_delim
33994
 
AUTOMAKE!$AUTOMAKE$ac_delim
33995
 
AUTOHEADER!$AUTOHEADER$ac_delim
33996
 
MAKEINFO!$MAKEINFO$ac_delim
33997
 
install_sh!$install_sh$ac_delim
33998
 
STRIP!$STRIP$ac_delim
33999
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
34000
 
mkdir_p!$mkdir_p$ac_delim
34001
 
AWK!$AWK$ac_delim
34002
 
SET_MAKE!$SET_MAKE$ac_delim
34003
 
am__leading_dot!$am__leading_dot$ac_delim
34004
 
AMTAR!$AMTAR$ac_delim
34005
 
am__tar!$am__tar$ac_delim
34006
 
am__untar!$am__untar$ac_delim
34007
 
KDECONFIG!$KDECONFIG$ac_delim
34008
 
kde_libs_prefix!$kde_libs_prefix$ac_delim
34009
 
kde_libs_htmldir!$kde_libs_htmldir$ac_delim
34010
 
CONF_FILES!$CONF_FILES$ac_delim
34011
 
CC!$CC$ac_delim
34012
 
CFLAGS!$CFLAGS$ac_delim
34013
 
LDFLAGS!$LDFLAGS$ac_delim
34014
 
CPPFLAGS!$CPPFLAGS$ac_delim
34015
 
ac_ct_CC!$ac_ct_CC$ac_delim
34016
 
EXEEXT!$EXEEXT$ac_delim
34017
 
OBJEXT!$OBJEXT$ac_delim
34018
 
DEPDIR!$DEPDIR$ac_delim
34019
 
am__include!$am__include$ac_delim
34020
 
am__quote!$am__quote$ac_delim
34021
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
34022
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
34023
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
34024
 
CCDEPMODE!$CCDEPMODE$ac_delim
34025
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
34026
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
34027
 
CPP!$CPP$ac_delim
34028
 
CXX!$CXX$ac_delim
34029
 
CXXFLAGS!$CXXFLAGS$ac_delim
34030
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
34031
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
34032
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
34033
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
34034
 
_ACEOF
34035
 
 
34036
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34037
 
    break
34038
 
  elif $ac_last_try; then
34039
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34040
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34041
 
   { (exit 1); exit 1; }; }
34042
 
  else
34043
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34044
 
  fi
34045
 
done
34046
 
 
34047
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34048
 
if test -n "$ac_eof"; then
34049
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34050
 
  ac_eof=`expr $ac_eof + 1`
34051
 
fi
34052
 
 
34053
 
cat >>$CONFIG_STATUS <<_ACEOF
34054
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34055
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34056
 
_ACEOF
34057
 
sed '
34058
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34059
 
s/^/s,@/; s/!/@,|#_!!_#|/
34060
 
:n
34061
 
t n
34062
 
s/'"$ac_delim"'$/,g/; t
34063
 
s/$/\\/; p
34064
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34065
 
' >>$CONFIG_STATUS <conf$$subs.sed
34066
 
rm -f conf$$subs.sed
34067
 
cat >>$CONFIG_STATUS <<_ACEOF
34068
 
CEOF$ac_eof
34069
 
_ACEOF
34070
 
 
34071
 
 
34072
 
ac_delim='%!_!# '
34073
 
for ac_last_try in false false false false false :; do
34074
 
  cat >conf$$subs.sed <<_ACEOF
34075
 
WOVERLOADED_VIRTUAL!$WOVERLOADED_VIRTUAL$ac_delim
34076
 
HAVE_GCC_VISIBILITY!$HAVE_GCC_VISIBILITY$ac_delim
34077
 
unsermake_enable_pch_TRUE!$unsermake_enable_pch_TRUE$ac_delim
34078
 
unsermake_enable_pch_FALSE!$unsermake_enable_pch_FALSE$ac_delim
34079
 
USE_EXCEPTIONS!$USE_EXCEPTIONS$ac_delim
34080
 
USE_RTTI!$USE_RTTI$ac_delim
34081
 
CXXCPP!$CXXCPP$ac_delim
34082
 
NOOPT_CXXFLAGS!$NOOPT_CXXFLAGS$ac_delim
34083
 
NOOPT_CFLAGS!$NOOPT_CFLAGS$ac_delim
34084
 
ENABLE_PERMISSIVE_FLAG!$ENABLE_PERMISSIVE_FLAG$ac_delim
34085
 
LDFLAGS_AS_NEEDED!$LDFLAGS_AS_NEEDED$ac_delim
34086
 
LDFLAGS_NEW_DTAGS!$LDFLAGS_NEW_DTAGS$ac_delim
34087
 
KDE_USE_FINAL_TRUE!$KDE_USE_FINAL_TRUE$ac_delim
34088
 
KDE_USE_FINAL_FALSE!$KDE_USE_FINAL_FALSE$ac_delim
34089
 
KDE_USE_CLOSURE_TRUE!$KDE_USE_CLOSURE_TRUE$ac_delim
34090
 
KDE_USE_CLOSURE_FALSE!$KDE_USE_CLOSURE_FALSE$ac_delim
34091
 
KDE_NO_UNDEFINED!$KDE_NO_UNDEFINED$ac_delim
34092
 
KDE_USE_NMCHECK_TRUE!$KDE_USE_NMCHECK_TRUE$ac_delim
34093
 
KDE_USE_NMCHECK_FALSE!$KDE_USE_NMCHECK_FALSE$ac_delim
34094
 
GREP!$GREP$ac_delim
34095
 
EGREP!$EGREP$ac_delim
34096
 
LN_S!$LN_S$ac_delim
34097
 
ECHO!$ECHO$ac_delim
34098
 
AR!$AR$ac_delim
34099
 
RANLIB!$RANLIB$ac_delim
34100
 
F77!$F77$ac_delim
34101
 
FFLAGS!$FFLAGS$ac_delim
34102
 
ac_ct_F77!$ac_ct_F77$ac_delim
34103
 
LIBTOOL!$LIBTOOL$ac_delim
34104
 
KDE_PLUGIN!$KDE_PLUGIN$ac_delim
34105
 
KDE_CHECK_PLUGIN!$KDE_CHECK_PLUGIN$ac_delim
34106
 
MSGFMT!$MSGFMT$ac_delim
34107
 
GMSGFMT!$GMSGFMT$ac_delim
34108
 
XGETTEXT!$XGETTEXT$ac_delim
34109
 
LIBUTIL!$LIBUTIL$ac_delim
34110
 
LIBCOMPAT!$LIBCOMPAT$ac_delim
34111
 
LIBCRYPT!$LIBCRYPT$ac_delim
34112
 
LIBRESOLV!$LIBRESOLV$ac_delim
34113
 
LIB_POLL!$LIB_POLL$ac_delim
34114
 
FRAMEWORK_COREAUDIO!$FRAMEWORK_COREAUDIO$ac_delim
34115
 
LIBSOCKET!$LIBSOCKET$ac_delim
34116
 
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
34117
 
LIBUCB!$LIBUCB$ac_delim
34118
 
LIBDL!$LIBDL$ac_delim
34119
 
KDE_USE_FPIE!$KDE_USE_FPIE$ac_delim
34120
 
KDE_USE_PIE!$KDE_USE_PIE$ac_delim
34121
 
include_x11_TRUE!$include_x11_TRUE$ac_delim
34122
 
include_x11_FALSE!$include_x11_FALSE$ac_delim
34123
 
XMKMF!$XMKMF$ac_delim
34124
 
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
34125
 
LIB_X11!$LIB_X11$ac_delim
34126
 
LIB_XRENDER!$LIB_XRENDER$ac_delim
34127
 
LIBSM!$LIBSM$ac_delim
34128
 
X_INCLUDES!$X_INCLUDES$ac_delim
34129
 
X_LDFLAGS!$X_LDFLAGS$ac_delim
34130
 
x_includes!$x_includes$ac_delim
34131
 
x_libraries!$x_libraries$ac_delim
34132
 
QTE_NORTTI!$QTE_NORTTI$ac_delim
34133
 
LIB_XEXT!$LIB_XEXT$ac_delim
34134
 
LIBPTHREAD!$LIBPTHREAD$ac_delim
34135
 
USE_THREADS!$USE_THREADS$ac_delim
34136
 
KDE_MT_LDFLAGS!$KDE_MT_LDFLAGS$ac_delim
34137
 
KDE_MT_LIBS!$KDE_MT_LIBS$ac_delim
34138
 
USER_INCLUDES!$USER_INCLUDES$ac_delim
34139
 
USER_LDFLAGS!$USER_LDFLAGS$ac_delim
34140
 
LIBZ!$LIBZ$ac_delim
34141
 
LIBPNG!$LIBPNG$ac_delim
34142
 
LIBJPEG!$LIBJPEG$ac_delim
34143
 
qt_libraries!$qt_libraries$ac_delim
34144
 
qt_includes!$qt_includes$ac_delim
34145
 
QT_INCLUDES!$QT_INCLUDES$ac_delim
34146
 
QT_LDFLAGS!$QT_LDFLAGS$ac_delim
34147
 
PERL!$PERL$ac_delim
34148
 
MOC!$MOC$ac_delim
34149
 
UIC!$UIC$ac_delim
34150
 
UIC_TR!$UIC_TR$ac_delim
34151
 
LIB_QT!$LIB_QT$ac_delim
34152
 
LIB_QPE!$LIB_QPE$ac_delim
34153
 
kde_qtver!$kde_qtver$ac_delim
34154
 
KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
34155
 
KDE_RPATH!$KDE_RPATH$ac_delim
34156
 
X_RPATH!$X_RPATH$ac_delim
34157
 
kde_libraries!$kde_libraries$ac_delim
34158
 
kde_includes!$kde_includes$ac_delim
34159
 
KDE_LDFLAGS!$KDE_LDFLAGS$ac_delim
34160
 
KDE_INCLUDES!$KDE_INCLUDES$ac_delim
34161
 
all_includes!$all_includes$ac_delim
34162
 
all_libraries!$all_libraries$ac_delim
34163
 
AUTODIRS!$AUTODIRS$ac_delim
34164
 
include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
34165
 
include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
34166
 
MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
34167
 
KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
34168
 
KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
34169
 
DCOPIDLNG!$DCOPIDLNG$ac_delim
34170
 
DCOPIDL!$DCOPIDL$ac_delim
34171
 
DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
34172
 
_ACEOF
34173
 
 
34174
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34175
 
    break
34176
 
  elif $ac_last_try; then
34177
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34178
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34179
 
   { (exit 1); exit 1; }; }
34180
 
  else
34181
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34182
 
  fi
34183
 
done
34184
 
 
34185
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34186
 
if test -n "$ac_eof"; then
34187
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34188
 
  ac_eof=`expr $ac_eof + 1`
34189
 
fi
34190
 
 
34191
 
cat >>$CONFIG_STATUS <<_ACEOF
34192
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34193
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34194
 
_ACEOF
34195
 
sed '
34196
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34197
 
s/^/s,@/; s/!/@,|#_!!_#|/
34198
 
:n
34199
 
t n
34200
 
s/'"$ac_delim"'$/,g/; t
34201
 
s/$/\\/; p
34202
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34203
 
' >>$CONFIG_STATUS <conf$$subs.sed
34204
 
rm -f conf$$subs.sed
34205
 
cat >>$CONFIG_STATUS <<_ACEOF
34206
 
CEOF$ac_eof
34207
 
_ACEOF
34208
 
 
34209
 
 
34210
 
ac_delim='%!_!# '
34211
 
for ac_last_try in false false false false false :; do
34212
 
  cat >conf$$subs.sed <<_ACEOF
34213
 
DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
34214
 
MCOPIDL!$MCOPIDL$ac_delim
34215
 
ARTSCCONFIG!$ARTSCCONFIG$ac_delim
34216
 
MEINPROC!$MEINPROC$ac_delim
34217
 
KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
34218
 
XMLLINT!$XMLLINT$ac_delim
34219
 
kde_htmldir!$kde_htmldir$ac_delim
34220
 
kde_appsdir!$kde_appsdir$ac_delim
34221
 
kde_icondir!$kde_icondir$ac_delim
34222
 
kde_sounddir!$kde_sounddir$ac_delim
34223
 
kde_datadir!$kde_datadir$ac_delim
34224
 
kde_locale!$kde_locale$ac_delim
34225
 
kde_confdir!$kde_confdir$ac_delim
34226
 
kde_kcfgdir!$kde_kcfgdir$ac_delim
34227
 
kde_mimedir!$kde_mimedir$ac_delim
34228
 
kde_wallpaperdir!$kde_wallpaperdir$ac_delim
34229
 
kde_bindir!$kde_bindir$ac_delim
34230
 
xdg_appsdir!$xdg_appsdir$ac_delim
34231
 
xdg_menudir!$xdg_menudir$ac_delim
34232
 
xdg_directorydir!$xdg_directorydir$ac_delim
34233
 
kde_templatesdir!$kde_templatesdir$ac_delim
34234
 
kde_servicesdir!$kde_servicesdir$ac_delim
34235
 
kde_servicetypesdir!$kde_servicetypesdir$ac_delim
34236
 
kde_moduledir!$kde_moduledir$ac_delim
34237
 
kdeinitdir!$kdeinitdir$ac_delim
34238
 
kde_styledir!$kde_styledir$ac_delim
34239
 
kde_widgetdir!$kde_widgetdir$ac_delim
34240
 
LIB_KDED!$LIB_KDED$ac_delim
34241
 
LIB_KDECORE!$LIB_KDECORE$ac_delim
34242
 
LIB_KDEUI!$LIB_KDEUI$ac_delim
34243
 
LIB_KIO!$LIB_KIO$ac_delim
34244
 
LIB_KJS!$LIB_KJS$ac_delim
34245
 
LIB_SMB!$LIB_SMB$ac_delim
34246
 
LIB_KAB!$LIB_KAB$ac_delim
34247
 
LIB_KABC!$LIB_KABC$ac_delim
34248
 
LIB_KHTML!$LIB_KHTML$ac_delim
34249
 
LIB_KSPELL!$LIB_KSPELL$ac_delim
34250
 
LIB_KPARTS!$LIB_KPARTS$ac_delim
34251
 
LIB_KDEPRINT!$LIB_KDEPRINT$ac_delim
34252
 
LIB_KUTILS!$LIB_KUTILS$ac_delim
34253
 
LIB_KDEPIM!$LIB_KDEPIM$ac_delim
34254
 
LIB_KIMPROXY!$LIB_KIMPROXY$ac_delim
34255
 
LIB_KNEWSTUFF!$LIB_KNEWSTUFF$ac_delim
34256
 
LIB_KDNSSD!$LIB_KDNSSD$ac_delim
34257
 
LIB_KUNITTEST!$LIB_KUNITTEST$ac_delim
34258
 
LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim
34259
 
LIB_KFILE!$LIB_KFILE$ac_delim
34260
 
LIB_KFM!$LIB_KFM$ac_delim
34261
 
TOPSUBDIRS!$TOPSUBDIRS$ac_delim
34262
 
LIBOBJS!$LIBOBJS$ac_delim
34263
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
34264
 
_ACEOF
34265
 
 
34266
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
34267
 
    break
34268
 
  elif $ac_last_try; then
34269
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34270
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34271
 
   { (exit 1); exit 1; }; }
34272
 
  else
34273
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34274
 
  fi
34275
 
done
34276
 
 
34277
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34278
 
if test -n "$ac_eof"; then
34279
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34280
 
  ac_eof=`expr $ac_eof + 1`
34281
 
fi
34282
 
 
34283
 
cat >>$CONFIG_STATUS <<_ACEOF
34284
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
34285
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34286
 
_ACEOF
34287
 
sed '
34288
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34289
 
s/^/s,@/; s/!/@,|#_!!_#|/
34290
 
:n
34291
 
t n
34292
 
s/'"$ac_delim"'$/,g/; t
34293
 
s/$/\\/; p
34294
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34295
 
' >>$CONFIG_STATUS <conf$$subs.sed
34296
 
rm -f conf$$subs.sed
34297
 
cat >>$CONFIG_STATUS <<_ACEOF
34298
 
:end
34299
 
s/|#_!!_#|//g
34300
 
CEOF$ac_eof
34301
 
_ACEOF
34302
 
 
34303
 
 
34304
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
34305
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34306
 
# trailing colons and then remove the whole line if VPATH becomes empty
34307
 
# (actually we leave an empty line to preserve line numbers).
34308
 
if test "x$srcdir" = x.; then
34309
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
34310
 
s/:*\$(srcdir):*/:/
34311
 
s/:*\${srcdir}:*/:/
34312
 
s/:*@srcdir@:*/:/
34313
 
s/^\([^=]*=[     ]*\):*/\1/
34314
 
s/:*$//
34315
 
s/^[^=]*=[       ]*$//
34316
 
}'
34317
 
fi
34318
 
 
34319
 
cat >>$CONFIG_STATUS <<\_ACEOF
34320
 
fi # test -n "$CONFIG_FILES"
34321
 
 
34322
 
 
34323
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
34324
 
do
34325
 
  case $ac_tag in
34326
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
34327
 
  esac
34328
 
  case $ac_mode$ac_tag in
34329
 
  :[FHL]*:*);;
34330
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34331
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34332
 
   { (exit 1); exit 1; }; };;
34333
 
  :[FH]-) ac_tag=-:-;;
34334
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34335
 
  esac
34336
 
  ac_save_IFS=$IFS
34337
 
  IFS=:
34338
 
  set x $ac_tag
34339
 
  IFS=$ac_save_IFS
34340
 
  shift
34341
 
  ac_file=$1
34342
 
  shift
34343
 
 
34344
 
  case $ac_mode in
34345
 
  :L) ac_source=$1;;
34346
 
  :[FH])
34347
 
    ac_file_inputs=
34348
 
    for ac_f
34349
 
    do
34350
 
      case $ac_f in
34351
 
      -) ac_f="$tmp/stdin";;
34352
 
      *) # Look for the file first in the build tree, then in the source tree
34353
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
34354
 
         # because $ac_f cannot contain `:'.
34355
 
         test -f "$ac_f" ||
34356
 
           case $ac_f in
34357
 
           [\\/$]*) false;;
34358
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34359
 
           esac ||
34360
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34361
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34362
 
   { (exit 1); exit 1; }; };;
34363
 
      esac
34364
 
      ac_file_inputs="$ac_file_inputs $ac_f"
34365
 
    done
34366
 
 
34367
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
34368
 
    # use $as_me), people would be surprised to read:
34369
 
    #    /* config.h.  Generated by config.status.  */
34370
 
    configure_input="Generated from "`IFS=:
34371
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34372
 
    if test x"$ac_file" != x-; then
34373
 
      configure_input="$ac_file.  $configure_input"
34374
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
34375
 
echo "$as_me: creating $ac_file" >&6;}
34376
 
    fi
34377
 
 
34378
 
    case $ac_tag in
34379
 
    *:-:* | *:-) cat >"$tmp/stdin";;
34380
 
    esac
34381
 
    ;;
34382
 
  esac
34383
 
 
34384
 
  ac_dir=`$as_dirname -- "$ac_file" ||
34385
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34386
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
34387
 
         X"$ac_file" : 'X\(//\)$' \| \
34388
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34389
 
echo X"$ac_file" |
34390
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34391
 
            s//\1/
34392
 
            q
34393
 
          }
34394
 
          /^X\(\/\/\)[^/].*/{
34395
 
            s//\1/
34396
 
            q
34397
 
          }
34398
 
          /^X\(\/\/\)$/{
34399
 
            s//\1/
34400
 
            q
34401
 
          }
34402
 
          /^X\(\/\).*/{
34403
 
            s//\1/
34404
 
            q
34405
 
          }
34406
 
          s/.*/./; q'`
34407
 
  { as_dir="$ac_dir"
34408
 
  case $as_dir in #(
34409
 
  -*) as_dir=./$as_dir;;
34410
 
  esac
34411
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34412
 
    as_dirs=
34413
 
    while :; do
34414
 
      case $as_dir in #(
34415
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34416
 
      *) as_qdir=$as_dir;;
34417
 
      esac
34418
 
      as_dirs="'$as_qdir' $as_dirs"
34419
 
      as_dir=`$as_dirname -- "$as_dir" ||
34420
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34421
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
34422
 
         X"$as_dir" : 'X\(//\)$' \| \
34423
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34424
 
echo X"$as_dir" |
34425
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34426
 
            s//\1/
34427
 
            q
34428
 
          }
34429
 
          /^X\(\/\/\)[^/].*/{
34430
 
            s//\1/
34431
 
            q
34432
 
          }
34433
 
          /^X\(\/\/\)$/{
34434
 
            s//\1/
34435
 
            q
34436
 
          }
34437
 
          /^X\(\/\).*/{
34438
 
            s//\1/
34439
 
            q
34440
 
          }
34441
 
          s/.*/./; q'`
34442
 
      test -d "$as_dir" && break
34443
 
    done
34444
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
34445
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34446
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34447
 
   { (exit 1); exit 1; }; }; }
34448
 
  ac_builddir=.
34449
 
 
34450
 
case "$ac_dir" in
34451
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34452
 
*)
34453
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34454
 
  # A ".." for each directory in $ac_dir_suffix.
34455
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34456
 
  case $ac_top_builddir_sub in
34457
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34458
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34459
 
  esac ;;
34460
 
esac
34461
 
ac_abs_top_builddir=$ac_pwd
34462
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
34463
 
# for backward compatibility:
34464
 
ac_top_builddir=$ac_top_build_prefix
34465
 
 
34466
 
case $srcdir in
34467
 
  .)  # We are building in place.
34468
 
    ac_srcdir=.
34469
 
    ac_top_srcdir=$ac_top_builddir_sub
34470
 
    ac_abs_top_srcdir=$ac_pwd ;;
34471
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
34472
 
    ac_srcdir=$srcdir$ac_dir_suffix;
34473
 
    ac_top_srcdir=$srcdir
34474
 
    ac_abs_top_srcdir=$srcdir ;;
34475
 
  *) # Relative name.
34476
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34477
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
34478
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34479
 
esac
34480
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34481
 
 
34482
 
 
34483
 
  case $ac_mode in
34484
 
  :F)
34485
 
  #
34486
 
  # CONFIG_FILE
34487
 
  #
34488
 
 
34489
 
  case $INSTALL in
34490
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34491
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34492
 
  esac
34493
 
_ACEOF
34494
 
 
34495
 
cat >>$CONFIG_STATUS <<\_ACEOF
34496
 
# If the template does not know about datarootdir, expand it.
34497
 
# FIXME: This hack should be removed a few years after 2.60.
34498
 
ac_datarootdir_hack=; ac_datarootdir_seen=
34499
 
 
34500
 
case `sed -n '/datarootdir/ {
34501
 
  p
34502
 
  q
34503
 
}
34504
 
/@datadir@/p
34505
 
/@docdir@/p
34506
 
/@infodir@/p
34507
 
/@localedir@/p
34508
 
/@mandir@/p
34509
 
' $ac_file_inputs` in
34510
 
*datarootdir*) ac_datarootdir_seen=yes;;
34511
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34512
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34513
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34514
 
_ACEOF
34515
 
cat >>$CONFIG_STATUS <<_ACEOF
34516
 
  ac_datarootdir_hack='
34517
 
  s&@datadir@&$datadir&g
34518
 
  s&@docdir@&$docdir&g
34519
 
  s&@infodir@&$infodir&g
34520
 
  s&@localedir@&$localedir&g
34521
 
  s&@mandir@&$mandir&g
34522
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
34523
 
esac
34524
 
_ACEOF
34525
 
 
34526
 
# Neutralize VPATH when `$srcdir' = `.'.
34527
 
# Shell code in configure.ac might set extrasub.
34528
 
# FIXME: do we really want to maintain this feature?
34529
 
cat >>$CONFIG_STATUS <<_ACEOF
34530
 
  sed "$ac_vpsub
34531
 
$extrasub
34532
 
_ACEOF
34533
 
cat >>$CONFIG_STATUS <<\_ACEOF
34534
 
:t
34535
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34536
 
s&@configure_input@&$configure_input&;t t
34537
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
34538
 
s&@srcdir@&$ac_srcdir&;t t
34539
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
34540
 
s&@top_srcdir@&$ac_top_srcdir&;t t
34541
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34542
 
s&@builddir@&$ac_builddir&;t t
34543
 
s&@abs_builddir@&$ac_abs_builddir&;t t
34544
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34545
 
s&@INSTALL@&$ac_INSTALL&;t t
34546
 
$ac_datarootdir_hack
34547
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
34548
 
 
34549
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34550
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34551
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34552
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34553
 
which seems to be undefined.  Please make sure it is defined." >&5
34554
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34555
 
which seems to be undefined.  Please make sure it is defined." >&2;}
34556
 
 
34557
 
  rm -f "$tmp/stdin"
34558
 
  case $ac_file in
34559
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
34560
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34561
 
  esac
34562
 
 ;;
34563
 
  :H)
34564
 
  #
34565
 
  # CONFIG_HEADER
34566
 
  #
34567
 
_ACEOF
34568
 
 
34569
 
# Transform confdefs.h into a sed script `conftest.defines', that
34570
 
# substitutes the proper values into config.h.in to produce config.h.
34571
 
rm -f conftest.defines conftest.tail
34572
 
# First, append a space to every undef/define line, to ease matching.
34573
 
echo 's/$/ /' >conftest.defines
34574
 
# Then, protect against being on the right side of a sed subst, or in
34575
 
# an unquoted here document, in config.status.  If some macros were
34576
 
# called several times there might be several #defines for the same
34577
 
# symbol, which is useless.  But do not sort them, since the last
34578
 
# AC_DEFINE must be honored.
34579
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34580
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34581
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
34582
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
34583
 
# just an empty string.
34584
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
34585
 
ac_dB='\\)[      (].*,\\1define\\2'
34586
 
ac_dC=' '
34587
 
ac_dD=' ,'
34588
 
 
34589
 
uniq confdefs.h |
34590
 
  sed -n '
34591
 
        t rset
34592
 
        :rset
34593
 
        s/^[     ]*#[    ]*define[       ][      ]*//
34594
 
        t ok
34595
 
        d
34596
 
        :ok
34597
 
        s/[\\&,]/\\&/g
34598
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34599
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34600
 
  ' >>conftest.defines
34601
 
 
34602
 
# Remove the space that was appended to ease matching.
34603
 
# Then replace #undef with comments.  This is necessary, for
34604
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
34605
 
# on some systems where configure will not decide to define it.
34606
 
# (The regexp can be short, since the line contains either #define or #undef.)
34607
 
echo 's/ $//
34608
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
34609
 
 
34610
 
# Break up conftest.defines:
34611
 
ac_max_sed_lines=50
34612
 
 
34613
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34614
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34615
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34616
 
# et cetera.
34617
 
ac_in='$ac_file_inputs'
34618
 
ac_out='"$tmp/out1"'
34619
 
ac_nxt='"$tmp/out2"'
34620
 
 
34621
 
while :
34622
 
do
34623
 
  # Write a here document:
34624
 
    cat >>$CONFIG_STATUS <<_ACEOF
34625
 
    # First, check the format of the line:
34626
 
    cat >"\$tmp/defines.sed" <<\\CEOF
34627
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
34628
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
34629
 
b
34630
 
:def
34631
 
_ACEOF
34632
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
34633
 
  echo 'CEOF
34634
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34635
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
34636
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
34637
 
  grep . conftest.tail >/dev/null || break
34638
 
  rm -f conftest.defines
34639
 
  mv conftest.tail conftest.defines
34640
 
done
34641
 
rm -f conftest.defines conftest.tail
34642
 
 
34643
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
34644
 
cat >>$CONFIG_STATUS <<\_ACEOF
34645
 
  if test x"$ac_file" != x-; then
34646
 
    echo "/* $configure_input  */" >"$tmp/config.h"
34647
 
    cat "$ac_result" >>"$tmp/config.h"
34648
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
34649
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34650
 
echo "$as_me: $ac_file is unchanged" >&6;}
34651
 
    else
34652
 
      rm -f $ac_file
34653
 
      mv "$tmp/config.h" $ac_file
34654
 
    fi
34655
 
  else
34656
 
    echo "/* $configure_input  */"
34657
 
    cat "$ac_result"
34658
 
  fi
34659
 
  rm -f "$tmp/out12"
34660
 
# Compute $ac_file's index in $config_headers.
34661
 
_am_stamp_count=1
34662
 
for _am_header in $config_headers :; do
34663
 
  case $_am_header in
34664
 
    $ac_file | $ac_file:* )
34665
 
      break ;;
34666
 
    * )
34667
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34668
 
  esac
34669
 
done
34670
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
34671
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34672
 
         X$ac_file : 'X\(//\)[^/]' \| \
34673
 
         X$ac_file : 'X\(//\)$' \| \
34674
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
34675
 
echo X$ac_file |
34676
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34677
 
            s//\1/
34678
 
            q
34679
 
          }
34680
 
          /^X\(\/\/\)[^/].*/{
34681
 
            s//\1/
34682
 
            q
34683
 
          }
34684
 
          /^X\(\/\/\)$/{
34685
 
            s//\1/
34686
 
            q
34687
 
          }
34688
 
          /^X\(\/\).*/{
34689
 
            s//\1/
34690
 
            q
34691
 
          }
34692
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
34693
 
 ;;
34694
 
 
34695
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
34696
 
echo "$as_me: executing $ac_file commands" >&6;}
34697
 
 ;;
34698
 
  esac
34699
 
 
34700
 
 
34701
 
  case $ac_file$ac_mode in
34702
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34703
 
  # Strip MF so we end up with the name of the file.
34704
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
34705
 
  # Check whether this is an Automake generated Makefile or not.
34706
 
  # We used to match only the files named `Makefile.in', but
34707
 
  # some people rename them; so instead we look at the file content.
34708
 
  # Grep'ing the first line is not enough: some people post-process
34709
 
  # each Makefile.in and add a new line on top of each file to say so.
34710
 
  # So let's grep whole file.
34711
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
34712
 
    dirpart=`$as_dirname -- "$mf" ||
34713
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34714
 
         X"$mf" : 'X\(//\)[^/]' \| \
34715
 
         X"$mf" : 'X\(//\)$' \| \
34716
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34717
 
echo X"$mf" |
34718
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34719
 
            s//\1/
34720
 
            q
34721
 
          }
34722
 
          /^X\(\/\/\)[^/].*/{
34723
 
            s//\1/
34724
 
            q
34725
 
          }
34726
 
          /^X\(\/\/\)$/{
34727
 
            s//\1/
34728
 
            q
34729
 
          }
34730
 
          /^X\(\/\).*/{
34731
 
            s//\1/
34732
 
            q
34733
 
          }
34734
 
          s/.*/./; q'`
34735
 
  else
34736
 
    continue
34737
 
  fi
34738
 
  # Extract the definition of DEPDIR, am__include, and am__quote
34739
 
  # from the Makefile without running `make'.
34740
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34741
 
  test -z "$DEPDIR" && continue
34742
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
34743
 
  test -z "am__include" && continue
34744
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34745
 
  # When using ansi2knr, U may be empty or an underscore; expand it
34746
 
  U=`sed -n 's/^U = //p' < "$mf"`
34747
 
  # Find all dependency output files, they are included files with
34748
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
34749
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
34750
 
  # expansion.
34751
 
  for file in `sed -n "
34752
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34753
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34754
 
    # Make sure the directory exists.
34755
 
    test -f "$dirpart/$file" && continue
34756
 
    fdir=`$as_dirname -- "$file" ||
34757
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34758
 
         X"$file" : 'X\(//\)[^/]' \| \
34759
 
         X"$file" : 'X\(//\)$' \| \
34760
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34761
 
echo X"$file" |
34762
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34763
 
            s//\1/
34764
 
            q
34765
 
          }
34766
 
          /^X\(\/\/\)[^/].*/{
34767
 
            s//\1/
34768
 
            q
34769
 
          }
34770
 
          /^X\(\/\/\)$/{
34771
 
            s//\1/
34772
 
            q
34773
 
          }
34774
 
          /^X\(\/\).*/{
34775
 
            s//\1/
34776
 
            q
34777
 
          }
34778
 
          s/.*/./; q'`
34779
 
    { as_dir=$dirpart/$fdir
34780
 
  case $as_dir in #(
34781
 
  -*) as_dir=./$as_dir;;
34782
 
  esac
34783
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34784
 
    as_dirs=
34785
 
    while :; do
34786
 
      case $as_dir in #(
34787
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34788
 
      *) as_qdir=$as_dir;;
34789
 
      esac
34790
 
      as_dirs="'$as_qdir' $as_dirs"
34791
 
      as_dir=`$as_dirname -- "$as_dir" ||
34792
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34793
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
34794
 
         X"$as_dir" : 'X\(//\)$' \| \
34795
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34796
 
echo X"$as_dir" |
34797
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34798
 
            s//\1/
34799
 
            q
34800
 
          }
34801
 
          /^X\(\/\/\)[^/].*/{
34802
 
            s//\1/
34803
 
            q
34804
 
          }
34805
 
          /^X\(\/\/\)$/{
34806
 
            s//\1/
34807
 
            q
34808
 
          }
34809
 
          /^X\(\/\).*/{
34810
 
            s//\1/
34811
 
            q
34812
 
          }
34813
 
          s/.*/./; q'`
34814
 
      test -d "$as_dir" && break
34815
 
    done
34816
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
34817
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34818
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34819
 
   { (exit 1); exit 1; }; }; }
34820
 
    # echo "creating $dirpart/$file"
34821
 
    echo '# dummy' > "$dirpart/$file"
34822
 
  done
34823
 
done
34824
 
 ;;
34825
 
 
34826
 
  esac
34827
 
done # for ac_tag
34828
 
 
34829
 
 
34830
 
{ (exit 0); exit 0; }
34831
 
_ACEOF
34832
 
if test "x$with_fast_perl" = "xyes"; then    
34833
 
  perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS    \
34834
 
    || mv $CONFIG_STATUS.bak $CONFIG_STATUS    
34835
 
  rm -f $CONFIG_STATUS.bak
34836
 
fi    
34837
 
chmod +x $CONFIG_STATUS
34838
 
ac_clean_files=$ac_clean_files_save
34839
 
 
34840
 
 
34841
 
# configure is writing to config.log, and then calls config.status.
34842
 
# config.status does its own redirection, appending to config.log.
34843
 
# Unfortunately, on DOS this fails, as config.log is still kept open
34844
 
# by configure, so config.status won't be able to write to it; its
34845
 
# output is simply discarded.  So we exec the FD to /dev/null,
34846
 
# effectively closing config.log, so it can be properly (re)opened and
34847
 
# appended to by config.status.  When coming back to configure, we
34848
 
# need to make the FD available again.
34849
 
if test "$no_create" != yes; then
34850
 
  ac_cs_success=:
34851
 
  ac_config_status_args=
34852
 
  test "$silent" = yes &&
34853
 
    ac_config_status_args="$ac_config_status_args --quiet"
34854
 
  exec 5>/dev/null
34855
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34856
 
  exec 5>>config.log
34857
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34858
 
  # would make configure fail if this is the last instruction.
34859
 
  $ac_cs_success || { (exit 1); exit 1; }
34860
 
fi
34861
 
 
34862
 
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
34863
 
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
34864
 
  # And if so, warn when they don't match
34865
 
  if test "$kde_libs_prefix" != "$given_prefix"; then
34866
 
    # And if kde doesn't know about the prefix yet
34867
 
    echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
34868
 
    if test $? -ne 0; then
34869
 
      echo ""
34870
 
      echo "Warning: you chose to install this package in $given_prefix,"
34871
 
      echo "but KDE was found in $kde_libs_prefix."
34872
 
      echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
34873
 
      echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
34874
 
      echo "Then restart KDE."
34875
 
      echo ""
34876
 
    fi
34877
 
  fi
34878
 
fi
34879
 
 
34880
 
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
34881
 
  echo ""
34882
 
  echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
34883
 
  echo "was not included. Therefore, GCC symbol visibility support remains disabled."
34884
 
  echo ""
34885
 
  echo "For better performance, consider including the Qt visibility supporting patch"
34886
 
  echo "located at:"
34887
 
  echo ""
34888
 
  echo "http://bugs.kde.org/show_bug.cgi?id=109386"
34889
 
  echo ""
34890
 
  echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
34891
 
  echo "everything will continue to work just fine without it."
34892
 
  echo ""
34893
 
fi
34894
 
 
34895
 
if test "$all_tests" = "bad"; then
34896
 
  if test ! "$cache_file" = "/dev/null"; then
34897
 
    echo ""
34898
 
    echo "Please remove the file $cache_file after changing your setup"
34899
 
    echo "so that configure will find the changes next time."
34900
 
    echo ""
34901
 
  fi
34902
 
else
34903
 
  echo ""
34904
 
  echo "Good - your configure finished. Start make now"
34905
 
  echo ""
34906
 
fi