~ubuntu-branches/ubuntu/raring/kbibtex/raring

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Michael Hanke
  • Date: 2011-07-18 09:29:48 UTC
  • mfrom: (1.1.6) (2.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20110718092948-ksxjmg7kdfamolmg
Tags: 0.3-1
* First upstream release for KDE4 (Closes: #634255). A number of search
  engines are still missing, in comparison to the 0.2 series.
* Bumped Standards-Version to 3.9.2, no changes necessary.

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
 
PKG_CONFIG
1014
 
LIBYAZ_CFLAGS
1015
 
LIBYAZ_LIBS
1016
 
LIBYAZ_RPATH
1017
 
LIBXML_CFLAGS
1018
 
LIBXML_LIBS
1019
 
LIBXSLT_CFLAGS
1020
 
LIBXSLT_LIBS
1021
 
TOPSUBDIRS
1022
 
LIBOBJS
1023
 
LTLIBOBJS'
1024
 
ac_subst_files=''
1025
 
      ac_precious_vars='build_alias
1026
 
host_alias
1027
 
target_alias
1028
 
CC
1029
 
CFLAGS
1030
 
LDFLAGS
1031
 
LIBS
1032
 
CPPFLAGS
1033
 
CPP
1034
 
CXX
1035
 
CXXFLAGS
1036
 
CCC
1037
 
CXXCPP
1038
 
F77
1039
 
FFLAGS
1040
 
XMKMF
1041
 
PKG_CONFIG
1042
 
LIBYAZ_CFLAGS
1043
 
LIBYAZ_LIBS
1044
 
LIBXML_CFLAGS
1045
 
LIBXML_LIBS
1046
 
LIBXSLT_CFLAGS
1047
 
LIBXSLT_LIBS'
1048
 
 
1049
 
 
1050
 
# Initialize some variables set by options.
1051
 
ac_init_help=
1052
 
ac_init_version=false
1053
 
# The variables have the same names as the options, with
1054
 
# dashes changed to underlines.
1055
 
cache_file=/dev/null
1056
 
exec_prefix=NONE
1057
 
no_create=
1058
 
no_recursion=
1059
 
prefix=NONE
1060
 
program_prefix=NONE
1061
 
program_suffix=NONE
1062
 
program_transform_name=s,x,x,
1063
 
silent=
1064
 
site=
1065
 
srcdir=
1066
 
verbose=
1067
 
x_includes=NONE
1068
 
x_libraries=NONE
1069
 
 
1070
 
# Installation directory options.
1071
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
1072
 
# and all the variables that are supposed to be based on exec_prefix
1073
 
# by default will actually change.
1074
 
# Use braces instead of parens because sh, perl, etc. also accept them.
1075
 
# (The list follows the same order as the GNU Coding Standards.)
1076
 
bindir='${exec_prefix}/bin'
1077
 
sbindir='${exec_prefix}/sbin'
1078
 
libexecdir='${exec_prefix}/libexec'
1079
 
datarootdir='${prefix}/share'
1080
 
datadir='${datarootdir}'
1081
 
sysconfdir='${prefix}/etc'
1082
 
sharedstatedir='${prefix}/com'
1083
 
localstatedir='${prefix}/var'
1084
 
includedir='${prefix}/include'
1085
 
oldincludedir='/usr/include'
1086
 
docdir='${datarootdir}/doc/${PACKAGE}'
1087
 
infodir='${datarootdir}/info'
1088
 
htmldir='${docdir}'
1089
 
dvidir='${docdir}'
1090
 
pdfdir='${docdir}'
1091
 
psdir='${docdir}'
1092
 
libdir='${exec_prefix}/lib'
1093
 
localedir='${datarootdir}/locale'
1094
 
mandir='${datarootdir}/man'
1095
 
 
1096
 
ac_prev=
1097
 
ac_dashdash=
1098
 
for ac_option
1099
 
do
1100
 
  # If the previous option needs an argument, assign it.
1101
 
  if test -n "$ac_prev"; then
1102
 
    eval $ac_prev=\$ac_option
1103
 
    ac_prev=
1104
 
    continue
1105
 
  fi
1106
 
 
1107
 
  case $ac_option in
1108
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1109
 
  *)    ac_optarg=yes ;;
1110
 
  esac
1111
 
 
1112
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1113
 
 
1114
 
  case $ac_dashdash$ac_option in
1115
 
  --)
1116
 
    ac_dashdash=yes ;;
1117
 
 
1118
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1119
 
    ac_prev=bindir ;;
1120
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1121
 
    bindir=$ac_optarg ;;
1122
 
 
1123
 
  -build | --build | --buil | --bui | --bu)
1124
 
    ac_prev=build_alias ;;
1125
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1126
 
    build_alias=$ac_optarg ;;
1127
 
 
1128
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1129
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1130
 
    ac_prev=cache_file ;;
1131
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1132
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1133
 
    cache_file=$ac_optarg ;;
1134
 
 
1135
 
  --config-cache | -C)
1136
 
    cache_file=config.cache ;;
1137
 
 
1138
 
  -datadir | --datadir | --datadi | --datad)
1139
 
    ac_prev=datadir ;;
1140
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1141
 
    datadir=$ac_optarg ;;
1142
 
 
1143
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1144
 
  | --dataroo | --dataro | --datar)
1145
 
    ac_prev=datarootdir ;;
1146
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1147
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1148
 
    datarootdir=$ac_optarg ;;
1149
 
 
1150
 
  -disable-* | --disable-*)
1151
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1152
 
    # Reject names that are not valid shell variable names.
1153
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1155
 
   { (exit 1); exit 1; }; }
1156
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1157
 
    eval enable_$ac_feature=no ;;
1158
 
 
1159
 
  -docdir | --docdir | --docdi | --doc | --do)
1160
 
    ac_prev=docdir ;;
1161
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1162
 
    docdir=$ac_optarg ;;
1163
 
 
1164
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1165
 
    ac_prev=dvidir ;;
1166
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1167
 
    dvidir=$ac_optarg ;;
1168
 
 
1169
 
  -enable-* | --enable-*)
1170
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1171
 
    # Reject names that are not valid shell variable names.
1172
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1174
 
   { (exit 1); exit 1; }; }
1175
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1176
 
    eval enable_$ac_feature=\$ac_optarg ;;
1177
 
 
1178
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1179
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1180
 
  | --exec | --exe | --ex)
1181
 
    ac_prev=exec_prefix ;;
1182
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1183
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1184
 
  | --exec=* | --exe=* | --ex=*)
1185
 
    exec_prefix=$ac_optarg ;;
1186
 
 
1187
 
  -gas | --gas | --ga | --g)
1188
 
    # Obsolete; use --with-gas.
1189
 
    with_gas=yes ;;
1190
 
 
1191
 
  -help | --help | --hel | --he | -h)
1192
 
    ac_init_help=long ;;
1193
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1194
 
    ac_init_help=recursive ;;
1195
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1196
 
    ac_init_help=short ;;
1197
 
 
1198
 
  -host | --host | --hos | --ho)
1199
 
    ac_prev=host_alias ;;
1200
 
  -host=* | --host=* | --hos=* | --ho=*)
1201
 
    host_alias=$ac_optarg ;;
1202
 
 
1203
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1204
 
    ac_prev=htmldir ;;
1205
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1206
 
  | --ht=*)
1207
 
    htmldir=$ac_optarg ;;
1208
 
 
1209
 
  -includedir | --includedir | --includedi | --included | --include \
1210
 
  | --includ | --inclu | --incl | --inc)
1211
 
    ac_prev=includedir ;;
1212
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1213
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1214
 
    includedir=$ac_optarg ;;
1215
 
 
1216
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1217
 
    ac_prev=infodir ;;
1218
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1219
 
    infodir=$ac_optarg ;;
1220
 
 
1221
 
  -libdir | --libdir | --libdi | --libd)
1222
 
    ac_prev=libdir ;;
1223
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1224
 
    libdir=$ac_optarg ;;
1225
 
 
1226
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1227
 
  | --libexe | --libex | --libe)
1228
 
    ac_prev=libexecdir ;;
1229
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1230
 
  | --libexe=* | --libex=* | --libe=*)
1231
 
    libexecdir=$ac_optarg ;;
1232
 
 
1233
 
  -localedir | --localedir | --localedi | --localed | --locale)
1234
 
    ac_prev=localedir ;;
1235
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1236
 
    localedir=$ac_optarg ;;
1237
 
 
1238
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1239
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1240
 
    ac_prev=localstatedir ;;
1241
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1242
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1243
 
    localstatedir=$ac_optarg ;;
1244
 
 
1245
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1246
 
    ac_prev=mandir ;;
1247
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1248
 
    mandir=$ac_optarg ;;
1249
 
 
1250
 
  -nfp | --nfp | --nf)
1251
 
    # Obsolete; use --without-fp.
1252
 
    with_fp=no ;;
1253
 
 
1254
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1255
 
  | --no-cr | --no-c | -n)
1256
 
    no_create=yes ;;
1257
 
 
1258
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1259
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1260
 
    no_recursion=yes ;;
1261
 
 
1262
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1263
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1264
 
  | --oldin | --oldi | --old | --ol | --o)
1265
 
    ac_prev=oldincludedir ;;
1266
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1267
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1268
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1269
 
    oldincludedir=$ac_optarg ;;
1270
 
 
1271
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1272
 
    ac_prev=prefix ;;
1273
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1274
 
    prefix=$ac_optarg ;;
1275
 
 
1276
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1277
 
  | --program-pre | --program-pr | --program-p)
1278
 
    ac_prev=program_prefix ;;
1279
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1280
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1281
 
    program_prefix=$ac_optarg ;;
1282
 
 
1283
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1284
 
  | --program-suf | --program-su | --program-s)
1285
 
    ac_prev=program_suffix ;;
1286
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1287
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1288
 
    program_suffix=$ac_optarg ;;
1289
 
 
1290
 
  -program-transform-name | --program-transform-name \
1291
 
  | --program-transform-nam | --program-transform-na \
1292
 
  | --program-transform-n | --program-transform- \
1293
 
  | --program-transform | --program-transfor \
1294
 
  | --program-transfo | --program-transf \
1295
 
  | --program-trans | --program-tran \
1296
 
  | --progr-tra | --program-tr | --program-t)
1297
 
    ac_prev=program_transform_name ;;
1298
 
  -program-transform-name=* | --program-transform-name=* \
1299
 
  | --program-transform-nam=* | --program-transform-na=* \
1300
 
  | --program-transform-n=* | --program-transform-=* \
1301
 
  | --program-transform=* | --program-transfor=* \
1302
 
  | --program-transfo=* | --program-transf=* \
1303
 
  | --program-trans=* | --program-tran=* \
1304
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1305
 
    program_transform_name=$ac_optarg ;;
1306
 
 
1307
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1308
 
    ac_prev=pdfdir ;;
1309
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1310
 
    pdfdir=$ac_optarg ;;
1311
 
 
1312
 
  -psdir | --psdir | --psdi | --psd | --ps)
1313
 
    ac_prev=psdir ;;
1314
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1315
 
    psdir=$ac_optarg ;;
1316
 
 
1317
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1318
 
  | -silent | --silent | --silen | --sile | --sil)
1319
 
    silent=yes ;;
1320
 
 
1321
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1322
 
    ac_prev=sbindir ;;
1323
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1324
 
  | --sbi=* | --sb=*)
1325
 
    sbindir=$ac_optarg ;;
1326
 
 
1327
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1328
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1329
 
  | --sharedst | --shareds | --shared | --share | --shar \
1330
 
  | --sha | --sh)
1331
 
    ac_prev=sharedstatedir ;;
1332
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1333
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1334
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1335
 
  | --sha=* | --sh=*)
1336
 
    sharedstatedir=$ac_optarg ;;
1337
 
 
1338
 
  -site | --site | --sit)
1339
 
    ac_prev=site ;;
1340
 
  -site=* | --site=* | --sit=*)
1341
 
    site=$ac_optarg ;;
1342
 
 
1343
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1344
 
    ac_prev=srcdir ;;
1345
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1346
 
    srcdir=$ac_optarg ;;
1347
 
 
1348
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1349
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1350
 
    ac_prev=sysconfdir ;;
1351
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1352
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1353
 
    sysconfdir=$ac_optarg ;;
1354
 
 
1355
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1356
 
    ac_prev=target_alias ;;
1357
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1358
 
    target_alias=$ac_optarg ;;
1359
 
 
1360
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1361
 
    verbose=yes ;;
1362
 
 
1363
 
  -version | --version | --versio | --versi | --vers | -V)
1364
 
    ac_init_version=: ;;
1365
 
 
1366
 
  -with-* | --with-*)
1367
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1368
 
    # Reject names that are not valid shell variable names.
1369
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1370
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1371
 
   { (exit 1); exit 1; }; }
1372
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1373
 
    eval with_$ac_package=\$ac_optarg ;;
1374
 
 
1375
 
  -without-* | --without-*)
1376
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1377
 
    # Reject names that are not valid shell variable names.
1378
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1380
 
   { (exit 1); exit 1; }; }
1381
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382
 
    eval with_$ac_package=no ;;
1383
 
 
1384
 
  --x)
1385
 
    # Obsolete; use --with-x.
1386
 
    with_x=yes ;;
1387
 
 
1388
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1389
 
  | --x-incl | --x-inc | --x-in | --x-i)
1390
 
    ac_prev=x_includes ;;
1391
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1392
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1393
 
    x_includes=$ac_optarg ;;
1394
 
 
1395
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1396
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1397
 
    ac_prev=x_libraries ;;
1398
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1399
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1400
 
    x_libraries=$ac_optarg ;;
1401
 
 
1402
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1403
 
Try \`$0 --help' for more information." >&2
1404
 
   { (exit 1); exit 1; }; }
1405
 
    ;;
1406
 
 
1407
 
  *=*)
1408
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1409
 
    # Reject names that are not valid shell variable names.
1410
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1411
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1412
 
   { (exit 1); exit 1; }; }
1413
 
    eval $ac_envvar=\$ac_optarg
1414
 
    export $ac_envvar ;;
1415
 
 
1416
 
  *)
1417
 
    # FIXME: should be removed in autoconf 3.0.
1418
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1419
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1420
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1421
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1422
 
    ;;
1423
 
 
1424
 
  esac
1425
 
done
1426
 
 
1427
 
if test -n "$ac_prev"; then
1428
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1429
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1430
 
   { (exit 1); exit 1; }; }
1431
 
fi
1432
 
 
1433
 
# Be sure to have absolute directory names.
1434
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1435
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1436
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1437
 
                libdir localedir mandir
1438
 
do
1439
 
  eval ac_val=\$$ac_var
1440
 
  case $ac_val in
1441
 
    [\\/$]* | ?:[\\/]* )  continue;;
1442
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1443
 
  esac
1444
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1445
 
   { (exit 1); exit 1; }; }
1446
 
done
1447
 
 
1448
 
# There might be people who depend on the old broken behavior: `$host'
1449
 
# used to hold the argument of --host etc.
1450
 
# FIXME: To remove some day.
1451
 
build=$build_alias
1452
 
host=$host_alias
1453
 
target=$target_alias
1454
 
 
1455
 
# FIXME: To remove some day.
1456
 
if test "x$host_alias" != x; then
1457
 
  if test "x$build_alias" = x; then
1458
 
    cross_compiling=maybe
1459
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1460
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1461
 
  elif test "x$build_alias" != "x$host_alias"; then
1462
 
    cross_compiling=yes
1463
 
  fi
1464
 
fi
1465
 
 
1466
 
ac_tool_prefix=
1467
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1468
 
 
1469
 
test "$silent" = yes && exec 6>/dev/null
1470
 
 
1471
 
 
1472
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1473
 
ac_ls_di=`ls -di .` &&
1474
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1475
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1476
 
   { (exit 1); exit 1; }; }
1477
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1478
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1479
 
   { (exit 1); exit 1; }; }
1480
 
 
1481
 
 
1482
 
# Find the source files, if location was not specified.
1483
 
if test -z "$srcdir"; then
1484
 
  ac_srcdir_defaulted=yes
1485
 
  # Try the directory containing this script, then the parent directory.
1486
 
  ac_confdir=`$as_dirname -- "$0" ||
1487
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1488
 
         X"$0" : 'X\(//\)[^/]' \| \
1489
 
         X"$0" : 'X\(//\)$' \| \
1490
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1491
 
echo X"$0" |
1492
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1493
 
            s//\1/
1494
 
            q
1495
 
          }
1496
 
          /^X\(\/\/\)[^/].*/{
1497
 
            s//\1/
1498
 
            q
1499
 
          }
1500
 
          /^X\(\/\/\)$/{
1501
 
            s//\1/
1502
 
            q
1503
 
          }
1504
 
          /^X\(\/\).*/{
1505
 
            s//\1/
1506
 
            q
1507
 
          }
1508
 
          s/.*/./; q'`
1509
 
  srcdir=$ac_confdir
1510
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1511
 
    srcdir=..
1512
 
  fi
1513
 
else
1514
 
  ac_srcdir_defaulted=no
1515
 
fi
1516
 
if test ! -r "$srcdir/$ac_unique_file"; then
1517
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1518
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1519
 
   { (exit 1); exit 1; }; }
1520
 
fi
1521
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1522
 
ac_abs_confdir=`(
1523
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1524
 
   { (exit 1); exit 1; }; }
1525
 
        pwd)`
1526
 
# When building in place, set srcdir=.
1527
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1528
 
  srcdir=.
1529
 
fi
1530
 
# Remove unnecessary trailing slashes from srcdir.
1531
 
# Double slashes in file names in object file debugging info
1532
 
# mess up M-x gdb in Emacs.
1533
 
case $srcdir in
1534
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1535
 
esac
1536
 
for ac_var in $ac_precious_vars; do
1537
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1538
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1539
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1540
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1541
 
done
1542
 
 
1543
 
#
1544
 
# Report the --help message.
1545
 
#
1546
 
if test "$ac_init_help" = "long"; then
1547
 
  # Omit some internal or obsolete options to make the list less imposing.
1548
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1549
 
  cat <<_ACEOF
1550
 
\`configure' configures this package to adapt to many kinds of systems.
1551
 
 
1552
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1553
 
 
1554
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1555
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1556
 
 
1557
 
Defaults for the options are specified in brackets.
1558
 
 
1559
 
Configuration:
1560
 
  -h, --help              display this help and exit
1561
 
      --help=short        display options specific to this package
1562
 
      --help=recursive    display the short help of all the included packages
1563
 
  -V, --version           display version information and exit
1564
 
  -q, --quiet, --silent   do not print \`checking...' messages
1565
 
      --cache-file=FILE   cache test results in FILE [disabled]
1566
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1567
 
  -n, --no-create         do not create output files
1568
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1569
 
 
1570
 
Installation directories:
1571
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1572
 
                          [$ac_default_prefix]
1573
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1574
 
                          [PREFIX]
1575
 
 
1576
 
By default, \`make install' will install all the files in
1577
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1578
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1579
 
for instance \`--prefix=\$HOME'.
1580
 
 
1581
 
For better control, use the options below.
1582
 
 
1583
 
Fine tuning of the installation directories:
1584
 
  --bindir=DIR           user executables [EPREFIX/bin]
1585
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1586
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1587
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1588
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1589
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1590
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1591
 
  --includedir=DIR       C header files [PREFIX/include]
1592
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1593
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1594
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1595
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1596
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1597
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1598
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1599
 
  --htmldir=DIR          html documentation [DOCDIR]
1600
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1601
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1602
 
  --psdir=DIR            ps documentation [DOCDIR]
1603
 
_ACEOF
1604
 
 
1605
 
  cat <<\_ACEOF
1606
 
 
1607
 
Program names:
1608
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1609
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1610
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1611
 
 
1612
 
System types:
1613
 
  --build=BUILD     configure for building on BUILD [guessed]
1614
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1615
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1616
 
_ACEOF
1617
 
fi
1618
 
 
1619
 
if test -n "$ac_init_help"; then
1620
 
 
1621
 
  cat <<\_ACEOF
1622
 
 
1623
 
Optional Features:
1624
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1625
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1626
 
  --disable-fast-perl     disable fast Makefile generation (needs perl)
1627
 
  --enable-debug=ARG      enables debug symbols (yes|no|full) default=no
1628
 
  --disable-debug         disables debug output and debug symbols default=no
1629
 
  --enable-strict         compiles with strict compiler options (may not
1630
 
                          work!)
1631
 
  --disable-warnings      disables compilation with -Wall and similar
1632
 
  --enable-profile        creates profiling infos default=no
1633
 
  --disable-dependency-tracking  speeds up one-time build
1634
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1635
 
  --enable-pch            enables precompiled header support (currently only
1636
 
                          KCC or gcc >=3.4+unsermake) default=no
1637
 
  --enable-coverage       use gcc coverage testing
1638
 
  --enable-new-ldflags    enable the new linker flags
1639
 
  --enable-final          build size optimized apps (experimental - needs lots
1640
 
                          of memory)
1641
 
  --enable-closure        delay template instantiation
1642
 
  --enable-nmcheck        enable automatic namespace cleanness check
1643
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1644
 
  --enable-static[=PKGS]  build static libraries [default=no]
1645
 
  --enable-libsuffix      /lib directory suffix (64,32,none,auto=default)
1646
 
  --enable-fast-install[=PKGS]
1647
 
                          optimize for fast installation [default=yes]
1648
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1649
 
  --enable-pie            platform supports PIE linking default=detect
1650
 
  --enable-embedded       link to Qt-embedded, don't use X
1651
 
  --enable-qtopia         link to Qt-embedded, link to the Qtopia Environment
1652
 
  --enable-mac            link to Qt/Mac (don't use X)
1653
 
  --disable-mt            link to non-threaded Qt (deprecated)
1654
 
  --disable-threading     disables threading even if libpthread found
1655
 
  --disable-rpath         do not use the rpath feature of ld
1656
 
  --disable-path-check    don't try to find out, where to install
1657
 
 
1658
 
Optional Packages:
1659
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1660
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1661
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1662
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1663
 
                          both]
1664
 
  --with-tags[=TAGS]      include additional configurations [automatic]
1665
 
  --with-extra-includes=DIR
1666
 
                          adds non standard include paths
1667
 
  --with-extra-libs=DIR   adds non standard library paths
1668
 
  --with-qt-dir=DIR       where the root of Qt is installed
1669
 
  --with-qt-includes=DIR  where the Qt includes are.
1670
 
  --with-qt-libraries=DIR where the Qt library is installed.
1671
 
  --without-arts          build without aRts default=no
1672
 
 
1673
 
Some influential environment variables:
1674
 
  CC          C compiler command
1675
 
  CFLAGS      C compiler flags
1676
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1677
 
              nonstandard directory <lib dir>
1678
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1679
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1680
 
              you have headers in a nonstandard directory <include dir>
1681
 
  CPP         C preprocessor
1682
 
  CXX         C++ compiler command
1683
 
  CXXFLAGS    C++ compiler flags
1684
 
  CXXCPP      C++ preprocessor
1685
 
  F77         Fortran 77 compiler command
1686
 
  FFLAGS      Fortran 77 compiler flags
1687
 
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1688
 
  PKG_CONFIG  path to pkg-config utility
1689
 
  LIBYAZ_CFLAGS
1690
 
              C compiler flags for LIBYAZ, overriding pkg-config
1691
 
  LIBYAZ_LIBS linker flags for LIBYAZ, overriding pkg-config
1692
 
  LIBXML_CFLAGS
1693
 
              C compiler flags for LIBXML, overriding pkg-config
1694
 
  LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1695
 
  LIBXSLT_CFLAGS
1696
 
              C compiler flags for LIBXSLT, overriding pkg-config
1697
 
  LIBXSLT_LIBS
1698
 
              linker flags for LIBXSLT, overriding pkg-config
1699
 
 
1700
 
Use these variables to override the choices made by `configure' or to help
1701
 
it to find libraries and programs with nonstandard names/locations.
1702
 
 
1703
 
_ACEOF
1704
 
ac_status=$?
1705
 
fi
1706
 
 
1707
 
if test "$ac_init_help" = "recursive"; then
1708
 
  # If there are subdirs, report their specific --help.
1709
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1710
 
    test -d "$ac_dir" || continue
1711
 
    ac_builddir=.
1712
 
 
1713
 
case "$ac_dir" in
1714
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1715
 
*)
1716
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1717
 
  # A ".." for each directory in $ac_dir_suffix.
1718
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1719
 
  case $ac_top_builddir_sub in
1720
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1721
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1722
 
  esac ;;
1723
 
esac
1724
 
ac_abs_top_builddir=$ac_pwd
1725
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1726
 
# for backward compatibility:
1727
 
ac_top_builddir=$ac_top_build_prefix
1728
 
 
1729
 
case $srcdir in
1730
 
  .)  # We are building in place.
1731
 
    ac_srcdir=.
1732
 
    ac_top_srcdir=$ac_top_builddir_sub
1733
 
    ac_abs_top_srcdir=$ac_pwd ;;
1734
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1735
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1736
 
    ac_top_srcdir=$srcdir
1737
 
    ac_abs_top_srcdir=$srcdir ;;
1738
 
  *) # Relative name.
1739
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1740
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1741
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1742
 
esac
1743
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1744
 
 
1745
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1746
 
    # Check for guested configure.
1747
 
    if test -f "$ac_srcdir/configure.gnu"; then
1748
 
      echo &&
1749
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1750
 
    elif test -f "$ac_srcdir/configure"; then
1751
 
      echo &&
1752
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1753
 
    else
1754
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1755
 
    fi || ac_status=$?
1756
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1757
 
  done
1758
 
fi
1759
 
 
1760
 
test -n "$ac_init_help" && exit $ac_status
1761
 
if $ac_init_version; then
1762
 
  cat <<\_ACEOF
1763
 
configure
1764
 
generated by GNU Autoconf 2.61
1765
 
 
1766
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1767
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1768
 
This configure script is free software; the Free Software Foundation
1769
 
gives unlimited permission to copy, distribute and modify it.
1770
 
_ACEOF
1771
 
  exit
1772
 
fi
1773
 
cat >config.log <<_ACEOF
1774
 
This file contains any messages produced by compilers while
1775
 
running configure, to aid debugging if configure makes a mistake.
1776
 
 
1777
 
It was created by $as_me, which was
1778
 
generated by GNU Autoconf 2.61.  Invocation command line was
1779
 
 
1780
 
  $ $0 $@
1781
 
 
1782
 
_ACEOF
1783
 
exec 5>>config.log
1784
 
{
1785
 
cat <<_ASUNAME
1786
 
## --------- ##
1787
 
## Platform. ##
1788
 
## --------- ##
1789
 
 
1790
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1791
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1792
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1793
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1794
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1795
 
 
1796
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1797
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1798
 
 
1799
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1800
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1801
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1802
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1803
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1804
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1805
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1806
 
 
1807
 
_ASUNAME
1808
 
 
1809
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810
 
for as_dir in $PATH
1811
 
do
1812
 
  IFS=$as_save_IFS
1813
 
  test -z "$as_dir" && as_dir=.
1814
 
  echo "PATH: $as_dir"
1815
 
done
1816
 
IFS=$as_save_IFS
1817
 
 
1818
 
} >&5
1819
 
 
1820
 
cat >&5 <<_ACEOF
1821
 
 
1822
 
 
1823
 
## ----------- ##
1824
 
## Core tests. ##
1825
 
## ----------- ##
1826
 
 
1827
 
_ACEOF
1828
 
 
1829
 
 
1830
 
# Keep a trace of the command line.
1831
 
# Strip out --no-create and --no-recursion so they do not pile up.
1832
 
# Strip out --silent because we don't want to record it for future runs.
1833
 
# Also quote any args containing shell meta-characters.
1834
 
# Make two passes to allow for proper duplicate-argument suppression.
1835
 
ac_configure_args=
1836
 
ac_configure_args0=
1837
 
ac_configure_args1=
1838
 
ac_must_keep_next=false
1839
 
for ac_pass in 1 2
1840
 
do
1841
 
  for ac_arg
1842
 
  do
1843
 
    case $ac_arg in
1844
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1845
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1846
 
    | -silent | --silent | --silen | --sile | --sil)
1847
 
      continue ;;
1848
 
    *\'*)
1849
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1850
 
    esac
1851
 
    case $ac_pass in
1852
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1853
 
    2)
1854
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1855
 
      if test $ac_must_keep_next = true; then
1856
 
        ac_must_keep_next=false # Got value, back to normal.
1857
 
      else
1858
 
        case $ac_arg in
1859
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1860
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1861
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1862
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1863
 
            case "$ac_configure_args0 " in
1864
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1865
 
            esac
1866
 
            ;;
1867
 
          -* ) ac_must_keep_next=true ;;
1868
 
        esac
1869
 
      fi
1870
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1871
 
      ;;
1872
 
    esac
1873
 
  done
1874
 
done
1875
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1876
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1877
 
 
1878
 
# When interrupted or exit'd, cleanup temporary files, and complete
1879
 
# config.log.  We remove comments because anyway the quotes in there
1880
 
# would cause problems or look ugly.
1881
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1882
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1883
 
trap 'exit_status=$?
1884
 
  # Save into config.log some information that might help in debugging.
1885
 
  {
1886
 
    echo
1887
 
 
1888
 
    cat <<\_ASBOX
1889
 
## ---------------- ##
1890
 
## Cache variables. ##
1891
 
## ---------------- ##
1892
 
_ASBOX
1893
 
    echo
1894
 
    # The following way of writing the cache mishandles newlines in values,
1895
 
(
1896
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1897
 
    eval ac_val=\$$ac_var
1898
 
    case $ac_val in #(
1899
 
    *${as_nl}*)
1900
 
      case $ac_var in #(
1901
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1902
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1903
 
      esac
1904
 
      case $ac_var in #(
1905
 
      _ | IFS | as_nl) ;; #(
1906
 
      *) $as_unset $ac_var ;;
1907
 
      esac ;;
1908
 
    esac
1909
 
  done
1910
 
  (set) 2>&1 |
1911
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1912
 
    *${as_nl}ac_space=\ *)
1913
 
      sed -n \
1914
 
        "s/'\''/'\''\\\\'\'''\''/g;
1915
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1916
 
      ;; #(
1917
 
    *)
1918
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1919
 
      ;;
1920
 
    esac |
1921
 
    sort
1922
 
)
1923
 
    echo
1924
 
 
1925
 
    cat <<\_ASBOX
1926
 
## ----------------- ##
1927
 
## Output variables. ##
1928
 
## ----------------- ##
1929
 
_ASBOX
1930
 
    echo
1931
 
    for ac_var in $ac_subst_vars
1932
 
    do
1933
 
      eval ac_val=\$$ac_var
1934
 
      case $ac_val in
1935
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1936
 
      esac
1937
 
      echo "$ac_var='\''$ac_val'\''"
1938
 
    done | sort
1939
 
    echo
1940
 
 
1941
 
    if test -n "$ac_subst_files"; then
1942
 
      cat <<\_ASBOX
1943
 
## ------------------- ##
1944
 
## File substitutions. ##
1945
 
## ------------------- ##
1946
 
_ASBOX
1947
 
      echo
1948
 
      for ac_var in $ac_subst_files
1949
 
      do
1950
 
        eval ac_val=\$$ac_var
1951
 
        case $ac_val in
1952
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1953
 
        esac
1954
 
        echo "$ac_var='\''$ac_val'\''"
1955
 
      done | sort
1956
 
      echo
1957
 
    fi
1958
 
 
1959
 
    if test -s confdefs.h; then
1960
 
      cat <<\_ASBOX
1961
 
## ----------- ##
1962
 
## confdefs.h. ##
1963
 
## ----------- ##
1964
 
_ASBOX
1965
 
      echo
1966
 
      cat confdefs.h
1967
 
      echo
1968
 
    fi
1969
 
    test "$ac_signal" != 0 &&
1970
 
      echo "$as_me: caught signal $ac_signal"
1971
 
    echo "$as_me: exit $exit_status"
1972
 
  } >&5
1973
 
  rm -f core *.core core.conftest.* &&
1974
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1975
 
    exit $exit_status
1976
 
' 0
1977
 
for ac_signal in 1 2 13 15; do
1978
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1979
 
done
1980
 
ac_signal=0
1981
 
 
1982
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1983
 
rm -f -r conftest* confdefs.h
1984
 
 
1985
 
# Predefined preprocessor variables.
1986
 
 
1987
 
cat >>confdefs.h <<_ACEOF
1988
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1989
 
_ACEOF
1990
 
 
1991
 
 
1992
 
cat >>confdefs.h <<_ACEOF
1993
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1994
 
_ACEOF
1995
 
 
1996
 
 
1997
 
cat >>confdefs.h <<_ACEOF
1998
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1999
 
_ACEOF
2000
 
 
2001
 
 
2002
 
cat >>confdefs.h <<_ACEOF
2003
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2004
 
_ACEOF
2005
 
 
2006
 
 
2007
 
cat >>confdefs.h <<_ACEOF
2008
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2009
 
_ACEOF
2010
 
 
2011
 
 
2012
 
# Let the site file select an alternate cache file if it wants to.
2013
 
# Prefer explicitly selected file to automatically selected ones.
2014
 
if test -n "$CONFIG_SITE"; then
2015
 
  set x "$CONFIG_SITE"
2016
 
elif test "x$prefix" != xNONE; then
2017
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
2018
 
else
2019
 
  set x "$ac_default_prefix/share/config.site" \
2020
 
        "$ac_default_prefix/etc/config.site"
2021
 
fi
2022
 
shift
2023
 
for ac_site_file
2024
 
do
2025
 
  if test -r "$ac_site_file"; then
2026
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2027
 
echo "$as_me: loading site script $ac_site_file" >&6;}
2028
 
    sed 's/^/| /' "$ac_site_file" >&5
2029
 
    . "$ac_site_file"
2030
 
  fi
2031
 
done
2032
 
 
2033
 
if test -r "$cache_file"; then
2034
 
  # Some versions of bash will fail to source /dev/null (special
2035
 
  # files actually), so we avoid doing that.
2036
 
  if test -f "$cache_file"; then
2037
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2038
 
echo "$as_me: loading cache $cache_file" >&6;}
2039
 
    case $cache_file in
2040
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2041
 
      *)                      . "./$cache_file";;
2042
 
    esac
2043
 
  fi
2044
 
else
2045
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2046
 
echo "$as_me: creating cache $cache_file" >&6;}
2047
 
  >$cache_file
2048
 
fi
2049
 
 
2050
 
# Check that the precious variables saved in the cache have kept the same
2051
 
# value.
2052
 
ac_cache_corrupted=false
2053
 
for ac_var in $ac_precious_vars; do
2054
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2055
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2056
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2057
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2058
 
  case $ac_old_set,$ac_new_set in
2059
 
    set,)
2060
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2061
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2062
 
      ac_cache_corrupted=: ;;
2063
 
    ,set)
2064
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2065
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2066
 
      ac_cache_corrupted=: ;;
2067
 
    ,);;
2068
 
    *)
2069
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2070
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2071
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2072
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2073
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
2074
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2075
 
echo "$as_me:   current value: $ac_new_val" >&2;}
2076
 
        ac_cache_corrupted=:
2077
 
      fi;;
2078
 
  esac
2079
 
  # Pass precious variables to config.status.
2080
 
  if test "$ac_new_set" = set; then
2081
 
    case $ac_new_val in
2082
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2083
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2084
 
    esac
2085
 
    case " $ac_configure_args " in
2086
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2087
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2088
 
    esac
2089
 
  fi
2090
 
done
2091
 
if $ac_cache_corrupted; then
2092
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2093
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2094
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2095
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2096
 
   { (exit 1); exit 1; }; }
2097
 
fi
2098
 
 
2099
 
 
2100
 
 
2101
 
 
2102
 
 
2103
 
 
2104
 
 
2105
 
 
2106
 
 
2107
 
 
2108
 
 
2109
 
 
2110
 
 
2111
 
 
2112
 
 
2113
 
 
2114
 
 
2115
 
ac_ext=c
2116
 
ac_cpp='$CPP $CPPFLAGS'
2117
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2118
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2119
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2120
 
 
2121
 
 
2122
 
ac_aux_dir=
2123
 
for ac_dir in admin "$srcdir"/admin; do
2124
 
  if test -f "$ac_dir/install-sh"; then
2125
 
    ac_aux_dir=$ac_dir
2126
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2127
 
    break
2128
 
  elif test -f "$ac_dir/install.sh"; then
2129
 
    ac_aux_dir=$ac_dir
2130
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2131
 
    break
2132
 
  elif test -f "$ac_dir/shtool"; then
2133
 
    ac_aux_dir=$ac_dir
2134
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2135
 
    break
2136
 
  fi
2137
 
done
2138
 
if test -z "$ac_aux_dir"; then
2139
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5
2140
 
echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;}
2141
 
   { (exit 1); exit 1; }; }
2142
 
fi
2143
 
 
2144
 
# These three variables are undocumented and unsupported,
2145
 
# and are intended to be withdrawn in a future Autoconf release.
2146
 
# They can cause serious problems if a builder's source tree is in a directory
2147
 
# whose full name contains unusual characters.
2148
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2149
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2150
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2151
 
 
2152
 
 
2153
 
 
2154
 
unset CDPATH
2155
 
 
2156
 
# Make sure we can run config.sub.
2157
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2158
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2159
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2160
 
   { (exit 1); exit 1; }; }
2161
 
 
2162
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2163
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2164
 
if test "${ac_cv_build+set}" = set; then
2165
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2166
 
else
2167
 
  ac_build_alias=$build_alias
2168
 
test "x$ac_build_alias" = x &&
2169
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2170
 
test "x$ac_build_alias" = x &&
2171
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2172
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2173
 
   { (exit 1); exit 1; }; }
2174
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2175
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2176
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2177
 
   { (exit 1); exit 1; }; }
2178
 
 
2179
 
fi
2180
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2181
 
echo "${ECHO_T}$ac_cv_build" >&6; }
2182
 
case $ac_cv_build in
2183
 
*-*-*) ;;
2184
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2185
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2186
 
   { (exit 1); exit 1; }; };;
2187
 
esac
2188
 
build=$ac_cv_build
2189
 
ac_save_IFS=$IFS; IFS='-'
2190
 
set x $ac_cv_build
2191
 
shift
2192
 
build_cpu=$1
2193
 
build_vendor=$2
2194
 
shift; shift
2195
 
# Remember, the first character of IFS is used to create $*,
2196
 
# except with old shells:
2197
 
build_os=$*
2198
 
IFS=$ac_save_IFS
2199
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2200
 
 
2201
 
 
2202
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2203
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2204
 
if test "${ac_cv_host+set}" = set; then
2205
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2206
 
else
2207
 
  if test "x$host_alias" = x; then
2208
 
  ac_cv_host=$ac_cv_build
2209
 
else
2210
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2211
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2212
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2213
 
   { (exit 1); exit 1; }; }
2214
 
fi
2215
 
 
2216
 
fi
2217
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2218
 
echo "${ECHO_T}$ac_cv_host" >&6; }
2219
 
case $ac_cv_host in
2220
 
*-*-*) ;;
2221
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2222
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2223
 
   { (exit 1); exit 1; }; };;
2224
 
esac
2225
 
host=$ac_cv_host
2226
 
ac_save_IFS=$IFS; IFS='-'
2227
 
set x $ac_cv_host
2228
 
shift
2229
 
host_cpu=$1
2230
 
host_vendor=$2
2231
 
shift; shift
2232
 
# Remember, the first character of IFS is used to create $*,
2233
 
# except with old shells:
2234
 
host_os=$*
2235
 
IFS=$ac_save_IFS
2236
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2237
 
 
2238
 
 
2239
 
{ echo "$as_me:$LINENO: checking target system type" >&5
2240
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2241
 
if test "${ac_cv_target+set}" = set; then
2242
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2243
 
else
2244
 
  if test "x$target_alias" = x; then
2245
 
  ac_cv_target=$ac_cv_host
2246
 
else
2247
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2248
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2249
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2250
 
   { (exit 1); exit 1; }; }
2251
 
fi
2252
 
 
2253
 
fi
2254
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2255
 
echo "${ECHO_T}$ac_cv_target" >&6; }
2256
 
case $ac_cv_target in
2257
 
*-*-*) ;;
2258
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2259
 
echo "$as_me: error: invalid value of canonical target" >&2;}
2260
 
   { (exit 1); exit 1; }; };;
2261
 
esac
2262
 
target=$ac_cv_target
2263
 
ac_save_IFS=$IFS; IFS='-'
2264
 
set x $ac_cv_target
2265
 
shift
2266
 
target_cpu=$1
2267
 
target_vendor=$2
2268
 
shift; shift
2269
 
# Remember, the first character of IFS is used to create $*,
2270
 
# except with old shells:
2271
 
target_os=$*
2272
 
IFS=$ac_save_IFS
2273
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2274
 
 
2275
 
 
2276
 
# The aliases save the names the user supplied, while $host etc.
2277
 
# will get canonicalized.
2278
 
test -n "$target_alias" &&
2279
 
  test "$program_prefix$program_suffix$program_transform_name" = \
2280
 
    NONENONEs,x,x, &&
2281
 
  program_prefix=${target_alias}-
2282
 
test "$program_prefix" != NONE &&
2283
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2284
 
# Use a double $ so make ignores it.
2285
 
test "$program_suffix" != NONE &&
2286
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2287
 
# Double any \ or $.  echo might interpret backslashes.
2288
 
# By default was `s,x,x', remove it if useless.
2289
 
cat <<\_ACEOF >conftest.sed
2290
 
s/[\\$]/&&/g;s/;s,x,x,$//
2291
 
_ACEOF
2292
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2293
 
rm -f conftest.sed
2294
 
 
2295
 
 
2296
 
am__api_version="1.9"
2297
 
 
2298
 
 
2299
 
          test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
2300
 
  test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
2301
 
  test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
2302
 
  # Find a good install program.  We prefer a C program (faster),
2303
 
# so one script is as good as another.  But avoid the broken or
2304
 
# incompatible versions:
2305
 
# SysV /etc/install, /usr/sbin/install
2306
 
# SunOS /usr/etc/install
2307
 
# IRIX /sbin/install
2308
 
# AIX /bin/install
2309
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2310
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2311
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2312
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2313
 
# OS/2's system install, which has a completely different semantic
2314
 
# ./install, which can be erroneously created by make from ./install.sh.
2315
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2316
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2317
 
if test -z "$INSTALL"; then
2318
 
if test "${ac_cv_path_install+set}" = set; then
2319
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2320
 
else
2321
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322
 
for as_dir in $PATH
2323
 
do
2324
 
  IFS=$as_save_IFS
2325
 
  test -z "$as_dir" && as_dir=.
2326
 
  # Account for people who put trailing slashes in PATH elements.
2327
 
case $as_dir/ in
2328
 
  ./ | .// | /cC/* | \
2329
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2330
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2331
 
  /usr/ucb/* ) ;;
2332
 
  *)
2333
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2334
 
    # Don't use installbsd from OSF since it installs stuff as root
2335
 
    # by default.
2336
 
    for ac_prog in ginstall scoinst install; do
2337
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2338
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2339
 
          if test $ac_prog = install &&
2340
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2341
 
            # AIX install.  It has an incompatible calling convention.
2342
 
            :
2343
 
          elif test $ac_prog = install &&
2344
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2345
 
            # program-specific install script used by HP pwplus--don't use.
2346
 
            :
2347
 
          else
2348
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2349
 
            break 3
2350
 
          fi
2351
 
        fi
2352
 
      done
2353
 
    done
2354
 
    ;;
2355
 
esac
2356
 
done
2357
 
IFS=$as_save_IFS
2358
 
 
2359
 
 
2360
 
fi
2361
 
  if test "${ac_cv_path_install+set}" = set; then
2362
 
    INSTALL=$ac_cv_path_install
2363
 
  else
2364
 
    # As a last resort, use the slow shell script.  Don't cache a
2365
 
    # value for INSTALL within a source directory, because that will
2366
 
    # break other packages using the cache if that directory is
2367
 
    # removed, or if the value is a relative name.
2368
 
    INSTALL=$ac_install_sh
2369
 
  fi
2370
 
fi
2371
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2372
 
echo "${ECHO_T}$INSTALL" >&6; }
2373
 
 
2374
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2375
 
# It thinks the first close brace ends the variable substitution.
2376
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2377
 
 
2378
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2379
 
 
2380
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2381
 
 
2382
 
 
2383
 
  if test -z "$kde_save_INSTALL_given" ; then
2384
 
    # OK, user hasn't given any INSTALL, autoconf found one for us
2385
 
    # now we test, if it supports the -p flag
2386
 
    { echo "$as_me:$LINENO: checking for -p flag to install" >&5
2387
 
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6; }
2388
 
    rm -f confinst.$$.* > /dev/null 2>&1
2389
 
    echo "Testtest" > confinst.$$.orig
2390
 
    ac_res=no
2391
 
    if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
2392
 
      if test -f confinst.$$.new ; then
2393
 
        # OK, -p seems to do no harm to install
2394
 
        INSTALL="${INSTALL} -p"
2395
 
        ac_res=yes
2396
 
      fi
2397
 
    fi
2398
 
    rm -f confinst.$$.*
2399
 
    { echo "$as_me:$LINENO: result: $ac_res" >&5
2400
 
echo "${ECHO_T}$ac_res" >&6; }
2401
 
  fi
2402
 
 
2403
 
  if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
2404
 
    INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
2405
 
  fi
2406
 
  if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
2407
 
    INSTALL_SCRIPT='${INSTALL}'
2408
 
  fi
2409
 
 
2410
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2411
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2412
 
# Just in case
2413
 
sleep 1
2414
 
echo timestamp > conftest.file
2415
 
# Do `set' in a subshell so we don't clobber the current shell's
2416
 
# arguments.  Must try -L first in case configure is actually a
2417
 
# symlink; some systems play weird games with the mod time of symlinks
2418
 
# (eg FreeBSD returns the mod time of the symlink's containing
2419
 
# directory).
2420
 
if (
2421
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2422
 
   if test "$*" = "X"; then
2423
 
      # -L didn't work.
2424
 
      set X `ls -t $srcdir/configure conftest.file`
2425
 
   fi
2426
 
   rm -f conftest.file
2427
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2428
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2429
 
 
2430
 
      # If neither matched, then we have a broken ls.  This can happen
2431
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2432
 
      # broken ls alias from the environment.  This has actually
2433
 
      # happened.  Such a system could not be considered "sane".
2434
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2435
 
alias in your environment" >&5
2436
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2437
 
alias in your environment" >&2;}
2438
 
   { (exit 1); exit 1; }; }
2439
 
   fi
2440
 
 
2441
 
   test "$2" = conftest.file
2442
 
   )
2443
 
then
2444
 
   # Ok.
2445
 
   :
2446
 
else
2447
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2448
 
Check your system clock" >&5
2449
 
echo "$as_me: error: newly created file is older than distributed files!
2450
 
Check your system clock" >&2;}
2451
 
   { (exit 1); exit 1; }; }
2452
 
fi
2453
 
{ echo "$as_me:$LINENO: result: yes" >&5
2454
 
echo "${ECHO_T}yes" >&6; }
2455
 
# expand $ac_aux_dir to an absolute path
2456
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2457
 
 
2458
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2459
 
# Use eval to expand $SHELL
2460
 
if eval "$MISSING --run true"; then
2461
 
  am_missing_run="$MISSING --run "
2462
 
else
2463
 
  am_missing_run=
2464
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2465
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2466
 
fi
2467
 
 
2468
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2469
 
  # We used to keeping the `.' as first argument, in order to
2470
 
  # allow $(mkdir_p) to be used without argument.  As in
2471
 
  #   $(mkdir_p) $(somedir)
2472
 
  # where $(somedir) is conditionally defined.  However this is wrong
2473
 
  # for two reasons:
2474
 
  #  1. if the package is installed by a user who cannot write `.'
2475
 
  #     make install will fail,
2476
 
  #  2. the above comment should most certainly read
2477
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2478
 
  #     so it does not work when $(somedir) is undefined and
2479
 
  #     $(DESTDIR) is not.
2480
 
  #  To support the latter case, we have to write
2481
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2482
 
  #  so the `.' trick is pointless.
2483
 
  mkdir_p='mkdir -p --'
2484
 
else
2485
 
  # On NextStep and OpenStep, the `mkdir' command does not
2486
 
  # recognize any option.  It will interpret all options as
2487
 
  # directories to create, and then abort because `.' already
2488
 
  # exists.
2489
 
  for d in ./-p ./--version;
2490
 
  do
2491
 
    test -d $d && rmdir $d
2492
 
  done
2493
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2494
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2495
 
    mkdir_p='$(mkinstalldirs)'
2496
 
  else
2497
 
    mkdir_p='$(install_sh) -d'
2498
 
  fi
2499
 
fi
2500
 
 
2501
 
for ac_prog in gawk mawk nawk awk
2502
 
do
2503
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2504
 
set dummy $ac_prog; ac_word=$2
2505
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2506
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2507
 
if test "${ac_cv_prog_AWK+set}" = set; then
2508
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2509
 
else
2510
 
  if test -n "$AWK"; then
2511
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2512
 
else
2513
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514
 
for as_dir in $PATH
2515
 
do
2516
 
  IFS=$as_save_IFS
2517
 
  test -z "$as_dir" && as_dir=.
2518
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2519
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2520
 
    ac_cv_prog_AWK="$ac_prog"
2521
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2522
 
    break 2
2523
 
  fi
2524
 
done
2525
 
done
2526
 
IFS=$as_save_IFS
2527
 
 
2528
 
fi
2529
 
fi
2530
 
AWK=$ac_cv_prog_AWK
2531
 
if test -n "$AWK"; then
2532
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2533
 
echo "${ECHO_T}$AWK" >&6; }
2534
 
else
2535
 
  { echo "$as_me:$LINENO: result: no" >&5
2536
 
echo "${ECHO_T}no" >&6; }
2537
 
fi
2538
 
 
2539
 
 
2540
 
  test -n "$AWK" && break
2541
 
done
2542
 
 
2543
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2544
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2545
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2546
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2547
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2548
 
else
2549
 
  cat >conftest.make <<\_ACEOF
2550
 
SHELL = /bin/sh
2551
 
all:
2552
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2553
 
_ACEOF
2554
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2555
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2556
 
  *@@@%%%=?*=@@@%%%*)
2557
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2558
 
  *)
2559
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2560
 
esac
2561
 
rm -f conftest.make
2562
 
fi
2563
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2564
 
  { echo "$as_me:$LINENO: result: yes" >&5
2565
 
echo "${ECHO_T}yes" >&6; }
2566
 
  SET_MAKE=
2567
 
else
2568
 
  { echo "$as_me:$LINENO: result: no" >&5
2569
 
echo "${ECHO_T}no" >&6; }
2570
 
  SET_MAKE="MAKE=${MAKE-make}"
2571
 
fi
2572
 
 
2573
 
rm -rf .tst 2>/dev/null
2574
 
mkdir .tst 2>/dev/null
2575
 
if test -d .tst; then
2576
 
  am__leading_dot=.
2577
 
else
2578
 
  am__leading_dot=_
2579
 
fi
2580
 
rmdir .tst 2>/dev/null
2581
 
 
2582
 
# test to see if srcdir already configured
2583
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2584
 
   test -f $srcdir/config.status; then
2585
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2586
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2587
 
   { (exit 1); exit 1; }; }
2588
 
fi
2589
 
 
2590
 
# test whether we have cygpath
2591
 
if test -z "$CYGPATH_W"; then
2592
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2593
 
    CYGPATH_W='cygpath -w'
2594
 
  else
2595
 
    CYGPATH_W=echo
2596
 
  fi
2597
 
fi
2598
 
 
2599
 
 
2600
 
# Define the identity of the package.
2601
 
 PACKAGE=kbibtex
2602
 
 VERSION=0.2.3.90
2603
 
 
2604
 
 
2605
 
cat >>confdefs.h <<_ACEOF
2606
 
#define PACKAGE "$PACKAGE"
2607
 
_ACEOF
2608
 
 
2609
 
 
2610
 
cat >>confdefs.h <<_ACEOF
2611
 
#define VERSION "$VERSION"
2612
 
_ACEOF
2613
 
 
2614
 
# Some tools Automake needs.
2615
 
 
2616
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2617
 
 
2618
 
 
2619
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2620
 
 
2621
 
 
2622
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2623
 
 
2624
 
 
2625
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2626
 
 
2627
 
 
2628
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2629
 
 
2630
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2631
 
 
2632
 
# Installed binaries are usually stripped using `strip' when the user
2633
 
# run `make install-strip'.  However `strip' might not be the right
2634
 
# tool to use in cross-compilation environments, therefore Automake
2635
 
# will honor the `STRIP' environment variable to overrule this program.
2636
 
if test "$cross_compiling" != no; then
2637
 
  if test -n "$ac_tool_prefix"; then
2638
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2639
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2640
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2641
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2642
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2643
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2644
 
else
2645
 
  if test -n "$STRIP"; then
2646
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2647
 
else
2648
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649
 
for as_dir in $PATH
2650
 
do
2651
 
  IFS=$as_save_IFS
2652
 
  test -z "$as_dir" && as_dir=.
2653
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2654
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2656
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2657
 
    break 2
2658
 
  fi
2659
 
done
2660
 
done
2661
 
IFS=$as_save_IFS
2662
 
 
2663
 
fi
2664
 
fi
2665
 
STRIP=$ac_cv_prog_STRIP
2666
 
if test -n "$STRIP"; then
2667
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2668
 
echo "${ECHO_T}$STRIP" >&6; }
2669
 
else
2670
 
  { echo "$as_me:$LINENO: result: no" >&5
2671
 
echo "${ECHO_T}no" >&6; }
2672
 
fi
2673
 
 
2674
 
 
2675
 
fi
2676
 
if test -z "$ac_cv_prog_STRIP"; then
2677
 
  ac_ct_STRIP=$STRIP
2678
 
  # Extract the first word of "strip", so it can be a program name with args.
2679
 
set dummy strip; ac_word=$2
2680
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2681
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2682
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2683
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2684
 
else
2685
 
  if test -n "$ac_ct_STRIP"; then
2686
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2687
 
else
2688
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689
 
for as_dir in $PATH
2690
 
do
2691
 
  IFS=$as_save_IFS
2692
 
  test -z "$as_dir" && as_dir=.
2693
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2694
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695
 
    ac_cv_prog_ac_ct_STRIP="strip"
2696
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2697
 
    break 2
2698
 
  fi
2699
 
done
2700
 
done
2701
 
IFS=$as_save_IFS
2702
 
 
2703
 
fi
2704
 
fi
2705
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2706
 
if test -n "$ac_ct_STRIP"; then
2707
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2708
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2709
 
else
2710
 
  { echo "$as_me:$LINENO: result: no" >&5
2711
 
echo "${ECHO_T}no" >&6; }
2712
 
fi
2713
 
 
2714
 
  if test "x$ac_ct_STRIP" = x; then
2715
 
    STRIP=":"
2716
 
  else
2717
 
    case $cross_compiling:$ac_tool_warned in
2718
 
yes:)
2719
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2720
 
whose name does not start with the host triplet.  If you think this
2721
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2722
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2723
 
whose name does not start with the host triplet.  If you think this
2724
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2725
 
ac_tool_warned=yes ;;
2726
 
esac
2727
 
    STRIP=$ac_ct_STRIP
2728
 
  fi
2729
 
else
2730
 
  STRIP="$ac_cv_prog_STRIP"
2731
 
fi
2732
 
 
2733
 
fi
2734
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2735
 
 
2736
 
# We need awk for the "check" target.  The system "awk" is bad on
2737
 
# some platforms.
2738
 
# Always define AMTAR for backward compatibility.
2739
 
 
2740
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2741
 
 
2742
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2743
 
 
2744
 
 
2745
 
 
2746
 
 
2747
 
 
2748
 
 
2749
 
  unset CDPATH
2750
 
 
2751
 
 
2752
 
 
2753
 
    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"
2754
 
    test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
2755
 
    if test -n "$KDEDIRS"; then
2756
 
       kde_save_IFS=$IFS
2757
 
       IFS=:
2758
 
       for dir in $KDEDIRS; do
2759
 
            kde_default_bindirs="$dir/bin $kde_default_bindirs "
2760
 
       done
2761
 
       IFS=$kde_save_IFS
2762
 
    fi
2763
 
 
2764
 
  if test "x$prefix" = "xNONE"; then
2765
 
 
2766
 
   { echo "$as_me:$LINENO: checking for kde-config" >&5
2767
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2768
 
   if test -n "$KDECONFIG"; then
2769
 
        kde_cv_path="$KDECONFIG";
2770
 
   else
2771
 
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2772
 
 
2773
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2775
 
else
2776
 
 
2777
 
        kde_cv_path="NONE"
2778
 
        kde_save_IFS=$IFS
2779
 
        IFS=':'
2780
 
        dirs=""
2781
 
        for dir in $PATH; do
2782
 
          dirs="$dirs $dir"
2783
 
        done
2784
 
        if test -z "prepend"; then        dirs="$kde_default_bindirs $dirs"
2785
 
        else      dirs="$dirs $kde_default_bindirs"
2786
 
        fi
2787
 
        IFS=$kde_save_IFS
2788
 
 
2789
 
        for dir in $dirs; do
2790
 
          if test -x "$dir/kde-config"; then
2791
 
            if test -n ""
2792
 
            then
2793
 
              evalstr="$dir/kde-config  2>&1 "
2794
 
              if eval $evalstr; then
2795
 
                kde_cv_path="$dir/kde-config"
2796
 
                break
2797
 
              fi
2798
 
            else
2799
 
                kde_cv_path="$dir/kde-config"
2800
 
                break
2801
 
            fi
2802
 
          fi
2803
 
        done
2804
 
 
2805
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
2806
 
 
2807
 
 
2808
 
fi
2809
 
 
2810
 
 
2811
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2812
 
 
2813
 
   fi
2814
 
 
2815
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2816
 
      { echo "$as_me:$LINENO: result: not found" >&5
2817
 
echo "${ECHO_T}not found" >&6; }
2818
 
 
2819
 
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2820
 
Please check whether you installed KDE correctly.
2821
 
" >&5
2822
 
echo "$as_me: error: The important program kde-config was not found!
2823
 
Please check whether you installed KDE correctly.
2824
 
" >&2;}
2825
 
   { (exit 1); exit 1; }; }
2826
 
 
2827
 
   else
2828
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2829
 
echo "${ECHO_T}$kde_cv_path" >&6; }
2830
 
      KDECONFIG=$kde_cv_path
2831
 
 
2832
 
   fi
2833
 
 
2834
 
  else
2835
 
        kde_save_PATH="$PATH"
2836
 
    PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2837
 
 
2838
 
   { echo "$as_me:$LINENO: checking for kde-config" >&5
2839
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2840
 
   if test -n "$KDECONFIG"; then
2841
 
        kde_cv_path="$KDECONFIG";
2842
 
   else
2843
 
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2844
 
 
2845
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2846
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2847
 
else
2848
 
 
2849
 
        kde_cv_path="NONE"
2850
 
        kde_save_IFS=$IFS
2851
 
        IFS=':'
2852
 
        dirs=""
2853
 
        for dir in $PATH; do
2854
 
          dirs="$dirs $dir"
2855
 
        done
2856
 
        if test -z "prepend"; then        dirs="$kde_default_bindirs $dirs"
2857
 
        else      dirs="$dirs $kde_default_bindirs"
2858
 
        fi
2859
 
        IFS=$kde_save_IFS
2860
 
 
2861
 
        for dir in $dirs; do
2862
 
          if test -x "$dir/kde-config"; then
2863
 
            if test -n ""
2864
 
            then
2865
 
              evalstr="$dir/kde-config  2>&1 "
2866
 
              if eval $evalstr; then
2867
 
                kde_cv_path="$dir/kde-config"
2868
 
                break
2869
 
              fi
2870
 
            else
2871
 
                kde_cv_path="$dir/kde-config"
2872
 
                break
2873
 
            fi
2874
 
          fi
2875
 
        done
2876
 
 
2877
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
2878
 
 
2879
 
 
2880
 
fi
2881
 
 
2882
 
 
2883
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2884
 
 
2885
 
   fi
2886
 
 
2887
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2888
 
      { echo "$as_me:$LINENO: result: not found" >&5
2889
 
echo "${ECHO_T}not found" >&6; }
2890
 
 
2891
 
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2892
 
Please check whether you installed KDE correctly.
2893
 
" >&5
2894
 
echo "$as_me: error: The important program kde-config was not found!
2895
 
Please check whether you installed KDE correctly.
2896
 
" >&2;}
2897
 
   { (exit 1); exit 1; }; }
2898
 
 
2899
 
   else
2900
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2901
 
echo "${ECHO_T}$kde_cv_path" >&6; }
2902
 
      KDECONFIG=$kde_cv_path
2903
 
 
2904
 
   fi
2905
 
 
2906
 
    PATH="$kde_save_PATH"
2907
 
  fi
2908
 
 
2909
 
  kde_libs_prefix=`$KDECONFIG --prefix`
2910
 
  if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
2911
 
       { { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2912
 
                    This means it has been moved since you installed it.
2913
 
                    This won't work. Please recompile kdelibs for the new prefix.
2914
 
                    " >&5
2915
 
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2916
 
                    This means it has been moved since you installed it.
2917
 
                    This won't work. Please recompile kdelibs for the new prefix.
2918
 
                    " >&2;}
2919
 
   { (exit 1); exit 1; }; }
2920
 
  fi
2921
 
  kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2922
 
 
2923
 
  { echo "$as_me:$LINENO: checking where to install" >&5
2924
 
echo $ECHO_N "checking where to install... $ECHO_C" >&6; }
2925
 
  if test "x$prefix" = "xNONE"; then
2926
 
    prefix=$kde_libs_prefix
2927
 
    { echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2928
 
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6; }
2929
 
  else
2930
 
        given_prefix=$prefix
2931
 
    { echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2932
 
echo "${ECHO_T}$prefix (as requested)" >&6; }
2933
 
  fi
2934
 
 
2935
 
  # And delete superfluous '/' to make compares easier
2936
 
  prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2937
 
  exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2938
 
  given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2939
 
 
2940
 
 
2941
 
 
2942
 
 
2943
 
 
2944
 
 
2945
 
    # Check whether --enable-fast-perl was given.
2946
 
if test "${enable_fast_perl+set}" = set; then
2947
 
  enableval=$enable_fast_perl; with_fast_perl=$enableval
2948
 
else
2949
 
  with_fast_perl=yes
2950
 
fi
2951
 
 
2952
 
 
2953
 
 
2954
 
  val=
2955
 
  if test -f $srcdir/configure.files ; then
2956
 
    val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
2957
 
  fi
2958
 
  CONF_FILES=
2959
 
  if test -n "$val" ; then
2960
 
    for i in $val ; do
2961
 
      CONF_FILES="$CONF_FILES $i"
2962
 
    done
2963
 
  fi
2964
 
 
2965
 
 
2966
 
 
2967
 
 
2968
 
ac_config_headers="$ac_config_headers config.h"
2969
 
 
2970
 
DEPDIR="${am__leading_dot}deps"
2971
 
 
2972
 
ac_config_commands="$ac_config_commands depfiles"
2973
 
 
2974
 
 
2975
 
am_make=${MAKE-make}
2976
 
cat > confinc << 'END'
2977
 
am__doit:
2978
 
        @echo done
2979
 
.PHONY: am__doit
2980
 
END
2981
 
# If we don't find an include directive, just comment out the code.
2982
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2983
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2984
 
am__include="#"
2985
 
am__quote=
2986
 
_am_result=none
2987
 
# First try GNU make style include.
2988
 
echo "include confinc" > confmf
2989
 
# We grep out `Entering directory' and `Leaving directory'
2990
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2991
 
# In particular we don't look at `^make:' because GNU make might
2992
 
# be invoked under some other name (usually "gmake"), in which
2993
 
# case it prints its new name instead of `make'.
2994
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2995
 
   am__include=include
2996
 
   am__quote=
2997
 
   _am_result=GNU
2998
 
fi
2999
 
# Now try BSD make style include.
3000
 
if test "$am__include" = "#"; then
3001
 
   echo '.include "confinc"' > confmf
3002
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3003
 
      am__include=.include
3004
 
      am__quote="\""
3005
 
      _am_result=BSD
3006
 
   fi
3007
 
fi
3008
 
 
3009
 
 
3010
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3011
 
echo "${ECHO_T}$_am_result" >&6; }
3012
 
rm -f confinc confmf
3013
 
 
3014
 
# Check whether --enable-dependency-tracking was given.
3015
 
if test "${enable_dependency_tracking+set}" = set; then
3016
 
  enableval=$enable_dependency_tracking;
3017
 
fi
3018
 
 
3019
 
if test "x$enable_dependency_tracking" != xno; then
3020
 
  am_depcomp="$ac_aux_dir/depcomp"
3021
 
  AMDEPBACKSLASH='\'
3022
 
fi
3023
 
 
3024
 
 
3025
 
if test "x$enable_dependency_tracking" != xno; then
3026
 
  AMDEP_TRUE=
3027
 
  AMDEP_FALSE='#'
3028
 
else
3029
 
  AMDEP_TRUE='#'
3030
 
  AMDEP_FALSE=
3031
 
fi
3032
 
 
3033
 
 
3034
 
 
3035
 
 
3036
 
 
3037
 
 
3038
 
  # Check whether --enable-debug was given.
3039
 
if test "${enable_debug+set}" = set; then
3040
 
  enableval=$enable_debug;
3041
 
    case $enableval in
3042
 
      yes)
3043
 
        kde_use_debug_code="yes"
3044
 
        kde_use_debug_define=no
3045
 
        ;;
3046
 
      full)
3047
 
        kde_use_debug_code="full"
3048
 
        kde_use_debug_define=no
3049
 
        ;;
3050
 
      *)
3051
 
        kde_use_debug_code="no"
3052
 
        kde_use_debug_define=yes
3053
 
        ;;
3054
 
    esac
3055
 
 
3056
 
else
3057
 
  kde_use_debug_code="no"
3058
 
      kde_use_debug_define=no
3059
 
 
3060
 
fi
3061
 
 
3062
 
 
3063
 
    # Check whether --enable-dummyoption was given.
3064
 
if test "${enable_dummyoption+set}" = set; then
3065
 
  enableval=$enable_dummyoption;
3066
 
fi
3067
 
 
3068
 
 
3069
 
  # Check whether --enable-strict was given.
3070
 
if test "${enable_strict+set}" = set; then
3071
 
  enableval=$enable_strict;
3072
 
    if test $enableval = "no"; then
3073
 
         kde_use_strict_options="no"
3074
 
       else
3075
 
         kde_use_strict_options="yes"
3076
 
    fi
3077
 
 
3078
 
else
3079
 
  kde_use_strict_options="no"
3080
 
fi
3081
 
 
3082
 
 
3083
 
  # Check whether --enable-warnings was given.
3084
 
if test "${enable_warnings+set}" = set; then
3085
 
  enableval=$enable_warnings;
3086
 
    if test $enableval = "no"; then
3087
 
         kde_use_warnings="no"
3088
 
       else
3089
 
         kde_use_warnings="yes"
3090
 
    fi
3091
 
 
3092
 
else
3093
 
  kde_use_warnings="yes"
3094
 
fi
3095
 
 
3096
 
 
3097
 
    if test "$kde_use_debug_code" != "no"; then
3098
 
    kde_use_warnings=yes
3099
 
  fi
3100
 
 
3101
 
  # Check whether --enable-profile was given.
3102
 
if test "${enable_profile+set}" = set; then
3103
 
  enableval=$enable_profile; kde_use_profiling=$enableval
3104
 
else
3105
 
  kde_use_profiling="no"
3106
 
 
3107
 
fi
3108
 
 
3109
 
 
3110
 
    CFLAGS=" $CFLAGS"
3111
 
 
3112
 
  ac_ext=c
3113
 
ac_cpp='$CPP $CPPFLAGS'
3114
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3115
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3116
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3117
 
if test -n "$ac_tool_prefix"; then
3118
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3119
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3120
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3121
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3122
 
if test "${ac_cv_prog_CC+set}" = set; then
3123
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3124
 
else
3125
 
  if test -n "$CC"; then
3126
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3127
 
else
3128
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129
 
for as_dir in $PATH
3130
 
do
3131
 
  IFS=$as_save_IFS
3132
 
  test -z "$as_dir" && as_dir=.
3133
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3134
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3135
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3136
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3137
 
    break 2
3138
 
  fi
3139
 
done
3140
 
done
3141
 
IFS=$as_save_IFS
3142
 
 
3143
 
fi
3144
 
fi
3145
 
CC=$ac_cv_prog_CC
3146
 
if test -n "$CC"; then
3147
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3148
 
echo "${ECHO_T}$CC" >&6; }
3149
 
else
3150
 
  { echo "$as_me:$LINENO: result: no" >&5
3151
 
echo "${ECHO_T}no" >&6; }
3152
 
fi
3153
 
 
3154
 
 
3155
 
fi
3156
 
if test -z "$ac_cv_prog_CC"; then
3157
 
  ac_ct_CC=$CC
3158
 
  # Extract the first word of "gcc", so it can be a program name with args.
3159
 
set dummy gcc; ac_word=$2
3160
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3161
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3162
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3163
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3164
 
else
3165
 
  if test -n "$ac_ct_CC"; then
3166
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3167
 
else
3168
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169
 
for as_dir in $PATH
3170
 
do
3171
 
  IFS=$as_save_IFS
3172
 
  test -z "$as_dir" && as_dir=.
3173
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3174
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175
 
    ac_cv_prog_ac_ct_CC="gcc"
3176
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3177
 
    break 2
3178
 
  fi
3179
 
done
3180
 
done
3181
 
IFS=$as_save_IFS
3182
 
 
3183
 
fi
3184
 
fi
3185
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3186
 
if test -n "$ac_ct_CC"; then
3187
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3188
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
3189
 
else
3190
 
  { echo "$as_me:$LINENO: result: no" >&5
3191
 
echo "${ECHO_T}no" >&6; }
3192
 
fi
3193
 
 
3194
 
  if test "x$ac_ct_CC" = x; then
3195
 
    CC=""
3196
 
  else
3197
 
    case $cross_compiling:$ac_tool_warned in
3198
 
yes:)
3199
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3200
 
whose name does not start with the host triplet.  If you think this
3201
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3202
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3203
 
whose name does not start with the host triplet.  If you think this
3204
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3205
 
ac_tool_warned=yes ;;
3206
 
esac
3207
 
    CC=$ac_ct_CC
3208
 
  fi
3209
 
else
3210
 
  CC="$ac_cv_prog_CC"
3211
 
fi
3212
 
 
3213
 
if test -z "$CC"; then
3214
 
          if test -n "$ac_tool_prefix"; then
3215
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3216
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3217
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3218
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3219
 
if test "${ac_cv_prog_CC+set}" = set; then
3220
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3221
 
else
3222
 
  if test -n "$CC"; then
3223
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3224
 
else
3225
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226
 
for as_dir in $PATH
3227
 
do
3228
 
  IFS=$as_save_IFS
3229
 
  test -z "$as_dir" && as_dir=.
3230
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3231
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3232
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3233
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3234
 
    break 2
3235
 
  fi
3236
 
done
3237
 
done
3238
 
IFS=$as_save_IFS
3239
 
 
3240
 
fi
3241
 
fi
3242
 
CC=$ac_cv_prog_CC
3243
 
if test -n "$CC"; then
3244
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3245
 
echo "${ECHO_T}$CC" >&6; }
3246
 
else
3247
 
  { echo "$as_me:$LINENO: result: no" >&5
3248
 
echo "${ECHO_T}no" >&6; }
3249
 
fi
3250
 
 
3251
 
 
3252
 
  fi
3253
 
fi
3254
 
if test -z "$CC"; then
3255
 
  # Extract the first word of "cc", so it can be a program name with args.
3256
 
set dummy cc; ac_word=$2
3257
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3258
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3259
 
if test "${ac_cv_prog_CC+set}" = set; then
3260
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3261
 
else
3262
 
  if test -n "$CC"; then
3263
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3264
 
else
3265
 
  ac_prog_rejected=no
3266
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267
 
for as_dir in $PATH
3268
 
do
3269
 
  IFS=$as_save_IFS
3270
 
  test -z "$as_dir" && as_dir=.
3271
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3272
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3273
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3274
 
       ac_prog_rejected=yes
3275
 
       continue
3276
 
     fi
3277
 
    ac_cv_prog_CC="cc"
3278
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3279
 
    break 2
3280
 
  fi
3281
 
done
3282
 
done
3283
 
IFS=$as_save_IFS
3284
 
 
3285
 
if test $ac_prog_rejected = yes; then
3286
 
  # We found a bogon in the path, so make sure we never use it.
3287
 
  set dummy $ac_cv_prog_CC
3288
 
  shift
3289
 
  if test $# != 0; then
3290
 
    # We chose a different compiler from the bogus one.
3291
 
    # However, it has the same basename, so the bogon will be chosen
3292
 
    # first if we set CC to just the basename; use the full file name.
3293
 
    shift
3294
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3295
 
  fi
3296
 
fi
3297
 
fi
3298
 
fi
3299
 
CC=$ac_cv_prog_CC
3300
 
if test -n "$CC"; then
3301
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3302
 
echo "${ECHO_T}$CC" >&6; }
3303
 
else
3304
 
  { echo "$as_me:$LINENO: result: no" >&5
3305
 
echo "${ECHO_T}no" >&6; }
3306
 
fi
3307
 
 
3308
 
 
3309
 
fi
3310
 
if test -z "$CC"; then
3311
 
  if test -n "$ac_tool_prefix"; then
3312
 
  for ac_prog in cl.exe
3313
 
  do
3314
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3315
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3316
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3317
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3318
 
if test "${ac_cv_prog_CC+set}" = set; then
3319
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3320
 
else
3321
 
  if test -n "$CC"; then
3322
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3323
 
else
3324
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325
 
for as_dir in $PATH
3326
 
do
3327
 
  IFS=$as_save_IFS
3328
 
  test -z "$as_dir" && as_dir=.
3329
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3330
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3331
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3332
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3333
 
    break 2
3334
 
  fi
3335
 
done
3336
 
done
3337
 
IFS=$as_save_IFS
3338
 
 
3339
 
fi
3340
 
fi
3341
 
CC=$ac_cv_prog_CC
3342
 
if test -n "$CC"; then
3343
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3344
 
echo "${ECHO_T}$CC" >&6; }
3345
 
else
3346
 
  { echo "$as_me:$LINENO: result: no" >&5
3347
 
echo "${ECHO_T}no" >&6; }
3348
 
fi
3349
 
 
3350
 
 
3351
 
    test -n "$CC" && break
3352
 
  done
3353
 
fi
3354
 
if test -z "$CC"; then
3355
 
  ac_ct_CC=$CC
3356
 
  for ac_prog in cl.exe
3357
 
do
3358
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3359
 
set dummy $ac_prog; ac_word=$2
3360
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3361
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3362
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3363
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3364
 
else
3365
 
  if test -n "$ac_ct_CC"; then
3366
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3367
 
else
3368
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369
 
for as_dir in $PATH
3370
 
do
3371
 
  IFS=$as_save_IFS
3372
 
  test -z "$as_dir" && as_dir=.
3373
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3374
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3375
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3376
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3377
 
    break 2
3378
 
  fi
3379
 
done
3380
 
done
3381
 
IFS=$as_save_IFS
3382
 
 
3383
 
fi
3384
 
fi
3385
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3386
 
if test -n "$ac_ct_CC"; then
3387
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3388
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
3389
 
else
3390
 
  { echo "$as_me:$LINENO: result: no" >&5
3391
 
echo "${ECHO_T}no" >&6; }
3392
 
fi
3393
 
 
3394
 
 
3395
 
  test -n "$ac_ct_CC" && break
3396
 
done
3397
 
 
3398
 
  if test "x$ac_ct_CC" = x; then
3399
 
    CC=""
3400
 
  else
3401
 
    case $cross_compiling:$ac_tool_warned in
3402
 
yes:)
3403
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3404
 
whose name does not start with the host triplet.  If you think this
3405
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3406
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3407
 
whose name does not start with the host triplet.  If you think this
3408
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3409
 
ac_tool_warned=yes ;;
3410
 
esac
3411
 
    CC=$ac_ct_CC
3412
 
  fi
3413
 
fi
3414
 
 
3415
 
fi
3416
 
 
3417
 
 
3418
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3419
 
See \`config.log' for more details." >&5
3420
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
3421
 
See \`config.log' for more details." >&2;}
3422
 
   { (exit 1); exit 1; }; }
3423
 
 
3424
 
# Provide some information about the compiler.
3425
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3426
 
ac_compiler=`set X $ac_compile; echo $2`
3427
 
{ (ac_try="$ac_compiler --version >&5"
3428
 
case "(($ac_try" in
3429
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3430
 
  *) ac_try_echo=$ac_try;;
3431
 
esac
3432
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3433
 
  (eval "$ac_compiler --version >&5") 2>&5
3434
 
  ac_status=$?
3435
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436
 
  (exit $ac_status); }
3437
 
{ (ac_try="$ac_compiler -v >&5"
3438
 
case "(($ac_try" in
3439
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3440
 
  *) ac_try_echo=$ac_try;;
3441
 
esac
3442
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3443
 
  (eval "$ac_compiler -v >&5") 2>&5
3444
 
  ac_status=$?
3445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446
 
  (exit $ac_status); }
3447
 
{ (ac_try="$ac_compiler -V >&5"
3448
 
case "(($ac_try" in
3449
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450
 
  *) ac_try_echo=$ac_try;;
3451
 
esac
3452
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3453
 
  (eval "$ac_compiler -V >&5") 2>&5
3454
 
  ac_status=$?
3455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456
 
  (exit $ac_status); }
3457
 
 
3458
 
cat >conftest.$ac_ext <<_ACEOF
3459
 
/* confdefs.h.  */
3460
 
_ACEOF
3461
 
cat confdefs.h >>conftest.$ac_ext
3462
 
cat >>conftest.$ac_ext <<_ACEOF
3463
 
/* end confdefs.h.  */
3464
 
 
3465
 
int
3466
 
main ()
3467
 
{
3468
 
 
3469
 
  ;
3470
 
  return 0;
3471
 
}
3472
 
_ACEOF
3473
 
ac_clean_files_save=$ac_clean_files
3474
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3475
 
# Try to create an executable without -o first, disregard a.out.
3476
 
# It will help us diagnose broken compilers, and finding out an intuition
3477
 
# of exeext.
3478
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3479
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3480
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3481
 
#
3482
 
# List of possible output files, starting from the most likely.
3483
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3484
 
# only as a last resort.  b.out is created by i960 compilers.
3485
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3486
 
#
3487
 
# The IRIX 6 linker writes into existing files which may not be
3488
 
# executable, retaining their permissions.  Remove them first so a
3489
 
# subsequent execution test works.
3490
 
ac_rmfiles=
3491
 
for ac_file in $ac_files
3492
 
do
3493
 
  case $ac_file in
3494
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3495
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3496
 
  esac
3497
 
done
3498
 
rm -f $ac_rmfiles
3499
 
 
3500
 
if { (ac_try="$ac_link_default"
3501
 
case "(($ac_try" in
3502
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3503
 
  *) ac_try_echo=$ac_try;;
3504
 
esac
3505
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3506
 
  (eval "$ac_link_default") 2>&5
3507
 
  ac_status=$?
3508
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509
 
  (exit $ac_status); }; then
3510
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3511
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3512
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3513
 
# so that the user can short-circuit this test for compilers unknown to
3514
 
# Autoconf.
3515
 
for ac_file in $ac_files ''
3516
 
do
3517
 
  test -f "$ac_file" || continue
3518
 
  case $ac_file in
3519
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3520
 
        ;;
3521
 
    [ab].out )
3522
 
        # We found the default executable, but exeext='' is most
3523
 
        # certainly right.
3524
 
        break;;
3525
 
    *.* )
3526
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3527
 
        then :; else
3528
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3529
 
        fi
3530
 
        # We set ac_cv_exeext here because the later test for it is not
3531
 
        # safe: cross compilers may not add the suffix if given an `-o'
3532
 
        # argument, so we may need to know it at that point already.
3533
 
        # Even if this section looks crufty: it has the advantage of
3534
 
        # actually working.
3535
 
        break;;
3536
 
    * )
3537
 
        break;;
3538
 
  esac
3539
 
done
3540
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3541
 
 
3542
 
else
3543
 
  ac_file=''
3544
 
fi
3545
 
 
3546
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3547
 
echo "${ECHO_T}$ac_file" >&6; }
3548
 
if test -z "$ac_file"; then
3549
 
  echo "$as_me: failed program was:" >&5
3550
 
sed 's/^/| /' conftest.$ac_ext >&5
3551
 
 
3552
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3553
 
See \`config.log' for more details." >&5
3554
 
echo "$as_me: error: C compiler cannot create executables
3555
 
See \`config.log' for more details." >&2;}
3556
 
   { (exit 77); exit 77; }; }
3557
 
fi
3558
 
 
3559
 
ac_exeext=$ac_cv_exeext
3560
 
 
3561
 
# Check that the compiler produces executables we can run.  If not, either
3562
 
# the compiler is broken, or we cross compile.
3563
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3564
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3565
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3566
 
# If not cross compiling, check that we can run a simple program.
3567
 
if test "$cross_compiling" != yes; then
3568
 
  if { ac_try='./$ac_file'
3569
 
  { (case "(($ac_try" in
3570
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571
 
  *) ac_try_echo=$ac_try;;
3572
 
esac
3573
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3574
 
  (eval "$ac_try") 2>&5
3575
 
  ac_status=$?
3576
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577
 
  (exit $ac_status); }; }; then
3578
 
    cross_compiling=no
3579
 
  else
3580
 
    if test "$cross_compiling" = maybe; then
3581
 
        cross_compiling=yes
3582
 
    else
3583
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3584
 
If you meant to cross compile, use \`--host'.
3585
 
See \`config.log' for more details." >&5
3586
 
echo "$as_me: error: cannot run C compiled programs.
3587
 
If you meant to cross compile, use \`--host'.
3588
 
See \`config.log' for more details." >&2;}
3589
 
   { (exit 1); exit 1; }; }
3590
 
    fi
3591
 
  fi
3592
 
fi
3593
 
{ echo "$as_me:$LINENO: result: yes" >&5
3594
 
echo "${ECHO_T}yes" >&6; }
3595
 
 
3596
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3597
 
ac_clean_files=$ac_clean_files_save
3598
 
# Check that the compiler produces executables we can run.  If not, either
3599
 
# the compiler is broken, or we cross compile.
3600
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3601
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3602
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3603
 
echo "${ECHO_T}$cross_compiling" >&6; }
3604
 
 
3605
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3606
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3607
 
if { (ac_try="$ac_link"
3608
 
case "(($ac_try" in
3609
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610
 
  *) ac_try_echo=$ac_try;;
3611
 
esac
3612
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3613
 
  (eval "$ac_link") 2>&5
3614
 
  ac_status=$?
3615
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616
 
  (exit $ac_status); }; then
3617
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3618
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3619
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3620
 
# `rm'.
3621
 
for ac_file in conftest.exe conftest conftest.*; do
3622
 
  test -f "$ac_file" || continue
3623
 
  case $ac_file in
3624
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3625
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3626
 
          break;;
3627
 
    * ) break;;
3628
 
  esac
3629
 
done
3630
 
else
3631
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3632
 
See \`config.log' for more details." >&5
3633
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3634
 
See \`config.log' for more details." >&2;}
3635
 
   { (exit 1); exit 1; }; }
3636
 
fi
3637
 
 
3638
 
rm -f conftest$ac_cv_exeext
3639
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3640
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3641
 
 
3642
 
rm -f conftest.$ac_ext
3643
 
EXEEXT=$ac_cv_exeext
3644
 
ac_exeext=$EXEEXT
3645
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3646
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3647
 
if test "${ac_cv_objext+set}" = set; then
3648
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3649
 
else
3650
 
  cat >conftest.$ac_ext <<_ACEOF
3651
 
/* confdefs.h.  */
3652
 
_ACEOF
3653
 
cat confdefs.h >>conftest.$ac_ext
3654
 
cat >>conftest.$ac_ext <<_ACEOF
3655
 
/* end confdefs.h.  */
3656
 
 
3657
 
int
3658
 
main ()
3659
 
{
3660
 
 
3661
 
  ;
3662
 
  return 0;
3663
 
}
3664
 
_ACEOF
3665
 
rm -f conftest.o conftest.obj
3666
 
if { (ac_try="$ac_compile"
3667
 
case "(($ac_try" in
3668
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3669
 
  *) ac_try_echo=$ac_try;;
3670
 
esac
3671
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3672
 
  (eval "$ac_compile") 2>&5
3673
 
  ac_status=$?
3674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675
 
  (exit $ac_status); }; then
3676
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3677
 
  test -f "$ac_file" || continue;
3678
 
  case $ac_file in
3679
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3680
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3681
 
       break;;
3682
 
  esac
3683
 
done
3684
 
else
3685
 
  echo "$as_me: failed program was:" >&5
3686
 
sed 's/^/| /' conftest.$ac_ext >&5
3687
 
 
3688
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3689
 
See \`config.log' for more details." >&5
3690
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3691
 
See \`config.log' for more details." >&2;}
3692
 
   { (exit 1); exit 1; }; }
3693
 
fi
3694
 
 
3695
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3696
 
fi
3697
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3698
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
3699
 
OBJEXT=$ac_cv_objext
3700
 
ac_objext=$OBJEXT
3701
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3702
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3703
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3704
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3705
 
else
3706
 
  cat >conftest.$ac_ext <<_ACEOF
3707
 
/* confdefs.h.  */
3708
 
_ACEOF
3709
 
cat confdefs.h >>conftest.$ac_ext
3710
 
cat >>conftest.$ac_ext <<_ACEOF
3711
 
/* end confdefs.h.  */
3712
 
 
3713
 
int
3714
 
main ()
3715
 
{
3716
 
#ifndef __GNUC__
3717
 
       choke me
3718
 
#endif
3719
 
 
3720
 
  ;
3721
 
  return 0;
3722
 
}
3723
 
_ACEOF
3724
 
rm -f conftest.$ac_objext
3725
 
if { (ac_try="$ac_compile"
3726
 
case "(($ac_try" in
3727
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3728
 
  *) ac_try_echo=$ac_try;;
3729
 
esac
3730
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3731
 
  (eval "$ac_compile") 2>conftest.er1
3732
 
  ac_status=$?
3733
 
  grep -v '^ *+' conftest.er1 >conftest.err
3734
 
  rm -f conftest.er1
3735
 
  cat conftest.err >&5
3736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737
 
  (exit $ac_status); } && {
3738
 
         test -z "$ac_c_werror_flag" ||
3739
 
         test ! -s conftest.err
3740
 
       } && test -s conftest.$ac_objext; then
3741
 
  ac_compiler_gnu=yes
3742
 
else
3743
 
  echo "$as_me: failed program was:" >&5
3744
 
sed 's/^/| /' conftest.$ac_ext >&5
3745
 
 
3746
 
        ac_compiler_gnu=no
3747
 
fi
3748
 
 
3749
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3750
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3751
 
 
3752
 
fi
3753
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3754
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3755
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
3756
 
ac_test_CFLAGS=${CFLAGS+set}
3757
 
ac_save_CFLAGS=$CFLAGS
3758
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3759
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3760
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3762
 
else
3763
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3764
 
   ac_c_werror_flag=yes
3765
 
   ac_cv_prog_cc_g=no
3766
 
   CFLAGS="-g"
3767
 
   cat >conftest.$ac_ext <<_ACEOF
3768
 
/* confdefs.h.  */
3769
 
_ACEOF
3770
 
cat confdefs.h >>conftest.$ac_ext
3771
 
cat >>conftest.$ac_ext <<_ACEOF
3772
 
/* end confdefs.h.  */
3773
 
 
3774
 
int
3775
 
main ()
3776
 
{
3777
 
 
3778
 
  ;
3779
 
  return 0;
3780
 
}
3781
 
_ACEOF
3782
 
rm -f conftest.$ac_objext
3783
 
if { (ac_try="$ac_compile"
3784
 
case "(($ac_try" in
3785
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786
 
  *) ac_try_echo=$ac_try;;
3787
 
esac
3788
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789
 
  (eval "$ac_compile") 2>conftest.er1
3790
 
  ac_status=$?
3791
 
  grep -v '^ *+' conftest.er1 >conftest.err
3792
 
  rm -f conftest.er1
3793
 
  cat conftest.err >&5
3794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795
 
  (exit $ac_status); } && {
3796
 
         test -z "$ac_c_werror_flag" ||
3797
 
         test ! -s conftest.err
3798
 
       } && test -s conftest.$ac_objext; then
3799
 
  ac_cv_prog_cc_g=yes
3800
 
else
3801
 
  echo "$as_me: failed program was:" >&5
3802
 
sed 's/^/| /' conftest.$ac_ext >&5
3803
 
 
3804
 
        CFLAGS=""
3805
 
      cat >conftest.$ac_ext <<_ACEOF
3806
 
/* confdefs.h.  */
3807
 
_ACEOF
3808
 
cat confdefs.h >>conftest.$ac_ext
3809
 
cat >>conftest.$ac_ext <<_ACEOF
3810
 
/* end confdefs.h.  */
3811
 
 
3812
 
int
3813
 
main ()
3814
 
{
3815
 
 
3816
 
  ;
3817
 
  return 0;
3818
 
}
3819
 
_ACEOF
3820
 
rm -f conftest.$ac_objext
3821
 
if { (ac_try="$ac_compile"
3822
 
case "(($ac_try" in
3823
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3824
 
  *) ac_try_echo=$ac_try;;
3825
 
esac
3826
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3827
 
  (eval "$ac_compile") 2>conftest.er1
3828
 
  ac_status=$?
3829
 
  grep -v '^ *+' conftest.er1 >conftest.err
3830
 
  rm -f conftest.er1
3831
 
  cat conftest.err >&5
3832
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833
 
  (exit $ac_status); } && {
3834
 
         test -z "$ac_c_werror_flag" ||
3835
 
         test ! -s conftest.err
3836
 
       } && test -s conftest.$ac_objext; then
3837
 
  :
3838
 
else
3839
 
  echo "$as_me: failed program was:" >&5
3840
 
sed 's/^/| /' conftest.$ac_ext >&5
3841
 
 
3842
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3843
 
         CFLAGS="-g"
3844
 
         cat >conftest.$ac_ext <<_ACEOF
3845
 
/* confdefs.h.  */
3846
 
_ACEOF
3847
 
cat confdefs.h >>conftest.$ac_ext
3848
 
cat >>conftest.$ac_ext <<_ACEOF
3849
 
/* end confdefs.h.  */
3850
 
 
3851
 
int
3852
 
main ()
3853
 
{
3854
 
 
3855
 
  ;
3856
 
  return 0;
3857
 
}
3858
 
_ACEOF
3859
 
rm -f conftest.$ac_objext
3860
 
if { (ac_try="$ac_compile"
3861
 
case "(($ac_try" in
3862
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863
 
  *) ac_try_echo=$ac_try;;
3864
 
esac
3865
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3866
 
  (eval "$ac_compile") 2>conftest.er1
3867
 
  ac_status=$?
3868
 
  grep -v '^ *+' conftest.er1 >conftest.err
3869
 
  rm -f conftest.er1
3870
 
  cat conftest.err >&5
3871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872
 
  (exit $ac_status); } && {
3873
 
         test -z "$ac_c_werror_flag" ||
3874
 
         test ! -s conftest.err
3875
 
       } && test -s conftest.$ac_objext; then
3876
 
  ac_cv_prog_cc_g=yes
3877
 
else
3878
 
  echo "$as_me: failed program was:" >&5
3879
 
sed 's/^/| /' conftest.$ac_ext >&5
3880
 
 
3881
 
 
3882
 
fi
3883
 
 
3884
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3885
 
fi
3886
 
 
3887
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888
 
fi
3889
 
 
3890
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3891
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3892
 
fi
3893
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3894
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3895
 
if test "$ac_test_CFLAGS" = set; then
3896
 
  CFLAGS=$ac_save_CFLAGS
3897
 
elif test $ac_cv_prog_cc_g = yes; then
3898
 
  if test "$GCC" = yes; then
3899
 
    CFLAGS="-g -O2"
3900
 
  else
3901
 
    CFLAGS="-g"
3902
 
  fi
3903
 
else
3904
 
  if test "$GCC" = yes; then
3905
 
    CFLAGS="-O2"
3906
 
  else
3907
 
    CFLAGS=
3908
 
  fi
3909
 
fi
3910
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3911
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3912
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3913
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3914
 
else
3915
 
  ac_cv_prog_cc_c89=no
3916
 
ac_save_CC=$CC
3917
 
cat >conftest.$ac_ext <<_ACEOF
3918
 
/* confdefs.h.  */
3919
 
_ACEOF
3920
 
cat confdefs.h >>conftest.$ac_ext
3921
 
cat >>conftest.$ac_ext <<_ACEOF
3922
 
/* end confdefs.h.  */
3923
 
#include <stdarg.h>
3924
 
#include <stdio.h>
3925
 
#include <sys/types.h>
3926
 
#include <sys/stat.h>
3927
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3928
 
struct buf { int x; };
3929
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3930
 
static char *e (p, i)
3931
 
     char **p;
3932
 
     int i;
3933
 
{
3934
 
  return p[i];
3935
 
}
3936
 
static char *f (char * (*g) (char **, int), char **p, ...)
3937
 
{
3938
 
  char *s;
3939
 
  va_list v;
3940
 
  va_start (v,p);
3941
 
  s = g (p, va_arg (v,int));
3942
 
  va_end (v);
3943
 
  return s;
3944
 
}
3945
 
 
3946
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3947
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3948
 
   These don't provoke an error unfortunately, instead are silently treated
3949
 
   as 'x'.  The following induces an error, until -std is added to get
3950
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3951
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3952
 
   that's true only with -std.  */
3953
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3954
 
 
3955
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3956
 
   inside strings and character constants.  */
3957
 
#define FOO(x) 'x'
3958
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3959
 
 
3960
 
int test (int i, double x);
3961
 
struct s1 {int (*f) (int a);};
3962
 
struct s2 {int (*f) (double a);};
3963
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3964
 
int argc;
3965
 
char **argv;
3966
 
int
3967
 
main ()
3968
 
{
3969
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3970
 
  ;
3971
 
  return 0;
3972
 
}
3973
 
_ACEOF
3974
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3975
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3976
 
do
3977
 
  CC="$ac_save_CC $ac_arg"
3978
 
  rm -f conftest.$ac_objext
3979
 
if { (ac_try="$ac_compile"
3980
 
case "(($ac_try" in
3981
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982
 
  *) ac_try_echo=$ac_try;;
3983
 
esac
3984
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3985
 
  (eval "$ac_compile") 2>conftest.er1
3986
 
  ac_status=$?
3987
 
  grep -v '^ *+' conftest.er1 >conftest.err
3988
 
  rm -f conftest.er1
3989
 
  cat conftest.err >&5
3990
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991
 
  (exit $ac_status); } && {
3992
 
         test -z "$ac_c_werror_flag" ||
3993
 
         test ! -s conftest.err
3994
 
       } && test -s conftest.$ac_objext; then
3995
 
  ac_cv_prog_cc_c89=$ac_arg
3996
 
else
3997
 
  echo "$as_me: failed program was:" >&5
3998
 
sed 's/^/| /' conftest.$ac_ext >&5
3999
 
 
4000
 
 
4001
 
fi
4002
 
 
4003
 
rm -f core conftest.err conftest.$ac_objext
4004
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4005
 
done
4006
 
rm -f conftest.$ac_ext
4007
 
CC=$ac_save_CC
4008
 
 
4009
 
fi
4010
 
# AC_CACHE_VAL
4011
 
case "x$ac_cv_prog_cc_c89" in
4012
 
  x)
4013
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4014
 
echo "${ECHO_T}none needed" >&6; } ;;
4015
 
  xno)
4016
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4017
 
echo "${ECHO_T}unsupported" >&6; } ;;
4018
 
  *)
4019
 
    CC="$CC $ac_cv_prog_cc_c89"
4020
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4021
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4022
 
esac
4023
 
 
4024
 
 
4025
 
ac_ext=c
4026
 
ac_cpp='$CPP $CPPFLAGS'
4027
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4028
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4029
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4030
 
 
4031
 
depcc="$CC"   am_compiler_list=
4032
 
 
4033
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4034
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4035
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4036
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4037
 
else
4038
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4039
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4040
 
  # making bogus files that we don't know about and never remove.  For
4041
 
  # instance it was reported that on HP-UX the gcc test will end up
4042
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4043
 
  # in D'.
4044
 
  mkdir conftest.dir
4045
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4046
 
  # using a relative directory.
4047
 
  cp "$am_depcomp" conftest.dir
4048
 
  cd conftest.dir
4049
 
  # We will build objects and dependencies in a subdirectory because
4050
 
  # it helps to detect inapplicable dependency modes.  For instance
4051
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4052
 
  # side effect of compilation, but ICC will put the dependencies in
4053
 
  # the current directory while Tru64 will put them in the object
4054
 
  # directory.
4055
 
  mkdir sub
4056
 
 
4057
 
  am_cv_CC_dependencies_compiler_type=none
4058
 
  if test "$am_compiler_list" = ""; then
4059
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4060
 
  fi
4061
 
  for depmode in $am_compiler_list; do
4062
 
    # Setup a source with many dependencies, because some compilers
4063
 
    # like to wrap large dependency lists on column 80 (with \), and
4064
 
    # we should not choose a depcomp mode which is confused by this.
4065
 
    #
4066
 
    # We need to recreate these files for each test, as the compiler may
4067
 
    # overwrite some of them when testing with obscure command lines.
4068
 
    # This happens at least with the AIX C compiler.
4069
 
    : > sub/conftest.c
4070
 
    for i in 1 2 3 4 5 6; do
4071
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4072
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4073
 
      # Solaris 8's {/usr,}/bin/sh.
4074
 
      touch sub/conftst$i.h
4075
 
    done
4076
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4077
 
 
4078
 
    case $depmode in
4079
 
    nosideeffect)
4080
 
      # after this tag, mechanisms are not by side-effect, so they'll
4081
 
      # only be used when explicitly requested
4082
 
      if test "x$enable_dependency_tracking" = xyes; then
4083
 
        continue
4084
 
      else
4085
 
        break
4086
 
      fi
4087
 
      ;;
4088
 
    none) break ;;
4089
 
    esac
4090
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4091
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4092
 
    # handle `-M -o', and we need to detect this.
4093
 
    if depmode=$depmode \
4094
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4095
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4096
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4097
 
         >/dev/null 2>conftest.err &&
4098
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4099
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4100
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4101
 
      # icc doesn't choke on unknown options, it will just issue warnings
4102
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4103
 
      # that says an option was ignored or not supported.
4104
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4105
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4106
 
      # The diagnosis changed in icc 8.0:
4107
 
      #   icc: Command line remark: option '-MP' not supported
4108
 
      if (grep 'ignoring option' conftest.err ||
4109
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4110
 
        am_cv_CC_dependencies_compiler_type=$depmode
4111
 
        break
4112
 
      fi
4113
 
    fi
4114
 
  done
4115
 
 
4116
 
  cd ..
4117
 
  rm -rf conftest.dir
4118
 
else
4119
 
  am_cv_CC_dependencies_compiler_type=none
4120
 
fi
4121
 
 
4122
 
fi
4123
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4124
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4125
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4126
 
 
4127
 
 
4128
 
 
4129
 
if
4130
 
  test "x$enable_dependency_tracking" != xno \
4131
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4132
 
  am__fastdepCC_TRUE=
4133
 
  am__fastdepCC_FALSE='#'
4134
 
else
4135
 
  am__fastdepCC_TRUE='#'
4136
 
  am__fastdepCC_FALSE=
4137
 
fi
4138
 
 
4139
 
 
4140
 
 
4141
 
  ac_ext=c
4142
 
ac_cpp='$CPP $CPPFLAGS'
4143
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4144
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4145
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4146
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4147
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4148
 
# On Suns, sometimes $CPP names a directory.
4149
 
if test -n "$CPP" && test -d "$CPP"; then
4150
 
  CPP=
4151
 
fi
4152
 
if test -z "$CPP"; then
4153
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4154
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4155
 
else
4156
 
      # Double quotes because CPP needs to be expanded
4157
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4158
 
    do
4159
 
      ac_preproc_ok=false
4160
 
for ac_c_preproc_warn_flag in '' yes
4161
 
do
4162
 
  # Use a header file that comes with gcc, so configuring glibc
4163
 
  # with a fresh cross-compiler works.
4164
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4165
 
  # <limits.h> exists even on freestanding compilers.
4166
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4167
 
  # not just through cpp. "Syntax error" is here to catch this case.
4168
 
  cat >conftest.$ac_ext <<_ACEOF
4169
 
/* confdefs.h.  */
4170
 
_ACEOF
4171
 
cat confdefs.h >>conftest.$ac_ext
4172
 
cat >>conftest.$ac_ext <<_ACEOF
4173
 
/* end confdefs.h.  */
4174
 
#ifdef __STDC__
4175
 
# include <limits.h>
4176
 
#else
4177
 
# include <assert.h>
4178
 
#endif
4179
 
                     Syntax error
4180
 
_ACEOF
4181
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4182
 
case "(($ac_try" in
4183
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184
 
  *) ac_try_echo=$ac_try;;
4185
 
esac
4186
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4187
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4188
 
  ac_status=$?
4189
 
  grep -v '^ *+' conftest.er1 >conftest.err
4190
 
  rm -f conftest.er1
4191
 
  cat conftest.err >&5
4192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193
 
  (exit $ac_status); } >/dev/null && {
4194
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4195
 
         test ! -s conftest.err
4196
 
       }; then
4197
 
  :
4198
 
else
4199
 
  echo "$as_me: failed program was:" >&5
4200
 
sed 's/^/| /' conftest.$ac_ext >&5
4201
 
 
4202
 
  # Broken: fails on valid input.
4203
 
continue
4204
 
fi
4205
 
 
4206
 
rm -f conftest.err conftest.$ac_ext
4207
 
 
4208
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4209
 
  # can be detected and how.
4210
 
  cat >conftest.$ac_ext <<_ACEOF
4211
 
/* confdefs.h.  */
4212
 
_ACEOF
4213
 
cat confdefs.h >>conftest.$ac_ext
4214
 
cat >>conftest.$ac_ext <<_ACEOF
4215
 
/* end confdefs.h.  */
4216
 
#include <ac_nonexistent.h>
4217
 
_ACEOF
4218
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4219
 
case "(($ac_try" in
4220
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221
 
  *) ac_try_echo=$ac_try;;
4222
 
esac
4223
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4224
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4225
 
  ac_status=$?
4226
 
  grep -v '^ *+' conftest.er1 >conftest.err
4227
 
  rm -f conftest.er1
4228
 
  cat conftest.err >&5
4229
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230
 
  (exit $ac_status); } >/dev/null && {
4231
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4232
 
         test ! -s conftest.err
4233
 
       }; then
4234
 
  # Broken: success on invalid input.
4235
 
continue
4236
 
else
4237
 
  echo "$as_me: failed program was:" >&5
4238
 
sed 's/^/| /' conftest.$ac_ext >&5
4239
 
 
4240
 
  # Passes both tests.
4241
 
ac_preproc_ok=:
4242
 
break
4243
 
fi
4244
 
 
4245
 
rm -f conftest.err conftest.$ac_ext
4246
 
 
4247
 
done
4248
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4249
 
rm -f conftest.err conftest.$ac_ext
4250
 
if $ac_preproc_ok; then
4251
 
  break
4252
 
fi
4253
 
 
4254
 
    done
4255
 
    ac_cv_prog_CPP=$CPP
4256
 
 
4257
 
fi
4258
 
  CPP=$ac_cv_prog_CPP
4259
 
else
4260
 
  ac_cv_prog_CPP=$CPP
4261
 
fi
4262
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4263
 
echo "${ECHO_T}$CPP" >&6; }
4264
 
ac_preproc_ok=false
4265
 
for ac_c_preproc_warn_flag in '' yes
4266
 
do
4267
 
  # Use a header file that comes with gcc, so configuring glibc
4268
 
  # with a fresh cross-compiler works.
4269
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4270
 
  # <limits.h> exists even on freestanding compilers.
4271
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4272
 
  # not just through cpp. "Syntax error" is here to catch this case.
4273
 
  cat >conftest.$ac_ext <<_ACEOF
4274
 
/* confdefs.h.  */
4275
 
_ACEOF
4276
 
cat confdefs.h >>conftest.$ac_ext
4277
 
cat >>conftest.$ac_ext <<_ACEOF
4278
 
/* end confdefs.h.  */
4279
 
#ifdef __STDC__
4280
 
# include <limits.h>
4281
 
#else
4282
 
# include <assert.h>
4283
 
#endif
4284
 
                     Syntax error
4285
 
_ACEOF
4286
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4287
 
case "(($ac_try" in
4288
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289
 
  *) ac_try_echo=$ac_try;;
4290
 
esac
4291
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4293
 
  ac_status=$?
4294
 
  grep -v '^ *+' conftest.er1 >conftest.err
4295
 
  rm -f conftest.er1
4296
 
  cat conftest.err >&5
4297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298
 
  (exit $ac_status); } >/dev/null && {
4299
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4300
 
         test ! -s conftest.err
4301
 
       }; then
4302
 
  :
4303
 
else
4304
 
  echo "$as_me: failed program was:" >&5
4305
 
sed 's/^/| /' conftest.$ac_ext >&5
4306
 
 
4307
 
  # Broken: fails on valid input.
4308
 
continue
4309
 
fi
4310
 
 
4311
 
rm -f conftest.err conftest.$ac_ext
4312
 
 
4313
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4314
 
  # can be detected and how.
4315
 
  cat >conftest.$ac_ext <<_ACEOF
4316
 
/* confdefs.h.  */
4317
 
_ACEOF
4318
 
cat confdefs.h >>conftest.$ac_ext
4319
 
cat >>conftest.$ac_ext <<_ACEOF
4320
 
/* end confdefs.h.  */
4321
 
#include <ac_nonexistent.h>
4322
 
_ACEOF
4323
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4324
 
case "(($ac_try" in
4325
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326
 
  *) ac_try_echo=$ac_try;;
4327
 
esac
4328
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4329
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4330
 
  ac_status=$?
4331
 
  grep -v '^ *+' conftest.er1 >conftest.err
4332
 
  rm -f conftest.er1
4333
 
  cat conftest.err >&5
4334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335
 
  (exit $ac_status); } >/dev/null && {
4336
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4337
 
         test ! -s conftest.err
4338
 
       }; then
4339
 
  # Broken: success on invalid input.
4340
 
continue
4341
 
else
4342
 
  echo "$as_me: failed program was:" >&5
4343
 
sed 's/^/| /' conftest.$ac_ext >&5
4344
 
 
4345
 
  # Passes both tests.
4346
 
ac_preproc_ok=:
4347
 
break
4348
 
fi
4349
 
 
4350
 
rm -f conftest.err conftest.$ac_ext
4351
 
 
4352
 
done
4353
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4354
 
rm -f conftest.err conftest.$ac_ext
4355
 
if $ac_preproc_ok; then
4356
 
  :
4357
 
else
4358
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4359
 
See \`config.log' for more details." >&5
4360
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4361
 
See \`config.log' for more details." >&2;}
4362
 
   { (exit 1); exit 1; }; }
4363
 
fi
4364
 
 
4365
 
ac_ext=c
4366
 
ac_cpp='$CPP $CPPFLAGS'
4367
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4369
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4370
 
 
4371
 
 
4372
 
  if test "$GCC" = "yes"; then
4373
 
    if test "$kde_use_debug_code" != "no"; then
4374
 
      if test $kde_use_debug_code = "full"; then
4375
 
        CFLAGS="-g3 -fno-inline $CFLAGS"
4376
 
      else
4377
 
        CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
4378
 
      fi
4379
 
    else
4380
 
      CFLAGS="-O2 $CFLAGS"
4381
 
    fi
4382
 
  fi
4383
 
 
4384
 
  if test "$kde_use_debug_define" = "yes"; then
4385
 
    CFLAGS="-DNDEBUG $CFLAGS"
4386
 
  fi
4387
 
 
4388
 
 
4389
 
  case "$host" in
4390
 
  *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
4391
 
  *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
4392
 
  esac
4393
 
 
4394
 
  if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
4395
 
     LDFLAGS=""
4396
 
  fi
4397
 
 
4398
 
  CXXFLAGS=" $CXXFLAGS"
4399
 
 
4400
 
  ac_ext=cpp
4401
 
ac_cpp='$CXXCPP $CPPFLAGS'
4402
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4403
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4404
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4405
 
if test -z "$CXX"; then
4406
 
  if test -n "$CCC"; then
4407
 
    CXX=$CCC
4408
 
  else
4409
 
    if test -n "$ac_tool_prefix"; then
4410
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4411
 
  do
4412
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4413
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4414
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4415
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4416
 
if test "${ac_cv_prog_CXX+set}" = set; then
4417
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4418
 
else
4419
 
  if test -n "$CXX"; then
4420
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4421
 
else
4422
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423
 
for as_dir in $PATH
4424
 
do
4425
 
  IFS=$as_save_IFS
4426
 
  test -z "$as_dir" && as_dir=.
4427
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4428
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4430
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4431
 
    break 2
4432
 
  fi
4433
 
done
4434
 
done
4435
 
IFS=$as_save_IFS
4436
 
 
4437
 
fi
4438
 
fi
4439
 
CXX=$ac_cv_prog_CXX
4440
 
if test -n "$CXX"; then
4441
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
4442
 
echo "${ECHO_T}$CXX" >&6; }
4443
 
else
4444
 
  { echo "$as_me:$LINENO: result: no" >&5
4445
 
echo "${ECHO_T}no" >&6; }
4446
 
fi
4447
 
 
4448
 
 
4449
 
    test -n "$CXX" && break
4450
 
  done
4451
 
fi
4452
 
if test -z "$CXX"; then
4453
 
  ac_ct_CXX=$CXX
4454
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4455
 
do
4456
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4457
 
set dummy $ac_prog; ac_word=$2
4458
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4459
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4460
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4461
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4462
 
else
4463
 
  if test -n "$ac_ct_CXX"; then
4464
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4465
 
else
4466
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4467
 
for as_dir in $PATH
4468
 
do
4469
 
  IFS=$as_save_IFS
4470
 
  test -z "$as_dir" && as_dir=.
4471
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4472
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4473
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4474
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4475
 
    break 2
4476
 
  fi
4477
 
done
4478
 
done
4479
 
IFS=$as_save_IFS
4480
 
 
4481
 
fi
4482
 
fi
4483
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4484
 
if test -n "$ac_ct_CXX"; then
4485
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4486
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4487
 
else
4488
 
  { echo "$as_me:$LINENO: result: no" >&5
4489
 
echo "${ECHO_T}no" >&6; }
4490
 
fi
4491
 
 
4492
 
 
4493
 
  test -n "$ac_ct_CXX" && break
4494
 
done
4495
 
 
4496
 
  if test "x$ac_ct_CXX" = x; then
4497
 
    CXX="g++"
4498
 
  else
4499
 
    case $cross_compiling:$ac_tool_warned in
4500
 
yes:)
4501
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4502
 
whose name does not start with the host triplet.  If you think this
4503
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4504
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4505
 
whose name does not start with the host triplet.  If you think this
4506
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4507
 
ac_tool_warned=yes ;;
4508
 
esac
4509
 
    CXX=$ac_ct_CXX
4510
 
  fi
4511
 
fi
4512
 
 
4513
 
  fi
4514
 
fi
4515
 
# Provide some information about the compiler.
4516
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4517
 
ac_compiler=`set X $ac_compile; echo $2`
4518
 
{ (ac_try="$ac_compiler --version >&5"
4519
 
case "(($ac_try" in
4520
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4521
 
  *) ac_try_echo=$ac_try;;
4522
 
esac
4523
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4524
 
  (eval "$ac_compiler --version >&5") 2>&5
4525
 
  ac_status=$?
4526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527
 
  (exit $ac_status); }
4528
 
{ (ac_try="$ac_compiler -v >&5"
4529
 
case "(($ac_try" in
4530
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4531
 
  *) ac_try_echo=$ac_try;;
4532
 
esac
4533
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4534
 
  (eval "$ac_compiler -v >&5") 2>&5
4535
 
  ac_status=$?
4536
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537
 
  (exit $ac_status); }
4538
 
{ (ac_try="$ac_compiler -V >&5"
4539
 
case "(($ac_try" in
4540
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541
 
  *) ac_try_echo=$ac_try;;
4542
 
esac
4543
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4544
 
  (eval "$ac_compiler -V >&5") 2>&5
4545
 
  ac_status=$?
4546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547
 
  (exit $ac_status); }
4548
 
 
4549
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4550
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4551
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4552
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4553
 
else
4554
 
  cat >conftest.$ac_ext <<_ACEOF
4555
 
/* confdefs.h.  */
4556
 
_ACEOF
4557
 
cat confdefs.h >>conftest.$ac_ext
4558
 
cat >>conftest.$ac_ext <<_ACEOF
4559
 
/* end confdefs.h.  */
4560
 
 
4561
 
int
4562
 
main ()
4563
 
{
4564
 
#ifndef __GNUC__
4565
 
       choke me
4566
 
#endif
4567
 
 
4568
 
  ;
4569
 
  return 0;
4570
 
}
4571
 
_ACEOF
4572
 
rm -f conftest.$ac_objext
4573
 
if { (ac_try="$ac_compile"
4574
 
case "(($ac_try" in
4575
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576
 
  *) ac_try_echo=$ac_try;;
4577
 
esac
4578
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4579
 
  (eval "$ac_compile") 2>conftest.er1
4580
 
  ac_status=$?
4581
 
  grep -v '^ *+' conftest.er1 >conftest.err
4582
 
  rm -f conftest.er1
4583
 
  cat conftest.err >&5
4584
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585
 
  (exit $ac_status); } && {
4586
 
         test -z "$ac_cxx_werror_flag" ||
4587
 
         test ! -s conftest.err
4588
 
       } && test -s conftest.$ac_objext; then
4589
 
  ac_compiler_gnu=yes
4590
 
else
4591
 
  echo "$as_me: failed program was:" >&5
4592
 
sed 's/^/| /' conftest.$ac_ext >&5
4593
 
 
4594
 
        ac_compiler_gnu=no
4595
 
fi
4596
 
 
4597
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4599
 
 
4600
 
fi
4601
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4602
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4603
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
4604
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
4605
 
ac_save_CXXFLAGS=$CXXFLAGS
4606
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4607
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4608
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
4609
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4610
 
else
4611
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4612
 
   ac_cxx_werror_flag=yes
4613
 
   ac_cv_prog_cxx_g=no
4614
 
   CXXFLAGS="-g"
4615
 
   cat >conftest.$ac_ext <<_ACEOF
4616
 
/* confdefs.h.  */
4617
 
_ACEOF
4618
 
cat confdefs.h >>conftest.$ac_ext
4619
 
cat >>conftest.$ac_ext <<_ACEOF
4620
 
/* end confdefs.h.  */
4621
 
 
4622
 
int
4623
 
main ()
4624
 
{
4625
 
 
4626
 
  ;
4627
 
  return 0;
4628
 
}
4629
 
_ACEOF
4630
 
rm -f conftest.$ac_objext
4631
 
if { (ac_try="$ac_compile"
4632
 
case "(($ac_try" in
4633
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634
 
  *) ac_try_echo=$ac_try;;
4635
 
esac
4636
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4637
 
  (eval "$ac_compile") 2>conftest.er1
4638
 
  ac_status=$?
4639
 
  grep -v '^ *+' conftest.er1 >conftest.err
4640
 
  rm -f conftest.er1
4641
 
  cat conftest.err >&5
4642
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643
 
  (exit $ac_status); } && {
4644
 
         test -z "$ac_cxx_werror_flag" ||
4645
 
         test ! -s conftest.err
4646
 
       } && test -s conftest.$ac_objext; then
4647
 
  ac_cv_prog_cxx_g=yes
4648
 
else
4649
 
  echo "$as_me: failed program was:" >&5
4650
 
sed 's/^/| /' conftest.$ac_ext >&5
4651
 
 
4652
 
        CXXFLAGS=""
4653
 
      cat >conftest.$ac_ext <<_ACEOF
4654
 
/* confdefs.h.  */
4655
 
_ACEOF
4656
 
cat confdefs.h >>conftest.$ac_ext
4657
 
cat >>conftest.$ac_ext <<_ACEOF
4658
 
/* end confdefs.h.  */
4659
 
 
4660
 
int
4661
 
main ()
4662
 
{
4663
 
 
4664
 
  ;
4665
 
  return 0;
4666
 
}
4667
 
_ACEOF
4668
 
rm -f conftest.$ac_objext
4669
 
if { (ac_try="$ac_compile"
4670
 
case "(($ac_try" in
4671
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672
 
  *) ac_try_echo=$ac_try;;
4673
 
esac
4674
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4675
 
  (eval "$ac_compile") 2>conftest.er1
4676
 
  ac_status=$?
4677
 
  grep -v '^ *+' conftest.er1 >conftest.err
4678
 
  rm -f conftest.er1
4679
 
  cat conftest.err >&5
4680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681
 
  (exit $ac_status); } && {
4682
 
         test -z "$ac_cxx_werror_flag" ||
4683
 
         test ! -s conftest.err
4684
 
       } && test -s conftest.$ac_objext; then
4685
 
  :
4686
 
else
4687
 
  echo "$as_me: failed program was:" >&5
4688
 
sed 's/^/| /' conftest.$ac_ext >&5
4689
 
 
4690
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4691
 
         CXXFLAGS="-g"
4692
 
         cat >conftest.$ac_ext <<_ACEOF
4693
 
/* confdefs.h.  */
4694
 
_ACEOF
4695
 
cat confdefs.h >>conftest.$ac_ext
4696
 
cat >>conftest.$ac_ext <<_ACEOF
4697
 
/* end confdefs.h.  */
4698
 
 
4699
 
int
4700
 
main ()
4701
 
{
4702
 
 
4703
 
  ;
4704
 
  return 0;
4705
 
}
4706
 
_ACEOF
4707
 
rm -f conftest.$ac_objext
4708
 
if { (ac_try="$ac_compile"
4709
 
case "(($ac_try" in
4710
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4711
 
  *) ac_try_echo=$ac_try;;
4712
 
esac
4713
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4714
 
  (eval "$ac_compile") 2>conftest.er1
4715
 
  ac_status=$?
4716
 
  grep -v '^ *+' conftest.er1 >conftest.err
4717
 
  rm -f conftest.er1
4718
 
  cat conftest.err >&5
4719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720
 
  (exit $ac_status); } && {
4721
 
         test -z "$ac_cxx_werror_flag" ||
4722
 
         test ! -s conftest.err
4723
 
       } && test -s conftest.$ac_objext; then
4724
 
  ac_cv_prog_cxx_g=yes
4725
 
else
4726
 
  echo "$as_me: failed program was:" >&5
4727
 
sed 's/^/| /' conftest.$ac_ext >&5
4728
 
 
4729
 
 
4730
 
fi
4731
 
 
4732
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4733
 
fi
4734
 
 
4735
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4736
 
fi
4737
 
 
4738
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4739
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4740
 
fi
4741
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4742
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4743
 
if test "$ac_test_CXXFLAGS" = set; then
4744
 
  CXXFLAGS=$ac_save_CXXFLAGS
4745
 
elif test $ac_cv_prog_cxx_g = yes; then
4746
 
  if test "$GXX" = yes; then
4747
 
    CXXFLAGS="-g -O2"
4748
 
  else
4749
 
    CXXFLAGS="-g"
4750
 
  fi
4751
 
else
4752
 
  if test "$GXX" = yes; then
4753
 
    CXXFLAGS="-O2"
4754
 
  else
4755
 
    CXXFLAGS=
4756
 
  fi
4757
 
fi
4758
 
ac_ext=c
4759
 
ac_cpp='$CPP $CPPFLAGS'
4760
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4763
 
 
4764
 
depcc="$CXX"  am_compiler_list=
4765
 
 
4766
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4767
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4768
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4769
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4770
 
else
4771
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4772
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4773
 
  # making bogus files that we don't know about and never remove.  For
4774
 
  # instance it was reported that on HP-UX the gcc test will end up
4775
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4776
 
  # in D'.
4777
 
  mkdir conftest.dir
4778
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4779
 
  # using a relative directory.
4780
 
  cp "$am_depcomp" conftest.dir
4781
 
  cd conftest.dir
4782
 
  # We will build objects and dependencies in a subdirectory because
4783
 
  # it helps to detect inapplicable dependency modes.  For instance
4784
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4785
 
  # side effect of compilation, but ICC will put the dependencies in
4786
 
  # the current directory while Tru64 will put them in the object
4787
 
  # directory.
4788
 
  mkdir sub
4789
 
 
4790
 
  am_cv_CXX_dependencies_compiler_type=none
4791
 
  if test "$am_compiler_list" = ""; then
4792
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4793
 
  fi
4794
 
  for depmode in $am_compiler_list; do
4795
 
    # Setup a source with many dependencies, because some compilers
4796
 
    # like to wrap large dependency lists on column 80 (with \), and
4797
 
    # we should not choose a depcomp mode which is confused by this.
4798
 
    #
4799
 
    # We need to recreate these files for each test, as the compiler may
4800
 
    # overwrite some of them when testing with obscure command lines.
4801
 
    # This happens at least with the AIX C compiler.
4802
 
    : > sub/conftest.c
4803
 
    for i in 1 2 3 4 5 6; do
4804
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4805
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4806
 
      # Solaris 8's {/usr,}/bin/sh.
4807
 
      touch sub/conftst$i.h
4808
 
    done
4809
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4810
 
 
4811
 
    case $depmode in
4812
 
    nosideeffect)
4813
 
      # after this tag, mechanisms are not by side-effect, so they'll
4814
 
      # only be used when explicitly requested
4815
 
      if test "x$enable_dependency_tracking" = xyes; then
4816
 
        continue
4817
 
      else
4818
 
        break
4819
 
      fi
4820
 
      ;;
4821
 
    none) break ;;
4822
 
    esac
4823
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4824
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4825
 
    # handle `-M -o', and we need to detect this.
4826
 
    if depmode=$depmode \
4827
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4828
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4829
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4830
 
         >/dev/null 2>conftest.err &&
4831
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4832
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4833
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4834
 
      # icc doesn't choke on unknown options, it will just issue warnings
4835
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4836
 
      # that says an option was ignored or not supported.
4837
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4838
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4839
 
      # The diagnosis changed in icc 8.0:
4840
 
      #   icc: Command line remark: option '-MP' not supported
4841
 
      if (grep 'ignoring option' conftest.err ||
4842
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4843
 
        am_cv_CXX_dependencies_compiler_type=$depmode
4844
 
        break
4845
 
      fi
4846
 
    fi
4847
 
  done
4848
 
 
4849
 
  cd ..
4850
 
  rm -rf conftest.dir
4851
 
else
4852
 
  am_cv_CXX_dependencies_compiler_type=none
4853
 
fi
4854
 
 
4855
 
fi
4856
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4857
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4858
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4859
 
 
4860
 
 
4861
 
 
4862
 
if
4863
 
  test "x$enable_dependency_tracking" != xno \
4864
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4865
 
  am__fastdepCXX_TRUE=
4866
 
  am__fastdepCXX_FALSE='#'
4867
 
else
4868
 
  am__fastdepCXX_TRUE='#'
4869
 
  am__fastdepCXX_FALSE=
4870
 
fi
4871
 
 
4872
 
 
4873
 
 
4874
 
 
4875
 
  { echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
4876
 
echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6; }
4877
 
 
4878
 
 
4879
 
  cat >conftest.$ac_ext <<_ACEOF
4880
 
/* confdefs.h.  */
4881
 
_ACEOF
4882
 
cat confdefs.h >>conftest.$ac_ext
4883
 
cat >>conftest.$ac_ext <<_ACEOF
4884
 
/* end confdefs.h.  */
4885
 
 
4886
 
#ifdef __GNUC__
4887
 
#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
4888
 
choke me
4889
 
#endif
4890
 
#endif
4891
 
 
4892
 
int
4893
 
main ()
4894
 
{
4895
 
 
4896
 
  ;
4897
 
  return 0;
4898
 
}
4899
 
_ACEOF
4900
 
rm -f conftest.$ac_objext
4901
 
if { (ac_try="$ac_compile"
4902
 
case "(($ac_try" in
4903
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4904
 
  *) ac_try_echo=$ac_try;;
4905
 
esac
4906
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4907
 
  (eval "$ac_compile") 2>conftest.er1
4908
 
  ac_status=$?
4909
 
  grep -v '^ *+' conftest.er1 >conftest.err
4910
 
  rm -f conftest.er1
4911
 
  cat conftest.err >&5
4912
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913
 
  (exit $ac_status); } && {
4914
 
         test -z "$ac_c_werror_flag" ||
4915
 
         test ! -s conftest.err
4916
 
       } && test -s conftest.$ac_objext; then
4917
 
  kde_bad_compiler=no
4918
 
else
4919
 
  echo "$as_me: failed program was:" >&5
4920
 
sed 's/^/| /' conftest.$ac_ext >&5
4921
 
 
4922
 
        kde_bad_compiler=yes
4923
 
 
4924
 
fi
4925
 
 
4926
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927
 
 
4928
 
  { echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
4929
 
echo "${ECHO_T}$kde_bad_compiler" >&6; }
4930
 
 
4931
 
if test "$kde_bad_compiler" = "yes"; then
4932
 
  { { echo "$as_me:$LINENO: error:
4933
 
 
4934
 
This particular compiler version is blacklisted because it
4935
 
is known to miscompile KDE. Please use a newer version, or
4936
 
if that is not yet available, choose an older version.
4937
 
 
4938
 
Please do not report a bug or bother us reporting this
4939
 
configure error. We know about it, and we introduced
4940
 
it by intention to avoid untraceable bugs or crashes in KDE.
4941
 
 
4942
 
" >&5
4943
 
echo "$as_me: error:
4944
 
 
4945
 
This particular compiler version is blacklisted because it
4946
 
is known to miscompile KDE. Please use a newer version, or
4947
 
if that is not yet available, choose an older version.
4948
 
 
4949
 
Please do not report a bug or bother us reporting this
4950
 
configure error. We know about it, and we introduced
4951
 
it by intention to avoid untraceable bugs or crashes in KDE.
4952
 
 
4953
 
" >&2;}
4954
 
   { (exit 1); exit 1; }; }
4955
 
fi
4956
 
 
4957
 
 
4958
 
 
4959
 
  if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
4960
 
    if test "$kde_use_debug_code" != "no"; then
4961
 
      if test "$CXX" = "KCC"; then
4962
 
        CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
4963
 
      else
4964
 
        if test "$kde_use_debug_code" = "full"; then
4965
 
          CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
4966
 
        else
4967
 
          CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
4968
 
        fi
4969
 
      fi
4970
 
 
4971
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4972
 
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6; }
4973
 
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4974
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4975
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4976
 
else
4977
 
 
4978
 
 
4979
 
 
4980
 
ac_ext=cpp
4981
 
ac_cpp='$CXXCPP $CPPFLAGS'
4982
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4983
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4984
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4985
 
 
4986
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4987
 
 
4988
 
 
4989
 
 
4990
 
  save_CXXFLAGS="$CXXFLAGS"
4991
 
  CXXFLAGS="$CXXFLAGS -fno-builtin"
4992
 
  cat >conftest.$ac_ext <<_ACEOF
4993
 
/* confdefs.h.  */
4994
 
_ACEOF
4995
 
cat confdefs.h >>conftest.$ac_ext
4996
 
cat >>conftest.$ac_ext <<_ACEOF
4997
 
/* end confdefs.h.  */
4998
 
 
4999
 
int
5000
 
main ()
5001
 
{
5002
 
 return 0;
5003
 
  ;
5004
 
  return 0;
5005
 
}
5006
 
_ACEOF
5007
 
rm -f conftest.$ac_objext conftest$ac_exeext
5008
 
if { (ac_try="$ac_link"
5009
 
case "(($ac_try" in
5010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5011
 
  *) ac_try_echo=$ac_try;;
5012
 
esac
5013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5014
 
  (eval "$ac_link") 2>conftest.er1
5015
 
  ac_status=$?
5016
 
  grep -v '^ *+' conftest.er1 >conftest.err
5017
 
  rm -f conftest.er1
5018
 
  cat conftest.err >&5
5019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020
 
  (exit $ac_status); } && {
5021
 
         test -z "$ac_cxx_werror_flag" ||
5022
 
         test ! -s conftest.err
5023
 
       } && test -s conftest$ac_exeext &&
5024
 
       $as_test_x conftest$ac_exeext; then
5025
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5026
 
else
5027
 
  echo "$as_me: failed program was:" >&5
5028
 
sed 's/^/| /' conftest.$ac_ext >&5
5029
 
 
5030
 
 
5031
 
fi
5032
 
 
5033
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5034
 
      conftest$ac_exeext conftest.$ac_ext
5035
 
  CXXFLAGS="$save_CXXFLAGS"
5036
 
  ac_ext=c
5037
 
ac_cpp='$CPP $CPPFLAGS'
5038
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5039
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5040
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5041
 
 
5042
 
 
5043
 
fi
5044
 
 
5045
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5046
 
 { echo "$as_me:$LINENO: result: yes" >&5
5047
 
echo "${ECHO_T}yes" >&6; }
5048
 
 :
5049
 
 CXXFLAGS="-fno-builtin $CXXFLAGS"
5050
 
else
5051
 
 { echo "$as_me:$LINENO: result: no" >&5
5052
 
echo "${ECHO_T}no" >&6; }
5053
 
 :
5054
 
 
5055
 
fi
5056
 
 
5057
 
 
5058
 
 
5059
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
5060
 
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6; }
5061
 
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
5062
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5063
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5064
 
else
5065
 
 
5066
 
 
5067
 
   ac_ext=cpp
5068
 
ac_cpp='$CXXCPP $CPPFLAGS'
5069
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5072
 
 
5073
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5074
 
 
5075
 
 
5076
 
  save_CXXFLAGS="$CXXFLAGS"
5077
 
  CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
5078
 
  cat >conftest.$ac_ext <<_ACEOF
5079
 
/* confdefs.h.  */
5080
 
_ACEOF
5081
 
cat confdefs.h >>conftest.$ac_ext
5082
 
cat >>conftest.$ac_ext <<_ACEOF
5083
 
/* end confdefs.h.  */
5084
 
 
5085
 
int
5086
 
main ()
5087
 
{
5088
 
 return 0;
5089
 
  ;
5090
 
  return 0;
5091
 
}
5092
 
_ACEOF
5093
 
rm -f conftest.$ac_objext conftest$ac_exeext
5094
 
if { (ac_try="$ac_link"
5095
 
case "(($ac_try" in
5096
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5097
 
  *) ac_try_echo=$ac_try;;
5098
 
esac
5099
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5100
 
  (eval "$ac_link") 2>conftest.er1
5101
 
  ac_status=$?
5102
 
  grep -v '^ *+' conftest.er1 >conftest.err
5103
 
  rm -f conftest.er1
5104
 
  cat conftest.err >&5
5105
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106
 
  (exit $ac_status); } && {
5107
 
         test -z "$ac_cxx_werror_flag" ||
5108
 
         test ! -s conftest.err
5109
 
       } && test -s conftest$ac_exeext &&
5110
 
       $as_test_x conftest$ac_exeext; then
5111
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5112
 
else
5113
 
  echo "$as_me: failed program was:" >&5
5114
 
sed 's/^/| /' conftest.$ac_ext >&5
5115
 
 
5116
 
 
5117
 
fi
5118
 
 
5119
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5120
 
      conftest$ac_exeext conftest.$ac_ext
5121
 
  CXXFLAGS="$save_CXXFLAGS"
5122
 
  ac_ext=c
5123
 
ac_cpp='$CPP $CPPFLAGS'
5124
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5127
 
 
5128
 
 
5129
 
fi
5130
 
 
5131
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5132
 
 { echo "$as_me:$LINENO: result: yes" >&5
5133
 
echo "${ECHO_T}yes" >&6; }
5134
 
 :
5135
 
 WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
5136
 
else
5137
 
 { echo "$as_me:$LINENO: result: no" >&5
5138
 
echo "${ECHO_T}no" >&6; }
5139
 
 :
5140
 
 WOVERLOADED_VRITUAL=""
5141
 
fi
5142
 
 
5143
 
 
5144
 
    else
5145
 
      if test "$CXX" = "KCC"; then
5146
 
        CXXFLAGS="+K3 $CXXFLAGS"
5147
 
      else
5148
 
        CXXFLAGS="-O2 $CXXFLAGS"
5149
 
      fi
5150
 
    fi
5151
 
  fi
5152
 
 
5153
 
  if test "$kde_use_debug_define" = "yes"; then
5154
 
    CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
5155
 
  fi
5156
 
 
5157
 
  if test "$kde_use_profiling" = "yes"; then
5158
 
 
5159
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
5160
 
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6; }
5161
 
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
5162
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5163
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5164
 
else
5165
 
 
5166
 
 
5167
 
   ac_ext=cpp
5168
 
ac_cpp='$CXXCPP $CPPFLAGS'
5169
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5170
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5171
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5172
 
 
5173
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5174
 
 
5175
 
 
5176
 
  save_CXXFLAGS="$CXXFLAGS"
5177
 
  CXXFLAGS="$CXXFLAGS -pg"
5178
 
  cat >conftest.$ac_ext <<_ACEOF
5179
 
/* confdefs.h.  */
5180
 
_ACEOF
5181
 
cat confdefs.h >>conftest.$ac_ext
5182
 
cat >>conftest.$ac_ext <<_ACEOF
5183
 
/* end confdefs.h.  */
5184
 
 
5185
 
int
5186
 
main ()
5187
 
{
5188
 
 return 0;
5189
 
  ;
5190
 
  return 0;
5191
 
}
5192
 
_ACEOF
5193
 
rm -f conftest.$ac_objext conftest$ac_exeext
5194
 
if { (ac_try="$ac_link"
5195
 
case "(($ac_try" in
5196
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5197
 
  *) ac_try_echo=$ac_try;;
5198
 
esac
5199
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5200
 
  (eval "$ac_link") 2>conftest.er1
5201
 
  ac_status=$?
5202
 
  grep -v '^ *+' conftest.er1 >conftest.err
5203
 
  rm -f conftest.er1
5204
 
  cat conftest.err >&5
5205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206
 
  (exit $ac_status); } && {
5207
 
         test -z "$ac_cxx_werror_flag" ||
5208
 
         test ! -s conftest.err
5209
 
       } && test -s conftest$ac_exeext &&
5210
 
       $as_test_x conftest$ac_exeext; then
5211
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5212
 
else
5213
 
  echo "$as_me: failed program was:" >&5
5214
 
sed 's/^/| /' conftest.$ac_ext >&5
5215
 
 
5216
 
 
5217
 
fi
5218
 
 
5219
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5220
 
      conftest$ac_exeext conftest.$ac_ext
5221
 
  CXXFLAGS="$save_CXXFLAGS"
5222
 
  ac_ext=c
5223
 
ac_cpp='$CPP $CPPFLAGS'
5224
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5225
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5226
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5227
 
 
5228
 
 
5229
 
fi
5230
 
 
5231
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5232
 
 { echo "$as_me:$LINENO: result: yes" >&5
5233
 
echo "${ECHO_T}yes" >&6; }
5234
 
 :
5235
 
 
5236
 
      CFLAGS="-pg $CFLAGS"
5237
 
      CXXFLAGS="-pg $CXXFLAGS"
5238
 
 
5239
 
else
5240
 
 { echo "$as_me:$LINENO: result: no" >&5
5241
 
echo "${ECHO_T}no" >&6; }
5242
 
 :
5243
 
 
5244
 
fi
5245
 
 
5246
 
  fi
5247
 
 
5248
 
  if test "$kde_use_warnings" = "yes"; then
5249
 
      if test "$GCC" = "yes"; then
5250
 
        CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
5251
 
        case $host in
5252
 
          *-*-linux-gnu)
5253
 
            CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
5254
 
            CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS"
5255
 
 
5256
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
5257
 
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5258
 
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5259
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5260
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5261
 
else
5262
 
 
5263
 
 
5264
 
   ac_ext=cpp
5265
 
ac_cpp='$CXXCPP $CPPFLAGS'
5266
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5267
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5268
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5269
 
 
5270
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5271
 
 
5272
 
 
5273
 
  save_CXXFLAGS="$CXXFLAGS"
5274
 
  CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
5275
 
  cat >conftest.$ac_ext <<_ACEOF
5276
 
/* confdefs.h.  */
5277
 
_ACEOF
5278
 
cat confdefs.h >>conftest.$ac_ext
5279
 
cat >>conftest.$ac_ext <<_ACEOF
5280
 
/* end confdefs.h.  */
5281
 
 
5282
 
int
5283
 
main ()
5284
 
{
5285
 
 return 0;
5286
 
  ;
5287
 
  return 0;
5288
 
}
5289
 
_ACEOF
5290
 
rm -f conftest.$ac_objext conftest$ac_exeext
5291
 
if { (ac_try="$ac_link"
5292
 
case "(($ac_try" in
5293
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5294
 
  *) ac_try_echo=$ac_try;;
5295
 
esac
5296
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5297
 
  (eval "$ac_link") 2>conftest.er1
5298
 
  ac_status=$?
5299
 
  grep -v '^ *+' conftest.er1 >conftest.err
5300
 
  rm -f conftest.er1
5301
 
  cat conftest.err >&5
5302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303
 
  (exit $ac_status); } && {
5304
 
         test -z "$ac_cxx_werror_flag" ||
5305
 
         test ! -s conftest.err
5306
 
       } && test -s conftest$ac_exeext &&
5307
 
       $as_test_x conftest$ac_exeext; then
5308
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5309
 
else
5310
 
  echo "$as_me: failed program was:" >&5
5311
 
sed 's/^/| /' conftest.$ac_ext >&5
5312
 
 
5313
 
 
5314
 
fi
5315
 
 
5316
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5317
 
      conftest$ac_exeext conftest.$ac_ext
5318
 
  CXXFLAGS="$save_CXXFLAGS"
5319
 
  ac_ext=c
5320
 
ac_cpp='$CPP $CPPFLAGS'
5321
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5322
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5323
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5324
 
 
5325
 
 
5326
 
fi
5327
 
 
5328
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5329
 
 { echo "$as_me:$LINENO: result: yes" >&5
5330
 
echo "${ECHO_T}yes" >&6; }
5331
 
 :
5332
 
 CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
5333
 
else
5334
 
 { echo "$as_me:$LINENO: result: no" >&5
5335
 
echo "${ECHO_T}no" >&6; }
5336
 
 :
5337
 
 
5338
 
fi
5339
 
 
5340
 
 
5341
 
{ echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
5342
 
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5343
 
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5344
 
if { as_var=kde_cv_prog_cc_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5345
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5346
 
else
5347
 
 
5348
 
 
5349
 
  ac_ext=c
5350
 
ac_cpp='$CPP $CPPFLAGS'
5351
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5352
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5353
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5354
 
 
5355
 
  save_CFLAGS="$CFLAGS"
5356
 
  CFLAGS="$CFLAGS -Wmissing-format-attribute"
5357
 
  cat >conftest.$ac_ext <<_ACEOF
5358
 
/* confdefs.h.  */
5359
 
_ACEOF
5360
 
cat confdefs.h >>conftest.$ac_ext
5361
 
cat >>conftest.$ac_ext <<_ACEOF
5362
 
/* end confdefs.h.  */
5363
 
 
5364
 
int
5365
 
main ()
5366
 
{
5367
 
 return 0;
5368
 
  ;
5369
 
  return 0;
5370
 
}
5371
 
_ACEOF
5372
 
rm -f conftest.$ac_objext conftest$ac_exeext
5373
 
if { (ac_try="$ac_link"
5374
 
case "(($ac_try" in
5375
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5376
 
  *) ac_try_echo=$ac_try;;
5377
 
esac
5378
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5379
 
  (eval "$ac_link") 2>conftest.er1
5380
 
  ac_status=$?
5381
 
  grep -v '^ *+' conftest.er1 >conftest.err
5382
 
  rm -f conftest.er1
5383
 
  cat conftest.err >&5
5384
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385
 
  (exit $ac_status); } && {
5386
 
         test -z "$ac_c_werror_flag" ||
5387
 
         test ! -s conftest.err
5388
 
       } && test -s conftest$ac_exeext &&
5389
 
       $as_test_x conftest$ac_exeext; then
5390
 
  eval "kde_cv_prog_cc_$kde_cache=yes"
5391
 
else
5392
 
  echo "$as_me: failed program was:" >&5
5393
 
sed 's/^/| /' conftest.$ac_ext >&5
5394
 
 
5395
 
 
5396
 
fi
5397
 
 
5398
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5399
 
      conftest$ac_exeext conftest.$ac_ext
5400
 
  CFLAGS="$save_CFLAGS"
5401
 
  ac_ext=c
5402
 
ac_cpp='$CPP $CPPFLAGS'
5403
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5404
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5405
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5406
 
 
5407
 
 
5408
 
fi
5409
 
 
5410
 
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
5411
 
 { echo "$as_me:$LINENO: result: yes" >&5
5412
 
echo "${ECHO_T}yes" >&6; }
5413
 
 :
5414
 
 CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
5415
 
else
5416
 
 { echo "$as_me:$LINENO: result: no" >&5
5417
 
echo "${ECHO_T}no" >&6; }
5418
 
 :
5419
 
 
5420
 
fi
5421
 
 
5422
 
          ;;
5423
 
        esac
5424
 
 
5425
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
5426
 
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6; }
5427
 
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
5428
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5429
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5430
 
else
5431
 
 
5432
 
 
5433
 
   ac_ext=cpp
5434
 
ac_cpp='$CXXCPP $CPPFLAGS'
5435
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5436
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5437
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5438
 
 
5439
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5440
 
 
5441
 
 
5442
 
  save_CXXFLAGS="$CXXFLAGS"
5443
 
  CXXFLAGS="$CXXFLAGS -Wundef"
5444
 
  cat >conftest.$ac_ext <<_ACEOF
5445
 
/* confdefs.h.  */
5446
 
_ACEOF
5447
 
cat confdefs.h >>conftest.$ac_ext
5448
 
cat >>conftest.$ac_ext <<_ACEOF
5449
 
/* end confdefs.h.  */
5450
 
 
5451
 
int
5452
 
main ()
5453
 
{
5454
 
 return 0;
5455
 
  ;
5456
 
  return 0;
5457
 
}
5458
 
_ACEOF
5459
 
rm -f conftest.$ac_objext conftest$ac_exeext
5460
 
if { (ac_try="$ac_link"
5461
 
case "(($ac_try" in
5462
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5463
 
  *) ac_try_echo=$ac_try;;
5464
 
esac
5465
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5466
 
  (eval "$ac_link") 2>conftest.er1
5467
 
  ac_status=$?
5468
 
  grep -v '^ *+' conftest.er1 >conftest.err
5469
 
  rm -f conftest.er1
5470
 
  cat conftest.err >&5
5471
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472
 
  (exit $ac_status); } && {
5473
 
         test -z "$ac_cxx_werror_flag" ||
5474
 
         test ! -s conftest.err
5475
 
       } && test -s conftest$ac_exeext &&
5476
 
       $as_test_x conftest$ac_exeext; then
5477
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5478
 
else
5479
 
  echo "$as_me: failed program was:" >&5
5480
 
sed 's/^/| /' conftest.$ac_ext >&5
5481
 
 
5482
 
 
5483
 
fi
5484
 
 
5485
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5486
 
      conftest$ac_exeext conftest.$ac_ext
5487
 
  CXXFLAGS="$save_CXXFLAGS"
5488
 
  ac_ext=c
5489
 
ac_cpp='$CPP $CPPFLAGS'
5490
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5491
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5492
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5493
 
 
5494
 
 
5495
 
fi
5496
 
 
5497
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5498
 
 { echo "$as_me:$LINENO: result: yes" >&5
5499
 
echo "${ECHO_T}yes" >&6; }
5500
 
 :
5501
 
 CXXFLAGS="-Wundef $CXXFLAGS"
5502
 
else
5503
 
 { echo "$as_me:$LINENO: result: no" >&5
5504
 
echo "${ECHO_T}no" >&6; }
5505
 
 :
5506
 
 
5507
 
fi
5508
 
 
5509
 
 
5510
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
5511
 
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6; }
5512
 
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
5513
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5514
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5515
 
else
5516
 
 
5517
 
 
5518
 
   ac_ext=cpp
5519
 
ac_cpp='$CXXCPP $CPPFLAGS'
5520
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5521
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5522
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5523
 
 
5524
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5525
 
 
5526
 
 
5527
 
  save_CXXFLAGS="$CXXFLAGS"
5528
 
  CXXFLAGS="$CXXFLAGS -Wno-long-long"
5529
 
  cat >conftest.$ac_ext <<_ACEOF
5530
 
/* confdefs.h.  */
5531
 
_ACEOF
5532
 
cat confdefs.h >>conftest.$ac_ext
5533
 
cat >>conftest.$ac_ext <<_ACEOF
5534
 
/* end confdefs.h.  */
5535
 
 
5536
 
int
5537
 
main ()
5538
 
{
5539
 
 return 0;
5540
 
  ;
5541
 
  return 0;
5542
 
}
5543
 
_ACEOF
5544
 
rm -f conftest.$ac_objext conftest$ac_exeext
5545
 
if { (ac_try="$ac_link"
5546
 
case "(($ac_try" in
5547
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5548
 
  *) ac_try_echo=$ac_try;;
5549
 
esac
5550
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5551
 
  (eval "$ac_link") 2>conftest.er1
5552
 
  ac_status=$?
5553
 
  grep -v '^ *+' conftest.er1 >conftest.err
5554
 
  rm -f conftest.er1
5555
 
  cat conftest.err >&5
5556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557
 
  (exit $ac_status); } && {
5558
 
         test -z "$ac_cxx_werror_flag" ||
5559
 
         test ! -s conftest.err
5560
 
       } && test -s conftest$ac_exeext &&
5561
 
       $as_test_x conftest$ac_exeext; then
5562
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5563
 
else
5564
 
  echo "$as_me: failed program was:" >&5
5565
 
sed 's/^/| /' conftest.$ac_ext >&5
5566
 
 
5567
 
 
5568
 
fi
5569
 
 
5570
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5571
 
      conftest$ac_exeext conftest.$ac_ext
5572
 
  CXXFLAGS="$save_CXXFLAGS"
5573
 
  ac_ext=c
5574
 
ac_cpp='$CPP $CPPFLAGS'
5575
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5576
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5577
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5578
 
 
5579
 
 
5580
 
fi
5581
 
 
5582
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5583
 
 { echo "$as_me:$LINENO: result: yes" >&5
5584
 
echo "${ECHO_T}yes" >&6; }
5585
 
 :
5586
 
 CXXFLAGS="-Wno-long-long $CXXFLAGS"
5587
 
else
5588
 
 { echo "$as_me:$LINENO: result: no" >&5
5589
 
echo "${ECHO_T}no" >&6; }
5590
 
 :
5591
 
 
5592
 
fi
5593
 
 
5594
 
 
5595
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
5596
 
echo $ECHO_N "checking whether $CXX supports -Wno-non-virtual-dtor... $ECHO_C" >&6; }
5597
 
kde_cache=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
5598
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5599
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5600
 
else
5601
 
 
5602
 
 
5603
 
   ac_ext=cpp
5604
 
ac_cpp='$CXXCPP $CPPFLAGS'
5605
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5608
 
 
5609
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5610
 
 
5611
 
 
5612
 
  save_CXXFLAGS="$CXXFLAGS"
5613
 
  CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5614
 
  cat >conftest.$ac_ext <<_ACEOF
5615
 
/* confdefs.h.  */
5616
 
_ACEOF
5617
 
cat confdefs.h >>conftest.$ac_ext
5618
 
cat >>conftest.$ac_ext <<_ACEOF
5619
 
/* end confdefs.h.  */
5620
 
 
5621
 
int
5622
 
main ()
5623
 
{
5624
 
 return 0;
5625
 
  ;
5626
 
  return 0;
5627
 
}
5628
 
_ACEOF
5629
 
rm -f conftest.$ac_objext conftest$ac_exeext
5630
 
if { (ac_try="$ac_link"
5631
 
case "(($ac_try" in
5632
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5633
 
  *) ac_try_echo=$ac_try;;
5634
 
esac
5635
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5636
 
  (eval "$ac_link") 2>conftest.er1
5637
 
  ac_status=$?
5638
 
  grep -v '^ *+' conftest.er1 >conftest.err
5639
 
  rm -f conftest.er1
5640
 
  cat conftest.err >&5
5641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642
 
  (exit $ac_status); } && {
5643
 
         test -z "$ac_cxx_werror_flag" ||
5644
 
         test ! -s conftest.err
5645
 
       } && test -s conftest$ac_exeext &&
5646
 
       $as_test_x conftest$ac_exeext; then
5647
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5648
 
else
5649
 
  echo "$as_me: failed program was:" >&5
5650
 
sed 's/^/| /' conftest.$ac_ext >&5
5651
 
 
5652
 
 
5653
 
fi
5654
 
 
5655
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5656
 
      conftest$ac_exeext conftest.$ac_ext
5657
 
  CXXFLAGS="$save_CXXFLAGS"
5658
 
  ac_ext=c
5659
 
ac_cpp='$CPP $CPPFLAGS'
5660
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5661
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5662
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5663
 
 
5664
 
 
5665
 
fi
5666
 
 
5667
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5668
 
 { echo "$as_me:$LINENO: result: yes" >&5
5669
 
echo "${ECHO_T}yes" >&6; }
5670
 
 :
5671
 
 CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5672
 
else
5673
 
 { echo "$as_me:$LINENO: result: no" >&5
5674
 
echo "${ECHO_T}no" >&6; }
5675
 
 :
5676
 
 
5677
 
fi
5678
 
 
5679
 
     fi
5680
 
  fi
5681
 
 
5682
 
  if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
5683
 
    CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
5684
 
  fi
5685
 
 
5686
 
  # Check whether --enable-pch was given.
5687
 
if test "${enable_pch+set}" = set; then
5688
 
  enableval=$enable_pch;  kde_use_pch=$enableval
5689
 
else
5690
 
   kde_use_pch=no
5691
 
fi
5692
 
 
5693
 
 
5694
 
  HAVE_GCC_VISIBILITY=0
5695
 
 
5696
 
 
5697
 
  if test "$GXX" = "yes"; then
5698
 
    gcc_no_reorder_blocks=NO
5699
 
 
5700
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-reorder-blocks" >&5
5701
 
echo $ECHO_N "checking whether $CXX supports -fno-reorder-blocks... $ECHO_C" >&6; }
5702
 
kde_cache=`echo fno-reorder-blocks | sed 'y% .=/+-,%____p__%'`
5703
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5704
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5705
 
else
5706
 
 
5707
 
 
5708
 
   ac_ext=cpp
5709
 
ac_cpp='$CXXCPP $CPPFLAGS'
5710
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5711
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5712
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5713
 
 
5714
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5715
 
 
5716
 
 
5717
 
  save_CXXFLAGS="$CXXFLAGS"
5718
 
  CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5719
 
  cat >conftest.$ac_ext <<_ACEOF
5720
 
/* confdefs.h.  */
5721
 
_ACEOF
5722
 
cat confdefs.h >>conftest.$ac_ext
5723
 
cat >>conftest.$ac_ext <<_ACEOF
5724
 
/* end confdefs.h.  */
5725
 
 
5726
 
int
5727
 
main ()
5728
 
{
5729
 
 return 0;
5730
 
  ;
5731
 
  return 0;
5732
 
}
5733
 
_ACEOF
5734
 
rm -f conftest.$ac_objext conftest$ac_exeext
5735
 
if { (ac_try="$ac_link"
5736
 
case "(($ac_try" in
5737
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5738
 
  *) ac_try_echo=$ac_try;;
5739
 
esac
5740
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5741
 
  (eval "$ac_link") 2>conftest.er1
5742
 
  ac_status=$?
5743
 
  grep -v '^ *+' conftest.er1 >conftest.err
5744
 
  rm -f conftest.er1
5745
 
  cat conftest.err >&5
5746
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747
 
  (exit $ac_status); } && {
5748
 
         test -z "$ac_cxx_werror_flag" ||
5749
 
         test ! -s conftest.err
5750
 
       } && test -s conftest$ac_exeext &&
5751
 
       $as_test_x conftest$ac_exeext; then
5752
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5753
 
else
5754
 
  echo "$as_me: failed program was:" >&5
5755
 
sed 's/^/| /' conftest.$ac_ext >&5
5756
 
 
5757
 
 
5758
 
fi
5759
 
 
5760
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5761
 
      conftest$ac_exeext conftest.$ac_ext
5762
 
  CXXFLAGS="$save_CXXFLAGS"
5763
 
  ac_ext=c
5764
 
ac_cpp='$CPP $CPPFLAGS'
5765
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5766
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5767
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5768
 
 
5769
 
 
5770
 
fi
5771
 
 
5772
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5773
 
 { echo "$as_me:$LINENO: result: yes" >&5
5774
 
echo "${ECHO_T}yes" >&6; }
5775
 
 :
5776
 
 gcc_no_reorder_blocks=YES
5777
 
else
5778
 
 { echo "$as_me:$LINENO: result: no" >&5
5779
 
echo "${ECHO_T}no" >&6; }
5780
 
 :
5781
 
 
5782
 
fi
5783
 
 
5784
 
    if test $kde_use_debug_code != "no" && \
5785
 
       test $kde_use_debug_code != "full" && \
5786
 
       test "YES" = "$gcc_no_reorder_blocks" ; then
5787
 
          CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5788
 
          CFLAGS="$CFLAGS -fno-reorder-blocks"
5789
 
    fi
5790
 
 
5791
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
5792
 
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6; }
5793
 
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
5794
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5796
 
else
5797
 
 
5798
 
 
5799
 
   ac_ext=cpp
5800
 
ac_cpp='$CXXCPP $CPPFLAGS'
5801
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5802
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5803
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5804
 
 
5805
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5806
 
 
5807
 
 
5808
 
  save_CXXFLAGS="$CXXFLAGS"
5809
 
  CXXFLAGS="$CXXFLAGS -fno-exceptions"
5810
 
  cat >conftest.$ac_ext <<_ACEOF
5811
 
/* confdefs.h.  */
5812
 
_ACEOF
5813
 
cat confdefs.h >>conftest.$ac_ext
5814
 
cat >>conftest.$ac_ext <<_ACEOF
5815
 
/* end confdefs.h.  */
5816
 
 
5817
 
int
5818
 
main ()
5819
 
{
5820
 
 return 0;
5821
 
  ;
5822
 
  return 0;
5823
 
}
5824
 
_ACEOF
5825
 
rm -f conftest.$ac_objext conftest$ac_exeext
5826
 
if { (ac_try="$ac_link"
5827
 
case "(($ac_try" in
5828
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5829
 
  *) ac_try_echo=$ac_try;;
5830
 
esac
5831
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5832
 
  (eval "$ac_link") 2>conftest.er1
5833
 
  ac_status=$?
5834
 
  grep -v '^ *+' conftest.er1 >conftest.err
5835
 
  rm -f conftest.er1
5836
 
  cat conftest.err >&5
5837
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838
 
  (exit $ac_status); } && {
5839
 
         test -z "$ac_cxx_werror_flag" ||
5840
 
         test ! -s conftest.err
5841
 
       } && test -s conftest$ac_exeext &&
5842
 
       $as_test_x conftest$ac_exeext; then
5843
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5844
 
else
5845
 
  echo "$as_me: failed program was:" >&5
5846
 
sed 's/^/| /' conftest.$ac_ext >&5
5847
 
 
5848
 
 
5849
 
fi
5850
 
 
5851
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5852
 
      conftest$ac_exeext conftest.$ac_ext
5853
 
  CXXFLAGS="$save_CXXFLAGS"
5854
 
  ac_ext=c
5855
 
ac_cpp='$CPP $CPPFLAGS'
5856
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5857
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5858
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5859
 
 
5860
 
 
5861
 
fi
5862
 
 
5863
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5864
 
 { echo "$as_me:$LINENO: result: yes" >&5
5865
 
echo "${ECHO_T}yes" >&6; }
5866
 
 :
5867
 
 CXXFLAGS="$CXXFLAGS -fno-exceptions"
5868
 
else
5869
 
 { echo "$as_me:$LINENO: result: no" >&5
5870
 
echo "${ECHO_T}no" >&6; }
5871
 
 :
5872
 
 
5873
 
fi
5874
 
 
5875
 
 
5876
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5877
 
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6; }
5878
 
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5879
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5880
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5881
 
else
5882
 
 
5883
 
 
5884
 
   ac_ext=cpp
5885
 
ac_cpp='$CXXCPP $CPPFLAGS'
5886
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5887
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5888
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5889
 
 
5890
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5891
 
 
5892
 
 
5893
 
  save_CXXFLAGS="$CXXFLAGS"
5894
 
  CXXFLAGS="$CXXFLAGS -fno-check-new"
5895
 
  cat >conftest.$ac_ext <<_ACEOF
5896
 
/* confdefs.h.  */
5897
 
_ACEOF
5898
 
cat confdefs.h >>conftest.$ac_ext
5899
 
cat >>conftest.$ac_ext <<_ACEOF
5900
 
/* end confdefs.h.  */
5901
 
 
5902
 
int
5903
 
main ()
5904
 
{
5905
 
 return 0;
5906
 
  ;
5907
 
  return 0;
5908
 
}
5909
 
_ACEOF
5910
 
rm -f conftest.$ac_objext conftest$ac_exeext
5911
 
if { (ac_try="$ac_link"
5912
 
case "(($ac_try" in
5913
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5914
 
  *) ac_try_echo=$ac_try;;
5915
 
esac
5916
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5917
 
  (eval "$ac_link") 2>conftest.er1
5918
 
  ac_status=$?
5919
 
  grep -v '^ *+' conftest.er1 >conftest.err
5920
 
  rm -f conftest.er1
5921
 
  cat conftest.err >&5
5922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923
 
  (exit $ac_status); } && {
5924
 
         test -z "$ac_cxx_werror_flag" ||
5925
 
         test ! -s conftest.err
5926
 
       } && test -s conftest$ac_exeext &&
5927
 
       $as_test_x conftest$ac_exeext; then
5928
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5929
 
else
5930
 
  echo "$as_me: failed program was:" >&5
5931
 
sed 's/^/| /' conftest.$ac_ext >&5
5932
 
 
5933
 
 
5934
 
fi
5935
 
 
5936
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5937
 
      conftest$ac_exeext conftest.$ac_ext
5938
 
  CXXFLAGS="$save_CXXFLAGS"
5939
 
  ac_ext=c
5940
 
ac_cpp='$CPP $CPPFLAGS'
5941
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5942
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5943
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5944
 
 
5945
 
 
5946
 
fi
5947
 
 
5948
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5949
 
 { echo "$as_me:$LINENO: result: yes" >&5
5950
 
echo "${ECHO_T}yes" >&6; }
5951
 
 :
5952
 
 CXXFLAGS="$CXXFLAGS -fno-check-new"
5953
 
else
5954
 
 { echo "$as_me:$LINENO: result: no" >&5
5955
 
echo "${ECHO_T}no" >&6; }
5956
 
 :
5957
 
 
5958
 
fi
5959
 
 
5960
 
 
5961
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5962
 
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6; }
5963
 
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5964
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5965
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5966
 
else
5967
 
 
5968
 
 
5969
 
   ac_ext=cpp
5970
 
ac_cpp='$CXXCPP $CPPFLAGS'
5971
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5972
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5973
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5974
 
 
5975
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5976
 
 
5977
 
 
5978
 
  save_CXXFLAGS="$CXXFLAGS"
5979
 
  CXXFLAGS="$CXXFLAGS -fno-common"
5980
 
  cat >conftest.$ac_ext <<_ACEOF
5981
 
/* confdefs.h.  */
5982
 
_ACEOF
5983
 
cat confdefs.h >>conftest.$ac_ext
5984
 
cat >>conftest.$ac_ext <<_ACEOF
5985
 
/* end confdefs.h.  */
5986
 
 
5987
 
int
5988
 
main ()
5989
 
{
5990
 
 return 0;
5991
 
  ;
5992
 
  return 0;
5993
 
}
5994
 
_ACEOF
5995
 
rm -f conftest.$ac_objext conftest$ac_exeext
5996
 
if { (ac_try="$ac_link"
5997
 
case "(($ac_try" in
5998
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5999
 
  *) ac_try_echo=$ac_try;;
6000
 
esac
6001
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6002
 
  (eval "$ac_link") 2>conftest.er1
6003
 
  ac_status=$?
6004
 
  grep -v '^ *+' conftest.er1 >conftest.err
6005
 
  rm -f conftest.er1
6006
 
  cat conftest.err >&5
6007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008
 
  (exit $ac_status); } && {
6009
 
         test -z "$ac_cxx_werror_flag" ||
6010
 
         test ! -s conftest.err
6011
 
       } && test -s conftest$ac_exeext &&
6012
 
       $as_test_x conftest$ac_exeext; then
6013
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6014
 
else
6015
 
  echo "$as_me: failed program was:" >&5
6016
 
sed 's/^/| /' conftest.$ac_ext >&5
6017
 
 
6018
 
 
6019
 
fi
6020
 
 
6021
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6022
 
      conftest$ac_exeext conftest.$ac_ext
6023
 
  CXXFLAGS="$save_CXXFLAGS"
6024
 
  ac_ext=c
6025
 
ac_cpp='$CPP $CPPFLAGS'
6026
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6027
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6028
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6029
 
 
6030
 
 
6031
 
fi
6032
 
 
6033
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6034
 
 { echo "$as_me:$LINENO: result: yes" >&5
6035
 
echo "${ECHO_T}yes" >&6; }
6036
 
 :
6037
 
 CXXFLAGS="$CXXFLAGS -fno-common"
6038
 
else
6039
 
 { echo "$as_me:$LINENO: result: no" >&5
6040
 
echo "${ECHO_T}no" >&6; }
6041
 
 :
6042
 
 
6043
 
fi
6044
 
 
6045
 
 
6046
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
6047
 
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6; }
6048
 
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
6049
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6050
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6051
 
else
6052
 
 
6053
 
 
6054
 
   ac_ext=cpp
6055
 
ac_cpp='$CXXCPP $CPPFLAGS'
6056
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6057
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6058
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6059
 
 
6060
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6061
 
 
6062
 
 
6063
 
  save_CXXFLAGS="$CXXFLAGS"
6064
 
  CXXFLAGS="$CXXFLAGS -fexceptions"
6065
 
  cat >conftest.$ac_ext <<_ACEOF
6066
 
/* confdefs.h.  */
6067
 
_ACEOF
6068
 
cat confdefs.h >>conftest.$ac_ext
6069
 
cat >>conftest.$ac_ext <<_ACEOF
6070
 
/* end confdefs.h.  */
6071
 
 
6072
 
int
6073
 
main ()
6074
 
{
6075
 
 return 0;
6076
 
  ;
6077
 
  return 0;
6078
 
}
6079
 
_ACEOF
6080
 
rm -f conftest.$ac_objext conftest$ac_exeext
6081
 
if { (ac_try="$ac_link"
6082
 
case "(($ac_try" in
6083
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6084
 
  *) ac_try_echo=$ac_try;;
6085
 
esac
6086
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6087
 
  (eval "$ac_link") 2>conftest.er1
6088
 
  ac_status=$?
6089
 
  grep -v '^ *+' conftest.er1 >conftest.err
6090
 
  rm -f conftest.er1
6091
 
  cat conftest.err >&5
6092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093
 
  (exit $ac_status); } && {
6094
 
         test -z "$ac_cxx_werror_flag" ||
6095
 
         test ! -s conftest.err
6096
 
       } && test -s conftest$ac_exeext &&
6097
 
       $as_test_x conftest$ac_exeext; then
6098
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6099
 
else
6100
 
  echo "$as_me: failed program was:" >&5
6101
 
sed 's/^/| /' conftest.$ac_ext >&5
6102
 
 
6103
 
 
6104
 
fi
6105
 
 
6106
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6107
 
      conftest$ac_exeext conftest.$ac_ext
6108
 
  CXXFLAGS="$save_CXXFLAGS"
6109
 
  ac_ext=c
6110
 
ac_cpp='$CPP $CPPFLAGS'
6111
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6112
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6113
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6114
 
 
6115
 
 
6116
 
fi
6117
 
 
6118
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6119
 
 { echo "$as_me:$LINENO: result: yes" >&5
6120
 
echo "${ECHO_T}yes" >&6; }
6121
 
 :
6122
 
 USE_EXCEPTIONS="-fexceptions"
6123
 
else
6124
 
 { echo "$as_me:$LINENO: result: no" >&5
6125
 
echo "${ECHO_T}no" >&6; }
6126
 
 :
6127
 
 USE_EXCEPTIONS=
6128
 
fi
6129
 
 
6130
 
    ENABLE_PERMISSIVE_FLAG="-fpermissive"
6131
 
 
6132
 
    if test "$kde_use_pch" = "yes"; then
6133
 
        { echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
6134
 
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6; }
6135
 
        echo >conftest.h
6136
 
        if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
6137
 
            kde_gcc_supports_pch=yes
6138
 
            { echo "$as_me:$LINENO: result: yes" >&5
6139
 
echo "${ECHO_T}yes" >&6; }
6140
 
        else
6141
 
            kde_gcc_supports_pch=no
6142
 
            { echo "$as_me:$LINENO: result: no" >&5
6143
 
echo "${ECHO_T}no" >&6; }
6144
 
        fi
6145
 
        if test "$kde_gcc_supports_pch" = "yes"; then
6146
 
            { echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
6147
 
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6; }
6148
 
            if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
6149
 
                kde_gcc_supports_pch=yes
6150
 
                { echo "$as_me:$LINENO: result: yes" >&5
6151
 
echo "${ECHO_T}yes" >&6; }
6152
 
            else
6153
 
                kde_gcc_supports_pch=no
6154
 
                { echo "$as_me:$LINENO: result: no" >&5
6155
 
echo "${ECHO_T}no" >&6; }
6156
 
            fi
6157
 
        fi
6158
 
        rm -f conftest.h conftest.h.gch
6159
 
    fi
6160
 
 
6161
 
 
6162
 
  { echo "$as_me:$LINENO: checking whether system headers can cope with -O2 -fno-inline" >&5
6163
 
echo $ECHO_N "checking whether system headers can cope with -O2 -fno-inline... $ECHO_C" >&6; }
6164
 
if test "${kde_cv_opt_noinline_match+set}" = set; then
6165
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6166
 
else
6167
 
 
6168
 
  kde_cv_opt_noinline_match=irrelevant
6169
 
    if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
6170
 
     && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
6171
 
 
6172
 
    ac_cflags_save="$CFLAGS"
6173
 
    CFLAGS="$CFLAGS -D_USE_GNU"
6174
 
 
6175
 
    cat >conftest.$ac_ext <<_ACEOF
6176
 
/* confdefs.h.  */
6177
 
_ACEOF
6178
 
cat confdefs.h >>conftest.$ac_ext
6179
 
cat >>conftest.$ac_ext <<_ACEOF
6180
 
/* end confdefs.h.  */
6181
 
 
6182
 
  #include <string.h>
6183
 
 
6184
 
int
6185
 
main ()
6186
 
{
6187
 
  const char *pt, *et;
6188
 
  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 ,  ";,"  )); }) ;
6189
 
 
6190
 
  ;
6191
 
  return 0;
6192
 
}
6193
 
_ACEOF
6194
 
rm -f conftest.$ac_objext conftest$ac_exeext
6195
 
if { (ac_try="$ac_link"
6196
 
case "(($ac_try" in
6197
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6198
 
  *) ac_try_echo=$ac_try;;
6199
 
esac
6200
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6201
 
  (eval "$ac_link") 2>conftest.er1
6202
 
  ac_status=$?
6203
 
  grep -v '^ *+' conftest.er1 >conftest.err
6204
 
  rm -f conftest.er1
6205
 
  cat conftest.err >&5
6206
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207
 
  (exit $ac_status); } && {
6208
 
         test -z "$ac_c_werror_flag" ||
6209
 
         test ! -s conftest.err
6210
 
       } && test -s conftest$ac_exeext &&
6211
 
       $as_test_x conftest$ac_exeext; then
6212
 
  kde_cv_opt_noinline_match=yes
6213
 
else
6214
 
  echo "$as_me: failed program was:" >&5
6215
 
sed 's/^/| /' conftest.$ac_ext >&5
6216
 
 
6217
 
        kde_cv_opt_noinline_match=no
6218
 
 
6219
 
fi
6220
 
 
6221
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6222
 
      conftest$ac_exeext conftest.$ac_ext
6223
 
 
6224
 
    CFLAGS="$ac_cflags_save"
6225
 
  fi
6226
 
 
6227
 
fi
6228
 
{ echo "$as_me:$LINENO: result: $kde_cv_opt_noinline_match" >&5
6229
 
echo "${ECHO_T}$kde_cv_opt_noinline_match" >&6; }
6230
 
 
6231
 
    if test "x$kde_cv_opt_noinline_match" = "xno" ; then
6232
 
       CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
6233
 
    fi
6234
 
  fi
6235
 
 
6236
 
 
6237
 
if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
6238
 
  unsermake_enable_pch_TRUE=
6239
 
  unsermake_enable_pch_FALSE='#'
6240
 
else
6241
 
  unsermake_enable_pch_TRUE='#'
6242
 
  unsermake_enable_pch_FALSE=
6243
 
fi
6244
 
 
6245
 
  if test "$CXX" = "KCC"; then
6246
 
 
6247
 
    if test "$kde_use_pch" = "yes"; then
6248
 
 
6249
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
6250
 
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6; }
6251
 
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
6252
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6253
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6254
 
else
6255
 
 
6256
 
 
6257
 
   ac_ext=cpp
6258
 
ac_cpp='$CXXCPP $CPPFLAGS'
6259
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6260
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6261
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6262
 
 
6263
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6264
 
 
6265
 
 
6266
 
  save_CXXFLAGS="$CXXFLAGS"
6267
 
  CXXFLAGS="$CXXFLAGS --pch"
6268
 
  cat >conftest.$ac_ext <<_ACEOF
6269
 
/* confdefs.h.  */
6270
 
_ACEOF
6271
 
cat confdefs.h >>conftest.$ac_ext
6272
 
cat >>conftest.$ac_ext <<_ACEOF
6273
 
/* end confdefs.h.  */
6274
 
 
6275
 
int
6276
 
main ()
6277
 
{
6278
 
 return 0;
6279
 
  ;
6280
 
  return 0;
6281
 
}
6282
 
_ACEOF
6283
 
rm -f conftest.$ac_objext conftest$ac_exeext
6284
 
if { (ac_try="$ac_link"
6285
 
case "(($ac_try" in
6286
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6287
 
  *) ac_try_echo=$ac_try;;
6288
 
esac
6289
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6290
 
  (eval "$ac_link") 2>conftest.er1
6291
 
  ac_status=$?
6292
 
  grep -v '^ *+' conftest.er1 >conftest.err
6293
 
  rm -f conftest.er1
6294
 
  cat conftest.err >&5
6295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296
 
  (exit $ac_status); } && {
6297
 
         test -z "$ac_cxx_werror_flag" ||
6298
 
         test ! -s conftest.err
6299
 
       } && test -s conftest$ac_exeext &&
6300
 
       $as_test_x conftest$ac_exeext; then
6301
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6302
 
else
6303
 
  echo "$as_me: failed program was:" >&5
6304
 
sed 's/^/| /' conftest.$ac_ext >&5
6305
 
 
6306
 
 
6307
 
fi
6308
 
 
6309
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6310
 
      conftest$ac_exeext conftest.$ac_ext
6311
 
  CXXFLAGS="$save_CXXFLAGS"
6312
 
  ac_ext=c
6313
 
ac_cpp='$CPP $CPPFLAGS'
6314
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6315
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6316
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6317
 
 
6318
 
 
6319
 
fi
6320
 
 
6321
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6322
 
 { echo "$as_me:$LINENO: result: yes" >&5
6323
 
echo "${ECHO_T}yes" >&6; }
6324
 
 :
6325
 
 CXXFLAGS="$CXXFLAGS --pch"
6326
 
else
6327
 
 { echo "$as_me:$LINENO: result: no" >&5
6328
 
echo "${ECHO_T}no" >&6; }
6329
 
 :
6330
 
 
6331
 
fi
6332
 
 
6333
 
                                              fi
6334
 
 
6335
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
6336
 
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6; }
6337
 
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
6338
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6339
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6340
 
else
6341
 
 
6342
 
 
6343
 
   ac_ext=cpp
6344
 
ac_cpp='$CXXCPP $CPPFLAGS'
6345
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6346
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6347
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6348
 
 
6349
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6350
 
 
6351
 
 
6352
 
  save_CXXFLAGS="$CXXFLAGS"
6353
 
  CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6354
 
  cat >conftest.$ac_ext <<_ACEOF
6355
 
/* confdefs.h.  */
6356
 
_ACEOF
6357
 
cat confdefs.h >>conftest.$ac_ext
6358
 
cat >>conftest.$ac_ext <<_ACEOF
6359
 
/* end confdefs.h.  */
6360
 
 
6361
 
int
6362
 
main ()
6363
 
{
6364
 
 return 0;
6365
 
  ;
6366
 
  return 0;
6367
 
}
6368
 
_ACEOF
6369
 
rm -f conftest.$ac_objext conftest$ac_exeext
6370
 
if { (ac_try="$ac_link"
6371
 
case "(($ac_try" in
6372
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6373
 
  *) ac_try_echo=$ac_try;;
6374
 
esac
6375
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376
 
  (eval "$ac_link") 2>conftest.er1
6377
 
  ac_status=$?
6378
 
  grep -v '^ *+' conftest.er1 >conftest.err
6379
 
  rm -f conftest.er1
6380
 
  cat conftest.err >&5
6381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382
 
  (exit $ac_status); } && {
6383
 
         test -z "$ac_cxx_werror_flag" ||
6384
 
         test ! -s conftest.err
6385
 
       } && test -s conftest$ac_exeext &&
6386
 
       $as_test_x conftest$ac_exeext; then
6387
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6388
 
else
6389
 
  echo "$as_me: failed program was:" >&5
6390
 
sed 's/^/| /' conftest.$ac_ext >&5
6391
 
 
6392
 
 
6393
 
fi
6394
 
 
6395
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6396
 
      conftest$ac_exeext conftest.$ac_ext
6397
 
  CXXFLAGS="$save_CXXFLAGS"
6398
 
  ac_ext=c
6399
 
ac_cpp='$CPP $CPPFLAGS'
6400
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6401
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6402
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6403
 
 
6404
 
 
6405
 
fi
6406
 
 
6407
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6408
 
 { echo "$as_me:$LINENO: result: yes" >&5
6409
 
echo "${ECHO_T}yes" >&6; }
6410
 
 :
6411
 
 CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6412
 
else
6413
 
 { echo "$as_me:$LINENO: result: no" >&5
6414
 
echo "${ECHO_T}no" >&6; }
6415
 
 :
6416
 
 
6417
 
fi
6418
 
 
6419
 
 
6420
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
6421
 
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6; }
6422
 
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
6423
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6424
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6425
 
else
6426
 
 
6427
 
 
6428
 
   ac_ext=cpp
6429
 
ac_cpp='$CXXCPP $CPPFLAGS'
6430
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6431
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6432
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6433
 
 
6434
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6435
 
 
6436
 
 
6437
 
  save_CXXFLAGS="$CXXFLAGS"
6438
 
  CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6439
 
  cat >conftest.$ac_ext <<_ACEOF
6440
 
/* confdefs.h.  */
6441
 
_ACEOF
6442
 
cat confdefs.h >>conftest.$ac_ext
6443
 
cat >>conftest.$ac_ext <<_ACEOF
6444
 
/* end confdefs.h.  */
6445
 
 
6446
 
int
6447
 
main ()
6448
 
{
6449
 
 return 0;
6450
 
  ;
6451
 
  return 0;
6452
 
}
6453
 
_ACEOF
6454
 
rm -f conftest.$ac_objext conftest$ac_exeext
6455
 
if { (ac_try="$ac_link"
6456
 
case "(($ac_try" in
6457
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6458
 
  *) ac_try_echo=$ac_try;;
6459
 
esac
6460
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6461
 
  (eval "$ac_link") 2>conftest.er1
6462
 
  ac_status=$?
6463
 
  grep -v '^ *+' conftest.er1 >conftest.err
6464
 
  rm -f conftest.er1
6465
 
  cat conftest.err >&5
6466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467
 
  (exit $ac_status); } && {
6468
 
         test -z "$ac_cxx_werror_flag" ||
6469
 
         test ! -s conftest.err
6470
 
       } && test -s conftest$ac_exeext &&
6471
 
       $as_test_x conftest$ac_exeext; then
6472
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6473
 
else
6474
 
  echo "$as_me: failed program was:" >&5
6475
 
sed 's/^/| /' conftest.$ac_ext >&5
6476
 
 
6477
 
 
6478
 
fi
6479
 
 
6480
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6481
 
      conftest$ac_exeext conftest.$ac_ext
6482
 
  CXXFLAGS="$save_CXXFLAGS"
6483
 
  ac_ext=c
6484
 
ac_cpp='$CPP $CPPFLAGS'
6485
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6486
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6487
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6488
 
 
6489
 
 
6490
 
fi
6491
 
 
6492
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6493
 
 { echo "$as_me:$LINENO: result: yes" >&5
6494
 
echo "${ECHO_T}yes" >&6; }
6495
 
 :
6496
 
 CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6497
 
else
6498
 
 { echo "$as_me:$LINENO: result: no" >&5
6499
 
echo "${ECHO_T}no" >&6; }
6500
 
 :
6501
 
 
6502
 
fi
6503
 
 
6504
 
 
6505
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
6506
 
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6; }
6507
 
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6508
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6509
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6510
 
else
6511
 
 
6512
 
 
6513
 
   ac_ext=cpp
6514
 
ac_cpp='$CXXCPP $CPPFLAGS'
6515
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6516
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6517
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6518
 
 
6519
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6520
 
 
6521
 
 
6522
 
  save_CXXFLAGS="$CXXFLAGS"
6523
 
  CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6524
 
  cat >conftest.$ac_ext <<_ACEOF
6525
 
/* confdefs.h.  */
6526
 
_ACEOF
6527
 
cat confdefs.h >>conftest.$ac_ext
6528
 
cat >>conftest.$ac_ext <<_ACEOF
6529
 
/* end confdefs.h.  */
6530
 
 
6531
 
int
6532
 
main ()
6533
 
{
6534
 
 return 0;
6535
 
  ;
6536
 
  return 0;
6537
 
}
6538
 
_ACEOF
6539
 
rm -f conftest.$ac_objext conftest$ac_exeext
6540
 
if { (ac_try="$ac_link"
6541
 
case "(($ac_try" in
6542
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6543
 
  *) ac_try_echo=$ac_try;;
6544
 
esac
6545
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6546
 
  (eval "$ac_link") 2>conftest.er1
6547
 
  ac_status=$?
6548
 
  grep -v '^ *+' conftest.er1 >conftest.err
6549
 
  rm -f conftest.er1
6550
 
  cat conftest.err >&5
6551
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552
 
  (exit $ac_status); } && {
6553
 
         test -z "$ac_cxx_werror_flag" ||
6554
 
         test ! -s conftest.err
6555
 
       } && test -s conftest$ac_exeext &&
6556
 
       $as_test_x conftest$ac_exeext; then
6557
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6558
 
else
6559
 
  echo "$as_me: failed program was:" >&5
6560
 
sed 's/^/| /' conftest.$ac_ext >&5
6561
 
 
6562
 
 
6563
 
fi
6564
 
 
6565
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6566
 
      conftest$ac_exeext conftest.$ac_ext
6567
 
  CXXFLAGS="$save_CXXFLAGS"
6568
 
  ac_ext=c
6569
 
ac_cpp='$CPP $CPPFLAGS'
6570
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6571
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6572
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6573
 
 
6574
 
 
6575
 
fi
6576
 
 
6577
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6578
 
 { echo "$as_me:$LINENO: result: yes" >&5
6579
 
echo "${ECHO_T}yes" >&6; }
6580
 
 :
6581
 
 CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6582
 
else
6583
 
 { echo "$as_me:$LINENO: result: no" >&5
6584
 
echo "${ECHO_T}no" >&6; }
6585
 
 :
6586
 
 
6587
 
fi
6588
 
 
6589
 
 
6590
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
6591
 
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6; }
6592
 
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6593
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6594
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6595
 
else
6596
 
 
6597
 
 
6598
 
   ac_ext=cpp
6599
 
ac_cpp='$CXXCPP $CPPFLAGS'
6600
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6601
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6602
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6603
 
 
6604
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6605
 
 
6606
 
 
6607
 
  save_CXXFLAGS="$CXXFLAGS"
6608
 
  CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6609
 
  cat >conftest.$ac_ext <<_ACEOF
6610
 
/* confdefs.h.  */
6611
 
_ACEOF
6612
 
cat confdefs.h >>conftest.$ac_ext
6613
 
cat >>conftest.$ac_ext <<_ACEOF
6614
 
/* end confdefs.h.  */
6615
 
 
6616
 
int
6617
 
main ()
6618
 
{
6619
 
 return 0;
6620
 
  ;
6621
 
  return 0;
6622
 
}
6623
 
_ACEOF
6624
 
rm -f conftest.$ac_objext conftest$ac_exeext
6625
 
if { (ac_try="$ac_link"
6626
 
case "(($ac_try" in
6627
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6628
 
  *) ac_try_echo=$ac_try;;
6629
 
esac
6630
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6631
 
  (eval "$ac_link") 2>conftest.er1
6632
 
  ac_status=$?
6633
 
  grep -v '^ *+' conftest.er1 >conftest.err
6634
 
  rm -f conftest.er1
6635
 
  cat conftest.err >&5
6636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637
 
  (exit $ac_status); } && {
6638
 
         test -z "$ac_cxx_werror_flag" ||
6639
 
         test ! -s conftest.err
6640
 
       } && test -s conftest$ac_exeext &&
6641
 
       $as_test_x conftest$ac_exeext; then
6642
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6643
 
else
6644
 
  echo "$as_me: failed program was:" >&5
6645
 
sed 's/^/| /' conftest.$ac_ext >&5
6646
 
 
6647
 
 
6648
 
fi
6649
 
 
6650
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6651
 
      conftest$ac_exeext conftest.$ac_ext
6652
 
  CXXFLAGS="$save_CXXFLAGS"
6653
 
  ac_ext=c
6654
 
ac_cpp='$CPP $CPPFLAGS'
6655
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6656
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6657
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6658
 
 
6659
 
 
6660
 
fi
6661
 
 
6662
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6663
 
 { echo "$as_me:$LINENO: result: yes" >&5
6664
 
echo "${ECHO_T}yes" >&6; }
6665
 
 :
6666
 
 CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6667
 
else
6668
 
 { echo "$as_me:$LINENO: result: no" >&5
6669
 
echo "${ECHO_T}no" >&6; }
6670
 
 :
6671
 
 
6672
 
fi
6673
 
 
6674
 
 
6675
 
{ echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
6676
 
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6; }
6677
 
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
6678
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6679
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6680
 
else
6681
 
 
6682
 
 
6683
 
   ac_ext=cpp
6684
 
ac_cpp='$CXXCPP $CPPFLAGS'
6685
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6686
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6687
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6688
 
 
6689
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6690
 
 
6691
 
 
6692
 
  save_CXXFLAGS="$CXXFLAGS"
6693
 
  CXXFLAGS="$CXXFLAGS --one_per"
6694
 
  cat >conftest.$ac_ext <<_ACEOF
6695
 
/* confdefs.h.  */
6696
 
_ACEOF
6697
 
cat confdefs.h >>conftest.$ac_ext
6698
 
cat >>conftest.$ac_ext <<_ACEOF
6699
 
/* end confdefs.h.  */
6700
 
 
6701
 
int
6702
 
main ()
6703
 
{
6704
 
 return 0;
6705
 
  ;
6706
 
  return 0;
6707
 
}
6708
 
_ACEOF
6709
 
rm -f conftest.$ac_objext conftest$ac_exeext
6710
 
if { (ac_try="$ac_link"
6711
 
case "(($ac_try" in
6712
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6713
 
  *) ac_try_echo=$ac_try;;
6714
 
esac
6715
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6716
 
  (eval "$ac_link") 2>conftest.er1
6717
 
  ac_status=$?
6718
 
  grep -v '^ *+' conftest.er1 >conftest.err
6719
 
  rm -f conftest.er1
6720
 
  cat conftest.err >&5
6721
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722
 
  (exit $ac_status); } && {
6723
 
         test -z "$ac_cxx_werror_flag" ||
6724
 
         test ! -s conftest.err
6725
 
       } && test -s conftest$ac_exeext &&
6726
 
       $as_test_x conftest$ac_exeext; then
6727
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6728
 
else
6729
 
  echo "$as_me: failed program was:" >&5
6730
 
sed 's/^/| /' conftest.$ac_ext >&5
6731
 
 
6732
 
 
6733
 
fi
6734
 
 
6735
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6736
 
      conftest$ac_exeext conftest.$ac_ext
6737
 
  CXXFLAGS="$save_CXXFLAGS"
6738
 
  ac_ext=c
6739
 
ac_cpp='$CPP $CPPFLAGS'
6740
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6741
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6742
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6743
 
 
6744
 
 
6745
 
fi
6746
 
 
6747
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6748
 
 { echo "$as_me:$LINENO: result: yes" >&5
6749
 
echo "${ECHO_T}yes" >&6; }
6750
 
 :
6751
 
 CXXFLAGS="$CXXFLAGS --one_per"
6752
 
else
6753
 
 { echo "$as_me:$LINENO: result: no" >&5
6754
 
echo "${ECHO_T}no" >&6; }
6755
 
 :
6756
 
 
6757
 
fi
6758
 
 
6759
 
  fi
6760
 
 
6761
 
    USE_RTTI=
6762
 
 
6763
 
 
6764
 
  case "$host" in
6765
 
      *-*-irix*)  test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
6766
 
      *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
6767
 
      *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
6768
 
      *-*-solaris*)
6769
 
        if test "$GXX" = yes; then
6770
 
          libstdcpp=`$CXX -print-file-name=libstdc++.so`
6771
 
          if test ! -f $libstdcpp; then
6772
 
             { { 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
6773
 
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;}
6774
 
   { (exit 1); exit 1; }; }
6775
 
          fi
6776
 
        fi
6777
 
        ;;
6778
 
  esac
6779
 
 
6780
 
  if test "x$kde_use_qt_emb" != "xyes"; then
6781
 
  __val=$CXX
6782
 
  __forbid=" -fno-rtti -rpath "
6783
 
  if test -n "$__val"; then
6784
 
    __new=""
6785
 
    ac_save_IFS=$IFS
6786
 
    IFS="       "
6787
 
    for i in $__val; do
6788
 
      case "$__forbid" in
6789
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6790
 
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6791
 
        *) # Careful to not add spaces, where there were none, because otherwise
6792
 
           # libtool gets confused, if we change e.g. CXX
6793
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6794
 
      esac
6795
 
    done
6796
 
    IFS=$ac_save_IFS
6797
 
    CXX=$__new
6798
 
  fi
6799
 
 
6800
 
  __val=$CXXFLAGS
6801
 
  __forbid=" -fno-rtti -rpath "
6802
 
  if test -n "$__val"; then
6803
 
    __new=""
6804
 
    ac_save_IFS=$IFS
6805
 
    IFS="       "
6806
 
    for i in $__val; do
6807
 
      case "$__forbid" in
6808
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6809
 
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6810
 
        *) # Careful to not add spaces, where there were none, because otherwise
6811
 
           # libtool gets confused, if we change e.g. CXX
6812
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6813
 
      esac
6814
 
    done
6815
 
    IFS=$ac_save_IFS
6816
 
    CXXFLAGS=$__new
6817
 
  fi
6818
 
 
6819
 
else
6820
 
  __val=$CXX
6821
 
  __forbid=" -rpath "
6822
 
  if test -n "$__val"; then
6823
 
    __new=""
6824
 
    ac_save_IFS=$IFS
6825
 
    IFS="       "
6826
 
    for i in $__val; do
6827
 
      case "$__forbid" in
6828
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6829
 
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6830
 
        *) # Careful to not add spaces, where there were none, because otherwise
6831
 
           # libtool gets confused, if we change e.g. CXX
6832
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6833
 
      esac
6834
 
    done
6835
 
    IFS=$ac_save_IFS
6836
 
    CXX=$__new
6837
 
  fi
6838
 
 
6839
 
  __val=$CXXFLAGS
6840
 
  __forbid=" -rpath "
6841
 
  if test -n "$__val"; then
6842
 
    __new=""
6843
 
    ac_save_IFS=$IFS
6844
 
    IFS="       "
6845
 
    for i in $__val; do
6846
 
      case "$__forbid" in
6847
 
        *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6848
 
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6849
 
        *) # Careful to not add spaces, where there were none, because otherwise
6850
 
           # libtool gets confused, if we change e.g. CXX
6851
 
           if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6852
 
      esac
6853
 
    done
6854
 
    IFS=$ac_save_IFS
6855
 
    CXXFLAGS=$__new
6856
 
  fi
6857
 
 
6858
 
fi
6859
 
 
6860
 
 
6861
 
  ac_ext=cpp
6862
 
ac_cpp='$CXXCPP $CPPFLAGS'
6863
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6864
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6865
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6866
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6867
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6868
 
if test -z "$CXXCPP"; then
6869
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6870
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6871
 
else
6872
 
      # Double quotes because CXXCPP needs to be expanded
6873
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6874
 
    do
6875
 
      ac_preproc_ok=false
6876
 
for ac_cxx_preproc_warn_flag in '' yes
6877
 
do
6878
 
  # Use a header file that comes with gcc, so configuring glibc
6879
 
  # with a fresh cross-compiler works.
6880
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6881
 
  # <limits.h> exists even on freestanding compilers.
6882
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6883
 
  # not just through cpp. "Syntax error" is here to catch this case.
6884
 
  cat >conftest.$ac_ext <<_ACEOF
6885
 
/* confdefs.h.  */
6886
 
_ACEOF
6887
 
cat confdefs.h >>conftest.$ac_ext
6888
 
cat >>conftest.$ac_ext <<_ACEOF
6889
 
/* end confdefs.h.  */
6890
 
#ifdef __STDC__
6891
 
# include <limits.h>
6892
 
#else
6893
 
# include <assert.h>
6894
 
#endif
6895
 
                     Syntax error
6896
 
_ACEOF
6897
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6898
 
case "(($ac_try" in
6899
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6900
 
  *) ac_try_echo=$ac_try;;
6901
 
esac
6902
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6903
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6904
 
  ac_status=$?
6905
 
  grep -v '^ *+' conftest.er1 >conftest.err
6906
 
  rm -f conftest.er1
6907
 
  cat conftest.err >&5
6908
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909
 
  (exit $ac_status); } >/dev/null && {
6910
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6911
 
         test ! -s conftest.err
6912
 
       }; then
6913
 
  :
6914
 
else
6915
 
  echo "$as_me: failed program was:" >&5
6916
 
sed 's/^/| /' conftest.$ac_ext >&5
6917
 
 
6918
 
  # Broken: fails on valid input.
6919
 
continue
6920
 
fi
6921
 
 
6922
 
rm -f conftest.err conftest.$ac_ext
6923
 
 
6924
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6925
 
  # can be detected and how.
6926
 
  cat >conftest.$ac_ext <<_ACEOF
6927
 
/* confdefs.h.  */
6928
 
_ACEOF
6929
 
cat confdefs.h >>conftest.$ac_ext
6930
 
cat >>conftest.$ac_ext <<_ACEOF
6931
 
/* end confdefs.h.  */
6932
 
#include <ac_nonexistent.h>
6933
 
_ACEOF
6934
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6935
 
case "(($ac_try" in
6936
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6937
 
  *) ac_try_echo=$ac_try;;
6938
 
esac
6939
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6940
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6941
 
  ac_status=$?
6942
 
  grep -v '^ *+' conftest.er1 >conftest.err
6943
 
  rm -f conftest.er1
6944
 
  cat conftest.err >&5
6945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946
 
  (exit $ac_status); } >/dev/null && {
6947
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6948
 
         test ! -s conftest.err
6949
 
       }; then
6950
 
  # Broken: success on invalid input.
6951
 
continue
6952
 
else
6953
 
  echo "$as_me: failed program was:" >&5
6954
 
sed 's/^/| /' conftest.$ac_ext >&5
6955
 
 
6956
 
  # Passes both tests.
6957
 
ac_preproc_ok=:
6958
 
break
6959
 
fi
6960
 
 
6961
 
rm -f conftest.err conftest.$ac_ext
6962
 
 
6963
 
done
6964
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6965
 
rm -f conftest.err conftest.$ac_ext
6966
 
if $ac_preproc_ok; then
6967
 
  break
6968
 
fi
6969
 
 
6970
 
    done
6971
 
    ac_cv_prog_CXXCPP=$CXXCPP
6972
 
 
6973
 
fi
6974
 
  CXXCPP=$ac_cv_prog_CXXCPP
6975
 
else
6976
 
  ac_cv_prog_CXXCPP=$CXXCPP
6977
 
fi
6978
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6979
 
echo "${ECHO_T}$CXXCPP" >&6; }
6980
 
ac_preproc_ok=false
6981
 
for ac_cxx_preproc_warn_flag in '' yes
6982
 
do
6983
 
  # Use a header file that comes with gcc, so configuring glibc
6984
 
  # with a fresh cross-compiler works.
6985
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6986
 
  # <limits.h> exists even on freestanding compilers.
6987
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6988
 
  # not just through cpp. "Syntax error" is here to catch this case.
6989
 
  cat >conftest.$ac_ext <<_ACEOF
6990
 
/* confdefs.h.  */
6991
 
_ACEOF
6992
 
cat confdefs.h >>conftest.$ac_ext
6993
 
cat >>conftest.$ac_ext <<_ACEOF
6994
 
/* end confdefs.h.  */
6995
 
#ifdef __STDC__
6996
 
# include <limits.h>
6997
 
#else
6998
 
# include <assert.h>
6999
 
#endif
7000
 
                     Syntax error
7001
 
_ACEOF
7002
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7003
 
case "(($ac_try" in
7004
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7005
 
  *) ac_try_echo=$ac_try;;
7006
 
esac
7007
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7008
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7009
 
  ac_status=$?
7010
 
  grep -v '^ *+' conftest.er1 >conftest.err
7011
 
  rm -f conftest.er1
7012
 
  cat conftest.err >&5
7013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014
 
  (exit $ac_status); } >/dev/null && {
7015
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7016
 
         test ! -s conftest.err
7017
 
       }; then
7018
 
  :
7019
 
else
7020
 
  echo "$as_me: failed program was:" >&5
7021
 
sed 's/^/| /' conftest.$ac_ext >&5
7022
 
 
7023
 
  # Broken: fails on valid input.
7024
 
continue
7025
 
fi
7026
 
 
7027
 
rm -f conftest.err conftest.$ac_ext
7028
 
 
7029
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7030
 
  # can be detected and how.
7031
 
  cat >conftest.$ac_ext <<_ACEOF
7032
 
/* confdefs.h.  */
7033
 
_ACEOF
7034
 
cat confdefs.h >>conftest.$ac_ext
7035
 
cat >>conftest.$ac_ext <<_ACEOF
7036
 
/* end confdefs.h.  */
7037
 
#include <ac_nonexistent.h>
7038
 
_ACEOF
7039
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7040
 
case "(($ac_try" in
7041
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7042
 
  *) ac_try_echo=$ac_try;;
7043
 
esac
7044
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7045
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7046
 
  ac_status=$?
7047
 
  grep -v '^ *+' conftest.er1 >conftest.err
7048
 
  rm -f conftest.er1
7049
 
  cat conftest.err >&5
7050
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051
 
  (exit $ac_status); } >/dev/null && {
7052
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7053
 
         test ! -s conftest.err
7054
 
       }; then
7055
 
  # Broken: success on invalid input.
7056
 
continue
7057
 
else
7058
 
  echo "$as_me: failed program was:" >&5
7059
 
sed 's/^/| /' conftest.$ac_ext >&5
7060
 
 
7061
 
  # Passes both tests.
7062
 
ac_preproc_ok=:
7063
 
break
7064
 
fi
7065
 
 
7066
 
rm -f conftest.err conftest.$ac_ext
7067
 
 
7068
 
done
7069
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7070
 
rm -f conftest.err conftest.$ac_ext
7071
 
if $ac_preproc_ok; then
7072
 
  :
7073
 
else
7074
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7075
 
See \`config.log' for more details." >&5
7076
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7077
 
See \`config.log' for more details." >&2;}
7078
 
   { (exit 1); exit 1; }; }
7079
 
fi
7080
 
 
7081
 
ac_ext=c
7082
 
ac_cpp='$CPP $CPPFLAGS'
7083
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7084
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7085
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7086
 
 
7087
 
 
7088
 
  if test "$GCC" = yes; then
7089
 
     NOOPT_CFLAGS=-O0
7090
 
  fi
7091
 
 
7092
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
7093
 
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6; }
7094
 
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
7095
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7096
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7097
 
else
7098
 
 
7099
 
 
7100
 
   ac_ext=cpp
7101
 
ac_cpp='$CXXCPP $CPPFLAGS'
7102
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7103
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7104
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7105
 
 
7106
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7107
 
 
7108
 
 
7109
 
  save_CXXFLAGS="$CXXFLAGS"
7110
 
  CXXFLAGS="$CXXFLAGS -O0"
7111
 
  cat >conftest.$ac_ext <<_ACEOF
7112
 
/* confdefs.h.  */
7113
 
_ACEOF
7114
 
cat confdefs.h >>conftest.$ac_ext
7115
 
cat >>conftest.$ac_ext <<_ACEOF
7116
 
/* end confdefs.h.  */
7117
 
 
7118
 
int
7119
 
main ()
7120
 
{
7121
 
 return 0;
7122
 
  ;
7123
 
  return 0;
7124
 
}
7125
 
_ACEOF
7126
 
rm -f conftest.$ac_objext conftest$ac_exeext
7127
 
if { (ac_try="$ac_link"
7128
 
case "(($ac_try" in
7129
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7130
 
  *) ac_try_echo=$ac_try;;
7131
 
esac
7132
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7133
 
  (eval "$ac_link") 2>conftest.er1
7134
 
  ac_status=$?
7135
 
  grep -v '^ *+' conftest.er1 >conftest.err
7136
 
  rm -f conftest.er1
7137
 
  cat conftest.err >&5
7138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139
 
  (exit $ac_status); } && {
7140
 
         test -z "$ac_cxx_werror_flag" ||
7141
 
         test ! -s conftest.err
7142
 
       } && test -s conftest$ac_exeext &&
7143
 
       $as_test_x conftest$ac_exeext; then
7144
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7145
 
else
7146
 
  echo "$as_me: failed program was:" >&5
7147
 
sed 's/^/| /' conftest.$ac_ext >&5
7148
 
 
7149
 
 
7150
 
fi
7151
 
 
7152
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7153
 
      conftest$ac_exeext conftest.$ac_ext
7154
 
  CXXFLAGS="$save_CXXFLAGS"
7155
 
  ac_ext=c
7156
 
ac_cpp='$CPP $CPPFLAGS'
7157
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7158
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7159
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7160
 
 
7161
 
 
7162
 
fi
7163
 
 
7164
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7165
 
 { echo "$as_me:$LINENO: result: yes" >&5
7166
 
echo "${ECHO_T}yes" >&6; }
7167
 
 :
7168
 
 NOOPT_CXXFLAGS=-O0
7169
 
else
7170
 
 { echo "$as_me:$LINENO: result: no" >&5
7171
 
echo "${ECHO_T}no" >&6; }
7172
 
 :
7173
 
 
7174
 
fi
7175
 
 
7176
 
 
7177
 
  # Check whether --enable-coverage was given.
7178
 
if test "${enable_coverage+set}" = set; then
7179
 
  enableval=$enable_coverage;
7180
 
      if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
7181
 
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7182
 
        ac_coverage_linker="-lgcc"
7183
 
      elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
7184
 
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7185
 
        ac_coverage_linker=""
7186
 
      else
7187
 
        { { echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
7188
 
echo "$as_me: error: coverage with your compiler is not supported" >&2;}
7189
 
   { (exit 1); exit 1; }; }
7190
 
      fi
7191
 
      CFLAGS="$CFLAGS $ac_coverage_compiler"
7192
 
      CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
7193
 
      LDFLAGS="$LDFLAGS $ac_coverage_linker"
7194
 
 
7195
 
fi
7196
 
 
7197
 
 
7198
 
 
7199
 
 
7200
 
 
7201
 
 
7202
 
 
7203
 
  # Check whether --enable-new_ldflags was given.
7204
 
if test "${enable_new_ldflags+set}" = set; then
7205
 
  enableval=$enable_new_ldflags; kde_use_new_ldflags=$enableval
7206
 
else
7207
 
  kde_use_new_ldflags=no
7208
 
fi
7209
 
 
7210
 
 
7211
 
  LDFLAGS_AS_NEEDED=""
7212
 
  LDFLAGS_NEW_DTAGS=""
7213
 
  if test "x$kde_use_new_ldflags" = "xyes"; then
7214
 
       LDFLAGS_NEW_DTAGS=""
7215
 
 
7216
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
7217
 
echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
7218
 
kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
7219
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7220
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7221
 
else
7222
 
 
7223
 
 
7224
 
   ac_ext=cpp
7225
 
ac_cpp='$CXXCPP $CPPFLAGS'
7226
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7227
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7228
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7229
 
 
7230
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7231
 
 
7232
 
 
7233
 
  save_CXXFLAGS="$CXXFLAGS"
7234
 
  CXXFLAGS="$CXXFLAGS -Wl,--enable-new-dtags"
7235
 
  cat >conftest.$ac_ext <<_ACEOF
7236
 
/* confdefs.h.  */
7237
 
_ACEOF
7238
 
cat confdefs.h >>conftest.$ac_ext
7239
 
cat >>conftest.$ac_ext <<_ACEOF
7240
 
/* end confdefs.h.  */
7241
 
 
7242
 
int
7243
 
main ()
7244
 
{
7245
 
 return 0;
7246
 
  ;
7247
 
  return 0;
7248
 
}
7249
 
_ACEOF
7250
 
rm -f conftest.$ac_objext conftest$ac_exeext
7251
 
if { (ac_try="$ac_link"
7252
 
case "(($ac_try" in
7253
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7254
 
  *) ac_try_echo=$ac_try;;
7255
 
esac
7256
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7257
 
  (eval "$ac_link") 2>conftest.er1
7258
 
  ac_status=$?
7259
 
  grep -v '^ *+' conftest.er1 >conftest.err
7260
 
  rm -f conftest.er1
7261
 
  cat conftest.err >&5
7262
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263
 
  (exit $ac_status); } && {
7264
 
         test -z "$ac_cxx_werror_flag" ||
7265
 
         test ! -s conftest.err
7266
 
       } && test -s conftest$ac_exeext &&
7267
 
       $as_test_x conftest$ac_exeext; then
7268
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7269
 
else
7270
 
  echo "$as_me: failed program was:" >&5
7271
 
sed 's/^/| /' conftest.$ac_ext >&5
7272
 
 
7273
 
 
7274
 
fi
7275
 
 
7276
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7277
 
      conftest$ac_exeext conftest.$ac_ext
7278
 
  CXXFLAGS="$save_CXXFLAGS"
7279
 
  ac_ext=c
7280
 
ac_cpp='$CPP $CPPFLAGS'
7281
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7282
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7283
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7284
 
 
7285
 
 
7286
 
fi
7287
 
 
7288
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7289
 
 { echo "$as_me:$LINENO: result: yes" >&5
7290
 
echo "${ECHO_T}yes" >&6; }
7291
 
 :
7292
 
 LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
7293
 
else
7294
 
 { echo "$as_me:$LINENO: result: no" >&5
7295
 
echo "${ECHO_T}no" >&6; }
7296
 
 :
7297
 
 
7298
 
fi
7299
 
 
7300
 
 
7301
 
 
7302
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
7303
 
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6; }
7304
 
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
7305
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7306
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7307
 
else
7308
 
 
7309
 
 
7310
 
   ac_ext=cpp
7311
 
ac_cpp='$CXXCPP $CPPFLAGS'
7312
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7313
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7314
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7315
 
 
7316
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7317
 
 
7318
 
 
7319
 
  save_CXXFLAGS="$CXXFLAGS"
7320
 
  CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
7321
 
  cat >conftest.$ac_ext <<_ACEOF
7322
 
/* confdefs.h.  */
7323
 
_ACEOF
7324
 
cat confdefs.h >>conftest.$ac_ext
7325
 
cat >>conftest.$ac_ext <<_ACEOF
7326
 
/* end confdefs.h.  */
7327
 
 
7328
 
int
7329
 
main ()
7330
 
{
7331
 
 return 0;
7332
 
  ;
7333
 
  return 0;
7334
 
}
7335
 
_ACEOF
7336
 
rm -f conftest.$ac_objext conftest$ac_exeext
7337
 
if { (ac_try="$ac_link"
7338
 
case "(($ac_try" in
7339
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7340
 
  *) ac_try_echo=$ac_try;;
7341
 
esac
7342
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7343
 
  (eval "$ac_link") 2>conftest.er1
7344
 
  ac_status=$?
7345
 
  grep -v '^ *+' conftest.er1 >conftest.err
7346
 
  rm -f conftest.er1
7347
 
  cat conftest.err >&5
7348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349
 
  (exit $ac_status); } && {
7350
 
         test -z "$ac_cxx_werror_flag" ||
7351
 
         test ! -s conftest.err
7352
 
       } && test -s conftest$ac_exeext &&
7353
 
       $as_test_x conftest$ac_exeext; then
7354
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7355
 
else
7356
 
  echo "$as_me: failed program was:" >&5
7357
 
sed 's/^/| /' conftest.$ac_ext >&5
7358
 
 
7359
 
 
7360
 
fi
7361
 
 
7362
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7363
 
      conftest$ac_exeext conftest.$ac_ext
7364
 
  CXXFLAGS="$save_CXXFLAGS"
7365
 
  ac_ext=c
7366
 
ac_cpp='$CPP $CPPFLAGS'
7367
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7368
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7369
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7370
 
 
7371
 
 
7372
 
fi
7373
 
 
7374
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7375
 
 { echo "$as_me:$LINENO: result: yes" >&5
7376
 
echo "${ECHO_T}yes" >&6; }
7377
 
 :
7378
 
 LDFLAGS_AS_NEEDED="-Wl,--as-needed"
7379
 
else
7380
 
 { echo "$as_me:$LINENO: result: no" >&5
7381
 
echo "${ECHO_T}no" >&6; }
7382
 
 :
7383
 
 
7384
 
fi
7385
 
 
7386
 
  fi
7387
 
 
7388
 
 
7389
 
 
7390
 
 
7391
 
  # Check whether --enable-final was given.
7392
 
if test "${enable_final+set}" = set; then
7393
 
  enableval=$enable_final; kde_use_final=$enableval
7394
 
else
7395
 
  kde_use_final=no
7396
 
fi
7397
 
 
7398
 
 
7399
 
  if test "x$kde_use_final" = "xyes"; then
7400
 
      KDE_USE_FINAL_TRUE=""
7401
 
      KDE_USE_FINAL_FALSE="#"
7402
 
   else
7403
 
      KDE_USE_FINAL_TRUE="#"
7404
 
      KDE_USE_FINAL_FALSE=""
7405
 
  fi
7406
 
 
7407
 
 
7408
 
 
7409
 
 
7410
 
  # Check whether --enable-closure was given.
7411
 
if test "${enable_closure+set}" = set; then
7412
 
  enableval=$enable_closure; kde_use_closure=$enableval
7413
 
else
7414
 
  kde_use_closure=no
7415
 
fi
7416
 
 
7417
 
 
7418
 
  KDE_NO_UNDEFINED=""
7419
 
  if test "x$kde_use_closure" = "xyes"; then
7420
 
       KDE_USE_CLOSURE_TRUE=""
7421
 
       KDE_USE_CLOSURE_FALSE="#"
7422
 
#       CXXFLAGS="$CXXFLAGS $REPO"
7423
 
  else
7424
 
       KDE_USE_CLOSURE_TRUE="#"
7425
 
       KDE_USE_CLOSURE_FALSE=""
7426
 
       KDE_NO_UNDEFINED=""
7427
 
       case $host in
7428
 
         *-*-linux-gnu)
7429
 
 
7430
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
7431
 
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6; }
7432
 
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
7433
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7434
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7435
 
else
7436
 
 
7437
 
 
7438
 
   ac_ext=cpp
7439
 
ac_cpp='$CXXCPP $CPPFLAGS'
7440
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7441
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7442
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7443
 
 
7444
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7445
 
 
7446
 
 
7447
 
  save_CXXFLAGS="$CXXFLAGS"
7448
 
  CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
7449
 
  cat >conftest.$ac_ext <<_ACEOF
7450
 
/* confdefs.h.  */
7451
 
_ACEOF
7452
 
cat confdefs.h >>conftest.$ac_ext
7453
 
cat >>conftest.$ac_ext <<_ACEOF
7454
 
/* end confdefs.h.  */
7455
 
 
7456
 
int
7457
 
main ()
7458
 
{
7459
 
 return 0;
7460
 
  ;
7461
 
  return 0;
7462
 
}
7463
 
_ACEOF
7464
 
rm -f conftest.$ac_objext conftest$ac_exeext
7465
 
if { (ac_try="$ac_link"
7466
 
case "(($ac_try" in
7467
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7468
 
  *) ac_try_echo=$ac_try;;
7469
 
esac
7470
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7471
 
  (eval "$ac_link") 2>conftest.er1
7472
 
  ac_status=$?
7473
 
  grep -v '^ *+' conftest.er1 >conftest.err
7474
 
  rm -f conftest.er1
7475
 
  cat conftest.err >&5
7476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477
 
  (exit $ac_status); } && {
7478
 
         test -z "$ac_cxx_werror_flag" ||
7479
 
         test ! -s conftest.err
7480
 
       } && test -s conftest$ac_exeext &&
7481
 
       $as_test_x conftest$ac_exeext; then
7482
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7483
 
else
7484
 
  echo "$as_me: failed program was:" >&5
7485
 
sed 's/^/| /' conftest.$ac_ext >&5
7486
 
 
7487
 
 
7488
 
fi
7489
 
 
7490
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7491
 
      conftest$ac_exeext conftest.$ac_ext
7492
 
  CXXFLAGS="$save_CXXFLAGS"
7493
 
  ac_ext=c
7494
 
ac_cpp='$CPP $CPPFLAGS'
7495
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7496
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7497
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7498
 
 
7499
 
 
7500
 
fi
7501
 
 
7502
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7503
 
 { echo "$as_me:$LINENO: result: yes" >&5
7504
 
echo "${ECHO_T}yes" >&6; }
7505
 
 :
7506
 
 
7507
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
7508
 
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6; }
7509
 
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
7510
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7511
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7512
 
else
7513
 
 
7514
 
 
7515
 
   ac_ext=cpp
7516
 
ac_cpp='$CXXCPP $CPPFLAGS'
7517
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7518
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7519
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7520
 
 
7521
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7522
 
 
7523
 
 
7524
 
  save_CXXFLAGS="$CXXFLAGS"
7525
 
  CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
7526
 
  cat >conftest.$ac_ext <<_ACEOF
7527
 
/* confdefs.h.  */
7528
 
_ACEOF
7529
 
cat confdefs.h >>conftest.$ac_ext
7530
 
cat >>conftest.$ac_ext <<_ACEOF
7531
 
/* end confdefs.h.  */
7532
 
 
7533
 
int
7534
 
main ()
7535
 
{
7536
 
 return 0;
7537
 
  ;
7538
 
  return 0;
7539
 
}
7540
 
_ACEOF
7541
 
rm -f conftest.$ac_objext conftest$ac_exeext
7542
 
if { (ac_try="$ac_link"
7543
 
case "(($ac_try" in
7544
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7545
 
  *) ac_try_echo=$ac_try;;
7546
 
esac
7547
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7548
 
  (eval "$ac_link") 2>conftest.er1
7549
 
  ac_status=$?
7550
 
  grep -v '^ *+' conftest.er1 >conftest.err
7551
 
  rm -f conftest.er1
7552
 
  cat conftest.err >&5
7553
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554
 
  (exit $ac_status); } && {
7555
 
         test -z "$ac_cxx_werror_flag" ||
7556
 
         test ! -s conftest.err
7557
 
       } && test -s conftest$ac_exeext &&
7558
 
       $as_test_x conftest$ac_exeext; then
7559
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
7560
 
else
7561
 
  echo "$as_me: failed program was:" >&5
7562
 
sed 's/^/| /' conftest.$ac_ext >&5
7563
 
 
7564
 
 
7565
 
fi
7566
 
 
7567
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7568
 
      conftest$ac_exeext conftest.$ac_ext
7569
 
  CXXFLAGS="$save_CXXFLAGS"
7570
 
  ac_ext=c
7571
 
ac_cpp='$CPP $CPPFLAGS'
7572
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7573
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7574
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7575
 
 
7576
 
 
7577
 
fi
7578
 
 
7579
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7580
 
 { echo "$as_me:$LINENO: result: yes" >&5
7581
 
echo "${ECHO_T}yes" >&6; }
7582
 
 :
7583
 
 KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
7584
 
else
7585
 
 { echo "$as_me:$LINENO: result: no" >&5
7586
 
echo "${ECHO_T}no" >&6; }
7587
 
 :
7588
 
 KDE_NO_UNDEFINED=""
7589
 
fi
7590
 
 
7591
 
else
7592
 
 { echo "$as_me:$LINENO: result: no" >&5
7593
 
echo "${ECHO_T}no" >&6; }
7594
 
 :
7595
 
 KDE_NO_UNDEFINED=""
7596
 
fi
7597
 
 
7598
 
           ;;
7599
 
       esac
7600
 
  fi
7601
 
 
7602
 
 
7603
 
 
7604
 
 
7605
 
 
7606
 
  # Check whether --enable-nmcheck was given.
7607
 
if test "${enable_nmcheck+set}" = set; then
7608
 
  enableval=$enable_nmcheck; kde_use_nmcheck=$enableval
7609
 
else
7610
 
  kde_use_nmcheck=no
7611
 
fi
7612
 
 
7613
 
 
7614
 
  if test "$kde_use_nmcheck" = "yes"; then
7615
 
      KDE_USE_NMCHECK_TRUE=""
7616
 
      KDE_USE_NMCHECK_FALSE="#"
7617
 
   else
7618
 
      KDE_USE_NMCHECK_TRUE="#"
7619
 
      KDE_USE_NMCHECK_FALSE=""
7620
 
  fi
7621
 
 
7622
 
 
7623
 
 
7624
 
 
7625
 
 
7626
 
 
7627
 
# Check whether --enable-shared was given.
7628
 
if test "${enable_shared+set}" = set; then
7629
 
  enableval=$enable_shared; p=${PACKAGE-default}
7630
 
    case $enableval in
7631
 
    yes) enable_shared=yes ;;
7632
 
    no) enable_shared=no ;;
7633
 
    *)
7634
 
      enable_shared=no
7635
 
      # Look at the argument we got.  We use all the common list separators.
7636
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7637
 
      for pkg in $enableval; do
7638
 
        IFS="$lt_save_ifs"
7639
 
        if test "X$pkg" = "X$p"; then
7640
 
          enable_shared=yes
7641
 
        fi
7642
 
      done
7643
 
      IFS="$lt_save_ifs"
7644
 
      ;;
7645
 
    esac
7646
 
else
7647
 
  enable_shared=yes
7648
 
fi
7649
 
 
7650
 
 
7651
 
# Check whether --enable-static was given.
7652
 
if test "${enable_static+set}" = set; then
7653
 
  enableval=$enable_static; p=${PACKAGE-default}
7654
 
    case $enableval in
7655
 
    yes) enable_static=yes ;;
7656
 
    no) enable_static=no ;;
7657
 
    *)
7658
 
     enable_static=no
7659
 
      # Look at the argument we got.  We use all the common list separators.
7660
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7661
 
      for pkg in $enableval; do
7662
 
        IFS="$lt_save_ifs"
7663
 
        if test "X$pkg" = "X$p"; then
7664
 
          enable_static=yes
7665
 
        fi
7666
 
      done
7667
 
      IFS="$lt_save_ifs"
7668
 
      ;;
7669
 
    esac
7670
 
else
7671
 
  enable_static=no
7672
 
fi
7673
 
 
7674
 
 
7675
 
 
7676
 
 
7677
 
 
7678
 
    # Check whether --enable-libsuffix was given.
7679
 
if test "${enable_libsuffix+set}" = set; then
7680
 
  enableval=$enable_libsuffix; kdelibsuff=$enableval
7681
 
else
7682
 
  kdelibsuff="auto"
7683
 
fi
7684
 
 
7685
 
 
7686
 
    if test "$kdelibsuff" = "auto"; then
7687
 
 
7688
 
cat > conftest.c << EOF
7689
 
#include <stdio.h>
7690
 
int main() {
7691
 
 return 0;
7692
 
}
7693
 
EOF
7694
 
        kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
7695
 
    s,.*/lib\([^\/]*\)/.*,\1,
7696
 
    p
7697
 
}'`
7698
 
        rm -rf conftest.*
7699
 
    fi
7700
 
 
7701
 
    if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
7702
 
       kdelibsuff=
7703
 
    fi
7704
 
    if test -z "$kdelibsuff"; then
7705
 
        { echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
7706
 
echo "${ECHO_T}not using lib directory suffix" >&6; }
7707
 
 
7708
 
cat >>confdefs.h <<\_ACEOF
7709
 
#define KDELIBSUFF ""
7710
 
_ACEOF
7711
 
 
7712
 
    else
7713
 
        if test "$libdir" = '${exec_prefix}/lib'; then
7714
 
            libdir="$libdir${kdelibsuff}"
7715
 
            libdir="$libdir"
7716
 
          fi
7717
 
 
7718
 
cat >>confdefs.h <<_ACEOF
7719
 
#define KDELIBSUFF "${kdelibsuff}"
7720
 
_ACEOF
7721
 
 
7722
 
        { echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
7723
 
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6; }
7724
 
    fi
7725
 
 
7726
 
# Check whether --enable-fast-install was given.
7727
 
if test "${enable_fast_install+set}" = set; then
7728
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7729
 
    case $enableval in
7730
 
    yes) enable_fast_install=yes ;;
7731
 
    no) enable_fast_install=no ;;
7732
 
    *)
7733
 
      enable_fast_install=no
7734
 
      # Look at the argument we got.  We use all the common list separators.
7735
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7736
 
      for pkg in $enableval; do
7737
 
        IFS="$lt_save_ifs"
7738
 
        if test "X$pkg" = "X$p"; then
7739
 
          enable_fast_install=yes
7740
 
        fi
7741
 
      done
7742
 
      IFS="$lt_save_ifs"
7743
 
      ;;
7744
 
    esac
7745
 
else
7746
 
  enable_fast_install=yes
7747
 
fi
7748
 
 
7749
 
 
7750
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7751
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7752
 
if test "${lt_cv_path_SED+set}" = set; then
7753
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7754
 
else
7755
 
  # Loop through the user's path and test for sed and gsed.
7756
 
# Then use that list of sed's as ones to test for truncation.
7757
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758
 
for as_dir in $PATH
7759
 
do
7760
 
  IFS=$as_save_IFS
7761
 
  test -z "$as_dir" && as_dir=.
7762
 
  for lt_ac_prog in sed gsed; do
7763
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7764
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7765
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7766
 
      fi
7767
 
    done
7768
 
  done
7769
 
done
7770
 
lt_ac_max=0
7771
 
lt_ac_count=0
7772
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7773
 
# along with /bin/sed that truncates output.
7774
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7775
 
  test ! -f $lt_ac_sed && break
7776
 
  cat /dev/null > conftest.in
7777
 
  lt_ac_count=0
7778
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7779
 
  # Check for GNU sed and select it if it is found.
7780
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7781
 
    lt_cv_path_SED=$lt_ac_sed
7782
 
    break
7783
 
  fi
7784
 
  while true; do
7785
 
    cat conftest.in conftest.in >conftest.tmp
7786
 
    mv conftest.tmp conftest.in
7787
 
    cp conftest.in conftest.nl
7788
 
    echo >>conftest.nl
7789
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7790
 
    cmp -s conftest.out conftest.nl || break
7791
 
    # 10000 chars as input seems more than enough
7792
 
    test $lt_ac_count -gt 10 && break
7793
 
    lt_ac_count=`expr $lt_ac_count + 1`
7794
 
    if test $lt_ac_count -gt $lt_ac_max; then
7795
 
      lt_ac_max=$lt_ac_count
7796
 
      lt_cv_path_SED=$lt_ac_sed
7797
 
    fi
7798
 
  done
7799
 
done
7800
 
 
7801
 
fi
7802
 
 
7803
 
SED=$lt_cv_path_SED
7804
 
{ echo "$as_me:$LINENO: result: $SED" >&5
7805
 
echo "${ECHO_T}$SED" >&6; }
7806
 
 
7807
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7808
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7809
 
if test "${ac_cv_path_GREP+set}" = set; then
7810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7811
 
else
7812
 
  # Extract the first word of "grep ggrep" to use in msg output
7813
 
if test -z "$GREP"; then
7814
 
set dummy grep ggrep; ac_prog_name=$2
7815
 
if test "${ac_cv_path_GREP+set}" = set; then
7816
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7817
 
else
7818
 
  ac_path_GREP_found=false
7819
 
# Loop through the user's path and test for each of PROGNAME-LIST
7820
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7821
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7822
 
do
7823
 
  IFS=$as_save_IFS
7824
 
  test -z "$as_dir" && as_dir=.
7825
 
  for ac_prog in grep ggrep; do
7826
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7827
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7828
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7829
 
    # Check for GNU ac_path_GREP and select it if it is found.
7830
 
  # Check for GNU $ac_path_GREP
7831
 
case `"$ac_path_GREP" --version 2>&1` in
7832
 
*GNU*)
7833
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7834
 
*)
7835
 
  ac_count=0
7836
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7837
 
  while :
7838
 
  do
7839
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
7840
 
    mv "conftest.tmp" "conftest.in"
7841
 
    cp "conftest.in" "conftest.nl"
7842
 
    echo 'GREP' >> "conftest.nl"
7843
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7844
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7845
 
    ac_count=`expr $ac_count + 1`
7846
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
7847
 
      # Best one so far, save it but keep looking for a better one
7848
 
      ac_cv_path_GREP="$ac_path_GREP"
7849
 
      ac_path_GREP_max=$ac_count
7850
 
    fi
7851
 
    # 10*(2^10) chars as input seems more than enough
7852
 
    test $ac_count -gt 10 && break
7853
 
  done
7854
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7855
 
esac
7856
 
 
7857
 
 
7858
 
    $ac_path_GREP_found && break 3
7859
 
  done
7860
 
done
7861
 
 
7862
 
done
7863
 
IFS=$as_save_IFS
7864
 
 
7865
 
 
7866
 
fi
7867
 
 
7868
 
GREP="$ac_cv_path_GREP"
7869
 
if test -z "$GREP"; then
7870
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7871
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7872
 
   { (exit 1); exit 1; }; }
7873
 
fi
7874
 
 
7875
 
else
7876
 
  ac_cv_path_GREP=$GREP
7877
 
fi
7878
 
 
7879
 
 
7880
 
fi
7881
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7882
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7883
 
 GREP="$ac_cv_path_GREP"
7884
 
 
7885
 
 
7886
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
7887
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7888
 
if test "${ac_cv_path_EGREP+set}" = set; then
7889
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7890
 
else
7891
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7892
 
   then ac_cv_path_EGREP="$GREP -E"
7893
 
   else
7894
 
     # Extract the first word of "egrep" to use in msg output
7895
 
if test -z "$EGREP"; then
7896
 
set dummy egrep; ac_prog_name=$2
7897
 
if test "${ac_cv_path_EGREP+set}" = set; then
7898
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7899
 
else
7900
 
  ac_path_EGREP_found=false
7901
 
# Loop through the user's path and test for each of PROGNAME-LIST
7902
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7904
 
do
7905
 
  IFS=$as_save_IFS
7906
 
  test -z "$as_dir" && as_dir=.
7907
 
  for ac_prog in egrep; do
7908
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7909
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7910
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7911
 
    # Check for GNU ac_path_EGREP and select it if it is found.
7912
 
  # Check for GNU $ac_path_EGREP
7913
 
case `"$ac_path_EGREP" --version 2>&1` in
7914
 
*GNU*)
7915
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7916
 
*)
7917
 
  ac_count=0
7918
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7919
 
  while :
7920
 
  do
7921
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
7922
 
    mv "conftest.tmp" "conftest.in"
7923
 
    cp "conftest.in" "conftest.nl"
7924
 
    echo 'EGREP' >> "conftest.nl"
7925
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7926
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7927
 
    ac_count=`expr $ac_count + 1`
7928
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7929
 
      # Best one so far, save it but keep looking for a better one
7930
 
      ac_cv_path_EGREP="$ac_path_EGREP"
7931
 
      ac_path_EGREP_max=$ac_count
7932
 
    fi
7933
 
    # 10*(2^10) chars as input seems more than enough
7934
 
    test $ac_count -gt 10 && break
7935
 
  done
7936
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7937
 
esac
7938
 
 
7939
 
 
7940
 
    $ac_path_EGREP_found && break 3
7941
 
  done
7942
 
done
7943
 
 
7944
 
done
7945
 
IFS=$as_save_IFS
7946
 
 
7947
 
 
7948
 
fi
7949
 
 
7950
 
EGREP="$ac_cv_path_EGREP"
7951
 
if test -z "$EGREP"; then
7952
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7953
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7954
 
   { (exit 1); exit 1; }; }
7955
 
fi
7956
 
 
7957
 
else
7958
 
  ac_cv_path_EGREP=$EGREP
7959
 
fi
7960
 
 
7961
 
 
7962
 
   fi
7963
 
fi
7964
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7965
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7966
 
 EGREP="$ac_cv_path_EGREP"
7967
 
 
7968
 
 
7969
 
 
7970
 
# Check whether --with-gnu-ld was given.
7971
 
if test "${with_gnu_ld+set}" = set; then
7972
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7973
 
else
7974
 
  with_gnu_ld=no
7975
 
fi
7976
 
 
7977
 
ac_prog=ld
7978
 
if test "$GCC" = yes; then
7979
 
  # Check if gcc -print-prog-name=ld gives a path.
7980
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7981
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
7982
 
  case $host in
7983
 
  *-*-mingw*)
7984
 
    # gcc leaves a trailing carriage return which upsets mingw
7985
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7986
 
  *)
7987
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7988
 
  esac
7989
 
  case $ac_prog in
7990
 
    # Accept absolute paths.
7991
 
    [\\/]* | ?:[\\/]*)
7992
 
      re_direlt='/[^/][^/]*/\.\./'
7993
 
      # Canonicalize the pathname of ld
7994
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7995
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7996
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7997
 
      done
7998
 
      test -z "$LD" && LD="$ac_prog"
7999
 
      ;;
8000
 
  "")
8001
 
    # If it fails, then pretend we aren't using GCC.
8002
 
    ac_prog=ld
8003
 
    ;;
8004
 
  *)
8005
 
    # If it is relative, then search for the first ld in PATH.
8006
 
    with_gnu_ld=unknown
8007
 
    ;;
8008
 
  esac
8009
 
elif test "$with_gnu_ld" = yes; then
8010
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
8011
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8012
 
else
8013
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8014
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8015
 
fi
8016
 
if test "${lt_cv_path_LD+set}" = set; then
8017
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8018
 
else
8019
 
  if test -z "$LD"; then
8020
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8021
 
  for ac_dir in $PATH; do
8022
 
    IFS="$lt_save_ifs"
8023
 
    test -z "$ac_dir" && ac_dir=.
8024
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8025
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
8026
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
8027
 
      # but apparently some GNU ld's only accept -v.
8028
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
8029
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8030
 
      *GNU* | *'with BFD'*)
8031
 
        test "$with_gnu_ld" != no && break
8032
 
        ;;
8033
 
      *)
8034
 
        test "$with_gnu_ld" != yes && break
8035
 
        ;;
8036
 
      esac
8037
 
    fi
8038
 
  done
8039
 
  IFS="$lt_save_ifs"
8040
 
else
8041
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
8042
 
fi
8043
 
fi
8044
 
 
8045
 
LD="$lt_cv_path_LD"
8046
 
if test -n "$LD"; then
8047
 
  { echo "$as_me:$LINENO: result: $LD" >&5
8048
 
echo "${ECHO_T}$LD" >&6; }
8049
 
else
8050
 
  { echo "$as_me:$LINENO: result: no" >&5
8051
 
echo "${ECHO_T}no" >&6; }
8052
 
fi
8053
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8054
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8055
 
   { (exit 1); exit 1; }; }
8056
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8057
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8058
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
8059
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8060
 
else
8061
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8062
 
case `$LD -v 2>&1 </dev/null` in
8063
 
*GNU* | *'with BFD'*)
8064
 
  lt_cv_prog_gnu_ld=yes
8065
 
  ;;
8066
 
*)
8067
 
  lt_cv_prog_gnu_ld=no
8068
 
  ;;
8069
 
esac
8070
 
fi
8071
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8072
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
8073
 
with_gnu_ld=$lt_cv_prog_gnu_ld
8074
 
 
8075
 
 
8076
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8077
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
8078
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
8079
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8080
 
else
8081
 
  lt_cv_ld_reload_flag='-r'
8082
 
fi
8083
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8084
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
8085
 
reload_flag=$lt_cv_ld_reload_flag
8086
 
case $reload_flag in
8087
 
"" | " "*) ;;
8088
 
*) reload_flag=" $reload_flag" ;;
8089
 
esac
8090
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
8091
 
 
8092
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
8093
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
8094
 
if test "${lt_cv_path_NM+set}" = set; then
8095
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8096
 
else
8097
 
  if test -n "$NM"; then
8098
 
  # Let the user override the test.
8099
 
  lt_cv_path_NM="$NM"
8100
 
else
8101
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8102
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
8103
 
    IFS="$lt_save_ifs"
8104
 
    test -z "$ac_dir" && ac_dir=.
8105
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
8106
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8107
 
      # Check to see if the nm accepts a BSD-compat flag.
8108
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8109
 
      #   nm: unknown option "B" ignored
8110
 
      # Tru64's nm complains that /dev/null is an invalid object file
8111
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8112
 
      */dev/null* | *'Invalid file or object type'*)
8113
 
        lt_cv_path_NM="$tmp_nm -B"
8114
 
        break
8115
 
        ;;
8116
 
      *)
8117
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8118
 
        */dev/null*)
8119
 
          lt_cv_path_NM="$tmp_nm -p"
8120
 
          break
8121
 
          ;;
8122
 
        *)
8123
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8124
 
          continue # so that we can try to find one that supports BSD flags
8125
 
          ;;
8126
 
        esac
8127
 
      esac
8128
 
    fi
8129
 
  done
8130
 
  IFS="$lt_save_ifs"
8131
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8132
 
fi
8133
 
fi
8134
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8135
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
8136
 
NM="$lt_cv_path_NM"
8137
 
 
8138
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
8139
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
8140
 
LN_S=$as_ln_s
8141
 
if test "$LN_S" = "ln -s"; then
8142
 
  { echo "$as_me:$LINENO: result: yes" >&5
8143
 
echo "${ECHO_T}yes" >&6; }
8144
 
else
8145
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8146
 
echo "${ECHO_T}no, using $LN_S" >&6; }
8147
 
fi
8148
 
 
8149
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
8150
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
8151
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
8152
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8153
 
else
8154
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
8155
 
lt_cv_file_magic_test_file=
8156
 
lt_cv_deplibs_check_method='unknown'
8157
 
# Need to set the preceding variable on all platforms that support
8158
 
# interlibrary dependencies.
8159
 
# 'none' -- dependencies not supported.
8160
 
# `unknown' -- same as none, but documents that we really don't know.
8161
 
# 'pass_all' -- all dependencies passed with no checks.
8162
 
# 'test_compile' -- check by making test program.
8163
 
# 'file_magic [[regex]]' -- check by looking for files in library path
8164
 
# which responds to the $file_magic_cmd with a given extended regex.
8165
 
# If you have `file' or equivalent on your system and you're not sure
8166
 
# whether `pass_all' will *always* work, you probably want this one.
8167
 
 
8168
 
case $host_os in
8169
 
aix4* | aix5*)
8170
 
  lt_cv_deplibs_check_method=pass_all
8171
 
  ;;
8172
 
 
8173
 
beos*)
8174
 
  lt_cv_deplibs_check_method=pass_all
8175
 
  ;;
8176
 
 
8177
 
bsdi4*)
8178
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8179
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
8180
 
  lt_cv_file_magic_test_file=/shlib/libc.so
8181
 
  ;;
8182
 
 
8183
 
cygwin*)
8184
 
  lt_cv_deplibs_check_method=pass_all
8185
 
  ;;
8186
 
 
8187
 
mingw* | pw32*)
8188
 
  # win32_libid is a shell function defined in ltmain.sh
8189
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8190
 
  lt_cv_file_magic_cmd='win32_libid'
8191
 
  ;;
8192
 
 
8193
 
darwin* | rhapsody*)
8194
 
  # this will be overwritten by pass_all, but leave it in just in case
8195
 
  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
8196
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
8197
 
  case "$host_os" in
8198
 
  rhapsody* | darwin1.[012])
8199
 
    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
8200
 
    ;;
8201
 
  *) # Darwin 1.3 on
8202
 
    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
8203
 
    ;;
8204
 
  esac
8205
 
  lt_cv_deplibs_check_method=pass_all
8206
 
  ;;
8207
 
 
8208
 
freebsd* | kfreebsd*-gnu)
8209
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8210
 
    case $host_cpu in
8211
 
    i*86 )
8212
 
      # Not sure whether the presence of OpenBSD here was a mistake.
8213
 
      # Let's accept both of them until this is cleared up.
8214
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
8215
 
      lt_cv_file_magic_cmd=/usr/bin/file
8216
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8217
 
      ;;
8218
 
    esac
8219
 
  else
8220
 
    lt_cv_deplibs_check_method=pass_all
8221
 
  fi
8222
 
  ;;
8223
 
 
8224
 
gnu*)
8225
 
  lt_cv_deplibs_check_method=pass_all
8226
 
  ;;
8227
 
 
8228
 
hpux10.20* | hpux11*)
8229
 
  lt_cv_file_magic_cmd=/usr/bin/file
8230
 
  case "$host_cpu" in
8231
 
  ia64*)
8232
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8233
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8234
 
    ;;
8235
 
  hppa*64*)
8236
 
    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]'
8237
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8238
 
    ;;
8239
 
  *)
8240
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8241
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
8242
 
    ;;
8243
 
  esac
8244
 
  ;;
8245
 
 
8246
 
irix5* | irix6* | nonstopux*)
8247
 
  case $host_os in
8248
 
  irix5* | nonstopux*)
8249
 
    # this will be overridden with pass_all, but let us keep it just in case
8250
 
    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
8251
 
    ;;
8252
 
  *)
8253
 
    case $LD in
8254
 
    *-32|*"-32 ") libmagic=32-bit;;
8255
 
    *-n32|*"-n32 ") libmagic=N32;;
8256
 
    *-64|*"-64 ") libmagic=64-bit;;
8257
 
    *) libmagic=never-match;;
8258
 
    esac
8259
 
    # this will be overridden with pass_all, but let us keep it just in case
8260
 
    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
8261
 
    ;;
8262
 
  esac
8263
 
  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
8264
 
  lt_cv_deplibs_check_method=pass_all
8265
 
  ;;
8266
 
 
8267
 
# This must be Linux ELF.
8268
 
linux*)
8269
 
  case $host_cpu in
8270
 
  alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
8271
 
    lt_cv_deplibs_check_method=pass_all ;;
8272
 
  # the debian people say, arm and glibc 2.3.1 works for them with pass_all
8273
 
  arm* )
8274
 
    lt_cv_deplibs_check_method=pass_all ;;
8275
 
  *)
8276
 
    # glibc up to 2.1.1 does not perform some relocations on ARM
8277
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
8278
 
  esac
8279
 
  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
8280
 
  ;;
8281
 
 
8282
 
netbsd*)
8283
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8284
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8285
 
  else
8286
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8287
 
  fi
8288
 
  ;;
8289
 
 
8290
 
newos6*)
8291
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8292
 
  lt_cv_file_magic_cmd=/usr/bin/file
8293
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
8294
 
  ;;
8295
 
 
8296
 
nto-qnx*)
8297
 
  lt_cv_deplibs_check_method=unknown
8298
 
  ;;
8299
 
 
8300
 
openbsd*)
8301
 
  lt_cv_file_magic_cmd=/usr/bin/file
8302
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8303
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8304
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
8305
 
  else
8306
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
8307
 
  fi
8308
 
  ;;
8309
 
 
8310
 
osf3* | osf4* | osf5*)
8311
 
  # this will be overridden with pass_all, but let us keep it just in case
8312
 
  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
8313
 
  lt_cv_file_magic_test_file=/shlib/libc.so
8314
 
  lt_cv_deplibs_check_method=pass_all
8315
 
  ;;
8316
 
 
8317
 
sco3.2v5*)
8318
 
  lt_cv_deplibs_check_method=pass_all
8319
 
  ;;
8320
 
 
8321
 
solaris*)
8322
 
  lt_cv_deplibs_check_method=pass_all
8323
 
  lt_cv_file_magic_test_file=/lib/libc.so
8324
 
  ;;
8325
 
 
8326
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8327
 
  case $host_vendor in
8328
 
  motorola)
8329
 
    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]'
8330
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8331
 
    ;;
8332
 
  ncr)
8333
 
    lt_cv_deplibs_check_method=pass_all
8334
 
    ;;
8335
 
  sequent)
8336
 
    lt_cv_file_magic_cmd='/bin/file'
8337
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8338
 
    ;;
8339
 
  sni)
8340
 
    lt_cv_file_magic_cmd='/bin/file'
8341
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8342
 
    lt_cv_file_magic_test_file=/lib/libc.so
8343
 
    ;;
8344
 
  siemens)
8345
 
    lt_cv_deplibs_check_method=pass_all
8346
 
    ;;
8347
 
  esac
8348
 
  ;;
8349
 
 
8350
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
8351
 
  lt_cv_deplibs_check_method=pass_all
8352
 
  ;;
8353
 
esac
8354
 
 
8355
 
fi
8356
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8357
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8358
 
file_magic_cmd=$lt_cv_file_magic_cmd
8359
 
deplibs_check_method=$lt_cv_deplibs_check_method
8360
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8361
 
 
8362
 
 
8363
 
# If no C compiler was specified, use CC.
8364
 
LTCC=${LTCC-"$CC"}
8365
 
 
8366
 
# Allow CC to be a program name with arguments.
8367
 
compiler=$CC
8368
 
 
8369
 
# Check whether --enable-libtool-lock was given.
8370
 
if test "${enable_libtool_lock+set}" = set; then
8371
 
  enableval=$enable_libtool_lock;
8372
 
fi
8373
 
 
8374
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8375
 
 
8376
 
# Some flags need to be propagated to the compiler or linker for good
8377
 
# libtool support.
8378
 
case $host in
8379
 
ia64-*-hpux*)
8380
 
  # Find out which ABI we are using.
8381
 
  echo 'int i;' > conftest.$ac_ext
8382
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8383
 
  (eval $ac_compile) 2>&5
8384
 
  ac_status=$?
8385
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386
 
  (exit $ac_status); }; then
8387
 
    case `/usr/bin/file conftest.$ac_objext` in
8388
 
    *ELF-32*)
8389
 
      HPUX_IA64_MODE="32"
8390
 
      ;;
8391
 
    *ELF-64*)
8392
 
      HPUX_IA64_MODE="64"
8393
 
      ;;
8394
 
    esac
8395
 
  fi
8396
 
  rm -rf conftest*
8397
 
  ;;
8398
 
*-*-irix6*)
8399
 
  # Find out which ABI we are using.
8400
 
  echo '#line 8400 "configure"' > conftest.$ac_ext
8401
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8402
 
  (eval $ac_compile) 2>&5
8403
 
  ac_status=$?
8404
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405
 
  (exit $ac_status); }; then
8406
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
8407
 
    case `/usr/bin/file conftest.$ac_objext` in
8408
 
    *32-bit*)
8409
 
      LD="${LD-ld} -melf32bsmip"
8410
 
      ;;
8411
 
    *N32*)
8412
 
      LD="${LD-ld} -melf32bmipn32"
8413
 
      ;;
8414
 
    *64-bit*)
8415
 
      LD="${LD-ld} -melf64bmip"
8416
 
      ;;
8417
 
    esac
8418
 
   else
8419
 
    case `/usr/bin/file conftest.$ac_objext` in
8420
 
    *32-bit*)
8421
 
      LD="${LD-ld} -32"
8422
 
      ;;
8423
 
    *N32*)
8424
 
      LD="${LD-ld} -n32"
8425
 
      ;;
8426
 
    *64-bit*)
8427
 
      LD="${LD-ld} -64"
8428
 
      ;;
8429
 
    esac
8430
 
   fi
8431
 
  fi
8432
 
  rm -rf conftest*
8433
 
  ;;
8434
 
 
8435
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
8436
 
  # Find out which ABI we are using.
8437
 
  echo 'int i;' > conftest.$ac_ext
8438
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8439
 
  (eval $ac_compile) 2>&5
8440
 
  ac_status=$?
8441
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442
 
  (exit $ac_status); }; then
8443
 
    case "`/usr/bin/file conftest.o`" in
8444
 
    *32-bit*)
8445
 
      LINUX_64_MODE="32"
8446
 
      case $host in
8447
 
        x86_64-*linux*)
8448
 
          LD="${LD-ld} -m elf_i386"
8449
 
          ;;
8450
 
        ppc64-*linux*)
8451
 
          LD="${LD-ld} -m elf32ppclinux"
8452
 
          ;;
8453
 
        s390x-*linux*)
8454
 
          LD="${LD-ld} -m elf_s390"
8455
 
          ;;
8456
 
        sparc64-*linux*)
8457
 
          LD="${LD-ld} -m elf32_sparc"
8458
 
          ;;
8459
 
      esac
8460
 
      ;;
8461
 
    *64-bit*)
8462
 
      LINUX_64_MODE="64"
8463
 
      case $host in
8464
 
        x86_64-*linux*)
8465
 
          LD="${LD-ld} -m elf_x86_64"
8466
 
          ;;
8467
 
        ppc*-*linux*|powerpc*-*linux*)
8468
 
          LD="${LD-ld} -m elf64ppc"
8469
 
          ;;
8470
 
        s390*-*linux*)
8471
 
          LD="${LD-ld} -m elf64_s390"
8472
 
          ;;
8473
 
        sparc*-*linux*)
8474
 
          LD="${LD-ld} -m elf64_sparc"
8475
 
          ;;
8476
 
      esac
8477
 
      ;;
8478
 
    esac
8479
 
  fi
8480
 
  rm -rf conftest*
8481
 
  ;;
8482
 
 
8483
 
*-*-sco3.2v5*)
8484
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8485
 
  SAVE_CFLAGS="$CFLAGS"
8486
 
  CFLAGS="$CFLAGS -belf"
8487
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8488
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
8489
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
8490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8491
 
else
8492
 
  ac_ext=c
8493
 
ac_cpp='$CPP $CPPFLAGS'
8494
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8495
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8496
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8497
 
 
8498
 
     cat >conftest.$ac_ext <<_ACEOF
8499
 
/* confdefs.h.  */
8500
 
_ACEOF
8501
 
cat confdefs.h >>conftest.$ac_ext
8502
 
cat >>conftest.$ac_ext <<_ACEOF
8503
 
/* end confdefs.h.  */
8504
 
 
8505
 
int
8506
 
main ()
8507
 
{
8508
 
 
8509
 
  ;
8510
 
  return 0;
8511
 
}
8512
 
_ACEOF
8513
 
rm -f conftest.$ac_objext conftest$ac_exeext
8514
 
if { (ac_try="$ac_link"
8515
 
case "(($ac_try" in
8516
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8517
 
  *) ac_try_echo=$ac_try;;
8518
 
esac
8519
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8520
 
  (eval "$ac_link") 2>conftest.er1
8521
 
  ac_status=$?
8522
 
  grep -v '^ *+' conftest.er1 >conftest.err
8523
 
  rm -f conftest.er1
8524
 
  cat conftest.err >&5
8525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526
 
  (exit $ac_status); } && {
8527
 
         test -z "$ac_c_werror_flag" ||
8528
 
         test ! -s conftest.err
8529
 
       } && test -s conftest$ac_exeext &&
8530
 
       $as_test_x conftest$ac_exeext; then
8531
 
  lt_cv_cc_needs_belf=yes
8532
 
else
8533
 
  echo "$as_me: failed program was:" >&5
8534
 
sed 's/^/| /' conftest.$ac_ext >&5
8535
 
 
8536
 
        lt_cv_cc_needs_belf=no
8537
 
fi
8538
 
 
8539
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8540
 
      conftest$ac_exeext conftest.$ac_ext
8541
 
     ac_ext=c
8542
 
ac_cpp='$CPP $CPPFLAGS'
8543
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8544
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8545
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8546
 
 
8547
 
fi
8548
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8549
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
8550
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8551
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8552
 
    CFLAGS="$SAVE_CFLAGS"
8553
 
  fi
8554
 
  ;;
8555
 
 
8556
 
esac
8557
 
 
8558
 
need_locks="$enable_libtool_lock"
8559
 
 
8560
 
 
8561
 
 
8562
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8563
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8564
 
if test "${ac_cv_header_stdc+set}" = set; then
8565
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8566
 
else
8567
 
  cat >conftest.$ac_ext <<_ACEOF
8568
 
/* confdefs.h.  */
8569
 
_ACEOF
8570
 
cat confdefs.h >>conftest.$ac_ext
8571
 
cat >>conftest.$ac_ext <<_ACEOF
8572
 
/* end confdefs.h.  */
8573
 
#include <stdlib.h>
8574
 
#include <stdarg.h>
8575
 
#include <string.h>
8576
 
#include <float.h>
8577
 
 
8578
 
int
8579
 
main ()
8580
 
{
8581
 
 
8582
 
  ;
8583
 
  return 0;
8584
 
}
8585
 
_ACEOF
8586
 
rm -f conftest.$ac_objext
8587
 
if { (ac_try="$ac_compile"
8588
 
case "(($ac_try" in
8589
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8590
 
  *) ac_try_echo=$ac_try;;
8591
 
esac
8592
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8593
 
  (eval "$ac_compile") 2>conftest.er1
8594
 
  ac_status=$?
8595
 
  grep -v '^ *+' conftest.er1 >conftest.err
8596
 
  rm -f conftest.er1
8597
 
  cat conftest.err >&5
8598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599
 
  (exit $ac_status); } && {
8600
 
         test -z "$ac_c_werror_flag" ||
8601
 
         test ! -s conftest.err
8602
 
       } && test -s conftest.$ac_objext; then
8603
 
  ac_cv_header_stdc=yes
8604
 
else
8605
 
  echo "$as_me: failed program was:" >&5
8606
 
sed 's/^/| /' conftest.$ac_ext >&5
8607
 
 
8608
 
        ac_cv_header_stdc=no
8609
 
fi
8610
 
 
8611
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8612
 
 
8613
 
if test $ac_cv_header_stdc = yes; then
8614
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8615
 
  cat >conftest.$ac_ext <<_ACEOF
8616
 
/* confdefs.h.  */
8617
 
_ACEOF
8618
 
cat confdefs.h >>conftest.$ac_ext
8619
 
cat >>conftest.$ac_ext <<_ACEOF
8620
 
/* end confdefs.h.  */
8621
 
#include <string.h>
8622
 
 
8623
 
_ACEOF
8624
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8625
 
  $EGREP "memchr" >/dev/null 2>&1; then
8626
 
  :
8627
 
else
8628
 
  ac_cv_header_stdc=no
8629
 
fi
8630
 
rm -f conftest*
8631
 
 
8632
 
fi
8633
 
 
8634
 
if test $ac_cv_header_stdc = yes; then
8635
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8636
 
  cat >conftest.$ac_ext <<_ACEOF
8637
 
/* confdefs.h.  */
8638
 
_ACEOF
8639
 
cat confdefs.h >>conftest.$ac_ext
8640
 
cat >>conftest.$ac_ext <<_ACEOF
8641
 
/* end confdefs.h.  */
8642
 
#include <stdlib.h>
8643
 
 
8644
 
_ACEOF
8645
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8646
 
  $EGREP "free" >/dev/null 2>&1; then
8647
 
  :
8648
 
else
8649
 
  ac_cv_header_stdc=no
8650
 
fi
8651
 
rm -f conftest*
8652
 
 
8653
 
fi
8654
 
 
8655
 
if test $ac_cv_header_stdc = yes; then
8656
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8657
 
  if test "$cross_compiling" = yes; then
8658
 
  :
8659
 
else
8660
 
  cat >conftest.$ac_ext <<_ACEOF
8661
 
/* confdefs.h.  */
8662
 
_ACEOF
8663
 
cat confdefs.h >>conftest.$ac_ext
8664
 
cat >>conftest.$ac_ext <<_ACEOF
8665
 
/* end confdefs.h.  */
8666
 
#include <ctype.h>
8667
 
#include <stdlib.h>
8668
 
#if ((' ' & 0x0FF) == 0x020)
8669
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8670
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8671
 
#else
8672
 
# define ISLOWER(c) \
8673
 
                   (('a' <= (c) && (c) <= 'i') \
8674
 
                     || ('j' <= (c) && (c) <= 'r') \
8675
 
                     || ('s' <= (c) && (c) <= 'z'))
8676
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8677
 
#endif
8678
 
 
8679
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8680
 
int
8681
 
main ()
8682
 
{
8683
 
  int i;
8684
 
  for (i = 0; i < 256; i++)
8685
 
    if (XOR (islower (i), ISLOWER (i))
8686
 
        || toupper (i) != TOUPPER (i))
8687
 
      return 2;
8688
 
  return 0;
8689
 
}
8690
 
_ACEOF
8691
 
rm -f conftest$ac_exeext
8692
 
if { (ac_try="$ac_link"
8693
 
case "(($ac_try" in
8694
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8695
 
  *) ac_try_echo=$ac_try;;
8696
 
esac
8697
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8698
 
  (eval "$ac_link") 2>&5
8699
 
  ac_status=$?
8700
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8702
 
  { (case "(($ac_try" in
8703
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8704
 
  *) ac_try_echo=$ac_try;;
8705
 
esac
8706
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8707
 
  (eval "$ac_try") 2>&5
8708
 
  ac_status=$?
8709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710
 
  (exit $ac_status); }; }; then
8711
 
  :
8712
 
else
8713
 
  echo "$as_me: program exited with status $ac_status" >&5
8714
 
echo "$as_me: failed program was:" >&5
8715
 
sed 's/^/| /' conftest.$ac_ext >&5
8716
 
 
8717
 
( exit $ac_status )
8718
 
ac_cv_header_stdc=no
8719
 
fi
8720
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8721
 
fi
8722
 
 
8723
 
 
8724
 
fi
8725
 
fi
8726
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8727
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8728
 
if test $ac_cv_header_stdc = yes; then
8729
 
 
8730
 
cat >>confdefs.h <<\_ACEOF
8731
 
#define STDC_HEADERS 1
8732
 
_ACEOF
8733
 
 
8734
 
fi
8735
 
 
8736
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8737
 
 
8738
 
 
8739
 
 
8740
 
 
8741
 
 
8742
 
 
8743
 
 
8744
 
 
8745
 
 
8746
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8747
 
                  inttypes.h stdint.h unistd.h
8748
 
do
8749
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8750
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8751
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8752
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8753
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8754
 
else
8755
 
  cat >conftest.$ac_ext <<_ACEOF
8756
 
/* confdefs.h.  */
8757
 
_ACEOF
8758
 
cat confdefs.h >>conftest.$ac_ext
8759
 
cat >>conftest.$ac_ext <<_ACEOF
8760
 
/* end confdefs.h.  */
8761
 
$ac_includes_default
8762
 
 
8763
 
#include <$ac_header>
8764
 
_ACEOF
8765
 
rm -f conftest.$ac_objext
8766
 
if { (ac_try="$ac_compile"
8767
 
case "(($ac_try" in
8768
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8769
 
  *) ac_try_echo=$ac_try;;
8770
 
esac
8771
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8772
 
  (eval "$ac_compile") 2>conftest.er1
8773
 
  ac_status=$?
8774
 
  grep -v '^ *+' conftest.er1 >conftest.err
8775
 
  rm -f conftest.er1
8776
 
  cat conftest.err >&5
8777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778
 
  (exit $ac_status); } && {
8779
 
         test -z "$ac_c_werror_flag" ||
8780
 
         test ! -s conftest.err
8781
 
       } && test -s conftest.$ac_objext; then
8782
 
  eval "$as_ac_Header=yes"
8783
 
else
8784
 
  echo "$as_me: failed program was:" >&5
8785
 
sed 's/^/| /' conftest.$ac_ext >&5
8786
 
 
8787
 
        eval "$as_ac_Header=no"
8788
 
fi
8789
 
 
8790
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8791
 
fi
8792
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8793
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8794
 
echo "${ECHO_T}$ac_res" >&6; }
8795
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8796
 
  cat >>confdefs.h <<_ACEOF
8797
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8798
 
_ACEOF
8799
 
 
8800
 
fi
8801
 
 
8802
 
done
8803
 
 
8804
 
 
8805
 
 
8806
 
for ac_header in dlfcn.h
8807
 
do
8808
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8809
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8810
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8811
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8812
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8813
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8814
 
fi
8815
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8816
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8817
 
echo "${ECHO_T}$ac_res" >&6; }
8818
 
else
8819
 
  # Is the header compilable?
8820
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8821
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8822
 
cat >conftest.$ac_ext <<_ACEOF
8823
 
/* confdefs.h.  */
8824
 
_ACEOF
8825
 
cat confdefs.h >>conftest.$ac_ext
8826
 
cat >>conftest.$ac_ext <<_ACEOF
8827
 
/* end confdefs.h.  */
8828
 
$ac_includes_default
8829
 
#include <$ac_header>
8830
 
_ACEOF
8831
 
rm -f conftest.$ac_objext
8832
 
if { (ac_try="$ac_compile"
8833
 
case "(($ac_try" in
8834
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8835
 
  *) ac_try_echo=$ac_try;;
8836
 
esac
8837
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8838
 
  (eval "$ac_compile") 2>conftest.er1
8839
 
  ac_status=$?
8840
 
  grep -v '^ *+' conftest.er1 >conftest.err
8841
 
  rm -f conftest.er1
8842
 
  cat conftest.err >&5
8843
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844
 
  (exit $ac_status); } && {
8845
 
         test -z "$ac_c_werror_flag" ||
8846
 
         test ! -s conftest.err
8847
 
       } && test -s conftest.$ac_objext; then
8848
 
  ac_header_compiler=yes
8849
 
else
8850
 
  echo "$as_me: failed program was:" >&5
8851
 
sed 's/^/| /' conftest.$ac_ext >&5
8852
 
 
8853
 
        ac_header_compiler=no
8854
 
fi
8855
 
 
8856
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8857
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8858
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
8859
 
 
8860
 
# Is the header present?
8861
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8862
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8863
 
cat >conftest.$ac_ext <<_ACEOF
8864
 
/* confdefs.h.  */
8865
 
_ACEOF
8866
 
cat confdefs.h >>conftest.$ac_ext
8867
 
cat >>conftest.$ac_ext <<_ACEOF
8868
 
/* end confdefs.h.  */
8869
 
#include <$ac_header>
8870
 
_ACEOF
8871
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
8872
 
case "(($ac_try" in
8873
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8874
 
  *) ac_try_echo=$ac_try;;
8875
 
esac
8876
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8877
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8878
 
  ac_status=$?
8879
 
  grep -v '^ *+' conftest.er1 >conftest.err
8880
 
  rm -f conftest.er1
8881
 
  cat conftest.err >&5
8882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883
 
  (exit $ac_status); } >/dev/null && {
8884
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8885
 
         test ! -s conftest.err
8886
 
       }; then
8887
 
  ac_header_preproc=yes
8888
 
else
8889
 
  echo "$as_me: failed program was:" >&5
8890
 
sed 's/^/| /' conftest.$ac_ext >&5
8891
 
 
8892
 
  ac_header_preproc=no
8893
 
fi
8894
 
 
8895
 
rm -f conftest.err conftest.$ac_ext
8896
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8897
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
8898
 
 
8899
 
# So?  What about this header?
8900
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8901
 
  yes:no: )
8902
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8903
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8904
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8905
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8906
 
    ac_header_preproc=yes
8907
 
    ;;
8908
 
  no:yes:* )
8909
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8910
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8911
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8912
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8913
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8914
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8915
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8916
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8917
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8918
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8919
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8920
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8921
 
 
8922
 
    ;;
8923
 
esac
8924
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8925
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8926
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8927
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8928
 
else
8929
 
  eval "$as_ac_Header=\$ac_header_preproc"
8930
 
fi
8931
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8932
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8933
 
echo "${ECHO_T}$ac_res" >&6; }
8934
 
 
8935
 
fi
8936
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8937
 
  cat >>confdefs.h <<_ACEOF
8938
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8939
 
_ACEOF
8940
 
 
8941
 
fi
8942
 
 
8943
 
done
8944
 
 
8945
 
ac_ext=f
8946
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8947
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8948
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8949
 
if test -n "$ac_tool_prefix"; then
8950
 
  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
8951
 
  do
8952
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8953
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8954
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8955
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8956
 
if test "${ac_cv_prog_F77+set}" = set; then
8957
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8958
 
else
8959
 
  if test -n "$F77"; then
8960
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
8961
 
else
8962
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8963
 
for as_dir in $PATH
8964
 
do
8965
 
  IFS=$as_save_IFS
8966
 
  test -z "$as_dir" && as_dir=.
8967
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8968
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8969
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8970
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8971
 
    break 2
8972
 
  fi
8973
 
done
8974
 
done
8975
 
IFS=$as_save_IFS
8976
 
 
8977
 
fi
8978
 
fi
8979
 
F77=$ac_cv_prog_F77
8980
 
if test -n "$F77"; then
8981
 
  { echo "$as_me:$LINENO: result: $F77" >&5
8982
 
echo "${ECHO_T}$F77" >&6; }
8983
 
else
8984
 
  { echo "$as_me:$LINENO: result: no" >&5
8985
 
echo "${ECHO_T}no" >&6; }
8986
 
fi
8987
 
 
8988
 
 
8989
 
    test -n "$F77" && break
8990
 
  done
8991
 
fi
8992
 
if test -z "$F77"; then
8993
 
  ac_ct_F77=$F77
8994
 
  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
8995
 
do
8996
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8997
 
set dummy $ac_prog; ac_word=$2
8998
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8999
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9000
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
9001
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9002
 
else
9003
 
  if test -n "$ac_ct_F77"; then
9004
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
9005
 
else
9006
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9007
 
for as_dir in $PATH
9008
 
do
9009
 
  IFS=$as_save_IFS
9010
 
  test -z "$as_dir" && as_dir=.
9011
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9012
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9013
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
9014
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9015
 
    break 2
9016
 
  fi
9017
 
done
9018
 
done
9019
 
IFS=$as_save_IFS
9020
 
 
9021
 
fi
9022
 
fi
9023
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
9024
 
if test -n "$ac_ct_F77"; then
9025
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
9026
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
9027
 
else
9028
 
  { echo "$as_me:$LINENO: result: no" >&5
9029
 
echo "${ECHO_T}no" >&6; }
9030
 
fi
9031
 
 
9032
 
 
9033
 
  test -n "$ac_ct_F77" && break
9034
 
done
9035
 
 
9036
 
  if test "x$ac_ct_F77" = x; then
9037
 
    F77=""
9038
 
  else
9039
 
    case $cross_compiling:$ac_tool_warned in
9040
 
yes:)
9041
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9042
 
whose name does not start with the host triplet.  If you think this
9043
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9044
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9045
 
whose name does not start with the host triplet.  If you think this
9046
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9047
 
ac_tool_warned=yes ;;
9048
 
esac
9049
 
    F77=$ac_ct_F77
9050
 
  fi
9051
 
fi
9052
 
 
9053
 
 
9054
 
# Provide some information about the compiler.
9055
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
9056
 
ac_compiler=`set X $ac_compile; echo $2`
9057
 
{ (ac_try="$ac_compiler --version >&5"
9058
 
case "(($ac_try" in
9059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9060
 
  *) ac_try_echo=$ac_try;;
9061
 
esac
9062
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9063
 
  (eval "$ac_compiler --version >&5") 2>&5
9064
 
  ac_status=$?
9065
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066
 
  (exit $ac_status); }
9067
 
{ (ac_try="$ac_compiler -v >&5"
9068
 
case "(($ac_try" in
9069
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9070
 
  *) ac_try_echo=$ac_try;;
9071
 
esac
9072
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9073
 
  (eval "$ac_compiler -v >&5") 2>&5
9074
 
  ac_status=$?
9075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076
 
  (exit $ac_status); }
9077
 
{ (ac_try="$ac_compiler -V >&5"
9078
 
case "(($ac_try" in
9079
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9080
 
  *) ac_try_echo=$ac_try;;
9081
 
esac
9082
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9083
 
  (eval "$ac_compiler -V >&5") 2>&5
9084
 
  ac_status=$?
9085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086
 
  (exit $ac_status); }
9087
 
rm -f a.out
9088
 
 
9089
 
# If we don't use `.F' as extension, the preprocessor is not run on the
9090
 
# input file.  (Note that this only needs to work for GNU compilers.)
9091
 
ac_save_ext=$ac_ext
9092
 
ac_ext=F
9093
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
9094
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
9095
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
9096
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9097
 
else
9098
 
  cat >conftest.$ac_ext <<_ACEOF
9099
 
      program main
9100
 
#ifndef __GNUC__
9101
 
       choke me
9102
 
#endif
9103
 
 
9104
 
      end
9105
 
_ACEOF
9106
 
rm -f conftest.$ac_objext
9107
 
if { (ac_try="$ac_compile"
9108
 
case "(($ac_try" in
9109
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9110
 
  *) ac_try_echo=$ac_try;;
9111
 
esac
9112
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9113
 
  (eval "$ac_compile") 2>conftest.er1
9114
 
  ac_status=$?
9115
 
  grep -v '^ *+' conftest.er1 >conftest.err
9116
 
  rm -f conftest.er1
9117
 
  cat conftest.err >&5
9118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119
 
  (exit $ac_status); } && {
9120
 
         test -z "$ac_f77_werror_flag" ||
9121
 
         test ! -s conftest.err
9122
 
       } && test -s conftest.$ac_objext; then
9123
 
  ac_compiler_gnu=yes
9124
 
else
9125
 
  echo "$as_me: failed program was:" >&5
9126
 
sed 's/^/| /' conftest.$ac_ext >&5
9127
 
 
9128
 
        ac_compiler_gnu=no
9129
 
fi
9130
 
 
9131
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9132
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
9133
 
 
9134
 
fi
9135
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9136
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
9137
 
ac_ext=$ac_save_ext
9138
 
ac_test_FFLAGS=${FFLAGS+set}
9139
 
ac_save_FFLAGS=$FFLAGS
9140
 
FFLAGS=
9141
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9142
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
9143
 
if test "${ac_cv_prog_f77_g+set}" = set; then
9144
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9145
 
else
9146
 
  FFLAGS=-g
9147
 
cat >conftest.$ac_ext <<_ACEOF
9148
 
      program main
9149
 
 
9150
 
      end
9151
 
_ACEOF
9152
 
rm -f conftest.$ac_objext
9153
 
if { (ac_try="$ac_compile"
9154
 
case "(($ac_try" in
9155
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9156
 
  *) ac_try_echo=$ac_try;;
9157
 
esac
9158
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9159
 
  (eval "$ac_compile") 2>conftest.er1
9160
 
  ac_status=$?
9161
 
  grep -v '^ *+' conftest.er1 >conftest.err
9162
 
  rm -f conftest.er1
9163
 
  cat conftest.err >&5
9164
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165
 
  (exit $ac_status); } && {
9166
 
         test -z "$ac_f77_werror_flag" ||
9167
 
         test ! -s conftest.err
9168
 
       } && test -s conftest.$ac_objext; then
9169
 
  ac_cv_prog_f77_g=yes
9170
 
else
9171
 
  echo "$as_me: failed program was:" >&5
9172
 
sed 's/^/| /' conftest.$ac_ext >&5
9173
 
 
9174
 
        ac_cv_prog_f77_g=no
9175
 
fi
9176
 
 
9177
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9178
 
 
9179
 
fi
9180
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9181
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
9182
 
if test "$ac_test_FFLAGS" = set; then
9183
 
  FFLAGS=$ac_save_FFLAGS
9184
 
elif test $ac_cv_prog_f77_g = yes; then
9185
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9186
 
    FFLAGS="-g -O2"
9187
 
  else
9188
 
    FFLAGS="-g"
9189
 
  fi
9190
 
else
9191
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9192
 
    FFLAGS="-O2"
9193
 
  else
9194
 
    FFLAGS=
9195
 
  fi
9196
 
fi
9197
 
 
9198
 
G77=`test $ac_compiler_gnu = yes && echo yes`
9199
 
ac_ext=c
9200
 
ac_cpp='$CPP $CPPFLAGS'
9201
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9202
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9203
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9204
 
 
9205
 
 
9206
 
 
9207
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
9208
 
 
9209
 
# find the maximum length of command line arguments
9210
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9211
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9212
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9213
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9214
 
else
9215
 
    i=0
9216
 
  testring="ABCD"
9217
 
 
9218
 
  case $build_os in
9219
 
  msdosdjgpp*)
9220
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
9221
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
9222
 
    # during glob expansion).  Even if it were fixed, the result of this
9223
 
    # check would be larger than it should be.
9224
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
9225
 
    ;;
9226
 
 
9227
 
  gnu*)
9228
 
    # Under GNU Hurd, this test is not required because there is
9229
 
    # no limit to the length of command line arguments.
9230
 
    # Libtool will interpret -1 as no limit whatsoever
9231
 
    lt_cv_sys_max_cmd_len=-1;
9232
 
    ;;
9233
 
 
9234
 
  cygwin* | mingw*)
9235
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
9236
 
    # about 5 minutes as the teststring grows exponentially.
9237
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
9238
 
    # you end up with a "frozen" computer, even though with patience
9239
 
    # the test eventually succeeds (with a max line length of 256k).
9240
 
    # Instead, let's just punt: use the minimum linelength reported by
9241
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
9242
 
    lt_cv_sys_max_cmd_len=8192;
9243
 
    ;;
9244
 
 
9245
 
 *)
9246
 
    # If test is not a shell built-in, we'll probably end up computing a
9247
 
    # maximum length that is only half of the actual maximum length, but
9248
 
    # we can't tell.
9249
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
9250
 
               = "XX$testring") >/dev/null 2>&1 &&
9251
 
            new_result=`expr "X$testring" : ".*" 2>&1` &&
9252
 
            lt_cv_sys_max_cmd_len=$new_result &&
9253
 
            test $i != 17 # 1/2 MB should be enough
9254
 
    do
9255
 
      i=`expr $i + 1`
9256
 
      testring=$testring$testring
9257
 
    done
9258
 
    testring=
9259
 
    # Add a significant safety factor because C++ compilers can tack on massive
9260
 
    # amounts of additional arguments before passing them to the linker.
9261
 
    # It appears as though 1/2 is a usable value.
9262
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9263
 
    ;;
9264
 
  esac
9265
 
 
9266
 
fi
9267
 
 
9268
 
if test -n $lt_cv_sys_max_cmd_len ; then
9269
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9270
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9271
 
else
9272
 
  { echo "$as_me:$LINENO: result: none" >&5
9273
 
echo "${ECHO_T}none" >&6; }
9274
 
fi
9275
 
 
9276
 
 
9277
 
 
9278
 
 
9279
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
9280
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9281
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9282
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9283
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9284
 
else
9285
 
 
9286
 
# These are sane defaults that work on at least a few old systems.
9287
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9288
 
 
9289
 
# Character class describing NM global symbol codes.
9290
 
symcode='[BCDEGRST]'
9291
 
 
9292
 
# Regexp to match symbols that can be accessed directly from C.
9293
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9294
 
 
9295
 
# Transform the above into a raw symbol and a C symbol.
9296
 
symxfrm='\1 \2\3 \3'
9297
 
 
9298
 
# Transform an extracted symbol line into a proper C declaration
9299
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9300
 
 
9301
 
# Transform an extracted symbol line into symbol name and symbol address
9302
 
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'"
9303
 
 
9304
 
# Define system-specific variables.
9305
 
case $host_os in
9306
 
aix*)
9307
 
  symcode='[BCDT]'
9308
 
  ;;
9309
 
cygwin* | mingw* | pw32*)
9310
 
  symcode='[ABCDGISTW]'
9311
 
  ;;
9312
 
hpux*) # Its linker distinguishes data from code symbols
9313
 
  if test "$host_cpu" = ia64; then
9314
 
    symcode='[ABCDEGRST]'
9315
 
  fi
9316
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9317
 
  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'"
9318
 
  ;;
9319
 
irix* | nonstopux*)
9320
 
  symcode='[BCDEGRST]'
9321
 
  ;;
9322
 
osf*)
9323
 
  symcode='[BCDEGQRST]'
9324
 
  ;;
9325
 
solaris* | sysv5*)
9326
 
  symcode='[BDT]'
9327
 
  ;;
9328
 
sysv4)
9329
 
  symcode='[DFNSTU]'
9330
 
  ;;
9331
 
esac
9332
 
 
9333
 
# Handle CRLF in mingw tool chain
9334
 
opt_cr=
9335
 
case $build_os in
9336
 
mingw*)
9337
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9338
 
  ;;
9339
 
esac
9340
 
 
9341
 
# If we're using GNU nm, then use its standard symbol codes.
9342
 
case `$NM -V 2>&1` in
9343
 
*GNU* | *'with BFD'*)
9344
 
  symcode='[ABCDGISTW]' ;;
9345
 
esac
9346
 
 
9347
 
# Try without a prefix undercore, then with it.
9348
 
for ac_symprfx in "" "_"; do
9349
 
 
9350
 
  # Write the raw and C identifiers.
9351
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
9352
 
 
9353
 
  # Check to see that the pipe works correctly.
9354
 
  pipe_works=no
9355
 
 
9356
 
  rm -f conftest*
9357
 
  cat > conftest.$ac_ext <<EOF
9358
 
#ifdef __cplusplus
9359
 
extern "C" {
9360
 
#endif
9361
 
char nm_test_var;
9362
 
void nm_test_func(){}
9363
 
#ifdef __cplusplus
9364
 
}
9365
 
#endif
9366
 
int main(){nm_test_var='a';nm_test_func();return(0);}
9367
 
EOF
9368
 
 
9369
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9370
 
  (eval $ac_compile) 2>&5
9371
 
  ac_status=$?
9372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373
 
  (exit $ac_status); }; then
9374
 
    # Now try to grab the symbols.
9375
 
    nlist=conftest.nm
9376
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9377
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9378
 
  ac_status=$?
9379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380
 
  (exit $ac_status); } && test -s "$nlist"; then
9381
 
      # Try sorting and uniquifying the output.
9382
 
      if sort "$nlist" | uniq > "$nlist"T; then
9383
 
        mv -f "$nlist"T "$nlist"
9384
 
      else
9385
 
        rm -f "$nlist"T
9386
 
      fi
9387
 
 
9388
 
      # Make sure that we snagged all the symbols we need.
9389
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
9390
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
9391
 
          cat <<EOF > conftest.$ac_ext
9392
 
#ifdef __cplusplus
9393
 
extern "C" {
9394
 
#endif
9395
 
 
9396
 
EOF
9397
 
          # Now generate the symbol file.
9398
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9399
 
 
9400
 
          cat <<EOF >> conftest.$ac_ext
9401
 
#if defined (__STDC__) && __STDC__
9402
 
# define lt_ptr_t void *
9403
 
#else
9404
 
# define lt_ptr_t char *
9405
 
# define const
9406
 
#endif
9407
 
 
9408
 
/* The mapping between symbol names and symbols. */
9409
 
const struct {
9410
 
  const char *name;
9411
 
  lt_ptr_t address;
9412
 
}
9413
 
lt_preloaded_symbols[] =
9414
 
{
9415
 
EOF
9416
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9417
 
          cat <<\EOF >> conftest.$ac_ext
9418
 
  {0, (lt_ptr_t) 0}
9419
 
};
9420
 
 
9421
 
#ifdef __cplusplus
9422
 
}
9423
 
#endif
9424
 
EOF
9425
 
          # Now try linking the two files.
9426
 
          mv conftest.$ac_objext conftstm.$ac_objext
9427
 
          lt_save_LIBS="$LIBS"
9428
 
          lt_save_CFLAGS="$CFLAGS"
9429
 
          LIBS="conftstm.$ac_objext"
9430
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9431
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9432
 
  (eval $ac_link) 2>&5
9433
 
  ac_status=$?
9434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
9436
 
            pipe_works=yes
9437
 
          fi
9438
 
          LIBS="$lt_save_LIBS"
9439
 
          CFLAGS="$lt_save_CFLAGS"
9440
 
        else
9441
 
          echo "cannot find nm_test_func in $nlist" >&5
9442
 
        fi
9443
 
      else
9444
 
        echo "cannot find nm_test_var in $nlist" >&5
9445
 
      fi
9446
 
    else
9447
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9448
 
    fi
9449
 
  else
9450
 
    echo "$progname: failed program was:" >&5
9451
 
    cat conftest.$ac_ext >&5
9452
 
  fi
9453
 
  rm -f conftest* conftst*
9454
 
 
9455
 
  # Do not use the global_symbol_pipe unless it works.
9456
 
  if test "$pipe_works" = yes; then
9457
 
    break
9458
 
  else
9459
 
    lt_cv_sys_global_symbol_pipe=
9460
 
  fi
9461
 
done
9462
 
 
9463
 
fi
9464
 
 
9465
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
9466
 
  lt_cv_sys_global_symbol_to_cdecl=
9467
 
fi
9468
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9469
 
  { echo "$as_me:$LINENO: result: failed" >&5
9470
 
echo "${ECHO_T}failed" >&6; }
9471
 
else
9472
 
  { echo "$as_me:$LINENO: result: ok" >&5
9473
 
echo "${ECHO_T}ok" >&6; }
9474
 
fi
9475
 
 
9476
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
9477
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9478
 
if test "${lt_cv_objdir+set}" = set; then
9479
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9480
 
else
9481
 
  rm -f .libs 2>/dev/null
9482
 
mkdir .libs 2>/dev/null
9483
 
if test -d .libs; then
9484
 
  lt_cv_objdir=.libs
9485
 
else
9486
 
  # MS-DOS does not allow filenames that begin with a dot.
9487
 
  lt_cv_objdir=_libs
9488
 
fi
9489
 
rmdir .libs 2>/dev/null
9490
 
fi
9491
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9492
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
9493
 
objdir=$lt_cv_objdir
9494
 
 
9495
 
 
9496
 
 
9497
 
 
9498
 
 
9499
 
case $host_os in
9500
 
aix3*)
9501
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
9502
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
9503
 
  # vanish in a puff of smoke.
9504
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
9505
 
    COLLECT_NAMES=
9506
 
    export COLLECT_NAMES
9507
 
  fi
9508
 
  ;;
9509
 
esac
9510
 
 
9511
 
# Sed substitution that helps us do robust quoting.  It backslashifies
9512
 
# metacharacters that are still active within double-quoted strings.
9513
 
Xsed='sed -e s/^X//'
9514
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
9515
 
 
9516
 
# Same as above, but do not quote variable references.
9517
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
9518
 
 
9519
 
# Sed substitution to delay expansion of an escaped shell variable in a
9520
 
# double_quote_subst'ed string.
9521
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9522
 
 
9523
 
# Sed substitution to avoid accidental globbing in evaled expressions
9524
 
no_glob_subst='s/\*/\\\*/g'
9525
 
 
9526
 
# Constants:
9527
 
rm="rm -f"
9528
 
 
9529
 
# Global variables:
9530
 
default_ofile=libtool
9531
 
can_build_shared=yes
9532
 
 
9533
 
# All known linkers require a `.a' archive for static linking (except M$VC,
9534
 
# which needs '.lib').
9535
 
libext=a
9536
 
ltmain="$ac_aux_dir/ltmain.sh"
9537
 
ofile="$default_ofile"
9538
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
9539
 
 
9540
 
if test -n "$ac_tool_prefix"; then
9541
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9542
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
9543
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9544
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9545
 
if test "${ac_cv_prog_AR+set}" = set; then
9546
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9547
 
else
9548
 
  if test -n "$AR"; then
9549
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
9550
 
else
9551
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9552
 
for as_dir in $PATH
9553
 
do
9554
 
  IFS=$as_save_IFS
9555
 
  test -z "$as_dir" && as_dir=.
9556
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9557
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9558
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
9559
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9560
 
    break 2
9561
 
  fi
9562
 
done
9563
 
done
9564
 
IFS=$as_save_IFS
9565
 
 
9566
 
fi
9567
 
fi
9568
 
AR=$ac_cv_prog_AR
9569
 
if test -n "$AR"; then
9570
 
  { echo "$as_me:$LINENO: result: $AR" >&5
9571
 
echo "${ECHO_T}$AR" >&6; }
9572
 
else
9573
 
  { echo "$as_me:$LINENO: result: no" >&5
9574
 
echo "${ECHO_T}no" >&6; }
9575
 
fi
9576
 
 
9577
 
 
9578
 
fi
9579
 
if test -z "$ac_cv_prog_AR"; then
9580
 
  ac_ct_AR=$AR
9581
 
  # Extract the first word of "ar", so it can be a program name with args.
9582
 
set dummy ar; ac_word=$2
9583
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9584
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9585
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9586
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9587
 
else
9588
 
  if test -n "$ac_ct_AR"; then
9589
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9590
 
else
9591
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592
 
for as_dir in $PATH
9593
 
do
9594
 
  IFS=$as_save_IFS
9595
 
  test -z "$as_dir" && as_dir=.
9596
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9597
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9598
 
    ac_cv_prog_ac_ct_AR="ar"
9599
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9600
 
    break 2
9601
 
  fi
9602
 
done
9603
 
done
9604
 
IFS=$as_save_IFS
9605
 
 
9606
 
fi
9607
 
fi
9608
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
9609
 
if test -n "$ac_ct_AR"; then
9610
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9611
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
9612
 
else
9613
 
  { echo "$as_me:$LINENO: result: no" >&5
9614
 
echo "${ECHO_T}no" >&6; }
9615
 
fi
9616
 
 
9617
 
  if test "x$ac_ct_AR" = x; then
9618
 
    AR="false"
9619
 
  else
9620
 
    case $cross_compiling:$ac_tool_warned in
9621
 
yes:)
9622
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9623
 
whose name does not start with the host triplet.  If you think this
9624
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9625
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9626
 
whose name does not start with the host triplet.  If you think this
9627
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9628
 
ac_tool_warned=yes ;;
9629
 
esac
9630
 
    AR=$ac_ct_AR
9631
 
  fi
9632
 
else
9633
 
  AR="$ac_cv_prog_AR"
9634
 
fi
9635
 
 
9636
 
if test -n "$ac_tool_prefix"; then
9637
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9638
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9639
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9640
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9641
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
9642
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9643
 
else
9644
 
  if test -n "$RANLIB"; then
9645
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9646
 
else
9647
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9648
 
for as_dir in $PATH
9649
 
do
9650
 
  IFS=$as_save_IFS
9651
 
  test -z "$as_dir" && as_dir=.
9652
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9653
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9654
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9655
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9656
 
    break 2
9657
 
  fi
9658
 
done
9659
 
done
9660
 
IFS=$as_save_IFS
9661
 
 
9662
 
fi
9663
 
fi
9664
 
RANLIB=$ac_cv_prog_RANLIB
9665
 
if test -n "$RANLIB"; then
9666
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
9667
 
echo "${ECHO_T}$RANLIB" >&6; }
9668
 
else
9669
 
  { echo "$as_me:$LINENO: result: no" >&5
9670
 
echo "${ECHO_T}no" >&6; }
9671
 
fi
9672
 
 
9673
 
 
9674
 
fi
9675
 
if test -z "$ac_cv_prog_RANLIB"; then
9676
 
  ac_ct_RANLIB=$RANLIB
9677
 
  # Extract the first word of "ranlib", so it can be a program name with args.
9678
 
set dummy ranlib; ac_word=$2
9679
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9680
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9681
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9682
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9683
 
else
9684
 
  if test -n "$ac_ct_RANLIB"; then
9685
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9686
 
else
9687
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9688
 
for as_dir in $PATH
9689
 
do
9690
 
  IFS=$as_save_IFS
9691
 
  test -z "$as_dir" && as_dir=.
9692
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9693
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9694
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
9695
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9696
 
    break 2
9697
 
  fi
9698
 
done
9699
 
done
9700
 
IFS=$as_save_IFS
9701
 
 
9702
 
fi
9703
 
fi
9704
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9705
 
if test -n "$ac_ct_RANLIB"; then
9706
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9707
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9708
 
else
9709
 
  { echo "$as_me:$LINENO: result: no" >&5
9710
 
echo "${ECHO_T}no" >&6; }
9711
 
fi
9712
 
 
9713
 
  if test "x$ac_ct_RANLIB" = x; then
9714
 
    RANLIB=":"
9715
 
  else
9716
 
    case $cross_compiling:$ac_tool_warned in
9717
 
yes:)
9718
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9719
 
whose name does not start with the host triplet.  If you think this
9720
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9721
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9722
 
whose name does not start with the host triplet.  If you think this
9723
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9724
 
ac_tool_warned=yes ;;
9725
 
esac
9726
 
    RANLIB=$ac_ct_RANLIB
9727
 
  fi
9728
 
else
9729
 
  RANLIB="$ac_cv_prog_RANLIB"
9730
 
fi
9731
 
 
9732
 
if test -n "$ac_tool_prefix"; then
9733
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9734
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
9735
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9736
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9737
 
if test "${ac_cv_prog_STRIP+set}" = set; then
9738
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9739
 
else
9740
 
  if test -n "$STRIP"; then
9741
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9742
 
else
9743
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9744
 
for as_dir in $PATH
9745
 
do
9746
 
  IFS=$as_save_IFS
9747
 
  test -z "$as_dir" && as_dir=.
9748
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9749
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9750
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9751
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9752
 
    break 2
9753
 
  fi
9754
 
done
9755
 
done
9756
 
IFS=$as_save_IFS
9757
 
 
9758
 
fi
9759
 
fi
9760
 
STRIP=$ac_cv_prog_STRIP
9761
 
if test -n "$STRIP"; then
9762
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
9763
 
echo "${ECHO_T}$STRIP" >&6; }
9764
 
else
9765
 
  { echo "$as_me:$LINENO: result: no" >&5
9766
 
echo "${ECHO_T}no" >&6; }
9767
 
fi
9768
 
 
9769
 
 
9770
 
fi
9771
 
if test -z "$ac_cv_prog_STRIP"; then
9772
 
  ac_ct_STRIP=$STRIP
9773
 
  # Extract the first word of "strip", so it can be a program name with args.
9774
 
set dummy strip; ac_word=$2
9775
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9776
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9777
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9778
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9779
 
else
9780
 
  if test -n "$ac_ct_STRIP"; then
9781
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9782
 
else
9783
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9784
 
for as_dir in $PATH
9785
 
do
9786
 
  IFS=$as_save_IFS
9787
 
  test -z "$as_dir" && as_dir=.
9788
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9789
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9790
 
    ac_cv_prog_ac_ct_STRIP="strip"
9791
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9792
 
    break 2
9793
 
  fi
9794
 
done
9795
 
done
9796
 
IFS=$as_save_IFS
9797
 
 
9798
 
fi
9799
 
fi
9800
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9801
 
if test -n "$ac_ct_STRIP"; then
9802
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9803
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9804
 
else
9805
 
  { echo "$as_me:$LINENO: result: no" >&5
9806
 
echo "${ECHO_T}no" >&6; }
9807
 
fi
9808
 
 
9809
 
  if test "x$ac_ct_STRIP" = x; then
9810
 
    STRIP=":"
9811
 
  else
9812
 
    case $cross_compiling:$ac_tool_warned in
9813
 
yes:)
9814
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9815
 
whose name does not start with the host triplet.  If you think this
9816
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
9817
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9818
 
whose name does not start with the host triplet.  If you think this
9819
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9820
 
ac_tool_warned=yes ;;
9821
 
esac
9822
 
    STRIP=$ac_ct_STRIP
9823
 
  fi
9824
 
else
9825
 
  STRIP="$ac_cv_prog_STRIP"
9826
 
fi
9827
 
 
9828
 
 
9829
 
old_CC="$CC"
9830
 
old_CFLAGS="$CFLAGS"
9831
 
 
9832
 
# Set sane defaults for various variables
9833
 
test -z "$AR" && AR=ar
9834
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
9835
 
test -z "$AS" && AS=as
9836
 
test -z "$CC" && CC=cc
9837
 
test -z "$LTCC" && LTCC=$CC
9838
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
9839
 
test -z "$LD" && LD=ld
9840
 
test -z "$LN_S" && LN_S="ln -s"
9841
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9842
 
test -z "$NM" && NM=nm
9843
 
test -z "$SED" && SED=sed
9844
 
test -z "$OBJDUMP" && OBJDUMP=objdump
9845
 
test -z "$RANLIB" && RANLIB=:
9846
 
test -z "$STRIP" && STRIP=:
9847
 
test -z "$ac_objext" && ac_objext=o
9848
 
 
9849
 
# Determine commands to create old-style static archives.
9850
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
9851
 
old_postinstall_cmds='chmod 644 $oldlib'
9852
 
old_postuninstall_cmds=
9853
 
 
9854
 
if test -n "$RANLIB"; then
9855
 
  case $host_os in
9856
 
  openbsd*)
9857
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
9858
 
    ;;
9859
 
  *)
9860
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
9861
 
    ;;
9862
 
  esac
9863
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9864
 
fi
9865
 
 
9866
 
# Only perform the check for file, if the check method requires it
9867
 
case $deplibs_check_method in
9868
 
file_magic*)
9869
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9870
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9871
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9872
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9873
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9874
 
else
9875
 
  case $MAGIC_CMD in
9876
 
[\\/*] |  ?:[\\/]*)
9877
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9878
 
  ;;
9879
 
*)
9880
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9881
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9882
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9883
 
  for ac_dir in $ac_dummy; do
9884
 
    IFS="$lt_save_ifs"
9885
 
    test -z "$ac_dir" && ac_dir=.
9886
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
9887
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9888
 
      if test -n "$file_magic_test_file"; then
9889
 
        case $deplibs_check_method in
9890
 
        "file_magic "*)
9891
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9892
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9893
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9894
 
            $EGREP "$file_magic_regex" > /dev/null; then
9895
 
            :
9896
 
          else
9897
 
            cat <<EOF 1>&2
9898
 
 
9899
 
*** Warning: the command libtool uses to detect shared libraries,
9900
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9901
 
*** The result is that libtool may fail to recognize shared libraries
9902
 
*** as such.  This will affect the creation of libtool libraries that
9903
 
*** depend on shared libraries, but programs linked with such libtool
9904
 
*** libraries will work regardless of this problem.  Nevertheless, you
9905
 
*** may want to report the problem to your system manager and/or to
9906
 
*** bug-libtool@gnu.org
9907
 
 
9908
 
EOF
9909
 
          fi ;;
9910
 
        esac
9911
 
      fi
9912
 
      break
9913
 
    fi
9914
 
  done
9915
 
  IFS="$lt_save_ifs"
9916
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9917
 
  ;;
9918
 
esac
9919
 
fi
9920
 
 
9921
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9922
 
if test -n "$MAGIC_CMD"; then
9923
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9924
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9925
 
else
9926
 
  { echo "$as_me:$LINENO: result: no" >&5
9927
 
echo "${ECHO_T}no" >&6; }
9928
 
fi
9929
 
 
9930
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
9931
 
  if test -n "$ac_tool_prefix"; then
9932
 
    { echo "$as_me:$LINENO: checking for file" >&5
9933
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9934
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9935
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9936
 
else
9937
 
  case $MAGIC_CMD in
9938
 
[\\/*] |  ?:[\\/]*)
9939
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9940
 
  ;;
9941
 
*)
9942
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9943
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9944
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9945
 
  for ac_dir in $ac_dummy; do
9946
 
    IFS="$lt_save_ifs"
9947
 
    test -z "$ac_dir" && ac_dir=.
9948
 
    if test -f $ac_dir/file; then
9949
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9950
 
      if test -n "$file_magic_test_file"; then
9951
 
        case $deplibs_check_method in
9952
 
        "file_magic "*)
9953
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9954
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9955
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9956
 
            $EGREP "$file_magic_regex" > /dev/null; then
9957
 
            :
9958
 
          else
9959
 
            cat <<EOF 1>&2
9960
 
 
9961
 
*** Warning: the command libtool uses to detect shared libraries,
9962
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9963
 
*** The result is that libtool may fail to recognize shared libraries
9964
 
*** as such.  This will affect the creation of libtool libraries that
9965
 
*** depend on shared libraries, but programs linked with such libtool
9966
 
*** libraries will work regardless of this problem.  Nevertheless, you
9967
 
*** may want to report the problem to your system manager and/or to
9968
 
*** bug-libtool@gnu.org
9969
 
 
9970
 
EOF
9971
 
          fi ;;
9972
 
        esac
9973
 
      fi
9974
 
      break
9975
 
    fi
9976
 
  done
9977
 
  IFS="$lt_save_ifs"
9978
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9979
 
  ;;
9980
 
esac
9981
 
fi
9982
 
 
9983
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9984
 
if test -n "$MAGIC_CMD"; then
9985
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9986
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9987
 
else
9988
 
  { echo "$as_me:$LINENO: result: no" >&5
9989
 
echo "${ECHO_T}no" >&6; }
9990
 
fi
9991
 
 
9992
 
  else
9993
 
    MAGIC_CMD=:
9994
 
  fi
9995
 
fi
9996
 
 
9997
 
  fi
9998
 
  ;;
9999
 
esac
10000
 
 
10001
 
enable_dlopen=yes
10002
 
enable_win32_dll=no
10003
 
 
10004
 
# Check whether --enable-libtool-lock was given.
10005
 
if test "${enable_libtool_lock+set}" = set; then
10006
 
  enableval=$enable_libtool_lock;
10007
 
fi
10008
 
 
10009
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10010
 
 
10011
 
 
10012
 
# Check whether --with-pic was given.
10013
 
if test "${with_pic+set}" = set; then
10014
 
  withval=$with_pic; pic_mode="$withval"
10015
 
else
10016
 
  pic_mode=default
10017
 
fi
10018
 
 
10019
 
test -z "$pic_mode" && pic_mode=default
10020
 
 
10021
 
# Use C for the default configuration in the libtool script
10022
 
tagname=
10023
 
lt_save_CC="$CC"
10024
 
ac_ext=c
10025
 
ac_cpp='$CPP $CPPFLAGS'
10026
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10027
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10028
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10029
 
 
10030
 
 
10031
 
# Source file extension for C test sources.
10032
 
ac_ext=c
10033
 
 
10034
 
# Object file extension for compiled C test sources.
10035
 
objext=o
10036
 
objext=$objext
10037
 
 
10038
 
# Code to be used in simple compile tests
10039
 
lt_simple_compile_test_code="int some_variable = 0;\n"
10040
 
 
10041
 
# Code to be used in simple link tests
10042
 
lt_simple_link_test_code='int main(){return(0);}\n'
10043
 
 
10044
 
 
10045
 
# If no C compiler was specified, use CC.
10046
 
LTCC=${LTCC-"$CC"}
10047
 
 
10048
 
# Allow CC to be a program name with arguments.
10049
 
compiler=$CC
10050
 
 
10051
 
 
10052
 
#
10053
 
# Check for any special shared library compilation flags.
10054
 
#
10055
 
lt_prog_cc_shlib=
10056
 
if test "$GCC" = no; then
10057
 
  case $host_os in
10058
 
  sco3.2v5*)
10059
 
    lt_prog_cc_shlib='-belf'
10060
 
    ;;
10061
 
  esac
10062
 
fi
10063
 
if test -n "$lt_prog_cc_shlib"; then
10064
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
10065
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
10066
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
10067
 
  else
10068
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
10069
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
10070
 
    lt_cv_prog_cc_can_build_shared=no
10071
 
  fi
10072
 
fi
10073
 
 
10074
 
 
10075
 
#
10076
 
# Check to make sure the static flag actually works.
10077
 
#
10078
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
10079
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
10080
 
if test "${lt_prog_compiler_static_works+set}" = set; then
10081
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10082
 
else
10083
 
  lt_prog_compiler_static_works=no
10084
 
   save_LDFLAGS="$LDFLAGS"
10085
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
10086
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
10087
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10088
 
     # The compiler can only warn and ignore the option if not recognized
10089
 
     # So say no if there are warnings
10090
 
     if test -s conftest.err; then
10091
 
       # Append any errors to the config.log.
10092
 
       cat conftest.err 1>&5
10093
 
     else
10094
 
       lt_prog_compiler_static_works=yes
10095
 
     fi
10096
 
   fi
10097
 
   $rm conftest*
10098
 
   LDFLAGS="$save_LDFLAGS"
10099
 
 
10100
 
fi
10101
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10102
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
10103
 
 
10104
 
if test x"$lt_prog_compiler_static_works" = xyes; then
10105
 
    :
10106
 
else
10107
 
    lt_prog_compiler_static=
10108
 
fi
10109
 
 
10110
 
 
10111
 
 
10112
 
## CAVEAT EMPTOR:
10113
 
## There is no encapsulation within the following macros, do not change
10114
 
## the running order or otherwise move them around unless you know exactly
10115
 
## what you are doing...
10116
 
 
10117
 
lt_prog_compiler_no_builtin_flag=
10118
 
 
10119
 
if test "$GCC" = yes; then
10120
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10121
 
 
10122
 
 
10123
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10124
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10125
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10126
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10127
 
else
10128
 
  lt_cv_prog_compiler_rtti_exceptions=no
10129
 
  ac_outfile=conftest.$ac_objext
10130
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10131
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
10132
 
   # Insert the option either (1) after the last *FLAGS variable, or
10133
 
   # (2) before a word containing "conftest.", or (3) at the end.
10134
 
   # Note that $ac_compile itself does not contain backslashes and begins
10135
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10136
 
   # The option is referenced via a variable to avoid confusing sed.
10137
 
   lt_compile=`echo "$ac_compile" | $SED \
10138
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10139
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10140
 
   -e 's:$: $lt_compiler_flag:'`
10141
 
   (eval echo "\"\$as_me:10141: $lt_compile\"" >&5)
10142
 
   (eval "$lt_compile" 2>conftest.err)
10143
 
   ac_status=$?
10144
 
   cat conftest.err >&5
10145
 
   echo "$as_me:10145: \$? = $ac_status" >&5
10146
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
10147
 
     # The compiler can only warn and ignore the option if not recognized
10148
 
     # So say no if there are warnings
10149
 
     if test ! -s conftest.err; then
10150
 
       lt_cv_prog_compiler_rtti_exceptions=yes
10151
 
     fi
10152
 
   fi
10153
 
   $rm conftest*
10154
 
 
10155
 
fi
10156
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10157
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10158
 
 
10159
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10160
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10161
 
else
10162
 
    :
10163
 
fi
10164
 
 
10165
 
fi
10166
 
 
10167
 
lt_prog_compiler_wl=
10168
 
lt_prog_compiler_pic=
10169
 
lt_prog_compiler_static=
10170
 
 
10171
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10172
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10173
 
 
10174
 
  if test "$GCC" = yes; then
10175
 
    lt_prog_compiler_wl='-Wl,'
10176
 
    lt_prog_compiler_static='-static'
10177
 
 
10178
 
    case $host_os in
10179
 
      aix*)
10180
 
      # All AIX code is PIC.
10181
 
      if test "$host_cpu" = ia64; then
10182
 
        # AIX 5 now supports IA64 processor
10183
 
        lt_prog_compiler_static='-Bstatic'
10184
 
      fi
10185
 
      ;;
10186
 
 
10187
 
    amigaos*)
10188
 
      # FIXME: we need at least 68020 code to build shared libraries, but
10189
 
      # adding the `-m68020' flag to GCC prevents building anything better,
10190
 
      # like `-m68040'.
10191
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10192
 
      ;;
10193
 
 
10194
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10195
 
      # PIC is the default for these OSes.
10196
 
      ;;
10197
 
 
10198
 
    mingw* | pw32* | os2*)
10199
 
      # This hack is so that the source file can tell whether it is being
10200
 
      # built for inclusion in a dll (and should export symbols for example).
10201
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
10202
 
      ;;
10203
 
 
10204
 
    darwin* | rhapsody*)
10205
 
      # PIC is the default on this platform
10206
 
      # Common symbols not allowed in MH_DYLIB files
10207
 
      lt_prog_compiler_pic='-fno-common'
10208
 
      ;;
10209
 
 
10210
 
    msdosdjgpp*)
10211
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
10212
 
      # on systems that don't support them.
10213
 
      lt_prog_compiler_can_build_shared=no
10214
 
      enable_shared=no
10215
 
      ;;
10216
 
 
10217
 
    sysv4*MP*)
10218
 
      if test -d /usr/nec; then
10219
 
        lt_prog_compiler_pic=-Kconform_pic
10220
 
      fi
10221
 
      ;;
10222
 
 
10223
 
    hpux*)
10224
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10225
 
      # not for PA HP-UX.
10226
 
      case "$host_cpu" in
10227
 
      hppa*64*|ia64*)
10228
 
        # +Z the default
10229
 
        ;;
10230
 
      *)
10231
 
        lt_prog_compiler_pic='-fPIC'
10232
 
        ;;
10233
 
      esac
10234
 
      ;;
10235
 
 
10236
 
    *)
10237
 
      lt_prog_compiler_pic='-fPIC'
10238
 
      ;;
10239
 
    esac
10240
 
  else
10241
 
    # PORTME Check for flag to pass linker flags through the system compiler.
10242
 
    case $host_os in
10243
 
    aix*)
10244
 
      lt_prog_compiler_wl='-Wl,'
10245
 
      if test "$host_cpu" = ia64; then
10246
 
        # AIX 5 now supports IA64 processor
10247
 
        lt_prog_compiler_static='-Bstatic'
10248
 
      else
10249
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10250
 
      fi
10251
 
      ;;
10252
 
 
10253
 
    mingw* | pw32* | os2*)
10254
 
      # This hack is so that the source file can tell whether it is being
10255
 
      # built for inclusion in a dll (and should export symbols for example).
10256
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
10257
 
      ;;
10258
 
 
10259
 
    hpux9* | hpux10* | hpux11*)
10260
 
      lt_prog_compiler_wl='-Wl,'
10261
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10262
 
      # not for PA HP-UX.
10263
 
      case "$host_cpu" in
10264
 
      hppa*64*|ia64*)
10265
 
        # +Z the default
10266
 
        ;;
10267
 
      *)
10268
 
        lt_prog_compiler_pic='+Z'
10269
 
        ;;
10270
 
      esac
10271
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10272
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
10273
 
      ;;
10274
 
 
10275
 
    irix5* | irix6* | nonstopux*)
10276
 
      lt_prog_compiler_wl='-Wl,'
10277
 
      # PIC (with -KPIC) is the default.
10278
 
      lt_prog_compiler_static='-non_shared'
10279
 
      ;;
10280
 
 
10281
 
    newsos6)
10282
 
      lt_prog_compiler_pic='-KPIC'
10283
 
      lt_prog_compiler_static='-Bstatic'
10284
 
      ;;
10285
 
 
10286
 
    linux*)
10287
 
      case $CC in
10288
 
      icc* | ecc*)
10289
 
        lt_prog_compiler_wl='-Wl,'
10290
 
        lt_prog_compiler_pic='-KPIC'
10291
 
        lt_prog_compiler_static='-static'
10292
 
        ;;
10293
 
      ccc*)
10294
 
        lt_prog_compiler_wl='-Wl,'
10295
 
        # All Alpha code is PIC.
10296
 
        lt_prog_compiler_static='-non_shared'
10297
 
        ;;
10298
 
      esac
10299
 
      ;;
10300
 
 
10301
 
    osf3* | osf4* | osf5*)
10302
 
      lt_prog_compiler_wl='-Wl,'
10303
 
      # All OSF/1 code is PIC.
10304
 
      lt_prog_compiler_static='-non_shared'
10305
 
      ;;
10306
 
 
10307
 
    sco3.2v5*)
10308
 
      lt_prog_compiler_pic='-Kpic'
10309
 
      lt_prog_compiler_static='-dn'
10310
 
      ;;
10311
 
 
10312
 
    solaris*)
10313
 
      lt_prog_compiler_wl='-Wl,'
10314
 
      lt_prog_compiler_pic='-KPIC'
10315
 
      lt_prog_compiler_static='-Bstatic'
10316
 
      ;;
10317
 
 
10318
 
    sunos4*)
10319
 
      lt_prog_compiler_wl='-Qoption ld '
10320
 
      lt_prog_compiler_pic='-PIC'
10321
 
      lt_prog_compiler_static='-Bstatic'
10322
 
      ;;
10323
 
 
10324
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10325
 
      lt_prog_compiler_wl='-Wl,'
10326
 
      lt_prog_compiler_pic='-KPIC'
10327
 
      lt_prog_compiler_static='-Bstatic'
10328
 
      ;;
10329
 
 
10330
 
    sysv4*MP*)
10331
 
      if test -d /usr/nec ;then
10332
 
        lt_prog_compiler_pic='-Kconform_pic'
10333
 
        lt_prog_compiler_static='-Bstatic'
10334
 
      fi
10335
 
      ;;
10336
 
 
10337
 
    uts4*)
10338
 
      lt_prog_compiler_pic='-pic'
10339
 
      lt_prog_compiler_static='-Bstatic'
10340
 
      ;;
10341
 
 
10342
 
    *)
10343
 
      lt_prog_compiler_can_build_shared=no
10344
 
      ;;
10345
 
    esac
10346
 
  fi
10347
 
 
10348
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10349
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10350
 
 
10351
 
#
10352
 
# Check to make sure the PIC flag actually works.
10353
 
#
10354
 
if test -n "$lt_prog_compiler_pic"; then
10355
 
 
10356
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10357
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10358
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
10359
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10360
 
else
10361
 
  lt_prog_compiler_pic_works=no
10362
 
  ac_outfile=conftest.$ac_objext
10363
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10364
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10365
 
   # Insert the option either (1) after the last *FLAGS variable, or
10366
 
   # (2) before a word containing "conftest.", or (3) at the end.
10367
 
   # Note that $ac_compile itself does not contain backslashes and begins
10368
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10369
 
   # The option is referenced via a variable to avoid confusing sed.
10370
 
   lt_compile=`echo "$ac_compile" | $SED \
10371
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10372
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10373
 
   -e 's:$: $lt_compiler_flag:'`
10374
 
   (eval echo "\"\$as_me:10374: $lt_compile\"" >&5)
10375
 
   (eval "$lt_compile" 2>conftest.err)
10376
 
   ac_status=$?
10377
 
   cat conftest.err >&5
10378
 
   echo "$as_me:10378: \$? = $ac_status" >&5
10379
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
10380
 
     # The compiler can only warn and ignore the option if not recognized
10381
 
     # So say no if there are warnings
10382
 
     if test ! -s conftest.err; then
10383
 
       lt_prog_compiler_pic_works=yes
10384
 
     fi
10385
 
   fi
10386
 
   $rm conftest*
10387
 
 
10388
 
fi
10389
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10390
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
10391
 
 
10392
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
10393
 
    case $lt_prog_compiler_pic in
10394
 
     "" | " "*) ;;
10395
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10396
 
     esac
10397
 
else
10398
 
    lt_prog_compiler_pic=
10399
 
     lt_prog_compiler_can_build_shared=no
10400
 
fi
10401
 
 
10402
 
fi
10403
 
case "$host_os" in
10404
 
  # For platforms which do not support PIC, -DPIC is meaningless:
10405
 
  *djgpp*)
10406
 
    lt_prog_compiler_pic=
10407
 
    ;;
10408
 
  *)
10409
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10410
 
    ;;
10411
 
esac
10412
 
 
10413
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10414
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10415
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10416
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10417
 
else
10418
 
  lt_cv_prog_compiler_c_o=no
10419
 
   $rm -r conftest 2>/dev/null
10420
 
   mkdir conftest
10421
 
   cd conftest
10422
 
   mkdir out
10423
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10424
 
 
10425
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10426
 
   # that will create temporary files in the current directory regardless of
10427
 
   # the output directory.  Thus, making CWD read-only will cause this test
10428
 
   # to fail, enabling locking or at least warning the user not to do parallel
10429
 
   # builds.
10430
 
   chmod -w .
10431
 
 
10432
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
10433
 
   # Insert the option either (1) after the last *FLAGS variable, or
10434
 
   # (2) before a word containing "conftest.", or (3) at the end.
10435
 
   # Note that $ac_compile itself does not contain backslashes and begins
10436
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10437
 
   lt_compile=`echo "$ac_compile" | $SED \
10438
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10439
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10440
 
   -e 's:$: $lt_compiler_flag:'`
10441
 
   (eval echo "\"\$as_me:10441: $lt_compile\"" >&5)
10442
 
   (eval "$lt_compile" 2>out/conftest.err)
10443
 
   ac_status=$?
10444
 
   cat out/conftest.err >&5
10445
 
   echo "$as_me:10445: \$? = $ac_status" >&5
10446
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10447
 
   then
10448
 
     # The compiler can only warn and ignore the option if not recognized
10449
 
     # So say no if there are warnings
10450
 
     if test ! -s out/conftest.err; then
10451
 
       lt_cv_prog_compiler_c_o=yes
10452
 
     fi
10453
 
   fi
10454
 
   chmod u+w .
10455
 
   $rm conftest* out/*
10456
 
   rmdir out
10457
 
   cd ..
10458
 
   rmdir conftest
10459
 
   $rm conftest*
10460
 
 
10461
 
fi
10462
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10463
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10464
 
 
10465
 
 
10466
 
hard_links="nottested"
10467
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10468
 
  # do not overwrite the value of need_locks provided by the user
10469
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10470
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10471
 
  hard_links=yes
10472
 
  $rm conftest*
10473
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10474
 
  touch conftest.a
10475
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
10476
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10477
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
10478
 
echo "${ECHO_T}$hard_links" >&6; }
10479
 
  if test "$hard_links" = no; then
10480
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10481
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10482
 
    need_locks=warn
10483
 
  fi
10484
 
else
10485
 
  need_locks=no
10486
 
fi
10487
 
 
10488
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10489
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10490
 
 
10491
 
  runpath_var=
10492
 
  allow_undefined_flag=
10493
 
  enable_shared_with_static_runtimes=no
10494
 
  archive_cmds=
10495
 
  archive_expsym_cmds=
10496
 
  old_archive_From_new_cmds=
10497
 
  old_archive_from_expsyms_cmds=
10498
 
  export_dynamic_flag_spec=
10499
 
  whole_archive_flag_spec=
10500
 
  thread_safe_flag_spec=
10501
 
  hardcode_libdir_flag_spec=
10502
 
  hardcode_libdir_flag_spec_ld=
10503
 
  hardcode_libdir_separator=
10504
 
  hardcode_direct=no
10505
 
  hardcode_minus_L=no
10506
 
  hardcode_shlibpath_var=unsupported
10507
 
  link_all_deplibs=unknown
10508
 
  hardcode_automatic=no
10509
 
  module_cmds=
10510
 
  module_expsym_cmds=
10511
 
  always_export_symbols=no
10512
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10513
 
  # include_expsyms should be a list of space-separated symbols to be *always*
10514
 
  # included in the symbol list
10515
 
  include_expsyms=
10516
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
10517
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
10518
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10519
 
  # as well as any symbol that contains `d'.
10520
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10521
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10522
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
10523
 
  # the symbol is explicitly referenced.  Since portable code cannot
10524
 
  # rely on this symbol name, it's probably fine to never include it in
10525
 
  # preloaded symbol tables.
10526
 
  extract_expsyms_cmds=
10527
 
 
10528
 
  case $host_os in
10529
 
  cygwin* | mingw* | pw32*)
10530
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10531
 
    # When not using gcc, we currently assume that we are using
10532
 
    # Microsoft Visual C++.
10533
 
    if test "$GCC" != yes; then
10534
 
      with_gnu_ld=no
10535
 
    fi
10536
 
    ;;
10537
 
  openbsd*)
10538
 
    with_gnu_ld=no
10539
 
    ;;
10540
 
  esac
10541
 
 
10542
 
  ld_shlibs=yes
10543
 
  if test "$with_gnu_ld" = yes; then
10544
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10545
 
    wlarc='${wl}'
10546
 
 
10547
 
    # See if GNU ld supports shared libraries.
10548
 
    case $host_os in
10549
 
    aix3* | aix4* | aix5*)
10550
 
      # On AIX/PPC, the GNU linker is very broken
10551
 
      if test "$host_cpu" != ia64; then
10552
 
        ld_shlibs=no
10553
 
        cat <<EOF 1>&2
10554
 
 
10555
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10556
 
*** to be unable to reliably create shared libraries on AIX.
10557
 
*** Therefore, libtool is disabling shared libraries support.  If you
10558
 
*** really care for shared libraries, you may want to modify your PATH
10559
 
*** so that a non-GNU linker is found, and then restart.
10560
 
 
10561
 
EOF
10562
 
      fi
10563
 
      ;;
10564
 
 
10565
 
    amigaos*)
10566
 
      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)'
10567
 
      hardcode_libdir_flag_spec='-L$libdir'
10568
 
      hardcode_minus_L=yes
10569
 
 
10570
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10571
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
10572
 
      # to version 4, is to share data among multiple programs linked
10573
 
      # with the same dynamic library.  Since this doesn't match the
10574
 
      # behavior of shared libraries on other platforms, we can't use
10575
 
      # them.
10576
 
      ld_shlibs=no
10577
 
      ;;
10578
 
 
10579
 
    beos*)
10580
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10581
 
        allow_undefined_flag=unsupported
10582
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10583
 
        # support --undefined.  This deserves some investigation.  FIXME
10584
 
        archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10585
 
      else
10586
 
        ld_shlibs=no
10587
 
      fi
10588
 
      ;;
10589
 
 
10590
 
    cygwin* | mingw* | pw32*)
10591
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10592
 
      # as there is no search path for DLLs.
10593
 
      hardcode_libdir_flag_spec='-L$libdir'
10594
 
      allow_undefined_flag=no
10595
 
      always_export_symbols=no
10596
 
      enable_shared_with_static_runtimes=yes
10597
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10598
 
 
10599
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10600
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10601
 
        # If the export-symbols file already is a .def file (1st line
10602
 
        # is EXPORTS), use it as is; otherwise, prepend...
10603
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10604
 
          cp $export_symbols $output_objdir/$soname.def;
10605
 
        else
10606
 
          echo EXPORTS > $output_objdir/$soname.def;
10607
 
          cat $export_symbols >> $output_objdir/$soname.def;
10608
 
        fi~
10609
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
10610
 
      else
10611
 
        ld_shlibs=no
10612
 
      fi
10613
 
      ;;
10614
 
 
10615
 
    netbsd*)
10616
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10617
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10618
 
        wlarc=
10619
 
      else
10620
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10621
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10622
 
      fi
10623
 
      ;;
10624
 
 
10625
 
    solaris* | sysv5*)
10626
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10627
 
        ld_shlibs=no
10628
 
        cat <<EOF 1>&2
10629
 
 
10630
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10631
 
*** create shared libraries on Solaris systems.  Therefore, libtool
10632
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
10633
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
10634
 
*** your PATH or compiler configuration so that the native linker is
10635
 
*** used, and then restart.
10636
 
 
10637
 
EOF
10638
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10639
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10640
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10641
 
      else
10642
 
        ld_shlibs=no
10643
 
      fi
10644
 
      ;;
10645
 
 
10646
 
    sunos4*)
10647
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10648
 
      wlarc=
10649
 
      hardcode_direct=yes
10650
 
      hardcode_shlibpath_var=no
10651
 
      ;;
10652
 
 
10653
 
    *)
10654
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10655
 
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10656
 
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10657
 
      else
10658
 
        ld_shlibs=no
10659
 
      fi
10660
 
      ;;
10661
 
    esac
10662
 
 
10663
 
    if test "$ld_shlibs" = yes; then
10664
 
      runpath_var=LD_RUN_PATH
10665
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10666
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
10667
 
      # ancient GNU ld didn't support --whole-archive et. al.
10668
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10669
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10670
 
      else
10671
 
        whole_archive_flag_spec=
10672
 
      fi
10673
 
    fi
10674
 
  else
10675
 
    # PORTME fill in a description of your system's linker (not GNU ld)
10676
 
    case $host_os in
10677
 
    aix3*)
10678
 
      allow_undefined_flag=unsupported
10679
 
      always_export_symbols=yes
10680
 
      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'
10681
 
      # Note: this linker hardcodes the directories in LIBPATH if there
10682
 
      # are no directories specified by -L.
10683
 
      hardcode_minus_L=yes
10684
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
10685
 
        # Neither direct hardcoding nor static linking is supported with a
10686
 
        # broken collect2.
10687
 
        hardcode_direct=unsupported
10688
 
      fi
10689
 
      ;;
10690
 
 
10691
 
    aix4* | aix5*)
10692
 
      if test "$host_cpu" = ia64; then
10693
 
        # On IA64, the linker does run time linking by default, so we don't
10694
 
        # have to do anything special.
10695
 
        aix_use_runtimelinking=no
10696
 
        exp_sym_flag='-Bexport'
10697
 
        no_entry_flag=""
10698
 
      else
10699
 
        # If we're using GNU nm, then we don't want the "-C" option.
10700
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10701
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10702
 
          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'
10703
 
        else
10704
 
          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'
10705
 
        fi
10706
 
 
10707
 
        # KDE requires run time linking.  Make it the default.
10708
 
        aix_use_runtimelinking=yes
10709
 
        exp_sym_flag='-bexport'
10710
 
        no_entry_flag='-bnoentry'
10711
 
      fi
10712
 
 
10713
 
      # When large executables or shared objects are built, AIX ld can
10714
 
      # have problems creating the table of contents.  If linking a library
10715
 
      # or program results in "error TOC overflow" add -mminimal-toc to
10716
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10717
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10718
 
 
10719
 
      archive_cmds=''
10720
 
      hardcode_direct=yes
10721
 
      hardcode_libdir_separator=':'
10722
 
      link_all_deplibs=yes
10723
 
 
10724
 
      if test "$GCC" = yes; then
10725
 
        case $host_os in aix4.012|aix4.012.*)
10726
 
        # We only want to do this on AIX 4.2 and lower, the check
10727
 
        # below for broken collect2 doesn't work under 4.3+
10728
 
          collect2name=`${CC} -print-prog-name=collect2`
10729
 
          if test -f "$collect2name" && \
10730
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10731
 
          then
10732
 
          # We have reworked collect2
10733
 
          hardcode_direct=yes
10734
 
          else
10735
 
          # We have old collect2
10736
 
          hardcode_direct=unsupported
10737
 
          # It fails to find uninstalled libraries when the uninstalled
10738
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10739
 
          # to unsupported forces relinking
10740
 
          hardcode_minus_L=yes
10741
 
          hardcode_libdir_flag_spec='-L$libdir'
10742
 
          hardcode_libdir_separator=
10743
 
          fi
10744
 
        esac
10745
 
        shared_flag='-shared'
10746
 
      else
10747
 
        # not using gcc
10748
 
        if test "$host_cpu" = ia64; then
10749
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10750
 
        # chokes on -Wl,-G. The following line is correct:
10751
 
          shared_flag='-G'
10752
 
        else
10753
 
        if test "$aix_use_runtimelinking" = yes; then
10754
 
            shared_flag='-qmkshrobj ${wl}-G'
10755
 
          else
10756
 
            shared_flag='-qmkshrobj'
10757
 
        fi
10758
 
        fi
10759
 
      fi
10760
 
 
10761
 
      # Let the compiler handle the export list.
10762
 
      always_export_symbols=no
10763
 
      if test "$aix_use_runtimelinking" = yes; then
10764
 
        # Warning - without using the other runtime loading flags (-brtl),
10765
 
        # -berok will link without error, but may produce a broken library.
10766
 
        allow_undefined_flag='-berok'
10767
 
       # Determine the default libpath from the value encoded in an empty executable.
10768
 
        cat >conftest.$ac_ext <<_ACEOF
10769
 
/* confdefs.h.  */
10770
 
_ACEOF
10771
 
cat confdefs.h >>conftest.$ac_ext
10772
 
cat >>conftest.$ac_ext <<_ACEOF
10773
 
/* end confdefs.h.  */
10774
 
 
10775
 
int
10776
 
main ()
10777
 
{
10778
 
 
10779
 
  ;
10780
 
  return 0;
10781
 
}
10782
 
_ACEOF
10783
 
rm -f conftest.$ac_objext conftest$ac_exeext
10784
 
if { (ac_try="$ac_link"
10785
 
case "(($ac_try" in
10786
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10787
 
  *) ac_try_echo=$ac_try;;
10788
 
esac
10789
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10790
 
  (eval "$ac_link") 2>conftest.er1
10791
 
  ac_status=$?
10792
 
  grep -v '^ *+' conftest.er1 >conftest.err
10793
 
  rm -f conftest.er1
10794
 
  cat conftest.err >&5
10795
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796
 
  (exit $ac_status); } && {
10797
 
         test -z "$ac_c_werror_flag" ||
10798
 
         test ! -s conftest.err
10799
 
       } && test -s conftest$ac_exeext &&
10800
 
       $as_test_x conftest$ac_exeext; then
10801
 
 
10802
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10803
 
}'`
10804
 
# Check for a 64-bit object if we didn't find anything.
10805
 
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; }
10806
 
}'`; fi
10807
 
else
10808
 
  echo "$as_me: failed program was:" >&5
10809
 
sed 's/^/| /' conftest.$ac_ext >&5
10810
 
 
10811
 
 
10812
 
fi
10813
 
 
10814
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10815
 
      conftest$ac_exeext conftest.$ac_ext
10816
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10817
 
 
10818
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10819
 
        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"
10820
 
        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"
10821
 
       else
10822
 
        if test "$host_cpu" = ia64; then
10823
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10824
 
          allow_undefined_flag="-z nodefs"
10825
 
          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"
10826
 
        else
10827
 
         # Determine the default libpath from the value encoded in an empty executable.
10828
 
         cat >conftest.$ac_ext <<_ACEOF
10829
 
/* confdefs.h.  */
10830
 
_ACEOF
10831
 
cat confdefs.h >>conftest.$ac_ext
10832
 
cat >>conftest.$ac_ext <<_ACEOF
10833
 
/* end confdefs.h.  */
10834
 
 
10835
 
int
10836
 
main ()
10837
 
{
10838
 
 
10839
 
  ;
10840
 
  return 0;
10841
 
}
10842
 
_ACEOF
10843
 
rm -f conftest.$ac_objext conftest$ac_exeext
10844
 
if { (ac_try="$ac_link"
10845
 
case "(($ac_try" in
10846
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10847
 
  *) ac_try_echo=$ac_try;;
10848
 
esac
10849
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10850
 
  (eval "$ac_link") 2>conftest.er1
10851
 
  ac_status=$?
10852
 
  grep -v '^ *+' conftest.er1 >conftest.err
10853
 
  rm -f conftest.er1
10854
 
  cat conftest.err >&5
10855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856
 
  (exit $ac_status); } && {
10857
 
         test -z "$ac_c_werror_flag" ||
10858
 
         test ! -s conftest.err
10859
 
       } && test -s conftest$ac_exeext &&
10860
 
       $as_test_x conftest$ac_exeext; then
10861
 
 
10862
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10863
 
}'`
10864
 
# Check for a 64-bit object if we didn't find anything.
10865
 
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; }
10866
 
}'`; fi
10867
 
else
10868
 
  echo "$as_me: failed program was:" >&5
10869
 
sed 's/^/| /' conftest.$ac_ext >&5
10870
 
 
10871
 
 
10872
 
fi
10873
 
 
10874
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10875
 
      conftest$ac_exeext conftest.$ac_ext
10876
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10877
 
 
10878
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10879
 
          # Warning - without using the other run time loading flags,
10880
 
          # -berok will link without error, but may produce a broken library.
10881
 
          no_undefined_flag=' ${wl}-bernotok'
10882
 
          allow_undefined_flag=' ${wl}-berok'
10883
 
          # -bexpall does not export symbols beginning with underscore (_)
10884
 
          always_export_symbols=yes
10885
 
          # Exported symbols can be pulled into shared objects from archives
10886
 
          whole_archive_flag_spec=' '
10887
 
          archive_cmds_need_lc=yes
10888
 
          # This is similar to how AIX traditionally builds it's shared libraries.
10889
 
          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'
10890
 
        fi
10891
 
      fi
10892
 
      ;;
10893
 
 
10894
 
    amigaos*)
10895
 
      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)'
10896
 
      hardcode_libdir_flag_spec='-L$libdir'
10897
 
      hardcode_minus_L=yes
10898
 
      # see comment about different semantics on the GNU ld section
10899
 
      ld_shlibs=no
10900
 
      ;;
10901
 
 
10902
 
    bsdi4*)
10903
 
      export_dynamic_flag_spec=-rdynamic
10904
 
      ;;
10905
 
 
10906
 
    cygwin* | mingw* | pw32*)
10907
 
      # When not using gcc, we currently assume that we are using
10908
 
      # Microsoft Visual C++.
10909
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10910
 
      # no search path for DLLs.
10911
 
      hardcode_libdir_flag_spec=' '
10912
 
      allow_undefined_flag=no
10913
 
      # Tell ltmain to make .lib files, not .a files.
10914
 
      libext=lib
10915
 
      # Tell ltmain to make .dll files, not .so files.
10916
 
      shrext=".dll"
10917
 
      # FIXME: Setting linknames here is a bad hack.
10918
 
      archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10919
 
      # The linker will automatically build a .lib file if we build a DLL.
10920
 
      old_archive_From_new_cmds='true'
10921
 
      # FIXME: Should let the user specify the lib program.
10922
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
10923
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10924
 
      enable_shared_with_static_runtimes=yes
10925
 
      ;;
10926
 
 
10927
 
    darwin* | rhapsody*)
10928
 
    if test "$GXX" = yes ; then
10929
 
      archive_cmds_need_lc=no
10930
 
      case "$host_os" in
10931
 
      rhapsody* | darwin1.[012])
10932
 
        allow_undefined_flag='-Wl,-undefined -Wl,suppress'
10933
 
        ;;
10934
 
      *) # Darwin 1.3 on
10935
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10936
 
          allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10937
 
        else
10938
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
10939
 
            10.012)
10940
 
              allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10941
 
              ;;
10942
 
            10.*)
10943
 
              allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
10944
 
              ;;
10945
 
          esac
10946
 
        fi
10947
 
        ;;
10948
 
      esac
10949
 
        lt_int_apple_cc_single_mod=no
10950
 
        output_verbose_link_cmd='echo'
10951
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10952
 
          lt_int_apple_cc_single_mod=yes
10953
 
        fi
10954
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10955
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
10956
 
        else
10957
 
        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'
10958
 
      fi
10959
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
10960
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10961
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10962
 
          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}'
10963
 
        else
10964
 
          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}'
10965
 
        fi
10966
 
          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}'
10967
 
      hardcode_direct=no
10968
 
      hardcode_automatic=yes
10969
 
      hardcode_shlibpath_var=unsupported
10970
 
      whole_archive_flag_spec='-all_load $convenience'
10971
 
      link_all_deplibs=yes
10972
 
    else
10973
 
      ld_shlibs=no
10974
 
    fi
10975
 
      ;;
10976
 
 
10977
 
    dgux*)
10978
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10979
 
      hardcode_libdir_flag_spec='-L$libdir'
10980
 
      hardcode_shlibpath_var=no
10981
 
      ;;
10982
 
 
10983
 
    freebsd1*)
10984
 
      ld_shlibs=no
10985
 
      ;;
10986
 
 
10987
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10988
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10989
 
    # does not break anything, and helps significantly (at the cost of a little
10990
 
    # extra space).
10991
 
    freebsd2.2*)
10992
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10993
 
      hardcode_libdir_flag_spec='-R$libdir'
10994
 
      hardcode_direct=yes
10995
 
      hardcode_shlibpath_var=no
10996
 
      ;;
10997
 
 
10998
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10999
 
    freebsd2*)
11000
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11001
 
      hardcode_direct=yes
11002
 
      hardcode_minus_L=yes
11003
 
      hardcode_shlibpath_var=no
11004
 
      ;;
11005
 
 
11006
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11007
 
    freebsd* | kfreebsd*-gnu)
11008
 
      archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
11009
 
      hardcode_libdir_flag_spec='-R$libdir'
11010
 
      hardcode_direct=yes
11011
 
      hardcode_shlibpath_var=no
11012
 
      ;;
11013
 
 
11014
 
    hpux9*)
11015
 
      if test "$GCC" = yes; then
11016
 
        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'
11017
 
      else
11018
 
        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'
11019
 
      fi
11020
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11021
 
      hardcode_libdir_separator=:
11022
 
      hardcode_direct=yes
11023
 
 
11024
 
      # hardcode_minus_L: Not really in the search PATH,
11025
 
      # but as the default location of the library.
11026
 
      hardcode_minus_L=yes
11027
 
      export_dynamic_flag_spec='${wl}-E'
11028
 
      ;;
11029
 
 
11030
 
    hpux10* | hpux11*)
11031
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11032
 
        case "$host_cpu" in
11033
 
        hppa*64*|ia64*)
11034
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11035
 
          ;;
11036
 
        *)
11037
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
11038
 
          ;;
11039
 
        esac
11040
 
      else
11041
 
        case "$host_cpu" in
11042
 
        hppa*64*|ia64*)
11043
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
11044
 
          ;;
11045
 
        *)
11046
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11047
 
          ;;
11048
 
        esac
11049
 
      fi
11050
 
      if test "$with_gnu_ld" = no; then
11051
 
        case "$host_cpu" in
11052
 
        hppa*64*)
11053
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11054
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
11055
 
          hardcode_libdir_separator=:
11056
 
          hardcode_direct=no
11057
 
          hardcode_shlibpath_var=no
11058
 
          ;;
11059
 
        ia64*)
11060
 
          hardcode_libdir_flag_spec='-L$libdir'
11061
 
          hardcode_direct=no
11062
 
          hardcode_shlibpath_var=no
11063
 
 
11064
 
          # hardcode_minus_L: Not really in the search PATH,
11065
 
          # but as the default location of the library.
11066
 
          hardcode_minus_L=yes
11067
 
          ;;
11068
 
        *)
11069
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11070
 
          hardcode_libdir_separator=:
11071
 
          hardcode_direct=yes
11072
 
          export_dynamic_flag_spec='${wl}-E'
11073
 
 
11074
 
          # hardcode_minus_L: Not really in the search PATH,
11075
 
          # but as the default location of the library.
11076
 
          hardcode_minus_L=yes
11077
 
          ;;
11078
 
        esac
11079
 
      fi
11080
 
      ;;
11081
 
 
11082
 
    irix5* | irix6* | nonstopux*)
11083
 
      if test "$GCC" = yes; then
11084
 
        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'
11085
 
      else
11086
 
        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'
11087
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
11088
 
      fi
11089
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11090
 
      hardcode_libdir_separator=:
11091
 
      link_all_deplibs=yes
11092
 
      ;;
11093
 
 
11094
 
    netbsd*)
11095
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11096
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11097
 
      else
11098
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11099
 
      fi
11100
 
      hardcode_libdir_flag_spec='-R$libdir'
11101
 
      hardcode_direct=yes
11102
 
      hardcode_shlibpath_var=no
11103
 
      ;;
11104
 
 
11105
 
    newsos6)
11106
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11107
 
      hardcode_direct=yes
11108
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11109
 
      hardcode_libdir_separator=:
11110
 
      hardcode_shlibpath_var=no
11111
 
      ;;
11112
 
 
11113
 
    openbsd*)
11114
 
      hardcode_direct=yes
11115
 
      hardcode_shlibpath_var=no
11116
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11117
 
        archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11118
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11119
 
        export_dynamic_flag_spec='${wl}-E'
11120
 
      else
11121
 
       case $host_os in
11122
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11123
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11124
 
           hardcode_libdir_flag_spec='-R$libdir'
11125
 
           ;;
11126
 
         *)
11127
 
           archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11128
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11129
 
           ;;
11130
 
       esac
11131
 
      fi
11132
 
      ;;
11133
 
 
11134
 
    os2*)
11135
 
      hardcode_libdir_flag_spec='-L$libdir'
11136
 
      hardcode_minus_L=yes
11137
 
      allow_undefined_flag=unsupported
11138
 
      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'
11139
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11140
 
      ;;
11141
 
 
11142
 
    osf3*)
11143
 
      if test "$GCC" = yes; then
11144
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11145
 
        archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11146
 
      else
11147
 
        allow_undefined_flag=' -expect_unresolved \*'
11148
 
        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'
11149
 
      fi
11150
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11151
 
      hardcode_libdir_separator=:
11152
 
      ;;
11153
 
 
11154
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
11155
 
      if test "$GCC" = yes; then
11156
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11157
 
        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'
11158
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11159
 
      else
11160
 
        allow_undefined_flag=' -expect_unresolved \*'
11161
 
        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'
11162
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11163
 
        $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'
11164
 
 
11165
 
        # Both c and cxx compiler support -rpath directly
11166
 
        hardcode_libdir_flag_spec='-rpath $libdir'
11167
 
      fi
11168
 
      hardcode_libdir_separator=:
11169
 
      ;;
11170
 
 
11171
 
    sco3.2v5*)
11172
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11173
 
      hardcode_shlibpath_var=no
11174
 
      export_dynamic_flag_spec='${wl}-Bexport'
11175
 
      runpath_var=LD_RUN_PATH
11176
 
      hardcode_runpath_var=yes
11177
 
      ;;
11178
 
 
11179
 
    solaris*)
11180
 
      no_undefined_flag=' -z text'
11181
 
      if test "$GCC" = yes; then
11182
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11183
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11184
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
11185
 
      else
11186
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11187
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11188
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11189
 
      fi
11190
 
      hardcode_libdir_flag_spec='-R$libdir'
11191
 
      hardcode_shlibpath_var=no
11192
 
      case $host_os in
11193
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
11194
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
11195
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
11196
 
      esac
11197
 
      link_all_deplibs=yes
11198
 
      ;;
11199
 
 
11200
 
    sunos4*)
11201
 
      if test "x$host_vendor" = xsequent; then
11202
 
        # Use $CC to link under sequent, because it throws in some extra .o
11203
 
        # files that make .init and .fini sections work.
11204
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
11205
 
      else
11206
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11207
 
      fi
11208
 
      hardcode_libdir_flag_spec='-L$libdir'
11209
 
      hardcode_direct=yes
11210
 
      hardcode_minus_L=yes
11211
 
      hardcode_shlibpath_var=no
11212
 
      ;;
11213
 
 
11214
 
    sysv4)
11215
 
      case $host_vendor in
11216
 
        sni)
11217
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11218
 
          hardcode_direct=yes # is this really true???
11219
 
        ;;
11220
 
        siemens)
11221
 
          ## LD is ld it makes a PLAMLIB
11222
 
          ## CC just makes a GrossModule.
11223
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11224
 
          reload_cmds='$CC -r -o $output$reload_objs'
11225
 
          hardcode_direct=no
11226
 
        ;;
11227
 
        motorola)
11228
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11229
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11230
 
        ;;
11231
 
      esac
11232
 
      runpath_var='LD_RUN_PATH'
11233
 
      hardcode_shlibpath_var=no
11234
 
      ;;
11235
 
 
11236
 
    sysv4.3*)
11237
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11238
 
      hardcode_shlibpath_var=no
11239
 
      export_dynamic_flag_spec='-Bexport'
11240
 
      ;;
11241
 
 
11242
 
    sysv4*MP*)
11243
 
      if test -d /usr/nec; then
11244
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11245
 
        hardcode_shlibpath_var=no
11246
 
        runpath_var=LD_RUN_PATH
11247
 
        hardcode_runpath_var=yes
11248
 
        ld_shlibs=yes
11249
 
      fi
11250
 
      ;;
11251
 
 
11252
 
    sysv4.2uw2*)
11253
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11254
 
      hardcode_direct=yes
11255
 
      hardcode_minus_L=no
11256
 
      hardcode_shlibpath_var=no
11257
 
      hardcode_runpath_var=yes
11258
 
      runpath_var=LD_RUN_PATH
11259
 
      ;;
11260
 
 
11261
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
11262
 
      no_undefined_flag='${wl}-z ${wl}text'
11263
 
      if test "$GCC" = yes; then
11264
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11265
 
      else
11266
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11267
 
      fi
11268
 
      runpath_var='LD_RUN_PATH'
11269
 
      hardcode_shlibpath_var=no
11270
 
      ;;
11271
 
 
11272
 
    sysv5*)
11273
 
      no_undefined_flag=' -z text'
11274
 
      # $CC -shared without GNU ld will not create a library from C++
11275
 
      # object files and a static libstdc++, better avoid it by now
11276
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11277
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11278
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11279
 
      hardcode_libdir_flag_spec=
11280
 
      hardcode_shlibpath_var=no
11281
 
      runpath_var='LD_RUN_PATH'
11282
 
      ;;
11283
 
 
11284
 
    uts4*)
11285
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11286
 
      hardcode_libdir_flag_spec='-L$libdir'
11287
 
      hardcode_shlibpath_var=no
11288
 
      ;;
11289
 
 
11290
 
    *)
11291
 
      ld_shlibs=no
11292
 
      ;;
11293
 
    esac
11294
 
  fi
11295
 
 
11296
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11297
 
echo "${ECHO_T}$ld_shlibs" >&6; }
11298
 
test "$ld_shlibs" = no && can_build_shared=no
11299
 
 
11300
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11301
 
if test "$GCC" = yes; then
11302
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11303
 
fi
11304
 
 
11305
 
#
11306
 
# Do we need to explicitly link libc?
11307
 
#
11308
 
case "x$archive_cmds_need_lc" in
11309
 
x|xyes)
11310
 
  # Assume -lc should be added
11311
 
  archive_cmds_need_lc=yes
11312
 
 
11313
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
11314
 
    case $archive_cmds in
11315
 
    *'~'*)
11316
 
      # FIXME: we may have to deal with multi-command sequences.
11317
 
      ;;
11318
 
    '$CC '*)
11319
 
      # Test whether the compiler implicitly links with -lc since on some
11320
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11321
 
      # to ld, don't add -lc before -lgcc.
11322
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11323
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11324
 
      $rm conftest*
11325
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11326
 
 
11327
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11328
 
  (eval $ac_compile) 2>&5
11329
 
  ac_status=$?
11330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331
 
  (exit $ac_status); } 2>conftest.err; then
11332
 
        soname=conftest
11333
 
        lib=conftest
11334
 
        libobjs=conftest.$ac_objext
11335
 
        deplibs=
11336
 
        wl=$lt_prog_compiler_wl
11337
 
        compiler_flags=-v
11338
 
        linker_flags=-v
11339
 
        verstring=
11340
 
        output_objdir=.
11341
 
        libname=conftest
11342
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
11343
 
        allow_undefined_flag=
11344
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11345
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11346
 
  ac_status=$?
11347
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348
 
  (exit $ac_status); }
11349
 
        then
11350
 
          archive_cmds_need_lc=no
11351
 
        else
11352
 
          archive_cmds_need_lc=yes
11353
 
        fi
11354
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
11355
 
      else
11356
 
        cat conftest.err 1>&5
11357
 
      fi
11358
 
      $rm conftest*
11359
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11360
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11361
 
      ;;
11362
 
    esac
11363
 
  fi
11364
 
  ;;
11365
 
esac
11366
 
 
11367
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11368
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11369
 
library_names_spec=
11370
 
libname_spec='lib$name'
11371
 
soname_spec=
11372
 
shrext=".so"
11373
 
postinstall_cmds=
11374
 
postuninstall_cmds=
11375
 
finish_cmds=
11376
 
finish_eval=
11377
 
shlibpath_var=
11378
 
shlibpath_overrides_runpath=unknown
11379
 
version_type=none
11380
 
dynamic_linker="$host_os ld.so"
11381
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11382
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11383
 
need_lib_prefix=unknown
11384
 
hardcode_into_libs=no
11385
 
 
11386
 
# when you set need_version to no, make sure it does not cause -set_version
11387
 
# flags to be left without arguments
11388
 
need_version=unknown
11389
 
 
11390
 
case $host_os in
11391
 
aix3*)
11392
 
  version_type=linux
11393
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11394
 
  shlibpath_var=LIBPATH
11395
 
 
11396
 
  # AIX 3 has no versioning support, so we append a major version to the name.
11397
 
  soname_spec='${libname}${release}${shared_ext}$major'
11398
 
  ;;
11399
 
 
11400
 
aix4* | aix5*)
11401
 
  version_type=linux
11402
 
  need_lib_prefix=no
11403
 
  need_version=no
11404
 
  hardcode_into_libs=yes
11405
 
  if test "$host_cpu" = ia64; then
11406
 
    # AIX 5 supports IA64
11407
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11408
 
    shlibpath_var=LD_LIBRARY_PATH
11409
 
  else
11410
 
    # With GCC up to 2.95.x, collect2 would create an import file
11411
 
    # for dependence libraries.  The import file would start with
11412
 
    # the line `#! .'.  This would cause the generated library to
11413
 
    # depend on `.', always an invalid library.  This was fixed in
11414
 
    # development snapshots of GCC prior to 3.0.
11415
 
    case $host_os in
11416
 
      aix4 | aix4.[01] | aix4.[01].*)
11417
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11418
 
           echo ' yes '
11419
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11420
 
        :
11421
 
      else
11422
 
        can_build_shared=no
11423
 
      fi
11424
 
      ;;
11425
 
    esac
11426
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11427
 
    # soname into executable. Probably we can add versioning support to
11428
 
    # collect2, so additional links can be useful in future.
11429
 
    if test "$aix_use_runtimelinking" = yes; then
11430
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11431
 
      # instead of lib<name>.a to let people know that these are not
11432
 
      # typical AIX shared libraries.
11433
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11434
 
    else
11435
 
      # We preserve .a as extension for shared libraries through AIX4.2
11436
 
      # and later when we are not doing run time linking.
11437
 
      library_names_spec='${libname}${release}.a $libname.a'
11438
 
      soname_spec='${libname}${release}${shared_ext}$major'
11439
 
    fi
11440
 
    shlibpath_var=LIBPATH
11441
 
  fi
11442
 
  ;;
11443
 
 
11444
 
amigaos*)
11445
 
  library_names_spec='$libname.ixlibrary $libname.a'
11446
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
11447
 
  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'
11448
 
  ;;
11449
 
 
11450
 
beos*)
11451
 
  library_names_spec='${libname}${shared_ext}'
11452
 
  dynamic_linker="$host_os ld.so"
11453
 
  shlibpath_var=LIBRARY_PATH
11454
 
  ;;
11455
 
 
11456
 
bsdi4*)
11457
 
  version_type=linux
11458
 
  need_version=no
11459
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11460
 
  soname_spec='${libname}${release}${shared_ext}$major'
11461
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11462
 
  shlibpath_var=LD_LIBRARY_PATH
11463
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11464
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11465
 
  # the default ld.so.conf also contains /usr/contrib/lib and
11466
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11467
 
  # libtool to hard-code these into programs
11468
 
  ;;
11469
 
 
11470
 
cygwin* | mingw* | pw32*)
11471
 
  version_type=windows
11472
 
  shrext=".dll"
11473
 
  need_version=no
11474
 
  need_lib_prefix=no
11475
 
 
11476
 
  case $GCC,$host_os in
11477
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
11478
 
    library_names_spec='$libname.dll.a'
11479
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11480
 
    postinstall_cmds='base_file=`basename \${file}`~
11481
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11482
 
      dldir=$destdir/`dirname \$dlpath`~
11483
 
      test -d \$dldir || mkdir -p \$dldir~
11484
 
      $install_prog $dir/$dlname \$dldir/$dlname'
11485
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11486
 
      dlpath=$dir/\$dldll~
11487
 
       $rm \$dlpath'
11488
 
    shlibpath_overrides_runpath=yes
11489
 
 
11490
 
    case $host_os in
11491
 
    cygwin*)
11492
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11493
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11494
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11495
 
      ;;
11496
 
    mingw*)
11497
 
      # MinGW DLLs use traditional 'lib' prefix
11498
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11499
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11500
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11501
 
        # It is most probably a Windows format PATH printed by
11502
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11503
 
        # path with ; separators, and with drive letters. We can handle the
11504
 
        # drive letters (cygwin fileutils understands them), so leave them,
11505
 
        # especially as we might pass files found there to a mingw objdump,
11506
 
        # which wouldn't understand a cygwinified path. Ahh.
11507
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11508
 
      else
11509
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11510
 
      fi
11511
 
      ;;
11512
 
    pw32*)
11513
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11514
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11515
 
      ;;
11516
 
    esac
11517
 
    ;;
11518
 
 
11519
 
  *)
11520
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11521
 
    ;;
11522
 
  esac
11523
 
  dynamic_linker='Win32 ld.exe'
11524
 
  # FIXME: first we should search . and the directory the executable is in
11525
 
  shlibpath_var=PATH
11526
 
  ;;
11527
 
 
11528
 
darwin* | rhapsody*)
11529
 
  dynamic_linker="$host_os dyld"
11530
 
  version_type=darwin
11531
 
  need_lib_prefix=no
11532
 
  need_version=no
11533
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11534
 
  soname_spec='${libname}${release}${major}$shared_ext'
11535
 
  shlibpath_overrides_runpath=yes
11536
 
  shlibpath_var=DYLD_LIBRARY_PATH
11537
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11538
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11539
 
  if test "$GCC" = yes; then
11540
 
    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"`
11541
 
  else
11542
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11543
 
  fi
11544
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11545
 
  ;;
11546
 
 
11547
 
dgux*)
11548
 
  version_type=linux
11549
 
  need_lib_prefix=no
11550
 
  need_version=no
11551
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11552
 
  soname_spec='${libname}${release}${shared_ext}$major'
11553
 
  shlibpath_var=LD_LIBRARY_PATH
11554
 
  ;;
11555
 
 
11556
 
freebsd1*)
11557
 
  dynamic_linker=no
11558
 
  ;;
11559
 
 
11560
 
kfreebsd*-gnu*)
11561
 
  version_type=linux
11562
 
  need_lib_prefix=no
11563
 
  need_version=no
11564
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11565
 
  soname_spec='${libname}${release}${shared_ext}$major'
11566
 
  shlibpath_var=LD_LIBRARY_PATH
11567
 
  shlibpath_overrides_runpath=no
11568
 
  hardcode_into_libs=yes
11569
 
  dynamic_linker='GNU ld.so'
11570
 
  ;;
11571
 
 
11572
 
freebsd*)
11573
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11574
 
  version_type=freebsd-$objformat
11575
 
  case $version_type in
11576
 
    freebsd-elf*)
11577
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11578
 
      need_version=no
11579
 
      need_lib_prefix=no
11580
 
      ;;
11581
 
    freebsd-*)
11582
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11583
 
      need_version=yes
11584
 
      ;;
11585
 
  esac
11586
 
  shlibpath_var=LD_LIBRARY_PATH
11587
 
  case $host_os in
11588
 
  freebsd2*)
11589
 
    shlibpath_overrides_runpath=yes
11590
 
    ;;
11591
 
  freebsd3.01* | freebsdelf3.01*)
11592
 
    shlibpath_overrides_runpath=yes
11593
 
    hardcode_into_libs=yes
11594
 
    ;;
11595
 
  *) # from 3.2 on
11596
 
    shlibpath_overrides_runpath=no
11597
 
    hardcode_into_libs=yes
11598
 
    ;;
11599
 
  esac
11600
 
  ;;
11601
 
 
11602
 
gnu*)
11603
 
  version_type=linux
11604
 
  need_lib_prefix=no
11605
 
  need_version=no
11606
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11607
 
  soname_spec='${libname}${release}${shared_ext}$major'
11608
 
  shlibpath_var=LD_LIBRARY_PATH
11609
 
  hardcode_into_libs=yes
11610
 
  ;;
11611
 
 
11612
 
hpux9* | hpux10* | hpux11*)
11613
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
11614
 
  # link against other versions.
11615
 
  version_type=sunos
11616
 
  need_lib_prefix=no
11617
 
  need_version=no
11618
 
  case "$host_cpu" in
11619
 
  ia64*)
11620
 
    shrext='.so'
11621
 
    hardcode_into_libs=yes
11622
 
    dynamic_linker="$host_os dld.so"
11623
 
    shlibpath_var=LD_LIBRARY_PATH
11624
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11625
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11626
 
    soname_spec='${libname}${release}${shared_ext}$major'
11627
 
    if test "X$HPUX_IA64_MODE" = X32; then
11628
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11629
 
    else
11630
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11631
 
    fi
11632
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11633
 
    ;;
11634
 
   hppa*64*)
11635
 
     shrext='.sl'
11636
 
     hardcode_into_libs=yes
11637
 
     dynamic_linker="$host_os dld.sl"
11638
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11639
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11640
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11641
 
     soname_spec='${libname}${release}${shared_ext}$major'
11642
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11643
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11644
 
     ;;
11645
 
   *)
11646
 
    shrext='.sl'
11647
 
    dynamic_linker="$host_os dld.sl"
11648
 
    shlibpath_var=SHLIB_PATH
11649
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11650
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11651
 
    soname_spec='${libname}${release}${shared_ext}$major'
11652
 
    ;;
11653
 
  esac
11654
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11655
 
  postinstall_cmds='chmod 555 $lib'
11656
 
  ;;
11657
 
 
11658
 
irix5* | irix6* | nonstopux*)
11659
 
  case $host_os in
11660
 
    nonstopux*) version_type=nonstopux ;;
11661
 
    *)
11662
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11663
 
                version_type=linux
11664
 
        else
11665
 
                version_type=irix
11666
 
        fi ;;
11667
 
  esac
11668
 
  need_lib_prefix=no
11669
 
  need_version=no
11670
 
  soname_spec='${libname}${release}${shared_ext}$major'
11671
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11672
 
  case $host_os in
11673
 
  irix5* | nonstopux*)
11674
 
    libsuff= shlibsuff=
11675
 
    ;;
11676
 
  *)
11677
 
    case $LD in # libtool.m4 will add one of these switches to LD
11678
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11679
 
      libsuff= shlibsuff= libmagic=32-bit;;
11680
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11681
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11682
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11683
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11684
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11685
 
    esac
11686
 
    ;;
11687
 
  esac
11688
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11689
 
  shlibpath_overrides_runpath=no
11690
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11691
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11692
 
  hardcode_into_libs=yes
11693
 
  ;;
11694
 
 
11695
 
# No shared lib support for Linux oldld, aout, or coff.
11696
 
linux*oldld* | linux*aout* | linux*coff*)
11697
 
  dynamic_linker=no
11698
 
  ;;
11699
 
 
11700
 
# This must be Linux ELF.
11701
 
linux*)
11702
 
  version_type=linux
11703
 
  need_lib_prefix=no
11704
 
  need_version=no
11705
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11706
 
  soname_spec='${libname}${release}${shared_ext}$major'
11707
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11708
 
  libsuff=
11709
 
  if test "x$LINUX_64_MODE" = x64; then
11710
 
    # Some platforms are per default 64-bit, so there's no /lib64
11711
 
    if test -d /lib64 -a ! -h /lib64; then
11712
 
      libsuff=64
11713
 
    fi
11714
 
  fi
11715
 
  shlibpath_var=LD_LIBRARY_PATH
11716
 
  shlibpath_overrides_runpath=no
11717
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
11718
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11719
 
  # This implies no fast_install, which is unacceptable.
11720
 
  # Some rework will be needed to allow for fast_install
11721
 
  # before this can be enabled.
11722
 
  hardcode_into_libs=yes
11723
 
 
11724
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11725
 
  # powerpc, because MkLinux only supported shared libraries with the
11726
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11727
 
  # most powerpc-linux boxes support dynamic linking these days and
11728
 
  # people can always --disable-shared, the test was removed, and we
11729
 
  # assume the GNU/Linux dynamic linker is in use.
11730
 
  dynamic_linker='GNU/Linux ld.so'
11731
 
  ;;
11732
 
 
11733
 
netbsd*)
11734
 
  version_type=sunos
11735
 
  need_lib_prefix=no
11736
 
  need_version=no
11737
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11738
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11739
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11740
 
    dynamic_linker='NetBSD (a.out) ld.so'
11741
 
  else
11742
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11743
 
    soname_spec='${libname}${release}${shared_ext}$major'
11744
 
    dynamic_linker='NetBSD ld.elf_so'
11745
 
  fi
11746
 
  shlibpath_var=LD_LIBRARY_PATH
11747
 
  shlibpath_overrides_runpath=yes
11748
 
  hardcode_into_libs=yes
11749
 
  ;;
11750
 
 
11751
 
newsos6)
11752
 
  version_type=linux
11753
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11754
 
  shlibpath_var=LD_LIBRARY_PATH
11755
 
  shlibpath_overrides_runpath=yes
11756
 
  ;;
11757
 
 
11758
 
nto-qnx*)
11759
 
  version_type=linux
11760
 
  need_lib_prefix=no
11761
 
  need_version=no
11762
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11763
 
  soname_spec='${libname}${release}${shared_ext}$major'
11764
 
  shlibpath_var=LD_LIBRARY_PATH
11765
 
  shlibpath_overrides_runpath=yes
11766
 
  ;;
11767
 
 
11768
 
openbsd*)
11769
 
  version_type=sunos
11770
 
  need_lib_prefix=no
11771
 
  need_version=no
11772
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11773
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11774
 
  shlibpath_var=LD_LIBRARY_PATH
11775
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11776
 
    case $host_os in
11777
 
      openbsd2.[89] | openbsd2.[89].*)
11778
 
        shlibpath_overrides_runpath=no
11779
 
        ;;
11780
 
      *)
11781
 
        shlibpath_overrides_runpath=yes
11782
 
        ;;
11783
 
      esac
11784
 
  else
11785
 
    shlibpath_overrides_runpath=yes
11786
 
  fi
11787
 
  ;;
11788
 
 
11789
 
os2*)
11790
 
  libname_spec='$name'
11791
 
  shrext=".dll"
11792
 
  need_lib_prefix=no
11793
 
  library_names_spec='$libname${shared_ext} $libname.a'
11794
 
  dynamic_linker='OS/2 ld.exe'
11795
 
  shlibpath_var=LIBPATH
11796
 
  ;;
11797
 
 
11798
 
osf3* | osf4* | osf5*)
11799
 
  version_type=osf
11800
 
  need_lib_prefix=no
11801
 
  need_version=no
11802
 
  soname_spec='${libname}${release}${shared_ext}$major'
11803
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11804
 
  shlibpath_var=LD_LIBRARY_PATH
11805
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11806
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11807
 
  ;;
11808
 
 
11809
 
sco3.2v5*)
11810
 
  version_type=osf
11811
 
  soname_spec='${libname}${release}${shared_ext}$major'
11812
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11813
 
  shlibpath_var=LD_LIBRARY_PATH
11814
 
  ;;
11815
 
 
11816
 
solaris*)
11817
 
  version_type=linux
11818
 
  need_lib_prefix=no
11819
 
  need_version=no
11820
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11821
 
  soname_spec='${libname}${release}${shared_ext}$major'
11822
 
  shlibpath_var=LD_LIBRARY_PATH
11823
 
  shlibpath_overrides_runpath=yes
11824
 
  hardcode_into_libs=yes
11825
 
  # ldd complains unless libraries are executable
11826
 
  postinstall_cmds='chmod +x $lib'
11827
 
  ;;
11828
 
 
11829
 
sunos4*)
11830
 
  version_type=sunos
11831
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11832
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11833
 
  shlibpath_var=LD_LIBRARY_PATH
11834
 
  shlibpath_overrides_runpath=yes
11835
 
  if test "$with_gnu_ld" = yes; then
11836
 
    need_lib_prefix=no
11837
 
  fi
11838
 
  need_version=yes
11839
 
  ;;
11840
 
 
11841
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11842
 
  version_type=linux
11843
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11844
 
  soname_spec='${libname}${release}${shared_ext}$major'
11845
 
  shlibpath_var=LD_LIBRARY_PATH
11846
 
  case $host_vendor in
11847
 
    sni)
11848
 
      shlibpath_overrides_runpath=no
11849
 
      need_lib_prefix=no
11850
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
11851
 
      runpath_var=LD_RUN_PATH
11852
 
      ;;
11853
 
    siemens)
11854
 
      need_lib_prefix=no
11855
 
      ;;
11856
 
    motorola)
11857
 
      need_lib_prefix=no
11858
 
      need_version=no
11859
 
      shlibpath_overrides_runpath=no
11860
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11861
 
      ;;
11862
 
  esac
11863
 
  ;;
11864
 
 
11865
 
sysv4*MP*)
11866
 
  if test -d /usr/nec ;then
11867
 
    version_type=linux
11868
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11869
 
    soname_spec='$libname${shared_ext}.$major'
11870
 
    shlibpath_var=LD_LIBRARY_PATH
11871
 
  fi
11872
 
  ;;
11873
 
 
11874
 
uts4*)
11875
 
  version_type=linux
11876
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11877
 
  soname_spec='${libname}${release}${shared_ext}$major'
11878
 
  shlibpath_var=LD_LIBRARY_PATH
11879
 
  ;;
11880
 
 
11881
 
*)
11882
 
  dynamic_linker=no
11883
 
  ;;
11884
 
esac
11885
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11886
 
echo "${ECHO_T}$dynamic_linker" >&6; }
11887
 
test "$dynamic_linker" = no && can_build_shared=no
11888
 
 
11889
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11890
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11891
 
hardcode_action=
11892
 
if test -n "$hardcode_libdir_flag_spec" || \
11893
 
   test -n "$runpath_var " || \
11894
 
   test "X$hardcode_automatic"="Xyes" ; then
11895
 
 
11896
 
  # We can hardcode non-existant directories.
11897
 
  if test "$hardcode_direct" != no &&
11898
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11899
 
     # have to relink, otherwise we might link with an installed library
11900
 
     # when we should be linking with a yet-to-be-installed one
11901
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11902
 
     test "$hardcode_minus_L" != no; then
11903
 
    # Linking always hardcodes the temporary library directory.
11904
 
    hardcode_action=relink
11905
 
  else
11906
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11907
 
    hardcode_action=immediate
11908
 
  fi
11909
 
else
11910
 
  # We cannot hardcode anything, or else we can only hardcode existing
11911
 
  # directories.
11912
 
  hardcode_action=unsupported
11913
 
fi
11914
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11915
 
echo "${ECHO_T}$hardcode_action" >&6; }
11916
 
 
11917
 
if test "$hardcode_action" = relink; then
11918
 
  # Fast installation is not supported
11919
 
  enable_fast_install=no
11920
 
elif test "$shlibpath_overrides_runpath" = yes ||
11921
 
     test "$enable_shared" = no; then
11922
 
  # Fast installation is not necessary
11923
 
  enable_fast_install=needless
11924
 
fi
11925
 
 
11926
 
striplib=
11927
 
old_striplib=
11928
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11929
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11930
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11931
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11932
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11933
 
  { echo "$as_me:$LINENO: result: yes" >&5
11934
 
echo "${ECHO_T}yes" >&6; }
11935
 
else
11936
 
# FIXME - insert some real tests, host_os isn't really good enough
11937
 
  case $host_os in
11938
 
   darwin*)
11939
 
       if test -n "$STRIP" ; then
11940
 
         striplib="$STRIP -x"
11941
 
         { echo "$as_me:$LINENO: result: yes" >&5
11942
 
echo "${ECHO_T}yes" >&6; }
11943
 
       else
11944
 
  { echo "$as_me:$LINENO: result: no" >&5
11945
 
echo "${ECHO_T}no" >&6; }
11946
 
fi
11947
 
       ;;
11948
 
   *)
11949
 
  { echo "$as_me:$LINENO: result: no" >&5
11950
 
echo "${ECHO_T}no" >&6; }
11951
 
    ;;
11952
 
  esac
11953
 
fi
11954
 
 
11955
 
if test "x$enable_dlopen" != xyes; then
11956
 
  enable_dlopen=unknown
11957
 
  enable_dlopen_self=unknown
11958
 
  enable_dlopen_self_static=unknown
11959
 
else
11960
 
  lt_cv_dlopen=no
11961
 
  lt_cv_dlopen_libs=
11962
 
 
11963
 
  case $host_os in
11964
 
  beos*)
11965
 
    lt_cv_dlopen="load_add_on"
11966
 
    lt_cv_dlopen_libs=
11967
 
    lt_cv_dlopen_self=yes
11968
 
    ;;
11969
 
 
11970
 
  mingw* | pw32*)
11971
 
    lt_cv_dlopen="LoadLibrary"
11972
 
    lt_cv_dlopen_libs=
11973
 
   ;;
11974
 
 
11975
 
  cygwin*)
11976
 
    lt_cv_dlopen="dlopen"
11977
 
    lt_cv_dlopen_libs=
11978
 
   ;;
11979
 
 
11980
 
  darwin*)
11981
 
  # if libdl is installed we need to link against it
11982
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11983
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11984
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11985
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11986
 
else
11987
 
  ac_check_lib_save_LIBS=$LIBS
11988
 
LIBS="-ldl  $LIBS"
11989
 
cat >conftest.$ac_ext <<_ACEOF
11990
 
/* confdefs.h.  */
11991
 
_ACEOF
11992
 
cat confdefs.h >>conftest.$ac_ext
11993
 
cat >>conftest.$ac_ext <<_ACEOF
11994
 
/* end confdefs.h.  */
11995
 
 
11996
 
/* Override any GCC internal prototype to avoid an error.
11997
 
   Use char because int might match the return type of a GCC
11998
 
   builtin and then its argument prototype would still apply.  */
11999
 
#ifdef __cplusplus
12000
 
extern "C"
12001
 
#endif
12002
 
char dlopen ();
12003
 
int
12004
 
main ()
12005
 
{
12006
 
return dlopen ();
12007
 
  ;
12008
 
  return 0;
12009
 
}
12010
 
_ACEOF
12011
 
rm -f conftest.$ac_objext conftest$ac_exeext
12012
 
if { (ac_try="$ac_link"
12013
 
case "(($ac_try" in
12014
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12015
 
  *) ac_try_echo=$ac_try;;
12016
 
esac
12017
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12018
 
  (eval "$ac_link") 2>conftest.er1
12019
 
  ac_status=$?
12020
 
  grep -v '^ *+' conftest.er1 >conftest.err
12021
 
  rm -f conftest.er1
12022
 
  cat conftest.err >&5
12023
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024
 
  (exit $ac_status); } && {
12025
 
         test -z "$ac_c_werror_flag" ||
12026
 
         test ! -s conftest.err
12027
 
       } && test -s conftest$ac_exeext &&
12028
 
       $as_test_x conftest$ac_exeext; then
12029
 
  ac_cv_lib_dl_dlopen=yes
12030
 
else
12031
 
  echo "$as_me: failed program was:" >&5
12032
 
sed 's/^/| /' conftest.$ac_ext >&5
12033
 
 
12034
 
        ac_cv_lib_dl_dlopen=no
12035
 
fi
12036
 
 
12037
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12038
 
      conftest$ac_exeext conftest.$ac_ext
12039
 
LIBS=$ac_check_lib_save_LIBS
12040
 
fi
12041
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12042
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12043
 
if test $ac_cv_lib_dl_dlopen = yes; then
12044
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12045
 
else
12046
 
 
12047
 
    lt_cv_dlopen="dyld"
12048
 
    lt_cv_dlopen_libs=
12049
 
    lt_cv_dlopen_self=yes
12050
 
 
12051
 
fi
12052
 
 
12053
 
   ;;
12054
 
 
12055
 
  *)
12056
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
12057
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12058
 
if test "${ac_cv_func_shl_load+set}" = set; then
12059
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12060
 
else
12061
 
  cat >conftest.$ac_ext <<_ACEOF
12062
 
/* confdefs.h.  */
12063
 
_ACEOF
12064
 
cat confdefs.h >>conftest.$ac_ext
12065
 
cat >>conftest.$ac_ext <<_ACEOF
12066
 
/* end confdefs.h.  */
12067
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12068
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12069
 
#define shl_load innocuous_shl_load
12070
 
 
12071
 
/* System header to define __stub macros and hopefully few prototypes,
12072
 
    which can conflict with char shl_load (); below.
12073
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12074
 
    <limits.h> exists even on freestanding compilers.  */
12075
 
 
12076
 
#ifdef __STDC__
12077
 
# include <limits.h>
12078
 
#else
12079
 
# include <assert.h>
12080
 
#endif
12081
 
 
12082
 
#undef shl_load
12083
 
 
12084
 
/* Override any GCC internal prototype to avoid an error.
12085
 
   Use char because int might match the return type of a GCC
12086
 
   builtin and then its argument prototype would still apply.  */
12087
 
#ifdef __cplusplus
12088
 
extern "C"
12089
 
#endif
12090
 
char shl_load ();
12091
 
/* The GNU C library defines this for functions which it implements
12092
 
    to always fail with ENOSYS.  Some functions are actually named
12093
 
    something starting with __ and the normal name is an alias.  */
12094
 
#if defined __stub_shl_load || defined __stub___shl_load
12095
 
choke me
12096
 
#endif
12097
 
 
12098
 
int
12099
 
main ()
12100
 
{
12101
 
return shl_load ();
12102
 
  ;
12103
 
  return 0;
12104
 
}
12105
 
_ACEOF
12106
 
rm -f conftest.$ac_objext conftest$ac_exeext
12107
 
if { (ac_try="$ac_link"
12108
 
case "(($ac_try" in
12109
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12110
 
  *) ac_try_echo=$ac_try;;
12111
 
esac
12112
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12113
 
  (eval "$ac_link") 2>conftest.er1
12114
 
  ac_status=$?
12115
 
  grep -v '^ *+' conftest.er1 >conftest.err
12116
 
  rm -f conftest.er1
12117
 
  cat conftest.err >&5
12118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119
 
  (exit $ac_status); } && {
12120
 
         test -z "$ac_c_werror_flag" ||
12121
 
         test ! -s conftest.err
12122
 
       } && test -s conftest$ac_exeext &&
12123
 
       $as_test_x conftest$ac_exeext; then
12124
 
  ac_cv_func_shl_load=yes
12125
 
else
12126
 
  echo "$as_me: failed program was:" >&5
12127
 
sed 's/^/| /' conftest.$ac_ext >&5
12128
 
 
12129
 
        ac_cv_func_shl_load=no
12130
 
fi
12131
 
 
12132
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12133
 
      conftest$ac_exeext conftest.$ac_ext
12134
 
fi
12135
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12136
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12137
 
if test $ac_cv_func_shl_load = yes; then
12138
 
  lt_cv_dlopen="shl_load"
12139
 
else
12140
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12141
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12142
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12144
 
else
12145
 
  ac_check_lib_save_LIBS=$LIBS
12146
 
LIBS="-ldld  $LIBS"
12147
 
cat >conftest.$ac_ext <<_ACEOF
12148
 
/* confdefs.h.  */
12149
 
_ACEOF
12150
 
cat confdefs.h >>conftest.$ac_ext
12151
 
cat >>conftest.$ac_ext <<_ACEOF
12152
 
/* end confdefs.h.  */
12153
 
 
12154
 
/* Override any GCC internal prototype to avoid an error.
12155
 
   Use char because int might match the return type of a GCC
12156
 
   builtin and then its argument prototype would still apply.  */
12157
 
#ifdef __cplusplus
12158
 
extern "C"
12159
 
#endif
12160
 
char shl_load ();
12161
 
int
12162
 
main ()
12163
 
{
12164
 
return shl_load ();
12165
 
  ;
12166
 
  return 0;
12167
 
}
12168
 
_ACEOF
12169
 
rm -f conftest.$ac_objext conftest$ac_exeext
12170
 
if { (ac_try="$ac_link"
12171
 
case "(($ac_try" in
12172
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12173
 
  *) ac_try_echo=$ac_try;;
12174
 
esac
12175
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12176
 
  (eval "$ac_link") 2>conftest.er1
12177
 
  ac_status=$?
12178
 
  grep -v '^ *+' conftest.er1 >conftest.err
12179
 
  rm -f conftest.er1
12180
 
  cat conftest.err >&5
12181
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182
 
  (exit $ac_status); } && {
12183
 
         test -z "$ac_c_werror_flag" ||
12184
 
         test ! -s conftest.err
12185
 
       } && test -s conftest$ac_exeext &&
12186
 
       $as_test_x conftest$ac_exeext; then
12187
 
  ac_cv_lib_dld_shl_load=yes
12188
 
else
12189
 
  echo "$as_me: failed program was:" >&5
12190
 
sed 's/^/| /' conftest.$ac_ext >&5
12191
 
 
12192
 
        ac_cv_lib_dld_shl_load=no
12193
 
fi
12194
 
 
12195
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12196
 
      conftest$ac_exeext conftest.$ac_ext
12197
 
LIBS=$ac_check_lib_save_LIBS
12198
 
fi
12199
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12200
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12201
 
if test $ac_cv_lib_dld_shl_load = yes; then
12202
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12203
 
else
12204
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
12205
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12206
 
if test "${ac_cv_func_dlopen+set}" = set; then
12207
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12208
 
else
12209
 
  cat >conftest.$ac_ext <<_ACEOF
12210
 
/* confdefs.h.  */
12211
 
_ACEOF
12212
 
cat confdefs.h >>conftest.$ac_ext
12213
 
cat >>conftest.$ac_ext <<_ACEOF
12214
 
/* end confdefs.h.  */
12215
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12216
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12217
 
#define dlopen innocuous_dlopen
12218
 
 
12219
 
/* System header to define __stub macros and hopefully few prototypes,
12220
 
    which can conflict with char dlopen (); below.
12221
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12222
 
    <limits.h> exists even on freestanding compilers.  */
12223
 
 
12224
 
#ifdef __STDC__
12225
 
# include <limits.h>
12226
 
#else
12227
 
# include <assert.h>
12228
 
#endif
12229
 
 
12230
 
#undef dlopen
12231
 
 
12232
 
/* Override any GCC internal prototype to avoid an error.
12233
 
   Use char because int might match the return type of a GCC
12234
 
   builtin and then its argument prototype would still apply.  */
12235
 
#ifdef __cplusplus
12236
 
extern "C"
12237
 
#endif
12238
 
char dlopen ();
12239
 
/* The GNU C library defines this for functions which it implements
12240
 
    to always fail with ENOSYS.  Some functions are actually named
12241
 
    something starting with __ and the normal name is an alias.  */
12242
 
#if defined __stub_dlopen || defined __stub___dlopen
12243
 
choke me
12244
 
#endif
12245
 
 
12246
 
int
12247
 
main ()
12248
 
{
12249
 
return dlopen ();
12250
 
  ;
12251
 
  return 0;
12252
 
}
12253
 
_ACEOF
12254
 
rm -f conftest.$ac_objext conftest$ac_exeext
12255
 
if { (ac_try="$ac_link"
12256
 
case "(($ac_try" in
12257
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12258
 
  *) ac_try_echo=$ac_try;;
12259
 
esac
12260
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12261
 
  (eval "$ac_link") 2>conftest.er1
12262
 
  ac_status=$?
12263
 
  grep -v '^ *+' conftest.er1 >conftest.err
12264
 
  rm -f conftest.er1
12265
 
  cat conftest.err >&5
12266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267
 
  (exit $ac_status); } && {
12268
 
         test -z "$ac_c_werror_flag" ||
12269
 
         test ! -s conftest.err
12270
 
       } && test -s conftest$ac_exeext &&
12271
 
       $as_test_x conftest$ac_exeext; then
12272
 
  ac_cv_func_dlopen=yes
12273
 
else
12274
 
  echo "$as_me: failed program was:" >&5
12275
 
sed 's/^/| /' conftest.$ac_ext >&5
12276
 
 
12277
 
        ac_cv_func_dlopen=no
12278
 
fi
12279
 
 
12280
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12281
 
      conftest$ac_exeext conftest.$ac_ext
12282
 
fi
12283
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12284
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12285
 
if test $ac_cv_func_dlopen = yes; then
12286
 
  lt_cv_dlopen="dlopen"
12287
 
else
12288
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12289
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12290
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12291
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12292
 
else
12293
 
  ac_check_lib_save_LIBS=$LIBS
12294
 
LIBS="-ldl  $LIBS"
12295
 
cat >conftest.$ac_ext <<_ACEOF
12296
 
/* confdefs.h.  */
12297
 
_ACEOF
12298
 
cat confdefs.h >>conftest.$ac_ext
12299
 
cat >>conftest.$ac_ext <<_ACEOF
12300
 
/* end confdefs.h.  */
12301
 
 
12302
 
/* Override any GCC internal prototype to avoid an error.
12303
 
   Use char because int might match the return type of a GCC
12304
 
   builtin and then its argument prototype would still apply.  */
12305
 
#ifdef __cplusplus
12306
 
extern "C"
12307
 
#endif
12308
 
char dlopen ();
12309
 
int
12310
 
main ()
12311
 
{
12312
 
return dlopen ();
12313
 
  ;
12314
 
  return 0;
12315
 
}
12316
 
_ACEOF
12317
 
rm -f conftest.$ac_objext conftest$ac_exeext
12318
 
if { (ac_try="$ac_link"
12319
 
case "(($ac_try" in
12320
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12321
 
  *) ac_try_echo=$ac_try;;
12322
 
esac
12323
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12324
 
  (eval "$ac_link") 2>conftest.er1
12325
 
  ac_status=$?
12326
 
  grep -v '^ *+' conftest.er1 >conftest.err
12327
 
  rm -f conftest.er1
12328
 
  cat conftest.err >&5
12329
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330
 
  (exit $ac_status); } && {
12331
 
         test -z "$ac_c_werror_flag" ||
12332
 
         test ! -s conftest.err
12333
 
       } && test -s conftest$ac_exeext &&
12334
 
       $as_test_x conftest$ac_exeext; then
12335
 
  ac_cv_lib_dl_dlopen=yes
12336
 
else
12337
 
  echo "$as_me: failed program was:" >&5
12338
 
sed 's/^/| /' conftest.$ac_ext >&5
12339
 
 
12340
 
        ac_cv_lib_dl_dlopen=no
12341
 
fi
12342
 
 
12343
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12344
 
      conftest$ac_exeext conftest.$ac_ext
12345
 
LIBS=$ac_check_lib_save_LIBS
12346
 
fi
12347
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12348
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12349
 
if test $ac_cv_lib_dl_dlopen = yes; then
12350
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12351
 
else
12352
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12353
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12354
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12355
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12356
 
else
12357
 
  ac_check_lib_save_LIBS=$LIBS
12358
 
LIBS="-lsvld  $LIBS"
12359
 
cat >conftest.$ac_ext <<_ACEOF
12360
 
/* confdefs.h.  */
12361
 
_ACEOF
12362
 
cat confdefs.h >>conftest.$ac_ext
12363
 
cat >>conftest.$ac_ext <<_ACEOF
12364
 
/* end confdefs.h.  */
12365
 
 
12366
 
/* Override any GCC internal prototype to avoid an error.
12367
 
   Use char because int might match the return type of a GCC
12368
 
   builtin and then its argument prototype would still apply.  */
12369
 
#ifdef __cplusplus
12370
 
extern "C"
12371
 
#endif
12372
 
char dlopen ();
12373
 
int
12374
 
main ()
12375
 
{
12376
 
return dlopen ();
12377
 
  ;
12378
 
  return 0;
12379
 
}
12380
 
_ACEOF
12381
 
rm -f conftest.$ac_objext conftest$ac_exeext
12382
 
if { (ac_try="$ac_link"
12383
 
case "(($ac_try" in
12384
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12385
 
  *) ac_try_echo=$ac_try;;
12386
 
esac
12387
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12388
 
  (eval "$ac_link") 2>conftest.er1
12389
 
  ac_status=$?
12390
 
  grep -v '^ *+' conftest.er1 >conftest.err
12391
 
  rm -f conftest.er1
12392
 
  cat conftest.err >&5
12393
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394
 
  (exit $ac_status); } && {
12395
 
         test -z "$ac_c_werror_flag" ||
12396
 
         test ! -s conftest.err
12397
 
       } && test -s conftest$ac_exeext &&
12398
 
       $as_test_x conftest$ac_exeext; then
12399
 
  ac_cv_lib_svld_dlopen=yes
12400
 
else
12401
 
  echo "$as_me: failed program was:" >&5
12402
 
sed 's/^/| /' conftest.$ac_ext >&5
12403
 
 
12404
 
        ac_cv_lib_svld_dlopen=no
12405
 
fi
12406
 
 
12407
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12408
 
      conftest$ac_exeext conftest.$ac_ext
12409
 
LIBS=$ac_check_lib_save_LIBS
12410
 
fi
12411
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12412
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12413
 
if test $ac_cv_lib_svld_dlopen = yes; then
12414
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12415
 
else
12416
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12417
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12418
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12420
 
else
12421
 
  ac_check_lib_save_LIBS=$LIBS
12422
 
LIBS="-ldld  $LIBS"
12423
 
cat >conftest.$ac_ext <<_ACEOF
12424
 
/* confdefs.h.  */
12425
 
_ACEOF
12426
 
cat confdefs.h >>conftest.$ac_ext
12427
 
cat >>conftest.$ac_ext <<_ACEOF
12428
 
/* end confdefs.h.  */
12429
 
 
12430
 
/* Override any GCC internal prototype to avoid an error.
12431
 
   Use char because int might match the return type of a GCC
12432
 
   builtin and then its argument prototype would still apply.  */
12433
 
#ifdef __cplusplus
12434
 
extern "C"
12435
 
#endif
12436
 
char dld_link ();
12437
 
int
12438
 
main ()
12439
 
{
12440
 
return dld_link ();
12441
 
  ;
12442
 
  return 0;
12443
 
}
12444
 
_ACEOF
12445
 
rm -f conftest.$ac_objext conftest$ac_exeext
12446
 
if { (ac_try="$ac_link"
12447
 
case "(($ac_try" in
12448
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12449
 
  *) ac_try_echo=$ac_try;;
12450
 
esac
12451
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12452
 
  (eval "$ac_link") 2>conftest.er1
12453
 
  ac_status=$?
12454
 
  grep -v '^ *+' conftest.er1 >conftest.err
12455
 
  rm -f conftest.er1
12456
 
  cat conftest.err >&5
12457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458
 
  (exit $ac_status); } && {
12459
 
         test -z "$ac_c_werror_flag" ||
12460
 
         test ! -s conftest.err
12461
 
       } && test -s conftest$ac_exeext &&
12462
 
       $as_test_x conftest$ac_exeext; then
12463
 
  ac_cv_lib_dld_dld_link=yes
12464
 
else
12465
 
  echo "$as_me: failed program was:" >&5
12466
 
sed 's/^/| /' conftest.$ac_ext >&5
12467
 
 
12468
 
        ac_cv_lib_dld_dld_link=no
12469
 
fi
12470
 
 
12471
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12472
 
      conftest$ac_exeext conftest.$ac_ext
12473
 
LIBS=$ac_check_lib_save_LIBS
12474
 
fi
12475
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12476
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12477
 
if test $ac_cv_lib_dld_dld_link = yes; then
12478
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12479
 
fi
12480
 
 
12481
 
 
12482
 
fi
12483
 
 
12484
 
 
12485
 
fi
12486
 
 
12487
 
 
12488
 
fi
12489
 
 
12490
 
 
12491
 
fi
12492
 
 
12493
 
 
12494
 
fi
12495
 
 
12496
 
    ;;
12497
 
  esac
12498
 
 
12499
 
  if test "x$lt_cv_dlopen" != xno; then
12500
 
    enable_dlopen=yes
12501
 
  else
12502
 
    enable_dlopen=no
12503
 
  fi
12504
 
 
12505
 
  case $lt_cv_dlopen in
12506
 
  dlopen)
12507
 
    save_CPPFLAGS="$CPPFLAGS"
12508
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12509
 
 
12510
 
    save_LDFLAGS="$LDFLAGS"
12511
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12512
 
 
12513
 
    save_LIBS="$LIBS"
12514
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12515
 
 
12516
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12517
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12518
 
if test "${lt_cv_dlopen_self+set}" = set; then
12519
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12520
 
else
12521
 
          if test "$cross_compiling" = yes; then :
12522
 
  lt_cv_dlopen_self=cross
12523
 
else
12524
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12525
 
  lt_status=$lt_dlunknown
12526
 
  cat > conftest.$ac_ext <<EOF
12527
 
#line 12527 "configure"
12528
 
#include "confdefs.h"
12529
 
 
12530
 
#if HAVE_DLFCN_H
12531
 
#include <dlfcn.h>
12532
 
#endif
12533
 
 
12534
 
#include <stdio.h>
12535
 
 
12536
 
#ifdef RTLD_GLOBAL
12537
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12538
 
#else
12539
 
#  ifdef DL_GLOBAL
12540
 
#    define LT_DLGLOBAL         DL_GLOBAL
12541
 
#  else
12542
 
#    define LT_DLGLOBAL         0
12543
 
#  endif
12544
 
#endif
12545
 
 
12546
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12547
 
   find out it does not work in some platform. */
12548
 
#ifndef LT_DLLAZY_OR_NOW
12549
 
#  ifdef RTLD_LAZY
12550
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12551
 
#  else
12552
 
#    ifdef DL_LAZY
12553
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12554
 
#    else
12555
 
#      ifdef RTLD_NOW
12556
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12557
 
#      else
12558
 
#        ifdef DL_NOW
12559
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12560
 
#        else
12561
 
#          define LT_DLLAZY_OR_NOW      0
12562
 
#        endif
12563
 
#      endif
12564
 
#    endif
12565
 
#  endif
12566
 
#endif
12567
 
 
12568
 
#ifdef __cplusplus
12569
 
extern "C" void exit (int);
12570
 
#endif
12571
 
 
12572
 
void fnord() { int i=42;}
12573
 
int main ()
12574
 
{
12575
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12576
 
  int status = $lt_dlunknown;
12577
 
 
12578
 
  if (self)
12579
 
    {
12580
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12581
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12582
 
      /* dlclose (self); */
12583
 
    }
12584
 
 
12585
 
    exit (status);
12586
 
}
12587
 
EOF
12588
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12589
 
  (eval $ac_link) 2>&5
12590
 
  ac_status=$?
12591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12593
 
    (./conftest; exit; ) 2>/dev/null
12594
 
    lt_status=$?
12595
 
    case x$lt_status in
12596
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12597
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12598
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12599
 
    esac
12600
 
  else :
12601
 
    # compilation failed
12602
 
    lt_cv_dlopen_self=no
12603
 
  fi
12604
 
fi
12605
 
rm -fr conftest*
12606
 
 
12607
 
 
12608
 
fi
12609
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12610
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12611
 
 
12612
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12613
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12614
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12615
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12616
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12617
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12618
 
else
12619
 
          if test "$cross_compiling" = yes; then :
12620
 
  lt_cv_dlopen_self_static=cross
12621
 
else
12622
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12623
 
  lt_status=$lt_dlunknown
12624
 
  cat > conftest.$ac_ext <<EOF
12625
 
#line 12625 "configure"
12626
 
#include "confdefs.h"
12627
 
 
12628
 
#if HAVE_DLFCN_H
12629
 
#include <dlfcn.h>
12630
 
#endif
12631
 
 
12632
 
#include <stdio.h>
12633
 
 
12634
 
#ifdef RTLD_GLOBAL
12635
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12636
 
#else
12637
 
#  ifdef DL_GLOBAL
12638
 
#    define LT_DLGLOBAL         DL_GLOBAL
12639
 
#  else
12640
 
#    define LT_DLGLOBAL         0
12641
 
#  endif
12642
 
#endif
12643
 
 
12644
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12645
 
   find out it does not work in some platform. */
12646
 
#ifndef LT_DLLAZY_OR_NOW
12647
 
#  ifdef RTLD_LAZY
12648
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12649
 
#  else
12650
 
#    ifdef DL_LAZY
12651
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12652
 
#    else
12653
 
#      ifdef RTLD_NOW
12654
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12655
 
#      else
12656
 
#        ifdef DL_NOW
12657
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12658
 
#        else
12659
 
#          define LT_DLLAZY_OR_NOW      0
12660
 
#        endif
12661
 
#      endif
12662
 
#    endif
12663
 
#  endif
12664
 
#endif
12665
 
 
12666
 
#ifdef __cplusplus
12667
 
extern "C" void exit (int);
12668
 
#endif
12669
 
 
12670
 
void fnord() { int i=42;}
12671
 
int main ()
12672
 
{
12673
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12674
 
  int status = $lt_dlunknown;
12675
 
 
12676
 
  if (self)
12677
 
    {
12678
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12679
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12680
 
      /* dlclose (self); */
12681
 
    }
12682
 
 
12683
 
    exit (status);
12684
 
}
12685
 
EOF
12686
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12687
 
  (eval $ac_link) 2>&5
12688
 
  ac_status=$?
12689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12691
 
    (./conftest; exit; ) 2>/dev/null
12692
 
    lt_status=$?
12693
 
    case x$lt_status in
12694
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12695
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12696
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12697
 
    esac
12698
 
  else :
12699
 
    # compilation failed
12700
 
    lt_cv_dlopen_self_static=no
12701
 
  fi
12702
 
fi
12703
 
rm -fr conftest*
12704
 
 
12705
 
 
12706
 
fi
12707
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12708
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12709
 
    fi
12710
 
 
12711
 
    CPPFLAGS="$save_CPPFLAGS"
12712
 
    LDFLAGS="$save_LDFLAGS"
12713
 
    LIBS="$save_LIBS"
12714
 
    ;;
12715
 
  esac
12716
 
 
12717
 
  case $lt_cv_dlopen_self in
12718
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12719
 
  *) enable_dlopen_self=unknown ;;
12720
 
  esac
12721
 
 
12722
 
  case $lt_cv_dlopen_self_static in
12723
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12724
 
  *) enable_dlopen_self_static=unknown ;;
12725
 
  esac
12726
 
fi
12727
 
 
12728
 
 
12729
 
# Report which librarie types wil actually be built
12730
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12731
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12732
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12733
 
echo "${ECHO_T}$can_build_shared" >&6; }
12734
 
 
12735
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12736
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12737
 
test "$can_build_shared" = "no" && enable_shared=no
12738
 
 
12739
 
# On AIX, shared libraries and static libraries use the same namespace, and
12740
 
# are all built from PIC.
12741
 
case "$host_os" in
12742
 
aix3*)
12743
 
  test "$enable_shared" = yes && enable_static=no
12744
 
  if test -n "$RANLIB"; then
12745
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
12746
 
    postinstall_cmds='$RANLIB $lib'
12747
 
  fi
12748
 
  ;;
12749
 
 
12750
 
aix4*)
12751
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12752
 
    test "$enable_shared" = yes && enable_static=no
12753
 
  fi
12754
 
  ;;
12755
 
  darwin* | rhapsody*)
12756
 
  if test "$GCC" = yes; then
12757
 
    archive_cmds_need_lc=no
12758
 
    case "$host_os" in
12759
 
    rhapsody* | darwin1.[012])
12760
 
      allow_undefined_flag='-Wl,-undefined -Wl,suppress'
12761
 
      ;;
12762
 
    *) # Darwin 1.3 on
12763
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12764
 
        allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12765
 
      else
12766
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
12767
 
          10.012)
12768
 
            allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12769
 
            ;;
12770
 
          10.*)
12771
 
            allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
12772
 
            ;;
12773
 
        esac
12774
 
      fi
12775
 
      ;;
12776
 
    esac
12777
 
    output_verbose_link_cmd='echo'
12778
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
12779
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
12780
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12781
 
    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}'
12782
 
    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}'
12783
 
    hardcode_direct=no
12784
 
    hardcode_automatic=yes
12785
 
    hardcode_shlibpath_var=unsupported
12786
 
    whole_archive_flag_spec='-all_load $convenience'
12787
 
    link_all_deplibs=yes
12788
 
  else
12789
 
    ld_shlibs=no
12790
 
  fi
12791
 
    ;;
12792
 
esac
12793
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12794
 
echo "${ECHO_T}$enable_shared" >&6; }
12795
 
 
12796
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12797
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12798
 
# Make sure either enable_shared or enable_static is yes.
12799
 
test "$enable_shared" = yes || enable_static=yes
12800
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
12801
 
echo "${ECHO_T}$enable_static" >&6; }
12802
 
 
12803
 
# The else clause should only fire when bootstrapping the
12804
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
12805
 
# with your package, and you will get complaints that there are
12806
 
# no rules to generate ltmain.sh.
12807
 
if test -f "$ltmain"; then
12808
 
  # See if we are running on zsh, and set the options which allow our commands through
12809
 
  # without removal of \ escapes.
12810
 
  if test -n "${ZSH_VERSION+set}" ; then
12811
 
    setopt NO_GLOB_SUBST
12812
 
  fi
12813
 
  # Now quote all the things that may contain metacharacters while being
12814
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12815
 
  # variables and quote the copies for generation of the libtool script.
12816
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12817
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12818
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12819
 
    deplibs_check_method reload_flag reload_cmds need_locks \
12820
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12821
 
    lt_cv_sys_global_symbol_to_c_name_address \
12822
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12823
 
    old_postinstall_cmds old_postuninstall_cmds \
12824
 
    compiler \
12825
 
    CC \
12826
 
    LD \
12827
 
    lt_prog_compiler_wl \
12828
 
    lt_prog_compiler_pic \
12829
 
    lt_prog_compiler_static \
12830
 
    lt_prog_compiler_no_builtin_flag \
12831
 
    export_dynamic_flag_spec \
12832
 
    thread_safe_flag_spec \
12833
 
    whole_archive_flag_spec \
12834
 
    enable_shared_with_static_runtimes \
12835
 
    old_archive_cmds \
12836
 
    old_archive_from_new_cmds \
12837
 
    predep_objects \
12838
 
    postdep_objects \
12839
 
    predeps \
12840
 
    postdeps \
12841
 
    compiler_lib_search_path \
12842
 
    archive_cmds \
12843
 
    archive_expsym_cmds \
12844
 
    postinstall_cmds \
12845
 
    postuninstall_cmds \
12846
 
    old_archive_from_expsyms_cmds \
12847
 
    allow_undefined_flag \
12848
 
    no_undefined_flag \
12849
 
    export_symbols_cmds \
12850
 
    hardcode_libdir_flag_spec \
12851
 
    hardcode_libdir_flag_spec_ld \
12852
 
    hardcode_libdir_separator \
12853
 
    hardcode_automatic \
12854
 
    module_cmds \
12855
 
    module_expsym_cmds \
12856
 
    lt_cv_prog_compiler_c_o \
12857
 
    exclude_expsyms \
12858
 
    include_expsyms; do
12859
 
 
12860
 
    case $var in
12861
 
    old_archive_cmds | \
12862
 
    old_archive_from_new_cmds | \
12863
 
    archive_cmds | \
12864
 
    archive_expsym_cmds | \
12865
 
    module_cmds | \
12866
 
    module_expsym_cmds | \
12867
 
    old_archive_from_expsyms_cmds | \
12868
 
    export_symbols_cmds | \
12869
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
12870
 
    postinstall_cmds | postuninstall_cmds | \
12871
 
    old_postinstall_cmds | old_postuninstall_cmds | \
12872
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12873
 
      # Double-quote double-evaled strings.
12874
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12875
 
      ;;
12876
 
    *)
12877
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12878
 
      ;;
12879
 
    esac
12880
 
  done
12881
 
 
12882
 
  case $lt_echo in
12883
 
  *'\$0 --fallback-echo"')
12884
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12885
 
    ;;
12886
 
  esac
12887
 
 
12888
 
cfgfile="${ofile}T"
12889
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12890
 
  $rm -f "$cfgfile"
12891
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
12892
 
echo "$as_me: creating $ofile" >&6;}
12893
 
 
12894
 
  cat <<__EOF__ >> "$cfgfile"
12895
 
#! $SHELL
12896
 
 
12897
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12898
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12899
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12900
 
#
12901
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
12902
 
# Free Software Foundation, Inc.
12903
 
#
12904
 
# This file is part of GNU Libtool:
12905
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12906
 
#
12907
 
# This program is free software; you can redistribute it and/or modify
12908
 
# it under the terms of the GNU General Public License as published by
12909
 
# the Free Software Foundation; either version 2 of the License, or
12910
 
# (at your option) any later version.
12911
 
#
12912
 
# This program is distributed in the hope that it will be useful, but
12913
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
12914
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12915
 
# General Public License for more details.
12916
 
#
12917
 
# You should have received a copy of the GNU General Public License
12918
 
# along with this program; if not, write to the Free Software
12919
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12920
 
#
12921
 
# As a special exception to the GNU General Public License, if you
12922
 
# distribute this file as part of a program that contains a
12923
 
# configuration script generated by Autoconf, you may include it under
12924
 
# the same distribution terms that you use for the rest of that program.
12925
 
 
12926
 
# A sed program that does not truncate output.
12927
 
SED=$lt_SED
12928
 
 
12929
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12930
 
Xsed="$SED -e s/^X//"
12931
 
 
12932
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
12933
 
# if CDPATH is set.
12934
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
12935
 
 
12936
 
# The names of the tagged configurations supported by this script.
12937
 
available_tags=
12938
 
 
12939
 
# ### BEGIN LIBTOOL CONFIG
12940
 
 
12941
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12942
 
 
12943
 
# Shell to use when invoking shell scripts.
12944
 
SHELL=$lt_SHELL
12945
 
 
12946
 
# Whether or not to build shared libraries.
12947
 
build_libtool_libs=$enable_shared
12948
 
 
12949
 
# Whether or not to build static libraries.
12950
 
build_old_libs=$enable_static
12951
 
 
12952
 
# Whether or not to add -lc for building shared libraries.
12953
 
build_libtool_need_lc=$archive_cmds_need_lc
12954
 
 
12955
 
# Whether or not to disallow shared libs when runtime libs are static
12956
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12957
 
 
12958
 
# Whether or not to optimize for fast installation.
12959
 
fast_install=$enable_fast_install
12960
 
 
12961
 
# The host system.
12962
 
host_alias=$host_alias
12963
 
host=$host
12964
 
 
12965
 
# An echo program that does not interpret backslashes.
12966
 
echo=$lt_echo
12967
 
 
12968
 
# The archiver.
12969
 
AR=$lt_AR
12970
 
AR_FLAGS=$lt_AR_FLAGS
12971
 
 
12972
 
# A C compiler.
12973
 
LTCC=$lt_LTCC
12974
 
 
12975
 
# A language-specific compiler.
12976
 
CC=$lt_compiler
12977
 
 
12978
 
# Is the compiler the GNU C compiler?
12979
 
with_gcc=$GCC
12980
 
 
12981
 
# An ERE matcher.
12982
 
EGREP=$lt_EGREP
12983
 
 
12984
 
# The linker used to build libraries.
12985
 
LD=$lt_LD
12986
 
 
12987
 
# Whether we need hard or soft links.
12988
 
LN_S=$lt_LN_S
12989
 
 
12990
 
# A BSD-compatible nm program.
12991
 
NM=$lt_NM
12992
 
 
12993
 
# A symbol stripping program
12994
 
STRIP=$STRIP
12995
 
 
12996
 
# Used to examine libraries when file_magic_cmd begins "file"
12997
 
MAGIC_CMD=$MAGIC_CMD
12998
 
 
12999
 
# Used on cygwin: DLL creation program.
13000
 
DLLTOOL="$DLLTOOL"
13001
 
 
13002
 
# Used on cygwin: object dumper.
13003
 
OBJDUMP="$OBJDUMP"
13004
 
 
13005
 
# Used on cygwin: assembler.
13006
 
AS="$AS"
13007
 
 
13008
 
# The name of the directory that contains temporary libtool files.
13009
 
objdir=$objdir
13010
 
 
13011
 
# How to create reloadable object files.
13012
 
reload_flag=$lt_reload_flag
13013
 
reload_cmds=$lt_reload_cmds
13014
 
 
13015
 
# How to pass a linker flag through the compiler.
13016
 
wl=$lt_lt_prog_compiler_wl
13017
 
 
13018
 
# Object file suffix (normally "o").
13019
 
objext="$ac_objext"
13020
 
 
13021
 
# Old archive suffix (normally "a").
13022
 
libext="$libext"
13023
 
 
13024
 
# Shared library suffix (normally ".so").
13025
 
shrext='$shrext'
13026
 
 
13027
 
# Executable file suffix (normally "").
13028
 
exeext="$exeext"
13029
 
 
13030
 
# Additional compiler flags for building library objects.
13031
 
pic_flag=$lt_lt_prog_compiler_pic
13032
 
pic_mode=$pic_mode
13033
 
 
13034
 
# What is the maximum length of a command?
13035
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13036
 
 
13037
 
# Does compiler simultaneously support -c and -o options?
13038
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13039
 
 
13040
 
# Must we lock files when doing compilation ?
13041
 
need_locks=$lt_need_locks
13042
 
 
13043
 
# Do we need the lib prefix for modules?
13044
 
need_lib_prefix=$need_lib_prefix
13045
 
 
13046
 
# Do we need a version for libraries?
13047
 
need_version=$need_version
13048
 
 
13049
 
# Whether dlopen is supported.
13050
 
dlopen_support=$enable_dlopen
13051
 
 
13052
 
# Whether dlopen of programs is supported.
13053
 
dlopen_self=$enable_dlopen_self
13054
 
 
13055
 
# Whether dlopen of statically linked programs is supported.
13056
 
dlopen_self_static=$enable_dlopen_self_static
13057
 
 
13058
 
# Compiler flag to prevent dynamic linking.
13059
 
link_static_flag=$lt_lt_prog_compiler_static
13060
 
 
13061
 
# Compiler flag to turn off builtin functions.
13062
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13063
 
 
13064
 
# Compiler flag to allow reflexive dlopens.
13065
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13066
 
 
13067
 
# Compiler flag to generate shared objects directly from archives.
13068
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
13069
 
 
13070
 
# Compiler flag to generate thread-safe objects.
13071
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
13072
 
 
13073
 
# Library versioning type.
13074
 
version_type=$version_type
13075
 
 
13076
 
# Format of library name prefix.
13077
 
libname_spec=$lt_libname_spec
13078
 
 
13079
 
# List of archive names.  First name is the real one, the rest are links.
13080
 
# The last name is the one that the linker finds with -lNAME.
13081
 
library_names_spec=$lt_library_names_spec
13082
 
 
13083
 
# The coded name of the library, if different from the real name.
13084
 
soname_spec=$lt_soname_spec
13085
 
 
13086
 
# Commands used to build and install an old-style archive.
13087
 
RANLIB=$lt_RANLIB
13088
 
old_archive_cmds=$lt_old_archive_cmds
13089
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13090
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13091
 
 
13092
 
# Create an old-style archive from a shared archive.
13093
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13094
 
 
13095
 
# Create a temporary old-style archive to link instead of a shared archive.
13096
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13097
 
 
13098
 
# Commands used to build and install a shared archive.
13099
 
archive_cmds=$lt_archive_cmds
13100
 
archive_expsym_cmds=$lt_archive_expsym_cmds
13101
 
postinstall_cmds=$lt_postinstall_cmds
13102
 
postuninstall_cmds=$lt_postuninstall_cmds
13103
 
 
13104
 
# Commands used to build a loadable module (assumed same as above if empty)
13105
 
module_cmds=$lt_module_cmds
13106
 
module_expsym_cmds=$lt_module_expsym_cmds
13107
 
 
13108
 
# Commands to strip libraries.
13109
 
old_striplib=$lt_old_striplib
13110
 
striplib=$lt_striplib
13111
 
 
13112
 
# Dependencies to place before the objects being linked to create a
13113
 
# shared library.
13114
 
predep_objects=$lt_predep_objects
13115
 
 
13116
 
# Dependencies to place after the objects being linked to create a
13117
 
# shared library.
13118
 
postdep_objects=$lt_postdep_objects
13119
 
 
13120
 
# Dependencies to place before the objects being linked to create a
13121
 
# shared library.
13122
 
predeps=$lt_predeps
13123
 
 
13124
 
# Dependencies to place after the objects being linked to create a
13125
 
# shared library.
13126
 
postdeps=$lt_postdeps
13127
 
 
13128
 
# The library search path used internally by the compiler when linking
13129
 
# a shared library.
13130
 
compiler_lib_search_path=$lt_compiler_lib_search_path
13131
 
 
13132
 
# Method to check whether dependent libraries are shared objects.
13133
 
deplibs_check_method=$lt_deplibs_check_method
13134
 
 
13135
 
# Command to use when deplibs_check_method == file_magic.
13136
 
file_magic_cmd=$lt_file_magic_cmd
13137
 
 
13138
 
# Flag that allows shared libraries with undefined symbols to be built.
13139
 
allow_undefined_flag=$lt_allow_undefined_flag
13140
 
 
13141
 
# Flag that forces no undefined symbols.
13142
 
no_undefined_flag=$lt_no_undefined_flag
13143
 
 
13144
 
# Commands used to finish a libtool library installation in a directory.
13145
 
finish_cmds=$lt_finish_cmds
13146
 
 
13147
 
# Same as above, but a single script fragment to be evaled but not shown.
13148
 
finish_eval=$lt_finish_eval
13149
 
 
13150
 
# Take the output of nm and produce a listing of raw symbols and C names.
13151
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13152
 
 
13153
 
# Transform the output of nm in a proper C declaration
13154
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13155
 
 
13156
 
# Transform the output of nm in a C name address pair
13157
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13158
 
 
13159
 
# This is the shared library runtime path variable.
13160
 
runpath_var=$runpath_var
13161
 
 
13162
 
# This is the shared library path variable.
13163
 
shlibpath_var=$shlibpath_var
13164
 
 
13165
 
# Is shlibpath searched before the hard-coded library search path?
13166
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13167
 
 
13168
 
# How to hardcode a shared library path into an executable.
13169
 
hardcode_action=$hardcode_action
13170
 
 
13171
 
# Whether we should hardcode library paths into libraries.
13172
 
hardcode_into_libs=$hardcode_into_libs
13173
 
 
13174
 
# Flag to hardcode \$libdir into a binary during linking.
13175
 
# This must work even if \$libdir does not exist.
13176
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13177
 
 
13178
 
# If ld is used when linking, flag to hardcode \$libdir into
13179
 
# a binary during linking. This must work even if \$libdir does
13180
 
# not exist.
13181
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13182
 
 
13183
 
# Whether we need a single -rpath flag with a separated argument.
13184
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13185
 
 
13186
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13187
 
# resulting binary.
13188
 
hardcode_direct=$hardcode_direct
13189
 
 
13190
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13191
 
# resulting binary.
13192
 
hardcode_minus_L=$hardcode_minus_L
13193
 
 
13194
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13195
 
# the resulting binary.
13196
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
13197
 
 
13198
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13199
 
# and all subsequent libraries and executables linked against it.
13200
 
hardcode_automatic=$hardcode_automatic
13201
 
 
13202
 
# Variables whose values should be saved in libtool wrapper scripts and
13203
 
# restored at relink time.
13204
 
variables_saved_for_relink="$variables_saved_for_relink"
13205
 
 
13206
 
# Whether libtool must link a program against all its dependency libraries.
13207
 
link_all_deplibs=$link_all_deplibs
13208
 
 
13209
 
# Compile-time system search path for libraries
13210
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13211
 
 
13212
 
# Run-time system search path for libraries
13213
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13214
 
 
13215
 
# Fix the shell variable \$srcfile for the compiler.
13216
 
fix_srcfile_path="$fix_srcfile_path"
13217
 
 
13218
 
# Set to yes if exported symbols are required.
13219
 
always_export_symbols=$always_export_symbols
13220
 
 
13221
 
# The commands to list exported symbols.
13222
 
export_symbols_cmds=$lt_export_symbols_cmds
13223
 
 
13224
 
# The commands to extract the exported symbol list from a shared archive.
13225
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13226
 
 
13227
 
# Symbols that should not be listed in the preloaded symbols.
13228
 
exclude_expsyms=$lt_exclude_expsyms
13229
 
 
13230
 
# Symbols that must always be exported.
13231
 
include_expsyms=$lt_include_expsyms
13232
 
 
13233
 
# ### END LIBTOOL CONFIG
13234
 
 
13235
 
__EOF__
13236
 
 
13237
 
 
13238
 
  case $host_os in
13239
 
  aix3*)
13240
 
    cat <<\EOF >> "$cfgfile"
13241
 
 
13242
 
# AIX sometimes has problems with the GCC collect2 program.  For some
13243
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
13244
 
# vanish in a puff of smoke.
13245
 
if test "X${COLLECT_NAMES+set}" != Xset; then
13246
 
  COLLECT_NAMES=
13247
 
  export COLLECT_NAMES
13248
 
fi
13249
 
EOF
13250
 
    ;;
13251
 
  esac
13252
 
 
13253
 
  # We use sed instead of cat because bash on DJGPP gets confused if
13254
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13255
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
13256
 
  # is reportedly fixed, but why not run on old versions too?
13257
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13258
 
 
13259
 
  mv -f "$cfgfile" "$ofile" || \
13260
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13261
 
  chmod +x "$ofile"
13262
 
 
13263
 
else
13264
 
  # If there is no Makefile yet, we rely on a make rule to execute
13265
 
  # `config.status --recheck' to rerun these tests and create the
13266
 
  # libtool script then.
13267
 
  test -f Makefile && make "$ltmain"
13268
 
fi
13269
 
 
13270
 
 
13271
 
ac_ext=c
13272
 
ac_cpp='$CPP $CPPFLAGS'
13273
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13274
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13275
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13276
 
 
13277
 
CC="$lt_save_CC"
13278
 
 
13279
 
 
13280
 
# Check whether --with-tags was given.
13281
 
if test "${with_tags+set}" = set; then
13282
 
  withval=$with_tags; tagnames="$withval"
13283
 
fi
13284
 
 
13285
 
 
13286
 
if test -f "$ltmain" && test -n "$tagnames"; then
13287
 
  if test ! -f "${ofile}"; then
13288
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13289
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13290
 
  fi
13291
 
 
13292
 
  if test -z "$LTCC"; then
13293
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13294
 
    if test -z "$LTCC"; then
13295
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13296
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13297
 
    else
13298
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13299
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13300
 
    fi
13301
 
  fi
13302
 
 
13303
 
  # Extract list of available tagged configurations in $ofile.
13304
 
  # Note that this assumes the entire list is on one line.
13305
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13306
 
 
13307
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13308
 
  for tagname in $tagnames; do
13309
 
    IFS="$lt_save_ifs"
13310
 
    # Check whether tagname contains only valid characters
13311
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13312
 
    "") ;;
13313
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13314
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
13315
 
   { (exit 1); exit 1; }; }
13316
 
        ;;
13317
 
    esac
13318
 
 
13319
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13320
 
    then
13321
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13322
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13323
 
   { (exit 1); exit 1; }; }
13324
 
    fi
13325
 
 
13326
 
    # Update the list of available tags.
13327
 
    if test -n "$tagname"; then
13328
 
      echo appending configuration tag \"$tagname\" to $ofile
13329
 
 
13330
 
      case $tagname in
13331
 
      CXX)
13332
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
13333
 
          ac_ext=cpp
13334
 
ac_cpp='$CXXCPP $CPPFLAGS'
13335
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13336
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13337
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13338
 
 
13339
 
 
13340
 
 
13341
 
 
13342
 
archive_cmds_need_lc_CXX=no
13343
 
allow_undefined_flag_CXX=
13344
 
always_export_symbols_CXX=no
13345
 
archive_expsym_cmds_CXX=
13346
 
export_dynamic_flag_spec_CXX=
13347
 
hardcode_direct_CXX=no
13348
 
hardcode_libdir_flag_spec_CXX=
13349
 
hardcode_libdir_flag_spec_ld_CXX=
13350
 
hardcode_libdir_separator_CXX=
13351
 
hardcode_minus_L_CXX=no
13352
 
hardcode_automatic_CXX=no
13353
 
module_cmds_CXX=
13354
 
module_expsym_cmds_CXX=
13355
 
link_all_deplibs_CXX=unknown
13356
 
old_archive_cmds_CXX=$old_archive_cmds
13357
 
no_undefined_flag_CXX=
13358
 
whole_archive_flag_spec_CXX=
13359
 
enable_shared_with_static_runtimes_CXX=no
13360
 
 
13361
 
# Dependencies to place before and after the object being linked:
13362
 
predep_objects_CXX=
13363
 
postdep_objects_CXX=
13364
 
predeps_CXX=
13365
 
postdeps_CXX=
13366
 
compiler_lib_search_path_CXX=
13367
 
 
13368
 
# Source file extension for C++ test sources.
13369
 
ac_ext=cc
13370
 
 
13371
 
# Object file extension for compiled C++ test sources.
13372
 
objext=o
13373
 
objext_CXX=$objext
13374
 
 
13375
 
# Code to be used in simple compile tests
13376
 
lt_simple_compile_test_code="int some_variable = 0;\n"
13377
 
 
13378
 
# Code to be used in simple link tests
13379
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
13380
 
 
13381
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13382
 
 
13383
 
# If no C compiler was specified, use CC.
13384
 
LTCC=${LTCC-"$CC"}
13385
 
 
13386
 
# Allow CC to be a program name with arguments.
13387
 
compiler=$CC
13388
 
 
13389
 
 
13390
 
# Allow CC to be a program name with arguments.
13391
 
lt_save_CC=$CC
13392
 
lt_save_LD=$LD
13393
 
lt_save_GCC=$GCC
13394
 
GCC=$GXX
13395
 
lt_save_with_gnu_ld=$with_gnu_ld
13396
 
lt_save_path_LD=$lt_cv_path_LD
13397
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13398
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13399
 
else
13400
 
  unset lt_cv_prog_gnu_ld
13401
 
fi
13402
 
if test -n "${lt_cv_path_LDCXX+set}"; then
13403
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
13404
 
else
13405
 
  unset lt_cv_path_LD
13406
 
fi
13407
 
test -z "${LDCXX+set}" || LD=$LDCXX
13408
 
CC=${CXX-"c++"}
13409
 
compiler=$CC
13410
 
compiler_CXX=$CC
13411
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13412
 
 
13413
 
# We don't want -fno-exception wen compiling C++ code, so set the
13414
 
# no_builtin_flag separately
13415
 
if test "$GXX" = yes; then
13416
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13417
 
else
13418
 
  lt_prog_compiler_no_builtin_flag_CXX=
13419
 
fi
13420
 
 
13421
 
if test "$GXX" = yes; then
13422
 
  # Set up default GNU C++ configuration
13423
 
 
13424
 
 
13425
 
# Check whether --with-gnu-ld was given.
13426
 
if test "${with_gnu_ld+set}" = set; then
13427
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13428
 
else
13429
 
  with_gnu_ld=no
13430
 
fi
13431
 
 
13432
 
ac_prog=ld
13433
 
if test "$GCC" = yes; then
13434
 
  # Check if gcc -print-prog-name=ld gives a path.
13435
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13436
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13437
 
  case $host in
13438
 
  *-*-mingw*)
13439
 
    # gcc leaves a trailing carriage return which upsets mingw
13440
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13441
 
  *)
13442
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13443
 
  esac
13444
 
  case $ac_prog in
13445
 
    # Accept absolute paths.
13446
 
    [\\/]* | ?:[\\/]*)
13447
 
      re_direlt='/[^/][^/]*/\.\./'
13448
 
      # Canonicalize the pathname of ld
13449
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13450
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13451
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13452
 
      done
13453
 
      test -z "$LD" && LD="$ac_prog"
13454
 
      ;;
13455
 
  "")
13456
 
    # If it fails, then pretend we aren't using GCC.
13457
 
    ac_prog=ld
13458
 
    ;;
13459
 
  *)
13460
 
    # If it is relative, then search for the first ld in PATH.
13461
 
    with_gnu_ld=unknown
13462
 
    ;;
13463
 
  esac
13464
 
elif test "$with_gnu_ld" = yes; then
13465
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
13466
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13467
 
else
13468
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13469
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13470
 
fi
13471
 
if test "${lt_cv_path_LD+set}" = set; then
13472
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13473
 
else
13474
 
  if test -z "$LD"; then
13475
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13476
 
  for ac_dir in $PATH; do
13477
 
    IFS="$lt_save_ifs"
13478
 
    test -z "$ac_dir" && ac_dir=.
13479
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13480
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
13481
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
13482
 
      # but apparently some GNU ld's only accept -v.
13483
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
13484
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13485
 
      *GNU* | *'with BFD'*)
13486
 
        test "$with_gnu_ld" != no && break
13487
 
        ;;
13488
 
      *)
13489
 
        test "$with_gnu_ld" != yes && break
13490
 
        ;;
13491
 
      esac
13492
 
    fi
13493
 
  done
13494
 
  IFS="$lt_save_ifs"
13495
 
else
13496
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
13497
 
fi
13498
 
fi
13499
 
 
13500
 
LD="$lt_cv_path_LD"
13501
 
if test -n "$LD"; then
13502
 
  { echo "$as_me:$LINENO: result: $LD" >&5
13503
 
echo "${ECHO_T}$LD" >&6; }
13504
 
else
13505
 
  { echo "$as_me:$LINENO: result: no" >&5
13506
 
echo "${ECHO_T}no" >&6; }
13507
 
fi
13508
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13509
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13510
 
   { (exit 1); exit 1; }; }
13511
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13512
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13513
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13514
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13515
 
else
13516
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13517
 
case `$LD -v 2>&1 </dev/null` in
13518
 
*GNU* | *'with BFD'*)
13519
 
  lt_cv_prog_gnu_ld=yes
13520
 
  ;;
13521
 
*)
13522
 
  lt_cv_prog_gnu_ld=no
13523
 
  ;;
13524
 
esac
13525
 
fi
13526
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13527
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13528
 
with_gnu_ld=$lt_cv_prog_gnu_ld
13529
 
 
13530
 
 
13531
 
 
13532
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
13533
 
  # archiving commands below assume that GNU ld is being used.
13534
 
  if test "$with_gnu_ld" = yes; then
13535
 
    archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13536
 
    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'
13537
 
 
13538
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13539
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13540
 
 
13541
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
13542
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13543
 
    #     investigate it a little bit more. (MM)
13544
 
    wlarc='${wl}'
13545
 
 
13546
 
    # ancient GNU ld didn't support --whole-archive et. al.
13547
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13548
 
        grep 'no-whole-archive' > /dev/null; then
13549
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13550
 
    else
13551
 
      whole_archive_flag_spec_CXX=
13552
 
    fi
13553
 
  else
13554
 
    with_gnu_ld=no
13555
 
    wlarc=
13556
 
 
13557
 
    # A generic and very simple default shared library creation
13558
 
    # command for GNU C++ for the case where it uses the native
13559
 
    # linker, instead of GNU ld.  If possible, this setting should
13560
 
    # overridden to take advantage of the native linker features on
13561
 
    # the platform it is being used on.
13562
 
    archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
13563
 
  fi
13564
 
 
13565
 
  # Commands to make compiler produce verbose output that lists
13566
 
  # what "hidden" libraries, object files and flags are used when
13567
 
  # linking a shared library.
13568
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13569
 
 
13570
 
else
13571
 
  GXX=no
13572
 
  with_gnu_ld=no
13573
 
  wlarc=
13574
 
fi
13575
 
 
13576
 
# PORTME: fill in a description of your system's C++ link characteristics
13577
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13578
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13579
 
ld_shlibs_CXX=yes
13580
 
case $host_os in
13581
 
  aix3*)
13582
 
    # FIXME: insert proper C++ library support
13583
 
    ld_shlibs_CXX=no
13584
 
    ;;
13585
 
  aix4* | aix5*)
13586
 
    if test "$host_cpu" = ia64; then
13587
 
      # On IA64, the linker does run time linking by default, so we don't
13588
 
      # have to do anything special.
13589
 
      aix_use_runtimelinking=no
13590
 
      exp_sym_flag='-Bexport'
13591
 
      no_entry_flag=""
13592
 
    else
13593
 
      # KDE requires run time linking.  Make it the default.
13594
 
      aix_use_runtimelinking=yes
13595
 
      exp_sym_flag='-bexport'
13596
 
      no_entry_flag='-bnoentry'
13597
 
    fi
13598
 
 
13599
 
    # When large executables or shared objects are built, AIX ld can
13600
 
    # have problems creating the table of contents.  If linking a library
13601
 
    # or program results in "error TOC overflow" add -mminimal-toc to
13602
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13603
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13604
 
 
13605
 
    archive_cmds_CXX=''
13606
 
    hardcode_direct_CXX=yes
13607
 
    hardcode_libdir_separator_CXX=':'
13608
 
    link_all_deplibs_CXX=yes
13609
 
 
13610
 
    if test "$GXX" = yes; then
13611
 
      case $host_os in aix4.012|aix4.012.*)
13612
 
      # We only want to do this on AIX 4.2 and lower, the check
13613
 
      # below for broken collect2 doesn't work under 4.3+
13614
 
        collect2name=`${CC} -print-prog-name=collect2`
13615
 
        if test -f "$collect2name" && \
13616
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13617
 
        then
13618
 
          # We have reworked collect2
13619
 
          hardcode_direct_CXX=yes
13620
 
        else
13621
 
          # We have old collect2
13622
 
          hardcode_direct_CXX=unsupported
13623
 
          # It fails to find uninstalled libraries when the uninstalled
13624
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
13625
 
          # to unsupported forces relinking
13626
 
          hardcode_minus_L_CXX=yes
13627
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
13628
 
          hardcode_libdir_separator_CXX=
13629
 
        fi
13630
 
      esac
13631
 
      shared_flag='-shared'
13632
 
    else
13633
 
      # not using gcc
13634
 
      if test "$host_cpu" = ia64; then
13635
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13636
 
        # chokes on -Wl,-G. The following line is correct:
13637
 
        shared_flag='-G'
13638
 
      else
13639
 
        if test "$aix_use_runtimelinking" = yes; then
13640
 
          shared_flag='-qmkshrobj ${wl}-G'
13641
 
        else
13642
 
          shared_flag='-qmkshrobj'
13643
 
        fi
13644
 
      fi
13645
 
    fi
13646
 
 
13647
 
    # Let the compiler handle the export list.
13648
 
    always_export_symbols_CXX=no
13649
 
    if test "$aix_use_runtimelinking" = yes; then
13650
 
      # Warning - without using the other runtime loading flags (-brtl),
13651
 
      # -berok will link without error, but may produce a broken library.
13652
 
      allow_undefined_flag_CXX='-berok'
13653
 
      # Determine the default libpath from the value encoded in an empty executable.
13654
 
      cat >conftest.$ac_ext <<_ACEOF
13655
 
/* confdefs.h.  */
13656
 
_ACEOF
13657
 
cat confdefs.h >>conftest.$ac_ext
13658
 
cat >>conftest.$ac_ext <<_ACEOF
13659
 
/* end confdefs.h.  */
13660
 
 
13661
 
int
13662
 
main ()
13663
 
{
13664
 
 
13665
 
  ;
13666
 
  return 0;
13667
 
}
13668
 
_ACEOF
13669
 
rm -f conftest.$ac_objext conftest$ac_exeext
13670
 
if { (ac_try="$ac_link"
13671
 
case "(($ac_try" in
13672
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13673
 
  *) ac_try_echo=$ac_try;;
13674
 
esac
13675
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13676
 
  (eval "$ac_link") 2>conftest.er1
13677
 
  ac_status=$?
13678
 
  grep -v '^ *+' conftest.er1 >conftest.err
13679
 
  rm -f conftest.er1
13680
 
  cat conftest.err >&5
13681
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682
 
  (exit $ac_status); } && {
13683
 
         test -z "$ac_cxx_werror_flag" ||
13684
 
         test ! -s conftest.err
13685
 
       } && test -s conftest$ac_exeext &&
13686
 
       $as_test_x conftest$ac_exeext; then
13687
 
 
13688
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13689
 
}'`
13690
 
# Check for a 64-bit object if we didn't find anything.
13691
 
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; }
13692
 
}'`; fi
13693
 
else
13694
 
  echo "$as_me: failed program was:" >&5
13695
 
sed 's/^/| /' conftest.$ac_ext >&5
13696
 
 
13697
 
 
13698
 
fi
13699
 
 
13700
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13701
 
      conftest$ac_exeext conftest.$ac_ext
13702
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13703
 
 
13704
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13705
 
 
13706
 
      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"
13707
 
      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"
13708
 
     else
13709
 
      if test "$host_cpu" = ia64; then
13710
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13711
 
        allow_undefined_flag_CXX="-z nodefs"
13712
 
        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"
13713
 
      else
13714
 
        # Determine the default libpath from the value encoded in an empty executable.
13715
 
        cat >conftest.$ac_ext <<_ACEOF
13716
 
/* confdefs.h.  */
13717
 
_ACEOF
13718
 
cat confdefs.h >>conftest.$ac_ext
13719
 
cat >>conftest.$ac_ext <<_ACEOF
13720
 
/* end confdefs.h.  */
13721
 
 
13722
 
int
13723
 
main ()
13724
 
{
13725
 
 
13726
 
  ;
13727
 
  return 0;
13728
 
}
13729
 
_ACEOF
13730
 
rm -f conftest.$ac_objext conftest$ac_exeext
13731
 
if { (ac_try="$ac_link"
13732
 
case "(($ac_try" in
13733
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13734
 
  *) ac_try_echo=$ac_try;;
13735
 
esac
13736
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13737
 
  (eval "$ac_link") 2>conftest.er1
13738
 
  ac_status=$?
13739
 
  grep -v '^ *+' conftest.er1 >conftest.err
13740
 
  rm -f conftest.er1
13741
 
  cat conftest.err >&5
13742
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743
 
  (exit $ac_status); } && {
13744
 
         test -z "$ac_cxx_werror_flag" ||
13745
 
         test ! -s conftest.err
13746
 
       } && test -s conftest$ac_exeext &&
13747
 
       $as_test_x conftest$ac_exeext; then
13748
 
 
13749
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13750
 
}'`
13751
 
# Check for a 64-bit object if we didn't find anything.
13752
 
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; }
13753
 
}'`; fi
13754
 
else
13755
 
  echo "$as_me: failed program was:" >&5
13756
 
sed 's/^/| /' conftest.$ac_ext >&5
13757
 
 
13758
 
 
13759
 
fi
13760
 
 
13761
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13762
 
      conftest$ac_exeext conftest.$ac_ext
13763
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13764
 
 
13765
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13766
 
        # Warning - without using the other run time loading flags,
13767
 
        # -berok will link without error, but may produce a broken library.
13768
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
13769
 
        allow_undefined_flag_CXX=' ${wl}-berok'
13770
 
        # -bexpall does not export symbols beginning with underscore (_)
13771
 
        always_export_symbols_CXX=yes
13772
 
        # Exported symbols can be pulled into shared objects from archives
13773
 
        whole_archive_flag_spec_CXX=' '
13774
 
        archive_cmds_need_lc_CXX=yes
13775
 
        # This is similar to how AIX traditionally builds it's shared libraries.
13776
 
        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'
13777
 
      fi
13778
 
    fi
13779
 
    ;;
13780
 
  chorus*)
13781
 
    case $cc_basename in
13782
 
      *)
13783
 
        # FIXME: insert proper C++ library support
13784
 
        ld_shlibs_CXX=no
13785
 
        ;;
13786
 
    esac
13787
 
    ;;
13788
 
 
13789
 
  cygwin* | mingw* | pw32*)
13790
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13791
 
    # as there is no search path for DLLs.
13792
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
13793
 
    allow_undefined_flag_CXX=no
13794
 
    always_export_symbols_CXX=no
13795
 
    enable_shared_with_static_runtimes_CXX=yes
13796
 
 
13797
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13798
 
      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'
13799
 
      # If the export-symbols file already is a .def file (1st line
13800
 
      # is EXPORTS), use it as is; otherwise, prepend...
13801
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13802
 
        cp $export_symbols $output_objdir/$soname.def;
13803
 
      else
13804
 
        echo EXPORTS > $output_objdir/$soname.def;
13805
 
        cat $export_symbols >> $output_objdir/$soname.def;
13806
 
      fi~
13807
 
      $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'
13808
 
    else
13809
 
      ld_shlibs_CXX=no
13810
 
    fi
13811
 
  ;;
13812
 
 
13813
 
  darwin* | rhapsody*)
13814
 
  if test "$GXX" = yes; then
13815
 
    archive_cmds_need_lc_CXX=no
13816
 
    case "$host_os" in
13817
 
    rhapsody* | darwin1.[012])
13818
 
      allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress'
13819
 
      ;;
13820
 
    *) # Darwin 1.3 on
13821
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13822
 
        allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13823
 
      else
13824
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
13825
 
          10.012)
13826
 
            allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13827
 
            ;;
13828
 
          10.*)
13829
 
            allow_undefined_flag_CXX='-Wl,-undefined -Wl,dynamic_lookup'
13830
 
            ;;
13831
 
        esac
13832
 
      fi
13833
 
      ;;
13834
 
    esac
13835
 
    lt_int_apple_cc_single_mod=no
13836
 
    output_verbose_link_cmd='echo'
13837
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13838
 
      lt_int_apple_cc_single_mod=yes
13839
 
    fi
13840
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13841
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
13842
 
    else
13843
 
      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'
13844
 
    fi
13845
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
13846
 
 
13847
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13848
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13849
 
      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}'
13850
 
    else
13851
 
      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}'
13852
 
    fi
13853
 
    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}'
13854
 
    hardcode_direct_CXX=no
13855
 
    hardcode_automatic_CXX=yes
13856
 
    hardcode_shlibpath_var_CXX=unsupported
13857
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
13858
 
    link_all_deplibs_CXX=yes
13859
 
  else
13860
 
    ld_shlibs_CXX=no
13861
 
  fi
13862
 
    ;;
13863
 
 
13864
 
  dgux*)
13865
 
    case $cc_basename in
13866
 
      ec++)
13867
 
        # FIXME: insert proper C++ library support
13868
 
        ld_shlibs_CXX=no
13869
 
        ;;
13870
 
      ghcx)
13871
 
        # Green Hills C++ Compiler
13872
 
        # FIXME: insert proper C++ library support
13873
 
        ld_shlibs_CXX=no
13874
 
        ;;
13875
 
      *)
13876
 
        # FIXME: insert proper C++ library support
13877
 
        ld_shlibs_CXX=no
13878
 
        ;;
13879
 
    esac
13880
 
    ;;
13881
 
  freebsd12*)
13882
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
13883
 
    ld_shlibs_CXX=no
13884
 
    ;;
13885
 
  freebsd-elf*)
13886
 
    archive_cmds_need_lc_CXX=no
13887
 
    ;;
13888
 
  freebsd* | kfreebsd*-gnu)
13889
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13890
 
    # conventions
13891
 
    ld_shlibs_CXX=yes
13892
 
    ;;
13893
 
  gnu*)
13894
 
    ;;
13895
 
  hpux9*)
13896
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13897
 
    hardcode_libdir_separator_CXX=:
13898
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13899
 
    hardcode_direct_CXX=yes
13900
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
13901
 
                                # but as the default
13902
 
                                # location of the library.
13903
 
 
13904
 
    case $cc_basename in
13905
 
    CC)
13906
 
      # FIXME: insert proper C++ library support
13907
 
      ld_shlibs_CXX=no
13908
 
      ;;
13909
 
    aCC)
13910
 
      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'
13911
 
      # Commands to make compiler produce verbose output that lists
13912
 
      # what "hidden" libraries, object files and flags are used when
13913
 
      # linking a shared library.
13914
 
      #
13915
 
      # There doesn't appear to be a way to prevent this compiler from
13916
 
      # explicitly linking system object files so we need to strip them
13917
 
      # from the output so that they don't get included in the library
13918
 
      # dependencies.
13919
 
      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'
13920
 
      ;;
13921
 
    *)
13922
 
      if test "$GXX" = yes; then
13923
 
        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'
13924
 
      else
13925
 
        # FIXME: insert proper C++ library support
13926
 
        ld_shlibs_CXX=no
13927
 
      fi
13928
 
      ;;
13929
 
    esac
13930
 
    ;;
13931
 
  hpux10*|hpux11*)
13932
 
    if test $with_gnu_ld = no; then
13933
 
      case "$host_cpu" in
13934
 
      hppa*64*)
13935
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13936
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13937
 
        hardcode_libdir_separator_CXX=:
13938
 
        ;;
13939
 
      ia64*)
13940
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
13941
 
        ;;
13942
 
      *)
13943
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13944
 
        hardcode_libdir_separator_CXX=:
13945
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13946
 
        ;;
13947
 
      esac
13948
 
    fi
13949
 
    case "$host_cpu" in
13950
 
    hppa*64*)
13951
 
      hardcode_direct_CXX=no
13952
 
      hardcode_shlibpath_var_CXX=no
13953
 
      ;;
13954
 
    ia64*)
13955
 
      hardcode_direct_CXX=no
13956
 
      hardcode_shlibpath_var_CXX=no
13957
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13958
 
                                              # but as the default
13959
 
                                              # location of the library.
13960
 
      ;;
13961
 
    *)
13962
 
      hardcode_direct_CXX=yes
13963
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13964
 
                                              # but as the default
13965
 
                                              # location of the library.
13966
 
      ;;
13967
 
    esac
13968
 
 
13969
 
    case $cc_basename in
13970
 
      CC)
13971
 
        # FIXME: insert proper C++ library support
13972
 
        ld_shlibs_CXX=no
13973
 
        ;;
13974
 
      aCC)
13975
 
        case "$host_cpu" in
13976
 
        hppa*64*|ia64*)
13977
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13978
 
          ;;
13979
 
        *)
13980
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13981
 
          ;;
13982
 
        esac
13983
 
        # Commands to make compiler produce verbose output that lists
13984
 
        # what "hidden" libraries, object files and flags are used when
13985
 
        # linking a shared library.
13986
 
        #
13987
 
        # There doesn't appear to be a way to prevent this compiler from
13988
 
        # explicitly linking system object files so we need to strip them
13989
 
        # from the output so that they don't get included in the library
13990
 
        # dependencies.
13991
 
        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'
13992
 
        ;;
13993
 
      *)
13994
 
        if test "$GXX" = yes; then
13995
 
          if test $with_gnu_ld = no; then
13996
 
            case "$host_cpu" in
13997
 
            ia64*|hppa*64*)
13998
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13999
 
              ;;
14000
 
            *)
14001
 
              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'
14002
 
              ;;
14003
 
            esac
14004
 
          fi
14005
 
        else
14006
 
          # FIXME: insert proper C++ library support
14007
 
          ld_shlibs_CXX=no
14008
 
        fi
14009
 
        ;;
14010
 
    esac
14011
 
    ;;
14012
 
  irix5* | irix6*)
14013
 
    case $cc_basename in
14014
 
      CC)
14015
 
        # SGI C++
14016
 
        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'
14017
 
 
14018
 
        # Archives containing C++ object files must be created using
14019
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14020
 
        # necessary to make sure instantiated templates are included
14021
 
        # in the archive.
14022
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14023
 
        ;;
14024
 
      *)
14025
 
        if test "$GXX" = yes; then
14026
 
          if test "$with_gnu_ld" = no; then
14027
 
            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'
14028
 
          else
14029
 
            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'
14030
 
          fi
14031
 
        fi
14032
 
        link_all_deplibs_CXX=yes
14033
 
        ;;
14034
 
    esac
14035
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14036
 
    hardcode_libdir_separator_CXX=:
14037
 
    ;;
14038
 
  linux*)
14039
 
    case $cc_basename in
14040
 
      KCC)
14041
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14042
 
 
14043
 
        # KCC will only create a shared library if the output file
14044
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14045
 
        # to its proper name (with version) after linking.
14046
 
        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'
14047
 
        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'
14048
 
        # Commands to make compiler produce verbose output that lists
14049
 
        # what "hidden" libraries, object files and flags are used when
14050
 
        # linking a shared library.
14051
 
        #
14052
 
        # There doesn't appear to be a way to prevent this compiler from
14053
 
        # explicitly linking system object files so we need to strip them
14054
 
        # from the output so that they don't get included in the library
14055
 
        # dependencies.
14056
 
        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'
14057
 
 
14058
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
14059
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14060
 
 
14061
 
        # Archives containing C++ object files must be created using
14062
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14063
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14064
 
        ;;
14065
 
      icpc)
14066
 
        # Intel C++
14067
 
        with_gnu_ld=yes
14068
 
        archive_cmds_need_lc_CXX=no
14069
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14070
 
        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'
14071
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14072
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14073
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14074
 
        ;;
14075
 
      cxx)
14076
 
        # Compaq C++
14077
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14078
 
        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'
14079
 
 
14080
 
        runpath_var=LD_RUN_PATH
14081
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14082
 
        hardcode_libdir_separator_CXX=:
14083
 
 
14084
 
        # Commands to make compiler produce verbose output that lists
14085
 
        # what "hidden" libraries, object files and flags are used when
14086
 
        # linking a shared library.
14087
 
        #
14088
 
        # There doesn't appear to be a way to prevent this compiler from
14089
 
        # explicitly linking system object files so we need to strip them
14090
 
        # from the output so that they don't get included in the library
14091
 
        # dependencies.
14092
 
        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'
14093
 
        ;;
14094
 
    esac
14095
 
    ;;
14096
 
  lynxos*)
14097
 
    # FIXME: insert proper C++ library support
14098
 
    ld_shlibs_CXX=no
14099
 
    ;;
14100
 
  m88k*)
14101
 
    # FIXME: insert proper C++ library support
14102
 
    ld_shlibs_CXX=no
14103
 
    ;;
14104
 
  mvs*)
14105
 
    case $cc_basename in
14106
 
      cxx)
14107
 
        # FIXME: insert proper C++ library support
14108
 
        ld_shlibs_CXX=no
14109
 
        ;;
14110
 
      *)
14111
 
        # FIXME: insert proper C++ library support
14112
 
        ld_shlibs_CXX=no
14113
 
        ;;
14114
 
    esac
14115
 
    ;;
14116
 
  netbsd*)
14117
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14118
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14119
 
      wlarc=
14120
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
14121
 
      hardcode_direct_CXX=yes
14122
 
      hardcode_shlibpath_var_CXX=no
14123
 
    fi
14124
 
    # Workaround some broken pre-1.5 toolchains
14125
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14126
 
    ;;
14127
 
  osf3*)
14128
 
    case $cc_basename in
14129
 
      KCC)
14130
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14131
 
 
14132
 
        # KCC will only create a shared library if the output file
14133
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14134
 
        # to its proper name (with version) after linking.
14135
 
        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'
14136
 
 
14137
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14138
 
        hardcode_libdir_separator_CXX=:
14139
 
 
14140
 
        # Archives containing C++ object files must be created using
14141
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14142
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14143
 
 
14144
 
        ;;
14145
 
      RCC)
14146
 
        # Rational C++ 2.4.1
14147
 
        # FIXME: insert proper C++ library support
14148
 
        ld_shlibs_CXX=no
14149
 
        ;;
14150
 
      cxx)
14151
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14152
 
        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'
14153
 
 
14154
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14155
 
        hardcode_libdir_separator_CXX=:
14156
 
 
14157
 
        # Commands to make compiler produce verbose output that lists
14158
 
        # what "hidden" libraries, object files and flags are used when
14159
 
        # linking a shared library.
14160
 
        #
14161
 
        # There doesn't appear to be a way to prevent this compiler from
14162
 
        # explicitly linking system object files so we need to strip them
14163
 
        # from the output so that they don't get included in the library
14164
 
        # dependencies.
14165
 
        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'
14166
 
        ;;
14167
 
      *)
14168
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14169
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14170
 
          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'
14171
 
 
14172
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14173
 
          hardcode_libdir_separator_CXX=:
14174
 
 
14175
 
          # Commands to make compiler produce verbose output that lists
14176
 
          # what "hidden" libraries, object files and flags are used when
14177
 
          # linking a shared library.
14178
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14179
 
 
14180
 
        else
14181
 
          # FIXME: insert proper C++ library support
14182
 
          ld_shlibs_CXX=no
14183
 
        fi
14184
 
        ;;
14185
 
    esac
14186
 
    ;;
14187
 
  osf4* | osf5*)
14188
 
    case $cc_basename in
14189
 
      KCC)
14190
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14191
 
 
14192
 
        # KCC will only create a shared library if the output file
14193
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14194
 
        # to its proper name (with version) after linking.
14195
 
        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'
14196
 
 
14197
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14198
 
        hardcode_libdir_separator_CXX=:
14199
 
 
14200
 
        # Archives containing C++ object files must be created using
14201
 
        # the KAI C++ compiler.
14202
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14203
 
        ;;
14204
 
      RCC)
14205
 
        # Rational C++ 2.4.1
14206
 
        # FIXME: insert proper C++ library support
14207
 
        ld_shlibs_CXX=no
14208
 
        ;;
14209
 
      cxx)
14210
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
14211
 
        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'
14212
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14213
 
          echo "-hidden">> $lib.exp~
14214
 
          $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~
14215
 
          $rm $lib.exp'
14216
 
 
14217
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14218
 
        hardcode_libdir_separator_CXX=:
14219
 
 
14220
 
        # Commands to make compiler produce verbose output that lists
14221
 
        # what "hidden" libraries, object files and flags are used when
14222
 
        # linking a shared library.
14223
 
        #
14224
 
        # There doesn't appear to be a way to prevent this compiler from
14225
 
        # explicitly linking system object files so we need to strip them
14226
 
        # from the output so that they don't get included in the library
14227
 
        # dependencies.
14228
 
        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'
14229
 
        ;;
14230
 
      *)
14231
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14232
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14233
 
         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'
14234
 
 
14235
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14236
 
          hardcode_libdir_separator_CXX=:
14237
 
 
14238
 
          # Commands to make compiler produce verbose output that lists
14239
 
          # what "hidden" libraries, object files and flags are used when
14240
 
          # linking a shared library.
14241
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14242
 
 
14243
 
        else
14244
 
          # FIXME: insert proper C++ library support
14245
 
          ld_shlibs_CXX=no
14246
 
        fi
14247
 
        ;;
14248
 
    esac
14249
 
    ;;
14250
 
  psos*)
14251
 
    # FIXME: insert proper C++ library support
14252
 
    ld_shlibs_CXX=no
14253
 
    ;;
14254
 
  sco*)
14255
 
    archive_cmds_need_lc_CXX=no
14256
 
    case $cc_basename in
14257
 
      CC)
14258
 
        # FIXME: insert proper C++ library support
14259
 
        ld_shlibs_CXX=no
14260
 
        ;;
14261
 
      *)
14262
 
        # FIXME: insert proper C++ library support
14263
 
        ld_shlibs_CXX=no
14264
 
        ;;
14265
 
    esac
14266
 
    ;;
14267
 
  sunos4*)
14268
 
    case $cc_basename in
14269
 
      CC)
14270
 
        # Sun C++ 4.x
14271
 
        # FIXME: insert proper C++ library support
14272
 
        ld_shlibs_CXX=no
14273
 
        ;;
14274
 
      lcc)
14275
 
        # Lucid
14276
 
        # FIXME: insert proper C++ library support
14277
 
        ld_shlibs_CXX=no
14278
 
        ;;
14279
 
      *)
14280
 
        # FIXME: insert proper C++ library support
14281
 
        ld_shlibs_CXX=no
14282
 
        ;;
14283
 
    esac
14284
 
    ;;
14285
 
  solaris*)
14286
 
    case $cc_basename in
14287
 
      CC)
14288
 
        # Sun C++ 4.2, 5.x and Centerline C++
14289
 
        no_undefined_flag_CXX=' -zdefs'
14290
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
14291
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14292
 
        $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'
14293
 
 
14294
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
14295
 
        hardcode_shlibpath_var_CXX=no
14296
 
        case $host_os in
14297
 
          solaris2.0-5 | solaris2.0-5.*) ;;
14298
 
          *)
14299
 
            # The C++ compiler is used as linker so we must use $wl
14300
 
            # flag to pass the commands to the underlying system
14301
 
            # linker.
14302
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
14303
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14304
 
            ;;
14305
 
        esac
14306
 
        link_all_deplibs_CXX=yes
14307
 
 
14308
 
        # Commands to make compiler produce verbose output that lists
14309
 
        # what "hidden" libraries, object files and flags are used when
14310
 
        # linking a shared library.
14311
 
        #
14312
 
        # There doesn't appear to be a way to prevent this compiler from
14313
 
        # explicitly linking system object files so we need to strip them
14314
 
        # from the output so that they don't get included in the library
14315
 
        # dependencies.
14316
 
        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'
14317
 
 
14318
 
        # Archives containing C++ object files must be created using
14319
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14320
 
        # necessary to make sure instantiated templates are included
14321
 
        # in the archive.
14322
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14323
 
        ;;
14324
 
      gcx)
14325
 
        # Green Hills C++ Compiler
14326
 
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14327
 
 
14328
 
        # The C++ compiler must be used to create the archive.
14329
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14330
 
        ;;
14331
 
      *)
14332
 
        # GNU C++ compiler with Solaris linker
14333
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14334
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14335
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
14336
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14337
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14338
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14339
 
 
14340
 
            # Commands to make compiler produce verbose output that lists
14341
 
            # what "hidden" libraries, object files and flags are used when
14342
 
            # linking a shared library.
14343
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14344
 
          else
14345
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
14346
 
            # platform.
14347
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14348
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14349
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14350
 
 
14351
 
            # Commands to make compiler produce verbose output that lists
14352
 
            # what "hidden" libraries, object files and flags are used when
14353
 
            # linking a shared library.
14354
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14355
 
          fi
14356
 
 
14357
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14358
 
        fi
14359
 
        ;;
14360
 
    esac
14361
 
    ;;
14362
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
14363
 
    archive_cmds_need_lc_CXX=no
14364
 
    ;;
14365
 
  tandem*)
14366
 
    case $cc_basename in
14367
 
      NCC)
14368
 
        # NonStop-UX NCC 3.20
14369
 
        # FIXME: insert proper C++ library support
14370
 
        ld_shlibs_CXX=no
14371
 
        ;;
14372
 
      *)
14373
 
        # FIXME: insert proper C++ library support
14374
 
        ld_shlibs_CXX=no
14375
 
        ;;
14376
 
    esac
14377
 
    ;;
14378
 
  vxworks*)
14379
 
    # FIXME: insert proper C++ library support
14380
 
    ld_shlibs_CXX=no
14381
 
    ;;
14382
 
  *)
14383
 
    # FIXME: insert proper C++ library support
14384
 
    ld_shlibs_CXX=no
14385
 
    ;;
14386
 
esac
14387
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14388
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14389
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14390
 
 
14391
 
GCC_CXX="$GXX"
14392
 
LD_CXX="$LD"
14393
 
 
14394
 
## CAVEAT EMPTOR:
14395
 
## There is no encapsulation within the following macros, do not change
14396
 
## the running order or otherwise move them around unless you know exactly
14397
 
## what you are doing...
14398
 
 
14399
 
cat > conftest.$ac_ext <<EOF
14400
 
class Foo
14401
 
{
14402
 
public:
14403
 
  Foo (void) { a = 0; }
14404
 
private:
14405
 
  int a;
14406
 
};
14407
 
EOF
14408
 
 
14409
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14410
 
  (eval $ac_compile) 2>&5
14411
 
  ac_status=$?
14412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413
 
  (exit $ac_status); }; then
14414
 
  # Parse the compiler output and extract the necessary
14415
 
  # objects, libraries and library flags.
14416
 
 
14417
 
  # Sentinel used to keep track of whether or not we are before
14418
 
  # the conftest object file.
14419
 
  pre_test_object_deps_done=no
14420
 
 
14421
 
  # The `*' in the case matches for architectures that use `case' in
14422
 
  # $output_verbose_cmd can trigger glob expansion during the loop
14423
 
  # eval without this substitution.
14424
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
14425
 
 
14426
 
  for p in `eval $output_verbose_link_cmd`; do
14427
 
    case $p in
14428
 
 
14429
 
    -L* | -R* | -l*)
14430
 
       # Some compilers place space between "-{L,R}" and the path.
14431
 
       # Remove the space.
14432
 
       if test $p = "-L" \
14433
 
          || test $p = "-R"; then
14434
 
         prev=$p
14435
 
         continue
14436
 
       else
14437
 
         prev=
14438
 
       fi
14439
 
 
14440
 
       if test "$pre_test_object_deps_done" = no; then
14441
 
         case $p in
14442
 
         -L* | -R*)
14443
 
           # Internal compiler library paths should come after those
14444
 
           # provided the user.  The postdeps already come after the
14445
 
           # user supplied libs so there is no need to process them.
14446
 
           if test -z "$compiler_lib_search_path_CXX"; then
14447
 
             compiler_lib_search_path_CXX="${prev}${p}"
14448
 
           else
14449
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14450
 
           fi
14451
 
           ;;
14452
 
         # The "-l" case would never come before the object being
14453
 
         # linked, so don't bother handling this case.
14454
 
         esac
14455
 
       else
14456
 
         if test -z "$postdeps_CXX"; then
14457
 
           postdeps_CXX="${prev}${p}"
14458
 
         else
14459
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14460
 
         fi
14461
 
       fi
14462
 
       ;;
14463
 
 
14464
 
    *.$objext|*.$libext)
14465
 
       # This assumes that the test object file only shows up
14466
 
       # once in the compiler output.
14467
 
       if test "$p" = "conftest.$objext"; then
14468
 
         pre_test_object_deps_done=yes
14469
 
         continue
14470
 
       fi
14471
 
 
14472
 
       if test "$pre_test_object_deps_done" = no; then
14473
 
         if test -z "$predep_objects_CXX"; then
14474
 
           predep_objects_CXX="$p"
14475
 
         else
14476
 
           predep_objects_CXX="$predep_objects_CXX $p"
14477
 
         fi
14478
 
       else
14479
 
         if test -z "$postdep_objects_CXX"; then
14480
 
           postdep_objects_CXX="$p"
14481
 
         else
14482
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
14483
 
         fi
14484
 
       fi
14485
 
       ;;
14486
 
 
14487
 
    *) ;; # Ignore the rest.
14488
 
 
14489
 
    esac
14490
 
  done
14491
 
 
14492
 
  # Clean up.
14493
 
  rm -f a.out a.exe
14494
 
else
14495
 
  echo "libtool.m4: error: problem compiling CXX test program"
14496
 
fi
14497
 
 
14498
 
$rm -f confest.$objext
14499
 
 
14500
 
case " $postdeps_CXX " in
14501
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14502
 
esac
14503
 
 
14504
 
lt_prog_compiler_wl_CXX=
14505
 
lt_prog_compiler_pic_CXX=
14506
 
lt_prog_compiler_static_CXX=
14507
 
 
14508
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14509
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14510
 
 
14511
 
  # C++ specific cases for pic, static, wl, etc.
14512
 
  if test "$GXX" = yes; then
14513
 
    lt_prog_compiler_wl_CXX='-Wl,'
14514
 
    lt_prog_compiler_static_CXX='-static'
14515
 
 
14516
 
    case $host_os in
14517
 
    aix*)
14518
 
      # All AIX code is PIC.
14519
 
      if test "$host_cpu" = ia64; then
14520
 
        # AIX 5 now supports IA64 processor
14521
 
        lt_prog_compiler_static_CXX='-Bstatic'
14522
 
      fi
14523
 
      ;;
14524
 
    amigaos*)
14525
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14526
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14527
 
      # like `-m68040'.
14528
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14529
 
      ;;
14530
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14531
 
      # PIC is the default for these OSes.
14532
 
      ;;
14533
 
    mingw* | os2* | pw32*)
14534
 
      # This hack is so that the source file can tell whether it is being
14535
 
      # built for inclusion in a dll (and should export symbols for example).
14536
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14537
 
      ;;
14538
 
    darwin* | rhapsody*)
14539
 
      # PIC is the default on this platform
14540
 
      # Common symbols not allowed in MH_DYLIB files
14541
 
      lt_prog_compiler_pic_CXX='-fno-common'
14542
 
      ;;
14543
 
    *djgpp*)
14544
 
      # DJGPP does not support shared libraries at all
14545
 
      lt_prog_compiler_pic_CXX=
14546
 
      ;;
14547
 
    sysv4*MP*)
14548
 
      if test -d /usr/nec; then
14549
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
14550
 
      fi
14551
 
      ;;
14552
 
    hpux*)
14553
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14554
 
      # not for PA HP-UX.
14555
 
      case "$host_cpu" in
14556
 
      hppa*64*|ia64*)
14557
 
        ;;
14558
 
      *)
14559
 
        lt_prog_compiler_pic_CXX='-fPIC'
14560
 
        ;;
14561
 
      esac
14562
 
      ;;
14563
 
    *)
14564
 
      lt_prog_compiler_pic_CXX='-fPIC'
14565
 
      ;;
14566
 
    esac
14567
 
  else
14568
 
    case $host_os in
14569
 
      aix4* | aix5*)
14570
 
        # All AIX code is PIC.
14571
 
        if test "$host_cpu" = ia64; then
14572
 
          # AIX 5 now supports IA64 processor
14573
 
          lt_prog_compiler_static_CXX='-Bstatic'
14574
 
        else
14575
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14576
 
        fi
14577
 
        ;;
14578
 
      chorus*)
14579
 
        case $cc_basename in
14580
 
        cxch68)
14581
 
          # Green Hills C++ Compiler
14582
 
          # _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"
14583
 
          ;;
14584
 
        esac
14585
 
        ;;
14586
 
      dgux*)
14587
 
        case $cc_basename in
14588
 
          ec++)
14589
 
            lt_prog_compiler_pic_CXX='-KPIC'
14590
 
            ;;
14591
 
          ghcx)
14592
 
            # Green Hills C++ Compiler
14593
 
            lt_prog_compiler_pic_CXX='-pic'
14594
 
            ;;
14595
 
          *)
14596
 
            ;;
14597
 
        esac
14598
 
        ;;
14599
 
      freebsd* | kfreebsd*-gnu)
14600
 
        # FreeBSD uses GNU C++
14601
 
        ;;
14602
 
      hpux9* | hpux10* | hpux11*)
14603
 
        case $cc_basename in
14604
 
          CC)
14605
 
            lt_prog_compiler_wl_CXX='-Wl,'
14606
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14607
 
            if test "$host_cpu" != ia64; then
14608
 
              lt_prog_compiler_pic_CXX='+Z'
14609
 
            fi
14610
 
            ;;
14611
 
          aCC)
14612
 
            lt_prog_compiler_wl_CXX='-Wl,'
14613
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14614
 
            case "$host_cpu" in
14615
 
            hppa*64*|ia64*)
14616
 
              # +Z the default
14617
 
              ;;
14618
 
            *)
14619
 
              lt_prog_compiler_pic_CXX='+Z'
14620
 
              ;;
14621
 
            esac
14622
 
            ;;
14623
 
          *)
14624
 
            ;;
14625
 
        esac
14626
 
        ;;
14627
 
      irix5* | irix6* | nonstopux*)
14628
 
        case $cc_basename in
14629
 
          CC)
14630
 
            lt_prog_compiler_wl_CXX='-Wl,'
14631
 
            lt_prog_compiler_static_CXX='-non_shared'
14632
 
            # CC pic flag -KPIC is the default.
14633
 
            ;;
14634
 
          *)
14635
 
            ;;
14636
 
        esac
14637
 
        ;;
14638
 
      linux*)
14639
 
        case $cc_basename in
14640
 
          KCC)
14641
 
            # KAI C++ Compiler
14642
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14643
 
            lt_prog_compiler_pic_CXX='-fPIC'
14644
 
            ;;
14645
 
          icpc)
14646
 
            # Intel C++
14647
 
            lt_prog_compiler_wl_CXX='-Wl,'
14648
 
            lt_prog_compiler_pic_CXX='-KPIC'
14649
 
            lt_prog_compiler_static_CXX='-static'
14650
 
            ;;
14651
 
          cxx)
14652
 
            # Compaq C++
14653
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14654
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14655
 
            lt_prog_compiler_pic_CXX=
14656
 
            lt_prog_compiler_static_CXX='-non_shared'
14657
 
            ;;
14658
 
          *)
14659
 
            ;;
14660
 
        esac
14661
 
        ;;
14662
 
      lynxos*)
14663
 
        ;;
14664
 
      m88k*)
14665
 
        ;;
14666
 
      mvs*)
14667
 
        case $cc_basename in
14668
 
          cxx)
14669
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
14670
 
            ;;
14671
 
          *)
14672
 
            ;;
14673
 
        esac
14674
 
        ;;
14675
 
      netbsd*)
14676
 
        ;;
14677
 
      osf3* | osf4* | osf5*)
14678
 
        case $cc_basename in
14679
 
          KCC)
14680
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14681
 
            ;;
14682
 
          RCC)
14683
 
            # Rational C++ 2.4.1
14684
 
            lt_prog_compiler_pic_CXX='-pic'
14685
 
            ;;
14686
 
          cxx)
14687
 
            # Digital/Compaq C++
14688
 
            lt_prog_compiler_wl_CXX='-Wl,'
14689
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
14690
 
            # Linux and Compaq Tru64 Unix objects are PIC.
14691
 
            lt_prog_compiler_pic_CXX=
14692
 
            lt_prog_compiler_static_CXX='-non_shared'
14693
 
            ;;
14694
 
          *)
14695
 
            ;;
14696
 
        esac
14697
 
        ;;
14698
 
      psos*)
14699
 
        ;;
14700
 
      sco*)
14701
 
        case $cc_basename in
14702
 
          CC)
14703
 
            lt_prog_compiler_pic_CXX='-fPIC'
14704
 
            ;;
14705
 
          *)
14706
 
            ;;
14707
 
        esac
14708
 
        ;;
14709
 
      solaris*)
14710
 
        case $cc_basename in
14711
 
          CC)
14712
 
            # Sun C++ 4.2, 5.x and Centerline C++
14713
 
            lt_prog_compiler_pic_CXX='-KPIC'
14714
 
            lt_prog_compiler_static_CXX='-Bstatic'
14715
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
14716
 
            ;;
14717
 
          gcx)
14718
 
            # Green Hills C++ Compiler
14719
 
            lt_prog_compiler_pic_CXX='-PIC'
14720
 
            ;;
14721
 
          *)
14722
 
            ;;
14723
 
        esac
14724
 
        ;;
14725
 
      sunos4*)
14726
 
        case $cc_basename in
14727
 
          CC)
14728
 
            # Sun C++ 4.x
14729
 
            lt_prog_compiler_pic_CXX='-pic'
14730
 
            lt_prog_compiler_static_CXX='-Bstatic'
14731
 
            ;;
14732
 
          lcc)
14733
 
            # Lucid
14734
 
            lt_prog_compiler_pic_CXX='-pic'
14735
 
            ;;
14736
 
          *)
14737
 
            ;;
14738
 
        esac
14739
 
        ;;
14740
 
      tandem*)
14741
 
        case $cc_basename in
14742
 
          NCC)
14743
 
            # NonStop-UX NCC 3.20
14744
 
            lt_prog_compiler_pic_CXX='-KPIC'
14745
 
            ;;
14746
 
          *)
14747
 
            ;;
14748
 
        esac
14749
 
        ;;
14750
 
      unixware*)
14751
 
        ;;
14752
 
      vxworks*)
14753
 
        ;;
14754
 
      *)
14755
 
        lt_prog_compiler_can_build_shared_CXX=no
14756
 
        ;;
14757
 
    esac
14758
 
  fi
14759
 
 
14760
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14761
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14762
 
 
14763
 
#
14764
 
# Check to make sure the PIC flag actually works.
14765
 
#
14766
 
if test -n "$lt_prog_compiler_pic_CXX"; then
14767
 
 
14768
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14769
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14770
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14771
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14772
 
else
14773
 
  lt_prog_compiler_pic_works_CXX=no
14774
 
  ac_outfile=conftest.$ac_objext
14775
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14776
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14777
 
   # Insert the option either (1) after the last *FLAGS variable, or
14778
 
   # (2) before a word containing "conftest.", or (3) at the end.
14779
 
   # Note that $ac_compile itself does not contain backslashes and begins
14780
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14781
 
   # The option is referenced via a variable to avoid confusing sed.
14782
 
   lt_compile=`echo "$ac_compile" | $SED \
14783
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14784
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14785
 
   -e 's:$: $lt_compiler_flag:'`
14786
 
   (eval echo "\"\$as_me:14786: $lt_compile\"" >&5)
14787
 
   (eval "$lt_compile" 2>conftest.err)
14788
 
   ac_status=$?
14789
 
   cat conftest.err >&5
14790
 
   echo "$as_me:14790: \$? = $ac_status" >&5
14791
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14792
 
     # The compiler can only warn and ignore the option if not recognized
14793
 
     # So say no if there are warnings
14794
 
     if test ! -s conftest.err; then
14795
 
       lt_prog_compiler_pic_works_CXX=yes
14796
 
     fi
14797
 
   fi
14798
 
   $rm conftest*
14799
 
 
14800
 
fi
14801
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14802
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
14803
 
 
14804
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
14805
 
    case $lt_prog_compiler_pic_CXX in
14806
 
     "" | " "*) ;;
14807
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14808
 
     esac
14809
 
else
14810
 
    lt_prog_compiler_pic_CXX=
14811
 
     lt_prog_compiler_can_build_shared_CXX=no
14812
 
fi
14813
 
 
14814
 
fi
14815
 
case "$host_os" in
14816
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14817
 
  *djgpp*)
14818
 
    lt_prog_compiler_pic_CXX=
14819
 
    ;;
14820
 
  *)
14821
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14822
 
    ;;
14823
 
esac
14824
 
 
14825
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14826
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14827
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14828
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14829
 
else
14830
 
  lt_cv_prog_compiler_c_o_CXX=no
14831
 
   $rm -r conftest 2>/dev/null
14832
 
   mkdir conftest
14833
 
   cd conftest
14834
 
   mkdir out
14835
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14836
 
 
14837
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
14838
 
   # that will create temporary files in the current directory regardless of
14839
 
   # the output directory.  Thus, making CWD read-only will cause this test
14840
 
   # to fail, enabling locking or at least warning the user not to do parallel
14841
 
   # builds.
14842
 
   chmod -w .
14843
 
 
14844
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14845
 
   # Insert the option either (1) after the last *FLAGS variable, or
14846
 
   # (2) before a word containing "conftest.", or (3) at the end.
14847
 
   # Note that $ac_compile itself does not contain backslashes and begins
14848
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14849
 
   lt_compile=`echo "$ac_compile" | $SED \
14850
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14851
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14852
 
   -e 's:$: $lt_compiler_flag:'`
14853
 
   (eval echo "\"\$as_me:14853: $lt_compile\"" >&5)
14854
 
   (eval "$lt_compile" 2>out/conftest.err)
14855
 
   ac_status=$?
14856
 
   cat out/conftest.err >&5
14857
 
   echo "$as_me:14857: \$? = $ac_status" >&5
14858
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14859
 
   then
14860
 
     # The compiler can only warn and ignore the option if not recognized
14861
 
     # So say no if there are warnings
14862
 
     if test ! -s out/conftest.err; then
14863
 
       lt_cv_prog_compiler_c_o_CXX=yes
14864
 
     fi
14865
 
   fi
14866
 
   chmod u+w .
14867
 
   $rm conftest* out/*
14868
 
   rmdir out
14869
 
   cd ..
14870
 
   rmdir conftest
14871
 
   $rm conftest*
14872
 
 
14873
 
fi
14874
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14875
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14876
 
 
14877
 
 
14878
 
hard_links="nottested"
14879
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14880
 
  # do not overwrite the value of need_locks provided by the user
14881
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14882
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14883
 
  hard_links=yes
14884
 
  $rm conftest*
14885
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14886
 
  touch conftest.a
14887
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14888
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14889
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14890
 
echo "${ECHO_T}$hard_links" >&6; }
14891
 
  if test "$hard_links" = no; then
14892
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14893
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14894
 
    need_locks=warn
14895
 
  fi
14896
 
else
14897
 
  need_locks=no
14898
 
fi
14899
 
 
14900
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14901
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14902
 
 
14903
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14904
 
  case $host_os in
14905
 
  aix4* | aix5*)
14906
 
    # If we're using GNU nm, then we don't want the "-C" option.
14907
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14908
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14909
 
      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'
14910
 
    else
14911
 
      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'
14912
 
    fi
14913
 
    ;;
14914
 
  pw32*)
14915
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14916
 
  ;;
14917
 
  cygwin* | mingw*)
14918
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14919
 
  ;;
14920
 
  *)
14921
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14922
 
  ;;
14923
 
  esac
14924
 
 
14925
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14926
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14927
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14928
 
 
14929
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14930
 
if test "$GCC" = yes; then
14931
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14932
 
fi
14933
 
 
14934
 
#
14935
 
# Do we need to explicitly link libc?
14936
 
#
14937
 
case "x$archive_cmds_need_lc_CXX" in
14938
 
x|xyes)
14939
 
  # Assume -lc should be added
14940
 
  archive_cmds_need_lc_CXX=yes
14941
 
 
14942
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14943
 
    case $archive_cmds_CXX in
14944
 
    *'~'*)
14945
 
      # FIXME: we may have to deal with multi-command sequences.
14946
 
      ;;
14947
 
    '$CC '*)
14948
 
      # Test whether the compiler implicitly links with -lc since on some
14949
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14950
 
      # to ld, don't add -lc before -lgcc.
14951
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14952
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14953
 
      $rm conftest*
14954
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14955
 
 
14956
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14957
 
  (eval $ac_compile) 2>&5
14958
 
  ac_status=$?
14959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960
 
  (exit $ac_status); } 2>conftest.err; then
14961
 
        soname=conftest
14962
 
        lib=conftest
14963
 
        libobjs=conftest.$ac_objext
14964
 
        deplibs=
14965
 
        wl=$lt_prog_compiler_wl_CXX
14966
 
        compiler_flags=-v
14967
 
        linker_flags=-v
14968
 
        verstring=
14969
 
        output_objdir=.
14970
 
        libname=conftest
14971
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14972
 
        allow_undefined_flag_CXX=
14973
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14974
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14975
 
  ac_status=$?
14976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977
 
  (exit $ac_status); }
14978
 
        then
14979
 
          archive_cmds_need_lc_CXX=no
14980
 
        else
14981
 
          archive_cmds_need_lc_CXX=yes
14982
 
        fi
14983
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14984
 
      else
14985
 
        cat conftest.err 1>&5
14986
 
      fi
14987
 
      $rm conftest*
14988
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14989
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14990
 
      ;;
14991
 
    esac
14992
 
  fi
14993
 
  ;;
14994
 
esac
14995
 
 
14996
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14997
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14998
 
library_names_spec=
14999
 
libname_spec='lib$name'
15000
 
soname_spec=
15001
 
shrext=".so"
15002
 
postinstall_cmds=
15003
 
postuninstall_cmds=
15004
 
finish_cmds=
15005
 
finish_eval=
15006
 
shlibpath_var=
15007
 
shlibpath_overrides_runpath=unknown
15008
 
version_type=none
15009
 
dynamic_linker="$host_os ld.so"
15010
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15011
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15012
 
need_lib_prefix=unknown
15013
 
hardcode_into_libs=no
15014
 
 
15015
 
# when you set need_version to no, make sure it does not cause -set_version
15016
 
# flags to be left without arguments
15017
 
need_version=unknown
15018
 
 
15019
 
case $host_os in
15020
 
aix3*)
15021
 
  version_type=linux
15022
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15023
 
  shlibpath_var=LIBPATH
15024
 
 
15025
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15026
 
  soname_spec='${libname}${release}${shared_ext}$major'
15027
 
  ;;
15028
 
 
15029
 
aix4* | aix5*)
15030
 
  version_type=linux
15031
 
  need_lib_prefix=no
15032
 
  need_version=no
15033
 
  hardcode_into_libs=yes
15034
 
  if test "$host_cpu" = ia64; then
15035
 
    # AIX 5 supports IA64
15036
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15037
 
    shlibpath_var=LD_LIBRARY_PATH
15038
 
  else
15039
 
    # With GCC up to 2.95.x, collect2 would create an import file
15040
 
    # for dependence libraries.  The import file would start with
15041
 
    # the line `#! .'.  This would cause the generated library to
15042
 
    # depend on `.', always an invalid library.  This was fixed in
15043
 
    # development snapshots of GCC prior to 3.0.
15044
 
    case $host_os in
15045
 
      aix4 | aix4.[01] | aix4.[01].*)
15046
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15047
 
           echo ' yes '
15048
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15049
 
        :
15050
 
      else
15051
 
        can_build_shared=no
15052
 
      fi
15053
 
      ;;
15054
 
    esac
15055
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15056
 
    # soname into executable. Probably we can add versioning support to
15057
 
    # collect2, so additional links can be useful in future.
15058
 
    if test "$aix_use_runtimelinking" = yes; then
15059
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15060
 
      # instead of lib<name>.a to let people know that these are not
15061
 
      # typical AIX shared libraries.
15062
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15063
 
    else
15064
 
      # We preserve .a as extension for shared libraries through AIX4.2
15065
 
      # and later when we are not doing run time linking.
15066
 
      library_names_spec='${libname}${release}.a $libname.a'
15067
 
      soname_spec='${libname}${release}${shared_ext}$major'
15068
 
    fi
15069
 
    shlibpath_var=LIBPATH
15070
 
  fi
15071
 
  ;;
15072
 
 
15073
 
amigaos*)
15074
 
  library_names_spec='$libname.ixlibrary $libname.a'
15075
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15076
 
  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'
15077
 
  ;;
15078
 
 
15079
 
beos*)
15080
 
  library_names_spec='${libname}${shared_ext}'
15081
 
  dynamic_linker="$host_os ld.so"
15082
 
  shlibpath_var=LIBRARY_PATH
15083
 
  ;;
15084
 
 
15085
 
bsdi4*)
15086
 
  version_type=linux
15087
 
  need_version=no
15088
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15089
 
  soname_spec='${libname}${release}${shared_ext}$major'
15090
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15091
 
  shlibpath_var=LD_LIBRARY_PATH
15092
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15093
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15094
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15095
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15096
 
  # libtool to hard-code these into programs
15097
 
  ;;
15098
 
 
15099
 
cygwin* | mingw* | pw32*)
15100
 
  version_type=windows
15101
 
  shrext=".dll"
15102
 
  need_version=no
15103
 
  need_lib_prefix=no
15104
 
 
15105
 
  case $GCC,$host_os in
15106
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15107
 
    library_names_spec='$libname.dll.a'
15108
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15109
 
    postinstall_cmds='base_file=`basename \${file}`~
15110
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15111
 
      dldir=$destdir/`dirname \$dlpath`~
15112
 
      test -d \$dldir || mkdir -p \$dldir~
15113
 
      $install_prog $dir/$dlname \$dldir/$dlname'
15114
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15115
 
      dlpath=$dir/\$dldll~
15116
 
       $rm \$dlpath'
15117
 
    shlibpath_overrides_runpath=yes
15118
 
 
15119
 
    case $host_os in
15120
 
    cygwin*)
15121
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15122
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15123
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15124
 
      ;;
15125
 
    mingw*)
15126
 
      # MinGW DLLs use traditional 'lib' prefix
15127
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15128
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15129
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15130
 
        # It is most probably a Windows format PATH printed by
15131
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15132
 
        # path with ; separators, and with drive letters. We can handle the
15133
 
        # drive letters (cygwin fileutils understands them), so leave them,
15134
 
        # especially as we might pass files found there to a mingw objdump,
15135
 
        # which wouldn't understand a cygwinified path. Ahh.
15136
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15137
 
      else
15138
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15139
 
      fi
15140
 
      ;;
15141
 
    pw32*)
15142
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15143
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
15144
 
      ;;
15145
 
    esac
15146
 
    ;;
15147
 
 
15148
 
  *)
15149
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15150
 
    ;;
15151
 
  esac
15152
 
  dynamic_linker='Win32 ld.exe'
15153
 
  # FIXME: first we should search . and the directory the executable is in
15154
 
  shlibpath_var=PATH
15155
 
  ;;
15156
 
 
15157
 
darwin* | rhapsody*)
15158
 
  dynamic_linker="$host_os dyld"
15159
 
  version_type=darwin
15160
 
  need_lib_prefix=no
15161
 
  need_version=no
15162
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15163
 
  soname_spec='${libname}${release}${major}$shared_ext'
15164
 
  shlibpath_overrides_runpath=yes
15165
 
  shlibpath_var=DYLD_LIBRARY_PATH
15166
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
15167
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15168
 
  if test "$GCC" = yes; then
15169
 
    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"`
15170
 
  else
15171
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15172
 
  fi
15173
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15174
 
  ;;
15175
 
 
15176
 
dgux*)
15177
 
  version_type=linux
15178
 
  need_lib_prefix=no
15179
 
  need_version=no
15180
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15181
 
  soname_spec='${libname}${release}${shared_ext}$major'
15182
 
  shlibpath_var=LD_LIBRARY_PATH
15183
 
  ;;
15184
 
 
15185
 
freebsd1*)
15186
 
  dynamic_linker=no
15187
 
  ;;
15188
 
 
15189
 
kfreebsd*-gnu*)
15190
 
  version_type=linux
15191
 
  need_lib_prefix=no
15192
 
  need_version=no
15193
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15194
 
  soname_spec='${libname}${release}${shared_ext}$major'
15195
 
  shlibpath_var=LD_LIBRARY_PATH
15196
 
  shlibpath_overrides_runpath=no
15197
 
  hardcode_into_libs=yes
15198
 
  dynamic_linker='GNU ld.so'
15199
 
  ;;
15200
 
 
15201
 
freebsd*)
15202
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15203
 
  version_type=freebsd-$objformat
15204
 
  case $version_type in
15205
 
    freebsd-elf*)
15206
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15207
 
      need_version=no
15208
 
      need_lib_prefix=no
15209
 
      ;;
15210
 
    freebsd-*)
15211
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15212
 
      need_version=yes
15213
 
      ;;
15214
 
  esac
15215
 
  shlibpath_var=LD_LIBRARY_PATH
15216
 
  case $host_os in
15217
 
  freebsd2*)
15218
 
    shlibpath_overrides_runpath=yes
15219
 
    ;;
15220
 
  freebsd3.01* | freebsdelf3.01*)
15221
 
    shlibpath_overrides_runpath=yes
15222
 
    hardcode_into_libs=yes
15223
 
    ;;
15224
 
  *) # from 3.2 on
15225
 
    shlibpath_overrides_runpath=no
15226
 
    hardcode_into_libs=yes
15227
 
    ;;
15228
 
  esac
15229
 
  ;;
15230
 
 
15231
 
gnu*)
15232
 
  version_type=linux
15233
 
  need_lib_prefix=no
15234
 
  need_version=no
15235
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15236
 
  soname_spec='${libname}${release}${shared_ext}$major'
15237
 
  shlibpath_var=LD_LIBRARY_PATH
15238
 
  hardcode_into_libs=yes
15239
 
  ;;
15240
 
 
15241
 
hpux9* | hpux10* | hpux11*)
15242
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15243
 
  # link against other versions.
15244
 
  version_type=sunos
15245
 
  need_lib_prefix=no
15246
 
  need_version=no
15247
 
  case "$host_cpu" in
15248
 
  ia64*)
15249
 
    shrext='.so'
15250
 
    hardcode_into_libs=yes
15251
 
    dynamic_linker="$host_os dld.so"
15252
 
    shlibpath_var=LD_LIBRARY_PATH
15253
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15254
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15255
 
    soname_spec='${libname}${release}${shared_ext}$major'
15256
 
    if test "X$HPUX_IA64_MODE" = X32; then
15257
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15258
 
    else
15259
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15260
 
    fi
15261
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15262
 
    ;;
15263
 
   hppa*64*)
15264
 
     shrext='.sl'
15265
 
     hardcode_into_libs=yes
15266
 
     dynamic_linker="$host_os dld.sl"
15267
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15268
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15269
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15270
 
     soname_spec='${libname}${release}${shared_ext}$major'
15271
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15272
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15273
 
     ;;
15274
 
   *)
15275
 
    shrext='.sl'
15276
 
    dynamic_linker="$host_os dld.sl"
15277
 
    shlibpath_var=SHLIB_PATH
15278
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15279
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15280
 
    soname_spec='${libname}${release}${shared_ext}$major'
15281
 
    ;;
15282
 
  esac
15283
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15284
 
  postinstall_cmds='chmod 555 $lib'
15285
 
  ;;
15286
 
 
15287
 
irix5* | irix6* | nonstopux*)
15288
 
  case $host_os in
15289
 
    nonstopux*) version_type=nonstopux ;;
15290
 
    *)
15291
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15292
 
                version_type=linux
15293
 
        else
15294
 
                version_type=irix
15295
 
        fi ;;
15296
 
  esac
15297
 
  need_lib_prefix=no
15298
 
  need_version=no
15299
 
  soname_spec='${libname}${release}${shared_ext}$major'
15300
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15301
 
  case $host_os in
15302
 
  irix5* | nonstopux*)
15303
 
    libsuff= shlibsuff=
15304
 
    ;;
15305
 
  *)
15306
 
    case $LD in # libtool.m4 will add one of these switches to LD
15307
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15308
 
      libsuff= shlibsuff= libmagic=32-bit;;
15309
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15310
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15311
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15312
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15313
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15314
 
    esac
15315
 
    ;;
15316
 
  esac
15317
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15318
 
  shlibpath_overrides_runpath=no
15319
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15320
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15321
 
  hardcode_into_libs=yes
15322
 
  ;;
15323
 
 
15324
 
# No shared lib support for Linux oldld, aout, or coff.
15325
 
linux*oldld* | linux*aout* | linux*coff*)
15326
 
  dynamic_linker=no
15327
 
  ;;
15328
 
 
15329
 
# This must be Linux ELF.
15330
 
linux*)
15331
 
  version_type=linux
15332
 
  need_lib_prefix=no
15333
 
  need_version=no
15334
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15335
 
  soname_spec='${libname}${release}${shared_ext}$major'
15336
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15337
 
  libsuff=
15338
 
  if test "x$LINUX_64_MODE" = x64; then
15339
 
    # Some platforms are per default 64-bit, so there's no /lib64
15340
 
    if test -d /lib64 -a ! -h /lib64; then
15341
 
      libsuff=64
15342
 
    fi
15343
 
  fi
15344
 
  shlibpath_var=LD_LIBRARY_PATH
15345
 
  shlibpath_overrides_runpath=no
15346
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
15347
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15348
 
  # This implies no fast_install, which is unacceptable.
15349
 
  # Some rework will be needed to allow for fast_install
15350
 
  # before this can be enabled.
15351
 
  hardcode_into_libs=yes
15352
 
 
15353
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15354
 
  # powerpc, because MkLinux only supported shared libraries with the
15355
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15356
 
  # most powerpc-linux boxes support dynamic linking these days and
15357
 
  # people can always --disable-shared, the test was removed, and we
15358
 
  # assume the GNU/Linux dynamic linker is in use.
15359
 
  dynamic_linker='GNU/Linux ld.so'
15360
 
  ;;
15361
 
 
15362
 
netbsd*)
15363
 
  version_type=sunos
15364
 
  need_lib_prefix=no
15365
 
  need_version=no
15366
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15367
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15368
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15369
 
    dynamic_linker='NetBSD (a.out) ld.so'
15370
 
  else
15371
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
15372
 
    soname_spec='${libname}${release}${shared_ext}$major'
15373
 
    dynamic_linker='NetBSD ld.elf_so'
15374
 
  fi
15375
 
  shlibpath_var=LD_LIBRARY_PATH
15376
 
  shlibpath_overrides_runpath=yes
15377
 
  hardcode_into_libs=yes
15378
 
  ;;
15379
 
 
15380
 
newsos6)
15381
 
  version_type=linux
15382
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15383
 
  shlibpath_var=LD_LIBRARY_PATH
15384
 
  shlibpath_overrides_runpath=yes
15385
 
  ;;
15386
 
 
15387
 
nto-qnx*)
15388
 
  version_type=linux
15389
 
  need_lib_prefix=no
15390
 
  need_version=no
15391
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15392
 
  soname_spec='${libname}${release}${shared_ext}$major'
15393
 
  shlibpath_var=LD_LIBRARY_PATH
15394
 
  shlibpath_overrides_runpath=yes
15395
 
  ;;
15396
 
 
15397
 
openbsd*)
15398
 
  version_type=sunos
15399
 
  need_lib_prefix=no
15400
 
  need_version=no
15401
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15402
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15403
 
  shlibpath_var=LD_LIBRARY_PATH
15404
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15405
 
    case $host_os in
15406
 
      openbsd2.[89] | openbsd2.[89].*)
15407
 
        shlibpath_overrides_runpath=no
15408
 
        ;;
15409
 
      *)
15410
 
        shlibpath_overrides_runpath=yes
15411
 
        ;;
15412
 
      esac
15413
 
  else
15414
 
    shlibpath_overrides_runpath=yes
15415
 
  fi
15416
 
  ;;
15417
 
 
15418
 
os2*)
15419
 
  libname_spec='$name'
15420
 
  shrext=".dll"
15421
 
  need_lib_prefix=no
15422
 
  library_names_spec='$libname${shared_ext} $libname.a'
15423
 
  dynamic_linker='OS/2 ld.exe'
15424
 
  shlibpath_var=LIBPATH
15425
 
  ;;
15426
 
 
15427
 
osf3* | osf4* | osf5*)
15428
 
  version_type=osf
15429
 
  need_lib_prefix=no
15430
 
  need_version=no
15431
 
  soname_spec='${libname}${release}${shared_ext}$major'
15432
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15433
 
  shlibpath_var=LD_LIBRARY_PATH
15434
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15435
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15436
 
  ;;
15437
 
 
15438
 
sco3.2v5*)
15439
 
  version_type=osf
15440
 
  soname_spec='${libname}${release}${shared_ext}$major'
15441
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15442
 
  shlibpath_var=LD_LIBRARY_PATH
15443
 
  ;;
15444
 
 
15445
 
solaris*)
15446
 
  version_type=linux
15447
 
  need_lib_prefix=no
15448
 
  need_version=no
15449
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15450
 
  soname_spec='${libname}${release}${shared_ext}$major'
15451
 
  shlibpath_var=LD_LIBRARY_PATH
15452
 
  shlibpath_overrides_runpath=yes
15453
 
  hardcode_into_libs=yes
15454
 
  # ldd complains unless libraries are executable
15455
 
  postinstall_cmds='chmod +x $lib'
15456
 
  ;;
15457
 
 
15458
 
sunos4*)
15459
 
  version_type=sunos
15460
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15461
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15462
 
  shlibpath_var=LD_LIBRARY_PATH
15463
 
  shlibpath_overrides_runpath=yes
15464
 
  if test "$with_gnu_ld" = yes; then
15465
 
    need_lib_prefix=no
15466
 
  fi
15467
 
  need_version=yes
15468
 
  ;;
15469
 
 
15470
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15471
 
  version_type=linux
15472
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15473
 
  soname_spec='${libname}${release}${shared_ext}$major'
15474
 
  shlibpath_var=LD_LIBRARY_PATH
15475
 
  case $host_vendor in
15476
 
    sni)
15477
 
      shlibpath_overrides_runpath=no
15478
 
      need_lib_prefix=no
15479
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15480
 
      runpath_var=LD_RUN_PATH
15481
 
      ;;
15482
 
    siemens)
15483
 
      need_lib_prefix=no
15484
 
      ;;
15485
 
    motorola)
15486
 
      need_lib_prefix=no
15487
 
      need_version=no
15488
 
      shlibpath_overrides_runpath=no
15489
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15490
 
      ;;
15491
 
  esac
15492
 
  ;;
15493
 
 
15494
 
sysv4*MP*)
15495
 
  if test -d /usr/nec ;then
15496
 
    version_type=linux
15497
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15498
 
    soname_spec='$libname${shared_ext}.$major'
15499
 
    shlibpath_var=LD_LIBRARY_PATH
15500
 
  fi
15501
 
  ;;
15502
 
 
15503
 
uts4*)
15504
 
  version_type=linux
15505
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15506
 
  soname_spec='${libname}${release}${shared_ext}$major'
15507
 
  shlibpath_var=LD_LIBRARY_PATH
15508
 
  ;;
15509
 
 
15510
 
*)
15511
 
  dynamic_linker=no
15512
 
  ;;
15513
 
esac
15514
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15515
 
echo "${ECHO_T}$dynamic_linker" >&6; }
15516
 
test "$dynamic_linker" = no && can_build_shared=no
15517
 
 
15518
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15519
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15520
 
hardcode_action_CXX=
15521
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15522
 
   test -n "$runpath_var CXX" || \
15523
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
15524
 
 
15525
 
  # We can hardcode non-existant directories.
15526
 
  if test "$hardcode_direct_CXX" != no &&
15527
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15528
 
     # have to relink, otherwise we might link with an installed library
15529
 
     # when we should be linking with a yet-to-be-installed one
15530
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15531
 
     test "$hardcode_minus_L_CXX" != no; then
15532
 
    # Linking always hardcodes the temporary library directory.
15533
 
    hardcode_action_CXX=relink
15534
 
  else
15535
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15536
 
    hardcode_action_CXX=immediate
15537
 
  fi
15538
 
else
15539
 
  # We cannot hardcode anything, or else we can only hardcode existing
15540
 
  # directories.
15541
 
  hardcode_action_CXX=unsupported
15542
 
fi
15543
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15544
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15545
 
 
15546
 
if test "$hardcode_action_CXX" = relink; then
15547
 
  # Fast installation is not supported
15548
 
  enable_fast_install=no
15549
 
elif test "$shlibpath_overrides_runpath" = yes ||
15550
 
     test "$enable_shared" = no; then
15551
 
  # Fast installation is not necessary
15552
 
  enable_fast_install=needless
15553
 
fi
15554
 
 
15555
 
striplib=
15556
 
old_striplib=
15557
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15558
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15559
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15560
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15561
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15562
 
  { echo "$as_me:$LINENO: result: yes" >&5
15563
 
echo "${ECHO_T}yes" >&6; }
15564
 
else
15565
 
# FIXME - insert some real tests, host_os isn't really good enough
15566
 
  case $host_os in
15567
 
   darwin*)
15568
 
       if test -n "$STRIP" ; then
15569
 
         striplib="$STRIP -x"
15570
 
         { echo "$as_me:$LINENO: result: yes" >&5
15571
 
echo "${ECHO_T}yes" >&6; }
15572
 
       else
15573
 
  { echo "$as_me:$LINENO: result: no" >&5
15574
 
echo "${ECHO_T}no" >&6; }
15575
 
fi
15576
 
       ;;
15577
 
   *)
15578
 
  { echo "$as_me:$LINENO: result: no" >&5
15579
 
echo "${ECHO_T}no" >&6; }
15580
 
    ;;
15581
 
  esac
15582
 
fi
15583
 
 
15584
 
if test "x$enable_dlopen" != xyes; then
15585
 
  enable_dlopen=unknown
15586
 
  enable_dlopen_self=unknown
15587
 
  enable_dlopen_self_static=unknown
15588
 
else
15589
 
  lt_cv_dlopen=no
15590
 
  lt_cv_dlopen_libs=
15591
 
 
15592
 
  case $host_os in
15593
 
  beos*)
15594
 
    lt_cv_dlopen="load_add_on"
15595
 
    lt_cv_dlopen_libs=
15596
 
    lt_cv_dlopen_self=yes
15597
 
    ;;
15598
 
 
15599
 
  mingw* | pw32*)
15600
 
    lt_cv_dlopen="LoadLibrary"
15601
 
    lt_cv_dlopen_libs=
15602
 
   ;;
15603
 
 
15604
 
  cygwin*)
15605
 
    lt_cv_dlopen="dlopen"
15606
 
    lt_cv_dlopen_libs=
15607
 
   ;;
15608
 
 
15609
 
  darwin*)
15610
 
  # if libdl is installed we need to link against it
15611
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15612
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15613
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15614
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15615
 
else
15616
 
  ac_check_lib_save_LIBS=$LIBS
15617
 
LIBS="-ldl  $LIBS"
15618
 
cat >conftest.$ac_ext <<_ACEOF
15619
 
/* confdefs.h.  */
15620
 
_ACEOF
15621
 
cat confdefs.h >>conftest.$ac_ext
15622
 
cat >>conftest.$ac_ext <<_ACEOF
15623
 
/* end confdefs.h.  */
15624
 
 
15625
 
/* Override any GCC internal prototype to avoid an error.
15626
 
   Use char because int might match the return type of a GCC
15627
 
   builtin and then its argument prototype would still apply.  */
15628
 
#ifdef __cplusplus
15629
 
extern "C"
15630
 
#endif
15631
 
char dlopen ();
15632
 
int
15633
 
main ()
15634
 
{
15635
 
return dlopen ();
15636
 
  ;
15637
 
  return 0;
15638
 
}
15639
 
_ACEOF
15640
 
rm -f conftest.$ac_objext conftest$ac_exeext
15641
 
if { (ac_try="$ac_link"
15642
 
case "(($ac_try" in
15643
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15644
 
  *) ac_try_echo=$ac_try;;
15645
 
esac
15646
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15647
 
  (eval "$ac_link") 2>conftest.er1
15648
 
  ac_status=$?
15649
 
  grep -v '^ *+' conftest.er1 >conftest.err
15650
 
  rm -f conftest.er1
15651
 
  cat conftest.err >&5
15652
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653
 
  (exit $ac_status); } && {
15654
 
         test -z "$ac_cxx_werror_flag" ||
15655
 
         test ! -s conftest.err
15656
 
       } && test -s conftest$ac_exeext &&
15657
 
       $as_test_x conftest$ac_exeext; then
15658
 
  ac_cv_lib_dl_dlopen=yes
15659
 
else
15660
 
  echo "$as_me: failed program was:" >&5
15661
 
sed 's/^/| /' conftest.$ac_ext >&5
15662
 
 
15663
 
        ac_cv_lib_dl_dlopen=no
15664
 
fi
15665
 
 
15666
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15667
 
      conftest$ac_exeext conftest.$ac_ext
15668
 
LIBS=$ac_check_lib_save_LIBS
15669
 
fi
15670
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15671
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15672
 
if test $ac_cv_lib_dl_dlopen = yes; then
15673
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15674
 
else
15675
 
 
15676
 
    lt_cv_dlopen="dyld"
15677
 
    lt_cv_dlopen_libs=
15678
 
    lt_cv_dlopen_self=yes
15679
 
 
15680
 
fi
15681
 
 
15682
 
   ;;
15683
 
 
15684
 
  *)
15685
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
15686
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
15687
 
if test "${ac_cv_func_shl_load+set}" = set; then
15688
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15689
 
else
15690
 
  cat >conftest.$ac_ext <<_ACEOF
15691
 
/* confdefs.h.  */
15692
 
_ACEOF
15693
 
cat confdefs.h >>conftest.$ac_ext
15694
 
cat >>conftest.$ac_ext <<_ACEOF
15695
 
/* end confdefs.h.  */
15696
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15697
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15698
 
#define shl_load innocuous_shl_load
15699
 
 
15700
 
/* System header to define __stub macros and hopefully few prototypes,
15701
 
    which can conflict with char shl_load (); below.
15702
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15703
 
    <limits.h> exists even on freestanding compilers.  */
15704
 
 
15705
 
#ifdef __STDC__
15706
 
# include <limits.h>
15707
 
#else
15708
 
# include <assert.h>
15709
 
#endif
15710
 
 
15711
 
#undef shl_load
15712
 
 
15713
 
/* Override any GCC internal prototype to avoid an error.
15714
 
   Use char because int might match the return type of a GCC
15715
 
   builtin and then its argument prototype would still apply.  */
15716
 
#ifdef __cplusplus
15717
 
extern "C"
15718
 
#endif
15719
 
char shl_load ();
15720
 
/* The GNU C library defines this for functions which it implements
15721
 
    to always fail with ENOSYS.  Some functions are actually named
15722
 
    something starting with __ and the normal name is an alias.  */
15723
 
#if defined __stub_shl_load || defined __stub___shl_load
15724
 
choke me
15725
 
#endif
15726
 
 
15727
 
int
15728
 
main ()
15729
 
{
15730
 
return shl_load ();
15731
 
  ;
15732
 
  return 0;
15733
 
}
15734
 
_ACEOF
15735
 
rm -f conftest.$ac_objext conftest$ac_exeext
15736
 
if { (ac_try="$ac_link"
15737
 
case "(($ac_try" in
15738
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15739
 
  *) ac_try_echo=$ac_try;;
15740
 
esac
15741
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15742
 
  (eval "$ac_link") 2>conftest.er1
15743
 
  ac_status=$?
15744
 
  grep -v '^ *+' conftest.er1 >conftest.err
15745
 
  rm -f conftest.er1
15746
 
  cat conftest.err >&5
15747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748
 
  (exit $ac_status); } && {
15749
 
         test -z "$ac_cxx_werror_flag" ||
15750
 
         test ! -s conftest.err
15751
 
       } && test -s conftest$ac_exeext &&
15752
 
       $as_test_x conftest$ac_exeext; then
15753
 
  ac_cv_func_shl_load=yes
15754
 
else
15755
 
  echo "$as_me: failed program was:" >&5
15756
 
sed 's/^/| /' conftest.$ac_ext >&5
15757
 
 
15758
 
        ac_cv_func_shl_load=no
15759
 
fi
15760
 
 
15761
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15762
 
      conftest$ac_exeext conftest.$ac_ext
15763
 
fi
15764
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15765
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
15766
 
if test $ac_cv_func_shl_load = yes; then
15767
 
  lt_cv_dlopen="shl_load"
15768
 
else
15769
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15770
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
15771
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15772
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15773
 
else
15774
 
  ac_check_lib_save_LIBS=$LIBS
15775
 
LIBS="-ldld  $LIBS"
15776
 
cat >conftest.$ac_ext <<_ACEOF
15777
 
/* confdefs.h.  */
15778
 
_ACEOF
15779
 
cat confdefs.h >>conftest.$ac_ext
15780
 
cat >>conftest.$ac_ext <<_ACEOF
15781
 
/* end confdefs.h.  */
15782
 
 
15783
 
/* Override any GCC internal prototype to avoid an error.
15784
 
   Use char because int might match the return type of a GCC
15785
 
   builtin and then its argument prototype would still apply.  */
15786
 
#ifdef __cplusplus
15787
 
extern "C"
15788
 
#endif
15789
 
char shl_load ();
15790
 
int
15791
 
main ()
15792
 
{
15793
 
return shl_load ();
15794
 
  ;
15795
 
  return 0;
15796
 
}
15797
 
_ACEOF
15798
 
rm -f conftest.$ac_objext conftest$ac_exeext
15799
 
if { (ac_try="$ac_link"
15800
 
case "(($ac_try" in
15801
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15802
 
  *) ac_try_echo=$ac_try;;
15803
 
esac
15804
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15805
 
  (eval "$ac_link") 2>conftest.er1
15806
 
  ac_status=$?
15807
 
  grep -v '^ *+' conftest.er1 >conftest.err
15808
 
  rm -f conftest.er1
15809
 
  cat conftest.err >&5
15810
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811
 
  (exit $ac_status); } && {
15812
 
         test -z "$ac_cxx_werror_flag" ||
15813
 
         test ! -s conftest.err
15814
 
       } && test -s conftest$ac_exeext &&
15815
 
       $as_test_x conftest$ac_exeext; then
15816
 
  ac_cv_lib_dld_shl_load=yes
15817
 
else
15818
 
  echo "$as_me: failed program was:" >&5
15819
 
sed 's/^/| /' conftest.$ac_ext >&5
15820
 
 
15821
 
        ac_cv_lib_dld_shl_load=no
15822
 
fi
15823
 
 
15824
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15825
 
      conftest$ac_exeext conftest.$ac_ext
15826
 
LIBS=$ac_check_lib_save_LIBS
15827
 
fi
15828
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15829
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
15830
 
if test $ac_cv_lib_dld_shl_load = yes; then
15831
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15832
 
else
15833
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
15834
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
15835
 
if test "${ac_cv_func_dlopen+set}" = set; then
15836
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15837
 
else
15838
 
  cat >conftest.$ac_ext <<_ACEOF
15839
 
/* confdefs.h.  */
15840
 
_ACEOF
15841
 
cat confdefs.h >>conftest.$ac_ext
15842
 
cat >>conftest.$ac_ext <<_ACEOF
15843
 
/* end confdefs.h.  */
15844
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15845
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15846
 
#define dlopen innocuous_dlopen
15847
 
 
15848
 
/* System header to define __stub macros and hopefully few prototypes,
15849
 
    which can conflict with char dlopen (); below.
15850
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15851
 
    <limits.h> exists even on freestanding compilers.  */
15852
 
 
15853
 
#ifdef __STDC__
15854
 
# include <limits.h>
15855
 
#else
15856
 
# include <assert.h>
15857
 
#endif
15858
 
 
15859
 
#undef dlopen
15860
 
 
15861
 
/* Override any GCC internal prototype to avoid an error.
15862
 
   Use char because int might match the return type of a GCC
15863
 
   builtin and then its argument prototype would still apply.  */
15864
 
#ifdef __cplusplus
15865
 
extern "C"
15866
 
#endif
15867
 
char dlopen ();
15868
 
/* The GNU C library defines this for functions which it implements
15869
 
    to always fail with ENOSYS.  Some functions are actually named
15870
 
    something starting with __ and the normal name is an alias.  */
15871
 
#if defined __stub_dlopen || defined __stub___dlopen
15872
 
choke me
15873
 
#endif
15874
 
 
15875
 
int
15876
 
main ()
15877
 
{
15878
 
return dlopen ();
15879
 
  ;
15880
 
  return 0;
15881
 
}
15882
 
_ACEOF
15883
 
rm -f conftest.$ac_objext conftest$ac_exeext
15884
 
if { (ac_try="$ac_link"
15885
 
case "(($ac_try" in
15886
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15887
 
  *) ac_try_echo=$ac_try;;
15888
 
esac
15889
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15890
 
  (eval "$ac_link") 2>conftest.er1
15891
 
  ac_status=$?
15892
 
  grep -v '^ *+' conftest.er1 >conftest.err
15893
 
  rm -f conftest.er1
15894
 
  cat conftest.err >&5
15895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896
 
  (exit $ac_status); } && {
15897
 
         test -z "$ac_cxx_werror_flag" ||
15898
 
         test ! -s conftest.err
15899
 
       } && test -s conftest$ac_exeext &&
15900
 
       $as_test_x conftest$ac_exeext; then
15901
 
  ac_cv_func_dlopen=yes
15902
 
else
15903
 
  echo "$as_me: failed program was:" >&5
15904
 
sed 's/^/| /' conftest.$ac_ext >&5
15905
 
 
15906
 
        ac_cv_func_dlopen=no
15907
 
fi
15908
 
 
15909
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15910
 
      conftest$ac_exeext conftest.$ac_ext
15911
 
fi
15912
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15913
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
15914
 
if test $ac_cv_func_dlopen = yes; then
15915
 
  lt_cv_dlopen="dlopen"
15916
 
else
15917
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15918
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15919
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15920
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15921
 
else
15922
 
  ac_check_lib_save_LIBS=$LIBS
15923
 
LIBS="-ldl  $LIBS"
15924
 
cat >conftest.$ac_ext <<_ACEOF
15925
 
/* confdefs.h.  */
15926
 
_ACEOF
15927
 
cat confdefs.h >>conftest.$ac_ext
15928
 
cat >>conftest.$ac_ext <<_ACEOF
15929
 
/* end confdefs.h.  */
15930
 
 
15931
 
/* Override any GCC internal prototype to avoid an error.
15932
 
   Use char because int might match the return type of a GCC
15933
 
   builtin and then its argument prototype would still apply.  */
15934
 
#ifdef __cplusplus
15935
 
extern "C"
15936
 
#endif
15937
 
char dlopen ();
15938
 
int
15939
 
main ()
15940
 
{
15941
 
return dlopen ();
15942
 
  ;
15943
 
  return 0;
15944
 
}
15945
 
_ACEOF
15946
 
rm -f conftest.$ac_objext conftest$ac_exeext
15947
 
if { (ac_try="$ac_link"
15948
 
case "(($ac_try" in
15949
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950
 
  *) ac_try_echo=$ac_try;;
15951
 
esac
15952
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953
 
  (eval "$ac_link") 2>conftest.er1
15954
 
  ac_status=$?
15955
 
  grep -v '^ *+' conftest.er1 >conftest.err
15956
 
  rm -f conftest.er1
15957
 
  cat conftest.err >&5
15958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959
 
  (exit $ac_status); } && {
15960
 
         test -z "$ac_cxx_werror_flag" ||
15961
 
         test ! -s conftest.err
15962
 
       } && test -s conftest$ac_exeext &&
15963
 
       $as_test_x conftest$ac_exeext; then
15964
 
  ac_cv_lib_dl_dlopen=yes
15965
 
else
15966
 
  echo "$as_me: failed program was:" >&5
15967
 
sed 's/^/| /' conftest.$ac_ext >&5
15968
 
 
15969
 
        ac_cv_lib_dl_dlopen=no
15970
 
fi
15971
 
 
15972
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15973
 
      conftest$ac_exeext conftest.$ac_ext
15974
 
LIBS=$ac_check_lib_save_LIBS
15975
 
fi
15976
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15977
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15978
 
if test $ac_cv_lib_dl_dlopen = yes; then
15979
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15980
 
else
15981
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15982
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
15983
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15984
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15985
 
else
15986
 
  ac_check_lib_save_LIBS=$LIBS
15987
 
LIBS="-lsvld  $LIBS"
15988
 
cat >conftest.$ac_ext <<_ACEOF
15989
 
/* confdefs.h.  */
15990
 
_ACEOF
15991
 
cat confdefs.h >>conftest.$ac_ext
15992
 
cat >>conftest.$ac_ext <<_ACEOF
15993
 
/* end confdefs.h.  */
15994
 
 
15995
 
/* Override any GCC internal prototype to avoid an error.
15996
 
   Use char because int might match the return type of a GCC
15997
 
   builtin and then its argument prototype would still apply.  */
15998
 
#ifdef __cplusplus
15999
 
extern "C"
16000
 
#endif
16001
 
char dlopen ();
16002
 
int
16003
 
main ()
16004
 
{
16005
 
return dlopen ();
16006
 
  ;
16007
 
  return 0;
16008
 
}
16009
 
_ACEOF
16010
 
rm -f conftest.$ac_objext conftest$ac_exeext
16011
 
if { (ac_try="$ac_link"
16012
 
case "(($ac_try" in
16013
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16014
 
  *) ac_try_echo=$ac_try;;
16015
 
esac
16016
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16017
 
  (eval "$ac_link") 2>conftest.er1
16018
 
  ac_status=$?
16019
 
  grep -v '^ *+' conftest.er1 >conftest.err
16020
 
  rm -f conftest.er1
16021
 
  cat conftest.err >&5
16022
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023
 
  (exit $ac_status); } && {
16024
 
         test -z "$ac_cxx_werror_flag" ||
16025
 
         test ! -s conftest.err
16026
 
       } && test -s conftest$ac_exeext &&
16027
 
       $as_test_x conftest$ac_exeext; then
16028
 
  ac_cv_lib_svld_dlopen=yes
16029
 
else
16030
 
  echo "$as_me: failed program was:" >&5
16031
 
sed 's/^/| /' conftest.$ac_ext >&5
16032
 
 
16033
 
        ac_cv_lib_svld_dlopen=no
16034
 
fi
16035
 
 
16036
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16037
 
      conftest$ac_exeext conftest.$ac_ext
16038
 
LIBS=$ac_check_lib_save_LIBS
16039
 
fi
16040
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16041
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
16042
 
if test $ac_cv_lib_svld_dlopen = yes; then
16043
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16044
 
else
16045
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16046
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
16047
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16048
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16049
 
else
16050
 
  ac_check_lib_save_LIBS=$LIBS
16051
 
LIBS="-ldld  $LIBS"
16052
 
cat >conftest.$ac_ext <<_ACEOF
16053
 
/* confdefs.h.  */
16054
 
_ACEOF
16055
 
cat confdefs.h >>conftest.$ac_ext
16056
 
cat >>conftest.$ac_ext <<_ACEOF
16057
 
/* end confdefs.h.  */
16058
 
 
16059
 
/* Override any GCC internal prototype to avoid an error.
16060
 
   Use char because int might match the return type of a GCC
16061
 
   builtin and then its argument prototype would still apply.  */
16062
 
#ifdef __cplusplus
16063
 
extern "C"
16064
 
#endif
16065
 
char dld_link ();
16066
 
int
16067
 
main ()
16068
 
{
16069
 
return dld_link ();
16070
 
  ;
16071
 
  return 0;
16072
 
}
16073
 
_ACEOF
16074
 
rm -f conftest.$ac_objext conftest$ac_exeext
16075
 
if { (ac_try="$ac_link"
16076
 
case "(($ac_try" in
16077
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16078
 
  *) ac_try_echo=$ac_try;;
16079
 
esac
16080
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16081
 
  (eval "$ac_link") 2>conftest.er1
16082
 
  ac_status=$?
16083
 
  grep -v '^ *+' conftest.er1 >conftest.err
16084
 
  rm -f conftest.er1
16085
 
  cat conftest.err >&5
16086
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087
 
  (exit $ac_status); } && {
16088
 
         test -z "$ac_cxx_werror_flag" ||
16089
 
         test ! -s conftest.err
16090
 
       } && test -s conftest$ac_exeext &&
16091
 
       $as_test_x conftest$ac_exeext; then
16092
 
  ac_cv_lib_dld_dld_link=yes
16093
 
else
16094
 
  echo "$as_me: failed program was:" >&5
16095
 
sed 's/^/| /' conftest.$ac_ext >&5
16096
 
 
16097
 
        ac_cv_lib_dld_dld_link=no
16098
 
fi
16099
 
 
16100
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16101
 
      conftest$ac_exeext conftest.$ac_ext
16102
 
LIBS=$ac_check_lib_save_LIBS
16103
 
fi
16104
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
16105
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
16106
 
if test $ac_cv_lib_dld_dld_link = yes; then
16107
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
16108
 
fi
16109
 
 
16110
 
 
16111
 
fi
16112
 
 
16113
 
 
16114
 
fi
16115
 
 
16116
 
 
16117
 
fi
16118
 
 
16119
 
 
16120
 
fi
16121
 
 
16122
 
 
16123
 
fi
16124
 
 
16125
 
    ;;
16126
 
  esac
16127
 
 
16128
 
  if test "x$lt_cv_dlopen" != xno; then
16129
 
    enable_dlopen=yes
16130
 
  else
16131
 
    enable_dlopen=no
16132
 
  fi
16133
 
 
16134
 
  case $lt_cv_dlopen in
16135
 
  dlopen)
16136
 
    save_CPPFLAGS="$CPPFLAGS"
16137
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16138
 
 
16139
 
    save_LDFLAGS="$LDFLAGS"
16140
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16141
 
 
16142
 
    save_LIBS="$LIBS"
16143
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
16144
 
 
16145
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
16146
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
16147
 
if test "${lt_cv_dlopen_self+set}" = set; then
16148
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16149
 
else
16150
 
          if test "$cross_compiling" = yes; then :
16151
 
  lt_cv_dlopen_self=cross
16152
 
else
16153
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16154
 
  lt_status=$lt_dlunknown
16155
 
  cat > conftest.$ac_ext <<EOF
16156
 
#line 16156 "configure"
16157
 
#include "confdefs.h"
16158
 
 
16159
 
#if HAVE_DLFCN_H
16160
 
#include <dlfcn.h>
16161
 
#endif
16162
 
 
16163
 
#include <stdio.h>
16164
 
 
16165
 
#ifdef RTLD_GLOBAL
16166
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
16167
 
#else
16168
 
#  ifdef DL_GLOBAL
16169
 
#    define LT_DLGLOBAL         DL_GLOBAL
16170
 
#  else
16171
 
#    define LT_DLGLOBAL         0
16172
 
#  endif
16173
 
#endif
16174
 
 
16175
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16176
 
   find out it does not work in some platform. */
16177
 
#ifndef LT_DLLAZY_OR_NOW
16178
 
#  ifdef RTLD_LAZY
16179
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
16180
 
#  else
16181
 
#    ifdef DL_LAZY
16182
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
16183
 
#    else
16184
 
#      ifdef RTLD_NOW
16185
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
16186
 
#      else
16187
 
#        ifdef DL_NOW
16188
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
16189
 
#        else
16190
 
#          define LT_DLLAZY_OR_NOW      0
16191
 
#        endif
16192
 
#      endif
16193
 
#    endif
16194
 
#  endif
16195
 
#endif
16196
 
 
16197
 
#ifdef __cplusplus
16198
 
extern "C" void exit (int);
16199
 
#endif
16200
 
 
16201
 
void fnord() { int i=42;}
16202
 
int main ()
16203
 
{
16204
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16205
 
  int status = $lt_dlunknown;
16206
 
 
16207
 
  if (self)
16208
 
    {
16209
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16210
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16211
 
      /* dlclose (self); */
16212
 
    }
16213
 
 
16214
 
    exit (status);
16215
 
}
16216
 
EOF
16217
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16218
 
  (eval $ac_link) 2>&5
16219
 
  ac_status=$?
16220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16222
 
    (./conftest; exit; ) 2>/dev/null
16223
 
    lt_status=$?
16224
 
    case x$lt_status in
16225
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16226
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16227
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
16228
 
    esac
16229
 
  else :
16230
 
    # compilation failed
16231
 
    lt_cv_dlopen_self=no
16232
 
  fi
16233
 
fi
16234
 
rm -fr conftest*
16235
 
 
16236
 
 
16237
 
fi
16238
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
16239
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
16240
 
 
16241
 
    if test "x$lt_cv_dlopen_self" = xyes; then
16242
 
      LDFLAGS="$LDFLAGS $link_static_flag"
16243
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
16244
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
16245
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
16246
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16247
 
else
16248
 
          if test "$cross_compiling" = yes; then :
16249
 
  lt_cv_dlopen_self_static=cross
16250
 
else
16251
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16252
 
  lt_status=$lt_dlunknown
16253
 
  cat > conftest.$ac_ext <<EOF
16254
 
#line 16254 "configure"
16255
 
#include "confdefs.h"
16256
 
 
16257
 
#if HAVE_DLFCN_H
16258
 
#include <dlfcn.h>
16259
 
#endif
16260
 
 
16261
 
#include <stdio.h>
16262
 
 
16263
 
#ifdef RTLD_GLOBAL
16264
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
16265
 
#else
16266
 
#  ifdef DL_GLOBAL
16267
 
#    define LT_DLGLOBAL         DL_GLOBAL
16268
 
#  else
16269
 
#    define LT_DLGLOBAL         0
16270
 
#  endif
16271
 
#endif
16272
 
 
16273
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16274
 
   find out it does not work in some platform. */
16275
 
#ifndef LT_DLLAZY_OR_NOW
16276
 
#  ifdef RTLD_LAZY
16277
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
16278
 
#  else
16279
 
#    ifdef DL_LAZY
16280
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
16281
 
#    else
16282
 
#      ifdef RTLD_NOW
16283
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
16284
 
#      else
16285
 
#        ifdef DL_NOW
16286
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
16287
 
#        else
16288
 
#          define LT_DLLAZY_OR_NOW      0
16289
 
#        endif
16290
 
#      endif
16291
 
#    endif
16292
 
#  endif
16293
 
#endif
16294
 
 
16295
 
#ifdef __cplusplus
16296
 
extern "C" void exit (int);
16297
 
#endif
16298
 
 
16299
 
void fnord() { int i=42;}
16300
 
int main ()
16301
 
{
16302
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16303
 
  int status = $lt_dlunknown;
16304
 
 
16305
 
  if (self)
16306
 
    {
16307
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16308
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16309
 
      /* dlclose (self); */
16310
 
    }
16311
 
 
16312
 
    exit (status);
16313
 
}
16314
 
EOF
16315
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16316
 
  (eval $ac_link) 2>&5
16317
 
  ac_status=$?
16318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16320
 
    (./conftest; exit; ) 2>/dev/null
16321
 
    lt_status=$?
16322
 
    case x$lt_status in
16323
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16324
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16325
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
16326
 
    esac
16327
 
  else :
16328
 
    # compilation failed
16329
 
    lt_cv_dlopen_self_static=no
16330
 
  fi
16331
 
fi
16332
 
rm -fr conftest*
16333
 
 
16334
 
 
16335
 
fi
16336
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16337
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
16338
 
    fi
16339
 
 
16340
 
    CPPFLAGS="$save_CPPFLAGS"
16341
 
    LDFLAGS="$save_LDFLAGS"
16342
 
    LIBS="$save_LIBS"
16343
 
    ;;
16344
 
  esac
16345
 
 
16346
 
  case $lt_cv_dlopen_self in
16347
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16348
 
  *) enable_dlopen_self=unknown ;;
16349
 
  esac
16350
 
 
16351
 
  case $lt_cv_dlopen_self_static in
16352
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16353
 
  *) enable_dlopen_self_static=unknown ;;
16354
 
  esac
16355
 
fi
16356
 
 
16357
 
 
16358
 
# The else clause should only fire when bootstrapping the
16359
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16360
 
# with your package, and you will get complaints that there are
16361
 
# no rules to generate ltmain.sh.
16362
 
if test -f "$ltmain"; then
16363
 
  # See if we are running on zsh, and set the options which allow our commands through
16364
 
  # without removal of \ escapes.
16365
 
  if test -n "${ZSH_VERSION+set}" ; then
16366
 
    setopt NO_GLOB_SUBST
16367
 
  fi
16368
 
  # Now quote all the things that may contain metacharacters while being
16369
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16370
 
  # variables and quote the copies for generation of the libtool script.
16371
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
16372
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16373
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16374
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16375
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16376
 
    lt_cv_sys_global_symbol_to_c_name_address \
16377
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16378
 
    old_postinstall_cmds old_postuninstall_cmds \
16379
 
    compiler_CXX \
16380
 
    CC_CXX \
16381
 
    LD_CXX \
16382
 
    lt_prog_compiler_wl_CXX \
16383
 
    lt_prog_compiler_pic_CXX \
16384
 
    lt_prog_compiler_static_CXX \
16385
 
    lt_prog_compiler_no_builtin_flag_CXX \
16386
 
    export_dynamic_flag_spec_CXX \
16387
 
    thread_safe_flag_spec_CXX \
16388
 
    whole_archive_flag_spec_CXX \
16389
 
    enable_shared_with_static_runtimes_CXX \
16390
 
    old_archive_cmds_CXX \
16391
 
    old_archive_from_new_cmds_CXX \
16392
 
    predep_objects_CXX \
16393
 
    postdep_objects_CXX \
16394
 
    predeps_CXX \
16395
 
    postdeps_CXX \
16396
 
    compiler_lib_search_path_CXX \
16397
 
    archive_cmds_CXX \
16398
 
    archive_expsym_cmds_CXX \
16399
 
    postinstall_cmds_CXX \
16400
 
    postuninstall_cmds_CXX \
16401
 
    old_archive_from_expsyms_cmds_CXX \
16402
 
    allow_undefined_flag_CXX \
16403
 
    no_undefined_flag_CXX \
16404
 
    export_symbols_cmds_CXX \
16405
 
    hardcode_libdir_flag_spec_CXX \
16406
 
    hardcode_libdir_flag_spec_ld_CXX \
16407
 
    hardcode_libdir_separator_CXX \
16408
 
    hardcode_automatic_CXX \
16409
 
    module_cmds_CXX \
16410
 
    module_expsym_cmds_CXX \
16411
 
    lt_cv_prog_compiler_c_o_CXX \
16412
 
    exclude_expsyms_CXX \
16413
 
    include_expsyms_CXX; do
16414
 
 
16415
 
    case $var in
16416
 
    old_archive_cmds_CXX | \
16417
 
    old_archive_from_new_cmds_CXX | \
16418
 
    archive_cmds_CXX | \
16419
 
    archive_expsym_cmds_CXX | \
16420
 
    module_cmds_CXX | \
16421
 
    module_expsym_cmds_CXX | \
16422
 
    old_archive_from_expsyms_cmds_CXX | \
16423
 
    export_symbols_cmds_CXX | \
16424
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16425
 
    postinstall_cmds | postuninstall_cmds | \
16426
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16427
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16428
 
      # Double-quote double-evaled strings.
16429
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16430
 
      ;;
16431
 
    *)
16432
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16433
 
      ;;
16434
 
    esac
16435
 
  done
16436
 
 
16437
 
  case $lt_echo in
16438
 
  *'\$0 --fallback-echo"')
16439
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16440
 
    ;;
16441
 
  esac
16442
 
 
16443
 
cfgfile="$ofile"
16444
 
 
16445
 
  cat <<__EOF__ >> "$cfgfile"
16446
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16447
 
 
16448
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16449
 
 
16450
 
# Shell to use when invoking shell scripts.
16451
 
SHELL=$lt_SHELL
16452
 
 
16453
 
# Whether or not to build shared libraries.
16454
 
build_libtool_libs=$enable_shared
16455
 
 
16456
 
# Whether or not to build static libraries.
16457
 
build_old_libs=$enable_static
16458
 
 
16459
 
# Whether or not to add -lc for building shared libraries.
16460
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
16461
 
 
16462
 
# Whether or not to disallow shared libs when runtime libs are static
16463
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16464
 
 
16465
 
# Whether or not to optimize for fast installation.
16466
 
fast_install=$enable_fast_install
16467
 
 
16468
 
# The host system.
16469
 
host_alias=$host_alias
16470
 
host=$host
16471
 
 
16472
 
# An echo program that does not interpret backslashes.
16473
 
echo=$lt_echo
16474
 
 
16475
 
# The archiver.
16476
 
AR=$lt_AR
16477
 
AR_FLAGS=$lt_AR_FLAGS
16478
 
 
16479
 
# A C compiler.
16480
 
LTCC=$lt_LTCC
16481
 
 
16482
 
# A language-specific compiler.
16483
 
CC=$lt_compiler_CXX
16484
 
 
16485
 
# Is the compiler the GNU C compiler?
16486
 
with_gcc=$GCC_CXX
16487
 
 
16488
 
# An ERE matcher.
16489
 
EGREP=$lt_EGREP
16490
 
 
16491
 
# The linker used to build libraries.
16492
 
LD=$lt_LD_CXX
16493
 
 
16494
 
# Whether we need hard or soft links.
16495
 
LN_S=$lt_LN_S
16496
 
 
16497
 
# A BSD-compatible nm program.
16498
 
NM=$lt_NM
16499
 
 
16500
 
# A symbol stripping program
16501
 
STRIP=$STRIP
16502
 
 
16503
 
# Used to examine libraries when file_magic_cmd begins "file"
16504
 
MAGIC_CMD=$MAGIC_CMD
16505
 
 
16506
 
# Used on cygwin: DLL creation program.
16507
 
DLLTOOL="$DLLTOOL"
16508
 
 
16509
 
# Used on cygwin: object dumper.
16510
 
OBJDUMP="$OBJDUMP"
16511
 
 
16512
 
# Used on cygwin: assembler.
16513
 
AS="$AS"
16514
 
 
16515
 
# The name of the directory that contains temporary libtool files.
16516
 
objdir=$objdir
16517
 
 
16518
 
# How to create reloadable object files.
16519
 
reload_flag=$lt_reload_flag
16520
 
reload_cmds=$lt_reload_cmds
16521
 
 
16522
 
# How to pass a linker flag through the compiler.
16523
 
wl=$lt_lt_prog_compiler_wl_CXX
16524
 
 
16525
 
# Object file suffix (normally "o").
16526
 
objext="$ac_objext"
16527
 
 
16528
 
# Old archive suffix (normally "a").
16529
 
libext="$libext"
16530
 
 
16531
 
# Shared library suffix (normally ".so").
16532
 
shrext='$shrext'
16533
 
 
16534
 
# Executable file suffix (normally "").
16535
 
exeext="$exeext"
16536
 
 
16537
 
# Additional compiler flags for building library objects.
16538
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
16539
 
pic_mode=$pic_mode
16540
 
 
16541
 
# What is the maximum length of a command?
16542
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16543
 
 
16544
 
# Does compiler simultaneously support -c and -o options?
16545
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16546
 
 
16547
 
# Must we lock files when doing compilation ?
16548
 
need_locks=$lt_need_locks
16549
 
 
16550
 
# Do we need the lib prefix for modules?
16551
 
need_lib_prefix=$need_lib_prefix
16552
 
 
16553
 
# Do we need a version for libraries?
16554
 
need_version=$need_version
16555
 
 
16556
 
# Whether dlopen is supported.
16557
 
dlopen_support=$enable_dlopen
16558
 
 
16559
 
# Whether dlopen of programs is supported.
16560
 
dlopen_self=$enable_dlopen_self
16561
 
 
16562
 
# Whether dlopen of statically linked programs is supported.
16563
 
dlopen_self_static=$enable_dlopen_self_static
16564
 
 
16565
 
# Compiler flag to prevent dynamic linking.
16566
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
16567
 
 
16568
 
# Compiler flag to turn off builtin functions.
16569
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16570
 
 
16571
 
# Compiler flag to allow reflexive dlopens.
16572
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16573
 
 
16574
 
# Compiler flag to generate shared objects directly from archives.
16575
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16576
 
 
16577
 
# Compiler flag to generate thread-safe objects.
16578
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16579
 
 
16580
 
# Library versioning type.
16581
 
version_type=$version_type
16582
 
 
16583
 
# Format of library name prefix.
16584
 
libname_spec=$lt_libname_spec
16585
 
 
16586
 
# List of archive names.  First name is the real one, the rest are links.
16587
 
# The last name is the one that the linker finds with -lNAME.
16588
 
library_names_spec=$lt_library_names_spec
16589
 
 
16590
 
# The coded name of the library, if different from the real name.
16591
 
soname_spec=$lt_soname_spec
16592
 
 
16593
 
# Commands used to build and install an old-style archive.
16594
 
RANLIB=$lt_RANLIB
16595
 
old_archive_cmds=$lt_old_archive_cmds_CXX
16596
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16597
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16598
 
 
16599
 
# Create an old-style archive from a shared archive.
16600
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16601
 
 
16602
 
# Create a temporary old-style archive to link instead of a shared archive.
16603
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16604
 
 
16605
 
# Commands used to build and install a shared archive.
16606
 
archive_cmds=$lt_archive_cmds_CXX
16607
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16608
 
postinstall_cmds=$lt_postinstall_cmds
16609
 
postuninstall_cmds=$lt_postuninstall_cmds
16610
 
 
16611
 
# Commands used to build a loadable module (assumed same as above if empty)
16612
 
module_cmds=$lt_module_cmds_CXX
16613
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
16614
 
 
16615
 
# Commands to strip libraries.
16616
 
old_striplib=$lt_old_striplib
16617
 
striplib=$lt_striplib
16618
 
 
16619
 
# Dependencies to place before the objects being linked to create a
16620
 
# shared library.
16621
 
predep_objects=$lt_predep_objects_CXX
16622
 
 
16623
 
# Dependencies to place after the objects being linked to create a
16624
 
# shared library.
16625
 
postdep_objects=$lt_postdep_objects_CXX
16626
 
 
16627
 
# Dependencies to place before the objects being linked to create a
16628
 
# shared library.
16629
 
predeps=$lt_predeps_CXX
16630
 
 
16631
 
# Dependencies to place after the objects being linked to create a
16632
 
# shared library.
16633
 
postdeps=$lt_postdeps_CXX
16634
 
 
16635
 
# The library search path used internally by the compiler when linking
16636
 
# a shared library.
16637
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16638
 
 
16639
 
# Method to check whether dependent libraries are shared objects.
16640
 
deplibs_check_method=$lt_deplibs_check_method
16641
 
 
16642
 
# Command to use when deplibs_check_method == file_magic.
16643
 
file_magic_cmd=$lt_file_magic_cmd
16644
 
 
16645
 
# Flag that allows shared libraries with undefined symbols to be built.
16646
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
16647
 
 
16648
 
# Flag that forces no undefined symbols.
16649
 
no_undefined_flag=$lt_no_undefined_flag_CXX
16650
 
 
16651
 
# Commands used to finish a libtool library installation in a directory.
16652
 
finish_cmds=$lt_finish_cmds
16653
 
 
16654
 
# Same as above, but a single script fragment to be evaled but not shown.
16655
 
finish_eval=$lt_finish_eval
16656
 
 
16657
 
# Take the output of nm and produce a listing of raw symbols and C names.
16658
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16659
 
 
16660
 
# Transform the output of nm in a proper C declaration
16661
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16662
 
 
16663
 
# Transform the output of nm in a C name address pair
16664
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16665
 
 
16666
 
# This is the shared library runtime path variable.
16667
 
runpath_var=$runpath_var
16668
 
 
16669
 
# This is the shared library path variable.
16670
 
shlibpath_var=$shlibpath_var
16671
 
 
16672
 
# Is shlibpath searched before the hard-coded library search path?
16673
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16674
 
 
16675
 
# How to hardcode a shared library path into an executable.
16676
 
hardcode_action=$hardcode_action_CXX
16677
 
 
16678
 
# Whether we should hardcode library paths into libraries.
16679
 
hardcode_into_libs=$hardcode_into_libs
16680
 
 
16681
 
# Flag to hardcode \$libdir into a binary during linking.
16682
 
# This must work even if \$libdir does not exist.
16683
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16684
 
 
16685
 
# If ld is used when linking, flag to hardcode \$libdir into
16686
 
# a binary during linking. This must work even if \$libdir does
16687
 
# not exist.
16688
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16689
 
 
16690
 
# Whether we need a single -rpath flag with a separated argument.
16691
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16692
 
 
16693
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16694
 
# resulting binary.
16695
 
hardcode_direct=$hardcode_direct_CXX
16696
 
 
16697
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16698
 
# resulting binary.
16699
 
hardcode_minus_L=$hardcode_minus_L_CXX
16700
 
 
16701
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16702
 
# the resulting binary.
16703
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16704
 
 
16705
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16706
 
# and all subsequent libraries and executables linked against it.
16707
 
hardcode_automatic=$hardcode_automatic_CXX
16708
 
 
16709
 
# Variables whose values should be saved in libtool wrapper scripts and
16710
 
# restored at relink time.
16711
 
variables_saved_for_relink="$variables_saved_for_relink"
16712
 
 
16713
 
# Whether libtool must link a program against all its dependency libraries.
16714
 
link_all_deplibs=$link_all_deplibs_CXX
16715
 
 
16716
 
# Compile-time system search path for libraries
16717
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16718
 
 
16719
 
# Run-time system search path for libraries
16720
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16721
 
 
16722
 
# Fix the shell variable \$srcfile for the compiler.
16723
 
fix_srcfile_path="$fix_srcfile_path_CXX"
16724
 
 
16725
 
# Set to yes if exported symbols are required.
16726
 
always_export_symbols=$always_export_symbols_CXX
16727
 
 
16728
 
# The commands to list exported symbols.
16729
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
16730
 
 
16731
 
# The commands to extract the exported symbol list from a shared archive.
16732
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16733
 
 
16734
 
# Symbols that should not be listed in the preloaded symbols.
16735
 
exclude_expsyms=$lt_exclude_expsyms_CXX
16736
 
 
16737
 
# Symbols that must always be exported.
16738
 
include_expsyms=$lt_include_expsyms_CXX
16739
 
 
16740
 
# ### END LIBTOOL TAG CONFIG: $tagname
16741
 
 
16742
 
__EOF__
16743
 
 
16744
 
 
16745
 
else
16746
 
  # If there is no Makefile yet, we rely on a make rule to execute
16747
 
  # `config.status --recheck' to rerun these tests and create the
16748
 
  # libtool script then.
16749
 
  test -f Makefile && make "$ltmain"
16750
 
fi
16751
 
 
16752
 
 
16753
 
ac_ext=c
16754
 
ac_cpp='$CPP $CPPFLAGS'
16755
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16756
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16757
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16758
 
 
16759
 
CC=$lt_save_CC
16760
 
LDCXX=$LD
16761
 
LD=$lt_save_LD
16762
 
GCC=$lt_save_GCC
16763
 
with_gnu_ldcxx=$with_gnu_ld
16764
 
with_gnu_ld=$lt_save_with_gnu_ld
16765
 
lt_cv_path_LDCXX=$lt_cv_path_LD
16766
 
lt_cv_path_LD=$lt_save_path_LD
16767
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16768
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16769
 
 
16770
 
        else
16771
 
          tagname=""
16772
 
        fi
16773
 
        ;;
16774
 
 
16775
 
      F77)
16776
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
16777
 
 
16778
 
ac_ext=f
16779
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16780
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16781
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16782
 
 
16783
 
 
16784
 
archive_cmds_need_lc_F77=no
16785
 
allow_undefined_flag_F77=
16786
 
always_export_symbols_F77=no
16787
 
archive_expsym_cmds_F77=
16788
 
export_dynamic_flag_spec_F77=
16789
 
hardcode_direct_F77=no
16790
 
hardcode_libdir_flag_spec_F77=
16791
 
hardcode_libdir_flag_spec_ld_F77=
16792
 
hardcode_libdir_separator_F77=
16793
 
hardcode_minus_L_F77=no
16794
 
hardcode_automatic_F77=no
16795
 
module_cmds_F77=
16796
 
module_expsym_cmds_F77=
16797
 
link_all_deplibs_F77=unknown
16798
 
old_archive_cmds_F77=$old_archive_cmds
16799
 
no_undefined_flag_F77=
16800
 
whole_archive_flag_spec_F77=
16801
 
enable_shared_with_static_runtimes_F77=no
16802
 
 
16803
 
# Source file extension for f77 test sources.
16804
 
ac_ext=f
16805
 
 
16806
 
# Object file extension for compiled f77 test sources.
16807
 
objext=o
16808
 
objext_F77=$objext
16809
 
 
16810
 
# Code to be used in simple compile tests
16811
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
16812
 
 
16813
 
# Code to be used in simple link tests
16814
 
lt_simple_link_test_code="      program t\n      end\n"
16815
 
 
16816
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16817
 
 
16818
 
# If no C compiler was specified, use CC.
16819
 
LTCC=${LTCC-"$CC"}
16820
 
 
16821
 
# Allow CC to be a program name with arguments.
16822
 
compiler=$CC
16823
 
 
16824
 
 
16825
 
# Allow CC to be a program name with arguments.
16826
 
lt_save_CC="$CC"
16827
 
CC=${F77-"f77"}
16828
 
compiler=$CC
16829
 
compiler_F77=$CC
16830
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16831
 
 
16832
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16833
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
16834
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
16835
 
echo "${ECHO_T}$can_build_shared" >&6; }
16836
 
 
16837
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16838
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16839
 
test "$can_build_shared" = "no" && enable_shared=no
16840
 
 
16841
 
# On AIX, shared libraries and static libraries use the same namespace, and
16842
 
# are all built from PIC.
16843
 
case "$host_os" in
16844
 
aix3*)
16845
 
  test "$enable_shared" = yes && enable_static=no
16846
 
  if test -n "$RANLIB"; then
16847
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
16848
 
    postinstall_cmds='$RANLIB $lib'
16849
 
  fi
16850
 
  ;;
16851
 
aix4*)
16852
 
  test "$enable_shared" = yes && enable_static=no
16853
 
  ;;
16854
 
esac
16855
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
16856
 
echo "${ECHO_T}$enable_shared" >&6; }
16857
 
 
16858
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16859
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16860
 
# Make sure either enable_shared or enable_static is yes.
16861
 
test "$enable_shared" = yes || enable_static=yes
16862
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
16863
 
echo "${ECHO_T}$enable_static" >&6; }
16864
 
 
16865
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16866
 
 
16867
 
GCC_F77="$G77"
16868
 
LD_F77="$LD"
16869
 
 
16870
 
lt_prog_compiler_wl_F77=
16871
 
lt_prog_compiler_pic_F77=
16872
 
lt_prog_compiler_static_F77=
16873
 
 
16874
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16875
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16876
 
 
16877
 
  if test "$GCC" = yes; then
16878
 
    lt_prog_compiler_wl_F77='-Wl,'
16879
 
    lt_prog_compiler_static_F77='-static'
16880
 
 
16881
 
    case $host_os in
16882
 
      aix*)
16883
 
      # All AIX code is PIC.
16884
 
      if test "$host_cpu" = ia64; then
16885
 
        # AIX 5 now supports IA64 processor
16886
 
        lt_prog_compiler_static_F77='-Bstatic'
16887
 
      fi
16888
 
      ;;
16889
 
 
16890
 
    amigaos*)
16891
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16892
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16893
 
      # like `-m68040'.
16894
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16895
 
      ;;
16896
 
 
16897
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16898
 
      # PIC is the default for these OSes.
16899
 
      ;;
16900
 
 
16901
 
    mingw* | pw32* | os2*)
16902
 
      # This hack is so that the source file can tell whether it is being
16903
 
      # built for inclusion in a dll (and should export symbols for example).
16904
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16905
 
      ;;
16906
 
 
16907
 
    darwin* | rhapsody*)
16908
 
      # PIC is the default on this platform
16909
 
      # Common symbols not allowed in MH_DYLIB files
16910
 
      lt_prog_compiler_pic_F77='-fno-common'
16911
 
      ;;
16912
 
 
16913
 
    msdosdjgpp*)
16914
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16915
 
      # on systems that don't support them.
16916
 
      lt_prog_compiler_can_build_shared_F77=no
16917
 
      enable_shared=no
16918
 
      ;;
16919
 
 
16920
 
    sysv4*MP*)
16921
 
      if test -d /usr/nec; then
16922
 
        lt_prog_compiler_pic_F77=-Kconform_pic
16923
 
      fi
16924
 
      ;;
16925
 
 
16926
 
    hpux*)
16927
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16928
 
      # not for PA HP-UX.
16929
 
      case "$host_cpu" in
16930
 
      hppa*64*|ia64*)
16931
 
        # +Z the default
16932
 
        ;;
16933
 
      *)
16934
 
        lt_prog_compiler_pic_F77='-fPIC'
16935
 
        ;;
16936
 
      esac
16937
 
      ;;
16938
 
 
16939
 
    *)
16940
 
      lt_prog_compiler_pic_F77='-fPIC'
16941
 
      ;;
16942
 
    esac
16943
 
  else
16944
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16945
 
    case $host_os in
16946
 
    aix*)
16947
 
      lt_prog_compiler_wl_F77='-Wl,'
16948
 
      if test "$host_cpu" = ia64; then
16949
 
        # AIX 5 now supports IA64 processor
16950
 
        lt_prog_compiler_static_F77='-Bstatic'
16951
 
      else
16952
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16953
 
      fi
16954
 
      ;;
16955
 
 
16956
 
    mingw* | pw32* | os2*)
16957
 
      # This hack is so that the source file can tell whether it is being
16958
 
      # built for inclusion in a dll (and should export symbols for example).
16959
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16960
 
      ;;
16961
 
 
16962
 
    hpux9* | hpux10* | hpux11*)
16963
 
      lt_prog_compiler_wl_F77='-Wl,'
16964
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16965
 
      # not for PA HP-UX.
16966
 
      case "$host_cpu" in
16967
 
      hppa*64*|ia64*)
16968
 
        # +Z the default
16969
 
        ;;
16970
 
      *)
16971
 
        lt_prog_compiler_pic_F77='+Z'
16972
 
        ;;
16973
 
      esac
16974
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16975
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16976
 
      ;;
16977
 
 
16978
 
    irix5* | irix6* | nonstopux*)
16979
 
      lt_prog_compiler_wl_F77='-Wl,'
16980
 
      # PIC (with -KPIC) is the default.
16981
 
      lt_prog_compiler_static_F77='-non_shared'
16982
 
      ;;
16983
 
 
16984
 
    newsos6)
16985
 
      lt_prog_compiler_pic_F77='-KPIC'
16986
 
      lt_prog_compiler_static_F77='-Bstatic'
16987
 
      ;;
16988
 
 
16989
 
    linux*)
16990
 
      case $CC in
16991
 
      icc* | ecc*)
16992
 
        lt_prog_compiler_wl_F77='-Wl,'
16993
 
        lt_prog_compiler_pic_F77='-KPIC'
16994
 
        lt_prog_compiler_static_F77='-static'
16995
 
        ;;
16996
 
      ccc*)
16997
 
        lt_prog_compiler_wl_F77='-Wl,'
16998
 
        # All Alpha code is PIC.
16999
 
        lt_prog_compiler_static_F77='-non_shared'
17000
 
        ;;
17001
 
      esac
17002
 
      ;;
17003
 
 
17004
 
    osf3* | osf4* | osf5*)
17005
 
      lt_prog_compiler_wl_F77='-Wl,'
17006
 
      # All OSF/1 code is PIC.
17007
 
      lt_prog_compiler_static_F77='-non_shared'
17008
 
      ;;
17009
 
 
17010
 
    sco3.2v5*)
17011
 
      lt_prog_compiler_pic_F77='-Kpic'
17012
 
      lt_prog_compiler_static_F77='-dn'
17013
 
      ;;
17014
 
 
17015
 
    solaris*)
17016
 
      lt_prog_compiler_wl_F77='-Wl,'
17017
 
      lt_prog_compiler_pic_F77='-KPIC'
17018
 
      lt_prog_compiler_static_F77='-Bstatic'
17019
 
      ;;
17020
 
 
17021
 
    sunos4*)
17022
 
      lt_prog_compiler_wl_F77='-Qoption ld '
17023
 
      lt_prog_compiler_pic_F77='-PIC'
17024
 
      lt_prog_compiler_static_F77='-Bstatic'
17025
 
      ;;
17026
 
 
17027
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17028
 
      lt_prog_compiler_wl_F77='-Wl,'
17029
 
      lt_prog_compiler_pic_F77='-KPIC'
17030
 
      lt_prog_compiler_static_F77='-Bstatic'
17031
 
      ;;
17032
 
 
17033
 
    sysv4*MP*)
17034
 
      if test -d /usr/nec ;then
17035
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
17036
 
        lt_prog_compiler_static_F77='-Bstatic'
17037
 
      fi
17038
 
      ;;
17039
 
 
17040
 
    uts4*)
17041
 
      lt_prog_compiler_pic_F77='-pic'
17042
 
      lt_prog_compiler_static_F77='-Bstatic'
17043
 
      ;;
17044
 
 
17045
 
    *)
17046
 
      lt_prog_compiler_can_build_shared_F77=no
17047
 
      ;;
17048
 
    esac
17049
 
  fi
17050
 
 
17051
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
17052
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
17053
 
 
17054
 
#
17055
 
# Check to make sure the PIC flag actually works.
17056
 
#
17057
 
if test -n "$lt_prog_compiler_pic_F77"; then
17058
 
 
17059
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17060
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
17061
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
17062
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17063
 
else
17064
 
  lt_prog_compiler_pic_works_F77=no
17065
 
  ac_outfile=conftest.$ac_objext
17066
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17067
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
17068
 
   # Insert the option either (1) after the last *FLAGS variable, or
17069
 
   # (2) before a word containing "conftest.", or (3) at the end.
17070
 
   # Note that $ac_compile itself does not contain backslashes and begins
17071
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17072
 
   # The option is referenced via a variable to avoid confusing sed.
17073
 
   lt_compile=`echo "$ac_compile" | $SED \
17074
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17075
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17076
 
   -e 's:$: $lt_compiler_flag:'`
17077
 
   (eval echo "\"\$as_me:17077: $lt_compile\"" >&5)
17078
 
   (eval "$lt_compile" 2>conftest.err)
17079
 
   ac_status=$?
17080
 
   cat conftest.err >&5
17081
 
   echo "$as_me:17081: \$? = $ac_status" >&5
17082
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17083
 
     # The compiler can only warn and ignore the option if not recognized
17084
 
     # So say no if there are warnings
17085
 
     if test ! -s conftest.err; then
17086
 
       lt_prog_compiler_pic_works_F77=yes
17087
 
     fi
17088
 
   fi
17089
 
   $rm conftest*
17090
 
 
17091
 
fi
17092
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
17093
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
17094
 
 
17095
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
17096
 
    case $lt_prog_compiler_pic_F77 in
17097
 
     "" | " "*) ;;
17098
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
17099
 
     esac
17100
 
else
17101
 
    lt_prog_compiler_pic_F77=
17102
 
     lt_prog_compiler_can_build_shared_F77=no
17103
 
fi
17104
 
 
17105
 
fi
17106
 
case "$host_os" in
17107
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17108
 
  *djgpp*)
17109
 
    lt_prog_compiler_pic_F77=
17110
 
    ;;
17111
 
  *)
17112
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
17113
 
    ;;
17114
 
esac
17115
 
 
17116
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17117
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17118
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17119
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17120
 
else
17121
 
  lt_cv_prog_compiler_c_o_F77=no
17122
 
   $rm -r conftest 2>/dev/null
17123
 
   mkdir conftest
17124
 
   cd conftest
17125
 
   mkdir out
17126
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17127
 
 
17128
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
17129
 
   # that will create temporary files in the current directory regardless of
17130
 
   # the output directory.  Thus, making CWD read-only will cause this test
17131
 
   # to fail, enabling locking or at least warning the user not to do parallel
17132
 
   # builds.
17133
 
   chmod -w .
17134
 
 
17135
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17136
 
   # Insert the option either (1) after the last *FLAGS variable, or
17137
 
   # (2) before a word containing "conftest.", or (3) at the end.
17138
 
   # Note that $ac_compile itself does not contain backslashes and begins
17139
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17140
 
   lt_compile=`echo "$ac_compile" | $SED \
17141
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17142
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17143
 
   -e 's:$: $lt_compiler_flag:'`
17144
 
   (eval echo "\"\$as_me:17144: $lt_compile\"" >&5)
17145
 
   (eval "$lt_compile" 2>out/conftest.err)
17146
 
   ac_status=$?
17147
 
   cat out/conftest.err >&5
17148
 
   echo "$as_me:17148: \$? = $ac_status" >&5
17149
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17150
 
   then
17151
 
     # The compiler can only warn and ignore the option if not recognized
17152
 
     # So say no if there are warnings
17153
 
     if test ! -s out/conftest.err; then
17154
 
       lt_cv_prog_compiler_c_o_F77=yes
17155
 
     fi
17156
 
   fi
17157
 
   chmod u+w .
17158
 
   $rm conftest* out/*
17159
 
   rmdir out
17160
 
   cd ..
17161
 
   rmdir conftest
17162
 
   $rm conftest*
17163
 
 
17164
 
fi
17165
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17166
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
17167
 
 
17168
 
 
17169
 
hard_links="nottested"
17170
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
17171
 
  # do not overwrite the value of need_locks provided by the user
17172
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17173
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17174
 
  hard_links=yes
17175
 
  $rm conftest*
17176
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17177
 
  touch conftest.a
17178
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17179
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17180
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17181
 
echo "${ECHO_T}$hard_links" >&6; }
17182
 
  if test "$hard_links" = no; then
17183
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17184
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17185
 
    need_locks=warn
17186
 
  fi
17187
 
else
17188
 
  need_locks=no
17189
 
fi
17190
 
 
17191
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17192
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17193
 
 
17194
 
  runpath_var=
17195
 
  allow_undefined_flag_F77=
17196
 
  enable_shared_with_static_runtimes_F77=no
17197
 
  archive_cmds_F77=
17198
 
  archive_expsym_cmds_F77=
17199
 
  old_archive_From_new_cmds_F77=
17200
 
  old_archive_from_expsyms_cmds_F77=
17201
 
  export_dynamic_flag_spec_F77=
17202
 
  whole_archive_flag_spec_F77=
17203
 
  thread_safe_flag_spec_F77=
17204
 
  hardcode_libdir_flag_spec_F77=
17205
 
  hardcode_libdir_flag_spec_ld_F77=
17206
 
  hardcode_libdir_separator_F77=
17207
 
  hardcode_direct_F77=no
17208
 
  hardcode_minus_L_F77=no
17209
 
  hardcode_shlibpath_var_F77=unsupported
17210
 
  link_all_deplibs_F77=unknown
17211
 
  hardcode_automatic_F77=no
17212
 
  module_cmds_F77=
17213
 
  module_expsym_cmds_F77=
17214
 
  always_export_symbols_F77=no
17215
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17216
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17217
 
  # included in the symbol list
17218
 
  include_expsyms_F77=
17219
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17220
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17221
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17222
 
  # as well as any symbol that contains `d'.
17223
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
17224
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17225
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17226
 
  # the symbol is explicitly referenced.  Since portable code cannot
17227
 
  # rely on this symbol name, it's probably fine to never include it in
17228
 
  # preloaded symbol tables.
17229
 
  extract_expsyms_cmds=
17230
 
 
17231
 
  case $host_os in
17232
 
  cygwin* | mingw* | pw32*)
17233
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17234
 
    # When not using gcc, we currently assume that we are using
17235
 
    # Microsoft Visual C++.
17236
 
    if test "$GCC" != yes; then
17237
 
      with_gnu_ld=no
17238
 
    fi
17239
 
    ;;
17240
 
  openbsd*)
17241
 
    with_gnu_ld=no
17242
 
    ;;
17243
 
  esac
17244
 
 
17245
 
  ld_shlibs_F77=yes
17246
 
  if test "$with_gnu_ld" = yes; then
17247
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17248
 
    wlarc='${wl}'
17249
 
 
17250
 
    # See if GNU ld supports shared libraries.
17251
 
    case $host_os in
17252
 
    aix3* | aix4* | aix5*)
17253
 
      # On AIX/PPC, the GNU linker is very broken
17254
 
      if test "$host_cpu" != ia64; then
17255
 
        ld_shlibs_F77=no
17256
 
        cat <<EOF 1>&2
17257
 
 
17258
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17259
 
*** to be unable to reliably create shared libraries on AIX.
17260
 
*** Therefore, libtool is disabling shared libraries support.  If you
17261
 
*** really care for shared libraries, you may want to modify your PATH
17262
 
*** so that a non-GNU linker is found, and then restart.
17263
 
 
17264
 
EOF
17265
 
      fi
17266
 
      ;;
17267
 
 
17268
 
    amigaos*)
17269
 
      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)'
17270
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17271
 
      hardcode_minus_L_F77=yes
17272
 
 
17273
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17274
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17275
 
      # to version 4, is to share data among multiple programs linked
17276
 
      # with the same dynamic library.  Since this doesn't match the
17277
 
      # behavior of shared libraries on other platforms, we can't use
17278
 
      # them.
17279
 
      ld_shlibs_F77=no
17280
 
      ;;
17281
 
 
17282
 
    beos*)
17283
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17284
 
        allow_undefined_flag_F77=unsupported
17285
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17286
 
        # support --undefined.  This deserves some investigation.  FIXME
17287
 
        archive_cmds_F77='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17288
 
      else
17289
 
        ld_shlibs_F77=no
17290
 
      fi
17291
 
      ;;
17292
 
 
17293
 
    cygwin* | mingw* | pw32*)
17294
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17295
 
      # as there is no search path for DLLs.
17296
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17297
 
      allow_undefined_flag_F77=no
17298
 
      always_export_symbols_F77=no
17299
 
      enable_shared_with_static_runtimes_F77=yes
17300
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17301
 
 
17302
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17303
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17304
 
        # If the export-symbols file already is a .def file (1st line
17305
 
        # is EXPORTS), use it as is; otherwise, prepend...
17306
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17307
 
          cp $export_symbols $output_objdir/$soname.def;
17308
 
        else
17309
 
          echo EXPORTS > $output_objdir/$soname.def;
17310
 
          cat $export_symbols >> $output_objdir/$soname.def;
17311
 
        fi~
17312
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
17313
 
      else
17314
 
        ld_shlibs=no
17315
 
      fi
17316
 
      ;;
17317
 
 
17318
 
    netbsd*)
17319
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17320
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17321
 
        wlarc=
17322
 
      else
17323
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17324
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17325
 
      fi
17326
 
      ;;
17327
 
 
17328
 
    solaris* | sysv5*)
17329
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17330
 
        ld_shlibs_F77=no
17331
 
        cat <<EOF 1>&2
17332
 
 
17333
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17334
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17335
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17336
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17337
 
*** your PATH or compiler configuration so that the native linker is
17338
 
*** used, and then restart.
17339
 
 
17340
 
EOF
17341
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17342
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17343
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17344
 
      else
17345
 
        ld_shlibs_F77=no
17346
 
      fi
17347
 
      ;;
17348
 
 
17349
 
    sunos4*)
17350
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17351
 
      wlarc=
17352
 
      hardcode_direct_F77=yes
17353
 
      hardcode_shlibpath_var_F77=no
17354
 
      ;;
17355
 
 
17356
 
    *)
17357
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17358
 
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17359
 
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17360
 
      else
17361
 
        ld_shlibs_F77=no
17362
 
      fi
17363
 
      ;;
17364
 
    esac
17365
 
 
17366
 
    if test "$ld_shlibs_F77" = yes; then
17367
 
      runpath_var=LD_RUN_PATH
17368
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
17369
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17370
 
      # ancient GNU ld didn't support --whole-archive et. al.
17371
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17372
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17373
 
      else
17374
 
        whole_archive_flag_spec_F77=
17375
 
      fi
17376
 
    fi
17377
 
  else
17378
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17379
 
    case $host_os in
17380
 
    aix3*)
17381
 
      allow_undefined_flag_F77=unsupported
17382
 
      always_export_symbols_F77=yes
17383
 
      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'
17384
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17385
 
      # are no directories specified by -L.
17386
 
      hardcode_minus_L_F77=yes
17387
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
17388
 
        # Neither direct hardcoding nor static linking is supported with a
17389
 
        # broken collect2.
17390
 
        hardcode_direct_F77=unsupported
17391
 
      fi
17392
 
      ;;
17393
 
 
17394
 
    aix4* | aix5*)
17395
 
      if test "$host_cpu" = ia64; then
17396
 
        # On IA64, the linker does run time linking by default, so we don't
17397
 
        # have to do anything special.
17398
 
        aix_use_runtimelinking=no
17399
 
        exp_sym_flag='-Bexport'
17400
 
        no_entry_flag=""
17401
 
      else
17402
 
        # If we're using GNU nm, then we don't want the "-C" option.
17403
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17404
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17405
 
          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'
17406
 
        else
17407
 
          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'
17408
 
        fi
17409
 
 
17410
 
        # KDE requires run time linking.  Make it the default.
17411
 
        aix_use_runtimelinking=yes
17412
 
        exp_sym_flag='-bexport'
17413
 
        no_entry_flag='-bnoentry'
17414
 
      fi
17415
 
 
17416
 
      # When large executables or shared objects are built, AIX ld can
17417
 
      # have problems creating the table of contents.  If linking a library
17418
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17419
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17420
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17421
 
 
17422
 
      archive_cmds_F77=''
17423
 
      hardcode_direct_F77=yes
17424
 
      hardcode_libdir_separator_F77=':'
17425
 
      link_all_deplibs_F77=yes
17426
 
 
17427
 
      if test "$GCC" = yes; then
17428
 
        case $host_os in aix4.012|aix4.012.*)
17429
 
        # We only want to do this on AIX 4.2 and lower, the check
17430
 
        # below for broken collect2 doesn't work under 4.3+
17431
 
          collect2name=`${CC} -print-prog-name=collect2`
17432
 
          if test -f "$collect2name" && \
17433
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17434
 
          then
17435
 
          # We have reworked collect2
17436
 
          hardcode_direct_F77=yes
17437
 
          else
17438
 
          # We have old collect2
17439
 
          hardcode_direct_F77=unsupported
17440
 
          # It fails to find uninstalled libraries when the uninstalled
17441
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17442
 
          # to unsupported forces relinking
17443
 
          hardcode_minus_L_F77=yes
17444
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17445
 
          hardcode_libdir_separator_F77=
17446
 
          fi
17447
 
        esac
17448
 
        shared_flag='-shared'
17449
 
      else
17450
 
        # not using gcc
17451
 
        if test "$host_cpu" = ia64; then
17452
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17453
 
        # chokes on -Wl,-G. The following line is correct:
17454
 
          shared_flag='-G'
17455
 
        else
17456
 
        if test "$aix_use_runtimelinking" = yes; then
17457
 
            shared_flag='-qmkshrobj ${wl}-G'
17458
 
          else
17459
 
            shared_flag='-qmkshrobj'
17460
 
        fi
17461
 
        fi
17462
 
      fi
17463
 
 
17464
 
      # Let the compiler handle the export list.
17465
 
      always_export_symbols_F77=no
17466
 
      if test "$aix_use_runtimelinking" = yes; then
17467
 
        # Warning - without using the other runtime loading flags (-brtl),
17468
 
        # -berok will link without error, but may produce a broken library.
17469
 
        allow_undefined_flag_F77='-berok'
17470
 
       # Determine the default libpath from the value encoded in an empty executable.
17471
 
        cat >conftest.$ac_ext <<_ACEOF
17472
 
      program main
17473
 
 
17474
 
      end
17475
 
_ACEOF
17476
 
rm -f conftest.$ac_objext conftest$ac_exeext
17477
 
if { (ac_try="$ac_link"
17478
 
case "(($ac_try" in
17479
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17480
 
  *) ac_try_echo=$ac_try;;
17481
 
esac
17482
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17483
 
  (eval "$ac_link") 2>conftest.er1
17484
 
  ac_status=$?
17485
 
  grep -v '^ *+' conftest.er1 >conftest.err
17486
 
  rm -f conftest.er1
17487
 
  cat conftest.err >&5
17488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489
 
  (exit $ac_status); } && {
17490
 
         test -z "$ac_f77_werror_flag" ||
17491
 
         test ! -s conftest.err
17492
 
       } && test -s conftest$ac_exeext &&
17493
 
       $as_test_x conftest$ac_exeext; then
17494
 
 
17495
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17496
 
}'`
17497
 
# Check for a 64-bit object if we didn't find anything.
17498
 
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; }
17499
 
}'`; fi
17500
 
else
17501
 
  echo "$as_me: failed program was:" >&5
17502
 
sed 's/^/| /' conftest.$ac_ext >&5
17503
 
 
17504
 
 
17505
 
fi
17506
 
 
17507
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17508
 
      conftest$ac_exeext conftest.$ac_ext
17509
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17510
 
 
17511
 
        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17512
 
        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"
17513
 
        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"
17514
 
       else
17515
 
        if test "$host_cpu" = ia64; then
17516
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17517
 
          allow_undefined_flag_F77="-z nodefs"
17518
 
          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"
17519
 
        else
17520
 
         # Determine the default libpath from the value encoded in an empty executable.
17521
 
         cat >conftest.$ac_ext <<_ACEOF
17522
 
      program main
17523
 
 
17524
 
      end
17525
 
_ACEOF
17526
 
rm -f conftest.$ac_objext conftest$ac_exeext
17527
 
if { (ac_try="$ac_link"
17528
 
case "(($ac_try" in
17529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17530
 
  *) ac_try_echo=$ac_try;;
17531
 
esac
17532
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17533
 
  (eval "$ac_link") 2>conftest.er1
17534
 
  ac_status=$?
17535
 
  grep -v '^ *+' conftest.er1 >conftest.err
17536
 
  rm -f conftest.er1
17537
 
  cat conftest.err >&5
17538
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539
 
  (exit $ac_status); } && {
17540
 
         test -z "$ac_f77_werror_flag" ||
17541
 
         test ! -s conftest.err
17542
 
       } && test -s conftest$ac_exeext &&
17543
 
       $as_test_x conftest$ac_exeext; then
17544
 
 
17545
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17546
 
}'`
17547
 
# Check for a 64-bit object if we didn't find anything.
17548
 
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; }
17549
 
}'`; fi
17550
 
else
17551
 
  echo "$as_me: failed program was:" >&5
17552
 
sed 's/^/| /' conftest.$ac_ext >&5
17553
 
 
17554
 
 
17555
 
fi
17556
 
 
17557
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17558
 
      conftest$ac_exeext conftest.$ac_ext
17559
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17560
 
 
17561
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17562
 
          # Warning - without using the other run time loading flags,
17563
 
          # -berok will link without error, but may produce a broken library.
17564
 
          no_undefined_flag_F77=' ${wl}-bernotok'
17565
 
          allow_undefined_flag_F77=' ${wl}-berok'
17566
 
          # -bexpall does not export symbols beginning with underscore (_)
17567
 
          always_export_symbols_F77=yes
17568
 
          # Exported symbols can be pulled into shared objects from archives
17569
 
          whole_archive_flag_spec_F77=' '
17570
 
          archive_cmds_need_lc_F77=yes
17571
 
          # This is similar to how AIX traditionally builds it's shared libraries.
17572
 
          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'
17573
 
        fi
17574
 
      fi
17575
 
      ;;
17576
 
 
17577
 
    amigaos*)
17578
 
      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)'
17579
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17580
 
      hardcode_minus_L_F77=yes
17581
 
      # see comment about different semantics on the GNU ld section
17582
 
      ld_shlibs_F77=no
17583
 
      ;;
17584
 
 
17585
 
    bsdi4*)
17586
 
      export_dynamic_flag_spec_F77=-rdynamic
17587
 
      ;;
17588
 
 
17589
 
    cygwin* | mingw* | pw32*)
17590
 
      # When not using gcc, we currently assume that we are using
17591
 
      # Microsoft Visual C++.
17592
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17593
 
      # no search path for DLLs.
17594
 
      hardcode_libdir_flag_spec_F77=' '
17595
 
      allow_undefined_flag_F77=no
17596
 
      # Tell ltmain to make .lib files, not .a files.
17597
 
      libext=lib
17598
 
      # Tell ltmain to make .dll files, not .so files.
17599
 
      shrext=".dll"
17600
 
      # FIXME: Setting linknames here is a bad hack.
17601
 
      archive_cmds_F77='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17602
 
      # The linker will automatically build a .lib file if we build a DLL.
17603
 
      old_archive_From_new_cmds_F77='true'
17604
 
      # FIXME: Should let the user specify the lib program.
17605
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
17606
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
17607
 
      enable_shared_with_static_runtimes_F77=yes
17608
 
      ;;
17609
 
 
17610
 
    darwin* | rhapsody*)
17611
 
    if test "$GXX" = yes ; then
17612
 
      archive_cmds_need_lc_F77=no
17613
 
      case "$host_os" in
17614
 
      rhapsody* | darwin1.[012])
17615
 
        allow_undefined_flag_F77='-Wl,-undefined -Wl,suppress'
17616
 
        ;;
17617
 
      *) # Darwin 1.3 on
17618
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17619
 
          allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17620
 
        else
17621
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
17622
 
            10.012)
17623
 
              allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17624
 
              ;;
17625
 
            10.*)
17626
 
              allow_undefined_flag_F77='-Wl,-undefined -Wl,dynamic_lookup'
17627
 
              ;;
17628
 
          esac
17629
 
        fi
17630
 
        ;;
17631
 
      esac
17632
 
        lt_int_apple_cc_single_mod=no
17633
 
        output_verbose_link_cmd='echo'
17634
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17635
 
          lt_int_apple_cc_single_mod=yes
17636
 
        fi
17637
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17638
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
17639
 
        else
17640
 
        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'
17641
 
      fi
17642
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
17643
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17644
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17645
 
          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}'
17646
 
        else
17647
 
          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}'
17648
 
        fi
17649
 
          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}'
17650
 
      hardcode_direct_F77=no
17651
 
      hardcode_automatic_F77=yes
17652
 
      hardcode_shlibpath_var_F77=unsupported
17653
 
      whole_archive_flag_spec_F77='-all_load $convenience'
17654
 
      link_all_deplibs_F77=yes
17655
 
    else
17656
 
      ld_shlibs_F77=no
17657
 
    fi
17658
 
      ;;
17659
 
 
17660
 
    dgux*)
17661
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17662
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17663
 
      hardcode_shlibpath_var_F77=no
17664
 
      ;;
17665
 
 
17666
 
    freebsd1*)
17667
 
      ld_shlibs_F77=no
17668
 
      ;;
17669
 
 
17670
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17671
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17672
 
    # does not break anything, and helps significantly (at the cost of a little
17673
 
    # extra space).
17674
 
    freebsd2.2*)
17675
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17676
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17677
 
      hardcode_direct_F77=yes
17678
 
      hardcode_shlibpath_var_F77=no
17679
 
      ;;
17680
 
 
17681
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17682
 
    freebsd2*)
17683
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17684
 
      hardcode_direct_F77=yes
17685
 
      hardcode_minus_L_F77=yes
17686
 
      hardcode_shlibpath_var_F77=no
17687
 
      ;;
17688
 
 
17689
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17690
 
    freebsd* | kfreebsd*-gnu)
17691
 
      archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
17692
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17693
 
      hardcode_direct_F77=yes
17694
 
      hardcode_shlibpath_var_F77=no
17695
 
      ;;
17696
 
 
17697
 
    hpux9*)
17698
 
      if test "$GCC" = yes; then
17699
 
        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'
17700
 
      else
17701
 
        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'
17702
 
      fi
17703
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17704
 
      hardcode_libdir_separator_F77=:
17705
 
      hardcode_direct_F77=yes
17706
 
 
17707
 
      # hardcode_minus_L: Not really in the search PATH,
17708
 
      # but as the default location of the library.
17709
 
      hardcode_minus_L_F77=yes
17710
 
      export_dynamic_flag_spec_F77='${wl}-E'
17711
 
      ;;
17712
 
 
17713
 
    hpux10* | hpux11*)
17714
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17715
 
        case "$host_cpu" in
17716
 
        hppa*64*|ia64*)
17717
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17718
 
          ;;
17719
 
        *)
17720
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
17721
 
          ;;
17722
 
        esac
17723
 
      else
17724
 
        case "$host_cpu" in
17725
 
        hppa*64*|ia64*)
17726
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17727
 
          ;;
17728
 
        *)
17729
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17730
 
          ;;
17731
 
        esac
17732
 
      fi
17733
 
      if test "$with_gnu_ld" = no; then
17734
 
        case "$host_cpu" in
17735
 
        hppa*64*)
17736
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17737
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17738
 
          hardcode_libdir_separator_F77=:
17739
 
          hardcode_direct_F77=no
17740
 
          hardcode_shlibpath_var_F77=no
17741
 
          ;;
17742
 
        ia64*)
17743
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17744
 
          hardcode_direct_F77=no
17745
 
          hardcode_shlibpath_var_F77=no
17746
 
 
17747
 
          # hardcode_minus_L: Not really in the search PATH,
17748
 
          # but as the default location of the library.
17749
 
          hardcode_minus_L_F77=yes
17750
 
          ;;
17751
 
        *)
17752
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17753
 
          hardcode_libdir_separator_F77=:
17754
 
          hardcode_direct_F77=yes
17755
 
          export_dynamic_flag_spec_F77='${wl}-E'
17756
 
 
17757
 
          # hardcode_minus_L: Not really in the search PATH,
17758
 
          # but as the default location of the library.
17759
 
          hardcode_minus_L_F77=yes
17760
 
          ;;
17761
 
        esac
17762
 
      fi
17763
 
      ;;
17764
 
 
17765
 
    irix5* | irix6* | nonstopux*)
17766
 
      if test "$GCC" = yes; then
17767
 
        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'
17768
 
      else
17769
 
        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'
17770
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17771
 
      fi
17772
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17773
 
      hardcode_libdir_separator_F77=:
17774
 
      link_all_deplibs_F77=yes
17775
 
      ;;
17776
 
 
17777
 
    netbsd*)
17778
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17779
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17780
 
      else
17781
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17782
 
      fi
17783
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17784
 
      hardcode_direct_F77=yes
17785
 
      hardcode_shlibpath_var_F77=no
17786
 
      ;;
17787
 
 
17788
 
    newsos6)
17789
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17790
 
      hardcode_direct_F77=yes
17791
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17792
 
      hardcode_libdir_separator_F77=:
17793
 
      hardcode_shlibpath_var_F77=no
17794
 
      ;;
17795
 
 
17796
 
    openbsd*)
17797
 
      hardcode_direct_F77=yes
17798
 
      hardcode_shlibpath_var_F77=no
17799
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17800
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17801
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17802
 
        export_dynamic_flag_spec_F77='${wl}-E'
17803
 
      else
17804
 
       case $host_os in
17805
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17806
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17807
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
17808
 
           ;;
17809
 
         *)
17810
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17811
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17812
 
           ;;
17813
 
       esac
17814
 
      fi
17815
 
      ;;
17816
 
 
17817
 
    os2*)
17818
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17819
 
      hardcode_minus_L_F77=yes
17820
 
      allow_undefined_flag_F77=unsupported
17821
 
      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'
17822
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17823
 
      ;;
17824
 
 
17825
 
    osf3*)
17826
 
      if test "$GCC" = yes; then
17827
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17828
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17829
 
      else
17830
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17831
 
        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'
17832
 
      fi
17833
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17834
 
      hardcode_libdir_separator_F77=:
17835
 
      ;;
17836
 
 
17837
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17838
 
      if test "$GCC" = yes; then
17839
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17840
 
        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'
17841
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17842
 
      else
17843
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17844
 
        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'
17845
 
        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~
17846
 
        $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'
17847
 
 
17848
 
        # Both c and cxx compiler support -rpath directly
17849
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
17850
 
      fi
17851
 
      hardcode_libdir_separator_F77=:
17852
 
      ;;
17853
 
 
17854
 
    sco3.2v5*)
17855
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17856
 
      hardcode_shlibpath_var_F77=no
17857
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
17858
 
      runpath_var=LD_RUN_PATH
17859
 
      hardcode_runpath_var=yes
17860
 
      ;;
17861
 
 
17862
 
    solaris*)
17863
 
      no_undefined_flag_F77=' -z text'
17864
 
      if test "$GCC" = yes; then
17865
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17866
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17867
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
17868
 
      else
17869
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17870
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17871
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17872
 
      fi
17873
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17874
 
      hardcode_shlibpath_var_F77=no
17875
 
      case $host_os in
17876
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17877
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17878
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
17879
 
      esac
17880
 
      link_all_deplibs_F77=yes
17881
 
      ;;
17882
 
 
17883
 
    sunos4*)
17884
 
      if test "x$host_vendor" = xsequent; then
17885
 
        # Use $CC to link under sequent, because it throws in some extra .o
17886
 
        # files that make .init and .fini sections work.
17887
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
17888
 
      else
17889
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17890
 
      fi
17891
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17892
 
      hardcode_direct_F77=yes
17893
 
      hardcode_minus_L_F77=yes
17894
 
      hardcode_shlibpath_var_F77=no
17895
 
      ;;
17896
 
 
17897
 
    sysv4)
17898
 
      case $host_vendor in
17899
 
        sni)
17900
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17901
 
          hardcode_direct_F77=yes # is this really true???
17902
 
        ;;
17903
 
        siemens)
17904
 
          ## LD is ld it makes a PLAMLIB
17905
 
          ## CC just makes a GrossModule.
17906
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17907
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
17908
 
          hardcode_direct_F77=no
17909
 
        ;;
17910
 
        motorola)
17911
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17912
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17913
 
        ;;
17914
 
      esac
17915
 
      runpath_var='LD_RUN_PATH'
17916
 
      hardcode_shlibpath_var_F77=no
17917
 
      ;;
17918
 
 
17919
 
    sysv4.3*)
17920
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17921
 
      hardcode_shlibpath_var_F77=no
17922
 
      export_dynamic_flag_spec_F77='-Bexport'
17923
 
      ;;
17924
 
 
17925
 
    sysv4*MP*)
17926
 
      if test -d /usr/nec; then
17927
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17928
 
        hardcode_shlibpath_var_F77=no
17929
 
        runpath_var=LD_RUN_PATH
17930
 
        hardcode_runpath_var=yes
17931
 
        ld_shlibs_F77=yes
17932
 
      fi
17933
 
      ;;
17934
 
 
17935
 
    sysv4.2uw2*)
17936
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17937
 
      hardcode_direct_F77=yes
17938
 
      hardcode_minus_L_F77=no
17939
 
      hardcode_shlibpath_var_F77=no
17940
 
      hardcode_runpath_var=yes
17941
 
      runpath_var=LD_RUN_PATH
17942
 
      ;;
17943
 
 
17944
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
17945
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
17946
 
      if test "$GCC" = yes; then
17947
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17948
 
      else
17949
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17950
 
      fi
17951
 
      runpath_var='LD_RUN_PATH'
17952
 
      hardcode_shlibpath_var_F77=no
17953
 
      ;;
17954
 
 
17955
 
    sysv5*)
17956
 
      no_undefined_flag_F77=' -z text'
17957
 
      # $CC -shared without GNU ld will not create a library from C++
17958
 
      # object files and a static libstdc++, better avoid it by now
17959
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17960
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17961
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17962
 
      hardcode_libdir_flag_spec_F77=
17963
 
      hardcode_shlibpath_var_F77=no
17964
 
      runpath_var='LD_RUN_PATH'
17965
 
      ;;
17966
 
 
17967
 
    uts4*)
17968
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17969
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17970
 
      hardcode_shlibpath_var_F77=no
17971
 
      ;;
17972
 
 
17973
 
    *)
17974
 
      ld_shlibs_F77=no
17975
 
      ;;
17976
 
    esac
17977
 
  fi
17978
 
 
17979
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17980
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17981
 
test "$ld_shlibs_F77" = no && can_build_shared=no
17982
 
 
17983
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17984
 
if test "$GCC" = yes; then
17985
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17986
 
fi
17987
 
 
17988
 
#
17989
 
# Do we need to explicitly link libc?
17990
 
#
17991
 
case "x$archive_cmds_need_lc_F77" in
17992
 
x|xyes)
17993
 
  # Assume -lc should be added
17994
 
  archive_cmds_need_lc_F77=yes
17995
 
 
17996
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17997
 
    case $archive_cmds_F77 in
17998
 
    *'~'*)
17999
 
      # FIXME: we may have to deal with multi-command sequences.
18000
 
      ;;
18001
 
    '$CC '*)
18002
 
      # Test whether the compiler implicitly links with -lc since on some
18003
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18004
 
      # to ld, don't add -lc before -lgcc.
18005
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18006
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18007
 
      $rm conftest*
18008
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18009
 
 
18010
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18011
 
  (eval $ac_compile) 2>&5
18012
 
  ac_status=$?
18013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014
 
  (exit $ac_status); } 2>conftest.err; then
18015
 
        soname=conftest
18016
 
        lib=conftest
18017
 
        libobjs=conftest.$ac_objext
18018
 
        deplibs=
18019
 
        wl=$lt_prog_compiler_wl_F77
18020
 
        compiler_flags=-v
18021
 
        linker_flags=-v
18022
 
        verstring=
18023
 
        output_objdir=.
18024
 
        libname=conftest
18025
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
18026
 
        allow_undefined_flag_F77=
18027
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18028
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18029
 
  ac_status=$?
18030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031
 
  (exit $ac_status); }
18032
 
        then
18033
 
          archive_cmds_need_lc_F77=no
18034
 
        else
18035
 
          archive_cmds_need_lc_F77=yes
18036
 
        fi
18037
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
18038
 
      else
18039
 
        cat conftest.err 1>&5
18040
 
      fi
18041
 
      $rm conftest*
18042
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18043
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
18044
 
      ;;
18045
 
    esac
18046
 
  fi
18047
 
  ;;
18048
 
esac
18049
 
 
18050
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18051
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18052
 
library_names_spec=
18053
 
libname_spec='lib$name'
18054
 
soname_spec=
18055
 
shrext=".so"
18056
 
postinstall_cmds=
18057
 
postuninstall_cmds=
18058
 
finish_cmds=
18059
 
finish_eval=
18060
 
shlibpath_var=
18061
 
shlibpath_overrides_runpath=unknown
18062
 
version_type=none
18063
 
dynamic_linker="$host_os ld.so"
18064
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18065
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18066
 
need_lib_prefix=unknown
18067
 
hardcode_into_libs=no
18068
 
 
18069
 
# when you set need_version to no, make sure it does not cause -set_version
18070
 
# flags to be left without arguments
18071
 
need_version=unknown
18072
 
 
18073
 
case $host_os in
18074
 
aix3*)
18075
 
  version_type=linux
18076
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18077
 
  shlibpath_var=LIBPATH
18078
 
 
18079
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18080
 
  soname_spec='${libname}${release}${shared_ext}$major'
18081
 
  ;;
18082
 
 
18083
 
aix4* | aix5*)
18084
 
  version_type=linux
18085
 
  need_lib_prefix=no
18086
 
  need_version=no
18087
 
  hardcode_into_libs=yes
18088
 
  if test "$host_cpu" = ia64; then
18089
 
    # AIX 5 supports IA64
18090
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18091
 
    shlibpath_var=LD_LIBRARY_PATH
18092
 
  else
18093
 
    # With GCC up to 2.95.x, collect2 would create an import file
18094
 
    # for dependence libraries.  The import file would start with
18095
 
    # the line `#! .'.  This would cause the generated library to
18096
 
    # depend on `.', always an invalid library.  This was fixed in
18097
 
    # development snapshots of GCC prior to 3.0.
18098
 
    case $host_os in
18099
 
      aix4 | aix4.[01] | aix4.[01].*)
18100
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18101
 
           echo ' yes '
18102
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18103
 
        :
18104
 
      else
18105
 
        can_build_shared=no
18106
 
      fi
18107
 
      ;;
18108
 
    esac
18109
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18110
 
    # soname into executable. Probably we can add versioning support to
18111
 
    # collect2, so additional links can be useful in future.
18112
 
    if test "$aix_use_runtimelinking" = yes; then
18113
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18114
 
      # instead of lib<name>.a to let people know that these are not
18115
 
      # typical AIX shared libraries.
18116
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18117
 
    else
18118
 
      # We preserve .a as extension for shared libraries through AIX4.2
18119
 
      # and later when we are not doing run time linking.
18120
 
      library_names_spec='${libname}${release}.a $libname.a'
18121
 
      soname_spec='${libname}${release}${shared_ext}$major'
18122
 
    fi
18123
 
    shlibpath_var=LIBPATH
18124
 
  fi
18125
 
  ;;
18126
 
 
18127
 
amigaos*)
18128
 
  library_names_spec='$libname.ixlibrary $libname.a'
18129
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18130
 
  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'
18131
 
  ;;
18132
 
 
18133
 
beos*)
18134
 
  library_names_spec='${libname}${shared_ext}'
18135
 
  dynamic_linker="$host_os ld.so"
18136
 
  shlibpath_var=LIBRARY_PATH
18137
 
  ;;
18138
 
 
18139
 
bsdi4*)
18140
 
  version_type=linux
18141
 
  need_version=no
18142
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18143
 
  soname_spec='${libname}${release}${shared_ext}$major'
18144
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18145
 
  shlibpath_var=LD_LIBRARY_PATH
18146
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18147
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18148
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18149
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18150
 
  # libtool to hard-code these into programs
18151
 
  ;;
18152
 
 
18153
 
cygwin* | mingw* | pw32*)
18154
 
  version_type=windows
18155
 
  shrext=".dll"
18156
 
  need_version=no
18157
 
  need_lib_prefix=no
18158
 
 
18159
 
  case $GCC,$host_os in
18160
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18161
 
    library_names_spec='$libname.dll.a'
18162
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18163
 
    postinstall_cmds='base_file=`basename \${file}`~
18164
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18165
 
      dldir=$destdir/`dirname \$dlpath`~
18166
 
      test -d \$dldir || mkdir -p \$dldir~
18167
 
      $install_prog $dir/$dlname \$dldir/$dlname'
18168
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18169
 
      dlpath=$dir/\$dldll~
18170
 
       $rm \$dlpath'
18171
 
    shlibpath_overrides_runpath=yes
18172
 
 
18173
 
    case $host_os in
18174
 
    cygwin*)
18175
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18176
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18177
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18178
 
      ;;
18179
 
    mingw*)
18180
 
      # MinGW DLLs use traditional 'lib' prefix
18181
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18182
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18183
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18184
 
        # It is most probably a Windows format PATH printed by
18185
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18186
 
        # path with ; separators, and with drive letters. We can handle the
18187
 
        # drive letters (cygwin fileutils understands them), so leave them,
18188
 
        # especially as we might pass files found there to a mingw objdump,
18189
 
        # which wouldn't understand a cygwinified path. Ahh.
18190
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18191
 
      else
18192
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18193
 
      fi
18194
 
      ;;
18195
 
    pw32*)
18196
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18197
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18198
 
      ;;
18199
 
    esac
18200
 
    ;;
18201
 
 
18202
 
  *)
18203
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18204
 
    ;;
18205
 
  esac
18206
 
  dynamic_linker='Win32 ld.exe'
18207
 
  # FIXME: first we should search . and the directory the executable is in
18208
 
  shlibpath_var=PATH
18209
 
  ;;
18210
 
 
18211
 
darwin* | rhapsody*)
18212
 
  dynamic_linker="$host_os dyld"
18213
 
  version_type=darwin
18214
 
  need_lib_prefix=no
18215
 
  need_version=no
18216
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18217
 
  soname_spec='${libname}${release}${major}$shared_ext'
18218
 
  shlibpath_overrides_runpath=yes
18219
 
  shlibpath_var=DYLD_LIBRARY_PATH
18220
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
18221
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18222
 
  if test "$GCC" = yes; then
18223
 
    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"`
18224
 
  else
18225
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18226
 
  fi
18227
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18228
 
  ;;
18229
 
 
18230
 
dgux*)
18231
 
  version_type=linux
18232
 
  need_lib_prefix=no
18233
 
  need_version=no
18234
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18235
 
  soname_spec='${libname}${release}${shared_ext}$major'
18236
 
  shlibpath_var=LD_LIBRARY_PATH
18237
 
  ;;
18238
 
 
18239
 
freebsd1*)
18240
 
  dynamic_linker=no
18241
 
  ;;
18242
 
 
18243
 
kfreebsd*-gnu*)
18244
 
  version_type=linux
18245
 
  need_lib_prefix=no
18246
 
  need_version=no
18247
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18248
 
  soname_spec='${libname}${release}${shared_ext}$major'
18249
 
  shlibpath_var=LD_LIBRARY_PATH
18250
 
  shlibpath_overrides_runpath=no
18251
 
  hardcode_into_libs=yes
18252
 
  dynamic_linker='GNU ld.so'
18253
 
  ;;
18254
 
 
18255
 
freebsd*)
18256
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18257
 
  version_type=freebsd-$objformat
18258
 
  case $version_type in
18259
 
    freebsd-elf*)
18260
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18261
 
      need_version=no
18262
 
      need_lib_prefix=no
18263
 
      ;;
18264
 
    freebsd-*)
18265
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18266
 
      need_version=yes
18267
 
      ;;
18268
 
  esac
18269
 
  shlibpath_var=LD_LIBRARY_PATH
18270
 
  case $host_os in
18271
 
  freebsd2*)
18272
 
    shlibpath_overrides_runpath=yes
18273
 
    ;;
18274
 
  freebsd3.01* | freebsdelf3.01*)
18275
 
    shlibpath_overrides_runpath=yes
18276
 
    hardcode_into_libs=yes
18277
 
    ;;
18278
 
  *) # from 3.2 on
18279
 
    shlibpath_overrides_runpath=no
18280
 
    hardcode_into_libs=yes
18281
 
    ;;
18282
 
  esac
18283
 
  ;;
18284
 
 
18285
 
gnu*)
18286
 
  version_type=linux
18287
 
  need_lib_prefix=no
18288
 
  need_version=no
18289
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18290
 
  soname_spec='${libname}${release}${shared_ext}$major'
18291
 
  shlibpath_var=LD_LIBRARY_PATH
18292
 
  hardcode_into_libs=yes
18293
 
  ;;
18294
 
 
18295
 
hpux9* | hpux10* | hpux11*)
18296
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18297
 
  # link against other versions.
18298
 
  version_type=sunos
18299
 
  need_lib_prefix=no
18300
 
  need_version=no
18301
 
  case "$host_cpu" in
18302
 
  ia64*)
18303
 
    shrext='.so'
18304
 
    hardcode_into_libs=yes
18305
 
    dynamic_linker="$host_os dld.so"
18306
 
    shlibpath_var=LD_LIBRARY_PATH
18307
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18308
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18309
 
    soname_spec='${libname}${release}${shared_ext}$major'
18310
 
    if test "X$HPUX_IA64_MODE" = X32; then
18311
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18312
 
    else
18313
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18314
 
    fi
18315
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18316
 
    ;;
18317
 
   hppa*64*)
18318
 
     shrext='.sl'
18319
 
     hardcode_into_libs=yes
18320
 
     dynamic_linker="$host_os dld.sl"
18321
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18322
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18323
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18324
 
     soname_spec='${libname}${release}${shared_ext}$major'
18325
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18326
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18327
 
     ;;
18328
 
   *)
18329
 
    shrext='.sl'
18330
 
    dynamic_linker="$host_os dld.sl"
18331
 
    shlibpath_var=SHLIB_PATH
18332
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18333
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18334
 
    soname_spec='${libname}${release}${shared_ext}$major'
18335
 
    ;;
18336
 
  esac
18337
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18338
 
  postinstall_cmds='chmod 555 $lib'
18339
 
  ;;
18340
 
 
18341
 
irix5* | irix6* | nonstopux*)
18342
 
  case $host_os in
18343
 
    nonstopux*) version_type=nonstopux ;;
18344
 
    *)
18345
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18346
 
                version_type=linux
18347
 
        else
18348
 
                version_type=irix
18349
 
        fi ;;
18350
 
  esac
18351
 
  need_lib_prefix=no
18352
 
  need_version=no
18353
 
  soname_spec='${libname}${release}${shared_ext}$major'
18354
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18355
 
  case $host_os in
18356
 
  irix5* | nonstopux*)
18357
 
    libsuff= shlibsuff=
18358
 
    ;;
18359
 
  *)
18360
 
    case $LD in # libtool.m4 will add one of these switches to LD
18361
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18362
 
      libsuff= shlibsuff= libmagic=32-bit;;
18363
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18364
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18365
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18366
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18367
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18368
 
    esac
18369
 
    ;;
18370
 
  esac
18371
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18372
 
  shlibpath_overrides_runpath=no
18373
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18374
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18375
 
  hardcode_into_libs=yes
18376
 
  ;;
18377
 
 
18378
 
# No shared lib support for Linux oldld, aout, or coff.
18379
 
linux*oldld* | linux*aout* | linux*coff*)
18380
 
  dynamic_linker=no
18381
 
  ;;
18382
 
 
18383
 
# This must be Linux ELF.
18384
 
linux*)
18385
 
  version_type=linux
18386
 
  need_lib_prefix=no
18387
 
  need_version=no
18388
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18389
 
  soname_spec='${libname}${release}${shared_ext}$major'
18390
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18391
 
  libsuff=
18392
 
  if test "x$LINUX_64_MODE" = x64; then
18393
 
    # Some platforms are per default 64-bit, so there's no /lib64
18394
 
    if test -d /lib64 -a ! -h /lib64; then
18395
 
      libsuff=64
18396
 
    fi
18397
 
  fi
18398
 
  shlibpath_var=LD_LIBRARY_PATH
18399
 
  shlibpath_overrides_runpath=no
18400
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
18401
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18402
 
  # This implies no fast_install, which is unacceptable.
18403
 
  # Some rework will be needed to allow for fast_install
18404
 
  # before this can be enabled.
18405
 
  hardcode_into_libs=yes
18406
 
 
18407
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18408
 
  # powerpc, because MkLinux only supported shared libraries with the
18409
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18410
 
  # most powerpc-linux boxes support dynamic linking these days and
18411
 
  # people can always --disable-shared, the test was removed, and we
18412
 
  # assume the GNU/Linux dynamic linker is in use.
18413
 
  dynamic_linker='GNU/Linux ld.so'
18414
 
  ;;
18415
 
 
18416
 
netbsd*)
18417
 
  version_type=sunos
18418
 
  need_lib_prefix=no
18419
 
  need_version=no
18420
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18421
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18422
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18423
 
    dynamic_linker='NetBSD (a.out) ld.so'
18424
 
  else
18425
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
18426
 
    soname_spec='${libname}${release}${shared_ext}$major'
18427
 
    dynamic_linker='NetBSD ld.elf_so'
18428
 
  fi
18429
 
  shlibpath_var=LD_LIBRARY_PATH
18430
 
  shlibpath_overrides_runpath=yes
18431
 
  hardcode_into_libs=yes
18432
 
  ;;
18433
 
 
18434
 
newsos6)
18435
 
  version_type=linux
18436
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18437
 
  shlibpath_var=LD_LIBRARY_PATH
18438
 
  shlibpath_overrides_runpath=yes
18439
 
  ;;
18440
 
 
18441
 
nto-qnx*)
18442
 
  version_type=linux
18443
 
  need_lib_prefix=no
18444
 
  need_version=no
18445
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18446
 
  soname_spec='${libname}${release}${shared_ext}$major'
18447
 
  shlibpath_var=LD_LIBRARY_PATH
18448
 
  shlibpath_overrides_runpath=yes
18449
 
  ;;
18450
 
 
18451
 
openbsd*)
18452
 
  version_type=sunos
18453
 
  need_lib_prefix=no
18454
 
  need_version=no
18455
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18456
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18457
 
  shlibpath_var=LD_LIBRARY_PATH
18458
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18459
 
    case $host_os in
18460
 
      openbsd2.[89] | openbsd2.[89].*)
18461
 
        shlibpath_overrides_runpath=no
18462
 
        ;;
18463
 
      *)
18464
 
        shlibpath_overrides_runpath=yes
18465
 
        ;;
18466
 
      esac
18467
 
  else
18468
 
    shlibpath_overrides_runpath=yes
18469
 
  fi
18470
 
  ;;
18471
 
 
18472
 
os2*)
18473
 
  libname_spec='$name'
18474
 
  shrext=".dll"
18475
 
  need_lib_prefix=no
18476
 
  library_names_spec='$libname${shared_ext} $libname.a'
18477
 
  dynamic_linker='OS/2 ld.exe'
18478
 
  shlibpath_var=LIBPATH
18479
 
  ;;
18480
 
 
18481
 
osf3* | osf4* | osf5*)
18482
 
  version_type=osf
18483
 
  need_lib_prefix=no
18484
 
  need_version=no
18485
 
  soname_spec='${libname}${release}${shared_ext}$major'
18486
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18487
 
  shlibpath_var=LD_LIBRARY_PATH
18488
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18489
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18490
 
  ;;
18491
 
 
18492
 
sco3.2v5*)
18493
 
  version_type=osf
18494
 
  soname_spec='${libname}${release}${shared_ext}$major'
18495
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18496
 
  shlibpath_var=LD_LIBRARY_PATH
18497
 
  ;;
18498
 
 
18499
 
solaris*)
18500
 
  version_type=linux
18501
 
  need_lib_prefix=no
18502
 
  need_version=no
18503
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18504
 
  soname_spec='${libname}${release}${shared_ext}$major'
18505
 
  shlibpath_var=LD_LIBRARY_PATH
18506
 
  shlibpath_overrides_runpath=yes
18507
 
  hardcode_into_libs=yes
18508
 
  # ldd complains unless libraries are executable
18509
 
  postinstall_cmds='chmod +x $lib'
18510
 
  ;;
18511
 
 
18512
 
sunos4*)
18513
 
  version_type=sunos
18514
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18515
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18516
 
  shlibpath_var=LD_LIBRARY_PATH
18517
 
  shlibpath_overrides_runpath=yes
18518
 
  if test "$with_gnu_ld" = yes; then
18519
 
    need_lib_prefix=no
18520
 
  fi
18521
 
  need_version=yes
18522
 
  ;;
18523
 
 
18524
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18525
 
  version_type=linux
18526
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18527
 
  soname_spec='${libname}${release}${shared_ext}$major'
18528
 
  shlibpath_var=LD_LIBRARY_PATH
18529
 
  case $host_vendor in
18530
 
    sni)
18531
 
      shlibpath_overrides_runpath=no
18532
 
      need_lib_prefix=no
18533
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18534
 
      runpath_var=LD_RUN_PATH
18535
 
      ;;
18536
 
    siemens)
18537
 
      need_lib_prefix=no
18538
 
      ;;
18539
 
    motorola)
18540
 
      need_lib_prefix=no
18541
 
      need_version=no
18542
 
      shlibpath_overrides_runpath=no
18543
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18544
 
      ;;
18545
 
  esac
18546
 
  ;;
18547
 
 
18548
 
sysv4*MP*)
18549
 
  if test -d /usr/nec ;then
18550
 
    version_type=linux
18551
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18552
 
    soname_spec='$libname${shared_ext}.$major'
18553
 
    shlibpath_var=LD_LIBRARY_PATH
18554
 
  fi
18555
 
  ;;
18556
 
 
18557
 
uts4*)
18558
 
  version_type=linux
18559
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18560
 
  soname_spec='${libname}${release}${shared_ext}$major'
18561
 
  shlibpath_var=LD_LIBRARY_PATH
18562
 
  ;;
18563
 
 
18564
 
*)
18565
 
  dynamic_linker=no
18566
 
  ;;
18567
 
esac
18568
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18569
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18570
 
test "$dynamic_linker" = no && can_build_shared=no
18571
 
 
18572
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18573
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18574
 
hardcode_action_F77=
18575
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
18576
 
   test -n "$runpath_var F77" || \
18577
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
18578
 
 
18579
 
  # We can hardcode non-existant directories.
18580
 
  if test "$hardcode_direct_F77" != no &&
18581
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18582
 
     # have to relink, otherwise we might link with an installed library
18583
 
     # when we should be linking with a yet-to-be-installed one
18584
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18585
 
     test "$hardcode_minus_L_F77" != no; then
18586
 
    # Linking always hardcodes the temporary library directory.
18587
 
    hardcode_action_F77=relink
18588
 
  else
18589
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18590
 
    hardcode_action_F77=immediate
18591
 
  fi
18592
 
else
18593
 
  # We cannot hardcode anything, or else we can only hardcode existing
18594
 
  # directories.
18595
 
  hardcode_action_F77=unsupported
18596
 
fi
18597
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18598
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
18599
 
 
18600
 
if test "$hardcode_action_F77" = relink; then
18601
 
  # Fast installation is not supported
18602
 
  enable_fast_install=no
18603
 
elif test "$shlibpath_overrides_runpath" = yes ||
18604
 
     test "$enable_shared" = no; then
18605
 
  # Fast installation is not necessary
18606
 
  enable_fast_install=needless
18607
 
fi
18608
 
 
18609
 
striplib=
18610
 
old_striplib=
18611
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18612
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
18613
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18614
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18615
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18616
 
  { echo "$as_me:$LINENO: result: yes" >&5
18617
 
echo "${ECHO_T}yes" >&6; }
18618
 
else
18619
 
# FIXME - insert some real tests, host_os isn't really good enough
18620
 
  case $host_os in
18621
 
   darwin*)
18622
 
       if test -n "$STRIP" ; then
18623
 
         striplib="$STRIP -x"
18624
 
         { echo "$as_me:$LINENO: result: yes" >&5
18625
 
echo "${ECHO_T}yes" >&6; }
18626
 
       else
18627
 
  { echo "$as_me:$LINENO: result: no" >&5
18628
 
echo "${ECHO_T}no" >&6; }
18629
 
fi
18630
 
       ;;
18631
 
   *)
18632
 
  { echo "$as_me:$LINENO: result: no" >&5
18633
 
echo "${ECHO_T}no" >&6; }
18634
 
    ;;
18635
 
  esac
18636
 
fi
18637
 
 
18638
 
 
18639
 
 
18640
 
# The else clause should only fire when bootstrapping the
18641
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18642
 
# with your package, and you will get complaints that there are
18643
 
# no rules to generate ltmain.sh.
18644
 
if test -f "$ltmain"; then
18645
 
  # See if we are running on zsh, and set the options which allow our commands through
18646
 
  # without removal of \ escapes.
18647
 
  if test -n "${ZSH_VERSION+set}" ; then
18648
 
    setopt NO_GLOB_SUBST
18649
 
  fi
18650
 
  # Now quote all the things that may contain metacharacters while being
18651
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18652
 
  # variables and quote the copies for generation of the libtool script.
18653
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18654
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18655
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18656
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18657
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18658
 
    lt_cv_sys_global_symbol_to_c_name_address \
18659
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18660
 
    old_postinstall_cmds old_postuninstall_cmds \
18661
 
    compiler_F77 \
18662
 
    CC_F77 \
18663
 
    LD_F77 \
18664
 
    lt_prog_compiler_wl_F77 \
18665
 
    lt_prog_compiler_pic_F77 \
18666
 
    lt_prog_compiler_static_F77 \
18667
 
    lt_prog_compiler_no_builtin_flag_F77 \
18668
 
    export_dynamic_flag_spec_F77 \
18669
 
    thread_safe_flag_spec_F77 \
18670
 
    whole_archive_flag_spec_F77 \
18671
 
    enable_shared_with_static_runtimes_F77 \
18672
 
    old_archive_cmds_F77 \
18673
 
    old_archive_from_new_cmds_F77 \
18674
 
    predep_objects_F77 \
18675
 
    postdep_objects_F77 \
18676
 
    predeps_F77 \
18677
 
    postdeps_F77 \
18678
 
    compiler_lib_search_path_F77 \
18679
 
    archive_cmds_F77 \
18680
 
    archive_expsym_cmds_F77 \
18681
 
    postinstall_cmds_F77 \
18682
 
    postuninstall_cmds_F77 \
18683
 
    old_archive_from_expsyms_cmds_F77 \
18684
 
    allow_undefined_flag_F77 \
18685
 
    no_undefined_flag_F77 \
18686
 
    export_symbols_cmds_F77 \
18687
 
    hardcode_libdir_flag_spec_F77 \
18688
 
    hardcode_libdir_flag_spec_ld_F77 \
18689
 
    hardcode_libdir_separator_F77 \
18690
 
    hardcode_automatic_F77 \
18691
 
    module_cmds_F77 \
18692
 
    module_expsym_cmds_F77 \
18693
 
    lt_cv_prog_compiler_c_o_F77 \
18694
 
    exclude_expsyms_F77 \
18695
 
    include_expsyms_F77; do
18696
 
 
18697
 
    case $var in
18698
 
    old_archive_cmds_F77 | \
18699
 
    old_archive_from_new_cmds_F77 | \
18700
 
    archive_cmds_F77 | \
18701
 
    archive_expsym_cmds_F77 | \
18702
 
    module_cmds_F77 | \
18703
 
    module_expsym_cmds_F77 | \
18704
 
    old_archive_from_expsyms_cmds_F77 | \
18705
 
    export_symbols_cmds_F77 | \
18706
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18707
 
    postinstall_cmds | postuninstall_cmds | \
18708
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18709
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18710
 
      # Double-quote double-evaled strings.
18711
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18712
 
      ;;
18713
 
    *)
18714
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18715
 
      ;;
18716
 
    esac
18717
 
  done
18718
 
 
18719
 
  case $lt_echo in
18720
 
  *'\$0 --fallback-echo"')
18721
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18722
 
    ;;
18723
 
  esac
18724
 
 
18725
 
cfgfile="$ofile"
18726
 
 
18727
 
  cat <<__EOF__ >> "$cfgfile"
18728
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18729
 
 
18730
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18731
 
 
18732
 
# Shell to use when invoking shell scripts.
18733
 
SHELL=$lt_SHELL
18734
 
 
18735
 
# Whether or not to build shared libraries.
18736
 
build_libtool_libs=$enable_shared
18737
 
 
18738
 
# Whether or not to build static libraries.
18739
 
build_old_libs=$enable_static
18740
 
 
18741
 
# Whether or not to add -lc for building shared libraries.
18742
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
18743
 
 
18744
 
# Whether or not to disallow shared libs when runtime libs are static
18745
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18746
 
 
18747
 
# Whether or not to optimize for fast installation.
18748
 
fast_install=$enable_fast_install
18749
 
 
18750
 
# The host system.
18751
 
host_alias=$host_alias
18752
 
host=$host
18753
 
 
18754
 
# An echo program that does not interpret backslashes.
18755
 
echo=$lt_echo
18756
 
 
18757
 
# The archiver.
18758
 
AR=$lt_AR
18759
 
AR_FLAGS=$lt_AR_FLAGS
18760
 
 
18761
 
# A C compiler.
18762
 
LTCC=$lt_LTCC
18763
 
 
18764
 
# A language-specific compiler.
18765
 
CC=$lt_compiler_F77
18766
 
 
18767
 
# Is the compiler the GNU C compiler?
18768
 
with_gcc=$GCC_F77
18769
 
 
18770
 
# An ERE matcher.
18771
 
EGREP=$lt_EGREP
18772
 
 
18773
 
# The linker used to build libraries.
18774
 
LD=$lt_LD_F77
18775
 
 
18776
 
# Whether we need hard or soft links.
18777
 
LN_S=$lt_LN_S
18778
 
 
18779
 
# A BSD-compatible nm program.
18780
 
NM=$lt_NM
18781
 
 
18782
 
# A symbol stripping program
18783
 
STRIP=$STRIP
18784
 
 
18785
 
# Used to examine libraries when file_magic_cmd begins "file"
18786
 
MAGIC_CMD=$MAGIC_CMD
18787
 
 
18788
 
# Used on cygwin: DLL creation program.
18789
 
DLLTOOL="$DLLTOOL"
18790
 
 
18791
 
# Used on cygwin: object dumper.
18792
 
OBJDUMP="$OBJDUMP"
18793
 
 
18794
 
# Used on cygwin: assembler.
18795
 
AS="$AS"
18796
 
 
18797
 
# The name of the directory that contains temporary libtool files.
18798
 
objdir=$objdir
18799
 
 
18800
 
# How to create reloadable object files.
18801
 
reload_flag=$lt_reload_flag
18802
 
reload_cmds=$lt_reload_cmds
18803
 
 
18804
 
# How to pass a linker flag through the compiler.
18805
 
wl=$lt_lt_prog_compiler_wl_F77
18806
 
 
18807
 
# Object file suffix (normally "o").
18808
 
objext="$ac_objext"
18809
 
 
18810
 
# Old archive suffix (normally "a").
18811
 
libext="$libext"
18812
 
 
18813
 
# Shared library suffix (normally ".so").
18814
 
shrext='$shrext'
18815
 
 
18816
 
# Executable file suffix (normally "").
18817
 
exeext="$exeext"
18818
 
 
18819
 
# Additional compiler flags for building library objects.
18820
 
pic_flag=$lt_lt_prog_compiler_pic_F77
18821
 
pic_mode=$pic_mode
18822
 
 
18823
 
# What is the maximum length of a command?
18824
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18825
 
 
18826
 
# Does compiler simultaneously support -c and -o options?
18827
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18828
 
 
18829
 
# Must we lock files when doing compilation ?
18830
 
need_locks=$lt_need_locks
18831
 
 
18832
 
# Do we need the lib prefix for modules?
18833
 
need_lib_prefix=$need_lib_prefix
18834
 
 
18835
 
# Do we need a version for libraries?
18836
 
need_version=$need_version
18837
 
 
18838
 
# Whether dlopen is supported.
18839
 
dlopen_support=$enable_dlopen
18840
 
 
18841
 
# Whether dlopen of programs is supported.
18842
 
dlopen_self=$enable_dlopen_self
18843
 
 
18844
 
# Whether dlopen of statically linked programs is supported.
18845
 
dlopen_self_static=$enable_dlopen_self_static
18846
 
 
18847
 
# Compiler flag to prevent dynamic linking.
18848
 
link_static_flag=$lt_lt_prog_compiler_static_F77
18849
 
 
18850
 
# Compiler flag to turn off builtin functions.
18851
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18852
 
 
18853
 
# Compiler flag to allow reflexive dlopens.
18854
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18855
 
 
18856
 
# Compiler flag to generate shared objects directly from archives.
18857
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18858
 
 
18859
 
# Compiler flag to generate thread-safe objects.
18860
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18861
 
 
18862
 
# Library versioning type.
18863
 
version_type=$version_type
18864
 
 
18865
 
# Format of library name prefix.
18866
 
libname_spec=$lt_libname_spec
18867
 
 
18868
 
# List of archive names.  First name is the real one, the rest are links.
18869
 
# The last name is the one that the linker finds with -lNAME.
18870
 
library_names_spec=$lt_library_names_spec
18871
 
 
18872
 
# The coded name of the library, if different from the real name.
18873
 
soname_spec=$lt_soname_spec
18874
 
 
18875
 
# Commands used to build and install an old-style archive.
18876
 
RANLIB=$lt_RANLIB
18877
 
old_archive_cmds=$lt_old_archive_cmds_F77
18878
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18879
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18880
 
 
18881
 
# Create an old-style archive from a shared archive.
18882
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18883
 
 
18884
 
# Create a temporary old-style archive to link instead of a shared archive.
18885
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18886
 
 
18887
 
# Commands used to build and install a shared archive.
18888
 
archive_cmds=$lt_archive_cmds_F77
18889
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18890
 
postinstall_cmds=$lt_postinstall_cmds
18891
 
postuninstall_cmds=$lt_postuninstall_cmds
18892
 
 
18893
 
# Commands used to build a loadable module (assumed same as above if empty)
18894
 
module_cmds=$lt_module_cmds_F77
18895
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
18896
 
 
18897
 
# Commands to strip libraries.
18898
 
old_striplib=$lt_old_striplib
18899
 
striplib=$lt_striplib
18900
 
 
18901
 
# Dependencies to place before the objects being linked to create a
18902
 
# shared library.
18903
 
predep_objects=$lt_predep_objects_F77
18904
 
 
18905
 
# Dependencies to place after the objects being linked to create a
18906
 
# shared library.
18907
 
postdep_objects=$lt_postdep_objects_F77
18908
 
 
18909
 
# Dependencies to place before the objects being linked to create a
18910
 
# shared library.
18911
 
predeps=$lt_predeps_F77
18912
 
 
18913
 
# Dependencies to place after the objects being linked to create a
18914
 
# shared library.
18915
 
postdeps=$lt_postdeps_F77
18916
 
 
18917
 
# The library search path used internally by the compiler when linking
18918
 
# a shared library.
18919
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18920
 
 
18921
 
# Method to check whether dependent libraries are shared objects.
18922
 
deplibs_check_method=$lt_deplibs_check_method
18923
 
 
18924
 
# Command to use when deplibs_check_method == file_magic.
18925
 
file_magic_cmd=$lt_file_magic_cmd
18926
 
 
18927
 
# Flag that allows shared libraries with undefined symbols to be built.
18928
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
18929
 
 
18930
 
# Flag that forces no undefined symbols.
18931
 
no_undefined_flag=$lt_no_undefined_flag_F77
18932
 
 
18933
 
# Commands used to finish a libtool library installation in a directory.
18934
 
finish_cmds=$lt_finish_cmds
18935
 
 
18936
 
# Same as above, but a single script fragment to be evaled but not shown.
18937
 
finish_eval=$lt_finish_eval
18938
 
 
18939
 
# Take the output of nm and produce a listing of raw symbols and C names.
18940
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18941
 
 
18942
 
# Transform the output of nm in a proper C declaration
18943
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18944
 
 
18945
 
# Transform the output of nm in a C name address pair
18946
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18947
 
 
18948
 
# This is the shared library runtime path variable.
18949
 
runpath_var=$runpath_var
18950
 
 
18951
 
# This is the shared library path variable.
18952
 
shlibpath_var=$shlibpath_var
18953
 
 
18954
 
# Is shlibpath searched before the hard-coded library search path?
18955
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18956
 
 
18957
 
# How to hardcode a shared library path into an executable.
18958
 
hardcode_action=$hardcode_action_F77
18959
 
 
18960
 
# Whether we should hardcode library paths into libraries.
18961
 
hardcode_into_libs=$hardcode_into_libs
18962
 
 
18963
 
# Flag to hardcode \$libdir into a binary during linking.
18964
 
# This must work even if \$libdir does not exist.
18965
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18966
 
 
18967
 
# If ld is used when linking, flag to hardcode \$libdir into
18968
 
# a binary during linking. This must work even if \$libdir does
18969
 
# not exist.
18970
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18971
 
 
18972
 
# Whether we need a single -rpath flag with a separated argument.
18973
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18974
 
 
18975
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18976
 
# resulting binary.
18977
 
hardcode_direct=$hardcode_direct_F77
18978
 
 
18979
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18980
 
# resulting binary.
18981
 
hardcode_minus_L=$hardcode_minus_L_F77
18982
 
 
18983
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18984
 
# the resulting binary.
18985
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18986
 
 
18987
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18988
 
# and all subsequent libraries and executables linked against it.
18989
 
hardcode_automatic=$hardcode_automatic_F77
18990
 
 
18991
 
# Variables whose values should be saved in libtool wrapper scripts and
18992
 
# restored at relink time.
18993
 
variables_saved_for_relink="$variables_saved_for_relink"
18994
 
 
18995
 
# Whether libtool must link a program against all its dependency libraries.
18996
 
link_all_deplibs=$link_all_deplibs_F77
18997
 
 
18998
 
# Compile-time system search path for libraries
18999
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19000
 
 
19001
 
# Run-time system search path for libraries
19002
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19003
 
 
19004
 
# Fix the shell variable \$srcfile for the compiler.
19005
 
fix_srcfile_path="$fix_srcfile_path_F77"
19006
 
 
19007
 
# Set to yes if exported symbols are required.
19008
 
always_export_symbols=$always_export_symbols_F77
19009
 
 
19010
 
# The commands to list exported symbols.
19011
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
19012
 
 
19013
 
# The commands to extract the exported symbol list from a shared archive.
19014
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19015
 
 
19016
 
# Symbols that should not be listed in the preloaded symbols.
19017
 
exclude_expsyms=$lt_exclude_expsyms_F77
19018
 
 
19019
 
# Symbols that must always be exported.
19020
 
include_expsyms=$lt_include_expsyms_F77
19021
 
 
19022
 
# ### END LIBTOOL TAG CONFIG: $tagname
19023
 
 
19024
 
__EOF__
19025
 
 
19026
 
 
19027
 
else
19028
 
  # If there is no Makefile yet, we rely on a make rule to execute
19029
 
  # `config.status --recheck' to rerun these tests and create the
19030
 
  # libtool script then.
19031
 
  test -f Makefile && make "$ltmain"
19032
 
fi
19033
 
 
19034
 
 
19035
 
ac_ext=c
19036
 
ac_cpp='$CPP $CPPFLAGS'
19037
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19038
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19039
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19040
 
 
19041
 
CC="$lt_save_CC"
19042
 
 
19043
 
        else
19044
 
          tagname=""
19045
 
        fi
19046
 
        ;;
19047
 
 
19048
 
      GCJ)
19049
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
19050
 
 
19051
 
 
19052
 
# Source file extension for Java test sources.
19053
 
ac_ext=java
19054
 
 
19055
 
# Object file extension for compiled Java test sources.
19056
 
objext=o
19057
 
objext_GCJ=$objext
19058
 
 
19059
 
# Code to be used in simple compile tests
19060
 
lt_simple_compile_test_code="class foo {}\n"
19061
 
 
19062
 
# Code to be used in simple link tests
19063
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
19064
 
 
19065
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19066
 
 
19067
 
# If no C compiler was specified, use CC.
19068
 
LTCC=${LTCC-"$CC"}
19069
 
 
19070
 
# Allow CC to be a program name with arguments.
19071
 
compiler=$CC
19072
 
 
19073
 
 
19074
 
# Allow CC to be a program name with arguments.
19075
 
lt_save_CC="$CC"
19076
 
CC=${GCJ-"gcj"}
19077
 
compiler=$CC
19078
 
compiler_GCJ=$CC
19079
 
 
19080
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
19081
 
archive_cmds_need_lc_GCJ=no
19082
 
 
19083
 
## CAVEAT EMPTOR:
19084
 
## There is no encapsulation within the following macros, do not change
19085
 
## the running order or otherwise move them around unless you know exactly
19086
 
## what you are doing...
19087
 
 
19088
 
lt_prog_compiler_no_builtin_flag_GCJ=
19089
 
 
19090
 
if test "$GCC" = yes; then
19091
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
19092
 
 
19093
 
 
19094
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
19095
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
19096
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
19097
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19098
 
else
19099
 
  lt_cv_prog_compiler_rtti_exceptions=no
19100
 
  ac_outfile=conftest.$ac_objext
19101
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19102
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
19103
 
   # Insert the option either (1) after the last *FLAGS variable, or
19104
 
   # (2) before a word containing "conftest.", or (3) at the end.
19105
 
   # Note that $ac_compile itself does not contain backslashes and begins
19106
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19107
 
   # The option is referenced via a variable to avoid confusing sed.
19108
 
   lt_compile=`echo "$ac_compile" | $SED \
19109
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19110
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19111
 
   -e 's:$: $lt_compiler_flag:'`
19112
 
   (eval echo "\"\$as_me:19112: $lt_compile\"" >&5)
19113
 
   (eval "$lt_compile" 2>conftest.err)
19114
 
   ac_status=$?
19115
 
   cat conftest.err >&5
19116
 
   echo "$as_me:19116: \$? = $ac_status" >&5
19117
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19118
 
     # The compiler can only warn and ignore the option if not recognized
19119
 
     # So say no if there are warnings
19120
 
     if test ! -s conftest.err; then
19121
 
       lt_cv_prog_compiler_rtti_exceptions=yes
19122
 
     fi
19123
 
   fi
19124
 
   $rm conftest*
19125
 
 
19126
 
fi
19127
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
19128
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
19129
 
 
19130
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
19131
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
19132
 
else
19133
 
    :
19134
 
fi
19135
 
 
19136
 
fi
19137
 
 
19138
 
lt_prog_compiler_wl_GCJ=
19139
 
lt_prog_compiler_pic_GCJ=
19140
 
lt_prog_compiler_static_GCJ=
19141
 
 
19142
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19143
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19144
 
 
19145
 
  if test "$GCC" = yes; then
19146
 
    lt_prog_compiler_wl_GCJ='-Wl,'
19147
 
    lt_prog_compiler_static_GCJ='-static'
19148
 
 
19149
 
    case $host_os in
19150
 
      aix*)
19151
 
      # All AIX code is PIC.
19152
 
      if test "$host_cpu" = ia64; then
19153
 
        # AIX 5 now supports IA64 processor
19154
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19155
 
      fi
19156
 
      ;;
19157
 
 
19158
 
    amigaos*)
19159
 
      # FIXME: we need at least 68020 code to build shared libraries, but
19160
 
      # adding the `-m68020' flag to GCC prevents building anything better,
19161
 
      # like `-m68040'.
19162
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
19163
 
      ;;
19164
 
 
19165
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19166
 
      # PIC is the default for these OSes.
19167
 
      ;;
19168
 
 
19169
 
    mingw* | pw32* | os2*)
19170
 
      # This hack is so that the source file can tell whether it is being
19171
 
      # built for inclusion in a dll (and should export symbols for example).
19172
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19173
 
      ;;
19174
 
 
19175
 
    darwin* | rhapsody*)
19176
 
      # PIC is the default on this platform
19177
 
      # Common symbols not allowed in MH_DYLIB files
19178
 
      lt_prog_compiler_pic_GCJ='-fno-common'
19179
 
      ;;
19180
 
 
19181
 
    msdosdjgpp*)
19182
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
19183
 
      # on systems that don't support them.
19184
 
      lt_prog_compiler_can_build_shared_GCJ=no
19185
 
      enable_shared=no
19186
 
      ;;
19187
 
 
19188
 
    sysv4*MP*)
19189
 
      if test -d /usr/nec; then
19190
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
19191
 
      fi
19192
 
      ;;
19193
 
 
19194
 
    hpux*)
19195
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19196
 
      # not for PA HP-UX.
19197
 
      case "$host_cpu" in
19198
 
      hppa*64*|ia64*)
19199
 
        # +Z the default
19200
 
        ;;
19201
 
      *)
19202
 
        lt_prog_compiler_pic_GCJ='-fPIC'
19203
 
        ;;
19204
 
      esac
19205
 
      ;;
19206
 
 
19207
 
    *)
19208
 
      lt_prog_compiler_pic_GCJ='-fPIC'
19209
 
      ;;
19210
 
    esac
19211
 
  else
19212
 
    # PORTME Check for flag to pass linker flags through the system compiler.
19213
 
    case $host_os in
19214
 
    aix*)
19215
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19216
 
      if test "$host_cpu" = ia64; then
19217
 
        # AIX 5 now supports IA64 processor
19218
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19219
 
      else
19220
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19221
 
      fi
19222
 
      ;;
19223
 
 
19224
 
    mingw* | pw32* | os2*)
19225
 
      # This hack is so that the source file can tell whether it is being
19226
 
      # built for inclusion in a dll (and should export symbols for example).
19227
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19228
 
      ;;
19229
 
 
19230
 
    hpux9* | hpux10* | hpux11*)
19231
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19232
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19233
 
      # not for PA HP-UX.
19234
 
      case "$host_cpu" in
19235
 
      hppa*64*|ia64*)
19236
 
        # +Z the default
19237
 
        ;;
19238
 
      *)
19239
 
        lt_prog_compiler_pic_GCJ='+Z'
19240
 
        ;;
19241
 
      esac
19242
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
19243
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19244
 
      ;;
19245
 
 
19246
 
    irix5* | irix6* | nonstopux*)
19247
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19248
 
      # PIC (with -KPIC) is the default.
19249
 
      lt_prog_compiler_static_GCJ='-non_shared'
19250
 
      ;;
19251
 
 
19252
 
    newsos6)
19253
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19254
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19255
 
      ;;
19256
 
 
19257
 
    linux*)
19258
 
      case $CC in
19259
 
      icc* | ecc*)
19260
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19261
 
        lt_prog_compiler_pic_GCJ='-KPIC'
19262
 
        lt_prog_compiler_static_GCJ='-static'
19263
 
        ;;
19264
 
      ccc*)
19265
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19266
 
        # All Alpha code is PIC.
19267
 
        lt_prog_compiler_static_GCJ='-non_shared'
19268
 
        ;;
19269
 
      esac
19270
 
      ;;
19271
 
 
19272
 
    osf3* | osf4* | osf5*)
19273
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19274
 
      # All OSF/1 code is PIC.
19275
 
      lt_prog_compiler_static_GCJ='-non_shared'
19276
 
      ;;
19277
 
 
19278
 
    sco3.2v5*)
19279
 
      lt_prog_compiler_pic_GCJ='-Kpic'
19280
 
      lt_prog_compiler_static_GCJ='-dn'
19281
 
      ;;
19282
 
 
19283
 
    solaris*)
19284
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19285
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19286
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19287
 
      ;;
19288
 
 
19289
 
    sunos4*)
19290
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
19291
 
      lt_prog_compiler_pic_GCJ='-PIC'
19292
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19293
 
      ;;
19294
 
 
19295
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19296
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19297
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19298
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19299
 
      ;;
19300
 
 
19301
 
    sysv4*MP*)
19302
 
      if test -d /usr/nec ;then
19303
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
19304
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19305
 
      fi
19306
 
      ;;
19307
 
 
19308
 
    uts4*)
19309
 
      lt_prog_compiler_pic_GCJ='-pic'
19310
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19311
 
      ;;
19312
 
 
19313
 
    *)
19314
 
      lt_prog_compiler_can_build_shared_GCJ=no
19315
 
      ;;
19316
 
    esac
19317
 
  fi
19318
 
 
19319
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19320
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
19321
 
 
19322
 
#
19323
 
# Check to make sure the PIC flag actually works.
19324
 
#
19325
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
19326
 
 
19327
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19328
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19329
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
19330
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19331
 
else
19332
 
  lt_prog_compiler_pic_works_GCJ=no
19333
 
  ac_outfile=conftest.$ac_objext
19334
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19335
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19336
 
   # Insert the option either (1) after the last *FLAGS variable, or
19337
 
   # (2) before a word containing "conftest.", or (3) at the end.
19338
 
   # Note that $ac_compile itself does not contain backslashes and begins
19339
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19340
 
   # The option is referenced via a variable to avoid confusing sed.
19341
 
   lt_compile=`echo "$ac_compile" | $SED \
19342
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19343
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19344
 
   -e 's:$: $lt_compiler_flag:'`
19345
 
   (eval echo "\"\$as_me:19345: $lt_compile\"" >&5)
19346
 
   (eval "$lt_compile" 2>conftest.err)
19347
 
   ac_status=$?
19348
 
   cat conftest.err >&5
19349
 
   echo "$as_me:19349: \$? = $ac_status" >&5
19350
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19351
 
     # The compiler can only warn and ignore the option if not recognized
19352
 
     # So say no if there are warnings
19353
 
     if test ! -s conftest.err; then
19354
 
       lt_prog_compiler_pic_works_GCJ=yes
19355
 
     fi
19356
 
   fi
19357
 
   $rm conftest*
19358
 
 
19359
 
fi
19360
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
19361
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
19362
 
 
19363
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
19364
 
    case $lt_prog_compiler_pic_GCJ in
19365
 
     "" | " "*) ;;
19366
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19367
 
     esac
19368
 
else
19369
 
    lt_prog_compiler_pic_GCJ=
19370
 
     lt_prog_compiler_can_build_shared_GCJ=no
19371
 
fi
19372
 
 
19373
 
fi
19374
 
case "$host_os" in
19375
 
  # For platforms which do not support PIC, -DPIC is meaningless:
19376
 
  *djgpp*)
19377
 
    lt_prog_compiler_pic_GCJ=
19378
 
    ;;
19379
 
  *)
19380
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19381
 
    ;;
19382
 
esac
19383
 
 
19384
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19385
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19386
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19387
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19388
 
else
19389
 
  lt_cv_prog_compiler_c_o_GCJ=no
19390
 
   $rm -r conftest 2>/dev/null
19391
 
   mkdir conftest
19392
 
   cd conftest
19393
 
   mkdir out
19394
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19395
 
 
19396
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
19397
 
   # that will create temporary files in the current directory regardless of
19398
 
   # the output directory.  Thus, making CWD read-only will cause this test
19399
 
   # to fail, enabling locking or at least warning the user not to do parallel
19400
 
   # builds.
19401
 
   chmod -w .
19402
 
 
19403
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
19404
 
   # Insert the option either (1) after the last *FLAGS variable, or
19405
 
   # (2) before a word containing "conftest.", or (3) at the end.
19406
 
   # Note that $ac_compile itself does not contain backslashes and begins
19407
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19408
 
   lt_compile=`echo "$ac_compile" | $SED \
19409
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19410
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19411
 
   -e 's:$: $lt_compiler_flag:'`
19412
 
   (eval echo "\"\$as_me:19412: $lt_compile\"" >&5)
19413
 
   (eval "$lt_compile" 2>out/conftest.err)
19414
 
   ac_status=$?
19415
 
   cat out/conftest.err >&5
19416
 
   echo "$as_me:19416: \$? = $ac_status" >&5
19417
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
19418
 
   then
19419
 
     # The compiler can only warn and ignore the option if not recognized
19420
 
     # So say no if there are warnings
19421
 
     if test ! -s out/conftest.err; then
19422
 
       lt_cv_prog_compiler_c_o_GCJ=yes
19423
 
     fi
19424
 
   fi
19425
 
   chmod u+w .
19426
 
   $rm conftest* out/*
19427
 
   rmdir out
19428
 
   cd ..
19429
 
   rmdir conftest
19430
 
   $rm conftest*
19431
 
 
19432
 
fi
19433
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19434
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19435
 
 
19436
 
 
19437
 
hard_links="nottested"
19438
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19439
 
  # do not overwrite the value of need_locks provided by the user
19440
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19441
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19442
 
  hard_links=yes
19443
 
  $rm conftest*
19444
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19445
 
  touch conftest.a
19446
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
19447
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19448
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
19449
 
echo "${ECHO_T}$hard_links" >&6; }
19450
 
  if test "$hard_links" = no; then
19451
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19452
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19453
 
    need_locks=warn
19454
 
  fi
19455
 
else
19456
 
  need_locks=no
19457
 
fi
19458
 
 
19459
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19460
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19461
 
 
19462
 
  runpath_var=
19463
 
  allow_undefined_flag_GCJ=
19464
 
  enable_shared_with_static_runtimes_GCJ=no
19465
 
  archive_cmds_GCJ=
19466
 
  archive_expsym_cmds_GCJ=
19467
 
  old_archive_From_new_cmds_GCJ=
19468
 
  old_archive_from_expsyms_cmds_GCJ=
19469
 
  export_dynamic_flag_spec_GCJ=
19470
 
  whole_archive_flag_spec_GCJ=
19471
 
  thread_safe_flag_spec_GCJ=
19472
 
  hardcode_libdir_flag_spec_GCJ=
19473
 
  hardcode_libdir_flag_spec_ld_GCJ=
19474
 
  hardcode_libdir_separator_GCJ=
19475
 
  hardcode_direct_GCJ=no
19476
 
  hardcode_minus_L_GCJ=no
19477
 
  hardcode_shlibpath_var_GCJ=unsupported
19478
 
  link_all_deplibs_GCJ=unknown
19479
 
  hardcode_automatic_GCJ=no
19480
 
  module_cmds_GCJ=
19481
 
  module_expsym_cmds_GCJ=
19482
 
  always_export_symbols_GCJ=no
19483
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19484
 
  # include_expsyms should be a list of space-separated symbols to be *always*
19485
 
  # included in the symbol list
19486
 
  include_expsyms_GCJ=
19487
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
19488
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
19489
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19490
 
  # as well as any symbol that contains `d'.
19491
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
19492
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19493
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
19494
 
  # the symbol is explicitly referenced.  Since portable code cannot
19495
 
  # rely on this symbol name, it's probably fine to never include it in
19496
 
  # preloaded symbol tables.
19497
 
  extract_expsyms_cmds=
19498
 
 
19499
 
  case $host_os in
19500
 
  cygwin* | mingw* | pw32*)
19501
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
19502
 
    # When not using gcc, we currently assume that we are using
19503
 
    # Microsoft Visual C++.
19504
 
    if test "$GCC" != yes; then
19505
 
      with_gnu_ld=no
19506
 
    fi
19507
 
    ;;
19508
 
  openbsd*)
19509
 
    with_gnu_ld=no
19510
 
    ;;
19511
 
  esac
19512
 
 
19513
 
  ld_shlibs_GCJ=yes
19514
 
  if test "$with_gnu_ld" = yes; then
19515
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
19516
 
    wlarc='${wl}'
19517
 
 
19518
 
    # See if GNU ld supports shared libraries.
19519
 
    case $host_os in
19520
 
    aix3* | aix4* | aix5*)
19521
 
      # On AIX/PPC, the GNU linker is very broken
19522
 
      if test "$host_cpu" != ia64; then
19523
 
        ld_shlibs_GCJ=no
19524
 
        cat <<EOF 1>&2
19525
 
 
19526
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19527
 
*** to be unable to reliably create shared libraries on AIX.
19528
 
*** Therefore, libtool is disabling shared libraries support.  If you
19529
 
*** really care for shared libraries, you may want to modify your PATH
19530
 
*** so that a non-GNU linker is found, and then restart.
19531
 
 
19532
 
EOF
19533
 
      fi
19534
 
      ;;
19535
 
 
19536
 
    amigaos*)
19537
 
      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)'
19538
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19539
 
      hardcode_minus_L_GCJ=yes
19540
 
 
19541
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19542
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
19543
 
      # to version 4, is to share data among multiple programs linked
19544
 
      # with the same dynamic library.  Since this doesn't match the
19545
 
      # behavior of shared libraries on other platforms, we can't use
19546
 
      # them.
19547
 
      ld_shlibs_GCJ=no
19548
 
      ;;
19549
 
 
19550
 
    beos*)
19551
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19552
 
        allow_undefined_flag_GCJ=unsupported
19553
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19554
 
        # support --undefined.  This deserves some investigation.  FIXME
19555
 
        archive_cmds_GCJ='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19556
 
      else
19557
 
        ld_shlibs_GCJ=no
19558
 
      fi
19559
 
      ;;
19560
 
 
19561
 
    cygwin* | mingw* | pw32*)
19562
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19563
 
      # as there is no search path for DLLs.
19564
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19565
 
      allow_undefined_flag_GCJ=no
19566
 
      always_export_symbols_GCJ=no
19567
 
      enable_shared_with_static_runtimes_GCJ=yes
19568
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19569
 
 
19570
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19571
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19572
 
        # If the export-symbols file already is a .def file (1st line
19573
 
        # is EXPORTS), use it as is; otherwise, prepend...
19574
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19575
 
          cp $export_symbols $output_objdir/$soname.def;
19576
 
        else
19577
 
          echo EXPORTS > $output_objdir/$soname.def;
19578
 
          cat $export_symbols >> $output_objdir/$soname.def;
19579
 
        fi~
19580
 
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
19581
 
      else
19582
 
        ld_shlibs=no
19583
 
      fi
19584
 
      ;;
19585
 
 
19586
 
    netbsd*)
19587
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19588
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19589
 
        wlarc=
19590
 
      else
19591
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19592
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19593
 
      fi
19594
 
      ;;
19595
 
 
19596
 
    solaris* | sysv5*)
19597
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19598
 
        ld_shlibs_GCJ=no
19599
 
        cat <<EOF 1>&2
19600
 
 
19601
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19602
 
*** create shared libraries on Solaris systems.  Therefore, libtool
19603
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
19604
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
19605
 
*** your PATH or compiler configuration so that the native linker is
19606
 
*** used, and then restart.
19607
 
 
19608
 
EOF
19609
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19610
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19611
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19612
 
      else
19613
 
        ld_shlibs_GCJ=no
19614
 
      fi
19615
 
      ;;
19616
 
 
19617
 
    sunos4*)
19618
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19619
 
      wlarc=
19620
 
      hardcode_direct_GCJ=yes
19621
 
      hardcode_shlibpath_var_GCJ=no
19622
 
      ;;
19623
 
 
19624
 
    *)
19625
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19626
 
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19627
 
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19628
 
      else
19629
 
        ld_shlibs_GCJ=no
19630
 
      fi
19631
 
      ;;
19632
 
    esac
19633
 
 
19634
 
    if test "$ld_shlibs_GCJ" = yes; then
19635
 
      runpath_var=LD_RUN_PATH
19636
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19637
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19638
 
      # ancient GNU ld didn't support --whole-archive et. al.
19639
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19640
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19641
 
      else
19642
 
        whole_archive_flag_spec_GCJ=
19643
 
      fi
19644
 
    fi
19645
 
  else
19646
 
    # PORTME fill in a description of your system's linker (not GNU ld)
19647
 
    case $host_os in
19648
 
    aix3*)
19649
 
      allow_undefined_flag_GCJ=unsupported
19650
 
      always_export_symbols_GCJ=yes
19651
 
      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'
19652
 
      # Note: this linker hardcodes the directories in LIBPATH if there
19653
 
      # are no directories specified by -L.
19654
 
      hardcode_minus_L_GCJ=yes
19655
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
19656
 
        # Neither direct hardcoding nor static linking is supported with a
19657
 
        # broken collect2.
19658
 
        hardcode_direct_GCJ=unsupported
19659
 
      fi
19660
 
      ;;
19661
 
 
19662
 
    aix4* | aix5*)
19663
 
      if test "$host_cpu" = ia64; then
19664
 
        # On IA64, the linker does run time linking by default, so we don't
19665
 
        # have to do anything special.
19666
 
        aix_use_runtimelinking=no
19667
 
        exp_sym_flag='-Bexport'
19668
 
        no_entry_flag=""
19669
 
      else
19670
 
        # If we're using GNU nm, then we don't want the "-C" option.
19671
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
19672
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19673
 
          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'
19674
 
        else
19675
 
          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'
19676
 
        fi
19677
 
 
19678
 
        # KDE requires run time linking.  Make it the default.
19679
 
        aix_use_runtimelinking=yes
19680
 
        exp_sym_flag='-bexport'
19681
 
        no_entry_flag='-bnoentry'
19682
 
      fi
19683
 
 
19684
 
      # When large executables or shared objects are built, AIX ld can
19685
 
      # have problems creating the table of contents.  If linking a library
19686
 
      # or program results in "error TOC overflow" add -mminimal-toc to
19687
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19688
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19689
 
 
19690
 
      archive_cmds_GCJ=''
19691
 
      hardcode_direct_GCJ=yes
19692
 
      hardcode_libdir_separator_GCJ=':'
19693
 
      link_all_deplibs_GCJ=yes
19694
 
 
19695
 
      if test "$GCC" = yes; then
19696
 
        case $host_os in aix4.012|aix4.012.*)
19697
 
        # We only want to do this on AIX 4.2 and lower, the check
19698
 
        # below for broken collect2 doesn't work under 4.3+
19699
 
          collect2name=`${CC} -print-prog-name=collect2`
19700
 
          if test -f "$collect2name" && \
19701
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
19702
 
          then
19703
 
          # We have reworked collect2
19704
 
          hardcode_direct_GCJ=yes
19705
 
          else
19706
 
          # We have old collect2
19707
 
          hardcode_direct_GCJ=unsupported
19708
 
          # It fails to find uninstalled libraries when the uninstalled
19709
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
19710
 
          # to unsupported forces relinking
19711
 
          hardcode_minus_L_GCJ=yes
19712
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
19713
 
          hardcode_libdir_separator_GCJ=
19714
 
          fi
19715
 
        esac
19716
 
        shared_flag='-shared'
19717
 
      else
19718
 
        # not using gcc
19719
 
        if test "$host_cpu" = ia64; then
19720
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19721
 
        # chokes on -Wl,-G. The following line is correct:
19722
 
          shared_flag='-G'
19723
 
        else
19724
 
        if test "$aix_use_runtimelinking" = yes; then
19725
 
            shared_flag='-qmkshrobj ${wl}-G'
19726
 
          else
19727
 
            shared_flag='-qmkshrobj'
19728
 
        fi
19729
 
        fi
19730
 
      fi
19731
 
 
19732
 
      # Let the compiler handle the export list.
19733
 
      always_export_symbols_GCJ=no
19734
 
      if test "$aix_use_runtimelinking" = yes; then
19735
 
        # Warning - without using the other runtime loading flags (-brtl),
19736
 
        # -berok will link without error, but may produce a broken library.
19737
 
        allow_undefined_flag_GCJ='-berok'
19738
 
       # Determine the default libpath from the value encoded in an empty executable.
19739
 
        cat >conftest.$ac_ext <<_ACEOF
19740
 
/* confdefs.h.  */
19741
 
_ACEOF
19742
 
cat confdefs.h >>conftest.$ac_ext
19743
 
cat >>conftest.$ac_ext <<_ACEOF
19744
 
/* end confdefs.h.  */
19745
 
 
19746
 
int
19747
 
main ()
19748
 
{
19749
 
 
19750
 
  ;
19751
 
  return 0;
19752
 
}
19753
 
_ACEOF
19754
 
rm -f conftest.$ac_objext conftest$ac_exeext
19755
 
if { (ac_try="$ac_link"
19756
 
case "(($ac_try" in
19757
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19758
 
  *) ac_try_echo=$ac_try;;
19759
 
esac
19760
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19761
 
  (eval "$ac_link") 2>conftest.er1
19762
 
  ac_status=$?
19763
 
  grep -v '^ *+' conftest.er1 >conftest.err
19764
 
  rm -f conftest.er1
19765
 
  cat conftest.err >&5
19766
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767
 
  (exit $ac_status); } && {
19768
 
         test -z "$ac_c_werror_flag" ||
19769
 
         test ! -s conftest.err
19770
 
       } && test -s conftest$ac_exeext &&
19771
 
       $as_test_x conftest$ac_exeext; then
19772
 
 
19773
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19774
 
}'`
19775
 
# Check for a 64-bit object if we didn't find anything.
19776
 
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; }
19777
 
}'`; fi
19778
 
else
19779
 
  echo "$as_me: failed program was:" >&5
19780
 
sed 's/^/| /' conftest.$ac_ext >&5
19781
 
 
19782
 
 
19783
 
fi
19784
 
 
19785
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19786
 
      conftest$ac_exeext conftest.$ac_ext
19787
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19788
 
 
19789
 
        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19790
 
        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"
19791
 
        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"
19792
 
       else
19793
 
        if test "$host_cpu" = ia64; then
19794
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19795
 
          allow_undefined_flag_GCJ="-z nodefs"
19796
 
          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"
19797
 
        else
19798
 
         # Determine the default libpath from the value encoded in an empty executable.
19799
 
         cat >conftest.$ac_ext <<_ACEOF
19800
 
/* confdefs.h.  */
19801
 
_ACEOF
19802
 
cat confdefs.h >>conftest.$ac_ext
19803
 
cat >>conftest.$ac_ext <<_ACEOF
19804
 
/* end confdefs.h.  */
19805
 
 
19806
 
int
19807
 
main ()
19808
 
{
19809
 
 
19810
 
  ;
19811
 
  return 0;
19812
 
}
19813
 
_ACEOF
19814
 
rm -f conftest.$ac_objext conftest$ac_exeext
19815
 
if { (ac_try="$ac_link"
19816
 
case "(($ac_try" in
19817
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19818
 
  *) ac_try_echo=$ac_try;;
19819
 
esac
19820
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19821
 
  (eval "$ac_link") 2>conftest.er1
19822
 
  ac_status=$?
19823
 
  grep -v '^ *+' conftest.er1 >conftest.err
19824
 
  rm -f conftest.er1
19825
 
  cat conftest.err >&5
19826
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827
 
  (exit $ac_status); } && {
19828
 
         test -z "$ac_c_werror_flag" ||
19829
 
         test ! -s conftest.err
19830
 
       } && test -s conftest$ac_exeext &&
19831
 
       $as_test_x conftest$ac_exeext; then
19832
 
 
19833
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
19834
 
}'`
19835
 
# Check for a 64-bit object if we didn't find anything.
19836
 
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; }
19837
 
}'`; fi
19838
 
else
19839
 
  echo "$as_me: failed program was:" >&5
19840
 
sed 's/^/| /' conftest.$ac_ext >&5
19841
 
 
19842
 
 
19843
 
fi
19844
 
 
19845
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19846
 
      conftest$ac_exeext conftest.$ac_ext
19847
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19848
 
 
19849
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19850
 
          # Warning - without using the other run time loading flags,
19851
 
          # -berok will link without error, but may produce a broken library.
19852
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
19853
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
19854
 
          # -bexpall does not export symbols beginning with underscore (_)
19855
 
          always_export_symbols_GCJ=yes
19856
 
          # Exported symbols can be pulled into shared objects from archives
19857
 
          whole_archive_flag_spec_GCJ=' '
19858
 
          archive_cmds_need_lc_GCJ=yes
19859
 
          # This is similar to how AIX traditionally builds it's shared libraries.
19860
 
          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'
19861
 
        fi
19862
 
      fi
19863
 
      ;;
19864
 
 
19865
 
    amigaos*)
19866
 
      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)'
19867
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19868
 
      hardcode_minus_L_GCJ=yes
19869
 
      # see comment about different semantics on the GNU ld section
19870
 
      ld_shlibs_GCJ=no
19871
 
      ;;
19872
 
 
19873
 
    bsdi4*)
19874
 
      export_dynamic_flag_spec_GCJ=-rdynamic
19875
 
      ;;
19876
 
 
19877
 
    cygwin* | mingw* | pw32*)
19878
 
      # When not using gcc, we currently assume that we are using
19879
 
      # Microsoft Visual C++.
19880
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
19881
 
      # no search path for DLLs.
19882
 
      hardcode_libdir_flag_spec_GCJ=' '
19883
 
      allow_undefined_flag_GCJ=no
19884
 
      # Tell ltmain to make .lib files, not .a files.
19885
 
      libext=lib
19886
 
      # Tell ltmain to make .dll files, not .so files.
19887
 
      shrext=".dll"
19888
 
      # FIXME: Setting linknames here is a bad hack.
19889
 
      archive_cmds_GCJ='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19890
 
      # The linker will automatically build a .lib file if we build a DLL.
19891
 
      old_archive_From_new_cmds_GCJ='true'
19892
 
      # FIXME: Should let the user specify the lib program.
19893
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
19894
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
19895
 
      enable_shared_with_static_runtimes_GCJ=yes
19896
 
      ;;
19897
 
 
19898
 
    darwin* | rhapsody*)
19899
 
    if test "$GXX" = yes ; then
19900
 
      archive_cmds_need_lc_GCJ=no
19901
 
      case "$host_os" in
19902
 
      rhapsody* | darwin1.[012])
19903
 
        allow_undefined_flag_GCJ='-Wl,-undefined -Wl,suppress'
19904
 
        ;;
19905
 
      *) # Darwin 1.3 on
19906
 
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19907
 
          allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19908
 
        else
19909
 
          case ${MACOSX_DEPLOYMENT_TARGET} in
19910
 
            10.012)
19911
 
              allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19912
 
              ;;
19913
 
            10.*)
19914
 
              allow_undefined_flag_GCJ='-Wl,-undefined -Wl,dynamic_lookup'
19915
 
              ;;
19916
 
          esac
19917
 
        fi
19918
 
        ;;
19919
 
      esac
19920
 
        lt_int_apple_cc_single_mod=no
19921
 
        output_verbose_link_cmd='echo'
19922
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
19923
 
          lt_int_apple_cc_single_mod=yes
19924
 
        fi
19925
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19926
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
19927
 
        else
19928
 
        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'
19929
 
      fi
19930
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
19931
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19932
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19933
 
          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}'
19934
 
        else
19935
 
          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}'
19936
 
        fi
19937
 
          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}'
19938
 
      hardcode_direct_GCJ=no
19939
 
      hardcode_automatic_GCJ=yes
19940
 
      hardcode_shlibpath_var_GCJ=unsupported
19941
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
19942
 
      link_all_deplibs_GCJ=yes
19943
 
    else
19944
 
      ld_shlibs_GCJ=no
19945
 
    fi
19946
 
      ;;
19947
 
 
19948
 
    dgux*)
19949
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19950
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19951
 
      hardcode_shlibpath_var_GCJ=no
19952
 
      ;;
19953
 
 
19954
 
    freebsd1*)
19955
 
      ld_shlibs_GCJ=no
19956
 
      ;;
19957
 
 
19958
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19959
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
19960
 
    # does not break anything, and helps significantly (at the cost of a little
19961
 
    # extra space).
19962
 
    freebsd2.2*)
19963
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19964
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19965
 
      hardcode_direct_GCJ=yes
19966
 
      hardcode_shlibpath_var_GCJ=no
19967
 
      ;;
19968
 
 
19969
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19970
 
    freebsd2*)
19971
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19972
 
      hardcode_direct_GCJ=yes
19973
 
      hardcode_minus_L_GCJ=yes
19974
 
      hardcode_shlibpath_var_GCJ=no
19975
 
      ;;
19976
 
 
19977
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19978
 
    freebsd* | kfreebsd*-gnu)
19979
 
      archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
19980
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19981
 
      hardcode_direct_GCJ=yes
19982
 
      hardcode_shlibpath_var_GCJ=no
19983
 
      ;;
19984
 
 
19985
 
    hpux9*)
19986
 
      if test "$GCC" = yes; then
19987
 
        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'
19988
 
      else
19989
 
        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'
19990
 
      fi
19991
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19992
 
      hardcode_libdir_separator_GCJ=:
19993
 
      hardcode_direct_GCJ=yes
19994
 
 
19995
 
      # hardcode_minus_L: Not really in the search PATH,
19996
 
      # but as the default location of the library.
19997
 
      hardcode_minus_L_GCJ=yes
19998
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
19999
 
      ;;
20000
 
 
20001
 
    hpux10* | hpux11*)
20002
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20003
 
        case "$host_cpu" in
20004
 
        hppa*64*|ia64*)
20005
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20006
 
          ;;
20007
 
        *)
20008
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
20009
 
          ;;
20010
 
        esac
20011
 
      else
20012
 
        case "$host_cpu" in
20013
 
        hppa*64*|ia64*)
20014
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
20015
 
          ;;
20016
 
        *)
20017
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20018
 
          ;;
20019
 
        esac
20020
 
      fi
20021
 
      if test "$with_gnu_ld" = no; then
20022
 
        case "$host_cpu" in
20023
 
        hppa*64*)
20024
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20025
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
20026
 
          hardcode_libdir_separator_GCJ=:
20027
 
          hardcode_direct_GCJ=no
20028
 
          hardcode_shlibpath_var_GCJ=no
20029
 
          ;;
20030
 
        ia64*)
20031
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
20032
 
          hardcode_direct_GCJ=no
20033
 
          hardcode_shlibpath_var_GCJ=no
20034
 
 
20035
 
          # hardcode_minus_L: Not really in the search PATH,
20036
 
          # but as the default location of the library.
20037
 
          hardcode_minus_L_GCJ=yes
20038
 
          ;;
20039
 
        *)
20040
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20041
 
          hardcode_libdir_separator_GCJ=:
20042
 
          hardcode_direct_GCJ=yes
20043
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
20044
 
 
20045
 
          # hardcode_minus_L: Not really in the search PATH,
20046
 
          # but as the default location of the library.
20047
 
          hardcode_minus_L_GCJ=yes
20048
 
          ;;
20049
 
        esac
20050
 
      fi
20051
 
      ;;
20052
 
 
20053
 
    irix5* | irix6* | nonstopux*)
20054
 
      if test "$GCC" = yes; then
20055
 
        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'
20056
 
      else
20057
 
        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'
20058
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
20059
 
      fi
20060
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20061
 
      hardcode_libdir_separator_GCJ=:
20062
 
      link_all_deplibs_GCJ=yes
20063
 
      ;;
20064
 
 
20065
 
    netbsd*)
20066
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20067
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
20068
 
      else
20069
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
20070
 
      fi
20071
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20072
 
      hardcode_direct_GCJ=yes
20073
 
      hardcode_shlibpath_var_GCJ=no
20074
 
      ;;
20075
 
 
20076
 
    newsos6)
20077
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20078
 
      hardcode_direct_GCJ=yes
20079
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20080
 
      hardcode_libdir_separator_GCJ=:
20081
 
      hardcode_shlibpath_var_GCJ=no
20082
 
      ;;
20083
 
 
20084
 
    openbsd*)
20085
 
      hardcode_direct_GCJ=yes
20086
 
      hardcode_shlibpath_var_GCJ=no
20087
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20088
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20089
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20090
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
20091
 
      else
20092
 
       case $host_os in
20093
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20094
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20095
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
20096
 
           ;;
20097
 
         *)
20098
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20099
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20100
 
           ;;
20101
 
       esac
20102
 
      fi
20103
 
      ;;
20104
 
 
20105
 
    os2*)
20106
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20107
 
      hardcode_minus_L_GCJ=yes
20108
 
      allow_undefined_flag_GCJ=unsupported
20109
 
      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'
20110
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20111
 
      ;;
20112
 
 
20113
 
    osf3*)
20114
 
      if test "$GCC" = yes; then
20115
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20116
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20117
 
      else
20118
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20119
 
        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'
20120
 
      fi
20121
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20122
 
      hardcode_libdir_separator_GCJ=:
20123
 
      ;;
20124
 
 
20125
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
20126
 
      if test "$GCC" = yes; then
20127
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20128
 
        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'
20129
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20130
 
      else
20131
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20132
 
        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'
20133
 
        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~
20134
 
        $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'
20135
 
 
20136
 
        # Both c and cxx compiler support -rpath directly
20137
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20138
 
      fi
20139
 
      hardcode_libdir_separator_GCJ=:
20140
 
      ;;
20141
 
 
20142
 
    sco3.2v5*)
20143
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20144
 
      hardcode_shlibpath_var_GCJ=no
20145
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20146
 
      runpath_var=LD_RUN_PATH
20147
 
      hardcode_runpath_var=yes
20148
 
      ;;
20149
 
 
20150
 
    solaris*)
20151
 
      no_undefined_flag_GCJ=' -z text'
20152
 
      if test "$GCC" = yes; then
20153
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20154
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20155
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
20156
 
      else
20157
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20158
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20159
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20160
 
      fi
20161
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20162
 
      hardcode_shlibpath_var_GCJ=no
20163
 
      case $host_os in
20164
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
20165
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
20166
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
20167
 
      esac
20168
 
      link_all_deplibs_GCJ=yes
20169
 
      ;;
20170
 
 
20171
 
    sunos4*)
20172
 
      if test "x$host_vendor" = xsequent; then
20173
 
        # Use $CC to link under sequent, because it throws in some extra .o
20174
 
        # files that make .init and .fini sections work.
20175
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
20176
 
      else
20177
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20178
 
      fi
20179
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20180
 
      hardcode_direct_GCJ=yes
20181
 
      hardcode_minus_L_GCJ=yes
20182
 
      hardcode_shlibpath_var_GCJ=no
20183
 
      ;;
20184
 
 
20185
 
    sysv4)
20186
 
      case $host_vendor in
20187
 
        sni)
20188
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20189
 
          hardcode_direct_GCJ=yes # is this really true???
20190
 
        ;;
20191
 
        siemens)
20192
 
          ## LD is ld it makes a PLAMLIB
20193
 
          ## CC just makes a GrossModule.
20194
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20195
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20196
 
          hardcode_direct_GCJ=no
20197
 
        ;;
20198
 
        motorola)
20199
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20200
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20201
 
        ;;
20202
 
      esac
20203
 
      runpath_var='LD_RUN_PATH'
20204
 
      hardcode_shlibpath_var_GCJ=no
20205
 
      ;;
20206
 
 
20207
 
    sysv4.3*)
20208
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20209
 
      hardcode_shlibpath_var_GCJ=no
20210
 
      export_dynamic_flag_spec_GCJ='-Bexport'
20211
 
      ;;
20212
 
 
20213
 
    sysv4*MP*)
20214
 
      if test -d /usr/nec; then
20215
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20216
 
        hardcode_shlibpath_var_GCJ=no
20217
 
        runpath_var=LD_RUN_PATH
20218
 
        hardcode_runpath_var=yes
20219
 
        ld_shlibs_GCJ=yes
20220
 
      fi
20221
 
      ;;
20222
 
 
20223
 
    sysv4.2uw2*)
20224
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20225
 
      hardcode_direct_GCJ=yes
20226
 
      hardcode_minus_L_GCJ=no
20227
 
      hardcode_shlibpath_var_GCJ=no
20228
 
      hardcode_runpath_var=yes
20229
 
      runpath_var=LD_RUN_PATH
20230
 
      ;;
20231
 
 
20232
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
20233
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
20234
 
      if test "$GCC" = yes; then
20235
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20236
 
      else
20237
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20238
 
      fi
20239
 
      runpath_var='LD_RUN_PATH'
20240
 
      hardcode_shlibpath_var_GCJ=no
20241
 
      ;;
20242
 
 
20243
 
    sysv5*)
20244
 
      no_undefined_flag_GCJ=' -z text'
20245
 
      # $CC -shared without GNU ld will not create a library from C++
20246
 
      # object files and a static libstdc++, better avoid it by now
20247
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20248
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20249
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20250
 
      hardcode_libdir_flag_spec_GCJ=
20251
 
      hardcode_shlibpath_var_GCJ=no
20252
 
      runpath_var='LD_RUN_PATH'
20253
 
      ;;
20254
 
 
20255
 
    uts4*)
20256
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20257
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20258
 
      hardcode_shlibpath_var_GCJ=no
20259
 
      ;;
20260
 
 
20261
 
    *)
20262
 
      ld_shlibs_GCJ=no
20263
 
      ;;
20264
 
    esac
20265
 
  fi
20266
 
 
20267
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20268
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20269
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20270
 
 
20271
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20272
 
if test "$GCC" = yes; then
20273
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20274
 
fi
20275
 
 
20276
 
#
20277
 
# Do we need to explicitly link libc?
20278
 
#
20279
 
case "x$archive_cmds_need_lc_GCJ" in
20280
 
x|xyes)
20281
 
  # Assume -lc should be added
20282
 
  archive_cmds_need_lc_GCJ=yes
20283
 
 
20284
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
20285
 
    case $archive_cmds_GCJ in
20286
 
    *'~'*)
20287
 
      # FIXME: we may have to deal with multi-command sequences.
20288
 
      ;;
20289
 
    '$CC '*)
20290
 
      # Test whether the compiler implicitly links with -lc since on some
20291
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20292
 
      # to ld, don't add -lc before -lgcc.
20293
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20294
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20295
 
      $rm conftest*
20296
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20297
 
 
20298
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20299
 
  (eval $ac_compile) 2>&5
20300
 
  ac_status=$?
20301
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302
 
  (exit $ac_status); } 2>conftest.err; then
20303
 
        soname=conftest
20304
 
        lib=conftest
20305
 
        libobjs=conftest.$ac_objext
20306
 
        deplibs=
20307
 
        wl=$lt_prog_compiler_wl_GCJ
20308
 
        compiler_flags=-v
20309
 
        linker_flags=-v
20310
 
        verstring=
20311
 
        output_objdir=.
20312
 
        libname=conftest
20313
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20314
 
        allow_undefined_flag_GCJ=
20315
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20316
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20317
 
  ac_status=$?
20318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319
 
  (exit $ac_status); }
20320
 
        then
20321
 
          archive_cmds_need_lc_GCJ=no
20322
 
        else
20323
 
          archive_cmds_need_lc_GCJ=yes
20324
 
        fi
20325
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20326
 
      else
20327
 
        cat conftest.err 1>&5
20328
 
      fi
20329
 
      $rm conftest*
20330
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20331
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20332
 
      ;;
20333
 
    esac
20334
 
  fi
20335
 
  ;;
20336
 
esac
20337
 
 
20338
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20339
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20340
 
library_names_spec=
20341
 
libname_spec='lib$name'
20342
 
soname_spec=
20343
 
shrext=".so"
20344
 
postinstall_cmds=
20345
 
postuninstall_cmds=
20346
 
finish_cmds=
20347
 
finish_eval=
20348
 
shlibpath_var=
20349
 
shlibpath_overrides_runpath=unknown
20350
 
version_type=none
20351
 
dynamic_linker="$host_os ld.so"
20352
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20353
 
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20354
 
need_lib_prefix=unknown
20355
 
hardcode_into_libs=no
20356
 
 
20357
 
# when you set need_version to no, make sure it does not cause -set_version
20358
 
# flags to be left without arguments
20359
 
need_version=unknown
20360
 
 
20361
 
case $host_os in
20362
 
aix3*)
20363
 
  version_type=linux
20364
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20365
 
  shlibpath_var=LIBPATH
20366
 
 
20367
 
  # AIX 3 has no versioning support, so we append a major version to the name.
20368
 
  soname_spec='${libname}${release}${shared_ext}$major'
20369
 
  ;;
20370
 
 
20371
 
aix4* | aix5*)
20372
 
  version_type=linux
20373
 
  need_lib_prefix=no
20374
 
  need_version=no
20375
 
  hardcode_into_libs=yes
20376
 
  if test "$host_cpu" = ia64; then
20377
 
    # AIX 5 supports IA64
20378
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20379
 
    shlibpath_var=LD_LIBRARY_PATH
20380
 
  else
20381
 
    # With GCC up to 2.95.x, collect2 would create an import file
20382
 
    # for dependence libraries.  The import file would start with
20383
 
    # the line `#! .'.  This would cause the generated library to
20384
 
    # depend on `.', always an invalid library.  This was fixed in
20385
 
    # development snapshots of GCC prior to 3.0.
20386
 
    case $host_os in
20387
 
      aix4 | aix4.[01] | aix4.[01].*)
20388
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20389
 
           echo ' yes '
20390
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20391
 
        :
20392
 
      else
20393
 
        can_build_shared=no
20394
 
      fi
20395
 
      ;;
20396
 
    esac
20397
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20398
 
    # soname into executable. Probably we can add versioning support to
20399
 
    # collect2, so additional links can be useful in future.
20400
 
    if test "$aix_use_runtimelinking" = yes; then
20401
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20402
 
      # instead of lib<name>.a to let people know that these are not
20403
 
      # typical AIX shared libraries.
20404
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20405
 
    else
20406
 
      # We preserve .a as extension for shared libraries through AIX4.2
20407
 
      # and later when we are not doing run time linking.
20408
 
      library_names_spec='${libname}${release}.a $libname.a'
20409
 
      soname_spec='${libname}${release}${shared_ext}$major'
20410
 
    fi
20411
 
    shlibpath_var=LIBPATH
20412
 
  fi
20413
 
  ;;
20414
 
 
20415
 
amigaos*)
20416
 
  library_names_spec='$libname.ixlibrary $libname.a'
20417
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
20418
 
  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'
20419
 
  ;;
20420
 
 
20421
 
beos*)
20422
 
  library_names_spec='${libname}${shared_ext}'
20423
 
  dynamic_linker="$host_os ld.so"
20424
 
  shlibpath_var=LIBRARY_PATH
20425
 
  ;;
20426
 
 
20427
 
bsdi4*)
20428
 
  version_type=linux
20429
 
  need_version=no
20430
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20431
 
  soname_spec='${libname}${release}${shared_ext}$major'
20432
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20433
 
  shlibpath_var=LD_LIBRARY_PATH
20434
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20435
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20436
 
  # the default ld.so.conf also contains /usr/contrib/lib and
20437
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20438
 
  # libtool to hard-code these into programs
20439
 
  ;;
20440
 
 
20441
 
cygwin* | mingw* | pw32*)
20442
 
  version_type=windows
20443
 
  shrext=".dll"
20444
 
  need_version=no
20445
 
  need_lib_prefix=no
20446
 
 
20447
 
  case $GCC,$host_os in
20448
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
20449
 
    library_names_spec='$libname.dll.a'
20450
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
20451
 
    postinstall_cmds='base_file=`basename \${file}`~
20452
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20453
 
      dldir=$destdir/`dirname \$dlpath`~
20454
 
      test -d \$dldir || mkdir -p \$dldir~
20455
 
      $install_prog $dir/$dlname \$dldir/$dlname'
20456
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20457
 
      dlpath=$dir/\$dldll~
20458
 
       $rm \$dlpath'
20459
 
    shlibpath_overrides_runpath=yes
20460
 
 
20461
 
    case $host_os in
20462
 
    cygwin*)
20463
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20464
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20465
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20466
 
      ;;
20467
 
    mingw*)
20468
 
      # MinGW DLLs use traditional 'lib' prefix
20469
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20470
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20471
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20472
 
        # It is most probably a Windows format PATH printed by
20473
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
20474
 
        # path with ; separators, and with drive letters. We can handle the
20475
 
        # drive letters (cygwin fileutils understands them), so leave them,
20476
 
        # especially as we might pass files found there to a mingw objdump,
20477
 
        # which wouldn't understand a cygwinified path. Ahh.
20478
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20479
 
      else
20480
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20481
 
      fi
20482
 
      ;;
20483
 
    pw32*)
20484
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
20485
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
20486
 
      ;;
20487
 
    esac
20488
 
    ;;
20489
 
 
20490
 
  *)
20491
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20492
 
    ;;
20493
 
  esac
20494
 
  dynamic_linker='Win32 ld.exe'
20495
 
  # FIXME: first we should search . and the directory the executable is in
20496
 
  shlibpath_var=PATH
20497
 
  ;;
20498
 
 
20499
 
darwin* | rhapsody*)
20500
 
  dynamic_linker="$host_os dyld"
20501
 
  version_type=darwin
20502
 
  need_lib_prefix=no
20503
 
  need_version=no
20504
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20505
 
  soname_spec='${libname}${release}${major}$shared_ext'
20506
 
  shlibpath_overrides_runpath=yes
20507
 
  shlibpath_var=DYLD_LIBRARY_PATH
20508
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
20509
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20510
 
  if test "$GCC" = yes; then
20511
 
    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"`
20512
 
  else
20513
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20514
 
  fi
20515
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20516
 
  ;;
20517
 
 
20518
 
dgux*)
20519
 
  version_type=linux
20520
 
  need_lib_prefix=no
20521
 
  need_version=no
20522
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20523
 
  soname_spec='${libname}${release}${shared_ext}$major'
20524
 
  shlibpath_var=LD_LIBRARY_PATH
20525
 
  ;;
20526
 
 
20527
 
freebsd1*)
20528
 
  dynamic_linker=no
20529
 
  ;;
20530
 
 
20531
 
kfreebsd*-gnu*)
20532
 
  version_type=linux
20533
 
  need_lib_prefix=no
20534
 
  need_version=no
20535
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20536
 
  soname_spec='${libname}${release}${shared_ext}$major'
20537
 
  shlibpath_var=LD_LIBRARY_PATH
20538
 
  shlibpath_overrides_runpath=no
20539
 
  hardcode_into_libs=yes
20540
 
  dynamic_linker='GNU ld.so'
20541
 
  ;;
20542
 
 
20543
 
freebsd*)
20544
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
20545
 
  version_type=freebsd-$objformat
20546
 
  case $version_type in
20547
 
    freebsd-elf*)
20548
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20549
 
      need_version=no
20550
 
      need_lib_prefix=no
20551
 
      ;;
20552
 
    freebsd-*)
20553
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20554
 
      need_version=yes
20555
 
      ;;
20556
 
  esac
20557
 
  shlibpath_var=LD_LIBRARY_PATH
20558
 
  case $host_os in
20559
 
  freebsd2*)
20560
 
    shlibpath_overrides_runpath=yes
20561
 
    ;;
20562
 
  freebsd3.01* | freebsdelf3.01*)
20563
 
    shlibpath_overrides_runpath=yes
20564
 
    hardcode_into_libs=yes
20565
 
    ;;
20566
 
  *) # from 3.2 on
20567
 
    shlibpath_overrides_runpath=no
20568
 
    hardcode_into_libs=yes
20569
 
    ;;
20570
 
  esac
20571
 
  ;;
20572
 
 
20573
 
gnu*)
20574
 
  version_type=linux
20575
 
  need_lib_prefix=no
20576
 
  need_version=no
20577
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20578
 
  soname_spec='${libname}${release}${shared_ext}$major'
20579
 
  shlibpath_var=LD_LIBRARY_PATH
20580
 
  hardcode_into_libs=yes
20581
 
  ;;
20582
 
 
20583
 
hpux9* | hpux10* | hpux11*)
20584
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
20585
 
  # link against other versions.
20586
 
  version_type=sunos
20587
 
  need_lib_prefix=no
20588
 
  need_version=no
20589
 
  case "$host_cpu" in
20590
 
  ia64*)
20591
 
    shrext='.so'
20592
 
    hardcode_into_libs=yes
20593
 
    dynamic_linker="$host_os dld.so"
20594
 
    shlibpath_var=LD_LIBRARY_PATH
20595
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20596
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20597
 
    soname_spec='${libname}${release}${shared_ext}$major'
20598
 
    if test "X$HPUX_IA64_MODE" = X32; then
20599
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20600
 
    else
20601
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20602
 
    fi
20603
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20604
 
    ;;
20605
 
   hppa*64*)
20606
 
     shrext='.sl'
20607
 
     hardcode_into_libs=yes
20608
 
     dynamic_linker="$host_os dld.sl"
20609
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20610
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20611
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20612
 
     soname_spec='${libname}${release}${shared_ext}$major'
20613
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20614
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20615
 
     ;;
20616
 
   *)
20617
 
    shrext='.sl'
20618
 
    dynamic_linker="$host_os dld.sl"
20619
 
    shlibpath_var=SHLIB_PATH
20620
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20621
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20622
 
    soname_spec='${libname}${release}${shared_ext}$major'
20623
 
    ;;
20624
 
  esac
20625
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
20626
 
  postinstall_cmds='chmod 555 $lib'
20627
 
  ;;
20628
 
 
20629
 
irix5* | irix6* | nonstopux*)
20630
 
  case $host_os in
20631
 
    nonstopux*) version_type=nonstopux ;;
20632
 
    *)
20633
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
20634
 
                version_type=linux
20635
 
        else
20636
 
                version_type=irix
20637
 
        fi ;;
20638
 
  esac
20639
 
  need_lib_prefix=no
20640
 
  need_version=no
20641
 
  soname_spec='${libname}${release}${shared_ext}$major'
20642
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20643
 
  case $host_os in
20644
 
  irix5* | nonstopux*)
20645
 
    libsuff= shlibsuff=
20646
 
    ;;
20647
 
  *)
20648
 
    case $LD in # libtool.m4 will add one of these switches to LD
20649
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20650
 
      libsuff= shlibsuff= libmagic=32-bit;;
20651
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20652
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
20653
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20654
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
20655
 
    *) libsuff= shlibsuff= libmagic=never-match;;
20656
 
    esac
20657
 
    ;;
20658
 
  esac
20659
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20660
 
  shlibpath_overrides_runpath=no
20661
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20662
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20663
 
  hardcode_into_libs=yes
20664
 
  ;;
20665
 
 
20666
 
# No shared lib support for Linux oldld, aout, or coff.
20667
 
linux*oldld* | linux*aout* | linux*coff*)
20668
 
  dynamic_linker=no
20669
 
  ;;
20670
 
 
20671
 
# This must be Linux ELF.
20672
 
linux*)
20673
 
  version_type=linux
20674
 
  need_lib_prefix=no
20675
 
  need_version=no
20676
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20677
 
  soname_spec='${libname}${release}${shared_ext}$major'
20678
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20679
 
  libsuff=
20680
 
  if test "x$LINUX_64_MODE" = x64; then
20681
 
    # Some platforms are per default 64-bit, so there's no /lib64
20682
 
    if test -d /lib64 -a ! -h /lib64; then
20683
 
      libsuff=64
20684
 
    fi
20685
 
  fi
20686
 
  shlibpath_var=LD_LIBRARY_PATH
20687
 
  shlibpath_overrides_runpath=no
20688
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
20689
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
20690
 
  # This implies no fast_install, which is unacceptable.
20691
 
  # Some rework will be needed to allow for fast_install
20692
 
  # before this can be enabled.
20693
 
  hardcode_into_libs=yes
20694
 
 
20695
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
20696
 
  # powerpc, because MkLinux only supported shared libraries with the
20697
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
20698
 
  # most powerpc-linux boxes support dynamic linking these days and
20699
 
  # people can always --disable-shared, the test was removed, and we
20700
 
  # assume the GNU/Linux dynamic linker is in use.
20701
 
  dynamic_linker='GNU/Linux ld.so'
20702
 
  ;;
20703
 
 
20704
 
netbsd*)
20705
 
  version_type=sunos
20706
 
  need_lib_prefix=no
20707
 
  need_version=no
20708
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20709
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20710
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20711
 
    dynamic_linker='NetBSD (a.out) ld.so'
20712
 
  else
20713
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
20714
 
    soname_spec='${libname}${release}${shared_ext}$major'
20715
 
    dynamic_linker='NetBSD ld.elf_so'
20716
 
  fi
20717
 
  shlibpath_var=LD_LIBRARY_PATH
20718
 
  shlibpath_overrides_runpath=yes
20719
 
  hardcode_into_libs=yes
20720
 
  ;;
20721
 
 
20722
 
newsos6)
20723
 
  version_type=linux
20724
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20725
 
  shlibpath_var=LD_LIBRARY_PATH
20726
 
  shlibpath_overrides_runpath=yes
20727
 
  ;;
20728
 
 
20729
 
nto-qnx*)
20730
 
  version_type=linux
20731
 
  need_lib_prefix=no
20732
 
  need_version=no
20733
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20734
 
  soname_spec='${libname}${release}${shared_ext}$major'
20735
 
  shlibpath_var=LD_LIBRARY_PATH
20736
 
  shlibpath_overrides_runpath=yes
20737
 
  ;;
20738
 
 
20739
 
openbsd*)
20740
 
  version_type=sunos
20741
 
  need_lib_prefix=no
20742
 
  need_version=no
20743
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20744
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20745
 
  shlibpath_var=LD_LIBRARY_PATH
20746
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20747
 
    case $host_os in
20748
 
      openbsd2.[89] | openbsd2.[89].*)
20749
 
        shlibpath_overrides_runpath=no
20750
 
        ;;
20751
 
      *)
20752
 
        shlibpath_overrides_runpath=yes
20753
 
        ;;
20754
 
      esac
20755
 
  else
20756
 
    shlibpath_overrides_runpath=yes
20757
 
  fi
20758
 
  ;;
20759
 
 
20760
 
os2*)
20761
 
  libname_spec='$name'
20762
 
  shrext=".dll"
20763
 
  need_lib_prefix=no
20764
 
  library_names_spec='$libname${shared_ext} $libname.a'
20765
 
  dynamic_linker='OS/2 ld.exe'
20766
 
  shlibpath_var=LIBPATH
20767
 
  ;;
20768
 
 
20769
 
osf3* | osf4* | osf5*)
20770
 
  version_type=osf
20771
 
  need_lib_prefix=no
20772
 
  need_version=no
20773
 
  soname_spec='${libname}${release}${shared_ext}$major'
20774
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20775
 
  shlibpath_var=LD_LIBRARY_PATH
20776
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20777
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20778
 
  ;;
20779
 
 
20780
 
sco3.2v5*)
20781
 
  version_type=osf
20782
 
  soname_spec='${libname}${release}${shared_ext}$major'
20783
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20784
 
  shlibpath_var=LD_LIBRARY_PATH
20785
 
  ;;
20786
 
 
20787
 
solaris*)
20788
 
  version_type=linux
20789
 
  need_lib_prefix=no
20790
 
  need_version=no
20791
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20792
 
  soname_spec='${libname}${release}${shared_ext}$major'
20793
 
  shlibpath_var=LD_LIBRARY_PATH
20794
 
  shlibpath_overrides_runpath=yes
20795
 
  hardcode_into_libs=yes
20796
 
  # ldd complains unless libraries are executable
20797
 
  postinstall_cmds='chmod +x $lib'
20798
 
  ;;
20799
 
 
20800
 
sunos4*)
20801
 
  version_type=sunos
20802
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20803
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20804
 
  shlibpath_var=LD_LIBRARY_PATH
20805
 
  shlibpath_overrides_runpath=yes
20806
 
  if test "$with_gnu_ld" = yes; then
20807
 
    need_lib_prefix=no
20808
 
  fi
20809
 
  need_version=yes
20810
 
  ;;
20811
 
 
20812
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20813
 
  version_type=linux
20814
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20815
 
  soname_spec='${libname}${release}${shared_ext}$major'
20816
 
  shlibpath_var=LD_LIBRARY_PATH
20817
 
  case $host_vendor in
20818
 
    sni)
20819
 
      shlibpath_overrides_runpath=no
20820
 
      need_lib_prefix=no
20821
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
20822
 
      runpath_var=LD_RUN_PATH
20823
 
      ;;
20824
 
    siemens)
20825
 
      need_lib_prefix=no
20826
 
      ;;
20827
 
    motorola)
20828
 
      need_lib_prefix=no
20829
 
      need_version=no
20830
 
      shlibpath_overrides_runpath=no
20831
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20832
 
      ;;
20833
 
  esac
20834
 
  ;;
20835
 
 
20836
 
sysv4*MP*)
20837
 
  if test -d /usr/nec ;then
20838
 
    version_type=linux
20839
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20840
 
    soname_spec='$libname${shared_ext}.$major'
20841
 
    shlibpath_var=LD_LIBRARY_PATH
20842
 
  fi
20843
 
  ;;
20844
 
 
20845
 
uts4*)
20846
 
  version_type=linux
20847
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20848
 
  soname_spec='${libname}${release}${shared_ext}$major'
20849
 
  shlibpath_var=LD_LIBRARY_PATH
20850
 
  ;;
20851
 
 
20852
 
*)
20853
 
  dynamic_linker=no
20854
 
  ;;
20855
 
esac
20856
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20857
 
echo "${ECHO_T}$dynamic_linker" >&6; }
20858
 
test "$dynamic_linker" = no && can_build_shared=no
20859
 
 
20860
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20861
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20862
 
hardcode_action_GCJ=
20863
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20864
 
   test -n "$runpath_var GCJ" || \
20865
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
20866
 
 
20867
 
  # We can hardcode non-existant directories.
20868
 
  if test "$hardcode_direct_GCJ" != no &&
20869
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
20870
 
     # have to relink, otherwise we might link with an installed library
20871
 
     # when we should be linking with a yet-to-be-installed one
20872
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20873
 
     test "$hardcode_minus_L_GCJ" != no; then
20874
 
    # Linking always hardcodes the temporary library directory.
20875
 
    hardcode_action_GCJ=relink
20876
 
  else
20877
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
20878
 
    hardcode_action_GCJ=immediate
20879
 
  fi
20880
 
else
20881
 
  # We cannot hardcode anything, or else we can only hardcode existing
20882
 
  # directories.
20883
 
  hardcode_action_GCJ=unsupported
20884
 
fi
20885
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20886
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20887
 
 
20888
 
if test "$hardcode_action_GCJ" = relink; then
20889
 
  # Fast installation is not supported
20890
 
  enable_fast_install=no
20891
 
elif test "$shlibpath_overrides_runpath" = yes ||
20892
 
     test "$enable_shared" = no; then
20893
 
  # Fast installation is not necessary
20894
 
  enable_fast_install=needless
20895
 
fi
20896
 
 
20897
 
striplib=
20898
 
old_striplib=
20899
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20900
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
20901
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
20902
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
20903
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
20904
 
  { echo "$as_me:$LINENO: result: yes" >&5
20905
 
echo "${ECHO_T}yes" >&6; }
20906
 
else
20907
 
# FIXME - insert some real tests, host_os isn't really good enough
20908
 
  case $host_os in
20909
 
   darwin*)
20910
 
       if test -n "$STRIP" ; then
20911
 
         striplib="$STRIP -x"
20912
 
         { echo "$as_me:$LINENO: result: yes" >&5
20913
 
echo "${ECHO_T}yes" >&6; }
20914
 
       else
20915
 
  { echo "$as_me:$LINENO: result: no" >&5
20916
 
echo "${ECHO_T}no" >&6; }
20917
 
fi
20918
 
       ;;
20919
 
   *)
20920
 
  { echo "$as_me:$LINENO: result: no" >&5
20921
 
echo "${ECHO_T}no" >&6; }
20922
 
    ;;
20923
 
  esac
20924
 
fi
20925
 
 
20926
 
if test "x$enable_dlopen" != xyes; then
20927
 
  enable_dlopen=unknown
20928
 
  enable_dlopen_self=unknown
20929
 
  enable_dlopen_self_static=unknown
20930
 
else
20931
 
  lt_cv_dlopen=no
20932
 
  lt_cv_dlopen_libs=
20933
 
 
20934
 
  case $host_os in
20935
 
  beos*)
20936
 
    lt_cv_dlopen="load_add_on"
20937
 
    lt_cv_dlopen_libs=
20938
 
    lt_cv_dlopen_self=yes
20939
 
    ;;
20940
 
 
20941
 
  mingw* | pw32*)
20942
 
    lt_cv_dlopen="LoadLibrary"
20943
 
    lt_cv_dlopen_libs=
20944
 
   ;;
20945
 
 
20946
 
  cygwin*)
20947
 
    lt_cv_dlopen="dlopen"
20948
 
    lt_cv_dlopen_libs=
20949
 
   ;;
20950
 
 
20951
 
  darwin*)
20952
 
  # if libdl is installed we need to link against it
20953
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20954
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20955
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20956
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20957
 
else
20958
 
  ac_check_lib_save_LIBS=$LIBS
20959
 
LIBS="-ldl  $LIBS"
20960
 
cat >conftest.$ac_ext <<_ACEOF
20961
 
/* confdefs.h.  */
20962
 
_ACEOF
20963
 
cat confdefs.h >>conftest.$ac_ext
20964
 
cat >>conftest.$ac_ext <<_ACEOF
20965
 
/* end confdefs.h.  */
20966
 
 
20967
 
/* Override any GCC internal prototype to avoid an error.
20968
 
   Use char because int might match the return type of a GCC
20969
 
   builtin and then its argument prototype would still apply.  */
20970
 
#ifdef __cplusplus
20971
 
extern "C"
20972
 
#endif
20973
 
char dlopen ();
20974
 
int
20975
 
main ()
20976
 
{
20977
 
return dlopen ();
20978
 
  ;
20979
 
  return 0;
20980
 
}
20981
 
_ACEOF
20982
 
rm -f conftest.$ac_objext conftest$ac_exeext
20983
 
if { (ac_try="$ac_link"
20984
 
case "(($ac_try" in
20985
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20986
 
  *) ac_try_echo=$ac_try;;
20987
 
esac
20988
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20989
 
  (eval "$ac_link") 2>conftest.er1
20990
 
  ac_status=$?
20991
 
  grep -v '^ *+' conftest.er1 >conftest.err
20992
 
  rm -f conftest.er1
20993
 
  cat conftest.err >&5
20994
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995
 
  (exit $ac_status); } && {
20996
 
         test -z "$ac_c_werror_flag" ||
20997
 
         test ! -s conftest.err
20998
 
       } && test -s conftest$ac_exeext &&
20999
 
       $as_test_x conftest$ac_exeext; then
21000
 
  ac_cv_lib_dl_dlopen=yes
21001
 
else
21002
 
  echo "$as_me: failed program was:" >&5
21003
 
sed 's/^/| /' conftest.$ac_ext >&5
21004
 
 
21005
 
        ac_cv_lib_dl_dlopen=no
21006
 
fi
21007
 
 
21008
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21009
 
      conftest$ac_exeext conftest.$ac_ext
21010
 
LIBS=$ac_check_lib_save_LIBS
21011
 
fi
21012
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21013
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
21014
 
if test $ac_cv_lib_dl_dlopen = yes; then
21015
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21016
 
else
21017
 
 
21018
 
    lt_cv_dlopen="dyld"
21019
 
    lt_cv_dlopen_libs=
21020
 
    lt_cv_dlopen_self=yes
21021
 
 
21022
 
fi
21023
 
 
21024
 
   ;;
21025
 
 
21026
 
  *)
21027
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
21028
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
21029
 
if test "${ac_cv_func_shl_load+set}" = set; then
21030
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21031
 
else
21032
 
  cat >conftest.$ac_ext <<_ACEOF
21033
 
/* confdefs.h.  */
21034
 
_ACEOF
21035
 
cat confdefs.h >>conftest.$ac_ext
21036
 
cat >>conftest.$ac_ext <<_ACEOF
21037
 
/* end confdefs.h.  */
21038
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
21039
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21040
 
#define shl_load innocuous_shl_load
21041
 
 
21042
 
/* System header to define __stub macros and hopefully few prototypes,
21043
 
    which can conflict with char shl_load (); below.
21044
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21045
 
    <limits.h> exists even on freestanding compilers.  */
21046
 
 
21047
 
#ifdef __STDC__
21048
 
# include <limits.h>
21049
 
#else
21050
 
# include <assert.h>
21051
 
#endif
21052
 
 
21053
 
#undef shl_load
21054
 
 
21055
 
/* Override any GCC internal prototype to avoid an error.
21056
 
   Use char because int might match the return type of a GCC
21057
 
   builtin and then its argument prototype would still apply.  */
21058
 
#ifdef __cplusplus
21059
 
extern "C"
21060
 
#endif
21061
 
char shl_load ();
21062
 
/* The GNU C library defines this for functions which it implements
21063
 
    to always fail with ENOSYS.  Some functions are actually named
21064
 
    something starting with __ and the normal name is an alias.  */
21065
 
#if defined __stub_shl_load || defined __stub___shl_load
21066
 
choke me
21067
 
#endif
21068
 
 
21069
 
int
21070
 
main ()
21071
 
{
21072
 
return shl_load ();
21073
 
  ;
21074
 
  return 0;
21075
 
}
21076
 
_ACEOF
21077
 
rm -f conftest.$ac_objext conftest$ac_exeext
21078
 
if { (ac_try="$ac_link"
21079
 
case "(($ac_try" in
21080
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21081
 
  *) ac_try_echo=$ac_try;;
21082
 
esac
21083
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21084
 
  (eval "$ac_link") 2>conftest.er1
21085
 
  ac_status=$?
21086
 
  grep -v '^ *+' conftest.er1 >conftest.err
21087
 
  rm -f conftest.er1
21088
 
  cat conftest.err >&5
21089
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090
 
  (exit $ac_status); } && {
21091
 
         test -z "$ac_c_werror_flag" ||
21092
 
         test ! -s conftest.err
21093
 
       } && test -s conftest$ac_exeext &&
21094
 
       $as_test_x conftest$ac_exeext; then
21095
 
  ac_cv_func_shl_load=yes
21096
 
else
21097
 
  echo "$as_me: failed program was:" >&5
21098
 
sed 's/^/| /' conftest.$ac_ext >&5
21099
 
 
21100
 
        ac_cv_func_shl_load=no
21101
 
fi
21102
 
 
21103
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21104
 
      conftest$ac_exeext conftest.$ac_ext
21105
 
fi
21106
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
21107
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
21108
 
if test $ac_cv_func_shl_load = yes; then
21109
 
  lt_cv_dlopen="shl_load"
21110
 
else
21111
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
21112
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
21113
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
21114
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21115
 
else
21116
 
  ac_check_lib_save_LIBS=$LIBS
21117
 
LIBS="-ldld  $LIBS"
21118
 
cat >conftest.$ac_ext <<_ACEOF
21119
 
/* confdefs.h.  */
21120
 
_ACEOF
21121
 
cat confdefs.h >>conftest.$ac_ext
21122
 
cat >>conftest.$ac_ext <<_ACEOF
21123
 
/* end confdefs.h.  */
21124
 
 
21125
 
/* Override any GCC internal prototype to avoid an error.
21126
 
   Use char because int might match the return type of a GCC
21127
 
   builtin and then its argument prototype would still apply.  */
21128
 
#ifdef __cplusplus
21129
 
extern "C"
21130
 
#endif
21131
 
char shl_load ();
21132
 
int
21133
 
main ()
21134
 
{
21135
 
return shl_load ();
21136
 
  ;
21137
 
  return 0;
21138
 
}
21139
 
_ACEOF
21140
 
rm -f conftest.$ac_objext conftest$ac_exeext
21141
 
if { (ac_try="$ac_link"
21142
 
case "(($ac_try" in
21143
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21144
 
  *) ac_try_echo=$ac_try;;
21145
 
esac
21146
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21147
 
  (eval "$ac_link") 2>conftest.er1
21148
 
  ac_status=$?
21149
 
  grep -v '^ *+' conftest.er1 >conftest.err
21150
 
  rm -f conftest.er1
21151
 
  cat conftest.err >&5
21152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153
 
  (exit $ac_status); } && {
21154
 
         test -z "$ac_c_werror_flag" ||
21155
 
         test ! -s conftest.err
21156
 
       } && test -s conftest$ac_exeext &&
21157
 
       $as_test_x conftest$ac_exeext; then
21158
 
  ac_cv_lib_dld_shl_load=yes
21159
 
else
21160
 
  echo "$as_me: failed program was:" >&5
21161
 
sed 's/^/| /' conftest.$ac_ext >&5
21162
 
 
21163
 
        ac_cv_lib_dld_shl_load=no
21164
 
fi
21165
 
 
21166
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21167
 
      conftest$ac_exeext conftest.$ac_ext
21168
 
LIBS=$ac_check_lib_save_LIBS
21169
 
fi
21170
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
21171
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
21172
 
if test $ac_cv_lib_dld_shl_load = yes; then
21173
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
21174
 
else
21175
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
21176
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
21177
 
if test "${ac_cv_func_dlopen+set}" = set; then
21178
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21179
 
else
21180
 
  cat >conftest.$ac_ext <<_ACEOF
21181
 
/* confdefs.h.  */
21182
 
_ACEOF
21183
 
cat confdefs.h >>conftest.$ac_ext
21184
 
cat >>conftest.$ac_ext <<_ACEOF
21185
 
/* end confdefs.h.  */
21186
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
21187
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21188
 
#define dlopen innocuous_dlopen
21189
 
 
21190
 
/* System header to define __stub macros and hopefully few prototypes,
21191
 
    which can conflict with char dlopen (); below.
21192
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21193
 
    <limits.h> exists even on freestanding compilers.  */
21194
 
 
21195
 
#ifdef __STDC__
21196
 
# include <limits.h>
21197
 
#else
21198
 
# include <assert.h>
21199
 
#endif
21200
 
 
21201
 
#undef dlopen
21202
 
 
21203
 
/* Override any GCC internal prototype to avoid an error.
21204
 
   Use char because int might match the return type of a GCC
21205
 
   builtin and then its argument prototype would still apply.  */
21206
 
#ifdef __cplusplus
21207
 
extern "C"
21208
 
#endif
21209
 
char dlopen ();
21210
 
/* The GNU C library defines this for functions which it implements
21211
 
    to always fail with ENOSYS.  Some functions are actually named
21212
 
    something starting with __ and the normal name is an alias.  */
21213
 
#if defined __stub_dlopen || defined __stub___dlopen
21214
 
choke me
21215
 
#endif
21216
 
 
21217
 
int
21218
 
main ()
21219
 
{
21220
 
return dlopen ();
21221
 
  ;
21222
 
  return 0;
21223
 
}
21224
 
_ACEOF
21225
 
rm -f conftest.$ac_objext conftest$ac_exeext
21226
 
if { (ac_try="$ac_link"
21227
 
case "(($ac_try" in
21228
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229
 
  *) ac_try_echo=$ac_try;;
21230
 
esac
21231
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232
 
  (eval "$ac_link") 2>conftest.er1
21233
 
  ac_status=$?
21234
 
  grep -v '^ *+' conftest.er1 >conftest.err
21235
 
  rm -f conftest.er1
21236
 
  cat conftest.err >&5
21237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238
 
  (exit $ac_status); } && {
21239
 
         test -z "$ac_c_werror_flag" ||
21240
 
         test ! -s conftest.err
21241
 
       } && test -s conftest$ac_exeext &&
21242
 
       $as_test_x conftest$ac_exeext; then
21243
 
  ac_cv_func_dlopen=yes
21244
 
else
21245
 
  echo "$as_me: failed program was:" >&5
21246
 
sed 's/^/| /' conftest.$ac_ext >&5
21247
 
 
21248
 
        ac_cv_func_dlopen=no
21249
 
fi
21250
 
 
21251
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21252
 
      conftest$ac_exeext conftest.$ac_ext
21253
 
fi
21254
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
21255
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
21256
 
if test $ac_cv_func_dlopen = yes; then
21257
 
  lt_cv_dlopen="dlopen"
21258
 
else
21259
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21260
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
21261
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21262
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21263
 
else
21264
 
  ac_check_lib_save_LIBS=$LIBS
21265
 
LIBS="-ldl  $LIBS"
21266
 
cat >conftest.$ac_ext <<_ACEOF
21267
 
/* confdefs.h.  */
21268
 
_ACEOF
21269
 
cat confdefs.h >>conftest.$ac_ext
21270
 
cat >>conftest.$ac_ext <<_ACEOF
21271
 
/* end confdefs.h.  */
21272
 
 
21273
 
/* Override any GCC internal prototype to avoid an error.
21274
 
   Use char because int might match the return type of a GCC
21275
 
   builtin and then its argument prototype would still apply.  */
21276
 
#ifdef __cplusplus
21277
 
extern "C"
21278
 
#endif
21279
 
char dlopen ();
21280
 
int
21281
 
main ()
21282
 
{
21283
 
return dlopen ();
21284
 
  ;
21285
 
  return 0;
21286
 
}
21287
 
_ACEOF
21288
 
rm -f conftest.$ac_objext conftest$ac_exeext
21289
 
if { (ac_try="$ac_link"
21290
 
case "(($ac_try" in
21291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21292
 
  *) ac_try_echo=$ac_try;;
21293
 
esac
21294
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21295
 
  (eval "$ac_link") 2>conftest.er1
21296
 
  ac_status=$?
21297
 
  grep -v '^ *+' conftest.er1 >conftest.err
21298
 
  rm -f conftest.er1
21299
 
  cat conftest.err >&5
21300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301
 
  (exit $ac_status); } && {
21302
 
         test -z "$ac_c_werror_flag" ||
21303
 
         test ! -s conftest.err
21304
 
       } && test -s conftest$ac_exeext &&
21305
 
       $as_test_x conftest$ac_exeext; then
21306
 
  ac_cv_lib_dl_dlopen=yes
21307
 
else
21308
 
  echo "$as_me: failed program was:" >&5
21309
 
sed 's/^/| /' conftest.$ac_ext >&5
21310
 
 
21311
 
        ac_cv_lib_dl_dlopen=no
21312
 
fi
21313
 
 
21314
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21315
 
      conftest$ac_exeext conftest.$ac_ext
21316
 
LIBS=$ac_check_lib_save_LIBS
21317
 
fi
21318
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21319
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
21320
 
if test $ac_cv_lib_dl_dlopen = yes; then
21321
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21322
 
else
21323
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
21324
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
21325
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
21326
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21327
 
else
21328
 
  ac_check_lib_save_LIBS=$LIBS
21329
 
LIBS="-lsvld  $LIBS"
21330
 
cat >conftest.$ac_ext <<_ACEOF
21331
 
/* confdefs.h.  */
21332
 
_ACEOF
21333
 
cat confdefs.h >>conftest.$ac_ext
21334
 
cat >>conftest.$ac_ext <<_ACEOF
21335
 
/* end confdefs.h.  */
21336
 
 
21337
 
/* Override any GCC internal prototype to avoid an error.
21338
 
   Use char because int might match the return type of a GCC
21339
 
   builtin and then its argument prototype would still apply.  */
21340
 
#ifdef __cplusplus
21341
 
extern "C"
21342
 
#endif
21343
 
char dlopen ();
21344
 
int
21345
 
main ()
21346
 
{
21347
 
return dlopen ();
21348
 
  ;
21349
 
  return 0;
21350
 
}
21351
 
_ACEOF
21352
 
rm -f conftest.$ac_objext conftest$ac_exeext
21353
 
if { (ac_try="$ac_link"
21354
 
case "(($ac_try" in
21355
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21356
 
  *) ac_try_echo=$ac_try;;
21357
 
esac
21358
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21359
 
  (eval "$ac_link") 2>conftest.er1
21360
 
  ac_status=$?
21361
 
  grep -v '^ *+' conftest.er1 >conftest.err
21362
 
  rm -f conftest.er1
21363
 
  cat conftest.err >&5
21364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365
 
  (exit $ac_status); } && {
21366
 
         test -z "$ac_c_werror_flag" ||
21367
 
         test ! -s conftest.err
21368
 
       } && test -s conftest$ac_exeext &&
21369
 
       $as_test_x conftest$ac_exeext; then
21370
 
  ac_cv_lib_svld_dlopen=yes
21371
 
else
21372
 
  echo "$as_me: failed program was:" >&5
21373
 
sed 's/^/| /' conftest.$ac_ext >&5
21374
 
 
21375
 
        ac_cv_lib_svld_dlopen=no
21376
 
fi
21377
 
 
21378
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21379
 
      conftest$ac_exeext conftest.$ac_ext
21380
 
LIBS=$ac_check_lib_save_LIBS
21381
 
fi
21382
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
21383
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
21384
 
if test $ac_cv_lib_svld_dlopen = yes; then
21385
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
21386
 
else
21387
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
21388
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
21389
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
21390
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21391
 
else
21392
 
  ac_check_lib_save_LIBS=$LIBS
21393
 
LIBS="-ldld  $LIBS"
21394
 
cat >conftest.$ac_ext <<_ACEOF
21395
 
/* confdefs.h.  */
21396
 
_ACEOF
21397
 
cat confdefs.h >>conftest.$ac_ext
21398
 
cat >>conftest.$ac_ext <<_ACEOF
21399
 
/* end confdefs.h.  */
21400
 
 
21401
 
/* Override any GCC internal prototype to avoid an error.
21402
 
   Use char because int might match the return type of a GCC
21403
 
   builtin and then its argument prototype would still apply.  */
21404
 
#ifdef __cplusplus
21405
 
extern "C"
21406
 
#endif
21407
 
char dld_link ();
21408
 
int
21409
 
main ()
21410
 
{
21411
 
return dld_link ();
21412
 
  ;
21413
 
  return 0;
21414
 
}
21415
 
_ACEOF
21416
 
rm -f conftest.$ac_objext conftest$ac_exeext
21417
 
if { (ac_try="$ac_link"
21418
 
case "(($ac_try" in
21419
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21420
 
  *) ac_try_echo=$ac_try;;
21421
 
esac
21422
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21423
 
  (eval "$ac_link") 2>conftest.er1
21424
 
  ac_status=$?
21425
 
  grep -v '^ *+' conftest.er1 >conftest.err
21426
 
  rm -f conftest.er1
21427
 
  cat conftest.err >&5
21428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429
 
  (exit $ac_status); } && {
21430
 
         test -z "$ac_c_werror_flag" ||
21431
 
         test ! -s conftest.err
21432
 
       } && test -s conftest$ac_exeext &&
21433
 
       $as_test_x conftest$ac_exeext; then
21434
 
  ac_cv_lib_dld_dld_link=yes
21435
 
else
21436
 
  echo "$as_me: failed program was:" >&5
21437
 
sed 's/^/| /' conftest.$ac_ext >&5
21438
 
 
21439
 
        ac_cv_lib_dld_dld_link=no
21440
 
fi
21441
 
 
21442
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21443
 
      conftest$ac_exeext conftest.$ac_ext
21444
 
LIBS=$ac_check_lib_save_LIBS
21445
 
fi
21446
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
21447
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
21448
 
if test $ac_cv_lib_dld_dld_link = yes; then
21449
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
21450
 
fi
21451
 
 
21452
 
 
21453
 
fi
21454
 
 
21455
 
 
21456
 
fi
21457
 
 
21458
 
 
21459
 
fi
21460
 
 
21461
 
 
21462
 
fi
21463
 
 
21464
 
 
21465
 
fi
21466
 
 
21467
 
    ;;
21468
 
  esac
21469
 
 
21470
 
  if test "x$lt_cv_dlopen" != xno; then
21471
 
    enable_dlopen=yes
21472
 
  else
21473
 
    enable_dlopen=no
21474
 
  fi
21475
 
 
21476
 
  case $lt_cv_dlopen in
21477
 
  dlopen)
21478
 
    save_CPPFLAGS="$CPPFLAGS"
21479
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
21480
 
 
21481
 
    save_LDFLAGS="$LDFLAGS"
21482
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
21483
 
 
21484
 
    save_LIBS="$LIBS"
21485
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
21486
 
 
21487
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
21488
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
21489
 
if test "${lt_cv_dlopen_self+set}" = set; then
21490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21491
 
else
21492
 
          if test "$cross_compiling" = yes; then :
21493
 
  lt_cv_dlopen_self=cross
21494
 
else
21495
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21496
 
  lt_status=$lt_dlunknown
21497
 
  cat > conftest.$ac_ext <<EOF
21498
 
#line 21498 "configure"
21499
 
#include "confdefs.h"
21500
 
 
21501
 
#if HAVE_DLFCN_H
21502
 
#include <dlfcn.h>
21503
 
#endif
21504
 
 
21505
 
#include <stdio.h>
21506
 
 
21507
 
#ifdef RTLD_GLOBAL
21508
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
21509
 
#else
21510
 
#  ifdef DL_GLOBAL
21511
 
#    define LT_DLGLOBAL         DL_GLOBAL
21512
 
#  else
21513
 
#    define LT_DLGLOBAL         0
21514
 
#  endif
21515
 
#endif
21516
 
 
21517
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21518
 
   find out it does not work in some platform. */
21519
 
#ifndef LT_DLLAZY_OR_NOW
21520
 
#  ifdef RTLD_LAZY
21521
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
21522
 
#  else
21523
 
#    ifdef DL_LAZY
21524
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
21525
 
#    else
21526
 
#      ifdef RTLD_NOW
21527
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
21528
 
#      else
21529
 
#        ifdef DL_NOW
21530
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
21531
 
#        else
21532
 
#          define LT_DLLAZY_OR_NOW      0
21533
 
#        endif
21534
 
#      endif
21535
 
#    endif
21536
 
#  endif
21537
 
#endif
21538
 
 
21539
 
#ifdef __cplusplus
21540
 
extern "C" void exit (int);
21541
 
#endif
21542
 
 
21543
 
void fnord() { int i=42;}
21544
 
int main ()
21545
 
{
21546
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21547
 
  int status = $lt_dlunknown;
21548
 
 
21549
 
  if (self)
21550
 
    {
21551
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
21552
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21553
 
      /* dlclose (self); */
21554
 
    }
21555
 
 
21556
 
    exit (status);
21557
 
}
21558
 
EOF
21559
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21560
 
  (eval $ac_link) 2>&5
21561
 
  ac_status=$?
21562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21564
 
    (./conftest; exit; ) 2>/dev/null
21565
 
    lt_status=$?
21566
 
    case x$lt_status in
21567
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
21568
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
21569
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
21570
 
    esac
21571
 
  else :
21572
 
    # compilation failed
21573
 
    lt_cv_dlopen_self=no
21574
 
  fi
21575
 
fi
21576
 
rm -fr conftest*
21577
 
 
21578
 
 
21579
 
fi
21580
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
21581
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
21582
 
 
21583
 
    if test "x$lt_cv_dlopen_self" = xyes; then
21584
 
      LDFLAGS="$LDFLAGS $link_static_flag"
21585
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
21586
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
21587
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
21588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21589
 
else
21590
 
          if test "$cross_compiling" = yes; then :
21591
 
  lt_cv_dlopen_self_static=cross
21592
 
else
21593
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21594
 
  lt_status=$lt_dlunknown
21595
 
  cat > conftest.$ac_ext <<EOF
21596
 
#line 21596 "configure"
21597
 
#include "confdefs.h"
21598
 
 
21599
 
#if HAVE_DLFCN_H
21600
 
#include <dlfcn.h>
21601
 
#endif
21602
 
 
21603
 
#include <stdio.h>
21604
 
 
21605
 
#ifdef RTLD_GLOBAL
21606
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
21607
 
#else
21608
 
#  ifdef DL_GLOBAL
21609
 
#    define LT_DLGLOBAL         DL_GLOBAL
21610
 
#  else
21611
 
#    define LT_DLGLOBAL         0
21612
 
#  endif
21613
 
#endif
21614
 
 
21615
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21616
 
   find out it does not work in some platform. */
21617
 
#ifndef LT_DLLAZY_OR_NOW
21618
 
#  ifdef RTLD_LAZY
21619
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
21620
 
#  else
21621
 
#    ifdef DL_LAZY
21622
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
21623
 
#    else
21624
 
#      ifdef RTLD_NOW
21625
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
21626
 
#      else
21627
 
#        ifdef DL_NOW
21628
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
21629
 
#        else
21630
 
#          define LT_DLLAZY_OR_NOW      0
21631
 
#        endif
21632
 
#      endif
21633
 
#    endif
21634
 
#  endif
21635
 
#endif
21636
 
 
21637
 
#ifdef __cplusplus
21638
 
extern "C" void exit (int);
21639
 
#endif
21640
 
 
21641
 
void fnord() { int i=42;}
21642
 
int main ()
21643
 
{
21644
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21645
 
  int status = $lt_dlunknown;
21646
 
 
21647
 
  if (self)
21648
 
    {
21649
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
21650
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21651
 
      /* dlclose (self); */
21652
 
    }
21653
 
 
21654
 
    exit (status);
21655
 
}
21656
 
EOF
21657
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21658
 
  (eval $ac_link) 2>&5
21659
 
  ac_status=$?
21660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21662
 
    (./conftest; exit; ) 2>/dev/null
21663
 
    lt_status=$?
21664
 
    case x$lt_status in
21665
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
21666
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
21667
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
21668
 
    esac
21669
 
  else :
21670
 
    # compilation failed
21671
 
    lt_cv_dlopen_self_static=no
21672
 
  fi
21673
 
fi
21674
 
rm -fr conftest*
21675
 
 
21676
 
 
21677
 
fi
21678
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
21679
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
21680
 
    fi
21681
 
 
21682
 
    CPPFLAGS="$save_CPPFLAGS"
21683
 
    LDFLAGS="$save_LDFLAGS"
21684
 
    LIBS="$save_LIBS"
21685
 
    ;;
21686
 
  esac
21687
 
 
21688
 
  case $lt_cv_dlopen_self in
21689
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
21690
 
  *) enable_dlopen_self=unknown ;;
21691
 
  esac
21692
 
 
21693
 
  case $lt_cv_dlopen_self_static in
21694
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
21695
 
  *) enable_dlopen_self_static=unknown ;;
21696
 
  esac
21697
 
fi
21698
 
 
21699
 
 
21700
 
# The else clause should only fire when bootstrapping the
21701
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
21702
 
# with your package, and you will get complaints that there are
21703
 
# no rules to generate ltmain.sh.
21704
 
if test -f "$ltmain"; then
21705
 
  # See if we are running on zsh, and set the options which allow our commands through
21706
 
  # without removal of \ escapes.
21707
 
  if test -n "${ZSH_VERSION+set}" ; then
21708
 
    setopt NO_GLOB_SUBST
21709
 
  fi
21710
 
  # Now quote all the things that may contain metacharacters while being
21711
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21712
 
  # variables and quote the copies for generation of the libtool script.
21713
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
21714
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21715
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21716
 
    deplibs_check_method reload_flag reload_cmds need_locks \
21717
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21718
 
    lt_cv_sys_global_symbol_to_c_name_address \
21719
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21720
 
    old_postinstall_cmds old_postuninstall_cmds \
21721
 
    compiler_GCJ \
21722
 
    CC_GCJ \
21723
 
    LD_GCJ \
21724
 
    lt_prog_compiler_wl_GCJ \
21725
 
    lt_prog_compiler_pic_GCJ \
21726
 
    lt_prog_compiler_static_GCJ \
21727
 
    lt_prog_compiler_no_builtin_flag_GCJ \
21728
 
    export_dynamic_flag_spec_GCJ \
21729
 
    thread_safe_flag_spec_GCJ \
21730
 
    whole_archive_flag_spec_GCJ \
21731
 
    enable_shared_with_static_runtimes_GCJ \
21732
 
    old_archive_cmds_GCJ \
21733
 
    old_archive_from_new_cmds_GCJ \
21734
 
    predep_objects_GCJ \
21735
 
    postdep_objects_GCJ \
21736
 
    predeps_GCJ \
21737
 
    postdeps_GCJ \
21738
 
    compiler_lib_search_path_GCJ \
21739
 
    archive_cmds_GCJ \
21740
 
    archive_expsym_cmds_GCJ \
21741
 
    postinstall_cmds_GCJ \
21742
 
    postuninstall_cmds_GCJ \
21743
 
    old_archive_from_expsyms_cmds_GCJ \
21744
 
    allow_undefined_flag_GCJ \
21745
 
    no_undefined_flag_GCJ \
21746
 
    export_symbols_cmds_GCJ \
21747
 
    hardcode_libdir_flag_spec_GCJ \
21748
 
    hardcode_libdir_flag_spec_ld_GCJ \
21749
 
    hardcode_libdir_separator_GCJ \
21750
 
    hardcode_automatic_GCJ \
21751
 
    module_cmds_GCJ \
21752
 
    module_expsym_cmds_GCJ \
21753
 
    lt_cv_prog_compiler_c_o_GCJ \
21754
 
    exclude_expsyms_GCJ \
21755
 
    include_expsyms_GCJ; do
21756
 
 
21757
 
    case $var in
21758
 
    old_archive_cmds_GCJ | \
21759
 
    old_archive_from_new_cmds_GCJ | \
21760
 
    archive_cmds_GCJ | \
21761
 
    archive_expsym_cmds_GCJ | \
21762
 
    module_cmds_GCJ | \
21763
 
    module_expsym_cmds_GCJ | \
21764
 
    old_archive_from_expsyms_cmds_GCJ | \
21765
 
    export_symbols_cmds_GCJ | \
21766
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21767
 
    postinstall_cmds | postuninstall_cmds | \
21768
 
    old_postinstall_cmds | old_postuninstall_cmds | \
21769
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21770
 
      # Double-quote double-evaled strings.
21771
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21772
 
      ;;
21773
 
    *)
21774
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21775
 
      ;;
21776
 
    esac
21777
 
  done
21778
 
 
21779
 
  case $lt_echo in
21780
 
  *'\$0 --fallback-echo"')
21781
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21782
 
    ;;
21783
 
  esac
21784
 
 
21785
 
cfgfile="$ofile"
21786
 
 
21787
 
  cat <<__EOF__ >> "$cfgfile"
21788
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21789
 
 
21790
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21791
 
 
21792
 
# Shell to use when invoking shell scripts.
21793
 
SHELL=$lt_SHELL
21794
 
 
21795
 
# Whether or not to build shared libraries.
21796
 
build_libtool_libs=$enable_shared
21797
 
 
21798
 
# Whether or not to build static libraries.
21799
 
build_old_libs=$enable_static
21800
 
 
21801
 
# Whether or not to add -lc for building shared libraries.
21802
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21803
 
 
21804
 
# Whether or not to disallow shared libs when runtime libs are static
21805
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21806
 
 
21807
 
# Whether or not to optimize for fast installation.
21808
 
fast_install=$enable_fast_install
21809
 
 
21810
 
# The host system.
21811
 
host_alias=$host_alias
21812
 
host=$host
21813
 
 
21814
 
# An echo program that does not interpret backslashes.
21815
 
echo=$lt_echo
21816
 
 
21817
 
# The archiver.
21818
 
AR=$lt_AR
21819
 
AR_FLAGS=$lt_AR_FLAGS
21820
 
 
21821
 
# A C compiler.
21822
 
LTCC=$lt_LTCC
21823
 
 
21824
 
# A language-specific compiler.
21825
 
CC=$lt_compiler_GCJ
21826
 
 
21827
 
# Is the compiler the GNU C compiler?
21828
 
with_gcc=$GCC_GCJ
21829
 
 
21830
 
# An ERE matcher.
21831
 
EGREP=$lt_EGREP
21832
 
 
21833
 
# The linker used to build libraries.
21834
 
LD=$lt_LD_GCJ
21835
 
 
21836
 
# Whether we need hard or soft links.
21837
 
LN_S=$lt_LN_S
21838
 
 
21839
 
# A BSD-compatible nm program.
21840
 
NM=$lt_NM
21841
 
 
21842
 
# A symbol stripping program
21843
 
STRIP=$STRIP
21844
 
 
21845
 
# Used to examine libraries when file_magic_cmd begins "file"
21846
 
MAGIC_CMD=$MAGIC_CMD
21847
 
 
21848
 
# Used on cygwin: DLL creation program.
21849
 
DLLTOOL="$DLLTOOL"
21850
 
 
21851
 
# Used on cygwin: object dumper.
21852
 
OBJDUMP="$OBJDUMP"
21853
 
 
21854
 
# Used on cygwin: assembler.
21855
 
AS="$AS"
21856
 
 
21857
 
# The name of the directory that contains temporary libtool files.
21858
 
objdir=$objdir
21859
 
 
21860
 
# How to create reloadable object files.
21861
 
reload_flag=$lt_reload_flag
21862
 
reload_cmds=$lt_reload_cmds
21863
 
 
21864
 
# How to pass a linker flag through the compiler.
21865
 
wl=$lt_lt_prog_compiler_wl_GCJ
21866
 
 
21867
 
# Object file suffix (normally "o").
21868
 
objext="$ac_objext"
21869
 
 
21870
 
# Old archive suffix (normally "a").
21871
 
libext="$libext"
21872
 
 
21873
 
# Shared library suffix (normally ".so").
21874
 
shrext='$shrext'
21875
 
 
21876
 
# Executable file suffix (normally "").
21877
 
exeext="$exeext"
21878
 
 
21879
 
# Additional compiler flags for building library objects.
21880
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21881
 
pic_mode=$pic_mode
21882
 
 
21883
 
# What is the maximum length of a command?
21884
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21885
 
 
21886
 
# Does compiler simultaneously support -c and -o options?
21887
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21888
 
 
21889
 
# Must we lock files when doing compilation ?
21890
 
need_locks=$lt_need_locks
21891
 
 
21892
 
# Do we need the lib prefix for modules?
21893
 
need_lib_prefix=$need_lib_prefix
21894
 
 
21895
 
# Do we need a version for libraries?
21896
 
need_version=$need_version
21897
 
 
21898
 
# Whether dlopen is supported.
21899
 
dlopen_support=$enable_dlopen
21900
 
 
21901
 
# Whether dlopen of programs is supported.
21902
 
dlopen_self=$enable_dlopen_self
21903
 
 
21904
 
# Whether dlopen of statically linked programs is supported.
21905
 
dlopen_self_static=$enable_dlopen_self_static
21906
 
 
21907
 
# Compiler flag to prevent dynamic linking.
21908
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21909
 
 
21910
 
# Compiler flag to turn off builtin functions.
21911
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21912
 
 
21913
 
# Compiler flag to allow reflexive dlopens.
21914
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21915
 
 
21916
 
# Compiler flag to generate shared objects directly from archives.
21917
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21918
 
 
21919
 
# Compiler flag to generate thread-safe objects.
21920
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21921
 
 
21922
 
# Library versioning type.
21923
 
version_type=$version_type
21924
 
 
21925
 
# Format of library name prefix.
21926
 
libname_spec=$lt_libname_spec
21927
 
 
21928
 
# List of archive names.  First name is the real one, the rest are links.
21929
 
# The last name is the one that the linker finds with -lNAME.
21930
 
library_names_spec=$lt_library_names_spec
21931
 
 
21932
 
# The coded name of the library, if different from the real name.
21933
 
soname_spec=$lt_soname_spec
21934
 
 
21935
 
# Commands used to build and install an old-style archive.
21936
 
RANLIB=$lt_RANLIB
21937
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
21938
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21939
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21940
 
 
21941
 
# Create an old-style archive from a shared archive.
21942
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21943
 
 
21944
 
# Create a temporary old-style archive to link instead of a shared archive.
21945
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21946
 
 
21947
 
# Commands used to build and install a shared archive.
21948
 
archive_cmds=$lt_archive_cmds_GCJ
21949
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21950
 
postinstall_cmds=$lt_postinstall_cmds
21951
 
postuninstall_cmds=$lt_postuninstall_cmds
21952
 
 
21953
 
# Commands used to build a loadable module (assumed same as above if empty)
21954
 
module_cmds=$lt_module_cmds_GCJ
21955
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21956
 
 
21957
 
# Commands to strip libraries.
21958
 
old_striplib=$lt_old_striplib
21959
 
striplib=$lt_striplib
21960
 
 
21961
 
# Dependencies to place before the objects being linked to create a
21962
 
# shared library.
21963
 
predep_objects=$lt_predep_objects_GCJ
21964
 
 
21965
 
# Dependencies to place after the objects being linked to create a
21966
 
# shared library.
21967
 
postdep_objects=$lt_postdep_objects_GCJ
21968
 
 
21969
 
# Dependencies to place before the objects being linked to create a
21970
 
# shared library.
21971
 
predeps=$lt_predeps_GCJ
21972
 
 
21973
 
# Dependencies to place after the objects being linked to create a
21974
 
# shared library.
21975
 
postdeps=$lt_postdeps_GCJ
21976
 
 
21977
 
# The library search path used internally by the compiler when linking
21978
 
# a shared library.
21979
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21980
 
 
21981
 
# Method to check whether dependent libraries are shared objects.
21982
 
deplibs_check_method=$lt_deplibs_check_method
21983
 
 
21984
 
# Command to use when deplibs_check_method == file_magic.
21985
 
file_magic_cmd=$lt_file_magic_cmd
21986
 
 
21987
 
# Flag that allows shared libraries with undefined symbols to be built.
21988
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21989
 
 
21990
 
# Flag that forces no undefined symbols.
21991
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
21992
 
 
21993
 
# Commands used to finish a libtool library installation in a directory.
21994
 
finish_cmds=$lt_finish_cmds
21995
 
 
21996
 
# Same as above, but a single script fragment to be evaled but not shown.
21997
 
finish_eval=$lt_finish_eval
21998
 
 
21999
 
# Take the output of nm and produce a listing of raw symbols and C names.
22000
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22001
 
 
22002
 
# Transform the output of nm in a proper C declaration
22003
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22004
 
 
22005
 
# Transform the output of nm in a C name address pair
22006
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22007
 
 
22008
 
# This is the shared library runtime path variable.
22009
 
runpath_var=$runpath_var
22010
 
 
22011
 
# This is the shared library path variable.
22012
 
shlibpath_var=$shlibpath_var
22013
 
 
22014
 
# Is shlibpath searched before the hard-coded library search path?
22015
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22016
 
 
22017
 
# How to hardcode a shared library path into an executable.
22018
 
hardcode_action=$hardcode_action_GCJ
22019
 
 
22020
 
# Whether we should hardcode library paths into libraries.
22021
 
hardcode_into_libs=$hardcode_into_libs
22022
 
 
22023
 
# Flag to hardcode \$libdir into a binary during linking.
22024
 
# This must work even if \$libdir does not exist.
22025
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
22026
 
 
22027
 
# If ld is used when linking, flag to hardcode \$libdir into
22028
 
# a binary during linking. This must work even if \$libdir does
22029
 
# not exist.
22030
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
22031
 
 
22032
 
# Whether we need a single -rpath flag with a separated argument.
22033
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
22034
 
 
22035
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22036
 
# resulting binary.
22037
 
hardcode_direct=$hardcode_direct_GCJ
22038
 
 
22039
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22040
 
# resulting binary.
22041
 
hardcode_minus_L=$hardcode_minus_L_GCJ
22042
 
 
22043
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22044
 
# the resulting binary.
22045
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
22046
 
 
22047
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
22048
 
# and all subsequent libraries and executables linked against it.
22049
 
hardcode_automatic=$hardcode_automatic_GCJ
22050
 
 
22051
 
# Variables whose values should be saved in libtool wrapper scripts and
22052
 
# restored at relink time.
22053
 
variables_saved_for_relink="$variables_saved_for_relink"
22054
 
 
22055
 
# Whether libtool must link a program against all its dependency libraries.
22056
 
link_all_deplibs=$link_all_deplibs_GCJ
22057
 
 
22058
 
# Compile-time system search path for libraries
22059
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22060
 
 
22061
 
# Run-time system search path for libraries
22062
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22063
 
 
22064
 
# Fix the shell variable \$srcfile for the compiler.
22065
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
22066
 
 
22067
 
# Set to yes if exported symbols are required.
22068
 
always_export_symbols=$always_export_symbols_GCJ
22069
 
 
22070
 
# The commands to list exported symbols.
22071
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
22072
 
 
22073
 
# The commands to extract the exported symbol list from a shared archive.
22074
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22075
 
 
22076
 
# Symbols that should not be listed in the preloaded symbols.
22077
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
22078
 
 
22079
 
# Symbols that must always be exported.
22080
 
include_expsyms=$lt_include_expsyms_GCJ
22081
 
 
22082
 
# ### END LIBTOOL TAG CONFIG: $tagname
22083
 
 
22084
 
__EOF__
22085
 
 
22086
 
 
22087
 
else
22088
 
  # If there is no Makefile yet, we rely on a make rule to execute
22089
 
  # `config.status --recheck' to rerun these tests and create the
22090
 
  # libtool script then.
22091
 
  test -f Makefile && make "$ltmain"
22092
 
fi
22093
 
 
22094
 
 
22095
 
ac_ext=c
22096
 
ac_cpp='$CPP $CPPFLAGS'
22097
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22098
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22099
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22100
 
 
22101
 
CC="$lt_save_CC"
22102
 
 
22103
 
        else
22104
 
          tagname=""
22105
 
        fi
22106
 
        ;;
22107
 
 
22108
 
      RC)
22109
 
 
22110
 
 
22111
 
# Source file extension for RC test sources.
22112
 
ac_ext=rc
22113
 
 
22114
 
# Object file extension for compiled RC test sources.
22115
 
objext=o
22116
 
objext_RC=$objext
22117
 
 
22118
 
# Code to be used in simple compile tests
22119
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
22120
 
 
22121
 
# Code to be used in simple link tests
22122
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
22123
 
 
22124
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
22125
 
 
22126
 
# If no C compiler was specified, use CC.
22127
 
LTCC=${LTCC-"$CC"}
22128
 
 
22129
 
# Allow CC to be a program name with arguments.
22130
 
compiler=$CC
22131
 
 
22132
 
 
22133
 
# Allow CC to be a program name with arguments.
22134
 
lt_save_CC="$CC"
22135
 
CC=${RC-"windres"}
22136
 
compiler=$CC
22137
 
compiler_RC=$CC
22138
 
lt_cv_prog_compiler_c_o_RC=yes
22139
 
 
22140
 
# The else clause should only fire when bootstrapping the
22141
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
22142
 
# with your package, and you will get complaints that there are
22143
 
# no rules to generate ltmain.sh.
22144
 
if test -f "$ltmain"; then
22145
 
  # See if we are running on zsh, and set the options which allow our commands through
22146
 
  # without removal of \ escapes.
22147
 
  if test -n "${ZSH_VERSION+set}" ; then
22148
 
    setopt NO_GLOB_SUBST
22149
 
  fi
22150
 
  # Now quote all the things that may contain metacharacters while being
22151
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
22152
 
  # variables and quote the copies for generation of the libtool script.
22153
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
22154
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22155
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22156
 
    deplibs_check_method reload_flag reload_cmds need_locks \
22157
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22158
 
    lt_cv_sys_global_symbol_to_c_name_address \
22159
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22160
 
    old_postinstall_cmds old_postuninstall_cmds \
22161
 
    compiler_RC \
22162
 
    CC_RC \
22163
 
    LD_RC \
22164
 
    lt_prog_compiler_wl_RC \
22165
 
    lt_prog_compiler_pic_RC \
22166
 
    lt_prog_compiler_static_RC \
22167
 
    lt_prog_compiler_no_builtin_flag_RC \
22168
 
    export_dynamic_flag_spec_RC \
22169
 
    thread_safe_flag_spec_RC \
22170
 
    whole_archive_flag_spec_RC \
22171
 
    enable_shared_with_static_runtimes_RC \
22172
 
    old_archive_cmds_RC \
22173
 
    old_archive_from_new_cmds_RC \
22174
 
    predep_objects_RC \
22175
 
    postdep_objects_RC \
22176
 
    predeps_RC \
22177
 
    postdeps_RC \
22178
 
    compiler_lib_search_path_RC \
22179
 
    archive_cmds_RC \
22180
 
    archive_expsym_cmds_RC \
22181
 
    postinstall_cmds_RC \
22182
 
    postuninstall_cmds_RC \
22183
 
    old_archive_from_expsyms_cmds_RC \
22184
 
    allow_undefined_flag_RC \
22185
 
    no_undefined_flag_RC \
22186
 
    export_symbols_cmds_RC \
22187
 
    hardcode_libdir_flag_spec_RC \
22188
 
    hardcode_libdir_flag_spec_ld_RC \
22189
 
    hardcode_libdir_separator_RC \
22190
 
    hardcode_automatic_RC \
22191
 
    module_cmds_RC \
22192
 
    module_expsym_cmds_RC \
22193
 
    lt_cv_prog_compiler_c_o_RC \
22194
 
    exclude_expsyms_RC \
22195
 
    include_expsyms_RC; do
22196
 
 
22197
 
    case $var in
22198
 
    old_archive_cmds_RC | \
22199
 
    old_archive_from_new_cmds_RC | \
22200
 
    archive_cmds_RC | \
22201
 
    archive_expsym_cmds_RC | \
22202
 
    module_cmds_RC | \
22203
 
    module_expsym_cmds_RC | \
22204
 
    old_archive_from_expsyms_cmds_RC | \
22205
 
    export_symbols_cmds_RC | \
22206
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
22207
 
    postinstall_cmds | postuninstall_cmds | \
22208
 
    old_postinstall_cmds | old_postuninstall_cmds | \
22209
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22210
 
      # Double-quote double-evaled strings.
22211
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22212
 
      ;;
22213
 
    *)
22214
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22215
 
      ;;
22216
 
    esac
22217
 
  done
22218
 
 
22219
 
  case $lt_echo in
22220
 
  *'\$0 --fallback-echo"')
22221
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22222
 
    ;;
22223
 
  esac
22224
 
 
22225
 
cfgfile="$ofile"
22226
 
 
22227
 
  cat <<__EOF__ >> "$cfgfile"
22228
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
22229
 
 
22230
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22231
 
 
22232
 
# Shell to use when invoking shell scripts.
22233
 
SHELL=$lt_SHELL
22234
 
 
22235
 
# Whether or not to build shared libraries.
22236
 
build_libtool_libs=$enable_shared
22237
 
 
22238
 
# Whether or not to build static libraries.
22239
 
build_old_libs=$enable_static
22240
 
 
22241
 
# Whether or not to add -lc for building shared libraries.
22242
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
22243
 
 
22244
 
# Whether or not to disallow shared libs when runtime libs are static
22245
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22246
 
 
22247
 
# Whether or not to optimize for fast installation.
22248
 
fast_install=$enable_fast_install
22249
 
 
22250
 
# The host system.
22251
 
host_alias=$host_alias
22252
 
host=$host
22253
 
 
22254
 
# An echo program that does not interpret backslashes.
22255
 
echo=$lt_echo
22256
 
 
22257
 
# The archiver.
22258
 
AR=$lt_AR
22259
 
AR_FLAGS=$lt_AR_FLAGS
22260
 
 
22261
 
# A C compiler.
22262
 
LTCC=$lt_LTCC
22263
 
 
22264
 
# A language-specific compiler.
22265
 
CC=$lt_compiler_RC
22266
 
 
22267
 
# Is the compiler the GNU C compiler?
22268
 
with_gcc=$GCC_RC
22269
 
 
22270
 
# An ERE matcher.
22271
 
EGREP=$lt_EGREP
22272
 
 
22273
 
# The linker used to build libraries.
22274
 
LD=$lt_LD_RC
22275
 
 
22276
 
# Whether we need hard or soft links.
22277
 
LN_S=$lt_LN_S
22278
 
 
22279
 
# A BSD-compatible nm program.
22280
 
NM=$lt_NM
22281
 
 
22282
 
# A symbol stripping program
22283
 
STRIP=$STRIP
22284
 
 
22285
 
# Used to examine libraries when file_magic_cmd begins "file"
22286
 
MAGIC_CMD=$MAGIC_CMD
22287
 
 
22288
 
# Used on cygwin: DLL creation program.
22289
 
DLLTOOL="$DLLTOOL"
22290
 
 
22291
 
# Used on cygwin: object dumper.
22292
 
OBJDUMP="$OBJDUMP"
22293
 
 
22294
 
# Used on cygwin: assembler.
22295
 
AS="$AS"
22296
 
 
22297
 
# The name of the directory that contains temporary libtool files.
22298
 
objdir=$objdir
22299
 
 
22300
 
# How to create reloadable object files.
22301
 
reload_flag=$lt_reload_flag
22302
 
reload_cmds=$lt_reload_cmds
22303
 
 
22304
 
# How to pass a linker flag through the compiler.
22305
 
wl=$lt_lt_prog_compiler_wl_RC
22306
 
 
22307
 
# Object file suffix (normally "o").
22308
 
objext="$ac_objext"
22309
 
 
22310
 
# Old archive suffix (normally "a").
22311
 
libext="$libext"
22312
 
 
22313
 
# Shared library suffix (normally ".so").
22314
 
shrext='$shrext'
22315
 
 
22316
 
# Executable file suffix (normally "").
22317
 
exeext="$exeext"
22318
 
 
22319
 
# Additional compiler flags for building library objects.
22320
 
pic_flag=$lt_lt_prog_compiler_pic_RC
22321
 
pic_mode=$pic_mode
22322
 
 
22323
 
# What is the maximum length of a command?
22324
 
max_cmd_len=$lt_cv_sys_max_cmd_len
22325
 
 
22326
 
# Does compiler simultaneously support -c and -o options?
22327
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22328
 
 
22329
 
# Must we lock files when doing compilation ?
22330
 
need_locks=$lt_need_locks
22331
 
 
22332
 
# Do we need the lib prefix for modules?
22333
 
need_lib_prefix=$need_lib_prefix
22334
 
 
22335
 
# Do we need a version for libraries?
22336
 
need_version=$need_version
22337
 
 
22338
 
# Whether dlopen is supported.
22339
 
dlopen_support=$enable_dlopen
22340
 
 
22341
 
# Whether dlopen of programs is supported.
22342
 
dlopen_self=$enable_dlopen_self
22343
 
 
22344
 
# Whether dlopen of statically linked programs is supported.
22345
 
dlopen_self_static=$enable_dlopen_self_static
22346
 
 
22347
 
# Compiler flag to prevent dynamic linking.
22348
 
link_static_flag=$lt_lt_prog_compiler_static_RC
22349
 
 
22350
 
# Compiler flag to turn off builtin functions.
22351
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22352
 
 
22353
 
# Compiler flag to allow reflexive dlopens.
22354
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22355
 
 
22356
 
# Compiler flag to generate shared objects directly from archives.
22357
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22358
 
 
22359
 
# Compiler flag to generate thread-safe objects.
22360
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22361
 
 
22362
 
# Library versioning type.
22363
 
version_type=$version_type
22364
 
 
22365
 
# Format of library name prefix.
22366
 
libname_spec=$lt_libname_spec
22367
 
 
22368
 
# List of archive names.  First name is the real one, the rest are links.
22369
 
# The last name is the one that the linker finds with -lNAME.
22370
 
library_names_spec=$lt_library_names_spec
22371
 
 
22372
 
# The coded name of the library, if different from the real name.
22373
 
soname_spec=$lt_soname_spec
22374
 
 
22375
 
# Commands used to build and install an old-style archive.
22376
 
RANLIB=$lt_RANLIB
22377
 
old_archive_cmds=$lt_old_archive_cmds_RC
22378
 
old_postinstall_cmds=$lt_old_postinstall_cmds
22379
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22380
 
 
22381
 
# Create an old-style archive from a shared archive.
22382
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22383
 
 
22384
 
# Create a temporary old-style archive to link instead of a shared archive.
22385
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22386
 
 
22387
 
# Commands used to build and install a shared archive.
22388
 
archive_cmds=$lt_archive_cmds_RC
22389
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22390
 
postinstall_cmds=$lt_postinstall_cmds
22391
 
postuninstall_cmds=$lt_postuninstall_cmds
22392
 
 
22393
 
# Commands used to build a loadable module (assumed same as above if empty)
22394
 
module_cmds=$lt_module_cmds_RC
22395
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
22396
 
 
22397
 
# Commands to strip libraries.
22398
 
old_striplib=$lt_old_striplib
22399
 
striplib=$lt_striplib
22400
 
 
22401
 
# Dependencies to place before the objects being linked to create a
22402
 
# shared library.
22403
 
predep_objects=$lt_predep_objects_RC
22404
 
 
22405
 
# Dependencies to place after the objects being linked to create a
22406
 
# shared library.
22407
 
postdep_objects=$lt_postdep_objects_RC
22408
 
 
22409
 
# Dependencies to place before the objects being linked to create a
22410
 
# shared library.
22411
 
predeps=$lt_predeps_RC
22412
 
 
22413
 
# Dependencies to place after the objects being linked to create a
22414
 
# shared library.
22415
 
postdeps=$lt_postdeps_RC
22416
 
 
22417
 
# The library search path used internally by the compiler when linking
22418
 
# a shared library.
22419
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22420
 
 
22421
 
# Method to check whether dependent libraries are shared objects.
22422
 
deplibs_check_method=$lt_deplibs_check_method
22423
 
 
22424
 
# Command to use when deplibs_check_method == file_magic.
22425
 
file_magic_cmd=$lt_file_magic_cmd
22426
 
 
22427
 
# Flag that allows shared libraries with undefined symbols to be built.
22428
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
22429
 
 
22430
 
# Flag that forces no undefined symbols.
22431
 
no_undefined_flag=$lt_no_undefined_flag_RC
22432
 
 
22433
 
# Commands used to finish a libtool library installation in a directory.
22434
 
finish_cmds=$lt_finish_cmds
22435
 
 
22436
 
# Same as above, but a single script fragment to be evaled but not shown.
22437
 
finish_eval=$lt_finish_eval
22438
 
 
22439
 
# Take the output of nm and produce a listing of raw symbols and C names.
22440
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22441
 
 
22442
 
# Transform the output of nm in a proper C declaration
22443
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22444
 
 
22445
 
# Transform the output of nm in a C name address pair
22446
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22447
 
 
22448
 
# This is the shared library runtime path variable.
22449
 
runpath_var=$runpath_var
22450
 
 
22451
 
# This is the shared library path variable.
22452
 
shlibpath_var=$shlibpath_var
22453
 
 
22454
 
# Is shlibpath searched before the hard-coded library search path?
22455
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22456
 
 
22457
 
# How to hardcode a shared library path into an executable.
22458
 
hardcode_action=$hardcode_action_RC
22459
 
 
22460
 
# Whether we should hardcode library paths into libraries.
22461
 
hardcode_into_libs=$hardcode_into_libs
22462
 
 
22463
 
# Flag to hardcode \$libdir into a binary during linking.
22464
 
# This must work even if \$libdir does not exist.
22465
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22466
 
 
22467
 
# If ld is used when linking, flag to hardcode \$libdir into
22468
 
# a binary during linking. This must work even if \$libdir does
22469
 
# not exist.
22470
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22471
 
 
22472
 
# Whether we need a single -rpath flag with a separated argument.
22473
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22474
 
 
22475
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22476
 
# resulting binary.
22477
 
hardcode_direct=$hardcode_direct_RC
22478
 
 
22479
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22480
 
# resulting binary.
22481
 
hardcode_minus_L=$hardcode_minus_L_RC
22482
 
 
22483
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22484
 
# the resulting binary.
22485
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22486
 
 
22487
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
22488
 
# and all subsequent libraries and executables linked against it.
22489
 
hardcode_automatic=$hardcode_automatic_RC
22490
 
 
22491
 
# Variables whose values should be saved in libtool wrapper scripts and
22492
 
# restored at relink time.
22493
 
variables_saved_for_relink="$variables_saved_for_relink"
22494
 
 
22495
 
# Whether libtool must link a program against all its dependency libraries.
22496
 
link_all_deplibs=$link_all_deplibs_RC
22497
 
 
22498
 
# Compile-time system search path for libraries
22499
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22500
 
 
22501
 
# Run-time system search path for libraries
22502
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22503
 
 
22504
 
# Fix the shell variable \$srcfile for the compiler.
22505
 
fix_srcfile_path="$fix_srcfile_path_RC"
22506
 
 
22507
 
# Set to yes if exported symbols are required.
22508
 
always_export_symbols=$always_export_symbols_RC
22509
 
 
22510
 
# The commands to list exported symbols.
22511
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
22512
 
 
22513
 
# The commands to extract the exported symbol list from a shared archive.
22514
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22515
 
 
22516
 
# Symbols that should not be listed in the preloaded symbols.
22517
 
exclude_expsyms=$lt_exclude_expsyms_RC
22518
 
 
22519
 
# Symbols that must always be exported.
22520
 
include_expsyms=$lt_include_expsyms_RC
22521
 
 
22522
 
# ### END LIBTOOL TAG CONFIG: $tagname
22523
 
 
22524
 
__EOF__
22525
 
 
22526
 
 
22527
 
else
22528
 
  # If there is no Makefile yet, we rely on a make rule to execute
22529
 
  # `config.status --recheck' to rerun these tests and create the
22530
 
  # libtool script then.
22531
 
  test -f Makefile && make "$ltmain"
22532
 
fi
22533
 
 
22534
 
 
22535
 
ac_ext=c
22536
 
ac_cpp='$CPP $CPPFLAGS'
22537
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22538
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22539
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22540
 
 
22541
 
CC="$lt_save_CC"
22542
 
 
22543
 
        ;;
22544
 
 
22545
 
      *)
22546
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22547
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22548
 
   { (exit 1); exit 1; }; }
22549
 
        ;;
22550
 
      esac
22551
 
 
22552
 
      # Append the new tag name to the list of available tags.
22553
 
      if test -n "$tagname" ; then
22554
 
      available_tags="$available_tags $tagname"
22555
 
    fi
22556
 
    fi
22557
 
  done
22558
 
  IFS="$lt_save_ifs"
22559
 
 
22560
 
  # Now substitute the updated list of available tags.
22561
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22562
 
    mv "${ofile}T" "$ofile"
22563
 
    chmod +x "$ofile"
22564
 
  else
22565
 
    rm -f "${ofile}T"
22566
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22567
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22568
 
   { (exit 1); exit 1; }; }
22569
 
  fi
22570
 
fi
22571
 
 
22572
 
 
22573
 
 
22574
 
# This can be used to rebuild libtool when needed
22575
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
22576
 
 
22577
 
# Always use our own libtool.
22578
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
22579
 
 
22580
 
# Prevent multiple expansion
22581
 
 
22582
 
 
22583
 
 
22584
 
 
22585
 
 
22586
 
 
22587
 
 
22588
 
 
22589
 
 
22590
 
 
22591
 
 
22592
 
 
22593
 
 
22594
 
 
22595
 
 
22596
 
 
22597
 
 
22598
 
 
22599
 
 
22600
 
 
22601
 
 
22602
 
 
22603
 
 
22604
 
 
22605
 
 
22606
 
 
22607
 
 
22608
 
 
22609
 
 
22610
 
 
22611
 
 
22612
 
 
22613
 
 
22614
 
 
22615
 
LIBTOOL_SHELL="/bin/sh ./libtool"
22616
 
#  LIBTOOL="$LIBTOOL --silent"
22617
 
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
22618
 
 
22619
 
 
22620
 
# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
22621
 
KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
22622
 
 
22623
 
 
22624
 
# we patch configure quite some so we better keep that consistent for incremental runs
22625
 
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
22626
 
 
22627
 
 
22628
 
 
22629
 
 
22630
 
 
22631
 
    # Extract the first word of "msgfmt", so it can be a program name with args.
22632
 
set dummy msgfmt; ac_word=$2
22633
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22634
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22635
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
22636
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22637
 
else
22638
 
  case "$MSGFMT" in
22639
 
  /*)
22640
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22641
 
  ;;
22642
 
  *)
22643
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22644
 
  for ac_dir in $PATH; do
22645
 
    test -z "$ac_dir" && ac_dir=.
22646
 
    if test -f $ac_dir/$ac_word; then
22647
 
      if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
22648
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22649
 
        break
22650
 
      fi
22651
 
    fi
22652
 
  done
22653
 
  IFS="$ac_save_ifs"
22654
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
22655
 
  ;;
22656
 
esac
22657
 
fi
22658
 
MSGFMT="$ac_cv_path_MSGFMT"
22659
 
if test -n "$MSGFMT"; then
22660
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
22661
 
echo "${ECHO_T}$MSGFMT" >&6; }
22662
 
else
22663
 
  { echo "$as_me:$LINENO: result: no" >&5
22664
 
echo "${ECHO_T}no" >&6; }
22665
 
fi
22666
 
 
22667
 
    # Extract the first word of "gmsgfmt", so it can be a program name with args.
22668
 
set dummy gmsgfmt; ac_word=$2
22669
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22670
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22671
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22672
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22673
 
else
22674
 
  case $GMSGFMT in
22675
 
  [\\/]* | ?:[\\/]*)
22676
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22677
 
  ;;
22678
 
  *)
22679
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22680
 
for as_dir in $PATH
22681
 
do
22682
 
  IFS=$as_save_IFS
22683
 
  test -z "$as_dir" && as_dir=.
22684
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22685
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22686
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22687
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22688
 
    break 2
22689
 
  fi
22690
 
done
22691
 
done
22692
 
IFS=$as_save_IFS
22693
 
 
22694
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22695
 
  ;;
22696
 
esac
22697
 
fi
22698
 
GMSGFMT=$ac_cv_path_GMSGFMT
22699
 
if test -n "$GMSGFMT"; then
22700
 
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22701
 
echo "${ECHO_T}$GMSGFMT" >&6; }
22702
 
else
22703
 
  { echo "$as_me:$LINENO: result: no" >&5
22704
 
echo "${ECHO_T}no" >&6; }
22705
 
fi
22706
 
 
22707
 
 
22708
 
 
22709
 
     if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
22710
 
        { echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
22711
 
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
22712
 
        GMSGFMT=":"
22713
 
      fi
22714
 
      MSGFMT=$GMSGFMT
22715
 
 
22716
 
 
22717
 
 
22718
 
      # Extract the first word of "xgettext", so it can be a program name with args.
22719
 
set dummy xgettext; ac_word=$2
22720
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22721
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22722
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22723
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22724
 
else
22725
 
  case "$XGETTEXT" in
22726
 
  /*)
22727
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22728
 
  ;;
22729
 
  *)
22730
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22731
 
  for ac_dir in $PATH; do
22732
 
    test -z "$ac_dir" && ac_dir=.
22733
 
    if test -f $ac_dir/$ac_word; then
22734
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22735
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22736
 
        break
22737
 
      fi
22738
 
    fi
22739
 
  done
22740
 
  IFS="$ac_save_ifs"
22741
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22742
 
  ;;
22743
 
esac
22744
 
fi
22745
 
XGETTEXT="$ac_cv_path_XGETTEXT"
22746
 
if test -n "$XGETTEXT"; then
22747
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22748
 
echo "${ECHO_T}$XGETTEXT" >&6; }
22749
 
else
22750
 
  { echo "$as_me:$LINENO: result: no" >&5
22751
 
echo "${ECHO_T}no" >&6; }
22752
 
fi
22753
 
 
22754
 
 
22755
 
            if test "$XGETTEXT" != ":"; then
22756
 
                        if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22757
 
          : ;
22758
 
        else
22759
 
          { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
22760
 
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
22761
 
          XGETTEXT=":"
22762
 
        fi
22763
 
      fi
22764
 
 
22765
 
 
22766
 
 
22767
 
 
22768
 
 
22769
 
if test -z "3.0.0"; then
22770
 
  # Current default Qt version: 3.3
22771
 
  kde_qtver=3
22772
 
  kde_qtsubver=3
22773
 
else
22774
 
  kde_qtsubver=`echo "3.0.0" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
22775
 
  # following is the check if subversion isnt found in passed argument
22776
 
  if test "$kde_qtsubver" = "3.0.0"; then
22777
 
    kde_qtsubver=1
22778
 
  fi
22779
 
  kde_qtver=`echo "3.0.0" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
22780
 
  if test "$kde_qtver" = "1"; then
22781
 
    kde_qtsubver=42
22782
 
  fi
22783
 
fi
22784
 
 
22785
 
if test -z ""; then
22786
 
  if test "$kde_qtver" = "2"; then
22787
 
    if test $kde_qtsubver -gt 0; then
22788
 
      kde_qt_minversion=">= Qt 2.2.2"
22789
 
    else
22790
 
      kde_qt_minversion=">= Qt 2.0.2"
22791
 
    fi
22792
 
  fi
22793
 
  if test "$kde_qtver" = "3"; then
22794
 
    if test $kde_qtsubver -gt 0; then
22795
 
         if test $kde_qtsubver -gt 1; then
22796
 
            if test $kde_qtsubver -gt 2; then
22797
 
                kde_qt_minversion=">= Qt 3.3 and < 4.0"
22798
 
            else
22799
 
                kde_qt_minversion=">= Qt 3.2 and < 4.0"
22800
 
            fi
22801
 
         else
22802
 
            kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
22803
 
         fi
22804
 
    else
22805
 
      kde_qt_minversion=">= Qt 3.0 and < 4.0"
22806
 
    fi
22807
 
  fi
22808
 
  if test "$kde_qtver" = "1"; then
22809
 
    kde_qt_minversion=">= 1.42 and < 2.0"
22810
 
  fi
22811
 
else
22812
 
   kde_qt_minversion=""
22813
 
fi
22814
 
 
22815
 
if test -z ""; then
22816
 
   if test $kde_qtver = 3; then
22817
 
     if test $kde_qtsubver -gt 0; then
22818
 
       kde_qt_verstring="QT_VERSION >= 0x03@VER@00 && QT_VERSION < 0x040000"
22819
 
       qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
22820
 
       kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
22821
 
     else
22822
 
       kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
22823
 
     fi
22824
 
   fi
22825
 
   if test $kde_qtver = 2; then
22826
 
     if test $kde_qtsubver -gt 0; then
22827
 
       kde_qt_verstring="QT_VERSION >= 222"
22828
 
     else
22829
 
       kde_qt_verstring="QT_VERSION >= 200"
22830
 
     fi
22831
 
   fi
22832
 
   if test $kde_qtver = 1; then
22833
 
    kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
22834
 
   fi
22835
 
else
22836
 
   kde_qt_verstring=""
22837
 
fi
22838
 
 
22839
 
if test $kde_qtver = 4; then
22840
 
  kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
22841
 
fi
22842
 
if test $kde_qtver = 3; then
22843
 
  kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
22844
 
fi
22845
 
if test $kde_qtver = 2; then
22846
 
   kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
22847
 
fi
22848
 
if test $kde_qtver = 1; then
22849
 
   kde_qt_dirs="$QTDIR /usr/lib/qt"
22850
 
fi
22851
 
 
22852
 
 
22853
 
 
22854
 
     ac_ext=cpp
22855
 
ac_cpp='$CXXCPP $CPPFLAGS'
22856
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22857
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22858
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22859
 
 
22860
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22861
 
 
22862
 
 
22863
 
    ac_save_CXXFLAGS="$CXXFLAGS"
22864
 
    CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
22865
 
 
22866
 
    { echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
22867
 
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6; }
22868
 
    if test "${kde_cv_stl_works+set}" = set; then
22869
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22870
 
else
22871
 
 
22872
 
      cat >conftest.$ac_ext <<_ACEOF
22873
 
/* confdefs.h.  */
22874
 
_ACEOF
22875
 
cat confdefs.h >>conftest.$ac_ext
22876
 
cat >>conftest.$ac_ext <<_ACEOF
22877
 
/* end confdefs.h.  */
22878
 
 
22879
 
#include <string>
22880
 
using namespace std;
22881
 
 
22882
 
int
22883
 
main ()
22884
 
{
22885
 
 
22886
 
  string astring="Hallo Welt.";
22887
 
  astring.erase(0, 6); // now astring is "Welt"
22888
 
  return 0;
22889
 
 
22890
 
  ;
22891
 
  return 0;
22892
 
}
22893
 
_ACEOF
22894
 
rm -f conftest.$ac_objext
22895
 
if { (ac_try="$ac_compile"
22896
 
case "(($ac_try" in
22897
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898
 
  *) ac_try_echo=$ac_try;;
22899
 
esac
22900
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901
 
  (eval "$ac_compile") 2>conftest.er1
22902
 
  ac_status=$?
22903
 
  grep -v '^ *+' conftest.er1 >conftest.err
22904
 
  rm -f conftest.er1
22905
 
  cat conftest.err >&5
22906
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907
 
  (exit $ac_status); } && {
22908
 
         test -z "$ac_cxx_werror_flag" ||
22909
 
         test ! -s conftest.err
22910
 
       } && test -s conftest.$ac_objext; then
22911
 
  kde_cv_stl_works=yes
22912
 
else
22913
 
  echo "$as_me: failed program was:" >&5
22914
 
sed 's/^/| /' conftest.$ac_ext >&5
22915
 
 
22916
 
        kde_cv_stl_works=no
22917
 
fi
22918
 
 
22919
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22920
 
 
22921
 
fi
22922
 
 
22923
 
 
22924
 
   { echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
22925
 
echo "${ECHO_T}$kde_cv_stl_works" >&6; }
22926
 
 
22927
 
   if test "$kde_cv_stl_works" = "yes"; then
22928
 
     # back compatible
22929
 
 
22930
 
cat >>confdefs.h <<_ACEOF
22931
 
#define HAVE_SGI_STL 1
22932
 
_ACEOF
22933
 
 
22934
 
   else
22935
 
         { { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
22936
 
Check config.log for details - if you're using a Linux distribution you might miss
22937
 
a package named similar to libstdc++-dev." >&5
22938
 
echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
22939
 
Check config.log for details - if you're using a Linux distribution you might miss
22940
 
a package named similar to libstdc++-dev." >&2;}
22941
 
   { (exit 1); exit 1; }; }
22942
 
   fi
22943
 
 
22944
 
   CXXFLAGS="$ac_save_CXXFLAGS"
22945
 
   ac_ext=c
22946
 
ac_cpp='$CPP $CPPFLAGS'
22947
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22948
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22949
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22950
 
 
22951
 
 
22952
 
 
22953
 
 
22954
 
{ echo "$as_me:$LINENO: checking for strlcat" >&5
22955
 
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; }
22956
 
if test "${kde_cv_func_strlcat+set}" = set; then
22957
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22958
 
else
22959
 
 
22960
 
 
22961
 
 ac_ext=cpp
22962
 
ac_cpp='$CXXCPP $CPPFLAGS'
22963
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22966
 
 
22967
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22968
 
 
22969
 
 
22970
 
save_CXXFLAGS="$CXXFLAGS"
22971
 
kde_safe_LIBS="$LIBS"
22972
 
LIBS="$LIBS $X_EXTRA_LIBS"
22973
 
if test "$GXX" = "yes"; then
22974
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
22975
 
fi
22976
 
cat >conftest.$ac_ext <<_ACEOF
22977
 
/* confdefs.h.  */
22978
 
_ACEOF
22979
 
cat confdefs.h >>conftest.$ac_ext
22980
 
cat >>conftest.$ac_ext <<_ACEOF
22981
 
/* end confdefs.h.  */
22982
 
 
22983
 
 
22984
 
#include <string.h>
22985
 
 
22986
 
 
22987
 
int
22988
 
main ()
22989
 
{
22990
 
 
22991
 
 char buf[20];
22992
 
  buf[0]='\0';
22993
 
  strlcat(buf, "KDE function test", sizeof(buf));
22994
 
 
22995
 
 
22996
 
  ;
22997
 
  return 0;
22998
 
}
22999
 
_ACEOF
23000
 
rm -f conftest.$ac_objext
23001
 
if { (ac_try="$ac_compile"
23002
 
case "(($ac_try" in
23003
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23004
 
  *) ac_try_echo=$ac_try;;
23005
 
esac
23006
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23007
 
  (eval "$ac_compile") 2>conftest.er1
23008
 
  ac_status=$?
23009
 
  grep -v '^ *+' conftest.er1 >conftest.err
23010
 
  rm -f conftest.er1
23011
 
  cat conftest.err >&5
23012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013
 
  (exit $ac_status); } && {
23014
 
         test -z "$ac_cxx_werror_flag" ||
23015
 
         test ! -s conftest.err
23016
 
       } && test -s conftest.$ac_objext; then
23017
 
  kde_cv_func_strlcat=yes
23018
 
else
23019
 
  echo "$as_me: failed program was:" >&5
23020
 
sed 's/^/| /' conftest.$ac_ext >&5
23021
 
 
23022
 
        kde_cv_func_strlcat=no
23023
 
fi
23024
 
 
23025
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23026
 
CXXFLAGS="$save_CXXFLAGS"
23027
 
LIBS="$kde_safe_LIBS"
23028
 
ac_ext=c
23029
 
ac_cpp='$CPP $CPPFLAGS'
23030
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23031
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23032
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23033
 
 
23034
 
 
23035
 
fi
23036
 
 
23037
 
 
23038
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
23039
 
echo "${ECHO_T}$kde_cv_func_strlcat" >&6; }
23040
 
 
23041
 
{ echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
23042
 
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6; }
23043
 
if test "${kde_cv_proto_strlcat+set}" = set; then
23044
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23045
 
else
23046
 
 
23047
 
if test "x$kde_cv_func_strlcat" = xyes; then
23048
 
  kde_cv_proto_strlcat=no
23049
 
else
23050
 
  case "strlcat" in
23051
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23052
 
                kde_cv_proto_strlcat="yes - in libkdefakes"
23053
 
                ;;
23054
 
        *)
23055
 
                kde_cv_proto_strlcat=unknown
23056
 
                ;;
23057
 
  esac
23058
 
fi
23059
 
 
23060
 
if test "x$kde_cv_proto_strlcat" = xunknown; then
23061
 
 
23062
 
 
23063
 
 ac_ext=cpp
23064
 
ac_cpp='$CXXCPP $CPPFLAGS'
23065
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23068
 
 
23069
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23070
 
 
23071
 
 
23072
 
  kde_safe_libs=$LIBS
23073
 
  LIBS="$LIBS $X_EXTRA_LIBS"
23074
 
  cat >conftest.$ac_ext <<_ACEOF
23075
 
/* confdefs.h.  */
23076
 
_ACEOF
23077
 
cat confdefs.h >>conftest.$ac_ext
23078
 
cat >>conftest.$ac_ext <<_ACEOF
23079
 
/* end confdefs.h.  */
23080
 
 
23081
 
 
23082
 
#include <string.h>
23083
 
 
23084
 
 
23085
 
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
23086
 
 
23087
 
int
23088
 
main ()
23089
 
{
23090
 
 
23091
 
 char buf[20];
23092
 
  buf[0]='\0';
23093
 
  strlcat(buf, "KDE function test", sizeof(buf));
23094
 
 
23095
 
 
23096
 
  ;
23097
 
  return 0;
23098
 
}
23099
 
_ACEOF
23100
 
rm -f conftest.$ac_objext conftest$ac_exeext
23101
 
if { (ac_try="$ac_link"
23102
 
case "(($ac_try" in
23103
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23104
 
  *) ac_try_echo=$ac_try;;
23105
 
esac
23106
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23107
 
  (eval "$ac_link") 2>conftest.er1
23108
 
  ac_status=$?
23109
 
  grep -v '^ *+' conftest.er1 >conftest.err
23110
 
  rm -f conftest.er1
23111
 
  cat conftest.err >&5
23112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113
 
  (exit $ac_status); } && {
23114
 
         test -z "$ac_cxx_werror_flag" ||
23115
 
         test ! -s conftest.err
23116
 
       } && test -s conftest$ac_exeext &&
23117
 
       $as_test_x conftest$ac_exeext; then
23118
 
   kde_cv_func_strlcat=yes
23119
 
  kde_cv_proto_strlcat=yes
23120
 
else
23121
 
  echo "$as_me: failed program was:" >&5
23122
 
sed 's/^/| /' conftest.$ac_ext >&5
23123
 
 
23124
 
        kde_cv_proto_strlcat="strlcat unavailable"
23125
 
 
23126
 
fi
23127
 
 
23128
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23129
 
      conftest$ac_exeext conftest.$ac_ext
23130
 
LIBS=$kde_safe_libs
23131
 
ac_ext=c
23132
 
ac_cpp='$CPP $CPPFLAGS'
23133
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23134
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23135
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23136
 
 
23137
 
fi
23138
 
 
23139
 
fi
23140
 
 
23141
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
23142
 
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6; }
23143
 
 
23144
 
if test "x$kde_cv_func_strlcat" = xyes; then
23145
 
 
23146
 
cat >>confdefs.h <<\_ACEOF
23147
 
#define HAVE_STRLCAT 1
23148
 
_ACEOF
23149
 
 
23150
 
 
23151
 
fi
23152
 
if test "x$kde_cv_proto_strlcat" = xno; then
23153
 
 
23154
 
cat >>confdefs.h <<\_ACEOF
23155
 
#define HAVE_STRLCAT_PROTO 1
23156
 
_ACEOF
23157
 
 
23158
 
fi
23159
 
 
23160
 
 
23161
 
 
23162
 
 
23163
 
 
23164
 
 
23165
 
 
23166
 
{ echo "$as_me:$LINENO: checking for strlcpy" >&5
23167
 
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; }
23168
 
if test "${kde_cv_func_strlcpy+set}" = set; then
23169
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23170
 
else
23171
 
 
23172
 
 
23173
 
 ac_ext=cpp
23174
 
ac_cpp='$CXXCPP $CPPFLAGS'
23175
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23176
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23177
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23178
 
 
23179
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23180
 
 
23181
 
 
23182
 
save_CXXFLAGS="$CXXFLAGS"
23183
 
kde_safe_LIBS="$LIBS"
23184
 
LIBS="$LIBS $X_EXTRA_LIBS"
23185
 
if test "$GXX" = "yes"; then
23186
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
23187
 
fi
23188
 
cat >conftest.$ac_ext <<_ACEOF
23189
 
/* confdefs.h.  */
23190
 
_ACEOF
23191
 
cat confdefs.h >>conftest.$ac_ext
23192
 
cat >>conftest.$ac_ext <<_ACEOF
23193
 
/* end confdefs.h.  */
23194
 
 
23195
 
 
23196
 
#include <string.h>
23197
 
 
23198
 
 
23199
 
int
23200
 
main ()
23201
 
{
23202
 
 
23203
 
 char buf[20];
23204
 
  strlcpy(buf, "KDE function test", sizeof(buf));
23205
 
 
23206
 
 
23207
 
  ;
23208
 
  return 0;
23209
 
}
23210
 
_ACEOF
23211
 
rm -f conftest.$ac_objext
23212
 
if { (ac_try="$ac_compile"
23213
 
case "(($ac_try" in
23214
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23215
 
  *) ac_try_echo=$ac_try;;
23216
 
esac
23217
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23218
 
  (eval "$ac_compile") 2>conftest.er1
23219
 
  ac_status=$?
23220
 
  grep -v '^ *+' conftest.er1 >conftest.err
23221
 
  rm -f conftest.er1
23222
 
  cat conftest.err >&5
23223
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224
 
  (exit $ac_status); } && {
23225
 
         test -z "$ac_cxx_werror_flag" ||
23226
 
         test ! -s conftest.err
23227
 
       } && test -s conftest.$ac_objext; then
23228
 
  kde_cv_func_strlcpy=yes
23229
 
else
23230
 
  echo "$as_me: failed program was:" >&5
23231
 
sed 's/^/| /' conftest.$ac_ext >&5
23232
 
 
23233
 
        kde_cv_func_strlcpy=no
23234
 
fi
23235
 
 
23236
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23237
 
CXXFLAGS="$save_CXXFLAGS"
23238
 
LIBS="$kde_safe_LIBS"
23239
 
ac_ext=c
23240
 
ac_cpp='$CPP $CPPFLAGS'
23241
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23244
 
 
23245
 
 
23246
 
fi
23247
 
 
23248
 
 
23249
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
23250
 
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6; }
23251
 
 
23252
 
{ echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
23253
 
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6; }
23254
 
if test "${kde_cv_proto_strlcpy+set}" = set; then
23255
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23256
 
else
23257
 
 
23258
 
if test "x$kde_cv_func_strlcpy" = xyes; then
23259
 
  kde_cv_proto_strlcpy=no
23260
 
else
23261
 
  case "strlcpy" in
23262
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23263
 
                kde_cv_proto_strlcpy="yes - in libkdefakes"
23264
 
                ;;
23265
 
        *)
23266
 
                kde_cv_proto_strlcpy=unknown
23267
 
                ;;
23268
 
  esac
23269
 
fi
23270
 
 
23271
 
if test "x$kde_cv_proto_strlcpy" = xunknown; then
23272
 
 
23273
 
 
23274
 
 ac_ext=cpp
23275
 
ac_cpp='$CXXCPP $CPPFLAGS'
23276
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23279
 
 
23280
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23281
 
 
23282
 
 
23283
 
  kde_safe_libs=$LIBS
23284
 
  LIBS="$LIBS $X_EXTRA_LIBS"
23285
 
  cat >conftest.$ac_ext <<_ACEOF
23286
 
/* confdefs.h.  */
23287
 
_ACEOF
23288
 
cat confdefs.h >>conftest.$ac_ext
23289
 
cat >>conftest.$ac_ext <<_ACEOF
23290
 
/* end confdefs.h.  */
23291
 
 
23292
 
 
23293
 
#include <string.h>
23294
 
 
23295
 
 
23296
 
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
23297
 
 
23298
 
int
23299
 
main ()
23300
 
{
23301
 
 
23302
 
 char buf[20];
23303
 
  strlcpy(buf, "KDE function test", sizeof(buf));
23304
 
 
23305
 
 
23306
 
  ;
23307
 
  return 0;
23308
 
}
23309
 
_ACEOF
23310
 
rm -f conftest.$ac_objext conftest$ac_exeext
23311
 
if { (ac_try="$ac_link"
23312
 
case "(($ac_try" in
23313
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23314
 
  *) ac_try_echo=$ac_try;;
23315
 
esac
23316
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317
 
  (eval "$ac_link") 2>conftest.er1
23318
 
  ac_status=$?
23319
 
  grep -v '^ *+' conftest.er1 >conftest.err
23320
 
  rm -f conftest.er1
23321
 
  cat conftest.err >&5
23322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323
 
  (exit $ac_status); } && {
23324
 
         test -z "$ac_cxx_werror_flag" ||
23325
 
         test ! -s conftest.err
23326
 
       } && test -s conftest$ac_exeext &&
23327
 
       $as_test_x conftest$ac_exeext; then
23328
 
   kde_cv_func_strlcpy=yes
23329
 
  kde_cv_proto_strlcpy=yes
23330
 
else
23331
 
  echo "$as_me: failed program was:" >&5
23332
 
sed 's/^/| /' conftest.$ac_ext >&5
23333
 
 
23334
 
        kde_cv_proto_strlcpy="strlcpy unavailable"
23335
 
 
23336
 
fi
23337
 
 
23338
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23339
 
      conftest$ac_exeext conftest.$ac_ext
23340
 
LIBS=$kde_safe_libs
23341
 
ac_ext=c
23342
 
ac_cpp='$CPP $CPPFLAGS'
23343
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23344
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23345
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23346
 
 
23347
 
fi
23348
 
 
23349
 
fi
23350
 
 
23351
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
23352
 
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6; }
23353
 
 
23354
 
if test "x$kde_cv_func_strlcpy" = xyes; then
23355
 
 
23356
 
cat >>confdefs.h <<\_ACEOF
23357
 
#define HAVE_STRLCPY 1
23358
 
_ACEOF
23359
 
 
23360
 
 
23361
 
fi
23362
 
if test "x$kde_cv_proto_strlcpy" = xno; then
23363
 
 
23364
 
cat >>confdefs.h <<\_ACEOF
23365
 
#define HAVE_STRLCPY_PROTO 1
23366
 
_ACEOF
23367
 
 
23368
 
fi
23369
 
 
23370
 
 
23371
 
 
23372
 
 
23373
 
 
23374
 
 
23375
 
      { echo "$as_me:$LINENO: checking for main in -lutil" >&5
23376
 
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6; }
23377
 
if test "${ac_cv_lib_util_main+set}" = set; then
23378
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23379
 
else
23380
 
  ac_check_lib_save_LIBS=$LIBS
23381
 
LIBS="-lutil  $LIBS"
23382
 
cat >conftest.$ac_ext <<_ACEOF
23383
 
/* confdefs.h.  */
23384
 
_ACEOF
23385
 
cat confdefs.h >>conftest.$ac_ext
23386
 
cat >>conftest.$ac_ext <<_ACEOF
23387
 
/* end confdefs.h.  */
23388
 
 
23389
 
 
23390
 
int
23391
 
main ()
23392
 
{
23393
 
return main ();
23394
 
  ;
23395
 
  return 0;
23396
 
}
23397
 
_ACEOF
23398
 
rm -f conftest.$ac_objext conftest$ac_exeext
23399
 
if { (ac_try="$ac_link"
23400
 
case "(($ac_try" in
23401
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23402
 
  *) ac_try_echo=$ac_try;;
23403
 
esac
23404
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23405
 
  (eval "$ac_link") 2>conftest.er1
23406
 
  ac_status=$?
23407
 
  grep -v '^ *+' conftest.er1 >conftest.err
23408
 
  rm -f conftest.er1
23409
 
  cat conftest.err >&5
23410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411
 
  (exit $ac_status); } && {
23412
 
         test -z "$ac_c_werror_flag" ||
23413
 
         test ! -s conftest.err
23414
 
       } && test -s conftest$ac_exeext &&
23415
 
       $as_test_x conftest$ac_exeext; then
23416
 
  ac_cv_lib_util_main=yes
23417
 
else
23418
 
  echo "$as_me: failed program was:" >&5
23419
 
sed 's/^/| /' conftest.$ac_ext >&5
23420
 
 
23421
 
        ac_cv_lib_util_main=no
23422
 
fi
23423
 
 
23424
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23425
 
      conftest$ac_exeext conftest.$ac_ext
23426
 
LIBS=$ac_check_lib_save_LIBS
23427
 
fi
23428
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
23429
 
echo "${ECHO_T}$ac_cv_lib_util_main" >&6; }
23430
 
if test $ac_cv_lib_util_main = yes; then
23431
 
  LIBUTIL="-lutil"
23432
 
fi
23433
 
 
23434
 
   { echo "$as_me:$LINENO: checking for main in -lcompat" >&5
23435
 
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
23436
 
if test "${ac_cv_lib_compat_main+set}" = set; then
23437
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23438
 
else
23439
 
  ac_check_lib_save_LIBS=$LIBS
23440
 
LIBS="-lcompat  $LIBS"
23441
 
cat >conftest.$ac_ext <<_ACEOF
23442
 
/* confdefs.h.  */
23443
 
_ACEOF
23444
 
cat confdefs.h >>conftest.$ac_ext
23445
 
cat >>conftest.$ac_ext <<_ACEOF
23446
 
/* end confdefs.h.  */
23447
 
 
23448
 
 
23449
 
int
23450
 
main ()
23451
 
{
23452
 
return main ();
23453
 
  ;
23454
 
  return 0;
23455
 
}
23456
 
_ACEOF
23457
 
rm -f conftest.$ac_objext conftest$ac_exeext
23458
 
if { (ac_try="$ac_link"
23459
 
case "(($ac_try" in
23460
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23461
 
  *) ac_try_echo=$ac_try;;
23462
 
esac
23463
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23464
 
  (eval "$ac_link") 2>conftest.er1
23465
 
  ac_status=$?
23466
 
  grep -v '^ *+' conftest.er1 >conftest.err
23467
 
  rm -f conftest.er1
23468
 
  cat conftest.err >&5
23469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470
 
  (exit $ac_status); } && {
23471
 
         test -z "$ac_c_werror_flag" ||
23472
 
         test ! -s conftest.err
23473
 
       } && test -s conftest$ac_exeext &&
23474
 
       $as_test_x conftest$ac_exeext; then
23475
 
  ac_cv_lib_compat_main=yes
23476
 
else
23477
 
  echo "$as_me: failed program was:" >&5
23478
 
sed 's/^/| /' conftest.$ac_ext >&5
23479
 
 
23480
 
        ac_cv_lib_compat_main=no
23481
 
fi
23482
 
 
23483
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23484
 
      conftest$ac_exeext conftest.$ac_ext
23485
 
LIBS=$ac_check_lib_save_LIBS
23486
 
fi
23487
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
23488
 
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
23489
 
if test $ac_cv_lib_compat_main = yes; then
23490
 
  LIBCOMPAT="-lcompat"
23491
 
fi
23492
 
 
23493
 
   kde_have_crypt=
23494
 
   { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
23495
 
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
23496
 
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
23497
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23498
 
else
23499
 
  ac_check_lib_save_LIBS=$LIBS
23500
 
LIBS="-lcrypt  $LIBS"
23501
 
cat >conftest.$ac_ext <<_ACEOF
23502
 
/* confdefs.h.  */
23503
 
_ACEOF
23504
 
cat confdefs.h >>conftest.$ac_ext
23505
 
cat >>conftest.$ac_ext <<_ACEOF
23506
 
/* end confdefs.h.  */
23507
 
 
23508
 
/* Override any GCC internal prototype to avoid an error.
23509
 
   Use char because int might match the return type of a GCC
23510
 
   builtin and then its argument prototype would still apply.  */
23511
 
#ifdef __cplusplus
23512
 
extern "C"
23513
 
#endif
23514
 
char crypt ();
23515
 
int
23516
 
main ()
23517
 
{
23518
 
return crypt ();
23519
 
  ;
23520
 
  return 0;
23521
 
}
23522
 
_ACEOF
23523
 
rm -f conftest.$ac_objext conftest$ac_exeext
23524
 
if { (ac_try="$ac_link"
23525
 
case "(($ac_try" in
23526
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23527
 
  *) ac_try_echo=$ac_try;;
23528
 
esac
23529
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23530
 
  (eval "$ac_link") 2>conftest.er1
23531
 
  ac_status=$?
23532
 
  grep -v '^ *+' conftest.er1 >conftest.err
23533
 
  rm -f conftest.er1
23534
 
  cat conftest.err >&5
23535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536
 
  (exit $ac_status); } && {
23537
 
         test -z "$ac_c_werror_flag" ||
23538
 
         test ! -s conftest.err
23539
 
       } && test -s conftest$ac_exeext &&
23540
 
       $as_test_x conftest$ac_exeext; then
23541
 
  ac_cv_lib_crypt_crypt=yes
23542
 
else
23543
 
  echo "$as_me: failed program was:" >&5
23544
 
sed 's/^/| /' conftest.$ac_ext >&5
23545
 
 
23546
 
        ac_cv_lib_crypt_crypt=no
23547
 
fi
23548
 
 
23549
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23550
 
      conftest$ac_exeext conftest.$ac_ext
23551
 
LIBS=$ac_check_lib_save_LIBS
23552
 
fi
23553
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
23554
 
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
23555
 
if test $ac_cv_lib_crypt_crypt = yes; then
23556
 
  LIBCRYPT="-lcrypt"; kde_have_crypt=yes
23557
 
else
23558
 
  { echo "$as_me:$LINENO: checking for crypt in -lc" >&5
23559
 
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
23560
 
if test "${ac_cv_lib_c_crypt+set}" = set; then
23561
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23562
 
else
23563
 
  ac_check_lib_save_LIBS=$LIBS
23564
 
LIBS="-lc  $LIBS"
23565
 
cat >conftest.$ac_ext <<_ACEOF
23566
 
/* confdefs.h.  */
23567
 
_ACEOF
23568
 
cat confdefs.h >>conftest.$ac_ext
23569
 
cat >>conftest.$ac_ext <<_ACEOF
23570
 
/* end confdefs.h.  */
23571
 
 
23572
 
/* Override any GCC internal prototype to avoid an error.
23573
 
   Use char because int might match the return type of a GCC
23574
 
   builtin and then its argument prototype would still apply.  */
23575
 
#ifdef __cplusplus
23576
 
extern "C"
23577
 
#endif
23578
 
char crypt ();
23579
 
int
23580
 
main ()
23581
 
{
23582
 
return crypt ();
23583
 
  ;
23584
 
  return 0;
23585
 
}
23586
 
_ACEOF
23587
 
rm -f conftest.$ac_objext conftest$ac_exeext
23588
 
if { (ac_try="$ac_link"
23589
 
case "(($ac_try" in
23590
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23591
 
  *) ac_try_echo=$ac_try;;
23592
 
esac
23593
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23594
 
  (eval "$ac_link") 2>conftest.er1
23595
 
  ac_status=$?
23596
 
  grep -v '^ *+' conftest.er1 >conftest.err
23597
 
  rm -f conftest.er1
23598
 
  cat conftest.err >&5
23599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600
 
  (exit $ac_status); } && {
23601
 
         test -z "$ac_c_werror_flag" ||
23602
 
         test ! -s conftest.err
23603
 
       } && test -s conftest$ac_exeext &&
23604
 
       $as_test_x conftest$ac_exeext; then
23605
 
  ac_cv_lib_c_crypt=yes
23606
 
else
23607
 
  echo "$as_me: failed program was:" >&5
23608
 
sed 's/^/| /' conftest.$ac_ext >&5
23609
 
 
23610
 
        ac_cv_lib_c_crypt=no
23611
 
fi
23612
 
 
23613
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23614
 
      conftest$ac_exeext conftest.$ac_ext
23615
 
LIBS=$ac_check_lib_save_LIBS
23616
 
fi
23617
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
23618
 
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
23619
 
if test $ac_cv_lib_c_crypt = yes; then
23620
 
  kde_have_crypt=yes
23621
 
else
23622
 
 
23623
 
        { echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
23624
 
You should install libcrypt from another source or configure with PAM
23625
 
support" >&5
23626
 
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
23627
 
You should install libcrypt from another source or configure with PAM
23628
 
support" >&2;}
23629
 
        kde_have_crypt=no
23630
 
 
23631
 
fi
23632
 
 
23633
 
fi
23634
 
 
23635
 
 
23636
 
   if test $kde_have_crypt = yes; then
23637
 
 
23638
 
cat >>confdefs.h <<_ACEOF
23639
 
#define HAVE_CRYPT 1
23640
 
_ACEOF
23641
 
 
23642
 
   fi
23643
 
 
23644
 
   { echo "$as_me:$LINENO: checking for socklen_t" >&5
23645
 
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
23646
 
   if test "${kde_cv_socklen_t+set}" = set; then
23647
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23648
 
else
23649
 
 
23650
 
      ac_ext=cpp
23651
 
ac_cpp='$CXXCPP $CPPFLAGS'
23652
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23653
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23654
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23655
 
 
23656
 
      kde_cv_socklen_t=no
23657
 
      cat >conftest.$ac_ext <<_ACEOF
23658
 
/* confdefs.h.  */
23659
 
_ACEOF
23660
 
cat confdefs.h >>conftest.$ac_ext
23661
 
cat >>conftest.$ac_ext <<_ACEOF
23662
 
/* end confdefs.h.  */
23663
 
 
23664
 
         #include <sys/types.h>
23665
 
         #include <sys/socket.h>
23666
 
 
23667
 
int
23668
 
main ()
23669
 
{
23670
 
 
23671
 
         socklen_t len;
23672
 
         getpeername(0,0,&len);
23673
 
 
23674
 
  ;
23675
 
  return 0;
23676
 
}
23677
 
_ACEOF
23678
 
rm -f conftest.$ac_objext
23679
 
if { (ac_try="$ac_compile"
23680
 
case "(($ac_try" in
23681
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23682
 
  *) ac_try_echo=$ac_try;;
23683
 
esac
23684
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23685
 
  (eval "$ac_compile") 2>conftest.er1
23686
 
  ac_status=$?
23687
 
  grep -v '^ *+' conftest.er1 >conftest.err
23688
 
  rm -f conftest.er1
23689
 
  cat conftest.err >&5
23690
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691
 
  (exit $ac_status); } && {
23692
 
         test -z "$ac_cxx_werror_flag" ||
23693
 
         test ! -s conftest.err
23694
 
       } && test -s conftest.$ac_objext; then
23695
 
 
23696
 
         kde_cv_socklen_t=yes
23697
 
         kde_cv_socklen_t_equiv=socklen_t
23698
 
 
23699
 
else
23700
 
  echo "$as_me: failed program was:" >&5
23701
 
sed 's/^/| /' conftest.$ac_ext >&5
23702
 
 
23703
 
 
23704
 
fi
23705
 
 
23706
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23707
 
      ac_ext=c
23708
 
ac_cpp='$CPP $CPPFLAGS'
23709
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23712
 
 
23713
 
 
23714
 
fi
23715
 
 
23716
 
   { echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
23717
 
echo "${ECHO_T}$kde_cv_socklen_t" >&6; }
23718
 
   if test $kde_cv_socklen_t = no; then
23719
 
      { echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
23720
 
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6; }
23721
 
      if test "${kde_cv_socklen_t_equiv+set}" = set; then
23722
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23723
 
else
23724
 
 
23725
 
         kde_cv_socklen_t_equiv=int
23726
 
         ac_ext=cpp
23727
 
ac_cpp='$CXXCPP $CPPFLAGS'
23728
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23729
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23730
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23731
 
 
23732
 
         for t in int size_t unsigned long "unsigned long"; do
23733
 
            cat >conftest.$ac_ext <<_ACEOF
23734
 
/* confdefs.h.  */
23735
 
_ACEOF
23736
 
cat confdefs.h >>conftest.$ac_ext
23737
 
cat >>conftest.$ac_ext <<_ACEOF
23738
 
/* end confdefs.h.  */
23739
 
 
23740
 
               #include <sys/types.h>
23741
 
               #include <sys/socket.h>
23742
 
 
23743
 
int
23744
 
main ()
23745
 
{
23746
 
 
23747
 
               $t len;
23748
 
               getpeername(0,0,&len);
23749
 
 
23750
 
  ;
23751
 
  return 0;
23752
 
}
23753
 
_ACEOF
23754
 
rm -f conftest.$ac_objext
23755
 
if { (ac_try="$ac_compile"
23756
 
case "(($ac_try" in
23757
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23758
 
  *) ac_try_echo=$ac_try;;
23759
 
esac
23760
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23761
 
  (eval "$ac_compile") 2>conftest.er1
23762
 
  ac_status=$?
23763
 
  grep -v '^ *+' conftest.er1 >conftest.err
23764
 
  rm -f conftest.er1
23765
 
  cat conftest.err >&5
23766
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23767
 
  (exit $ac_status); } && {
23768
 
         test -z "$ac_cxx_werror_flag" ||
23769
 
         test ! -s conftest.err
23770
 
       } && test -s conftest.$ac_objext; then
23771
 
 
23772
 
               kde_cv_socklen_t_equiv="$t"
23773
 
               break
23774
 
 
23775
 
else
23776
 
  echo "$as_me: failed program was:" >&5
23777
 
sed 's/^/| /' conftest.$ac_ext >&5
23778
 
 
23779
 
 
23780
 
fi
23781
 
 
23782
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23783
 
         done
23784
 
         ac_ext=c
23785
 
ac_cpp='$CPP $CPPFLAGS'
23786
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23787
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23788
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23789
 
 
23790
 
 
23791
 
fi
23792
 
 
23793
 
      { echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
23794
 
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6; }
23795
 
   fi
23796
 
 
23797
 
cat >>confdefs.h <<_ACEOF
23798
 
#define kde_socklen_t $kde_cv_socklen_t_equiv
23799
 
_ACEOF
23800
 
 
23801
 
 
23802
 
cat >>confdefs.h <<_ACEOF
23803
 
#define ksize_t $kde_cv_socklen_t_equiv
23804
 
_ACEOF
23805
 
 
23806
 
 
23807
 
   { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23808
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
23809
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23811
 
else
23812
 
  ac_check_lib_save_LIBS=$LIBS
23813
 
LIBS="-ldnet  $LIBS"
23814
 
cat >conftest.$ac_ext <<_ACEOF
23815
 
/* confdefs.h.  */
23816
 
_ACEOF
23817
 
cat confdefs.h >>conftest.$ac_ext
23818
 
cat >>conftest.$ac_ext <<_ACEOF
23819
 
/* end confdefs.h.  */
23820
 
 
23821
 
/* Override any GCC internal prototype to avoid an error.
23822
 
   Use char because int might match the return type of a GCC
23823
 
   builtin and then its argument prototype would still apply.  */
23824
 
#ifdef __cplusplus
23825
 
extern "C"
23826
 
#endif
23827
 
char dnet_ntoa ();
23828
 
int
23829
 
main ()
23830
 
{
23831
 
return dnet_ntoa ();
23832
 
  ;
23833
 
  return 0;
23834
 
}
23835
 
_ACEOF
23836
 
rm -f conftest.$ac_objext conftest$ac_exeext
23837
 
if { (ac_try="$ac_link"
23838
 
case "(($ac_try" in
23839
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23840
 
  *) ac_try_echo=$ac_try;;
23841
 
esac
23842
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23843
 
  (eval "$ac_link") 2>conftest.er1
23844
 
  ac_status=$?
23845
 
  grep -v '^ *+' conftest.er1 >conftest.err
23846
 
  rm -f conftest.er1
23847
 
  cat conftest.err >&5
23848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23849
 
  (exit $ac_status); } && {
23850
 
         test -z "$ac_c_werror_flag" ||
23851
 
         test ! -s conftest.err
23852
 
       } && test -s conftest$ac_exeext &&
23853
 
       $as_test_x conftest$ac_exeext; then
23854
 
  ac_cv_lib_dnet_dnet_ntoa=yes
23855
 
else
23856
 
  echo "$as_me: failed program was:" >&5
23857
 
sed 's/^/| /' conftest.$ac_ext >&5
23858
 
 
23859
 
        ac_cv_lib_dnet_dnet_ntoa=no
23860
 
fi
23861
 
 
23862
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23863
 
      conftest$ac_exeext conftest.$ac_ext
23864
 
LIBS=$ac_check_lib_save_LIBS
23865
 
fi
23866
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23867
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23868
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23869
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23870
 
fi
23871
 
 
23872
 
   if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23873
 
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23874
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
23875
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23877
 
else
23878
 
  ac_check_lib_save_LIBS=$LIBS
23879
 
LIBS="-ldnet_stub  $LIBS"
23880
 
cat >conftest.$ac_ext <<_ACEOF
23881
 
/* confdefs.h.  */
23882
 
_ACEOF
23883
 
cat confdefs.h >>conftest.$ac_ext
23884
 
cat >>conftest.$ac_ext <<_ACEOF
23885
 
/* end confdefs.h.  */
23886
 
 
23887
 
/* Override any GCC internal prototype to avoid an error.
23888
 
   Use char because int might match the return type of a GCC
23889
 
   builtin and then its argument prototype would still apply.  */
23890
 
#ifdef __cplusplus
23891
 
extern "C"
23892
 
#endif
23893
 
char dnet_ntoa ();
23894
 
int
23895
 
main ()
23896
 
{
23897
 
return dnet_ntoa ();
23898
 
  ;
23899
 
  return 0;
23900
 
}
23901
 
_ACEOF
23902
 
rm -f conftest.$ac_objext conftest$ac_exeext
23903
 
if { (ac_try="$ac_link"
23904
 
case "(($ac_try" in
23905
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23906
 
  *) ac_try_echo=$ac_try;;
23907
 
esac
23908
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23909
 
  (eval "$ac_link") 2>conftest.er1
23910
 
  ac_status=$?
23911
 
  grep -v '^ *+' conftest.er1 >conftest.err
23912
 
  rm -f conftest.er1
23913
 
  cat conftest.err >&5
23914
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915
 
  (exit $ac_status); } && {
23916
 
         test -z "$ac_c_werror_flag" ||
23917
 
         test ! -s conftest.err
23918
 
       } && test -s conftest$ac_exeext &&
23919
 
       $as_test_x conftest$ac_exeext; then
23920
 
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
23921
 
else
23922
 
  echo "$as_me: failed program was:" >&5
23923
 
sed 's/^/| /' conftest.$ac_ext >&5
23924
 
 
23925
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
23926
 
fi
23927
 
 
23928
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23929
 
      conftest$ac_exeext conftest.$ac_ext
23930
 
LIBS=$ac_check_lib_save_LIBS
23931
 
fi
23932
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23933
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23934
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23935
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23936
 
fi
23937
 
 
23938
 
   fi
23939
 
   { echo "$as_me:$LINENO: checking for inet_ntoa" >&5
23940
 
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6; }
23941
 
if test "${ac_cv_func_inet_ntoa+set}" = set; then
23942
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23943
 
else
23944
 
  cat >conftest.$ac_ext <<_ACEOF
23945
 
/* confdefs.h.  */
23946
 
_ACEOF
23947
 
cat confdefs.h >>conftest.$ac_ext
23948
 
cat >>conftest.$ac_ext <<_ACEOF
23949
 
/* end confdefs.h.  */
23950
 
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
23951
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23952
 
#define inet_ntoa innocuous_inet_ntoa
23953
 
 
23954
 
/* System header to define __stub macros and hopefully few prototypes,
23955
 
    which can conflict with char inet_ntoa (); below.
23956
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23957
 
    <limits.h> exists even on freestanding compilers.  */
23958
 
 
23959
 
#ifdef __STDC__
23960
 
# include <limits.h>
23961
 
#else
23962
 
# include <assert.h>
23963
 
#endif
23964
 
 
23965
 
#undef inet_ntoa
23966
 
 
23967
 
/* Override any GCC internal prototype to avoid an error.
23968
 
   Use char because int might match the return type of a GCC
23969
 
   builtin and then its argument prototype would still apply.  */
23970
 
#ifdef __cplusplus
23971
 
extern "C"
23972
 
#endif
23973
 
char inet_ntoa ();
23974
 
/* The GNU C library defines this for functions which it implements
23975
 
    to always fail with ENOSYS.  Some functions are actually named
23976
 
    something starting with __ and the normal name is an alias.  */
23977
 
#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
23978
 
choke me
23979
 
#endif
23980
 
 
23981
 
int
23982
 
main ()
23983
 
{
23984
 
return inet_ntoa ();
23985
 
  ;
23986
 
  return 0;
23987
 
}
23988
 
_ACEOF
23989
 
rm -f conftest.$ac_objext conftest$ac_exeext
23990
 
if { (ac_try="$ac_link"
23991
 
case "(($ac_try" in
23992
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23993
 
  *) ac_try_echo=$ac_try;;
23994
 
esac
23995
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23996
 
  (eval "$ac_link") 2>conftest.er1
23997
 
  ac_status=$?
23998
 
  grep -v '^ *+' conftest.er1 >conftest.err
23999
 
  rm -f conftest.er1
24000
 
  cat conftest.err >&5
24001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24002
 
  (exit $ac_status); } && {
24003
 
         test -z "$ac_c_werror_flag" ||
24004
 
         test ! -s conftest.err
24005
 
       } && test -s conftest$ac_exeext &&
24006
 
       $as_test_x conftest$ac_exeext; then
24007
 
  ac_cv_func_inet_ntoa=yes
24008
 
else
24009
 
  echo "$as_me: failed program was:" >&5
24010
 
sed 's/^/| /' conftest.$ac_ext >&5
24011
 
 
24012
 
        ac_cv_func_inet_ntoa=no
24013
 
fi
24014
 
 
24015
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24016
 
      conftest$ac_exeext conftest.$ac_ext
24017
 
fi
24018
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
24019
 
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6; }
24020
 
 
24021
 
   if test $ac_cv_func_inet_ntoa = no; then
24022
 
     { echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
24023
 
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6; }
24024
 
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
24025
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24026
 
else
24027
 
  ac_check_lib_save_LIBS=$LIBS
24028
 
LIBS="-lnsl  $LIBS"
24029
 
cat >conftest.$ac_ext <<_ACEOF
24030
 
/* confdefs.h.  */
24031
 
_ACEOF
24032
 
cat confdefs.h >>conftest.$ac_ext
24033
 
cat >>conftest.$ac_ext <<_ACEOF
24034
 
/* end confdefs.h.  */
24035
 
 
24036
 
/* Override any GCC internal prototype to avoid an error.
24037
 
   Use char because int might match the return type of a GCC
24038
 
   builtin and then its argument prototype would still apply.  */
24039
 
#ifdef __cplusplus
24040
 
extern "C"
24041
 
#endif
24042
 
char inet_ntoa ();
24043
 
int
24044
 
main ()
24045
 
{
24046
 
return inet_ntoa ();
24047
 
  ;
24048
 
  return 0;
24049
 
}
24050
 
_ACEOF
24051
 
rm -f conftest.$ac_objext conftest$ac_exeext
24052
 
if { (ac_try="$ac_link"
24053
 
case "(($ac_try" in
24054
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24055
 
  *) ac_try_echo=$ac_try;;
24056
 
esac
24057
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24058
 
  (eval "$ac_link") 2>conftest.er1
24059
 
  ac_status=$?
24060
 
  grep -v '^ *+' conftest.er1 >conftest.err
24061
 
  rm -f conftest.er1
24062
 
  cat conftest.err >&5
24063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064
 
  (exit $ac_status); } && {
24065
 
         test -z "$ac_c_werror_flag" ||
24066
 
         test ! -s conftest.err
24067
 
       } && test -s conftest$ac_exeext &&
24068
 
       $as_test_x conftest$ac_exeext; then
24069
 
  ac_cv_lib_nsl_inet_ntoa=yes
24070
 
else
24071
 
  echo "$as_me: failed program was:" >&5
24072
 
sed 's/^/| /' conftest.$ac_ext >&5
24073
 
 
24074
 
        ac_cv_lib_nsl_inet_ntoa=no
24075
 
fi
24076
 
 
24077
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24078
 
      conftest$ac_exeext conftest.$ac_ext
24079
 
LIBS=$ac_check_lib_save_LIBS
24080
 
fi
24081
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
24082
 
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6; }
24083
 
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
24084
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24085
 
fi
24086
 
 
24087
 
   fi
24088
 
   { echo "$as_me:$LINENO: checking for connect" >&5
24089
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
24090
 
if test "${ac_cv_func_connect+set}" = set; then
24091
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24092
 
else
24093
 
  cat >conftest.$ac_ext <<_ACEOF
24094
 
/* confdefs.h.  */
24095
 
_ACEOF
24096
 
cat confdefs.h >>conftest.$ac_ext
24097
 
cat >>conftest.$ac_ext <<_ACEOF
24098
 
/* end confdefs.h.  */
24099
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
24100
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24101
 
#define connect innocuous_connect
24102
 
 
24103
 
/* System header to define __stub macros and hopefully few prototypes,
24104
 
    which can conflict with char connect (); below.
24105
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24106
 
    <limits.h> exists even on freestanding compilers.  */
24107
 
 
24108
 
#ifdef __STDC__
24109
 
# include <limits.h>
24110
 
#else
24111
 
# include <assert.h>
24112
 
#endif
24113
 
 
24114
 
#undef connect
24115
 
 
24116
 
/* Override any GCC internal prototype to avoid an error.
24117
 
   Use char because int might match the return type of a GCC
24118
 
   builtin and then its argument prototype would still apply.  */
24119
 
#ifdef __cplusplus
24120
 
extern "C"
24121
 
#endif
24122
 
char connect ();
24123
 
/* The GNU C library defines this for functions which it implements
24124
 
    to always fail with ENOSYS.  Some functions are actually named
24125
 
    something starting with __ and the normal name is an alias.  */
24126
 
#if defined __stub_connect || defined __stub___connect
24127
 
choke me
24128
 
#endif
24129
 
 
24130
 
int
24131
 
main ()
24132
 
{
24133
 
return connect ();
24134
 
  ;
24135
 
  return 0;
24136
 
}
24137
 
_ACEOF
24138
 
rm -f conftest.$ac_objext conftest$ac_exeext
24139
 
if { (ac_try="$ac_link"
24140
 
case "(($ac_try" in
24141
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24142
 
  *) ac_try_echo=$ac_try;;
24143
 
esac
24144
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24145
 
  (eval "$ac_link") 2>conftest.er1
24146
 
  ac_status=$?
24147
 
  grep -v '^ *+' conftest.er1 >conftest.err
24148
 
  rm -f conftest.er1
24149
 
  cat conftest.err >&5
24150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151
 
  (exit $ac_status); } && {
24152
 
         test -z "$ac_c_werror_flag" ||
24153
 
         test ! -s conftest.err
24154
 
       } && test -s conftest$ac_exeext &&
24155
 
       $as_test_x conftest$ac_exeext; then
24156
 
  ac_cv_func_connect=yes
24157
 
else
24158
 
  echo "$as_me: failed program was:" >&5
24159
 
sed 's/^/| /' conftest.$ac_ext >&5
24160
 
 
24161
 
        ac_cv_func_connect=no
24162
 
fi
24163
 
 
24164
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24165
 
      conftest$ac_exeext conftest.$ac_ext
24166
 
fi
24167
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24168
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
24169
 
 
24170
 
   if test $ac_cv_func_connect = no; then
24171
 
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24172
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
24173
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
24174
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24175
 
else
24176
 
  ac_check_lib_save_LIBS=$LIBS
24177
 
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24178
 
cat >conftest.$ac_ext <<_ACEOF
24179
 
/* confdefs.h.  */
24180
 
_ACEOF
24181
 
cat confdefs.h >>conftest.$ac_ext
24182
 
cat >>conftest.$ac_ext <<_ACEOF
24183
 
/* end confdefs.h.  */
24184
 
 
24185
 
/* Override any GCC internal prototype to avoid an error.
24186
 
   Use char because int might match the return type of a GCC
24187
 
   builtin and then its argument prototype would still apply.  */
24188
 
#ifdef __cplusplus
24189
 
extern "C"
24190
 
#endif
24191
 
char connect ();
24192
 
int
24193
 
main ()
24194
 
{
24195
 
return connect ();
24196
 
  ;
24197
 
  return 0;
24198
 
}
24199
 
_ACEOF
24200
 
rm -f conftest.$ac_objext conftest$ac_exeext
24201
 
if { (ac_try="$ac_link"
24202
 
case "(($ac_try" in
24203
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24204
 
  *) ac_try_echo=$ac_try;;
24205
 
esac
24206
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24207
 
  (eval "$ac_link") 2>conftest.er1
24208
 
  ac_status=$?
24209
 
  grep -v '^ *+' conftest.er1 >conftest.err
24210
 
  rm -f conftest.er1
24211
 
  cat conftest.err >&5
24212
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213
 
  (exit $ac_status); } && {
24214
 
         test -z "$ac_c_werror_flag" ||
24215
 
         test ! -s conftest.err
24216
 
       } && test -s conftest$ac_exeext &&
24217
 
       $as_test_x conftest$ac_exeext; then
24218
 
  ac_cv_lib_socket_connect=yes
24219
 
else
24220
 
  echo "$as_me: failed program was:" >&5
24221
 
sed 's/^/| /' conftest.$ac_ext >&5
24222
 
 
24223
 
        ac_cv_lib_socket_connect=no
24224
 
fi
24225
 
 
24226
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24227
 
      conftest$ac_exeext conftest.$ac_ext
24228
 
LIBS=$ac_check_lib_save_LIBS
24229
 
fi
24230
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24231
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
24232
 
if test $ac_cv_lib_socket_connect = yes; then
24233
 
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24234
 
fi
24235
 
 
24236
 
   fi
24237
 
 
24238
 
   { echo "$as_me:$LINENO: checking for remove" >&5
24239
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
24240
 
if test "${ac_cv_func_remove+set}" = set; then
24241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24242
 
else
24243
 
  cat >conftest.$ac_ext <<_ACEOF
24244
 
/* confdefs.h.  */
24245
 
_ACEOF
24246
 
cat confdefs.h >>conftest.$ac_ext
24247
 
cat >>conftest.$ac_ext <<_ACEOF
24248
 
/* end confdefs.h.  */
24249
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
24250
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24251
 
#define remove innocuous_remove
24252
 
 
24253
 
/* System header to define __stub macros and hopefully few prototypes,
24254
 
    which can conflict with char remove (); below.
24255
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24256
 
    <limits.h> exists even on freestanding compilers.  */
24257
 
 
24258
 
#ifdef __STDC__
24259
 
# include <limits.h>
24260
 
#else
24261
 
# include <assert.h>
24262
 
#endif
24263
 
 
24264
 
#undef remove
24265
 
 
24266
 
/* Override any GCC internal prototype to avoid an error.
24267
 
   Use char because int might match the return type of a GCC
24268
 
   builtin and then its argument prototype would still apply.  */
24269
 
#ifdef __cplusplus
24270
 
extern "C"
24271
 
#endif
24272
 
char remove ();
24273
 
/* The GNU C library defines this for functions which it implements
24274
 
    to always fail with ENOSYS.  Some functions are actually named
24275
 
    something starting with __ and the normal name is an alias.  */
24276
 
#if defined __stub_remove || defined __stub___remove
24277
 
choke me
24278
 
#endif
24279
 
 
24280
 
int
24281
 
main ()
24282
 
{
24283
 
return remove ();
24284
 
  ;
24285
 
  return 0;
24286
 
}
24287
 
_ACEOF
24288
 
rm -f conftest.$ac_objext conftest$ac_exeext
24289
 
if { (ac_try="$ac_link"
24290
 
case "(($ac_try" in
24291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24292
 
  *) ac_try_echo=$ac_try;;
24293
 
esac
24294
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24295
 
  (eval "$ac_link") 2>conftest.er1
24296
 
  ac_status=$?
24297
 
  grep -v '^ *+' conftest.er1 >conftest.err
24298
 
  rm -f conftest.er1
24299
 
  cat conftest.err >&5
24300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301
 
  (exit $ac_status); } && {
24302
 
         test -z "$ac_c_werror_flag" ||
24303
 
         test ! -s conftest.err
24304
 
       } && test -s conftest$ac_exeext &&
24305
 
       $as_test_x conftest$ac_exeext; then
24306
 
  ac_cv_func_remove=yes
24307
 
else
24308
 
  echo "$as_me: failed program was:" >&5
24309
 
sed 's/^/| /' conftest.$ac_ext >&5
24310
 
 
24311
 
        ac_cv_func_remove=no
24312
 
fi
24313
 
 
24314
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24315
 
      conftest$ac_exeext conftest.$ac_ext
24316
 
fi
24317
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24318
 
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
24319
 
 
24320
 
   if test $ac_cv_func_remove = no; then
24321
 
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24322
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
24323
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
24324
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24325
 
else
24326
 
  ac_check_lib_save_LIBS=$LIBS
24327
 
LIBS="-lposix  $LIBS"
24328
 
cat >conftest.$ac_ext <<_ACEOF
24329
 
/* confdefs.h.  */
24330
 
_ACEOF
24331
 
cat confdefs.h >>conftest.$ac_ext
24332
 
cat >>conftest.$ac_ext <<_ACEOF
24333
 
/* end confdefs.h.  */
24334
 
 
24335
 
/* Override any GCC internal prototype to avoid an error.
24336
 
   Use char because int might match the return type of a GCC
24337
 
   builtin and then its argument prototype would still apply.  */
24338
 
#ifdef __cplusplus
24339
 
extern "C"
24340
 
#endif
24341
 
char remove ();
24342
 
int
24343
 
main ()
24344
 
{
24345
 
return remove ();
24346
 
  ;
24347
 
  return 0;
24348
 
}
24349
 
_ACEOF
24350
 
rm -f conftest.$ac_objext conftest$ac_exeext
24351
 
if { (ac_try="$ac_link"
24352
 
case "(($ac_try" in
24353
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24354
 
  *) ac_try_echo=$ac_try;;
24355
 
esac
24356
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24357
 
  (eval "$ac_link") 2>conftest.er1
24358
 
  ac_status=$?
24359
 
  grep -v '^ *+' conftest.er1 >conftest.err
24360
 
  rm -f conftest.er1
24361
 
  cat conftest.err >&5
24362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363
 
  (exit $ac_status); } && {
24364
 
         test -z "$ac_c_werror_flag" ||
24365
 
         test ! -s conftest.err
24366
 
       } && test -s conftest$ac_exeext &&
24367
 
       $as_test_x conftest$ac_exeext; then
24368
 
  ac_cv_lib_posix_remove=yes
24369
 
else
24370
 
  echo "$as_me: failed program was:" >&5
24371
 
sed 's/^/| /' conftest.$ac_ext >&5
24372
 
 
24373
 
        ac_cv_lib_posix_remove=no
24374
 
fi
24375
 
 
24376
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24377
 
      conftest$ac_exeext conftest.$ac_ext
24378
 
LIBS=$ac_check_lib_save_LIBS
24379
 
fi
24380
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24381
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
24382
 
if test $ac_cv_lib_posix_remove = yes; then
24383
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24384
 
fi
24385
 
 
24386
 
   fi
24387
 
 
24388
 
   # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24389
 
   { echo "$as_me:$LINENO: checking for shmat" >&5
24390
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
24391
 
if test "${ac_cv_func_shmat+set}" = set; then
24392
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24393
 
else
24394
 
  cat >conftest.$ac_ext <<_ACEOF
24395
 
/* confdefs.h.  */
24396
 
_ACEOF
24397
 
cat confdefs.h >>conftest.$ac_ext
24398
 
cat >>conftest.$ac_ext <<_ACEOF
24399
 
/* end confdefs.h.  */
24400
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24401
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24402
 
#define shmat innocuous_shmat
24403
 
 
24404
 
/* System header to define __stub macros and hopefully few prototypes,
24405
 
    which can conflict with char shmat (); below.
24406
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24407
 
    <limits.h> exists even on freestanding compilers.  */
24408
 
 
24409
 
#ifdef __STDC__
24410
 
# include <limits.h>
24411
 
#else
24412
 
# include <assert.h>
24413
 
#endif
24414
 
 
24415
 
#undef shmat
24416
 
 
24417
 
/* Override any GCC internal prototype to avoid an error.
24418
 
   Use char because int might match the return type of a GCC
24419
 
   builtin and then its argument prototype would still apply.  */
24420
 
#ifdef __cplusplus
24421
 
extern "C"
24422
 
#endif
24423
 
char shmat ();
24424
 
/* The GNU C library defines this for functions which it implements
24425
 
    to always fail with ENOSYS.  Some functions are actually named
24426
 
    something starting with __ and the normal name is an alias.  */
24427
 
#if defined __stub_shmat || defined __stub___shmat
24428
 
choke me
24429
 
#endif
24430
 
 
24431
 
int
24432
 
main ()
24433
 
{
24434
 
return shmat ();
24435
 
  ;
24436
 
  return 0;
24437
 
}
24438
 
_ACEOF
24439
 
rm -f conftest.$ac_objext conftest$ac_exeext
24440
 
if { (ac_try="$ac_link"
24441
 
case "(($ac_try" in
24442
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24443
 
  *) ac_try_echo=$ac_try;;
24444
 
esac
24445
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24446
 
  (eval "$ac_link") 2>conftest.er1
24447
 
  ac_status=$?
24448
 
  grep -v '^ *+' conftest.er1 >conftest.err
24449
 
  rm -f conftest.er1
24450
 
  cat conftest.err >&5
24451
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452
 
  (exit $ac_status); } && {
24453
 
         test -z "$ac_c_werror_flag" ||
24454
 
         test ! -s conftest.err
24455
 
       } && test -s conftest$ac_exeext &&
24456
 
       $as_test_x conftest$ac_exeext; then
24457
 
  ac_cv_func_shmat=yes
24458
 
else
24459
 
  echo "$as_me: failed program was:" >&5
24460
 
sed 's/^/| /' conftest.$ac_ext >&5
24461
 
 
24462
 
        ac_cv_func_shmat=no
24463
 
fi
24464
 
 
24465
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24466
 
      conftest$ac_exeext conftest.$ac_ext
24467
 
fi
24468
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24469
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
24470
 
if test $ac_cv_func_shmat = yes; then
24471
 
  :
24472
 
else
24473
 
  { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24474
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
24475
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24476
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24477
 
else
24478
 
  ac_check_lib_save_LIBS=$LIBS
24479
 
LIBS="-lipc  $LIBS"
24480
 
cat >conftest.$ac_ext <<_ACEOF
24481
 
/* confdefs.h.  */
24482
 
_ACEOF
24483
 
cat confdefs.h >>conftest.$ac_ext
24484
 
cat >>conftest.$ac_ext <<_ACEOF
24485
 
/* end confdefs.h.  */
24486
 
 
24487
 
/* Override any GCC internal prototype to avoid an error.
24488
 
   Use char because int might match the return type of a GCC
24489
 
   builtin and then its argument prototype would still apply.  */
24490
 
#ifdef __cplusplus
24491
 
extern "C"
24492
 
#endif
24493
 
char shmat ();
24494
 
int
24495
 
main ()
24496
 
{
24497
 
return shmat ();
24498
 
  ;
24499
 
  return 0;
24500
 
}
24501
 
_ACEOF
24502
 
rm -f conftest.$ac_objext conftest$ac_exeext
24503
 
if { (ac_try="$ac_link"
24504
 
case "(($ac_try" in
24505
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24506
 
  *) ac_try_echo=$ac_try;;
24507
 
esac
24508
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24509
 
  (eval "$ac_link") 2>conftest.er1
24510
 
  ac_status=$?
24511
 
  grep -v '^ *+' conftest.er1 >conftest.err
24512
 
  rm -f conftest.er1
24513
 
  cat conftest.err >&5
24514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515
 
  (exit $ac_status); } && {
24516
 
         test -z "$ac_c_werror_flag" ||
24517
 
         test ! -s conftest.err
24518
 
       } && test -s conftest$ac_exeext &&
24519
 
       $as_test_x conftest$ac_exeext; then
24520
 
  ac_cv_lib_ipc_shmat=yes
24521
 
else
24522
 
  echo "$as_me: failed program was:" >&5
24523
 
sed 's/^/| /' conftest.$ac_ext >&5
24524
 
 
24525
 
        ac_cv_lib_ipc_shmat=no
24526
 
fi
24527
 
 
24528
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24529
 
      conftest$ac_exeext conftest.$ac_ext
24530
 
LIBS=$ac_check_lib_save_LIBS
24531
 
fi
24532
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24533
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
24534
 
if test $ac_cv_lib_ipc_shmat = yes; then
24535
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24536
 
fi
24537
 
 
24538
 
fi
24539
 
 
24540
 
 
24541
 
   # more headers that need to be explicitly included on darwin
24542
 
 
24543
 
 
24544
 
for ac_header in sys/types.h stdint.h
24545
 
do
24546
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24547
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24548
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24549
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24550
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24551
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24552
 
fi
24553
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24554
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24555
 
echo "${ECHO_T}$ac_res" >&6; }
24556
 
else
24557
 
  # Is the header compilable?
24558
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24559
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24560
 
cat >conftest.$ac_ext <<_ACEOF
24561
 
/* confdefs.h.  */
24562
 
_ACEOF
24563
 
cat confdefs.h >>conftest.$ac_ext
24564
 
cat >>conftest.$ac_ext <<_ACEOF
24565
 
/* end confdefs.h.  */
24566
 
$ac_includes_default
24567
 
#include <$ac_header>
24568
 
_ACEOF
24569
 
rm -f conftest.$ac_objext
24570
 
if { (ac_try="$ac_compile"
24571
 
case "(($ac_try" in
24572
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24573
 
  *) ac_try_echo=$ac_try;;
24574
 
esac
24575
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24576
 
  (eval "$ac_compile") 2>conftest.er1
24577
 
  ac_status=$?
24578
 
  grep -v '^ *+' conftest.er1 >conftest.err
24579
 
  rm -f conftest.er1
24580
 
  cat conftest.err >&5
24581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582
 
  (exit $ac_status); } && {
24583
 
         test -z "$ac_c_werror_flag" ||
24584
 
         test ! -s conftest.err
24585
 
       } && test -s conftest.$ac_objext; then
24586
 
  ac_header_compiler=yes
24587
 
else
24588
 
  echo "$as_me: failed program was:" >&5
24589
 
sed 's/^/| /' conftest.$ac_ext >&5
24590
 
 
24591
 
        ac_header_compiler=no
24592
 
fi
24593
 
 
24594
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24595
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24596
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24597
 
 
24598
 
# Is the header present?
24599
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24600
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24601
 
cat >conftest.$ac_ext <<_ACEOF
24602
 
/* confdefs.h.  */
24603
 
_ACEOF
24604
 
cat confdefs.h >>conftest.$ac_ext
24605
 
cat >>conftest.$ac_ext <<_ACEOF
24606
 
/* end confdefs.h.  */
24607
 
#include <$ac_header>
24608
 
_ACEOF
24609
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24610
 
case "(($ac_try" in
24611
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24612
 
  *) ac_try_echo=$ac_try;;
24613
 
esac
24614
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24615
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24616
 
  ac_status=$?
24617
 
  grep -v '^ *+' conftest.er1 >conftest.err
24618
 
  rm -f conftest.er1
24619
 
  cat conftest.err >&5
24620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621
 
  (exit $ac_status); } >/dev/null && {
24622
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24623
 
         test ! -s conftest.err
24624
 
       }; then
24625
 
  ac_header_preproc=yes
24626
 
else
24627
 
  echo "$as_me: failed program was:" >&5
24628
 
sed 's/^/| /' conftest.$ac_ext >&5
24629
 
 
24630
 
  ac_header_preproc=no
24631
 
fi
24632
 
 
24633
 
rm -f conftest.err conftest.$ac_ext
24634
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24635
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24636
 
 
24637
 
# So?  What about this header?
24638
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24639
 
  yes:no: )
24640
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24641
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24642
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24643
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24644
 
    ac_header_preproc=yes
24645
 
    ;;
24646
 
  no:yes:* )
24647
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24648
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24649
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24650
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24651
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24652
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24653
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24654
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24655
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24656
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24657
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24658
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24659
 
 
24660
 
    ;;
24661
 
esac
24662
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24663
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24664
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24665
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24666
 
else
24667
 
  eval "$as_ac_Header=\$ac_header_preproc"
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
 
 
24673
 
fi
24674
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24675
 
  cat >>confdefs.h <<_ACEOF
24676
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24677
 
_ACEOF
24678
 
 
24679
 
fi
24680
 
 
24681
 
done
24682
 
 
24683
 
 
24684
 
   # sys/bitypes.h is needed for uint32_t and friends on Tru64
24685
 
 
24686
 
for ac_header in sys/bitypes.h
24687
 
do
24688
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24689
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24690
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24691
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24692
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24693
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24694
 
fi
24695
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24696
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24697
 
echo "${ECHO_T}$ac_res" >&6; }
24698
 
else
24699
 
  # Is the header compilable?
24700
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24701
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24702
 
cat >conftest.$ac_ext <<_ACEOF
24703
 
/* confdefs.h.  */
24704
 
_ACEOF
24705
 
cat confdefs.h >>conftest.$ac_ext
24706
 
cat >>conftest.$ac_ext <<_ACEOF
24707
 
/* end confdefs.h.  */
24708
 
$ac_includes_default
24709
 
#include <$ac_header>
24710
 
_ACEOF
24711
 
rm -f conftest.$ac_objext
24712
 
if { (ac_try="$ac_compile"
24713
 
case "(($ac_try" in
24714
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24715
 
  *) ac_try_echo=$ac_try;;
24716
 
esac
24717
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24718
 
  (eval "$ac_compile") 2>conftest.er1
24719
 
  ac_status=$?
24720
 
  grep -v '^ *+' conftest.er1 >conftest.err
24721
 
  rm -f conftest.er1
24722
 
  cat conftest.err >&5
24723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724
 
  (exit $ac_status); } && {
24725
 
         test -z "$ac_c_werror_flag" ||
24726
 
         test ! -s conftest.err
24727
 
       } && test -s conftest.$ac_objext; then
24728
 
  ac_header_compiler=yes
24729
 
else
24730
 
  echo "$as_me: failed program was:" >&5
24731
 
sed 's/^/| /' conftest.$ac_ext >&5
24732
 
 
24733
 
        ac_header_compiler=no
24734
 
fi
24735
 
 
24736
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24737
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24738
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24739
 
 
24740
 
# Is the header present?
24741
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24742
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24743
 
cat >conftest.$ac_ext <<_ACEOF
24744
 
/* confdefs.h.  */
24745
 
_ACEOF
24746
 
cat confdefs.h >>conftest.$ac_ext
24747
 
cat >>conftest.$ac_ext <<_ACEOF
24748
 
/* end confdefs.h.  */
24749
 
#include <$ac_header>
24750
 
_ACEOF
24751
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24752
 
case "(($ac_try" in
24753
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24754
 
  *) ac_try_echo=$ac_try;;
24755
 
esac
24756
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24757
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24758
 
  ac_status=$?
24759
 
  grep -v '^ *+' conftest.er1 >conftest.err
24760
 
  rm -f conftest.er1
24761
 
  cat conftest.err >&5
24762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763
 
  (exit $ac_status); } >/dev/null && {
24764
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24765
 
         test ! -s conftest.err
24766
 
       }; then
24767
 
  ac_header_preproc=yes
24768
 
else
24769
 
  echo "$as_me: failed program was:" >&5
24770
 
sed 's/^/| /' conftest.$ac_ext >&5
24771
 
 
24772
 
  ac_header_preproc=no
24773
 
fi
24774
 
 
24775
 
rm -f conftest.err conftest.$ac_ext
24776
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24777
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24778
 
 
24779
 
# So?  What about this header?
24780
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24781
 
  yes:no: )
24782
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24783
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24784
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24785
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24786
 
    ac_header_preproc=yes
24787
 
    ;;
24788
 
  no:yes:* )
24789
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24790
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24791
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24792
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24793
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24794
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24795
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24796
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24797
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24798
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24799
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24800
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24801
 
 
24802
 
    ;;
24803
 
esac
24804
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24805
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24806
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24807
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24808
 
else
24809
 
  eval "$as_ac_Header=\$ac_header_preproc"
24810
 
fi
24811
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24812
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24813
 
echo "${ECHO_T}$ac_res" >&6; }
24814
 
 
24815
 
fi
24816
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24817
 
  cat >>confdefs.h <<_ACEOF
24818
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24819
 
_ACEOF
24820
 
 
24821
 
fi
24822
 
 
24823
 
done
24824
 
 
24825
 
 
24826
 
   # darwin requires a poll emulation library
24827
 
   { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
24828
 
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
24829
 
if test "${ac_cv_lib_poll_poll+set}" = set; then
24830
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24831
 
else
24832
 
  ac_check_lib_save_LIBS=$LIBS
24833
 
LIBS="-lpoll  $LIBS"
24834
 
cat >conftest.$ac_ext <<_ACEOF
24835
 
/* confdefs.h.  */
24836
 
_ACEOF
24837
 
cat confdefs.h >>conftest.$ac_ext
24838
 
cat >>conftest.$ac_ext <<_ACEOF
24839
 
/* end confdefs.h.  */
24840
 
 
24841
 
/* Override any GCC internal prototype to avoid an error.
24842
 
   Use char because int might match the return type of a GCC
24843
 
   builtin and then its argument prototype would still apply.  */
24844
 
#ifdef __cplusplus
24845
 
extern "C"
24846
 
#endif
24847
 
char poll ();
24848
 
int
24849
 
main ()
24850
 
{
24851
 
return poll ();
24852
 
  ;
24853
 
  return 0;
24854
 
}
24855
 
_ACEOF
24856
 
rm -f conftest.$ac_objext conftest$ac_exeext
24857
 
if { (ac_try="$ac_link"
24858
 
case "(($ac_try" in
24859
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24860
 
  *) ac_try_echo=$ac_try;;
24861
 
esac
24862
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24863
 
  (eval "$ac_link") 2>conftest.er1
24864
 
  ac_status=$?
24865
 
  grep -v '^ *+' conftest.er1 >conftest.err
24866
 
  rm -f conftest.er1
24867
 
  cat conftest.err >&5
24868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869
 
  (exit $ac_status); } && {
24870
 
         test -z "$ac_c_werror_flag" ||
24871
 
         test ! -s conftest.err
24872
 
       } && test -s conftest$ac_exeext &&
24873
 
       $as_test_x conftest$ac_exeext; then
24874
 
  ac_cv_lib_poll_poll=yes
24875
 
else
24876
 
  echo "$as_me: failed program was:" >&5
24877
 
sed 's/^/| /' conftest.$ac_ext >&5
24878
 
 
24879
 
        ac_cv_lib_poll_poll=no
24880
 
fi
24881
 
 
24882
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24883
 
      conftest$ac_exeext conftest.$ac_ext
24884
 
LIBS=$ac_check_lib_save_LIBS
24885
 
fi
24886
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
24887
 
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
24888
 
if test $ac_cv_lib_poll_poll = yes; then
24889
 
  LIB_POLL="-lpoll"
24890
 
fi
24891
 
 
24892
 
 
24893
 
   # for some image handling on Mac OS X
24894
 
 
24895
 
for ac_header in Carbon/Carbon.h
24896
 
do
24897
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24898
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24899
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24900
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24901
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24902
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24903
 
fi
24904
 
ac_res=`eval echo '${'$as_ac_Header'}'`
24905
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
24906
 
echo "${ECHO_T}$ac_res" >&6; }
24907
 
else
24908
 
  # Is the header compilable?
24909
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24910
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24911
 
cat >conftest.$ac_ext <<_ACEOF
24912
 
/* confdefs.h.  */
24913
 
_ACEOF
24914
 
cat confdefs.h >>conftest.$ac_ext
24915
 
cat >>conftest.$ac_ext <<_ACEOF
24916
 
/* end confdefs.h.  */
24917
 
$ac_includes_default
24918
 
#include <$ac_header>
24919
 
_ACEOF
24920
 
rm -f conftest.$ac_objext
24921
 
if { (ac_try="$ac_compile"
24922
 
case "(($ac_try" in
24923
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24924
 
  *) ac_try_echo=$ac_try;;
24925
 
esac
24926
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24927
 
  (eval "$ac_compile") 2>conftest.er1
24928
 
  ac_status=$?
24929
 
  grep -v '^ *+' conftest.er1 >conftest.err
24930
 
  rm -f conftest.er1
24931
 
  cat conftest.err >&5
24932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933
 
  (exit $ac_status); } && {
24934
 
         test -z "$ac_c_werror_flag" ||
24935
 
         test ! -s conftest.err
24936
 
       } && test -s conftest.$ac_objext; then
24937
 
  ac_header_compiler=yes
24938
 
else
24939
 
  echo "$as_me: failed program was:" >&5
24940
 
sed 's/^/| /' conftest.$ac_ext >&5
24941
 
 
24942
 
        ac_header_compiler=no
24943
 
fi
24944
 
 
24945
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24946
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24947
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
24948
 
 
24949
 
# Is the header present?
24950
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24951
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24952
 
cat >conftest.$ac_ext <<_ACEOF
24953
 
/* confdefs.h.  */
24954
 
_ACEOF
24955
 
cat confdefs.h >>conftest.$ac_ext
24956
 
cat >>conftest.$ac_ext <<_ACEOF
24957
 
/* end confdefs.h.  */
24958
 
#include <$ac_header>
24959
 
_ACEOF
24960
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
24961
 
case "(($ac_try" in
24962
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24963
 
  *) ac_try_echo=$ac_try;;
24964
 
esac
24965
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24966
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24967
 
  ac_status=$?
24968
 
  grep -v '^ *+' conftest.er1 >conftest.err
24969
 
  rm -f conftest.er1
24970
 
  cat conftest.err >&5
24971
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972
 
  (exit $ac_status); } >/dev/null && {
24973
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24974
 
         test ! -s conftest.err
24975
 
       }; then
24976
 
  ac_header_preproc=yes
24977
 
else
24978
 
  echo "$as_me: failed program was:" >&5
24979
 
sed 's/^/| /' conftest.$ac_ext >&5
24980
 
 
24981
 
  ac_header_preproc=no
24982
 
fi
24983
 
 
24984
 
rm -f conftest.err conftest.$ac_ext
24985
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24986
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
24987
 
 
24988
 
# So?  What about this header?
24989
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24990
 
  yes:no: )
24991
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24992
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24993
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24994
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24995
 
    ac_header_preproc=yes
24996
 
    ;;
24997
 
  no:yes:* )
24998
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24999
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25000
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
25001
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
25002
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25003
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25004
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
25005
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
25006
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25007
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25008
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25009
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25010
 
 
25011
 
    ;;
25012
 
esac
25013
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25014
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25015
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25016
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25017
 
else
25018
 
  eval "$as_ac_Header=\$ac_header_preproc"
25019
 
fi
25020
 
ac_res=`eval echo '${'$as_ac_Header'}'`
25021
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
25022
 
echo "${ECHO_T}$ac_res" >&6; }
25023
 
 
25024
 
fi
25025
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25026
 
  cat >>confdefs.h <<_ACEOF
25027
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25028
 
_ACEOF
25029
 
 
25030
 
fi
25031
 
 
25032
 
done
25033
 
 
25034
 
 
25035
 
   # CoreAudio framework
25036
 
   if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25037
 
  { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25038
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
25039
 
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25041
 
fi
25042
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25043
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25044
 
else
25045
 
  # Is the header compilable?
25046
 
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
25047
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
25048
 
cat >conftest.$ac_ext <<_ACEOF
25049
 
/* confdefs.h.  */
25050
 
_ACEOF
25051
 
cat confdefs.h >>conftest.$ac_ext
25052
 
cat >>conftest.$ac_ext <<_ACEOF
25053
 
/* end confdefs.h.  */
25054
 
$ac_includes_default
25055
 
#include <CoreAudio/CoreAudio.h>
25056
 
_ACEOF
25057
 
rm -f conftest.$ac_objext
25058
 
if { (ac_try="$ac_compile"
25059
 
case "(($ac_try" in
25060
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25061
 
  *) ac_try_echo=$ac_try;;
25062
 
esac
25063
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25064
 
  (eval "$ac_compile") 2>conftest.er1
25065
 
  ac_status=$?
25066
 
  grep -v '^ *+' conftest.er1 >conftest.err
25067
 
  rm -f conftest.er1
25068
 
  cat conftest.err >&5
25069
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25070
 
  (exit $ac_status); } && {
25071
 
         test -z "$ac_c_werror_flag" ||
25072
 
         test ! -s conftest.err
25073
 
       } && test -s conftest.$ac_objext; then
25074
 
  ac_header_compiler=yes
25075
 
else
25076
 
  echo "$as_me: failed program was:" >&5
25077
 
sed 's/^/| /' conftest.$ac_ext >&5
25078
 
 
25079
 
        ac_header_compiler=no
25080
 
fi
25081
 
 
25082
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25083
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25084
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
25085
 
 
25086
 
# Is the header present?
25087
 
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
25088
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
25089
 
cat >conftest.$ac_ext <<_ACEOF
25090
 
/* confdefs.h.  */
25091
 
_ACEOF
25092
 
cat confdefs.h >>conftest.$ac_ext
25093
 
cat >>conftest.$ac_ext <<_ACEOF
25094
 
/* end confdefs.h.  */
25095
 
#include <CoreAudio/CoreAudio.h>
25096
 
_ACEOF
25097
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
25098
 
case "(($ac_try" in
25099
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25100
 
  *) ac_try_echo=$ac_try;;
25101
 
esac
25102
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25103
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25104
 
  ac_status=$?
25105
 
  grep -v '^ *+' conftest.er1 >conftest.err
25106
 
  rm -f conftest.er1
25107
 
  cat conftest.err >&5
25108
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109
 
  (exit $ac_status); } >/dev/null && {
25110
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25111
 
         test ! -s conftest.err
25112
 
       }; then
25113
 
  ac_header_preproc=yes
25114
 
else
25115
 
  echo "$as_me: failed program was:" >&5
25116
 
sed 's/^/| /' conftest.$ac_ext >&5
25117
 
 
25118
 
  ac_header_preproc=no
25119
 
fi
25120
 
 
25121
 
rm -f conftest.err conftest.$ac_ext
25122
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25123
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
25124
 
 
25125
 
# So?  What about this header?
25126
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25127
 
  yes:no: )
25128
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25129
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25130
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
25131
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
25132
 
    ac_header_preproc=yes
25133
 
    ;;
25134
 
  no:yes:* )
25135
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
25136
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
25137
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
25138
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
25139
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
25140
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
25141
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
25142
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
25143
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
25144
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
25145
 
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
25146
 
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
25147
 
 
25148
 
    ;;
25149
 
esac
25150
 
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25151
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
25152
 
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25153
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25154
 
else
25155
 
  ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
25156
 
fi
25157
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25158
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25159
 
 
25160
 
fi
25161
 
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
25162
 
 
25163
 
 
25164
 
cat >>confdefs.h <<\_ACEOF
25165
 
#define HAVE_COREAUDIO 1
25166
 
_ACEOF
25167
 
 
25168
 
     FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
25169
 
 
25170
 
fi
25171
 
 
25172
 
 
25173
 
 
25174
 
 
25175
 
  { echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
25176
 
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6; }
25177
 
  kde_libs_safe="$LIBS"
25178
 
  LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
25179
 
  cat >conftest.$ac_ext <<_ACEOF
25180
 
/* confdefs.h.  */
25181
 
_ACEOF
25182
 
cat confdefs.h >>conftest.$ac_ext
25183
 
cat >>conftest.$ac_ext <<_ACEOF
25184
 
/* end confdefs.h.  */
25185
 
 
25186
 
#include <sys/types.h>
25187
 
#include <netinet/in.h>
25188
 
#include <arpa/nameser.h>
25189
 
#include <resolv.h>
25190
 
 
25191
 
int
25192
 
main ()
25193
 
{
25194
 
 
25195
 
      res_init();
25196
 
 
25197
 
  ;
25198
 
  return 0;
25199
 
}
25200
 
_ACEOF
25201
 
rm -f conftest.$ac_objext conftest$ac_exeext
25202
 
if { (ac_try="$ac_link"
25203
 
case "(($ac_try" in
25204
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25205
 
  *) ac_try_echo=$ac_try;;
25206
 
esac
25207
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25208
 
  (eval "$ac_link") 2>conftest.er1
25209
 
  ac_status=$?
25210
 
  grep -v '^ *+' conftest.er1 >conftest.err
25211
 
  rm -f conftest.er1
25212
 
  cat conftest.err >&5
25213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214
 
  (exit $ac_status); } && {
25215
 
         test -z "$ac_c_werror_flag" ||
25216
 
         test ! -s conftest.err
25217
 
       } && test -s conftest$ac_exeext &&
25218
 
       $as_test_x conftest$ac_exeext; then
25219
 
 
25220
 
      LIBRESOLV="-lresolv"
25221
 
      { echo "$as_me:$LINENO: result: yes" >&5
25222
 
echo "${ECHO_T}yes" >&6; }
25223
 
 
25224
 
cat >>confdefs.h <<\_ACEOF
25225
 
#define HAVE_RES_INIT 1
25226
 
_ACEOF
25227
 
 
25228
 
 
25229
 
else
25230
 
  echo "$as_me: failed program was:" >&5
25231
 
sed 's/^/| /' conftest.$ac_ext >&5
25232
 
 
25233
 
         { echo "$as_me:$LINENO: result: no" >&5
25234
 
echo "${ECHO_T}no" >&6; }
25235
 
 
25236
 
fi
25237
 
 
25238
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25239
 
      conftest$ac_exeext conftest.$ac_ext
25240
 
  LIBS=$kde_libs_safe
25241
 
 
25242
 
 
25243
 
 
25244
 
{ echo "$as_me:$LINENO: checking for res_init" >&5
25245
 
echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
25246
 
if test "${kde_cv_func_res_init+set}" = set; then
25247
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25248
 
else
25249
 
 
25250
 
 
25251
 
 ac_ext=cpp
25252
 
ac_cpp='$CXXCPP $CPPFLAGS'
25253
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25254
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25255
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25256
 
 
25257
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25258
 
 
25259
 
 
25260
 
save_CXXFLAGS="$CXXFLAGS"
25261
 
kde_safe_LIBS="$LIBS"
25262
 
LIBS="$LIBS $X_EXTRA_LIBS"
25263
 
if test "$GXX" = "yes"; then
25264
 
CXXFLAGS="$CXXFLAGS -pedantic-errors"
25265
 
fi
25266
 
cat >conftest.$ac_ext <<_ACEOF
25267
 
/* confdefs.h.  */
25268
 
_ACEOF
25269
 
cat confdefs.h >>conftest.$ac_ext
25270
 
cat >>conftest.$ac_ext <<_ACEOF
25271
 
/* end confdefs.h.  */
25272
 
 
25273
 
 
25274
 
#include <sys/types.h>
25275
 
#include <netinet/in.h>
25276
 
#include <arpa/nameser.h>
25277
 
#include <resolv.h>
25278
 
 
25279
 
 
25280
 
int
25281
 
main ()
25282
 
{
25283
 
 
25284
 
res_init()
25285
 
 
25286
 
  ;
25287
 
  return 0;
25288
 
}
25289
 
_ACEOF
25290
 
rm -f conftest.$ac_objext
25291
 
if { (ac_try="$ac_compile"
25292
 
case "(($ac_try" in
25293
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25294
 
  *) ac_try_echo=$ac_try;;
25295
 
esac
25296
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25297
 
  (eval "$ac_compile") 2>conftest.er1
25298
 
  ac_status=$?
25299
 
  grep -v '^ *+' conftest.er1 >conftest.err
25300
 
  rm -f conftest.er1
25301
 
  cat conftest.err >&5
25302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25303
 
  (exit $ac_status); } && {
25304
 
         test -z "$ac_cxx_werror_flag" ||
25305
 
         test ! -s conftest.err
25306
 
       } && test -s conftest.$ac_objext; then
25307
 
  kde_cv_func_res_init=yes
25308
 
else
25309
 
  echo "$as_me: failed program was:" >&5
25310
 
sed 's/^/| /' conftest.$ac_ext >&5
25311
 
 
25312
 
        kde_cv_func_res_init=no
25313
 
fi
25314
 
 
25315
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25316
 
CXXFLAGS="$save_CXXFLAGS"
25317
 
LIBS="$kde_safe_LIBS"
25318
 
ac_ext=c
25319
 
ac_cpp='$CPP $CPPFLAGS'
25320
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25321
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25322
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25323
 
 
25324
 
 
25325
 
fi
25326
 
 
25327
 
 
25328
 
{ echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
25329
 
echo "${ECHO_T}$kde_cv_func_res_init" >&6; }
25330
 
 
25331
 
{ echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
25332
 
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6; }
25333
 
if test "${kde_cv_proto_res_init+set}" = set; then
25334
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25335
 
else
25336
 
 
25337
 
if test "x$kde_cv_func_res_init" = xyes; then
25338
 
  kde_cv_proto_res_init=no
25339
 
else
25340
 
  case "res_init" in
25341
 
        setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
25342
 
                kde_cv_proto_res_init="yes - in libkdefakes"
25343
 
                ;;
25344
 
        *)
25345
 
                kde_cv_proto_res_init=unknown
25346
 
                ;;
25347
 
  esac
25348
 
fi
25349
 
 
25350
 
if test "x$kde_cv_proto_res_init" = xunknown; then
25351
 
 
25352
 
 
25353
 
 ac_ext=cpp
25354
 
ac_cpp='$CXXCPP $CPPFLAGS'
25355
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25358
 
 
25359
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25360
 
 
25361
 
 
25362
 
  kde_safe_libs=$LIBS
25363
 
  LIBS="$LIBS $X_EXTRA_LIBS"
25364
 
  cat >conftest.$ac_ext <<_ACEOF
25365
 
/* confdefs.h.  */
25366
 
_ACEOF
25367
 
cat confdefs.h >>conftest.$ac_ext
25368
 
cat >>conftest.$ac_ext <<_ACEOF
25369
 
/* end confdefs.h.  */
25370
 
 
25371
 
 
25372
 
#include <sys/types.h>
25373
 
#include <netinet/in.h>
25374
 
#include <arpa/nameser.h>
25375
 
#include <resolv.h>
25376
 
 
25377
 
 
25378
 
extern "C" int res_init(void);
25379
 
 
25380
 
int
25381
 
main ()
25382
 
{
25383
 
 
25384
 
res_init()
25385
 
 
25386
 
  ;
25387
 
  return 0;
25388
 
}
25389
 
_ACEOF
25390
 
rm -f conftest.$ac_objext conftest$ac_exeext
25391
 
if { (ac_try="$ac_link"
25392
 
case "(($ac_try" in
25393
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25394
 
  *) ac_try_echo=$ac_try;;
25395
 
esac
25396
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25397
 
  (eval "$ac_link") 2>conftest.er1
25398
 
  ac_status=$?
25399
 
  grep -v '^ *+' conftest.er1 >conftest.err
25400
 
  rm -f conftest.er1
25401
 
  cat conftest.err >&5
25402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403
 
  (exit $ac_status); } && {
25404
 
         test -z "$ac_cxx_werror_flag" ||
25405
 
         test ! -s conftest.err
25406
 
       } && test -s conftest$ac_exeext &&
25407
 
       $as_test_x conftest$ac_exeext; then
25408
 
   kde_cv_func_res_init=yes
25409
 
  kde_cv_proto_res_init=yes
25410
 
else
25411
 
  echo "$as_me: failed program was:" >&5
25412
 
sed 's/^/| /' conftest.$ac_ext >&5
25413
 
 
25414
 
        kde_cv_proto_res_init="res_init unavailable"
25415
 
 
25416
 
fi
25417
 
 
25418
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25419
 
      conftest$ac_exeext conftest.$ac_ext
25420
 
LIBS=$kde_safe_libs
25421
 
ac_ext=c
25422
 
ac_cpp='$CPP $CPPFLAGS'
25423
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25424
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25425
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25426
 
 
25427
 
fi
25428
 
 
25429
 
fi
25430
 
 
25431
 
{ echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
25432
 
echo "${ECHO_T}$kde_cv_proto_res_init" >&6; }
25433
 
 
25434
 
if test "x$kde_cv_func_res_init" = xyes; then
25435
 
 
25436
 
cat >>confdefs.h <<\_ACEOF
25437
 
#define HAVE_RES_INIT 1
25438
 
_ACEOF
25439
 
 
25440
 
 
25441
 
fi
25442
 
if test "x$kde_cv_proto_res_init" = xno; then
25443
 
 
25444
 
cat >>confdefs.h <<\_ACEOF
25445
 
#define HAVE_RES_INIT_PROTO 1
25446
 
_ACEOF
25447
 
 
25448
 
fi
25449
 
 
25450
 
 
25451
 
 
25452
 
 
25453
 
 
25454
 
 
25455
 
 
25456
 
   LIBSOCKET="$X_EXTRA_LIBS"
25457
 
 
25458
 
 
25459
 
   { echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
25460
 
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6; }
25461
 
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
25462
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25463
 
else
25464
 
  ac_check_lib_save_LIBS=$LIBS
25465
 
LIBS="-lucb  $LIBS"
25466
 
cat >conftest.$ac_ext <<_ACEOF
25467
 
/* confdefs.h.  */
25468
 
_ACEOF
25469
 
cat confdefs.h >>conftest.$ac_ext
25470
 
cat >>conftest.$ac_ext <<_ACEOF
25471
 
/* end confdefs.h.  */
25472
 
 
25473
 
/* Override any GCC internal prototype to avoid an error.
25474
 
   Use char because int might match the return type of a GCC
25475
 
   builtin and then its argument prototype would still apply.  */
25476
 
#ifdef __cplusplus
25477
 
extern "C"
25478
 
#endif
25479
 
char killpg ();
25480
 
int
25481
 
main ()
25482
 
{
25483
 
return killpg ();
25484
 
  ;
25485
 
  return 0;
25486
 
}
25487
 
_ACEOF
25488
 
rm -f conftest.$ac_objext conftest$ac_exeext
25489
 
if { (ac_try="$ac_link"
25490
 
case "(($ac_try" in
25491
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25492
 
  *) ac_try_echo=$ac_try;;
25493
 
esac
25494
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25495
 
  (eval "$ac_link") 2>conftest.er1
25496
 
  ac_status=$?
25497
 
  grep -v '^ *+' conftest.er1 >conftest.err
25498
 
  rm -f conftest.er1
25499
 
  cat conftest.err >&5
25500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501
 
  (exit $ac_status); } && {
25502
 
         test -z "$ac_c_werror_flag" ||
25503
 
         test ! -s conftest.err
25504
 
       } && test -s conftest$ac_exeext &&
25505
 
       $as_test_x conftest$ac_exeext; then
25506
 
  ac_cv_lib_ucb_killpg=yes
25507
 
else
25508
 
  echo "$as_me: failed program was:" >&5
25509
 
sed 's/^/| /' conftest.$ac_ext >&5
25510
 
 
25511
 
        ac_cv_lib_ucb_killpg=no
25512
 
fi
25513
 
 
25514
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25515
 
      conftest$ac_exeext conftest.$ac_ext
25516
 
LIBS=$ac_check_lib_save_LIBS
25517
 
fi
25518
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
25519
 
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6; }
25520
 
if test $ac_cv_lib_ucb_killpg = yes; then
25521
 
  LIBUCB="-lucb"
25522
 
fi
25523
 
 
25524
 
 
25525
 
   case $host in     *-*-lynxos* )
25526
 
        { echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
25527
 
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6; }
25528
 
        CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
25529
 
        { echo "$as_me:$LINENO: result: disabled" >&5
25530
 
echo "${ECHO_T}disabled" >&6; }
25531
 
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25532
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
25533
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25534
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25535
 
else
25536
 
  ac_check_lib_save_LIBS=$LIBS
25537
 
LIBS="-lbsd  $LIBS"
25538
 
cat >conftest.$ac_ext <<_ACEOF
25539
 
/* confdefs.h.  */
25540
 
_ACEOF
25541
 
cat confdefs.h >>conftest.$ac_ext
25542
 
cat >>conftest.$ac_ext <<_ACEOF
25543
 
/* end confdefs.h.  */
25544
 
 
25545
 
/* Override any GCC internal prototype to avoid an error.
25546
 
   Use char because int might match the return type of a GCC
25547
 
   builtin and then its argument prototype would still apply.  */
25548
 
#ifdef __cplusplus
25549
 
extern "C"
25550
 
#endif
25551
 
char gethostbyname ();
25552
 
int
25553
 
main ()
25554
 
{
25555
 
return gethostbyname ();
25556
 
  ;
25557
 
  return 0;
25558
 
}
25559
 
_ACEOF
25560
 
rm -f conftest.$ac_objext conftest$ac_exeext
25561
 
if { (ac_try="$ac_link"
25562
 
case "(($ac_try" in
25563
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25564
 
  *) ac_try_echo=$ac_try;;
25565
 
esac
25566
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25567
 
  (eval "$ac_link") 2>conftest.er1
25568
 
  ac_status=$?
25569
 
  grep -v '^ *+' conftest.er1 >conftest.err
25570
 
  rm -f conftest.er1
25571
 
  cat conftest.err >&5
25572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25573
 
  (exit $ac_status); } && {
25574
 
         test -z "$ac_c_werror_flag" ||
25575
 
         test ! -s conftest.err
25576
 
       } && test -s conftest$ac_exeext &&
25577
 
       $as_test_x conftest$ac_exeext; then
25578
 
  ac_cv_lib_bsd_gethostbyname=yes
25579
 
else
25580
 
  echo "$as_me: failed program was:" >&5
25581
 
sed 's/^/| /' conftest.$ac_ext >&5
25582
 
 
25583
 
        ac_cv_lib_bsd_gethostbyname=no
25584
 
fi
25585
 
 
25586
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25587
 
      conftest$ac_exeext conftest.$ac_ext
25588
 
LIBS=$ac_check_lib_save_LIBS
25589
 
fi
25590
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25591
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
25592
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
25593
 
  LIBSOCKET="-lbsd"
25594
 
fi
25595
 
          ;;
25596
 
    esac
25597
 
 
25598
 
     { echo "$as_me:$LINENO: checking for int" >&5
25599
 
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
25600
 
if test "${ac_cv_type_int+set}" = set; then
25601
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25602
 
else
25603
 
  cat >conftest.$ac_ext <<_ACEOF
25604
 
/* confdefs.h.  */
25605
 
_ACEOF
25606
 
cat confdefs.h >>conftest.$ac_ext
25607
 
cat >>conftest.$ac_ext <<_ACEOF
25608
 
/* end confdefs.h.  */
25609
 
$ac_includes_default
25610
 
typedef int ac__type_new_;
25611
 
int
25612
 
main ()
25613
 
{
25614
 
if ((ac__type_new_ *) 0)
25615
 
  return 0;
25616
 
if (sizeof (ac__type_new_))
25617
 
  return 0;
25618
 
  ;
25619
 
  return 0;
25620
 
}
25621
 
_ACEOF
25622
 
rm -f conftest.$ac_objext
25623
 
if { (ac_try="$ac_compile"
25624
 
case "(($ac_try" in
25625
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25626
 
  *) ac_try_echo=$ac_try;;
25627
 
esac
25628
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25629
 
  (eval "$ac_compile") 2>conftest.er1
25630
 
  ac_status=$?
25631
 
  grep -v '^ *+' conftest.er1 >conftest.err
25632
 
  rm -f conftest.er1
25633
 
  cat conftest.err >&5
25634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635
 
  (exit $ac_status); } && {
25636
 
         test -z "$ac_c_werror_flag" ||
25637
 
         test ! -s conftest.err
25638
 
       } && test -s conftest.$ac_objext; then
25639
 
  ac_cv_type_int=yes
25640
 
else
25641
 
  echo "$as_me: failed program was:" >&5
25642
 
sed 's/^/| /' conftest.$ac_ext >&5
25643
 
 
25644
 
        ac_cv_type_int=no
25645
 
fi
25646
 
 
25647
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25648
 
fi
25649
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
25650
 
echo "${ECHO_T}$ac_cv_type_int" >&6; }
25651
 
 
25652
 
# The cast to long int works around a bug in the HP C Compiler
25653
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25654
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25655
 
# This bug is HP SR number 8606223364.
25656
 
{ echo "$as_me:$LINENO: checking size of int" >&5
25657
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
25658
 
if test "${ac_cv_sizeof_int+set}" = set; then
25659
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
25660
 
else
25661
 
  if test "$cross_compiling" = yes; then
25662
 
  # Depending upon the size, compute the lo and hi bounds.
25663
 
cat >conftest.$ac_ext <<_ACEOF
25664
 
/* confdefs.h.  */
25665
 
_ACEOF
25666
 
cat confdefs.h >>conftest.$ac_ext
25667
 
cat >>conftest.$ac_ext <<_ACEOF
25668
 
/* end confdefs.h.  */
25669
 
$ac_includes_default
25670
 
   typedef int ac__type_sizeof_;
25671
 
int
25672
 
main ()
25673
 
{
25674
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25675
 
test_array [0] = 0
25676
 
 
25677
 
  ;
25678
 
  return 0;
25679
 
}
25680
 
_ACEOF
25681
 
rm -f conftest.$ac_objext
25682
 
if { (ac_try="$ac_compile"
25683
 
case "(($ac_try" in
25684
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25685
 
  *) ac_try_echo=$ac_try;;
25686
 
esac
25687
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25688
 
  (eval "$ac_compile") 2>conftest.er1
25689
 
  ac_status=$?
25690
 
  grep -v '^ *+' conftest.er1 >conftest.err
25691
 
  rm -f conftest.er1
25692
 
  cat conftest.err >&5
25693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694
 
  (exit $ac_status); } && {
25695
 
         test -z "$ac_c_werror_flag" ||
25696
 
         test ! -s conftest.err
25697
 
       } && test -s conftest.$ac_objext; then
25698
 
  ac_lo=0 ac_mid=0
25699
 
  while :; do
25700
 
    cat >conftest.$ac_ext <<_ACEOF
25701
 
/* confdefs.h.  */
25702
 
_ACEOF
25703
 
cat confdefs.h >>conftest.$ac_ext
25704
 
cat >>conftest.$ac_ext <<_ACEOF
25705
 
/* end confdefs.h.  */
25706
 
$ac_includes_default
25707
 
   typedef int ac__type_sizeof_;
25708
 
int
25709
 
main ()
25710
 
{
25711
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25712
 
test_array [0] = 0
25713
 
 
25714
 
  ;
25715
 
  return 0;
25716
 
}
25717
 
_ACEOF
25718
 
rm -f conftest.$ac_objext
25719
 
if { (ac_try="$ac_compile"
25720
 
case "(($ac_try" in
25721
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25722
 
  *) ac_try_echo=$ac_try;;
25723
 
esac
25724
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25725
 
  (eval "$ac_compile") 2>conftest.er1
25726
 
  ac_status=$?
25727
 
  grep -v '^ *+' conftest.er1 >conftest.err
25728
 
  rm -f conftest.er1
25729
 
  cat conftest.err >&5
25730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731
 
  (exit $ac_status); } && {
25732
 
         test -z "$ac_c_werror_flag" ||
25733
 
         test ! -s conftest.err
25734
 
       } && test -s conftest.$ac_objext; then
25735
 
  ac_hi=$ac_mid; break
25736
 
else
25737
 
  echo "$as_me: failed program was:" >&5
25738
 
sed 's/^/| /' conftest.$ac_ext >&5
25739
 
 
25740
 
        ac_lo=`expr $ac_mid + 1`
25741
 
                        if test $ac_lo -le $ac_mid; then
25742
 
                          ac_lo= ac_hi=
25743
 
                          break
25744
 
                        fi
25745
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25746
 
fi
25747
 
 
25748
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25749
 
  done
25750
 
else
25751
 
  echo "$as_me: failed program was:" >&5
25752
 
sed 's/^/| /' conftest.$ac_ext >&5
25753
 
 
25754
 
        cat >conftest.$ac_ext <<_ACEOF
25755
 
/* confdefs.h.  */
25756
 
_ACEOF
25757
 
cat confdefs.h >>conftest.$ac_ext
25758
 
cat >>conftest.$ac_ext <<_ACEOF
25759
 
/* end confdefs.h.  */
25760
 
$ac_includes_default
25761
 
   typedef int ac__type_sizeof_;
25762
 
int
25763
 
main ()
25764
 
{
25765
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25766
 
test_array [0] = 0
25767
 
 
25768
 
  ;
25769
 
  return 0;
25770
 
}
25771
 
_ACEOF
25772
 
rm -f conftest.$ac_objext
25773
 
if { (ac_try="$ac_compile"
25774
 
case "(($ac_try" in
25775
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25776
 
  *) ac_try_echo=$ac_try;;
25777
 
esac
25778
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25779
 
  (eval "$ac_compile") 2>conftest.er1
25780
 
  ac_status=$?
25781
 
  grep -v '^ *+' conftest.er1 >conftest.err
25782
 
  rm -f conftest.er1
25783
 
  cat conftest.err >&5
25784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785
 
  (exit $ac_status); } && {
25786
 
         test -z "$ac_c_werror_flag" ||
25787
 
         test ! -s conftest.err
25788
 
       } && test -s conftest.$ac_objext; then
25789
 
  ac_hi=-1 ac_mid=-1
25790
 
  while :; do
25791
 
    cat >conftest.$ac_ext <<_ACEOF
25792
 
/* confdefs.h.  */
25793
 
_ACEOF
25794
 
cat confdefs.h >>conftest.$ac_ext
25795
 
cat >>conftest.$ac_ext <<_ACEOF
25796
 
/* end confdefs.h.  */
25797
 
$ac_includes_default
25798
 
   typedef int ac__type_sizeof_;
25799
 
int
25800
 
main ()
25801
 
{
25802
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25803
 
test_array [0] = 0
25804
 
 
25805
 
  ;
25806
 
  return 0;
25807
 
}
25808
 
_ACEOF
25809
 
rm -f conftest.$ac_objext
25810
 
if { (ac_try="$ac_compile"
25811
 
case "(($ac_try" in
25812
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25813
 
  *) ac_try_echo=$ac_try;;
25814
 
esac
25815
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25816
 
  (eval "$ac_compile") 2>conftest.er1
25817
 
  ac_status=$?
25818
 
  grep -v '^ *+' conftest.er1 >conftest.err
25819
 
  rm -f conftest.er1
25820
 
  cat conftest.err >&5
25821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822
 
  (exit $ac_status); } && {
25823
 
         test -z "$ac_c_werror_flag" ||
25824
 
         test ! -s conftest.err
25825
 
       } && test -s conftest.$ac_objext; then
25826
 
  ac_lo=$ac_mid; break
25827
 
else
25828
 
  echo "$as_me: failed program was:" >&5
25829
 
sed 's/^/| /' conftest.$ac_ext >&5
25830
 
 
25831
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
25832
 
                        if test $ac_mid -le $ac_hi; then
25833
 
                          ac_lo= ac_hi=
25834
 
                          break
25835
 
                        fi
25836
 
                        ac_mid=`expr 2 '*' $ac_mid`
25837
 
fi
25838
 
 
25839
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25840
 
  done
25841
 
else
25842
 
  echo "$as_me: failed program was:" >&5
25843
 
sed 's/^/| /' conftest.$ac_ext >&5
25844
 
 
25845
 
        ac_lo= ac_hi=
25846
 
fi
25847
 
 
25848
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25849
 
fi
25850
 
 
25851
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25852
 
# Binary search between lo and hi bounds.
25853
 
while test "x$ac_lo" != "x$ac_hi"; do
25854
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25855
 
  cat >conftest.$ac_ext <<_ACEOF
25856
 
/* confdefs.h.  */
25857
 
_ACEOF
25858
 
cat confdefs.h >>conftest.$ac_ext
25859
 
cat >>conftest.$ac_ext <<_ACEOF
25860
 
/* end confdefs.h.  */
25861
 
$ac_includes_default
25862
 
   typedef int ac__type_sizeof_;
25863
 
int
25864
 
main ()
25865
 
{
25866
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25867
 
test_array [0] = 0
25868
 
 
25869
 
  ;
25870
 
  return 0;
25871
 
}
25872
 
_ACEOF
25873
 
rm -f conftest.$ac_objext
25874
 
if { (ac_try="$ac_compile"
25875
 
case "(($ac_try" in
25876
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25877
 
  *) ac_try_echo=$ac_try;;
25878
 
esac
25879
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25880
 
  (eval "$ac_compile") 2>conftest.er1
25881
 
  ac_status=$?
25882
 
  grep -v '^ *+' conftest.er1 >conftest.err
25883
 
  rm -f conftest.er1
25884
 
  cat conftest.err >&5
25885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886
 
  (exit $ac_status); } && {
25887
 
         test -z "$ac_c_werror_flag" ||
25888
 
         test ! -s conftest.err
25889
 
       } && test -s conftest.$ac_objext; then
25890
 
  ac_hi=$ac_mid
25891
 
else
25892
 
  echo "$as_me: failed program was:" >&5
25893
 
sed 's/^/| /' conftest.$ac_ext >&5
25894
 
 
25895
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
25896
 
fi
25897
 
 
25898
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25899
 
done
25900
 
case $ac_lo in
25901
 
?*) ac_cv_sizeof_int=$ac_lo;;
25902
 
'') if test "$ac_cv_type_int" = yes; then
25903
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25904
 
See \`config.log' for more details." >&5
25905
 
echo "$as_me: error: cannot compute sizeof (int)
25906
 
See \`config.log' for more details." >&2;}
25907
 
   { (exit 77); exit 77; }; }
25908
 
   else
25909
 
     ac_cv_sizeof_int=0
25910
 
   fi ;;
25911
 
esac
25912
 
else
25913
 
  cat >conftest.$ac_ext <<_ACEOF
25914
 
/* confdefs.h.  */
25915
 
_ACEOF
25916
 
cat confdefs.h >>conftest.$ac_ext
25917
 
cat >>conftest.$ac_ext <<_ACEOF
25918
 
/* end confdefs.h.  */
25919
 
$ac_includes_default
25920
 
   typedef int ac__type_sizeof_;
25921
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25922
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25923
 
#include <stdio.h>
25924
 
#include <stdlib.h>
25925
 
int
25926
 
main ()
25927
 
{
25928
 
 
25929
 
  FILE *f = fopen ("conftest.val", "w");
25930
 
  if (! f)
25931
 
    return 1;
25932
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25933
 
    {
25934
 
      long int i = longval ();
25935
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25936
 
        return 1;
25937
 
      fprintf (f, "%ld\n", i);
25938
 
    }
25939
 
  else
25940
 
    {
25941
 
      unsigned long int i = ulongval ();
25942
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
25943
 
        return 1;
25944
 
      fprintf (f, "%lu\n", i);
25945
 
    }
25946
 
  return ferror (f) || fclose (f) != 0;
25947
 
 
25948
 
  ;
25949
 
  return 0;
25950
 
}
25951
 
_ACEOF
25952
 
rm -f conftest$ac_exeext
25953
 
if { (ac_try="$ac_link"
25954
 
case "(($ac_try" in
25955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25956
 
  *) ac_try_echo=$ac_try;;
25957
 
esac
25958
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25959
 
  (eval "$ac_link") 2>&5
25960
 
  ac_status=$?
25961
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25963
 
  { (case "(($ac_try" in
25964
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25965
 
  *) ac_try_echo=$ac_try;;
25966
 
esac
25967
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25968
 
  (eval "$ac_try") 2>&5
25969
 
  ac_status=$?
25970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971
 
  (exit $ac_status); }; }; then
25972
 
  ac_cv_sizeof_int=`cat conftest.val`
25973
 
else
25974
 
  echo "$as_me: program exited with status $ac_status" >&5
25975
 
echo "$as_me: failed program was:" >&5
25976
 
sed 's/^/| /' conftest.$ac_ext >&5
25977
 
 
25978
 
( exit $ac_status )
25979
 
if test "$ac_cv_type_int" = yes; then
25980
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25981
 
See \`config.log' for more details." >&5
25982
 
echo "$as_me: error: cannot compute sizeof (int)
25983
 
See \`config.log' for more details." >&2;}
25984
 
   { (exit 77); exit 77; }; }
25985
 
   else
25986
 
     ac_cv_sizeof_int=0
25987
 
   fi
25988
 
fi
25989
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25990
 
fi
25991
 
rm -f conftest.val
25992
 
fi
25993
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
25994
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
25995
 
 
25996
 
 
25997
 
 
25998
 
cat >>confdefs.h <<_ACEOF
25999
 
#define SIZEOF_INT $ac_cv_sizeof_int
26000
 
_ACEOF
26001
 
 
26002
 
   { echo "$as_me:$LINENO: checking for short" >&5
26003
 
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
26004
 
if test "${ac_cv_type_short+set}" = set; then
26005
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26006
 
else
26007
 
  cat >conftest.$ac_ext <<_ACEOF
26008
 
/* confdefs.h.  */
26009
 
_ACEOF
26010
 
cat confdefs.h >>conftest.$ac_ext
26011
 
cat >>conftest.$ac_ext <<_ACEOF
26012
 
/* end confdefs.h.  */
26013
 
$ac_includes_default
26014
 
typedef short ac__type_new_;
26015
 
int
26016
 
main ()
26017
 
{
26018
 
if ((ac__type_new_ *) 0)
26019
 
  return 0;
26020
 
if (sizeof (ac__type_new_))
26021
 
  return 0;
26022
 
  ;
26023
 
  return 0;
26024
 
}
26025
 
_ACEOF
26026
 
rm -f conftest.$ac_objext
26027
 
if { (ac_try="$ac_compile"
26028
 
case "(($ac_try" in
26029
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26030
 
  *) ac_try_echo=$ac_try;;
26031
 
esac
26032
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26033
 
  (eval "$ac_compile") 2>conftest.er1
26034
 
  ac_status=$?
26035
 
  grep -v '^ *+' conftest.er1 >conftest.err
26036
 
  rm -f conftest.er1
26037
 
  cat conftest.err >&5
26038
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039
 
  (exit $ac_status); } && {
26040
 
         test -z "$ac_c_werror_flag" ||
26041
 
         test ! -s conftest.err
26042
 
       } && test -s conftest.$ac_objext; then
26043
 
  ac_cv_type_short=yes
26044
 
else
26045
 
  echo "$as_me: failed program was:" >&5
26046
 
sed 's/^/| /' conftest.$ac_ext >&5
26047
 
 
26048
 
        ac_cv_type_short=no
26049
 
fi
26050
 
 
26051
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26052
 
fi
26053
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
26054
 
echo "${ECHO_T}$ac_cv_type_short" >&6; }
26055
 
 
26056
 
# The cast to long int works around a bug in the HP C Compiler
26057
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26058
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26059
 
# This bug is HP SR number 8606223364.
26060
 
{ echo "$as_me:$LINENO: checking size of short" >&5
26061
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
26062
 
if test "${ac_cv_sizeof_short+set}" = set; then
26063
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26064
 
else
26065
 
  if test "$cross_compiling" = yes; then
26066
 
  # Depending upon the size, compute the lo and hi bounds.
26067
 
cat >conftest.$ac_ext <<_ACEOF
26068
 
/* confdefs.h.  */
26069
 
_ACEOF
26070
 
cat confdefs.h >>conftest.$ac_ext
26071
 
cat >>conftest.$ac_ext <<_ACEOF
26072
 
/* end confdefs.h.  */
26073
 
$ac_includes_default
26074
 
   typedef short ac__type_sizeof_;
26075
 
int
26076
 
main ()
26077
 
{
26078
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26079
 
test_array [0] = 0
26080
 
 
26081
 
  ;
26082
 
  return 0;
26083
 
}
26084
 
_ACEOF
26085
 
rm -f conftest.$ac_objext
26086
 
if { (ac_try="$ac_compile"
26087
 
case "(($ac_try" in
26088
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26089
 
  *) ac_try_echo=$ac_try;;
26090
 
esac
26091
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26092
 
  (eval "$ac_compile") 2>conftest.er1
26093
 
  ac_status=$?
26094
 
  grep -v '^ *+' conftest.er1 >conftest.err
26095
 
  rm -f conftest.er1
26096
 
  cat conftest.err >&5
26097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098
 
  (exit $ac_status); } && {
26099
 
         test -z "$ac_c_werror_flag" ||
26100
 
         test ! -s conftest.err
26101
 
       } && test -s conftest.$ac_objext; then
26102
 
  ac_lo=0 ac_mid=0
26103
 
  while :; do
26104
 
    cat >conftest.$ac_ext <<_ACEOF
26105
 
/* confdefs.h.  */
26106
 
_ACEOF
26107
 
cat confdefs.h >>conftest.$ac_ext
26108
 
cat >>conftest.$ac_ext <<_ACEOF
26109
 
/* end confdefs.h.  */
26110
 
$ac_includes_default
26111
 
   typedef short ac__type_sizeof_;
26112
 
int
26113
 
main ()
26114
 
{
26115
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26116
 
test_array [0] = 0
26117
 
 
26118
 
  ;
26119
 
  return 0;
26120
 
}
26121
 
_ACEOF
26122
 
rm -f conftest.$ac_objext
26123
 
if { (ac_try="$ac_compile"
26124
 
case "(($ac_try" in
26125
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26126
 
  *) ac_try_echo=$ac_try;;
26127
 
esac
26128
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26129
 
  (eval "$ac_compile") 2>conftest.er1
26130
 
  ac_status=$?
26131
 
  grep -v '^ *+' conftest.er1 >conftest.err
26132
 
  rm -f conftest.er1
26133
 
  cat conftest.err >&5
26134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135
 
  (exit $ac_status); } && {
26136
 
         test -z "$ac_c_werror_flag" ||
26137
 
         test ! -s conftest.err
26138
 
       } && test -s conftest.$ac_objext; then
26139
 
  ac_hi=$ac_mid; break
26140
 
else
26141
 
  echo "$as_me: failed program was:" >&5
26142
 
sed 's/^/| /' conftest.$ac_ext >&5
26143
 
 
26144
 
        ac_lo=`expr $ac_mid + 1`
26145
 
                        if test $ac_lo -le $ac_mid; then
26146
 
                          ac_lo= ac_hi=
26147
 
                          break
26148
 
                        fi
26149
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26150
 
fi
26151
 
 
26152
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26153
 
  done
26154
 
else
26155
 
  echo "$as_me: failed program was:" >&5
26156
 
sed 's/^/| /' conftest.$ac_ext >&5
26157
 
 
26158
 
        cat >conftest.$ac_ext <<_ACEOF
26159
 
/* confdefs.h.  */
26160
 
_ACEOF
26161
 
cat confdefs.h >>conftest.$ac_ext
26162
 
cat >>conftest.$ac_ext <<_ACEOF
26163
 
/* end confdefs.h.  */
26164
 
$ac_includes_default
26165
 
   typedef short ac__type_sizeof_;
26166
 
int
26167
 
main ()
26168
 
{
26169
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26170
 
test_array [0] = 0
26171
 
 
26172
 
  ;
26173
 
  return 0;
26174
 
}
26175
 
_ACEOF
26176
 
rm -f conftest.$ac_objext
26177
 
if { (ac_try="$ac_compile"
26178
 
case "(($ac_try" in
26179
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26180
 
  *) ac_try_echo=$ac_try;;
26181
 
esac
26182
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26183
 
  (eval "$ac_compile") 2>conftest.er1
26184
 
  ac_status=$?
26185
 
  grep -v '^ *+' conftest.er1 >conftest.err
26186
 
  rm -f conftest.er1
26187
 
  cat conftest.err >&5
26188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189
 
  (exit $ac_status); } && {
26190
 
         test -z "$ac_c_werror_flag" ||
26191
 
         test ! -s conftest.err
26192
 
       } && test -s conftest.$ac_objext; then
26193
 
  ac_hi=-1 ac_mid=-1
26194
 
  while :; do
26195
 
    cat >conftest.$ac_ext <<_ACEOF
26196
 
/* confdefs.h.  */
26197
 
_ACEOF
26198
 
cat confdefs.h >>conftest.$ac_ext
26199
 
cat >>conftest.$ac_ext <<_ACEOF
26200
 
/* end confdefs.h.  */
26201
 
$ac_includes_default
26202
 
   typedef short ac__type_sizeof_;
26203
 
int
26204
 
main ()
26205
 
{
26206
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26207
 
test_array [0] = 0
26208
 
 
26209
 
  ;
26210
 
  return 0;
26211
 
}
26212
 
_ACEOF
26213
 
rm -f conftest.$ac_objext
26214
 
if { (ac_try="$ac_compile"
26215
 
case "(($ac_try" in
26216
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26217
 
  *) ac_try_echo=$ac_try;;
26218
 
esac
26219
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26220
 
  (eval "$ac_compile") 2>conftest.er1
26221
 
  ac_status=$?
26222
 
  grep -v '^ *+' conftest.er1 >conftest.err
26223
 
  rm -f conftest.er1
26224
 
  cat conftest.err >&5
26225
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226
 
  (exit $ac_status); } && {
26227
 
         test -z "$ac_c_werror_flag" ||
26228
 
         test ! -s conftest.err
26229
 
       } && test -s conftest.$ac_objext; then
26230
 
  ac_lo=$ac_mid; break
26231
 
else
26232
 
  echo "$as_me: failed program was:" >&5
26233
 
sed 's/^/| /' conftest.$ac_ext >&5
26234
 
 
26235
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26236
 
                        if test $ac_mid -le $ac_hi; then
26237
 
                          ac_lo= ac_hi=
26238
 
                          break
26239
 
                        fi
26240
 
                        ac_mid=`expr 2 '*' $ac_mid`
26241
 
fi
26242
 
 
26243
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244
 
  done
26245
 
else
26246
 
  echo "$as_me: failed program was:" >&5
26247
 
sed 's/^/| /' conftest.$ac_ext >&5
26248
 
 
26249
 
        ac_lo= ac_hi=
26250
 
fi
26251
 
 
26252
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26253
 
fi
26254
 
 
26255
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26256
 
# Binary search between lo and hi bounds.
26257
 
while test "x$ac_lo" != "x$ac_hi"; do
26258
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26259
 
  cat >conftest.$ac_ext <<_ACEOF
26260
 
/* confdefs.h.  */
26261
 
_ACEOF
26262
 
cat confdefs.h >>conftest.$ac_ext
26263
 
cat >>conftest.$ac_ext <<_ACEOF
26264
 
/* end confdefs.h.  */
26265
 
$ac_includes_default
26266
 
   typedef short ac__type_sizeof_;
26267
 
int
26268
 
main ()
26269
 
{
26270
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26271
 
test_array [0] = 0
26272
 
 
26273
 
  ;
26274
 
  return 0;
26275
 
}
26276
 
_ACEOF
26277
 
rm -f conftest.$ac_objext
26278
 
if { (ac_try="$ac_compile"
26279
 
case "(($ac_try" in
26280
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26281
 
  *) ac_try_echo=$ac_try;;
26282
 
esac
26283
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26284
 
  (eval "$ac_compile") 2>conftest.er1
26285
 
  ac_status=$?
26286
 
  grep -v '^ *+' conftest.er1 >conftest.err
26287
 
  rm -f conftest.er1
26288
 
  cat conftest.err >&5
26289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26290
 
  (exit $ac_status); } && {
26291
 
         test -z "$ac_c_werror_flag" ||
26292
 
         test ! -s conftest.err
26293
 
       } && test -s conftest.$ac_objext; then
26294
 
  ac_hi=$ac_mid
26295
 
else
26296
 
  echo "$as_me: failed program was:" >&5
26297
 
sed 's/^/| /' conftest.$ac_ext >&5
26298
 
 
26299
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26300
 
fi
26301
 
 
26302
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26303
 
done
26304
 
case $ac_lo in
26305
 
?*) ac_cv_sizeof_short=$ac_lo;;
26306
 
'') if test "$ac_cv_type_short" = yes; then
26307
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26308
 
See \`config.log' for more details." >&5
26309
 
echo "$as_me: error: cannot compute sizeof (short)
26310
 
See \`config.log' for more details." >&2;}
26311
 
   { (exit 77); exit 77; }; }
26312
 
   else
26313
 
     ac_cv_sizeof_short=0
26314
 
   fi ;;
26315
 
esac
26316
 
else
26317
 
  cat >conftest.$ac_ext <<_ACEOF
26318
 
/* confdefs.h.  */
26319
 
_ACEOF
26320
 
cat confdefs.h >>conftest.$ac_ext
26321
 
cat >>conftest.$ac_ext <<_ACEOF
26322
 
/* end confdefs.h.  */
26323
 
$ac_includes_default
26324
 
   typedef short ac__type_sizeof_;
26325
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26326
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26327
 
#include <stdio.h>
26328
 
#include <stdlib.h>
26329
 
int
26330
 
main ()
26331
 
{
26332
 
 
26333
 
  FILE *f = fopen ("conftest.val", "w");
26334
 
  if (! f)
26335
 
    return 1;
26336
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26337
 
    {
26338
 
      long int i = longval ();
26339
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26340
 
        return 1;
26341
 
      fprintf (f, "%ld\n", i);
26342
 
    }
26343
 
  else
26344
 
    {
26345
 
      unsigned long int i = ulongval ();
26346
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26347
 
        return 1;
26348
 
      fprintf (f, "%lu\n", i);
26349
 
    }
26350
 
  return ferror (f) || fclose (f) != 0;
26351
 
 
26352
 
  ;
26353
 
  return 0;
26354
 
}
26355
 
_ACEOF
26356
 
rm -f conftest$ac_exeext
26357
 
if { (ac_try="$ac_link"
26358
 
case "(($ac_try" in
26359
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26360
 
  *) ac_try_echo=$ac_try;;
26361
 
esac
26362
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26363
 
  (eval "$ac_link") 2>&5
26364
 
  ac_status=$?
26365
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26367
 
  { (case "(($ac_try" in
26368
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26369
 
  *) ac_try_echo=$ac_try;;
26370
 
esac
26371
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26372
 
  (eval "$ac_try") 2>&5
26373
 
  ac_status=$?
26374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375
 
  (exit $ac_status); }; }; then
26376
 
  ac_cv_sizeof_short=`cat conftest.val`
26377
 
else
26378
 
  echo "$as_me: program exited with status $ac_status" >&5
26379
 
echo "$as_me: failed program was:" >&5
26380
 
sed 's/^/| /' conftest.$ac_ext >&5
26381
 
 
26382
 
( exit $ac_status )
26383
 
if test "$ac_cv_type_short" = yes; then
26384
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26385
 
See \`config.log' for more details." >&5
26386
 
echo "$as_me: error: cannot compute sizeof (short)
26387
 
See \`config.log' for more details." >&2;}
26388
 
   { (exit 77); exit 77; }; }
26389
 
   else
26390
 
     ac_cv_sizeof_short=0
26391
 
   fi
26392
 
fi
26393
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26394
 
fi
26395
 
rm -f conftest.val
26396
 
fi
26397
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
26398
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
26399
 
 
26400
 
 
26401
 
 
26402
 
cat >>confdefs.h <<_ACEOF
26403
 
#define SIZEOF_SHORT $ac_cv_sizeof_short
26404
 
_ACEOF
26405
 
 
26406
 
  { echo "$as_me:$LINENO: checking for long" >&5
26407
 
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
26408
 
if test "${ac_cv_type_long+set}" = set; then
26409
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26410
 
else
26411
 
  cat >conftest.$ac_ext <<_ACEOF
26412
 
/* confdefs.h.  */
26413
 
_ACEOF
26414
 
cat confdefs.h >>conftest.$ac_ext
26415
 
cat >>conftest.$ac_ext <<_ACEOF
26416
 
/* end confdefs.h.  */
26417
 
$ac_includes_default
26418
 
typedef long ac__type_new_;
26419
 
int
26420
 
main ()
26421
 
{
26422
 
if ((ac__type_new_ *) 0)
26423
 
  return 0;
26424
 
if (sizeof (ac__type_new_))
26425
 
  return 0;
26426
 
  ;
26427
 
  return 0;
26428
 
}
26429
 
_ACEOF
26430
 
rm -f conftest.$ac_objext
26431
 
if { (ac_try="$ac_compile"
26432
 
case "(($ac_try" in
26433
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26434
 
  *) ac_try_echo=$ac_try;;
26435
 
esac
26436
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26437
 
  (eval "$ac_compile") 2>conftest.er1
26438
 
  ac_status=$?
26439
 
  grep -v '^ *+' conftest.er1 >conftest.err
26440
 
  rm -f conftest.er1
26441
 
  cat conftest.err >&5
26442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443
 
  (exit $ac_status); } && {
26444
 
         test -z "$ac_c_werror_flag" ||
26445
 
         test ! -s conftest.err
26446
 
       } && test -s conftest.$ac_objext; then
26447
 
  ac_cv_type_long=yes
26448
 
else
26449
 
  echo "$as_me: failed program was:" >&5
26450
 
sed 's/^/| /' conftest.$ac_ext >&5
26451
 
 
26452
 
        ac_cv_type_long=no
26453
 
fi
26454
 
 
26455
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26456
 
fi
26457
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
26458
 
echo "${ECHO_T}$ac_cv_type_long" >&6; }
26459
 
 
26460
 
# The cast to long int works around a bug in the HP C Compiler
26461
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26462
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26463
 
# This bug is HP SR number 8606223364.
26464
 
{ echo "$as_me:$LINENO: checking size of long" >&5
26465
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
26466
 
if test "${ac_cv_sizeof_long+set}" = set; then
26467
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26468
 
else
26469
 
  if test "$cross_compiling" = yes; then
26470
 
  # Depending upon the size, compute the lo and hi bounds.
26471
 
cat >conftest.$ac_ext <<_ACEOF
26472
 
/* confdefs.h.  */
26473
 
_ACEOF
26474
 
cat confdefs.h >>conftest.$ac_ext
26475
 
cat >>conftest.$ac_ext <<_ACEOF
26476
 
/* end confdefs.h.  */
26477
 
$ac_includes_default
26478
 
   typedef long ac__type_sizeof_;
26479
 
int
26480
 
main ()
26481
 
{
26482
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26483
 
test_array [0] = 0
26484
 
 
26485
 
  ;
26486
 
  return 0;
26487
 
}
26488
 
_ACEOF
26489
 
rm -f conftest.$ac_objext
26490
 
if { (ac_try="$ac_compile"
26491
 
case "(($ac_try" in
26492
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26493
 
  *) ac_try_echo=$ac_try;;
26494
 
esac
26495
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26496
 
  (eval "$ac_compile") 2>conftest.er1
26497
 
  ac_status=$?
26498
 
  grep -v '^ *+' conftest.er1 >conftest.err
26499
 
  rm -f conftest.er1
26500
 
  cat conftest.err >&5
26501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502
 
  (exit $ac_status); } && {
26503
 
         test -z "$ac_c_werror_flag" ||
26504
 
         test ! -s conftest.err
26505
 
       } && test -s conftest.$ac_objext; then
26506
 
  ac_lo=0 ac_mid=0
26507
 
  while :; do
26508
 
    cat >conftest.$ac_ext <<_ACEOF
26509
 
/* confdefs.h.  */
26510
 
_ACEOF
26511
 
cat confdefs.h >>conftest.$ac_ext
26512
 
cat >>conftest.$ac_ext <<_ACEOF
26513
 
/* end confdefs.h.  */
26514
 
$ac_includes_default
26515
 
   typedef long ac__type_sizeof_;
26516
 
int
26517
 
main ()
26518
 
{
26519
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26520
 
test_array [0] = 0
26521
 
 
26522
 
  ;
26523
 
  return 0;
26524
 
}
26525
 
_ACEOF
26526
 
rm -f conftest.$ac_objext
26527
 
if { (ac_try="$ac_compile"
26528
 
case "(($ac_try" in
26529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26530
 
  *) ac_try_echo=$ac_try;;
26531
 
esac
26532
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26533
 
  (eval "$ac_compile") 2>conftest.er1
26534
 
  ac_status=$?
26535
 
  grep -v '^ *+' conftest.er1 >conftest.err
26536
 
  rm -f conftest.er1
26537
 
  cat conftest.err >&5
26538
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539
 
  (exit $ac_status); } && {
26540
 
         test -z "$ac_c_werror_flag" ||
26541
 
         test ! -s conftest.err
26542
 
       } && test -s conftest.$ac_objext; then
26543
 
  ac_hi=$ac_mid; break
26544
 
else
26545
 
  echo "$as_me: failed program was:" >&5
26546
 
sed 's/^/| /' conftest.$ac_ext >&5
26547
 
 
26548
 
        ac_lo=`expr $ac_mid + 1`
26549
 
                        if test $ac_lo -le $ac_mid; then
26550
 
                          ac_lo= ac_hi=
26551
 
                          break
26552
 
                        fi
26553
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26554
 
fi
26555
 
 
26556
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26557
 
  done
26558
 
else
26559
 
  echo "$as_me: failed program was:" >&5
26560
 
sed 's/^/| /' conftest.$ac_ext >&5
26561
 
 
26562
 
        cat >conftest.$ac_ext <<_ACEOF
26563
 
/* confdefs.h.  */
26564
 
_ACEOF
26565
 
cat confdefs.h >>conftest.$ac_ext
26566
 
cat >>conftest.$ac_ext <<_ACEOF
26567
 
/* end confdefs.h.  */
26568
 
$ac_includes_default
26569
 
   typedef long ac__type_sizeof_;
26570
 
int
26571
 
main ()
26572
 
{
26573
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26574
 
test_array [0] = 0
26575
 
 
26576
 
  ;
26577
 
  return 0;
26578
 
}
26579
 
_ACEOF
26580
 
rm -f conftest.$ac_objext
26581
 
if { (ac_try="$ac_compile"
26582
 
case "(($ac_try" in
26583
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26584
 
  *) ac_try_echo=$ac_try;;
26585
 
esac
26586
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26587
 
  (eval "$ac_compile") 2>conftest.er1
26588
 
  ac_status=$?
26589
 
  grep -v '^ *+' conftest.er1 >conftest.err
26590
 
  rm -f conftest.er1
26591
 
  cat conftest.err >&5
26592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593
 
  (exit $ac_status); } && {
26594
 
         test -z "$ac_c_werror_flag" ||
26595
 
         test ! -s conftest.err
26596
 
       } && test -s conftest.$ac_objext; then
26597
 
  ac_hi=-1 ac_mid=-1
26598
 
  while :; do
26599
 
    cat >conftest.$ac_ext <<_ACEOF
26600
 
/* confdefs.h.  */
26601
 
_ACEOF
26602
 
cat confdefs.h >>conftest.$ac_ext
26603
 
cat >>conftest.$ac_ext <<_ACEOF
26604
 
/* end confdefs.h.  */
26605
 
$ac_includes_default
26606
 
   typedef long ac__type_sizeof_;
26607
 
int
26608
 
main ()
26609
 
{
26610
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26611
 
test_array [0] = 0
26612
 
 
26613
 
  ;
26614
 
  return 0;
26615
 
}
26616
 
_ACEOF
26617
 
rm -f conftest.$ac_objext
26618
 
if { (ac_try="$ac_compile"
26619
 
case "(($ac_try" in
26620
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26621
 
  *) ac_try_echo=$ac_try;;
26622
 
esac
26623
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26624
 
  (eval "$ac_compile") 2>conftest.er1
26625
 
  ac_status=$?
26626
 
  grep -v '^ *+' conftest.er1 >conftest.err
26627
 
  rm -f conftest.er1
26628
 
  cat conftest.err >&5
26629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26630
 
  (exit $ac_status); } && {
26631
 
         test -z "$ac_c_werror_flag" ||
26632
 
         test ! -s conftest.err
26633
 
       } && test -s conftest.$ac_objext; then
26634
 
  ac_lo=$ac_mid; break
26635
 
else
26636
 
  echo "$as_me: failed program was:" >&5
26637
 
sed 's/^/| /' conftest.$ac_ext >&5
26638
 
 
26639
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
26640
 
                        if test $ac_mid -le $ac_hi; then
26641
 
                          ac_lo= ac_hi=
26642
 
                          break
26643
 
                        fi
26644
 
                        ac_mid=`expr 2 '*' $ac_mid`
26645
 
fi
26646
 
 
26647
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648
 
  done
26649
 
else
26650
 
  echo "$as_me: failed program was:" >&5
26651
 
sed 's/^/| /' conftest.$ac_ext >&5
26652
 
 
26653
 
        ac_lo= ac_hi=
26654
 
fi
26655
 
 
26656
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26657
 
fi
26658
 
 
26659
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26660
 
# Binary search between lo and hi bounds.
26661
 
while test "x$ac_lo" != "x$ac_hi"; do
26662
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26663
 
  cat >conftest.$ac_ext <<_ACEOF
26664
 
/* confdefs.h.  */
26665
 
_ACEOF
26666
 
cat confdefs.h >>conftest.$ac_ext
26667
 
cat >>conftest.$ac_ext <<_ACEOF
26668
 
/* end confdefs.h.  */
26669
 
$ac_includes_default
26670
 
   typedef long ac__type_sizeof_;
26671
 
int
26672
 
main ()
26673
 
{
26674
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26675
 
test_array [0] = 0
26676
 
 
26677
 
  ;
26678
 
  return 0;
26679
 
}
26680
 
_ACEOF
26681
 
rm -f conftest.$ac_objext
26682
 
if { (ac_try="$ac_compile"
26683
 
case "(($ac_try" in
26684
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26685
 
  *) ac_try_echo=$ac_try;;
26686
 
esac
26687
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26688
 
  (eval "$ac_compile") 2>conftest.er1
26689
 
  ac_status=$?
26690
 
  grep -v '^ *+' conftest.er1 >conftest.err
26691
 
  rm -f conftest.er1
26692
 
  cat conftest.err >&5
26693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694
 
  (exit $ac_status); } && {
26695
 
         test -z "$ac_c_werror_flag" ||
26696
 
         test ! -s conftest.err
26697
 
       } && test -s conftest.$ac_objext; then
26698
 
  ac_hi=$ac_mid
26699
 
else
26700
 
  echo "$as_me: failed program was:" >&5
26701
 
sed 's/^/| /' conftest.$ac_ext >&5
26702
 
 
26703
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
26704
 
fi
26705
 
 
26706
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26707
 
done
26708
 
case $ac_lo in
26709
 
?*) ac_cv_sizeof_long=$ac_lo;;
26710
 
'') if test "$ac_cv_type_long" = yes; then
26711
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26712
 
See \`config.log' for more details." >&5
26713
 
echo "$as_me: error: cannot compute sizeof (long)
26714
 
See \`config.log' for more details." >&2;}
26715
 
   { (exit 77); exit 77; }; }
26716
 
   else
26717
 
     ac_cv_sizeof_long=0
26718
 
   fi ;;
26719
 
esac
26720
 
else
26721
 
  cat >conftest.$ac_ext <<_ACEOF
26722
 
/* confdefs.h.  */
26723
 
_ACEOF
26724
 
cat confdefs.h >>conftest.$ac_ext
26725
 
cat >>conftest.$ac_ext <<_ACEOF
26726
 
/* end confdefs.h.  */
26727
 
$ac_includes_default
26728
 
   typedef long ac__type_sizeof_;
26729
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26730
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26731
 
#include <stdio.h>
26732
 
#include <stdlib.h>
26733
 
int
26734
 
main ()
26735
 
{
26736
 
 
26737
 
  FILE *f = fopen ("conftest.val", "w");
26738
 
  if (! f)
26739
 
    return 1;
26740
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26741
 
    {
26742
 
      long int i = longval ();
26743
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26744
 
        return 1;
26745
 
      fprintf (f, "%ld\n", i);
26746
 
    }
26747
 
  else
26748
 
    {
26749
 
      unsigned long int i = ulongval ();
26750
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
26751
 
        return 1;
26752
 
      fprintf (f, "%lu\n", i);
26753
 
    }
26754
 
  return ferror (f) || fclose (f) != 0;
26755
 
 
26756
 
  ;
26757
 
  return 0;
26758
 
}
26759
 
_ACEOF
26760
 
rm -f conftest$ac_exeext
26761
 
if { (ac_try="$ac_link"
26762
 
case "(($ac_try" in
26763
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26764
 
  *) ac_try_echo=$ac_try;;
26765
 
esac
26766
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26767
 
  (eval "$ac_link") 2>&5
26768
 
  ac_status=$?
26769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26771
 
  { (case "(($ac_try" in
26772
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26773
 
  *) ac_try_echo=$ac_try;;
26774
 
esac
26775
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26776
 
  (eval "$ac_try") 2>&5
26777
 
  ac_status=$?
26778
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779
 
  (exit $ac_status); }; }; then
26780
 
  ac_cv_sizeof_long=`cat conftest.val`
26781
 
else
26782
 
  echo "$as_me: program exited with status $ac_status" >&5
26783
 
echo "$as_me: failed program was:" >&5
26784
 
sed 's/^/| /' conftest.$ac_ext >&5
26785
 
 
26786
 
( exit $ac_status )
26787
 
if test "$ac_cv_type_long" = yes; then
26788
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26789
 
See \`config.log' for more details." >&5
26790
 
echo "$as_me: error: cannot compute sizeof (long)
26791
 
See \`config.log' for more details." >&2;}
26792
 
   { (exit 77); exit 77; }; }
26793
 
   else
26794
 
     ac_cv_sizeof_long=0
26795
 
   fi
26796
 
fi
26797
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26798
 
fi
26799
 
rm -f conftest.val
26800
 
fi
26801
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
26802
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
26803
 
 
26804
 
 
26805
 
 
26806
 
cat >>confdefs.h <<_ACEOF
26807
 
#define SIZEOF_LONG $ac_cv_sizeof_long
26808
 
_ACEOF
26809
 
 
26810
 
  { echo "$as_me:$LINENO: checking for char *" >&5
26811
 
echo $ECHO_N "checking for char *... $ECHO_C" >&6; }
26812
 
if test "${ac_cv_type_char_p+set}" = set; then
26813
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26814
 
else
26815
 
  cat >conftest.$ac_ext <<_ACEOF
26816
 
/* confdefs.h.  */
26817
 
_ACEOF
26818
 
cat confdefs.h >>conftest.$ac_ext
26819
 
cat >>conftest.$ac_ext <<_ACEOF
26820
 
/* end confdefs.h.  */
26821
 
$ac_includes_default
26822
 
typedef char * ac__type_new_;
26823
 
int
26824
 
main ()
26825
 
{
26826
 
if ((ac__type_new_ *) 0)
26827
 
  return 0;
26828
 
if (sizeof (ac__type_new_))
26829
 
  return 0;
26830
 
  ;
26831
 
  return 0;
26832
 
}
26833
 
_ACEOF
26834
 
rm -f conftest.$ac_objext
26835
 
if { (ac_try="$ac_compile"
26836
 
case "(($ac_try" in
26837
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26838
 
  *) ac_try_echo=$ac_try;;
26839
 
esac
26840
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841
 
  (eval "$ac_compile") 2>conftest.er1
26842
 
  ac_status=$?
26843
 
  grep -v '^ *+' conftest.er1 >conftest.err
26844
 
  rm -f conftest.er1
26845
 
  cat conftest.err >&5
26846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847
 
  (exit $ac_status); } && {
26848
 
         test -z "$ac_c_werror_flag" ||
26849
 
         test ! -s conftest.err
26850
 
       } && test -s conftest.$ac_objext; then
26851
 
  ac_cv_type_char_p=yes
26852
 
else
26853
 
  echo "$as_me: failed program was:" >&5
26854
 
sed 's/^/| /' conftest.$ac_ext >&5
26855
 
 
26856
 
        ac_cv_type_char_p=no
26857
 
fi
26858
 
 
26859
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26860
 
fi
26861
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
26862
 
echo "${ECHO_T}$ac_cv_type_char_p" >&6; }
26863
 
 
26864
 
# The cast to long int works around a bug in the HP C Compiler
26865
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26866
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26867
 
# This bug is HP SR number 8606223364.
26868
 
{ echo "$as_me:$LINENO: checking size of char *" >&5
26869
 
echo $ECHO_N "checking size of char *... $ECHO_C" >&6; }
26870
 
if test "${ac_cv_sizeof_char_p+set}" = set; then
26871
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
26872
 
else
26873
 
  if test "$cross_compiling" = yes; then
26874
 
  # Depending upon the size, compute the lo and hi bounds.
26875
 
cat >conftest.$ac_ext <<_ACEOF
26876
 
/* confdefs.h.  */
26877
 
_ACEOF
26878
 
cat confdefs.h >>conftest.$ac_ext
26879
 
cat >>conftest.$ac_ext <<_ACEOF
26880
 
/* end confdefs.h.  */
26881
 
$ac_includes_default
26882
 
   typedef char * ac__type_sizeof_;
26883
 
int
26884
 
main ()
26885
 
{
26886
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26887
 
test_array [0] = 0
26888
 
 
26889
 
  ;
26890
 
  return 0;
26891
 
}
26892
 
_ACEOF
26893
 
rm -f conftest.$ac_objext
26894
 
if { (ac_try="$ac_compile"
26895
 
case "(($ac_try" in
26896
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26897
 
  *) ac_try_echo=$ac_try;;
26898
 
esac
26899
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26900
 
  (eval "$ac_compile") 2>conftest.er1
26901
 
  ac_status=$?
26902
 
  grep -v '^ *+' conftest.er1 >conftest.err
26903
 
  rm -f conftest.er1
26904
 
  cat conftest.err >&5
26905
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906
 
  (exit $ac_status); } && {
26907
 
         test -z "$ac_c_werror_flag" ||
26908
 
         test ! -s conftest.err
26909
 
       } && test -s conftest.$ac_objext; then
26910
 
  ac_lo=0 ac_mid=0
26911
 
  while :; do
26912
 
    cat >conftest.$ac_ext <<_ACEOF
26913
 
/* confdefs.h.  */
26914
 
_ACEOF
26915
 
cat confdefs.h >>conftest.$ac_ext
26916
 
cat >>conftest.$ac_ext <<_ACEOF
26917
 
/* end confdefs.h.  */
26918
 
$ac_includes_default
26919
 
   typedef char * ac__type_sizeof_;
26920
 
int
26921
 
main ()
26922
 
{
26923
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26924
 
test_array [0] = 0
26925
 
 
26926
 
  ;
26927
 
  return 0;
26928
 
}
26929
 
_ACEOF
26930
 
rm -f conftest.$ac_objext
26931
 
if { (ac_try="$ac_compile"
26932
 
case "(($ac_try" in
26933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26934
 
  *) ac_try_echo=$ac_try;;
26935
 
esac
26936
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26937
 
  (eval "$ac_compile") 2>conftest.er1
26938
 
  ac_status=$?
26939
 
  grep -v '^ *+' conftest.er1 >conftest.err
26940
 
  rm -f conftest.er1
26941
 
  cat conftest.err >&5
26942
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943
 
  (exit $ac_status); } && {
26944
 
         test -z "$ac_c_werror_flag" ||
26945
 
         test ! -s conftest.err
26946
 
       } && test -s conftest.$ac_objext; then
26947
 
  ac_hi=$ac_mid; break
26948
 
else
26949
 
  echo "$as_me: failed program was:" >&5
26950
 
sed 's/^/| /' conftest.$ac_ext >&5
26951
 
 
26952
 
        ac_lo=`expr $ac_mid + 1`
26953
 
                        if test $ac_lo -le $ac_mid; then
26954
 
                          ac_lo= ac_hi=
26955
 
                          break
26956
 
                        fi
26957
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26958
 
fi
26959
 
 
26960
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26961
 
  done
26962
 
else
26963
 
  echo "$as_me: failed program was:" >&5
26964
 
sed 's/^/| /' conftest.$ac_ext >&5
26965
 
 
26966
 
        cat >conftest.$ac_ext <<_ACEOF
26967
 
/* confdefs.h.  */
26968
 
_ACEOF
26969
 
cat confdefs.h >>conftest.$ac_ext
26970
 
cat >>conftest.$ac_ext <<_ACEOF
26971
 
/* end confdefs.h.  */
26972
 
$ac_includes_default
26973
 
   typedef char * ac__type_sizeof_;
26974
 
int
26975
 
main ()
26976
 
{
26977
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26978
 
test_array [0] = 0
26979
 
 
26980
 
  ;
26981
 
  return 0;
26982
 
}
26983
 
_ACEOF
26984
 
rm -f conftest.$ac_objext
26985
 
if { (ac_try="$ac_compile"
26986
 
case "(($ac_try" in
26987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26988
 
  *) ac_try_echo=$ac_try;;
26989
 
esac
26990
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26991
 
  (eval "$ac_compile") 2>conftest.er1
26992
 
  ac_status=$?
26993
 
  grep -v '^ *+' conftest.er1 >conftest.err
26994
 
  rm -f conftest.er1
26995
 
  cat conftest.err >&5
26996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997
 
  (exit $ac_status); } && {
26998
 
         test -z "$ac_c_werror_flag" ||
26999
 
         test ! -s conftest.err
27000
 
       } && test -s conftest.$ac_objext; then
27001
 
  ac_hi=-1 ac_mid=-1
27002
 
  while :; do
27003
 
    cat >conftest.$ac_ext <<_ACEOF
27004
 
/* confdefs.h.  */
27005
 
_ACEOF
27006
 
cat confdefs.h >>conftest.$ac_ext
27007
 
cat >>conftest.$ac_ext <<_ACEOF
27008
 
/* end confdefs.h.  */
27009
 
$ac_includes_default
27010
 
   typedef char * ac__type_sizeof_;
27011
 
int
27012
 
main ()
27013
 
{
27014
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27015
 
test_array [0] = 0
27016
 
 
27017
 
  ;
27018
 
  return 0;
27019
 
}
27020
 
_ACEOF
27021
 
rm -f conftest.$ac_objext
27022
 
if { (ac_try="$ac_compile"
27023
 
case "(($ac_try" in
27024
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27025
 
  *) ac_try_echo=$ac_try;;
27026
 
esac
27027
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27028
 
  (eval "$ac_compile") 2>conftest.er1
27029
 
  ac_status=$?
27030
 
  grep -v '^ *+' conftest.er1 >conftest.err
27031
 
  rm -f conftest.er1
27032
 
  cat conftest.err >&5
27033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034
 
  (exit $ac_status); } && {
27035
 
         test -z "$ac_c_werror_flag" ||
27036
 
         test ! -s conftest.err
27037
 
       } && test -s conftest.$ac_objext; then
27038
 
  ac_lo=$ac_mid; break
27039
 
else
27040
 
  echo "$as_me: failed program was:" >&5
27041
 
sed 's/^/| /' conftest.$ac_ext >&5
27042
 
 
27043
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27044
 
                        if test $ac_mid -le $ac_hi; then
27045
 
                          ac_lo= ac_hi=
27046
 
                          break
27047
 
                        fi
27048
 
                        ac_mid=`expr 2 '*' $ac_mid`
27049
 
fi
27050
 
 
27051
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27052
 
  done
27053
 
else
27054
 
  echo "$as_me: failed program was:" >&5
27055
 
sed 's/^/| /' conftest.$ac_ext >&5
27056
 
 
27057
 
        ac_lo= ac_hi=
27058
 
fi
27059
 
 
27060
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27061
 
fi
27062
 
 
27063
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27064
 
# Binary search between lo and hi bounds.
27065
 
while test "x$ac_lo" != "x$ac_hi"; do
27066
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27067
 
  cat >conftest.$ac_ext <<_ACEOF
27068
 
/* confdefs.h.  */
27069
 
_ACEOF
27070
 
cat confdefs.h >>conftest.$ac_ext
27071
 
cat >>conftest.$ac_ext <<_ACEOF
27072
 
/* end confdefs.h.  */
27073
 
$ac_includes_default
27074
 
   typedef char * ac__type_sizeof_;
27075
 
int
27076
 
main ()
27077
 
{
27078
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27079
 
test_array [0] = 0
27080
 
 
27081
 
  ;
27082
 
  return 0;
27083
 
}
27084
 
_ACEOF
27085
 
rm -f conftest.$ac_objext
27086
 
if { (ac_try="$ac_compile"
27087
 
case "(($ac_try" in
27088
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27089
 
  *) ac_try_echo=$ac_try;;
27090
 
esac
27091
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27092
 
  (eval "$ac_compile") 2>conftest.er1
27093
 
  ac_status=$?
27094
 
  grep -v '^ *+' conftest.er1 >conftest.err
27095
 
  rm -f conftest.er1
27096
 
  cat conftest.err >&5
27097
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098
 
  (exit $ac_status); } && {
27099
 
         test -z "$ac_c_werror_flag" ||
27100
 
         test ! -s conftest.err
27101
 
       } && test -s conftest.$ac_objext; then
27102
 
  ac_hi=$ac_mid
27103
 
else
27104
 
  echo "$as_me: failed program was:" >&5
27105
 
sed 's/^/| /' conftest.$ac_ext >&5
27106
 
 
27107
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
27108
 
fi
27109
 
 
27110
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27111
 
done
27112
 
case $ac_lo in
27113
 
?*) ac_cv_sizeof_char_p=$ac_lo;;
27114
 
'') if test "$ac_cv_type_char_p" = yes; then
27115
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27116
 
See \`config.log' for more details." >&5
27117
 
echo "$as_me: error: cannot compute sizeof (char *)
27118
 
See \`config.log' for more details." >&2;}
27119
 
   { (exit 77); exit 77; }; }
27120
 
   else
27121
 
     ac_cv_sizeof_char_p=0
27122
 
   fi ;;
27123
 
esac
27124
 
else
27125
 
  cat >conftest.$ac_ext <<_ACEOF
27126
 
/* confdefs.h.  */
27127
 
_ACEOF
27128
 
cat confdefs.h >>conftest.$ac_ext
27129
 
cat >>conftest.$ac_ext <<_ACEOF
27130
 
/* end confdefs.h.  */
27131
 
$ac_includes_default
27132
 
   typedef char * ac__type_sizeof_;
27133
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27134
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27135
 
#include <stdio.h>
27136
 
#include <stdlib.h>
27137
 
int
27138
 
main ()
27139
 
{
27140
 
 
27141
 
  FILE *f = fopen ("conftest.val", "w");
27142
 
  if (! f)
27143
 
    return 1;
27144
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27145
 
    {
27146
 
      long int i = longval ();
27147
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27148
 
        return 1;
27149
 
      fprintf (f, "%ld\n", i);
27150
 
    }
27151
 
  else
27152
 
    {
27153
 
      unsigned long int i = ulongval ();
27154
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27155
 
        return 1;
27156
 
      fprintf (f, "%lu\n", i);
27157
 
    }
27158
 
  return ferror (f) || fclose (f) != 0;
27159
 
 
27160
 
  ;
27161
 
  return 0;
27162
 
}
27163
 
_ACEOF
27164
 
rm -f conftest$ac_exeext
27165
 
if { (ac_try="$ac_link"
27166
 
case "(($ac_try" in
27167
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27168
 
  *) ac_try_echo=$ac_try;;
27169
 
esac
27170
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27171
 
  (eval "$ac_link") 2>&5
27172
 
  ac_status=$?
27173
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27175
 
  { (case "(($ac_try" in
27176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27177
 
  *) ac_try_echo=$ac_try;;
27178
 
esac
27179
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27180
 
  (eval "$ac_try") 2>&5
27181
 
  ac_status=$?
27182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183
 
  (exit $ac_status); }; }; then
27184
 
  ac_cv_sizeof_char_p=`cat conftest.val`
27185
 
else
27186
 
  echo "$as_me: program exited with status $ac_status" >&5
27187
 
echo "$as_me: failed program was:" >&5
27188
 
sed 's/^/| /' conftest.$ac_ext >&5
27189
 
 
27190
 
( exit $ac_status )
27191
 
if test "$ac_cv_type_char_p" = yes; then
27192
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27193
 
See \`config.log' for more details." >&5
27194
 
echo "$as_me: error: cannot compute sizeof (char *)
27195
 
See \`config.log' for more details." >&2;}
27196
 
   { (exit 77); exit 77; }; }
27197
 
   else
27198
 
     ac_cv_sizeof_char_p=0
27199
 
   fi
27200
 
fi
27201
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27202
 
fi
27203
 
rm -f conftest.val
27204
 
fi
27205
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
27206
 
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6; }
27207
 
 
27208
 
 
27209
 
 
27210
 
cat >>confdefs.h <<_ACEOF
27211
 
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
27212
 
_ACEOF
27213
 
 
27214
 
 
27215
 
 
27216
 
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27217
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
27218
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27220
 
else
27221
 
  ac_check_lib_save_LIBS=$LIBS
27222
 
LIBS="-ldl  $LIBS"
27223
 
cat >conftest.$ac_ext <<_ACEOF
27224
 
/* confdefs.h.  */
27225
 
_ACEOF
27226
 
cat confdefs.h >>conftest.$ac_ext
27227
 
cat >>conftest.$ac_ext <<_ACEOF
27228
 
/* end confdefs.h.  */
27229
 
 
27230
 
/* Override any GCC internal prototype to avoid an error.
27231
 
   Use char because int might match the return type of a GCC
27232
 
   builtin and then its argument prototype would still apply.  */
27233
 
#ifdef __cplusplus
27234
 
extern "C"
27235
 
#endif
27236
 
char dlopen ();
27237
 
int
27238
 
main ()
27239
 
{
27240
 
return dlopen ();
27241
 
  ;
27242
 
  return 0;
27243
 
}
27244
 
_ACEOF
27245
 
rm -f conftest.$ac_objext conftest$ac_exeext
27246
 
if { (ac_try="$ac_link"
27247
 
case "(($ac_try" in
27248
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27249
 
  *) ac_try_echo=$ac_try;;
27250
 
esac
27251
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27252
 
  (eval "$ac_link") 2>conftest.er1
27253
 
  ac_status=$?
27254
 
  grep -v '^ *+' conftest.er1 >conftest.err
27255
 
  rm -f conftest.er1
27256
 
  cat conftest.err >&5
27257
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258
 
  (exit $ac_status); } && {
27259
 
         test -z "$ac_c_werror_flag" ||
27260
 
         test ! -s conftest.err
27261
 
       } && test -s conftest$ac_exeext &&
27262
 
       $as_test_x conftest$ac_exeext; then
27263
 
  ac_cv_lib_dl_dlopen=yes
27264
 
else
27265
 
  echo "$as_me: failed program was:" >&5
27266
 
sed 's/^/| /' conftest.$ac_ext >&5
27267
 
 
27268
 
        ac_cv_lib_dl_dlopen=no
27269
 
fi
27270
 
 
27271
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27272
 
      conftest$ac_exeext conftest.$ac_ext
27273
 
LIBS=$ac_check_lib_save_LIBS
27274
 
fi
27275
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27276
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
27277
 
if test $ac_cv_lib_dl_dlopen = yes; then
27278
 
 
27279
 
LIBDL="-ldl"
27280
 
ac_cv_have_dlfcn=yes
27281
 
 
27282
 
fi
27283
 
 
27284
 
 
27285
 
{ echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
27286
 
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6; }
27287
 
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
27288
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27289
 
else
27290
 
  ac_check_lib_save_LIBS=$LIBS
27291
 
LIBS="-ldld  $LIBS"
27292
 
cat >conftest.$ac_ext <<_ACEOF
27293
 
/* confdefs.h.  */
27294
 
_ACEOF
27295
 
cat confdefs.h >>conftest.$ac_ext
27296
 
cat >>conftest.$ac_ext <<_ACEOF
27297
 
/* end confdefs.h.  */
27298
 
 
27299
 
/* Override any GCC internal prototype to avoid an error.
27300
 
   Use char because int might match the return type of a GCC
27301
 
   builtin and then its argument prototype would still apply.  */
27302
 
#ifdef __cplusplus
27303
 
extern "C"
27304
 
#endif
27305
 
char shl_unload ();
27306
 
int
27307
 
main ()
27308
 
{
27309
 
return shl_unload ();
27310
 
  ;
27311
 
  return 0;
27312
 
}
27313
 
_ACEOF
27314
 
rm -f conftest.$ac_objext conftest$ac_exeext
27315
 
if { (ac_try="$ac_link"
27316
 
case "(($ac_try" in
27317
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27318
 
  *) ac_try_echo=$ac_try;;
27319
 
esac
27320
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27321
 
  (eval "$ac_link") 2>conftest.er1
27322
 
  ac_status=$?
27323
 
  grep -v '^ *+' conftest.er1 >conftest.err
27324
 
  rm -f conftest.er1
27325
 
  cat conftest.err >&5
27326
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327
 
  (exit $ac_status); } && {
27328
 
         test -z "$ac_c_werror_flag" ||
27329
 
         test ! -s conftest.err
27330
 
       } && test -s conftest$ac_exeext &&
27331
 
       $as_test_x conftest$ac_exeext; then
27332
 
  ac_cv_lib_dld_shl_unload=yes
27333
 
else
27334
 
  echo "$as_me: failed program was:" >&5
27335
 
sed 's/^/| /' conftest.$ac_ext >&5
27336
 
 
27337
 
        ac_cv_lib_dld_shl_unload=no
27338
 
fi
27339
 
 
27340
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27341
 
      conftest$ac_exeext conftest.$ac_ext
27342
 
LIBS=$ac_check_lib_save_LIBS
27343
 
fi
27344
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
27345
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6; }
27346
 
if test $ac_cv_lib_dld_shl_unload = yes; then
27347
 
 
27348
 
LIBDL="-ldld"
27349
 
ac_cv_have_shload=yes
27350
 
 
27351
 
fi
27352
 
 
27353
 
 
27354
 
 
27355
 
 
27356
 
 
27357
 
 
27358
 
 
27359
 
  { echo "$as_me:$LINENO: checking for size_t" >&5
27360
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
27361
 
if test "${ac_cv_type_size_t+set}" = set; then
27362
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27363
 
else
27364
 
  cat >conftest.$ac_ext <<_ACEOF
27365
 
/* confdefs.h.  */
27366
 
_ACEOF
27367
 
cat confdefs.h >>conftest.$ac_ext
27368
 
cat >>conftest.$ac_ext <<_ACEOF
27369
 
/* end confdefs.h.  */
27370
 
$ac_includes_default
27371
 
typedef size_t ac__type_new_;
27372
 
int
27373
 
main ()
27374
 
{
27375
 
if ((ac__type_new_ *) 0)
27376
 
  return 0;
27377
 
if (sizeof (ac__type_new_))
27378
 
  return 0;
27379
 
  ;
27380
 
  return 0;
27381
 
}
27382
 
_ACEOF
27383
 
rm -f conftest.$ac_objext
27384
 
if { (ac_try="$ac_compile"
27385
 
case "(($ac_try" in
27386
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27387
 
  *) ac_try_echo=$ac_try;;
27388
 
esac
27389
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27390
 
  (eval "$ac_compile") 2>conftest.er1
27391
 
  ac_status=$?
27392
 
  grep -v '^ *+' conftest.er1 >conftest.err
27393
 
  rm -f conftest.er1
27394
 
  cat conftest.err >&5
27395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396
 
  (exit $ac_status); } && {
27397
 
         test -z "$ac_c_werror_flag" ||
27398
 
         test ! -s conftest.err
27399
 
       } && test -s conftest.$ac_objext; then
27400
 
  ac_cv_type_size_t=yes
27401
 
else
27402
 
  echo "$as_me: failed program was:" >&5
27403
 
sed 's/^/| /' conftest.$ac_ext >&5
27404
 
 
27405
 
        ac_cv_type_size_t=no
27406
 
fi
27407
 
 
27408
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27409
 
fi
27410
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27411
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
27412
 
 
27413
 
# The cast to long int works around a bug in the HP C Compiler
27414
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27415
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27416
 
# This bug is HP SR number 8606223364.
27417
 
{ echo "$as_me:$LINENO: checking size of size_t" >&5
27418
 
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
27419
 
if test "${ac_cv_sizeof_size_t+set}" = set; then
27420
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27421
 
else
27422
 
  if test "$cross_compiling" = yes; then
27423
 
  # Depending upon the size, compute the lo and hi bounds.
27424
 
cat >conftest.$ac_ext <<_ACEOF
27425
 
/* confdefs.h.  */
27426
 
_ACEOF
27427
 
cat confdefs.h >>conftest.$ac_ext
27428
 
cat >>conftest.$ac_ext <<_ACEOF
27429
 
/* end confdefs.h.  */
27430
 
$ac_includes_default
27431
 
   typedef size_t ac__type_sizeof_;
27432
 
int
27433
 
main ()
27434
 
{
27435
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27436
 
test_array [0] = 0
27437
 
 
27438
 
  ;
27439
 
  return 0;
27440
 
}
27441
 
_ACEOF
27442
 
rm -f conftest.$ac_objext
27443
 
if { (ac_try="$ac_compile"
27444
 
case "(($ac_try" in
27445
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27446
 
  *) ac_try_echo=$ac_try;;
27447
 
esac
27448
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27449
 
  (eval "$ac_compile") 2>conftest.er1
27450
 
  ac_status=$?
27451
 
  grep -v '^ *+' conftest.er1 >conftest.err
27452
 
  rm -f conftest.er1
27453
 
  cat conftest.err >&5
27454
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455
 
  (exit $ac_status); } && {
27456
 
         test -z "$ac_c_werror_flag" ||
27457
 
         test ! -s conftest.err
27458
 
       } && test -s conftest.$ac_objext; then
27459
 
  ac_lo=0 ac_mid=0
27460
 
  while :; do
27461
 
    cat >conftest.$ac_ext <<_ACEOF
27462
 
/* confdefs.h.  */
27463
 
_ACEOF
27464
 
cat confdefs.h >>conftest.$ac_ext
27465
 
cat >>conftest.$ac_ext <<_ACEOF
27466
 
/* end confdefs.h.  */
27467
 
$ac_includes_default
27468
 
   typedef size_t ac__type_sizeof_;
27469
 
int
27470
 
main ()
27471
 
{
27472
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27473
 
test_array [0] = 0
27474
 
 
27475
 
  ;
27476
 
  return 0;
27477
 
}
27478
 
_ACEOF
27479
 
rm -f conftest.$ac_objext
27480
 
if { (ac_try="$ac_compile"
27481
 
case "(($ac_try" in
27482
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27483
 
  *) ac_try_echo=$ac_try;;
27484
 
esac
27485
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27486
 
  (eval "$ac_compile") 2>conftest.er1
27487
 
  ac_status=$?
27488
 
  grep -v '^ *+' conftest.er1 >conftest.err
27489
 
  rm -f conftest.er1
27490
 
  cat conftest.err >&5
27491
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492
 
  (exit $ac_status); } && {
27493
 
         test -z "$ac_c_werror_flag" ||
27494
 
         test ! -s conftest.err
27495
 
       } && test -s conftest.$ac_objext; then
27496
 
  ac_hi=$ac_mid; break
27497
 
else
27498
 
  echo "$as_me: failed program was:" >&5
27499
 
sed 's/^/| /' conftest.$ac_ext >&5
27500
 
 
27501
 
        ac_lo=`expr $ac_mid + 1`
27502
 
                        if test $ac_lo -le $ac_mid; then
27503
 
                          ac_lo= ac_hi=
27504
 
                          break
27505
 
                        fi
27506
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27507
 
fi
27508
 
 
27509
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27510
 
  done
27511
 
else
27512
 
  echo "$as_me: failed program was:" >&5
27513
 
sed 's/^/| /' conftest.$ac_ext >&5
27514
 
 
27515
 
        cat >conftest.$ac_ext <<_ACEOF
27516
 
/* confdefs.h.  */
27517
 
_ACEOF
27518
 
cat confdefs.h >>conftest.$ac_ext
27519
 
cat >>conftest.$ac_ext <<_ACEOF
27520
 
/* end confdefs.h.  */
27521
 
$ac_includes_default
27522
 
   typedef size_t ac__type_sizeof_;
27523
 
int
27524
 
main ()
27525
 
{
27526
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27527
 
test_array [0] = 0
27528
 
 
27529
 
  ;
27530
 
  return 0;
27531
 
}
27532
 
_ACEOF
27533
 
rm -f conftest.$ac_objext
27534
 
if { (ac_try="$ac_compile"
27535
 
case "(($ac_try" in
27536
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27537
 
  *) ac_try_echo=$ac_try;;
27538
 
esac
27539
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27540
 
  (eval "$ac_compile") 2>conftest.er1
27541
 
  ac_status=$?
27542
 
  grep -v '^ *+' conftest.er1 >conftest.err
27543
 
  rm -f conftest.er1
27544
 
  cat conftest.err >&5
27545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27546
 
  (exit $ac_status); } && {
27547
 
         test -z "$ac_c_werror_flag" ||
27548
 
         test ! -s conftest.err
27549
 
       } && test -s conftest.$ac_objext; then
27550
 
  ac_hi=-1 ac_mid=-1
27551
 
  while :; do
27552
 
    cat >conftest.$ac_ext <<_ACEOF
27553
 
/* confdefs.h.  */
27554
 
_ACEOF
27555
 
cat confdefs.h >>conftest.$ac_ext
27556
 
cat >>conftest.$ac_ext <<_ACEOF
27557
 
/* end confdefs.h.  */
27558
 
$ac_includes_default
27559
 
   typedef size_t ac__type_sizeof_;
27560
 
int
27561
 
main ()
27562
 
{
27563
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27564
 
test_array [0] = 0
27565
 
 
27566
 
  ;
27567
 
  return 0;
27568
 
}
27569
 
_ACEOF
27570
 
rm -f conftest.$ac_objext
27571
 
if { (ac_try="$ac_compile"
27572
 
case "(($ac_try" in
27573
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27574
 
  *) ac_try_echo=$ac_try;;
27575
 
esac
27576
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27577
 
  (eval "$ac_compile") 2>conftest.er1
27578
 
  ac_status=$?
27579
 
  grep -v '^ *+' conftest.er1 >conftest.err
27580
 
  rm -f conftest.er1
27581
 
  cat conftest.err >&5
27582
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583
 
  (exit $ac_status); } && {
27584
 
         test -z "$ac_c_werror_flag" ||
27585
 
         test ! -s conftest.err
27586
 
       } && test -s conftest.$ac_objext; then
27587
 
  ac_lo=$ac_mid; break
27588
 
else
27589
 
  echo "$as_me: failed program was:" >&5
27590
 
sed 's/^/| /' conftest.$ac_ext >&5
27591
 
 
27592
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27593
 
                        if test $ac_mid -le $ac_hi; then
27594
 
                          ac_lo= ac_hi=
27595
 
                          break
27596
 
                        fi
27597
 
                        ac_mid=`expr 2 '*' $ac_mid`
27598
 
fi
27599
 
 
27600
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27601
 
  done
27602
 
else
27603
 
  echo "$as_me: failed program was:" >&5
27604
 
sed 's/^/| /' conftest.$ac_ext >&5
27605
 
 
27606
 
        ac_lo= ac_hi=
27607
 
fi
27608
 
 
27609
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27610
 
fi
27611
 
 
27612
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27613
 
# Binary search between lo and hi bounds.
27614
 
while test "x$ac_lo" != "x$ac_hi"; do
27615
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27616
 
  cat >conftest.$ac_ext <<_ACEOF
27617
 
/* confdefs.h.  */
27618
 
_ACEOF
27619
 
cat confdefs.h >>conftest.$ac_ext
27620
 
cat >>conftest.$ac_ext <<_ACEOF
27621
 
/* end confdefs.h.  */
27622
 
$ac_includes_default
27623
 
   typedef size_t ac__type_sizeof_;
27624
 
int
27625
 
main ()
27626
 
{
27627
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27628
 
test_array [0] = 0
27629
 
 
27630
 
  ;
27631
 
  return 0;
27632
 
}
27633
 
_ACEOF
27634
 
rm -f conftest.$ac_objext
27635
 
if { (ac_try="$ac_compile"
27636
 
case "(($ac_try" in
27637
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27638
 
  *) ac_try_echo=$ac_try;;
27639
 
esac
27640
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27641
 
  (eval "$ac_compile") 2>conftest.er1
27642
 
  ac_status=$?
27643
 
  grep -v '^ *+' conftest.er1 >conftest.err
27644
 
  rm -f conftest.er1
27645
 
  cat conftest.err >&5
27646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647
 
  (exit $ac_status); } && {
27648
 
         test -z "$ac_c_werror_flag" ||
27649
 
         test ! -s conftest.err
27650
 
       } && test -s conftest.$ac_objext; then
27651
 
  ac_hi=$ac_mid
27652
 
else
27653
 
  echo "$as_me: failed program was:" >&5
27654
 
sed 's/^/| /' conftest.$ac_ext >&5
27655
 
 
27656
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
27657
 
fi
27658
 
 
27659
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27660
 
done
27661
 
case $ac_lo in
27662
 
?*) ac_cv_sizeof_size_t=$ac_lo;;
27663
 
'') if test "$ac_cv_type_size_t" = yes; then
27664
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27665
 
See \`config.log' for more details." >&5
27666
 
echo "$as_me: error: cannot compute sizeof (size_t)
27667
 
See \`config.log' for more details." >&2;}
27668
 
   { (exit 77); exit 77; }; }
27669
 
   else
27670
 
     ac_cv_sizeof_size_t=0
27671
 
   fi ;;
27672
 
esac
27673
 
else
27674
 
  cat >conftest.$ac_ext <<_ACEOF
27675
 
/* confdefs.h.  */
27676
 
_ACEOF
27677
 
cat confdefs.h >>conftest.$ac_ext
27678
 
cat >>conftest.$ac_ext <<_ACEOF
27679
 
/* end confdefs.h.  */
27680
 
$ac_includes_default
27681
 
   typedef size_t ac__type_sizeof_;
27682
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27683
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27684
 
#include <stdio.h>
27685
 
#include <stdlib.h>
27686
 
int
27687
 
main ()
27688
 
{
27689
 
 
27690
 
  FILE *f = fopen ("conftest.val", "w");
27691
 
  if (! f)
27692
 
    return 1;
27693
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27694
 
    {
27695
 
      long int i = longval ();
27696
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27697
 
        return 1;
27698
 
      fprintf (f, "%ld\n", i);
27699
 
    }
27700
 
  else
27701
 
    {
27702
 
      unsigned long int i = ulongval ();
27703
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
27704
 
        return 1;
27705
 
      fprintf (f, "%lu\n", i);
27706
 
    }
27707
 
  return ferror (f) || fclose (f) != 0;
27708
 
 
27709
 
  ;
27710
 
  return 0;
27711
 
}
27712
 
_ACEOF
27713
 
rm -f conftest$ac_exeext
27714
 
if { (ac_try="$ac_link"
27715
 
case "(($ac_try" in
27716
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27717
 
  *) ac_try_echo=$ac_try;;
27718
 
esac
27719
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27720
 
  (eval "$ac_link") 2>&5
27721
 
  ac_status=$?
27722
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27724
 
  { (case "(($ac_try" in
27725
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27726
 
  *) ac_try_echo=$ac_try;;
27727
 
esac
27728
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27729
 
  (eval "$ac_try") 2>&5
27730
 
  ac_status=$?
27731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732
 
  (exit $ac_status); }; }; then
27733
 
  ac_cv_sizeof_size_t=`cat conftest.val`
27734
 
else
27735
 
  echo "$as_me: program exited with status $ac_status" >&5
27736
 
echo "$as_me: failed program was:" >&5
27737
 
sed 's/^/| /' conftest.$ac_ext >&5
27738
 
 
27739
 
( exit $ac_status )
27740
 
if test "$ac_cv_type_size_t" = yes; then
27741
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27742
 
See \`config.log' for more details." >&5
27743
 
echo "$as_me: error: cannot compute sizeof (size_t)
27744
 
See \`config.log' for more details." >&2;}
27745
 
   { (exit 77); exit 77; }; }
27746
 
   else
27747
 
     ac_cv_sizeof_size_t=0
27748
 
   fi
27749
 
fi
27750
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27751
 
fi
27752
 
rm -f conftest.val
27753
 
fi
27754
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
27755
 
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
27756
 
 
27757
 
 
27758
 
 
27759
 
cat >>confdefs.h <<_ACEOF
27760
 
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
27761
 
_ACEOF
27762
 
 
27763
 
 
27764
 
  { echo "$as_me:$LINENO: checking for unsigned long" >&5
27765
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
27766
 
if test "${ac_cv_type_unsigned_long+set}" = set; then
27767
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27768
 
else
27769
 
  cat >conftest.$ac_ext <<_ACEOF
27770
 
/* confdefs.h.  */
27771
 
_ACEOF
27772
 
cat confdefs.h >>conftest.$ac_ext
27773
 
cat >>conftest.$ac_ext <<_ACEOF
27774
 
/* end confdefs.h.  */
27775
 
$ac_includes_default
27776
 
typedef unsigned long ac__type_new_;
27777
 
int
27778
 
main ()
27779
 
{
27780
 
if ((ac__type_new_ *) 0)
27781
 
  return 0;
27782
 
if (sizeof (ac__type_new_))
27783
 
  return 0;
27784
 
  ;
27785
 
  return 0;
27786
 
}
27787
 
_ACEOF
27788
 
rm -f conftest.$ac_objext
27789
 
if { (ac_try="$ac_compile"
27790
 
case "(($ac_try" in
27791
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27792
 
  *) ac_try_echo=$ac_try;;
27793
 
esac
27794
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27795
 
  (eval "$ac_compile") 2>conftest.er1
27796
 
  ac_status=$?
27797
 
  grep -v '^ *+' conftest.er1 >conftest.err
27798
 
  rm -f conftest.er1
27799
 
  cat conftest.err >&5
27800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27801
 
  (exit $ac_status); } && {
27802
 
         test -z "$ac_c_werror_flag" ||
27803
 
         test ! -s conftest.err
27804
 
       } && test -s conftest.$ac_objext; then
27805
 
  ac_cv_type_unsigned_long=yes
27806
 
else
27807
 
  echo "$as_me: failed program was:" >&5
27808
 
sed 's/^/| /' conftest.$ac_ext >&5
27809
 
 
27810
 
        ac_cv_type_unsigned_long=no
27811
 
fi
27812
 
 
27813
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27814
 
fi
27815
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
27816
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
27817
 
 
27818
 
# The cast to long int works around a bug in the HP C Compiler
27819
 
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27820
 
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27821
 
# This bug is HP SR number 8606223364.
27822
 
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
27823
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
27824
 
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
27825
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27826
 
else
27827
 
  if test "$cross_compiling" = yes; then
27828
 
  # Depending upon the size, compute the lo and hi bounds.
27829
 
cat >conftest.$ac_ext <<_ACEOF
27830
 
/* confdefs.h.  */
27831
 
_ACEOF
27832
 
cat confdefs.h >>conftest.$ac_ext
27833
 
cat >>conftest.$ac_ext <<_ACEOF
27834
 
/* end confdefs.h.  */
27835
 
$ac_includes_default
27836
 
   typedef unsigned long ac__type_sizeof_;
27837
 
int
27838
 
main ()
27839
 
{
27840
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27841
 
test_array [0] = 0
27842
 
 
27843
 
  ;
27844
 
  return 0;
27845
 
}
27846
 
_ACEOF
27847
 
rm -f conftest.$ac_objext
27848
 
if { (ac_try="$ac_compile"
27849
 
case "(($ac_try" in
27850
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27851
 
  *) ac_try_echo=$ac_try;;
27852
 
esac
27853
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27854
 
  (eval "$ac_compile") 2>conftest.er1
27855
 
  ac_status=$?
27856
 
  grep -v '^ *+' conftest.er1 >conftest.err
27857
 
  rm -f conftest.er1
27858
 
  cat conftest.err >&5
27859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860
 
  (exit $ac_status); } && {
27861
 
         test -z "$ac_c_werror_flag" ||
27862
 
         test ! -s conftest.err
27863
 
       } && test -s conftest.$ac_objext; then
27864
 
  ac_lo=0 ac_mid=0
27865
 
  while :; do
27866
 
    cat >conftest.$ac_ext <<_ACEOF
27867
 
/* confdefs.h.  */
27868
 
_ACEOF
27869
 
cat confdefs.h >>conftest.$ac_ext
27870
 
cat >>conftest.$ac_ext <<_ACEOF
27871
 
/* end confdefs.h.  */
27872
 
$ac_includes_default
27873
 
   typedef unsigned long ac__type_sizeof_;
27874
 
int
27875
 
main ()
27876
 
{
27877
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27878
 
test_array [0] = 0
27879
 
 
27880
 
  ;
27881
 
  return 0;
27882
 
}
27883
 
_ACEOF
27884
 
rm -f conftest.$ac_objext
27885
 
if { (ac_try="$ac_compile"
27886
 
case "(($ac_try" in
27887
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27888
 
  *) ac_try_echo=$ac_try;;
27889
 
esac
27890
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27891
 
  (eval "$ac_compile") 2>conftest.er1
27892
 
  ac_status=$?
27893
 
  grep -v '^ *+' conftest.er1 >conftest.err
27894
 
  rm -f conftest.er1
27895
 
  cat conftest.err >&5
27896
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897
 
  (exit $ac_status); } && {
27898
 
         test -z "$ac_c_werror_flag" ||
27899
 
         test ! -s conftest.err
27900
 
       } && test -s conftest.$ac_objext; then
27901
 
  ac_hi=$ac_mid; break
27902
 
else
27903
 
  echo "$as_me: failed program was:" >&5
27904
 
sed 's/^/| /' conftest.$ac_ext >&5
27905
 
 
27906
 
        ac_lo=`expr $ac_mid + 1`
27907
 
                        if test $ac_lo -le $ac_mid; then
27908
 
                          ac_lo= ac_hi=
27909
 
                          break
27910
 
                        fi
27911
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27912
 
fi
27913
 
 
27914
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27915
 
  done
27916
 
else
27917
 
  echo "$as_me: failed program was:" >&5
27918
 
sed 's/^/| /' conftest.$ac_ext >&5
27919
 
 
27920
 
        cat >conftest.$ac_ext <<_ACEOF
27921
 
/* confdefs.h.  */
27922
 
_ACEOF
27923
 
cat confdefs.h >>conftest.$ac_ext
27924
 
cat >>conftest.$ac_ext <<_ACEOF
27925
 
/* end confdefs.h.  */
27926
 
$ac_includes_default
27927
 
   typedef unsigned long ac__type_sizeof_;
27928
 
int
27929
 
main ()
27930
 
{
27931
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27932
 
test_array [0] = 0
27933
 
 
27934
 
  ;
27935
 
  return 0;
27936
 
}
27937
 
_ACEOF
27938
 
rm -f conftest.$ac_objext
27939
 
if { (ac_try="$ac_compile"
27940
 
case "(($ac_try" in
27941
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27942
 
  *) ac_try_echo=$ac_try;;
27943
 
esac
27944
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27945
 
  (eval "$ac_compile") 2>conftest.er1
27946
 
  ac_status=$?
27947
 
  grep -v '^ *+' conftest.er1 >conftest.err
27948
 
  rm -f conftest.er1
27949
 
  cat conftest.err >&5
27950
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27951
 
  (exit $ac_status); } && {
27952
 
         test -z "$ac_c_werror_flag" ||
27953
 
         test ! -s conftest.err
27954
 
       } && test -s conftest.$ac_objext; then
27955
 
  ac_hi=-1 ac_mid=-1
27956
 
  while :; do
27957
 
    cat >conftest.$ac_ext <<_ACEOF
27958
 
/* confdefs.h.  */
27959
 
_ACEOF
27960
 
cat confdefs.h >>conftest.$ac_ext
27961
 
cat >>conftest.$ac_ext <<_ACEOF
27962
 
/* end confdefs.h.  */
27963
 
$ac_includes_default
27964
 
   typedef unsigned long ac__type_sizeof_;
27965
 
int
27966
 
main ()
27967
 
{
27968
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27969
 
test_array [0] = 0
27970
 
 
27971
 
  ;
27972
 
  return 0;
27973
 
}
27974
 
_ACEOF
27975
 
rm -f conftest.$ac_objext
27976
 
if { (ac_try="$ac_compile"
27977
 
case "(($ac_try" in
27978
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27979
 
  *) ac_try_echo=$ac_try;;
27980
 
esac
27981
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27982
 
  (eval "$ac_compile") 2>conftest.er1
27983
 
  ac_status=$?
27984
 
  grep -v '^ *+' conftest.er1 >conftest.err
27985
 
  rm -f conftest.er1
27986
 
  cat conftest.err >&5
27987
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27988
 
  (exit $ac_status); } && {
27989
 
         test -z "$ac_c_werror_flag" ||
27990
 
         test ! -s conftest.err
27991
 
       } && test -s conftest.$ac_objext; then
27992
 
  ac_lo=$ac_mid; break
27993
 
else
27994
 
  echo "$as_me: failed program was:" >&5
27995
 
sed 's/^/| /' conftest.$ac_ext >&5
27996
 
 
27997
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
27998
 
                        if test $ac_mid -le $ac_hi; then
27999
 
                          ac_lo= ac_hi=
28000
 
                          break
28001
 
                        fi
28002
 
                        ac_mid=`expr 2 '*' $ac_mid`
28003
 
fi
28004
 
 
28005
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28006
 
  done
28007
 
else
28008
 
  echo "$as_me: failed program was:" >&5
28009
 
sed 's/^/| /' conftest.$ac_ext >&5
28010
 
 
28011
 
        ac_lo= ac_hi=
28012
 
fi
28013
 
 
28014
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28015
 
fi
28016
 
 
28017
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28018
 
# Binary search between lo and hi bounds.
28019
 
while test "x$ac_lo" != "x$ac_hi"; do
28020
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28021
 
  cat >conftest.$ac_ext <<_ACEOF
28022
 
/* confdefs.h.  */
28023
 
_ACEOF
28024
 
cat confdefs.h >>conftest.$ac_ext
28025
 
cat >>conftest.$ac_ext <<_ACEOF
28026
 
/* end confdefs.h.  */
28027
 
$ac_includes_default
28028
 
   typedef unsigned long ac__type_sizeof_;
28029
 
int
28030
 
main ()
28031
 
{
28032
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28033
 
test_array [0] = 0
28034
 
 
28035
 
  ;
28036
 
  return 0;
28037
 
}
28038
 
_ACEOF
28039
 
rm -f conftest.$ac_objext
28040
 
if { (ac_try="$ac_compile"
28041
 
case "(($ac_try" in
28042
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28043
 
  *) ac_try_echo=$ac_try;;
28044
 
esac
28045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28046
 
  (eval "$ac_compile") 2>conftest.er1
28047
 
  ac_status=$?
28048
 
  grep -v '^ *+' conftest.er1 >conftest.err
28049
 
  rm -f conftest.er1
28050
 
  cat conftest.err >&5
28051
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052
 
  (exit $ac_status); } && {
28053
 
         test -z "$ac_c_werror_flag" ||
28054
 
         test ! -s conftest.err
28055
 
       } && test -s conftest.$ac_objext; then
28056
 
  ac_hi=$ac_mid
28057
 
else
28058
 
  echo "$as_me: failed program was:" >&5
28059
 
sed 's/^/| /' conftest.$ac_ext >&5
28060
 
 
28061
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
28062
 
fi
28063
 
 
28064
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28065
 
done
28066
 
case $ac_lo in
28067
 
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
28068
 
'') if test "$ac_cv_type_unsigned_long" = yes; then
28069
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28070
 
See \`config.log' for more details." >&5
28071
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
28072
 
See \`config.log' for more details." >&2;}
28073
 
   { (exit 77); exit 77; }; }
28074
 
   else
28075
 
     ac_cv_sizeof_unsigned_long=0
28076
 
   fi ;;
28077
 
esac
28078
 
else
28079
 
  cat >conftest.$ac_ext <<_ACEOF
28080
 
/* confdefs.h.  */
28081
 
_ACEOF
28082
 
cat confdefs.h >>conftest.$ac_ext
28083
 
cat >>conftest.$ac_ext <<_ACEOF
28084
 
/* end confdefs.h.  */
28085
 
$ac_includes_default
28086
 
   typedef unsigned long ac__type_sizeof_;
28087
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28088
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28089
 
#include <stdio.h>
28090
 
#include <stdlib.h>
28091
 
int
28092
 
main ()
28093
 
{
28094
 
 
28095
 
  FILE *f = fopen ("conftest.val", "w");
28096
 
  if (! f)
28097
 
    return 1;
28098
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28099
 
    {
28100
 
      long int i = longval ();
28101
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
28102
 
        return 1;
28103
 
      fprintf (f, "%ld\n", i);
28104
 
    }
28105
 
  else
28106
 
    {
28107
 
      unsigned long int i = ulongval ();
28108
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
28109
 
        return 1;
28110
 
      fprintf (f, "%lu\n", i);
28111
 
    }
28112
 
  return ferror (f) || fclose (f) != 0;
28113
 
 
28114
 
  ;
28115
 
  return 0;
28116
 
}
28117
 
_ACEOF
28118
 
rm -f conftest$ac_exeext
28119
 
if { (ac_try="$ac_link"
28120
 
case "(($ac_try" in
28121
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28122
 
  *) ac_try_echo=$ac_try;;
28123
 
esac
28124
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28125
 
  (eval "$ac_link") 2>&5
28126
 
  ac_status=$?
28127
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28129
 
  { (case "(($ac_try" in
28130
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28131
 
  *) ac_try_echo=$ac_try;;
28132
 
esac
28133
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28134
 
  (eval "$ac_try") 2>&5
28135
 
  ac_status=$?
28136
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137
 
  (exit $ac_status); }; }; then
28138
 
  ac_cv_sizeof_unsigned_long=`cat conftest.val`
28139
 
else
28140
 
  echo "$as_me: program exited with status $ac_status" >&5
28141
 
echo "$as_me: failed program was:" >&5
28142
 
sed 's/^/| /' conftest.$ac_ext >&5
28143
 
 
28144
 
( exit $ac_status )
28145
 
if test "$ac_cv_type_unsigned_long" = yes; then
28146
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28147
 
See \`config.log' for more details." >&5
28148
 
echo "$as_me: error: cannot compute sizeof (unsigned long)
28149
 
See \`config.log' for more details." >&2;}
28150
 
   { (exit 77); exit 77; }; }
28151
 
   else
28152
 
     ac_cv_sizeof_unsigned_long=0
28153
 
   fi
28154
 
fi
28155
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28156
 
fi
28157
 
rm -f conftest.val
28158
 
fi
28159
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
28160
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
28161
 
 
28162
 
 
28163
 
 
28164
 
cat >>confdefs.h <<_ACEOF
28165
 
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
28166
 
_ACEOF
28167
 
 
28168
 
 
28169
 
 
28170
 
  { echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
28171
 
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6; }
28172
 
  cat >conftest.$ac_ext <<_ACEOF
28173
 
/* confdefs.h.  */
28174
 
_ACEOF
28175
 
cat confdefs.h >>conftest.$ac_ext
28176
 
cat >>conftest.$ac_ext <<_ACEOF
28177
 
/* end confdefs.h.  */
28178
 
 
28179
 
int
28180
 
main ()
28181
 
{
28182
 
 
28183
 
    #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
28184
 
       choke me
28185
 
    #endif
28186
 
 
28187
 
  ;
28188
 
  return 0;
28189
 
}
28190
 
_ACEOF
28191
 
rm -f conftest.$ac_objext
28192
 
if { (ac_try="$ac_compile"
28193
 
case "(($ac_try" in
28194
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28195
 
  *) ac_try_echo=$ac_try;;
28196
 
esac
28197
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28198
 
  (eval "$ac_compile") 2>conftest.er1
28199
 
  ac_status=$?
28200
 
  grep -v '^ *+' conftest.er1 >conftest.err
28201
 
  rm -f conftest.er1
28202
 
  cat conftest.err >&5
28203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204
 
  (exit $ac_status); } && {
28205
 
         test -z "$ac_c_werror_flag" ||
28206
 
         test ! -s conftest.err
28207
 
       } && test -s conftest.$ac_objext; then
28208
 
  { echo "$as_me:$LINENO: result: yes" >&5
28209
 
echo "${ECHO_T}yes" >&6; }
28210
 
else
28211
 
  echo "$as_me: failed program was:" >&5
28212
 
sed 's/^/| /' conftest.$ac_ext >&5
28213
 
 
28214
 
 
28215
 
      { echo "$as_me:$LINENO: result: no" >&5
28216
 
echo "${ECHO_T}no" >&6; }
28217
 
      { { echo "$as_me:$LINENO: error:
28218
 
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28219
 
       does not apply. Please mail kde-devel@kde.org with a description of your system!
28220
 
      " >&5
28221
 
echo "$as_me: error:
28222
 
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28223
 
       does not apply. Please mail kde-devel@kde.org with a description of your system!
28224
 
      " >&2;}
28225
 
   { (exit 1); exit 1; }; }
28226
 
 
28227
 
fi
28228
 
 
28229
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28230
 
 
28231
 
 
28232
 
  { echo "$as_me:$LINENO: checking for PIE support" >&5
28233
 
echo $ECHO_N "checking for PIE support... $ECHO_C" >&6; }
28234
 
if test "${kde_cv_val_pie_support+set}" = set; then
28235
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28236
 
else
28237
 
 
28238
 
 
28239
 
     ac_ext=cpp
28240
 
ac_cpp='$CXXCPP $CPPFLAGS'
28241
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28242
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28243
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28244
 
 
28245
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28246
 
 
28247
 
 
28248
 
    safe_CXXFLAGS=$CXXFLAGS
28249
 
    safe_LDFLAGS=$LDFLAGS
28250
 
    CXXFLAGS="$CXXFLAGS -fPIE"
28251
 
    LDFLAGS="$LDFLAGS -pie"
28252
 
 
28253
 
    cat >conftest.$ac_ext <<_ACEOF
28254
 
/* confdefs.h.  */
28255
 
_ACEOF
28256
 
cat confdefs.h >>conftest.$ac_ext
28257
 
cat >>conftest.$ac_ext <<_ACEOF
28258
 
/* end confdefs.h.  */
28259
 
int foo;
28260
 
int
28261
 
main ()
28262
 
{
28263
 
 
28264
 
  ;
28265
 
  return 0;
28266
 
}
28267
 
_ACEOF
28268
 
rm -f conftest.$ac_objext conftest$ac_exeext
28269
 
if { (ac_try="$ac_link"
28270
 
case "(($ac_try" in
28271
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28272
 
  *) ac_try_echo=$ac_try;;
28273
 
esac
28274
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28275
 
  (eval "$ac_link") 2>conftest.er1
28276
 
  ac_status=$?
28277
 
  grep -v '^ *+' conftest.er1 >conftest.err
28278
 
  rm -f conftest.er1
28279
 
  cat conftest.err >&5
28280
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281
 
  (exit $ac_status); } && {
28282
 
         test -z "$ac_cxx_werror_flag" ||
28283
 
         test ! -s conftest.err
28284
 
       } && test -s conftest$ac_exeext &&
28285
 
       $as_test_x conftest$ac_exeext; then
28286
 
  kde_cv_val_pie_support=yes
28287
 
else
28288
 
  echo "$as_me: failed program was:" >&5
28289
 
sed 's/^/| /' conftest.$ac_ext >&5
28290
 
 
28291
 
        kde_cv_val_pie_support=no
28292
 
fi
28293
 
 
28294
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28295
 
      conftest$ac_exeext conftest.$ac_ext
28296
 
 
28297
 
    CXXFLAGS=$safe_CXXFLAGS
28298
 
    LDFLAGS=$safe_LDFLAGS
28299
 
    ac_ext=c
28300
 
ac_cpp='$CPP $CPPFLAGS'
28301
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28302
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28303
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28304
 
 
28305
 
 
28306
 
fi
28307
 
{ echo "$as_me:$LINENO: result: $kde_cv_val_pie_support" >&5
28308
 
echo "${ECHO_T}$kde_cv_val_pie_support" >&6; }
28309
 
 
28310
 
  { echo "$as_me:$LINENO: checking if enabling -pie/fPIE support" >&5
28311
 
echo $ECHO_N "checking if enabling -pie/fPIE support... $ECHO_C" >&6; }
28312
 
 
28313
 
  # Check whether --enable-pie was given.
28314
 
if test "${enable_pie+set}" = set; then
28315
 
  enableval=$enable_pie; kde_has_pie_support=$enableval
28316
 
else
28317
 
  kde_has_pie_support=detect
28318
 
fi
28319
 
 
28320
 
 
28321
 
  if test "$kde_has_pie_support" = "detect"; then
28322
 
    kde_has_pie_support=$kde_cv_val_pie_support
28323
 
  fi
28324
 
 
28325
 
  { echo "$as_me:$LINENO: result: $kde_has_pie_support" >&5
28326
 
echo "${ECHO_T}$kde_has_pie_support" >&6; }
28327
 
 
28328
 
  KDE_USE_FPIE=""
28329
 
  KDE_USE_PIE=""
28330
 
 
28331
 
 
28332
 
 
28333
 
 
28334
 
  if test "$kde_has_pie_support" = "yes"; then
28335
 
    KDE_USE_FPIE="-fPIE"
28336
 
    KDE_USE_PIE="-pie"
28337
 
  fi
28338
 
 
28339
 
 
28340
 
# darwin needs this to initialize the environment
28341
 
 
28342
 
for ac_header in crt_externs.h
28343
 
do
28344
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28345
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28346
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
28347
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28348
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28349
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28350
 
fi
28351
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28352
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28353
 
echo "${ECHO_T}$ac_res" >&6; }
28354
 
else
28355
 
  # Is the header compilable?
28356
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28357
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28358
 
cat >conftest.$ac_ext <<_ACEOF
28359
 
/* confdefs.h.  */
28360
 
_ACEOF
28361
 
cat confdefs.h >>conftest.$ac_ext
28362
 
cat >>conftest.$ac_ext <<_ACEOF
28363
 
/* end confdefs.h.  */
28364
 
$ac_includes_default
28365
 
#include <$ac_header>
28366
 
_ACEOF
28367
 
rm -f conftest.$ac_objext
28368
 
if { (ac_try="$ac_compile"
28369
 
case "(($ac_try" in
28370
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28371
 
  *) ac_try_echo=$ac_try;;
28372
 
esac
28373
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28374
 
  (eval "$ac_compile") 2>conftest.er1
28375
 
  ac_status=$?
28376
 
  grep -v '^ *+' conftest.er1 >conftest.err
28377
 
  rm -f conftest.er1
28378
 
  cat conftest.err >&5
28379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28380
 
  (exit $ac_status); } && {
28381
 
         test -z "$ac_c_werror_flag" ||
28382
 
         test ! -s conftest.err
28383
 
       } && test -s conftest.$ac_objext; then
28384
 
  ac_header_compiler=yes
28385
 
else
28386
 
  echo "$as_me: failed program was:" >&5
28387
 
sed 's/^/| /' conftest.$ac_ext >&5
28388
 
 
28389
 
        ac_header_compiler=no
28390
 
fi
28391
 
 
28392
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28393
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28394
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
28395
 
 
28396
 
# Is the header present?
28397
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28398
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28399
 
cat >conftest.$ac_ext <<_ACEOF
28400
 
/* confdefs.h.  */
28401
 
_ACEOF
28402
 
cat confdefs.h >>conftest.$ac_ext
28403
 
cat >>conftest.$ac_ext <<_ACEOF
28404
 
/* end confdefs.h.  */
28405
 
#include <$ac_header>
28406
 
_ACEOF
28407
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28408
 
case "(($ac_try" in
28409
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28410
 
  *) ac_try_echo=$ac_try;;
28411
 
esac
28412
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28413
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28414
 
  ac_status=$?
28415
 
  grep -v '^ *+' conftest.er1 >conftest.err
28416
 
  rm -f conftest.er1
28417
 
  cat conftest.err >&5
28418
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419
 
  (exit $ac_status); } >/dev/null && {
28420
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28421
 
         test ! -s conftest.err
28422
 
       }; then
28423
 
  ac_header_preproc=yes
28424
 
else
28425
 
  echo "$as_me: failed program was:" >&5
28426
 
sed 's/^/| /' conftest.$ac_ext >&5
28427
 
 
28428
 
  ac_header_preproc=no
28429
 
fi
28430
 
 
28431
 
rm -f conftest.err conftest.$ac_ext
28432
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28433
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
28434
 
 
28435
 
# So?  What about this header?
28436
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28437
 
  yes:no: )
28438
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28439
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28440
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28441
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28442
 
    ac_header_preproc=yes
28443
 
    ;;
28444
 
  no:yes:* )
28445
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28446
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28447
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28448
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28449
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28450
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28451
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28452
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28453
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28454
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28455
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28456
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28457
 
 
28458
 
    ;;
28459
 
esac
28460
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28461
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28462
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28463
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28464
 
else
28465
 
  eval "$as_ac_Header=\$ac_header_preproc"
28466
 
fi
28467
 
ac_res=`eval echo '${'$as_ac_Header'}'`
28468
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28469
 
echo "${ECHO_T}$ac_res" >&6; }
28470
 
 
28471
 
fi
28472
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
28473
 
  cat >>confdefs.h <<_ACEOF
28474
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28475
 
_ACEOF
28476
 
 
28477
 
fi
28478
 
 
28479
 
done
28480
 
 
28481
 
{ echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
28482
 
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6; }
28483
 
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
28484
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28485
 
else
28486
 
  cat >conftest.$ac_ext <<_ACEOF
28487
 
/* confdefs.h.  */
28488
 
_ACEOF
28489
 
cat confdefs.h >>conftest.$ac_ext
28490
 
cat >>conftest.$ac_ext <<_ACEOF
28491
 
/* end confdefs.h.  */
28492
 
/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
28493
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28494
 
#define _NSGetEnviron innocuous__NSGetEnviron
28495
 
 
28496
 
/* System header to define __stub macros and hopefully few prototypes,
28497
 
    which can conflict with char _NSGetEnviron (); below.
28498
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28499
 
    <limits.h> exists even on freestanding compilers.  */
28500
 
 
28501
 
#ifdef __STDC__
28502
 
# include <limits.h>
28503
 
#else
28504
 
# include <assert.h>
28505
 
#endif
28506
 
 
28507
 
#undef _NSGetEnviron
28508
 
 
28509
 
/* Override any GCC internal prototype to avoid an error.
28510
 
   Use char because int might match the return type of a GCC
28511
 
   builtin and then its argument prototype would still apply.  */
28512
 
#ifdef __cplusplus
28513
 
extern "C"
28514
 
#endif
28515
 
char _NSGetEnviron ();
28516
 
/* The GNU C library defines this for functions which it implements
28517
 
    to always fail with ENOSYS.  Some functions are actually named
28518
 
    something starting with __ and the normal name is an alias.  */
28519
 
#if defined __stub__NSGetEnviron || defined __stub____NSGetEnviron
28520
 
choke me
28521
 
#endif
28522
 
 
28523
 
int
28524
 
main ()
28525
 
{
28526
 
return _NSGetEnviron ();
28527
 
  ;
28528
 
  return 0;
28529
 
}
28530
 
_ACEOF
28531
 
rm -f conftest.$ac_objext conftest$ac_exeext
28532
 
if { (ac_try="$ac_link"
28533
 
case "(($ac_try" in
28534
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28535
 
  *) ac_try_echo=$ac_try;;
28536
 
esac
28537
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28538
 
  (eval "$ac_link") 2>conftest.er1
28539
 
  ac_status=$?
28540
 
  grep -v '^ *+' conftest.er1 >conftest.err
28541
 
  rm -f conftest.er1
28542
 
  cat conftest.err >&5
28543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544
 
  (exit $ac_status); } && {
28545
 
         test -z "$ac_c_werror_flag" ||
28546
 
         test ! -s conftest.err
28547
 
       } && test -s conftest$ac_exeext &&
28548
 
       $as_test_x conftest$ac_exeext; then
28549
 
  ac_cv_func__NSGetEnviron=yes
28550
 
else
28551
 
  echo "$as_me: failed program was:" >&5
28552
 
sed 's/^/| /' conftest.$ac_ext >&5
28553
 
 
28554
 
        ac_cv_func__NSGetEnviron=no
28555
 
fi
28556
 
 
28557
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28558
 
      conftest$ac_exeext conftest.$ac_ext
28559
 
fi
28560
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
28561
 
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6; }
28562
 
if test $ac_cv_func__NSGetEnviron = yes; then
28563
 
 
28564
 
cat >>confdefs.h <<\_ACEOF
28565
 
#define HAVE_NSGETENVIRON 1
28566
 
_ACEOF
28567
 
 
28568
 
fi
28569
 
 
28570
 
 
28571
 
 
28572
 
 
28573
 
 
28574
 
 
28575
 
 
28576
 
 
28577
 
 
28578
 
 
28579
 
for ac_func in vsnprintf snprintf
28580
 
do
28581
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28582
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28583
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28584
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28585
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28586
 
else
28587
 
  cat >conftest.$ac_ext <<_ACEOF
28588
 
/* confdefs.h.  */
28589
 
_ACEOF
28590
 
cat confdefs.h >>conftest.$ac_ext
28591
 
cat >>conftest.$ac_ext <<_ACEOF
28592
 
/* end confdefs.h.  */
28593
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28594
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28595
 
#define $ac_func innocuous_$ac_func
28596
 
 
28597
 
/* System header to define __stub macros and hopefully few prototypes,
28598
 
    which can conflict with char $ac_func (); below.
28599
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28600
 
    <limits.h> exists even on freestanding compilers.  */
28601
 
 
28602
 
#ifdef __STDC__
28603
 
# include <limits.h>
28604
 
#else
28605
 
# include <assert.h>
28606
 
#endif
28607
 
 
28608
 
#undef $ac_func
28609
 
 
28610
 
/* Override any GCC internal prototype to avoid an error.
28611
 
   Use char because int might match the return type of a GCC
28612
 
   builtin and then its argument prototype would still apply.  */
28613
 
#ifdef __cplusplus
28614
 
extern "C"
28615
 
#endif
28616
 
char $ac_func ();
28617
 
/* The GNU C library defines this for functions which it implements
28618
 
    to always fail with ENOSYS.  Some functions are actually named
28619
 
    something starting with __ and the normal name is an alias.  */
28620
 
#if defined __stub_$ac_func || defined __stub___$ac_func
28621
 
choke me
28622
 
#endif
28623
 
 
28624
 
int
28625
 
main ()
28626
 
{
28627
 
return $ac_func ();
28628
 
  ;
28629
 
  return 0;
28630
 
}
28631
 
_ACEOF
28632
 
rm -f conftest.$ac_objext conftest$ac_exeext
28633
 
if { (ac_try="$ac_link"
28634
 
case "(($ac_try" in
28635
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28636
 
  *) ac_try_echo=$ac_try;;
28637
 
esac
28638
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28639
 
  (eval "$ac_link") 2>conftest.er1
28640
 
  ac_status=$?
28641
 
  grep -v '^ *+' conftest.er1 >conftest.err
28642
 
  rm -f conftest.er1
28643
 
  cat conftest.err >&5
28644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28645
 
  (exit $ac_status); } && {
28646
 
         test -z "$ac_c_werror_flag" ||
28647
 
         test ! -s conftest.err
28648
 
       } && test -s conftest$ac_exeext &&
28649
 
       $as_test_x conftest$ac_exeext; then
28650
 
  eval "$as_ac_var=yes"
28651
 
else
28652
 
  echo "$as_me: failed program was:" >&5
28653
 
sed 's/^/| /' conftest.$ac_ext >&5
28654
 
 
28655
 
        eval "$as_ac_var=no"
28656
 
fi
28657
 
 
28658
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28659
 
      conftest$ac_exeext conftest.$ac_ext
28660
 
fi
28661
 
ac_res=`eval echo '${'$as_ac_var'}'`
28662
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
28663
 
echo "${ECHO_T}$ac_res" >&6; }
28664
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
28665
 
  cat >>confdefs.h <<_ACEOF
28666
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28667
 
_ACEOF
28668
 
 
28669
 
fi
28670
 
done
28671
 
 
28672
 
 
28673
 
 
28674
 
 
28675
 
 
28676
 
 
28677
 
 
28678
 
 
28679
 
 
28680
 
# Check whether --enable-embedded was given.
28681
 
if test "${enable_embedded+set}" = set; then
28682
 
  enableval=$enable_embedded; kde_use_qt_emb=$enableval
28683
 
else
28684
 
  kde_use_qt_emb=no
28685
 
 
28686
 
fi
28687
 
 
28688
 
 
28689
 
# Check whether --enable-qtopia was given.
28690
 
if test "${enable_qtopia+set}" = set; then
28691
 
  enableval=$enable_qtopia; kde_use_qt_emb_palm=$enableval
28692
 
else
28693
 
  kde_use_qt_emb_palm=no
28694
 
 
28695
 
fi
28696
 
 
28697
 
 
28698
 
# Check whether --enable-mac was given.
28699
 
if test "${enable_mac+set}" = set; then
28700
 
  enableval=$enable_mac; kde_use_qt_mac=$enableval
28701
 
else
28702
 
  kde_use_qt_mac=no
28703
 
 
28704
 
fi
28705
 
 
28706
 
 
28707
 
# used to disable x11-specific stuff on special platforms
28708
 
 
28709
 
 
28710
 
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28711
 
  include_x11_TRUE=
28712
 
  include_x11_FALSE='#'
28713
 
else
28714
 
  include_x11_TRUE='#'
28715
 
  include_x11_FALSE=
28716
 
fi
28717
 
 
28718
 
 
28719
 
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28720
 
 
28721
 
{ echo "$as_me:$LINENO: checking for X" >&5
28722
 
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28723
 
 
28724
 
if test "${kde_cv_have_x+set}" = set; then
28725
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28726
 
else
28727
 
  # One or both of the vars are not set, and there is no cached value.
28728
 
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
28729
 
   kde_x_includes=NO
28730
 
else
28731
 
   kde_x_includes=$x_includes
28732
 
fi
28733
 
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
28734
 
   kde_x_libraries=NO
28735
 
else
28736
 
   kde_x_libraries=$x_libraries
28737
 
fi
28738
 
 
28739
 
# below we use the standard autoconf calls
28740
 
ac_x_libraries=$kde_x_libraries
28741
 
ac_x_includes=$kde_x_includes
28742
 
 
28743
 
 
28744
 
 
28745
 
 
28746
 
if test "$ac_x_includes" = NO; then
28747
 
  # Guess where to find include files, by looking for this one X11 .h file.
28748
 
  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
28749
 
 
28750
 
  # First, try using that file with no special directory specified.
28751
 
cat >conftest.$ac_ext <<_ACEOF
28752
 
/* confdefs.h.  */
28753
 
_ACEOF
28754
 
cat confdefs.h >>conftest.$ac_ext
28755
 
cat >>conftest.$ac_ext <<_ACEOF
28756
 
/* end confdefs.h.  */
28757
 
#include <$x_direct_test_include>
28758
 
_ACEOF
28759
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
28760
 
case "(($ac_try" in
28761
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28762
 
  *) ac_try_echo=$ac_try;;
28763
 
esac
28764
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28765
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28766
 
  ac_status=$?
28767
 
  grep -v '^ *+' conftest.er1 >conftest.err
28768
 
  rm -f conftest.er1
28769
 
  cat conftest.err >&5
28770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771
 
  (exit $ac_status); } >/dev/null && {
28772
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28773
 
         test ! -s conftest.err
28774
 
       }; then
28775
 
  # We can compile using X headers with no special include directory.
28776
 
ac_x_includes=
28777
 
else
28778
 
  echo "$as_me: failed program was:" >&5
28779
 
sed 's/^/| /' conftest.$ac_ext >&5
28780
 
 
28781
 
  # Look for the header file in a standard set of common directories.
28782
 
# Check X11 before X11Rn because it is often a symlink to the current release.
28783
 
  for ac_dir in               \
28784
 
    /usr/X11/include          \
28785
 
    /usr/X11R6/include        \
28786
 
    /usr/X11R5/include        \
28787
 
    /usr/X11R4/include        \
28788
 
                              \
28789
 
    /usr/include/X11          \
28790
 
    /usr/include/X11R6        \
28791
 
    /usr/include/X11R5        \
28792
 
    /usr/include/X11R4        \
28793
 
                              \
28794
 
    /usr/local/X11/include    \
28795
 
    /usr/local/X11R6/include  \
28796
 
    /usr/local/X11R5/include  \
28797
 
    /usr/local/X11R4/include  \
28798
 
                              \
28799
 
    /usr/local/include/X11    \
28800
 
    /usr/local/include/X11R6  \
28801
 
    /usr/local/include/X11R5  \
28802
 
    /usr/local/include/X11R4  \
28803
 
                              \
28804
 
    /usr/X386/include         \
28805
 
    /usr/x386/include         \
28806
 
    /usr/XFree86/include/X11  \
28807
 
                              \
28808
 
    /usr/include              \
28809
 
    /usr/local/include        \
28810
 
    /usr/unsupported/include  \
28811
 
    /usr/athena/include       \
28812
 
    /usr/local/x11r5/include  \
28813
 
    /usr/lpp/Xamples/include  \
28814
 
                              \
28815
 
    /usr/openwin/include      \
28816
 
    /usr/openwin/share/include \
28817
 
    ; \
28818
 
  do
28819
 
    if test -r "$ac_dir/$x_direct_test_include"; then
28820
 
      ac_x_includes=$ac_dir
28821
 
      break
28822
 
    fi
28823
 
  done
28824
 
fi
28825
 
 
28826
 
rm -f conftest.err conftest.$ac_ext
28827
 
fi # $ac_x_includes = NO
28828
 
 
28829
 
if test "$ac_x_libraries" = NO; then
28830
 
  # Check for the libraries.
28831
 
 
28832
 
  test -z "$x_direct_test_library" && x_direct_test_library=Xt
28833
 
  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
28834
 
 
28835
 
  # See if we find them without any special options.
28836
 
  # Don't add to $LIBS permanently.
28837
 
  ac_save_LIBS="$LIBS"
28838
 
  LIBS="-l$x_direct_test_library $LIBS"
28839
 
cat >conftest.$ac_ext <<_ACEOF
28840
 
/* confdefs.h.  */
28841
 
_ACEOF
28842
 
cat confdefs.h >>conftest.$ac_ext
28843
 
cat >>conftest.$ac_ext <<_ACEOF
28844
 
/* end confdefs.h.  */
28845
 
#include <X11/Intrinsic.h>
28846
 
int
28847
 
main ()
28848
 
{
28849
 
${x_direct_test_function}(1)
28850
 
  ;
28851
 
  return 0;
28852
 
}
28853
 
_ACEOF
28854
 
rm -f conftest.$ac_objext conftest$ac_exeext
28855
 
if { (ac_try="$ac_link"
28856
 
case "(($ac_try" in
28857
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28858
 
  *) ac_try_echo=$ac_try;;
28859
 
esac
28860
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28861
 
  (eval "$ac_link") 2>conftest.er1
28862
 
  ac_status=$?
28863
 
  grep -v '^ *+' conftest.er1 >conftest.err
28864
 
  rm -f conftest.er1
28865
 
  cat conftest.err >&5
28866
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867
 
  (exit $ac_status); } && {
28868
 
         test -z "$ac_c_werror_flag" ||
28869
 
         test ! -s conftest.err
28870
 
       } && test -s conftest$ac_exeext &&
28871
 
       $as_test_x conftest$ac_exeext; then
28872
 
  LIBS="$ac_save_LIBS"
28873
 
# We can link X programs with no special library path.
28874
 
ac_x_libraries=
28875
 
else
28876
 
  echo "$as_me: failed program was:" >&5
28877
 
sed 's/^/| /' conftest.$ac_ext >&5
28878
 
 
28879
 
        LIBS="$ac_save_LIBS"
28880
 
# First see if replacing the include by lib works.
28881
 
# Check X11 before X11Rn because it is often a symlink to the current release.
28882
 
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
28883
 
    /usr/X11/lib${kdelibsuff}           \
28884
 
    /usr/X11R6/lib${kdelibsuff}         \
28885
 
    /usr/X11R5/lib${kdelibsuff}         \
28886
 
    /usr/X11R4/lib${kdelibsuff}         \
28887
 
                                        \
28888
 
    /usr/lib${kdelibsuff}/X11           \
28889
 
    /usr/lib${kdelibsuff}/X11R6         \
28890
 
    /usr/lib${kdelibsuff}/X11R5         \
28891
 
    /usr/lib${kdelibsuff}/X11R4         \
28892
 
                                        \
28893
 
    /usr/local/X11/lib${kdelibsuff}     \
28894
 
    /usr/local/X11R6/lib${kdelibsuff}   \
28895
 
    /usr/local/X11R5/lib${kdelibsuff}   \
28896
 
    /usr/local/X11R4/lib${kdelibsuff}   \
28897
 
                                        \
28898
 
    /usr/local/lib${kdelibsuff}/X11     \
28899
 
    /usr/local/lib${kdelibsuff}/X11R6   \
28900
 
    /usr/local/lib${kdelibsuff}/X11R5   \
28901
 
    /usr/local/lib${kdelibsuff}/X11R4   \
28902
 
                                        \
28903
 
    /usr/X386/lib${kdelibsuff}          \
28904
 
    /usr/x386/lib${kdelibsuff}          \
28905
 
    /usr/XFree86/lib${kdelibsuff}/X11   \
28906
 
                                        \
28907
 
    /usr/lib${kdelibsuff}               \
28908
 
    /usr/local/lib${kdelibsuff}         \
28909
 
    /usr/unsupported/lib${kdelibsuff}   \
28910
 
    /usr/athena/lib${kdelibsuff}        \
28911
 
    /usr/local/x11r5/lib${kdelibsuff}   \
28912
 
    /usr/lpp/Xamples/lib${kdelibsuff}   \
28913
 
    /lib/usr/lib${kdelibsuff}/X11       \
28914
 
                                        \
28915
 
    /usr/openwin/lib${kdelibsuff}       \
28916
 
    /usr/openwin/share/lib${kdelibsuff} \
28917
 
    ; \
28918
 
do
28919
 
  for ac_extension in a so sl; do
28920
 
    if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
28921
 
      ac_x_libraries=$ac_dir
28922
 
      break 2
28923
 
    fi
28924
 
  done
28925
 
done
28926
 
fi
28927
 
 
28928
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28929
 
      conftest$ac_exeext conftest.$ac_ext
28930
 
fi # $ac_x_libraries = NO
28931
 
 
28932
 
case "$host" in
28933
 
mips-sgi-irix6*)
28934
 
  ;;
28935
 
*-*-solaris*)
28936
 
  ;;
28937
 
*)
28938
 
  rm -f -r conftest.dir
28939
 
if mkdir conftest.dir; then
28940
 
  cd conftest.dir
28941
 
  cat >Imakefile <<'_ACEOF'
28942
 
incroot:
28943
 
        @echo incroot='${INCROOT}'
28944
 
usrlibdir:
28945
 
        @echo usrlibdir='${USRLIBDIR}'
28946
 
libdir:
28947
 
        @echo libdir='${LIBDIR}'
28948
 
_ACEOF
28949
 
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28950
 
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28951
 
    for ac_var in incroot usrlibdir libdir; do
28952
 
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28953
 
    done
28954
 
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28955
 
    for ac_extension in a so sl; do
28956
 
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28957
 
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
28958
 
        ac_im_usrlibdir=$ac_im_libdir; break
28959
 
      fi
28960
 
    done
28961
 
    # Screen out bogus values from the imake configuration.  They are
28962
 
    # bogus both because they are the default anyway, and because
28963
 
    # using them would break gcc on systems where it needs fixed includes.
28964
 
    case $ac_im_incroot in
28965
 
        /usr/include) ac_x_includes= ;;
28966
 
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28967
 
    esac
28968
 
    case $ac_im_usrlibdir in
28969
 
        /usr/lib | /lib) ;;
28970
 
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28971
 
    esac
28972
 
  fi
28973
 
  cd ..
28974
 
  rm -f -r conftest.dir
28975
 
fi
28976
 
 
28977
 
  if test -z "$ac_x_includes"; then
28978
 
    ac_x_includes="."
28979
 
  fi
28980
 
  if test -z "$ac_x_libraries"; then
28981
 
    ac_x_libraries="/usr/lib${kdelibsuff}"
28982
 
  fi
28983
 
esac
28984
 
#from now on we use our own again
28985
 
 
28986
 
# when the user already gave --x-includes, we ignore
28987
 
# what the standard autoconf macros told us.
28988
 
if test "$kde_x_includes" = NO; then
28989
 
  kde_x_includes=$ac_x_includes
28990
 
fi
28991
 
 
28992
 
# for --x-libraries too
28993
 
if test "$kde_x_libraries" = NO; then
28994
 
  kde_x_libraries=$ac_x_libraries
28995
 
fi
28996
 
 
28997
 
if test "$kde_x_includes" = NO; then
28998
 
  { { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
28999
 
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
29000
 
   { (exit 1); exit 1; }; }
29001
 
fi
29002
 
 
29003
 
if test "$kde_x_libraries" = NO; then
29004
 
  { { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
29005
 
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
29006
 
   { (exit 1); exit 1; }; }
29007
 
fi
29008
 
 
29009
 
# Record where we found X for the cache.
29010
 
kde_cv_have_x="have_x=yes \
29011
 
         kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
29012
 
 
29013
 
fi
29014
 
 
29015
 
eval "$kde_cv_have_x"
29016
 
 
29017
 
if test "$have_x" != yes; then
29018
 
  { echo "$as_me:$LINENO: result: $have_x" >&5
29019
 
echo "${ECHO_T}$have_x" >&6; }
29020
 
  no_x=yes
29021
 
else
29022
 
  { echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
29023
 
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6; }
29024
 
fi
29025
 
 
29026
 
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
29027
 
  X_INCLUDES=""
29028
 
  x_includes=".";  else
29029
 
  x_includes=$kde_x_includes
29030
 
  X_INCLUDES="-I$x_includes"
29031
 
fi
29032
 
 
29033
 
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE || test "$kde_x_libraries" = "/usr/lib"; then
29034
 
  X_LDFLAGS=""
29035
 
  x_libraries="/usr/lib";  else
29036
 
  x_libraries=$kde_x_libraries
29037
 
  X_LDFLAGS="-L$x_libraries"
29038
 
fi
29039
 
all_includes="$X_INCLUDES"
29040
 
all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
29041
 
 
29042
 
# Check for libraries that X11R6 Xt/Xaw programs need.
29043
 
ac_save_LDFLAGS="$LDFLAGS"
29044
 
LDFLAGS="$LDFLAGS $X_LDFLAGS"
29045
 
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29046
 
# check for ICE first), but we must link in the order -lSM -lICE or
29047
 
# we get undefined symbols.  So assume we have SM if we have ICE.
29048
 
# These have to be linked with before -lX11, unlike the other
29049
 
# libraries we check for below, so use a different variable.
29050
 
#  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
29051
 
{ echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29052
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29053
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29054
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29055
 
else
29056
 
  ac_check_lib_save_LIBS=$LIBS
29057
 
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29058
 
cat >conftest.$ac_ext <<_ACEOF
29059
 
/* confdefs.h.  */
29060
 
_ACEOF
29061
 
cat confdefs.h >>conftest.$ac_ext
29062
 
cat >>conftest.$ac_ext <<_ACEOF
29063
 
/* end confdefs.h.  */
29064
 
 
29065
 
/* Override any GCC internal prototype to avoid an error.
29066
 
   Use char because int might match the return type of a GCC
29067
 
   builtin and then its argument prototype would still apply.  */
29068
 
#ifdef __cplusplus
29069
 
extern "C"
29070
 
#endif
29071
 
char IceConnectionNumber ();
29072
 
int
29073
 
main ()
29074
 
{
29075
 
return IceConnectionNumber ();
29076
 
  ;
29077
 
  return 0;
29078
 
}
29079
 
_ACEOF
29080
 
rm -f conftest.$ac_objext conftest$ac_exeext
29081
 
if { (ac_try="$ac_link"
29082
 
case "(($ac_try" in
29083
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29084
 
  *) ac_try_echo=$ac_try;;
29085
 
esac
29086
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29087
 
  (eval "$ac_link") 2>conftest.er1
29088
 
  ac_status=$?
29089
 
  grep -v '^ *+' conftest.er1 >conftest.err
29090
 
  rm -f conftest.er1
29091
 
  cat conftest.err >&5
29092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093
 
  (exit $ac_status); } && {
29094
 
         test -z "$ac_c_werror_flag" ||
29095
 
         test ! -s conftest.err
29096
 
       } && test -s conftest$ac_exeext &&
29097
 
       $as_test_x conftest$ac_exeext; then
29098
 
  ac_cv_lib_ICE_IceConnectionNumber=yes
29099
 
else
29100
 
  echo "$as_me: failed program was:" >&5
29101
 
sed 's/^/| /' conftest.$ac_ext >&5
29102
 
 
29103
 
        ac_cv_lib_ICE_IceConnectionNumber=no
29104
 
fi
29105
 
 
29106
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29107
 
      conftest$ac_exeext conftest.$ac_ext
29108
 
LIBS=$ac_check_lib_save_LIBS
29109
 
fi
29110
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29111
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29112
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29113
 
  LIBSM="-lSM -lICE"
29114
 
fi
29115
 
 
29116
 
LDFLAGS="$ac_save_LDFLAGS"
29117
 
 
29118
 
LIB_X11='-lX11 $(LIBSOCKET)'
29119
 
 
29120
 
{ echo "$as_me:$LINENO: checking for libXext" >&5
29121
 
echo $ECHO_N "checking for libXext... $ECHO_C" >&6; }
29122
 
if test "${kde_cv_have_libXext+set}" = set; then
29123
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29124
 
else
29125
 
 
29126
 
kde_ldflags_safe="$LDFLAGS"
29127
 
kde_libs_safe="$LIBS"
29128
 
 
29129
 
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
29130
 
LIBS="-lXext -lX11 $LIBSOCKET"
29131
 
 
29132
 
cat >conftest.$ac_ext <<_ACEOF
29133
 
/* confdefs.h.  */
29134
 
_ACEOF
29135
 
cat confdefs.h >>conftest.$ac_ext
29136
 
cat >>conftest.$ac_ext <<_ACEOF
29137
 
/* end confdefs.h.  */
29138
 
 
29139
 
#include <stdio.h>
29140
 
#ifdef STDC_HEADERS
29141
 
# include <stdlib.h>
29142
 
#endif
29143
 
 
29144
 
int
29145
 
main ()
29146
 
{
29147
 
 
29148
 
printf("hello Xext\n");
29149
 
 
29150
 
  ;
29151
 
  return 0;
29152
 
}
29153
 
_ACEOF
29154
 
rm -f conftest.$ac_objext conftest$ac_exeext
29155
 
if { (ac_try="$ac_link"
29156
 
case "(($ac_try" in
29157
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29158
 
  *) ac_try_echo=$ac_try;;
29159
 
esac
29160
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29161
 
  (eval "$ac_link") 2>conftest.er1
29162
 
  ac_status=$?
29163
 
  grep -v '^ *+' conftest.er1 >conftest.err
29164
 
  rm -f conftest.er1
29165
 
  cat conftest.err >&5
29166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167
 
  (exit $ac_status); } && {
29168
 
         test -z "$ac_c_werror_flag" ||
29169
 
         test ! -s conftest.err
29170
 
       } && test -s conftest$ac_exeext &&
29171
 
       $as_test_x conftest$ac_exeext; then
29172
 
  kde_cv_have_libXext=yes
29173
 
else
29174
 
  echo "$as_me: failed program was:" >&5
29175
 
sed 's/^/| /' conftest.$ac_ext >&5
29176
 
 
29177
 
        kde_cv_have_libXext=no
29178
 
 
29179
 
fi
29180
 
 
29181
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29182
 
      conftest$ac_exeext conftest.$ac_ext
29183
 
 
29184
 
LDFLAGS=$kde_ldflags_safe
29185
 
LIBS=$kde_libs_safe
29186
 
 
29187
 
fi
29188
 
 
29189
 
 
29190
 
{ echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
29191
 
echo "${ECHO_T}$kde_cv_have_libXext" >&6; }
29192
 
 
29193
 
if test "$kde_cv_have_libXext" = "no"; then
29194
 
  { { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
29195
 
can't find it itself, we stop here assuming that make wouldn't find
29196
 
them either." >&5
29197
 
echo "$as_me: error: We need a working libXext to proceed. Since configure
29198
 
can't find it itself, we stop here assuming that make wouldn't find
29199
 
them either." >&2;}
29200
 
   { (exit 1); exit 1; }; }
29201
 
fi
29202
 
 
29203
 
LIB_XEXT="-lXext"
29204
 
QTE_NORTTI=""
29205
 
 
29206
 
elif test "$kde_use_qt_emb" = "yes"; then
29207
 
    CPPFLAGS=-DQWS
29208
 
  CXXFLAGS="$CXXFLAGS -fno-rtti"
29209
 
  QTE_NORTTI="-fno-rtti -DQWS"
29210
 
  X_PRE_LIBS=""
29211
 
  LIB_X11=""
29212
 
  LIB_XEXT=""
29213
 
  LIB_XRENDER=""
29214
 
  LIBSM=""
29215
 
  X_INCLUDES=""
29216
 
  X_LDFLAGS=""
29217
 
  x_includes=""
29218
 
  x_libraries=""
29219
 
elif test "$kde_use_qt_mac" = "yes"; then
29220
 
      CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
29221
 
  CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
29222
 
  X_PRE_LIBS=""
29223
 
  LIB_X11=""
29224
 
  LIB_XEXT=""
29225
 
  LIB_XRENDER=""
29226
 
  LIBSM=""
29227
 
  X_INCLUDES=""
29228
 
  X_LDFLAGS=""
29229
 
  x_includes=""
29230
 
  x_libraries=""
29231
 
fi
29232
 
 
29233
 
 
29234
 
 
29235
 
 
29236
 
 
29237
 
 
29238
 
 
29239
 
 
29240
 
 
29241
 
 
29242
 
 
29243
 
 
29244
 
 
29245
 
                LIBPTHREAD=""
29246
 
 
29247
 
  if test -n "$PTHREAD_LIBS"; then
29248
 
    if test "x$PTHREAD_LIBS" = "x-pthread" ; then
29249
 
      LIBPTHREAD="PTHREAD"
29250
 
    else
29251
 
      PTHREAD_LIBS_save="$PTHREAD_LIBS"
29252
 
      PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
29253
 
      { echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
29254
 
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6; }
29255
 
 
29256
 
     kde_save_LDFLAGS="$LDFLAGS"
29257
 
          kde_save_LIBS="$LIBS"
29258
 
     LDFLAGS="$LDFLAGS $all_libraries"
29259
 
     case $host_os in
29260
 
      aix*) LDFLAGS="-brtl $LDFLAGS"
29261
 
        test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
29262
 
        ;;
29263
 
     esac
29264
 
     as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
29265
 
{ echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
29266
 
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6; }
29267
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29268
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29269
 
else
29270
 
  ac_check_lib_save_LIBS=$LIBS
29271
 
LIBS="-l$PTHREAD_LIBS  $LIBS"
29272
 
cat >conftest.$ac_ext <<_ACEOF
29273
 
/* confdefs.h.  */
29274
 
_ACEOF
29275
 
cat confdefs.h >>conftest.$ac_ext
29276
 
cat >>conftest.$ac_ext <<_ACEOF
29277
 
/* end confdefs.h.  */
29278
 
 
29279
 
/* Override any GCC internal prototype to avoid an error.
29280
 
   Use char because int might match the return type of a GCC
29281
 
   builtin and then its argument prototype would still apply.  */
29282
 
#ifdef __cplusplus
29283
 
extern "C"
29284
 
#endif
29285
 
char pthread_create ();
29286
 
int
29287
 
main ()
29288
 
{
29289
 
return pthread_create ();
29290
 
  ;
29291
 
  return 0;
29292
 
}
29293
 
_ACEOF
29294
 
rm -f conftest.$ac_objext conftest$ac_exeext
29295
 
if { (ac_try="$ac_link"
29296
 
case "(($ac_try" in
29297
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29298
 
  *) ac_try_echo=$ac_try;;
29299
 
esac
29300
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29301
 
  (eval "$ac_link") 2>conftest.er1
29302
 
  ac_status=$?
29303
 
  grep -v '^ *+' conftest.er1 >conftest.err
29304
 
  rm -f conftest.er1
29305
 
  cat conftest.err >&5
29306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29307
 
  (exit $ac_status); } && {
29308
 
         test -z "$ac_c_werror_flag" ||
29309
 
         test ! -s conftest.err
29310
 
       } && test -s conftest$ac_exeext &&
29311
 
       $as_test_x conftest$ac_exeext; then
29312
 
  eval "$as_ac_Lib=yes"
29313
 
else
29314
 
  echo "$as_me: failed program was:" >&5
29315
 
sed 's/^/| /' conftest.$ac_ext >&5
29316
 
 
29317
 
        eval "$as_ac_Lib=no"
29318
 
fi
29319
 
 
29320
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29321
 
      conftest$ac_exeext conftest.$ac_ext
29322
 
LIBS=$ac_check_lib_save_LIBS
29323
 
fi
29324
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
29325
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
29326
 
echo "${ECHO_T}$ac_res" >&6; }
29327
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29328
 
  LIBPTHREAD="$PTHREAD_LIBS_save"
29329
 
fi
29330
 
 
29331
 
     LDFLAGS="$kde_save_LDFLAGS"
29332
 
     LIBS="$kde_save_LIBS"
29333
 
 
29334
 
      PTHREAD_LIBS="$PTHREAD_LIBS_save"
29335
 
    fi
29336
 
  fi
29337
 
 
29338
 
    if test -z "$LIBPTHREAD"; then
29339
 
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29340
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29341
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
29342
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29343
 
else
29344
 
  ac_check_lib_save_LIBS=$LIBS
29345
 
LIBS="-lpthread  $LIBS"
29346
 
cat >conftest.$ac_ext <<_ACEOF
29347
 
/* confdefs.h.  */
29348
 
_ACEOF
29349
 
cat confdefs.h >>conftest.$ac_ext
29350
 
cat >>conftest.$ac_ext <<_ACEOF
29351
 
/* end confdefs.h.  */
29352
 
 
29353
 
/* Override any GCC internal prototype to avoid an error.
29354
 
   Use char because int might match the return type of a GCC
29355
 
   builtin and then its argument prototype would still apply.  */
29356
 
#ifdef __cplusplus
29357
 
extern "C"
29358
 
#endif
29359
 
char pthread_create ();
29360
 
int
29361
 
main ()
29362
 
{
29363
 
return pthread_create ();
29364
 
  ;
29365
 
  return 0;
29366
 
}
29367
 
_ACEOF
29368
 
rm -f conftest.$ac_objext conftest$ac_exeext
29369
 
if { (ac_try="$ac_link"
29370
 
case "(($ac_try" in
29371
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29372
 
  *) ac_try_echo=$ac_try;;
29373
 
esac
29374
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29375
 
  (eval "$ac_link") 2>conftest.er1
29376
 
  ac_status=$?
29377
 
  grep -v '^ *+' conftest.er1 >conftest.err
29378
 
  rm -f conftest.er1
29379
 
  cat conftest.err >&5
29380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381
 
  (exit $ac_status); } && {
29382
 
         test -z "$ac_c_werror_flag" ||
29383
 
         test ! -s conftest.err
29384
 
       } && test -s conftest$ac_exeext &&
29385
 
       $as_test_x conftest$ac_exeext; then
29386
 
  ac_cv_lib_pthread_pthread_create=yes
29387
 
else
29388
 
  echo "$as_me: failed program was:" >&5
29389
 
sed 's/^/| /' conftest.$ac_ext >&5
29390
 
 
29391
 
        ac_cv_lib_pthread_pthread_create=no
29392
 
fi
29393
 
 
29394
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29395
 
      conftest$ac_exeext conftest.$ac_ext
29396
 
LIBS=$ac_check_lib_save_LIBS
29397
 
fi
29398
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
29399
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
29400
 
if test $ac_cv_lib_pthread_pthread_create = yes; then
29401
 
  LIBPTHREAD="-lpthread"
29402
 
fi
29403
 
 
29404
 
  fi
29405
 
 
29406
 
    if test -z "$LIBPTHREAD" ; then
29407
 
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29408
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29409
 
    kde_safe_libs=$LIBS
29410
 
    LIBS="$LIBS -lpthread"
29411
 
    cat >conftest.$ac_ext <<_ACEOF
29412
 
/* confdefs.h.  */
29413
 
_ACEOF
29414
 
cat confdefs.h >>conftest.$ac_ext
29415
 
cat >>conftest.$ac_ext <<_ACEOF
29416
 
/* end confdefs.h.  */
29417
 
#include <pthread.h>
29418
 
int
29419
 
main ()
29420
 
{
29421
 
(void)pthread_create(0,0,0,0);
29422
 
  ;
29423
 
  return 0;
29424
 
}
29425
 
_ACEOF
29426
 
rm -f conftest.$ac_objext conftest$ac_exeext
29427
 
if { (ac_try="$ac_link"
29428
 
case "(($ac_try" in
29429
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29430
 
  *) ac_try_echo=$ac_try;;
29431
 
esac
29432
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29433
 
  (eval "$ac_link") 2>conftest.er1
29434
 
  ac_status=$?
29435
 
  grep -v '^ *+' conftest.er1 >conftest.err
29436
 
  rm -f conftest.er1
29437
 
  cat conftest.err >&5
29438
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439
 
  (exit $ac_status); } && {
29440
 
         test -z "$ac_c_werror_flag" ||
29441
 
         test ! -s conftest.err
29442
 
       } && test -s conftest$ac_exeext &&
29443
 
       $as_test_x conftest$ac_exeext; then
29444
 
 
29445
 
        { echo "$as_me:$LINENO: result: yes" >&5
29446
 
echo "${ECHO_T}yes" >&6; }
29447
 
        LIBPTHREAD="-lpthread"
29448
 
else
29449
 
  echo "$as_me: failed program was:" >&5
29450
 
sed 's/^/| /' conftest.$ac_ext >&5
29451
 
 
29452
 
 
29453
 
        { echo "$as_me:$LINENO: result: no" >&5
29454
 
echo "${ECHO_T}no" >&6; }
29455
 
fi
29456
 
 
29457
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29458
 
      conftest$ac_exeext conftest.$ac_ext
29459
 
    LIBS=$kde_safe_libs
29460
 
  fi
29461
 
 
29462
 
    if test "x$LIBPTHREAD" = "xPTHREAD" ; then
29463
 
    LIBPTHREAD=""
29464
 
  fi
29465
 
 
29466
 
 
29467
 
 
29468
 
 
29469
 
      USE_THREADS=""
29470
 
      if test -z "$LIBPTHREAD"; then
29471
 
 
29472
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
29473
 
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6; }
29474
 
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
29475
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29476
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29477
 
else
29478
 
 
29479
 
 
29480
 
   ac_ext=cpp
29481
 
ac_cpp='$CXXCPP $CPPFLAGS'
29482
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29483
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29484
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29485
 
 
29486
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29487
 
 
29488
 
 
29489
 
  save_CXXFLAGS="$CXXFLAGS"
29490
 
  CXXFLAGS="$CXXFLAGS -pthread"
29491
 
  cat >conftest.$ac_ext <<_ACEOF
29492
 
/* confdefs.h.  */
29493
 
_ACEOF
29494
 
cat confdefs.h >>conftest.$ac_ext
29495
 
cat >>conftest.$ac_ext <<_ACEOF
29496
 
/* end confdefs.h.  */
29497
 
 
29498
 
int
29499
 
main ()
29500
 
{
29501
 
 return 0;
29502
 
  ;
29503
 
  return 0;
29504
 
}
29505
 
_ACEOF
29506
 
rm -f conftest.$ac_objext conftest$ac_exeext
29507
 
if { (ac_try="$ac_link"
29508
 
case "(($ac_try" in
29509
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29510
 
  *) ac_try_echo=$ac_try;;
29511
 
esac
29512
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29513
 
  (eval "$ac_link") 2>conftest.er1
29514
 
  ac_status=$?
29515
 
  grep -v '^ *+' conftest.er1 >conftest.err
29516
 
  rm -f conftest.er1
29517
 
  cat conftest.err >&5
29518
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519
 
  (exit $ac_status); } && {
29520
 
         test -z "$ac_cxx_werror_flag" ||
29521
 
         test ! -s conftest.err
29522
 
       } && test -s conftest$ac_exeext &&
29523
 
       $as_test_x conftest$ac_exeext; then
29524
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
29525
 
else
29526
 
  echo "$as_me: failed program was:" >&5
29527
 
sed 's/^/| /' conftest.$ac_ext >&5
29528
 
 
29529
 
 
29530
 
fi
29531
 
 
29532
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29533
 
      conftest$ac_exeext conftest.$ac_ext
29534
 
  CXXFLAGS="$save_CXXFLAGS"
29535
 
  ac_ext=c
29536
 
ac_cpp='$CPP $CPPFLAGS'
29537
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29538
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29539
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29540
 
 
29541
 
 
29542
 
fi
29543
 
 
29544
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29545
 
 { echo "$as_me:$LINENO: result: yes" >&5
29546
 
echo "${ECHO_T}yes" >&6; }
29547
 
 :
29548
 
 USE_THREADS="-D_THREAD_SAFE -pthread"
29549
 
else
29550
 
 { echo "$as_me:$LINENO: result: no" >&5
29551
 
echo "${ECHO_T}no" >&6; }
29552
 
 :
29553
 
 
29554
 
fi
29555
 
 
29556
 
      fi
29557
 
 
29558
 
 
29559
 
 
29560
 
    case $host_os in
29561
 
        solaris*)
29562
 
 
29563
 
{ echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
29564
 
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6; }
29565
 
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
29566
 
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29567
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29568
 
else
29569
 
 
29570
 
 
29571
 
   ac_ext=cpp
29572
 
ac_cpp='$CXXCPP $CPPFLAGS'
29573
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29574
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29575
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29576
 
 
29577
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29578
 
 
29579
 
 
29580
 
  save_CXXFLAGS="$CXXFLAGS"
29581
 
  CXXFLAGS="$CXXFLAGS -mt"
29582
 
  cat >conftest.$ac_ext <<_ACEOF
29583
 
/* confdefs.h.  */
29584
 
_ACEOF
29585
 
cat confdefs.h >>conftest.$ac_ext
29586
 
cat >>conftest.$ac_ext <<_ACEOF
29587
 
/* end confdefs.h.  */
29588
 
 
29589
 
int
29590
 
main ()
29591
 
{
29592
 
 return 0;
29593
 
  ;
29594
 
  return 0;
29595
 
}
29596
 
_ACEOF
29597
 
rm -f conftest.$ac_objext conftest$ac_exeext
29598
 
if { (ac_try="$ac_link"
29599
 
case "(($ac_try" in
29600
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29601
 
  *) ac_try_echo=$ac_try;;
29602
 
esac
29603
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29604
 
  (eval "$ac_link") 2>conftest.er1
29605
 
  ac_status=$?
29606
 
  grep -v '^ *+' conftest.er1 >conftest.err
29607
 
  rm -f conftest.er1
29608
 
  cat conftest.err >&5
29609
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610
 
  (exit $ac_status); } && {
29611
 
         test -z "$ac_cxx_werror_flag" ||
29612
 
         test ! -s conftest.err
29613
 
       } && test -s conftest$ac_exeext &&
29614
 
       $as_test_x conftest$ac_exeext; then
29615
 
  eval "kde_cv_prog_cxx_$kde_cache=yes"
29616
 
else
29617
 
  echo "$as_me: failed program was:" >&5
29618
 
sed 's/^/| /' conftest.$ac_ext >&5
29619
 
 
29620
 
 
29621
 
fi
29622
 
 
29623
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29624
 
      conftest$ac_exeext conftest.$ac_ext
29625
 
  CXXFLAGS="$save_CXXFLAGS"
29626
 
  ac_ext=c
29627
 
ac_cpp='$CPP $CPPFLAGS'
29628
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29629
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29630
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29631
 
 
29632
 
 
29633
 
fi
29634
 
 
29635
 
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29636
 
 { echo "$as_me:$LINENO: result: yes" >&5
29637
 
echo "${ECHO_T}yes" >&6; }
29638
 
 :
29639
 
 USE_THREADS="-mt"
29640
 
else
29641
 
 { echo "$as_me:$LINENO: result: no" >&5
29642
 
echo "${ECHO_T}no" >&6; }
29643
 
 :
29644
 
 
29645
 
fi
29646
 
 
29647
 
                CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
29648
 
                ;;
29649
 
        freebsd*)
29650
 
                CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
29651
 
                ;;
29652
 
        aix*)
29653
 
                CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
29654
 
                LIBPTHREAD="$LIBPTHREAD -lc_r"
29655
 
                ;;
29656
 
        linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
29657
 
                if test "$CXX" = "KCC"; then
29658
 
                  CXXFLAGS="$CXXFLAGS --thread_safe"
29659
 
                  NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
29660
 
                fi
29661
 
                ;;
29662
 
        *)
29663
 
                ;;
29664
 
    esac
29665
 
 
29666
 
 
29667
 
 
29668
 
 
29669
 
{ echo "$as_me:$LINENO: checking for extra includes" >&5
29670
 
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6; }
29671
 
 
29672
 
# Check whether --with-extra-includes was given.
29673
 
if test "${with_extra_includes+set}" = set; then
29674
 
  withval=$with_extra_includes; kde_use_extra_includes="$withval"
29675
 
else
29676
 
  kde_use_extra_includes=NONE
29677
 
 
29678
 
fi
29679
 
 
29680
 
kde_extra_includes=
29681
 
if test -n "$kde_use_extra_includes" && \
29682
 
   test "$kde_use_extra_includes" != "NONE"; then
29683
 
 
29684
 
   ac_save_ifs=$IFS
29685
 
   IFS=':'
29686
 
   for dir in $kde_use_extra_includes; do
29687
 
     kde_extra_includes="$kde_extra_includes $dir"
29688
 
     USER_INCLUDES="$USER_INCLUDES -I$dir"
29689
 
   done
29690
 
   IFS=$ac_save_ifs
29691
 
   kde_use_extra_includes="added"
29692
 
else
29693
 
   kde_use_extra_includes="no"
29694
 
fi
29695
 
 
29696
 
 
29697
 
{ echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
29698
 
echo "${ECHO_T}$kde_use_extra_includes" >&6; }
29699
 
 
29700
 
kde_extra_libs=
29701
 
{ echo "$as_me:$LINENO: checking for extra libs" >&5
29702
 
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6; }
29703
 
 
29704
 
# Check whether --with-extra-libs was given.
29705
 
if test "${with_extra_libs+set}" = set; then
29706
 
  withval=$with_extra_libs; kde_use_extra_libs=$withval
29707
 
else
29708
 
  kde_use_extra_libs=NONE
29709
 
 
29710
 
fi
29711
 
 
29712
 
if test -n "$kde_use_extra_libs" && \
29713
 
   test "$kde_use_extra_libs" != "NONE"; then
29714
 
 
29715
 
   ac_save_ifs=$IFS
29716
 
   IFS=':'
29717
 
   for dir in $kde_use_extra_libs; do
29718
 
     kde_extra_libs="$kde_extra_libs $dir"
29719
 
     KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
29720
 
     USER_LDFLAGS="$USER_LDFLAGS -L$dir"
29721
 
   done
29722
 
   IFS=$ac_save_ifs
29723
 
   kde_use_extra_libs="added"
29724
 
else
29725
 
   kde_use_extra_libs="no"
29726
 
fi
29727
 
 
29728
 
 
29729
 
 
29730
 
{ echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
29731
 
echo "${ECHO_T}$kde_use_extra_libs" >&6; }
29732
 
 
29733
 
 
29734
 
 
29735
 
 
29736
 
{ echo "$as_me:$LINENO: checking for libz" >&5
29737
 
echo $ECHO_N "checking for libz... $ECHO_C" >&6; }
29738
 
if test "${ac_cv_lib_z+set}" = set; then
29739
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29740
 
else
29741
 
 
29742
 
kde_save_LIBS="$LIBS"
29743
 
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
29744
 
kde_save_CFLAGS="$CFLAGS"
29745
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29746
 
cat >conftest.$ac_ext <<_ACEOF
29747
 
/* confdefs.h.  */
29748
 
_ACEOF
29749
 
cat confdefs.h >>conftest.$ac_ext
29750
 
cat >>conftest.$ac_ext <<_ACEOF
29751
 
/* end confdefs.h.  */
29752
 
 
29753
 
#include<zlib.h>
29754
 
 
29755
 
int
29756
 
main ()
29757
 
{
29758
 
 
29759
 
  char buf[42];
29760
 
  gzFile f = (gzFile) 0;
29761
 
  /* this would segfault.. but we only link, don't run */
29762
 
  (void) gzgets(f, buf, sizeof(buf));
29763
 
 
29764
 
  return (zlibVersion() == ZLIB_VERSION);
29765
 
 
29766
 
  ;
29767
 
  return 0;
29768
 
}
29769
 
_ACEOF
29770
 
rm -f conftest.$ac_objext conftest$ac_exeext
29771
 
if { (ac_try="$ac_link"
29772
 
case "(($ac_try" in
29773
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29774
 
  *) ac_try_echo=$ac_try;;
29775
 
esac
29776
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29777
 
  (eval "$ac_link") 2>conftest.er1
29778
 
  ac_status=$?
29779
 
  grep -v '^ *+' conftest.er1 >conftest.err
29780
 
  rm -f conftest.er1
29781
 
  cat conftest.err >&5
29782
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783
 
  (exit $ac_status); } && {
29784
 
         test -z "$ac_c_werror_flag" ||
29785
 
         test ! -s conftest.err
29786
 
       } && test -s conftest$ac_exeext &&
29787
 
       $as_test_x conftest$ac_exeext; then
29788
 
  eval "ac_cv_lib_z='-lz'"
29789
 
else
29790
 
  echo "$as_me: failed program was:" >&5
29791
 
sed 's/^/| /' conftest.$ac_ext >&5
29792
 
 
29793
 
        eval "ac_cv_lib_z=no"
29794
 
fi
29795
 
 
29796
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29797
 
      conftest$ac_exeext conftest.$ac_ext
29798
 
LIBS="$kde_save_LIBS"
29799
 
CFLAGS="$kde_save_CFLAGS"
29800
 
 
29801
 
fi
29802
 
if test ! "$ac_cv_lib_z" = no; then
29803
 
 
29804
 
cat >>confdefs.h <<_ACEOF
29805
 
#define HAVE_LIBZ 1
29806
 
_ACEOF
29807
 
 
29808
 
  LIBZ="$ac_cv_lib_z"
29809
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
29810
 
echo "${ECHO_T}$ac_cv_lib_z" >&6; }
29811
 
else
29812
 
  { { echo "$as_me:$LINENO: error: not found.
29813
 
          Possibly configure picks up an outdated version
29814
 
          installed by XFree86. Remove it from your system.
29815
 
 
29816
 
          Check your installation and look into config.log" >&5
29817
 
echo "$as_me: error: not found.
29818
 
          Possibly configure picks up an outdated version
29819
 
          installed by XFree86. Remove it from your system.
29820
 
 
29821
 
          Check your installation and look into config.log" >&2;}
29822
 
   { (exit 1); exit 1; }; }
29823
 
  LIBZ=""
29824
 
fi
29825
 
 
29826
 
 
29827
 
 
29828
 
 
29829
 
 
29830
 
{ echo "$as_me:$LINENO: checking for libpng" >&5
29831
 
echo $ECHO_N "checking for libpng... $ECHO_C" >&6; }
29832
 
if test "${ac_cv_lib_png+set}" = set; then
29833
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29834
 
else
29835
 
 
29836
 
kde_save_LIBS="$LIBS"
29837
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29838
 
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
29839
 
else
29840
 
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
29841
 
fi
29842
 
kde_save_CFLAGS="$CFLAGS"
29843
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29844
 
 
29845
 
cat >conftest.$ac_ext <<_ACEOF
29846
 
/* confdefs.h.  */
29847
 
_ACEOF
29848
 
cat confdefs.h >>conftest.$ac_ext
29849
 
cat >>conftest.$ac_ext <<_ACEOF
29850
 
/* end confdefs.h.  */
29851
 
 
29852
 
    #include<png.h>
29853
 
 
29854
 
int
29855
 
main ()
29856
 
{
29857
 
 
29858
 
    png_structp png_ptr = png_create_read_struct(  /* image ptr */
29859
 
                PNG_LIBPNG_VER_STRING, 0, 0, 0 );
29860
 
    return( png_ptr != 0 );
29861
 
 
29862
 
  ;
29863
 
  return 0;
29864
 
}
29865
 
_ACEOF
29866
 
rm -f conftest.$ac_objext conftest$ac_exeext
29867
 
if { (ac_try="$ac_link"
29868
 
case "(($ac_try" in
29869
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29870
 
  *) ac_try_echo=$ac_try;;
29871
 
esac
29872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29873
 
  (eval "$ac_link") 2>conftest.er1
29874
 
  ac_status=$?
29875
 
  grep -v '^ *+' conftest.er1 >conftest.err
29876
 
  rm -f conftest.er1
29877
 
  cat conftest.err >&5
29878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879
 
  (exit $ac_status); } && {
29880
 
         test -z "$ac_c_werror_flag" ||
29881
 
         test ! -s conftest.err
29882
 
       } && test -s conftest$ac_exeext &&
29883
 
       $as_test_x conftest$ac_exeext; then
29884
 
  eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
29885
 
else
29886
 
  echo "$as_me: failed program was:" >&5
29887
 
sed 's/^/| /' conftest.$ac_ext >&5
29888
 
 
29889
 
        eval "ac_cv_lib_png=no"
29890
 
 
29891
 
fi
29892
 
 
29893
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29894
 
      conftest$ac_exeext conftest.$ac_ext
29895
 
LIBS="$kde_save_LIBS"
29896
 
CFLAGS="$kde_save_CFLAGS"
29897
 
 
29898
 
fi
29899
 
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
29900
 
 
29901
 
cat >>confdefs.h <<_ACEOF
29902
 
#define HAVE_LIBPNG 1
29903
 
_ACEOF
29904
 
 
29905
 
  LIBPNG="$ac_cv_lib_png"
29906
 
 
29907
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
29908
 
echo "${ECHO_T}$ac_cv_lib_png" >&6; }
29909
 
else
29910
 
  { echo "$as_me:$LINENO: result: no" >&5
29911
 
echo "${ECHO_T}no" >&6; }
29912
 
  LIBPNG=""
29913
 
 
29914
 
fi
29915
 
 
29916
 
 
29917
 
 
29918
 
{ echo "$as_me:$LINENO: checking for libjpeg6b" >&5
29919
 
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6; }
29920
 
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
29921
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29922
 
else
29923
 
 
29924
 
ac_save_LIBS="$LIBS"
29925
 
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
29926
 
ac_save_CFLAGS="$CFLAGS"
29927
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29928
 
cat >conftest.$ac_ext <<_ACEOF
29929
 
/* confdefs.h.  */
29930
 
_ACEOF
29931
 
cat confdefs.h >>conftest.$ac_ext
29932
 
cat >>conftest.$ac_ext <<_ACEOF
29933
 
/* end confdefs.h.  */
29934
 
 
29935
 
#ifdef __cplusplus
29936
 
extern "C" {
29937
 
#endif
29938
 
void jpeg_CreateDecompress();
29939
 
#ifdef __cplusplus
29940
 
}
29941
 
#endif
29942
 
 
29943
 
int
29944
 
main ()
29945
 
{
29946
 
jpeg_CreateDecompress();
29947
 
  ;
29948
 
  return 0;
29949
 
}
29950
 
_ACEOF
29951
 
rm -f conftest.$ac_objext conftest$ac_exeext
29952
 
if { (ac_try="$ac_link"
29953
 
case "(($ac_try" in
29954
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29955
 
  *) ac_try_echo=$ac_try;;
29956
 
esac
29957
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29958
 
  (eval "$ac_link") 2>conftest.er1
29959
 
  ac_status=$?
29960
 
  grep -v '^ *+' conftest.er1 >conftest.err
29961
 
  rm -f conftest.er1
29962
 
  cat conftest.err >&5
29963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964
 
  (exit $ac_status); } && {
29965
 
         test -z "$ac_c_werror_flag" ||
29966
 
         test ! -s conftest.err
29967
 
       } && test -s conftest$ac_exeext &&
29968
 
       $as_test_x conftest$ac_exeext; then
29969
 
  eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
29970
 
else
29971
 
  echo "$as_me: failed program was:" >&5
29972
 
sed 's/^/| /' conftest.$ac_ext >&5
29973
 
 
29974
 
        eval "ac_cv_lib_jpeg_6b=no"
29975
 
fi
29976
 
 
29977
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29978
 
      conftest$ac_exeext conftest.$ac_ext
29979
 
LIBS="$ac_save_LIBS"
29980
 
CFLAGS="$ac_save_CFLAGS"
29981
 
 
29982
 
fi
29983
 
 
29984
 
 
29985
 
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
29986
 
  LIBJPEG="$ac_cv_lib_jpeg_6b"
29987
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
29988
 
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6; }
29989
 
else
29990
 
  { echo "$as_me:$LINENO: result: no" >&5
29991
 
echo "${ECHO_T}no" >&6; }
29992
 
 
29993
 
{ echo "$as_me:$LINENO: checking for libjpeg" >&5
29994
 
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6; }
29995
 
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
29996
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
29997
 
else
29998
 
 
29999
 
ac_save_LIBS="$LIBS"
30000
 
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
30001
 
ac_save_CFLAGS="$CFLAGS"
30002
 
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
30003
 
cat >conftest.$ac_ext <<_ACEOF
30004
 
/* confdefs.h.  */
30005
 
_ACEOF
30006
 
cat confdefs.h >>conftest.$ac_ext
30007
 
cat >>conftest.$ac_ext <<_ACEOF
30008
 
/* end confdefs.h.  */
30009
 
 
30010
 
#ifdef __cplusplus
30011
 
extern "C" {
30012
 
#endif
30013
 
void jpeg_CreateDecompress();
30014
 
#ifdef __cplusplus
30015
 
}
30016
 
#endif
30017
 
 
30018
 
int
30019
 
main ()
30020
 
{
30021
 
jpeg_CreateDecompress();
30022
 
  ;
30023
 
  return 0;
30024
 
}
30025
 
_ACEOF
30026
 
rm -f conftest.$ac_objext conftest$ac_exeext
30027
 
if { (ac_try="$ac_link"
30028
 
case "(($ac_try" in
30029
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30030
 
  *) ac_try_echo=$ac_try;;
30031
 
esac
30032
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30033
 
  (eval "$ac_link") 2>conftest.er1
30034
 
  ac_status=$?
30035
 
  grep -v '^ *+' conftest.er1 >conftest.err
30036
 
  rm -f conftest.er1
30037
 
  cat conftest.err >&5
30038
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039
 
  (exit $ac_status); } && {
30040
 
         test -z "$ac_c_werror_flag" ||
30041
 
         test ! -s conftest.err
30042
 
       } && test -s conftest$ac_exeext &&
30043
 
       $as_test_x conftest$ac_exeext; then
30044
 
  eval "ac_cv_lib_jpeg_normal=-ljpeg"
30045
 
else
30046
 
  echo "$as_me: failed program was:" >&5
30047
 
sed 's/^/| /' conftest.$ac_ext >&5
30048
 
 
30049
 
        eval "ac_cv_lib_jpeg_normal=no"
30050
 
fi
30051
 
 
30052
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30053
 
      conftest$ac_exeext conftest.$ac_ext
30054
 
LIBS="$ac_save_LIBS"
30055
 
CFLAGS="$ac_save_CFLAGS"
30056
 
 
30057
 
fi
30058
 
 
30059
 
 
30060
 
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
30061
 
  LIBJPEG="$ac_cv_lib_jpeg_normal"
30062
 
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
30063
 
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6; }
30064
 
else
30065
 
  { echo "$as_me:$LINENO: result: no" >&5
30066
 
echo "${ECHO_T}no" >&6; }
30067
 
 
30068
 
       LIBJPEG=
30069
 
 
30070
 
 
30071
 
fi
30072
 
 
30073
 
 
30074
 
 
30075
 
fi
30076
 
 
30077
 
 
30078
 
 
30079
 
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
30080
 
 
30081
 
jpeg_incdir=NO
30082
 
for i in $jpeg_incdirs;
30083
 
do
30084
 
  for j in jpeglib.h;
30085
 
  do
30086
 
    echo "configure: 30086: $i/$j" >&5
30087
 
    if test -r "$i/$j"; then
30088
 
      echo "taking that" >&5
30089
 
      jpeg_incdir=$i
30090
 
      break 2
30091
 
    fi
30092
 
  done
30093
 
done
30094
 
 
30095
 
test "x$jpeg_incdir" = xNO && jpeg_incdir=
30096
 
 
30097
 
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
30098
 
 
30099
 
cat >>confdefs.h <<_ACEOF
30100
 
#define HAVE_LIBJPEG 1
30101
 
_ACEOF
30102
 
 
30103
 
else
30104
 
  if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
30105
 
    { echo "$as_me:$LINENO: WARNING:
30106
 
There is an installation error in jpeg support. You seem to have only one
30107
 
of either the headers _or_ the libraries installed. You may need to either
30108
 
provide correct --with-extra-... options, or the development package of
30109
 
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30110
 
Disabling JPEG support.
30111
 
" >&5
30112
 
echo "$as_me: WARNING:
30113
 
There is an installation error in jpeg support. You seem to have only one
30114
 
of either the headers _or_ the libraries installed. You may need to either
30115
 
provide correct --with-extra-... options, or the development package of
30116
 
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30117
 
Disabling JPEG support.
30118
 
" >&2;}
30119
 
  else
30120
 
    { echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
30121
 
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
30122
 
  fi
30123
 
  jpeg_incdir=
30124
 
  LIBJPEG=
30125
 
fi
30126
 
 
30127
 
 
30128
 
 
30129
 
 
30130
 
 
30131
 
 
30132
 
 
30133
 
   { echo "$as_me:$LINENO: checking for perl" >&5
30134
 
echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
30135
 
   if test -n "$PERL"; then
30136
 
        kde_cv_path="$PERL";
30137
 
   else
30138
 
        kde_cache=`echo perl | sed 'y%./+-%__p_%'`
30139
 
 
30140
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30141
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30142
 
else
30143
 
 
30144
 
        kde_cv_path="NONE"
30145
 
        kde_save_IFS=$IFS
30146
 
        IFS=':'
30147
 
        dirs=""
30148
 
        for dir in $PATH; do
30149
 
          dirs="$dirs $dir"
30150
 
        done
30151
 
        if test -z ""; then       dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
30152
 
        else      dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
30153
 
        fi
30154
 
        IFS=$kde_save_IFS
30155
 
 
30156
 
        for dir in $dirs; do
30157
 
          if test -x "$dir/perl"; then
30158
 
            if test -n ""
30159
 
            then
30160
 
              evalstr="$dir/perl  2>&1 "
30161
 
              if eval $evalstr; then
30162
 
                kde_cv_path="$dir/perl"
30163
 
                break
30164
 
              fi
30165
 
            else
30166
 
                kde_cv_path="$dir/perl"
30167
 
                break
30168
 
            fi
30169
 
          fi
30170
 
        done
30171
 
 
30172
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30173
 
 
30174
 
 
30175
 
fi
30176
 
 
30177
 
 
30178
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30179
 
 
30180
 
   fi
30181
 
 
30182
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30183
 
      { echo "$as_me:$LINENO: result: not found" >&5
30184
 
echo "${ECHO_T}not found" >&6; }
30185
 
 
30186
 
                    { { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
30187
 
We need perl to generate some code." >&5
30188
 
echo "$as_me: error: No Perl found in your $PATH.
30189
 
We need perl to generate some code." >&2;}
30190
 
   { (exit 1); exit 1; }; }
30191
 
 
30192
 
   else
30193
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30194
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30195
 
      PERL=$kde_cv_path
30196
 
 
30197
 
   fi
30198
 
 
30199
 
 
30200
 
 
30201
 
 
30202
 
 
30203
 
 
30204
 
 
30205
 
 
30206
 
 
30207
 
 
30208
 
# Check whether --enable-mt was given.
30209
 
if test "${enable_mt+set}" = set; then
30210
 
  enableval=$enable_mt; kde_use_qt_mt=$enableval
30211
 
else
30212
 
 
30213
 
    if test $kde_qtver = 3; then
30214
 
      kde_use_qt_mt=yes
30215
 
    else
30216
 
      kde_use_qt_mt=no
30217
 
    fi
30218
 
 
30219
 
 
30220
 
fi
30221
 
 
30222
 
 
30223
 
USING_QT_MT=""
30224
 
 
30225
 
 
30226
 
KDE_MT_LDFLAGS=
30227
 
KDE_MT_LIBS=
30228
 
if test "x$kde_use_qt_mt" = "xyes"; then
30229
 
 
30230
 
 
30231
 
 
30232
 
    if test -z "$LIBPTHREAD"; then
30233
 
    if test -z "$USE_THREADS"; then
30234
 
      kde_check_threading_default=no
30235
 
    else
30236
 
      kde_check_threading_default=yes
30237
 
    fi
30238
 
  else
30239
 
    kde_check_threading_default=yes
30240
 
  fi
30241
 
  # Check whether --enable-threading was given.
30242
 
if test "${enable_threading+set}" = set; then
30243
 
  enableval=$enable_threading; kde_use_threading=$enableval
30244
 
else
30245
 
  kde_use_threading=$kde_check_threading_default
30246
 
fi
30247
 
 
30248
 
  if test "x$kde_use_threading" = "xyes"; then
30249
 
 
30250
 
cat >>confdefs.h <<\_ACEOF
30251
 
#define HAVE_LIBPTHREAD 1
30252
 
_ACEOF
30253
 
 
30254
 
  fi
30255
 
 
30256
 
  if test "x$kde_use_threading" = "xyes"; then
30257
 
    CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
30258
 
    KDE_MT_LDFLAGS="$USE_THREADS"
30259
 
    KDE_MT_LIBS="$LIBPTHREAD"
30260
 
  else
30261
 
    kde_use_qt_mt=no
30262
 
  fi
30263
 
fi
30264
 
 
30265
 
 
30266
 
 
30267
 
kde_qt_was_given=yes
30268
 
 
30269
 
if test -z "$LIBQT_GLOB"; then
30270
 
  if test "x$kde_use_qt_emb" = "xyes"; then
30271
 
    LIBQT_GLOB="libqte.*"
30272
 
  else
30273
 
    LIBQT_GLOB="libqt.*"
30274
 
  fi
30275
 
fi
30276
 
 
30277
 
if test "x$kde_use_qt_emb" = "xyes"; then
30278
 
  qtlib="qte"
30279
 
else
30280
 
  qtlib="qt"
30281
 
fi
30282
 
 
30283
 
kde_int_qt="-l$qtlib"
30284
 
 
30285
 
if test -z "$LIBQPE"; then
30286
 
  if test "x$kde_use_qt_emb" = "xyes"; then
30287
 
    if test "x$kde_use_qt_emb_palm" = "xyes"; then
30288
 
      LIB_QPE="-lqpe"
30289
 
    else
30290
 
      LIB_QPE=""
30291
 
    fi
30292
 
  else
30293
 
    LIB_QPE=""
30294
 
  fi
30295
 
fi
30296
 
 
30297
 
 
30298
 
if test "x$kde_use_qt_mt" = "xyes"; then
30299
 
  LIBQT="-l$qtlib-mt"
30300
 
  kde_int_qt="-l$qtlib-mt"
30301
 
  LIBQT_GLOB="lib$qtlib-mt.*"
30302
 
  USING_QT_MT="using -mt"
30303
 
else
30304
 
  LIBQT="-l$qtlib"
30305
 
fi
30306
 
 
30307
 
if test $kde_qtver != 1; then
30308
 
 
30309
 
 
30310
 
 
30311
 
  LIBQT="$LIBQT $LIBPNG $LIBJPEG"
30312
 
fi
30313
 
 
30314
 
if test $kde_qtver = 3; then
30315
 
 
30316
 
  LIBQT="$LIBQT $LIBDL"
30317
 
fi
30318
 
 
30319
 
{ echo "$as_me:$LINENO: checking for Qt" >&5
30320
 
echo $ECHO_N "checking for Qt... $ECHO_C" >&6; }
30321
 
 
30322
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30323
 
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
30324
 
fi
30325
 
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
30326
 
qt_libraries=""
30327
 
qt_includes=""
30328
 
 
30329
 
# Check whether --with-qt-dir was given.
30330
 
if test "${with_qt_dir+set}" = set; then
30331
 
  withval=$with_qt_dir;   ac_qt_includes="$withval"/include
30332
 
       ac_qt_libraries="$withval"/lib${kdelibsuff}
30333
 
       ac_qt_bindir="$withval"/bin
30334
 
 
30335
 
fi
30336
 
 
30337
 
 
30338
 
 
30339
 
# Check whether --with-qt-includes was given.
30340
 
if test "${with_qt_includes+set}" = set; then
30341
 
  withval=$with_qt_includes;
30342
 
       ac_qt_includes="$withval"
30343
 
 
30344
 
fi
30345
 
 
30346
 
 
30347
 
kde_qt_libs_given=no
30348
 
 
30349
 
 
30350
 
# Check whether --with-qt-libraries was given.
30351
 
if test "${with_qt_libraries+set}" = set; then
30352
 
  withval=$with_qt_libraries;   ac_qt_libraries="$withval"
30353
 
       kde_qt_libs_given=yes
30354
 
 
30355
 
fi
30356
 
 
30357
 
 
30358
 
if test "${ac_cv_have_qt+set}" = set; then
30359
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30360
 
else
30361
 
  #try to guess Qt locations
30362
 
 
30363
 
qt_incdirs=""
30364
 
for dir in $kde_qt_dirs; do
30365
 
   qt_incdirs="$qt_incdirs $dir/include $dir"
30366
 
done
30367
 
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"
30368
 
if test ! "$ac_qt_includes" = "NO"; then
30369
 
   qt_incdirs="$ac_qt_includes $qt_incdirs"
30370
 
fi
30371
 
 
30372
 
if test "$kde_qtver" != "1"; then
30373
 
  kde_qt_header=qstyle.h
30374
 
else
30375
 
  kde_qt_header=qglobal.h
30376
 
fi
30377
 
 
30378
 
 
30379
 
qt_incdir=NO
30380
 
for i in $qt_incdirs;
30381
 
do
30382
 
  for j in $kde_qt_header;
30383
 
  do
30384
 
    echo "configure: 30384: $i/$j" >&5
30385
 
    if test -r "$i/$j"; then
30386
 
      echo "taking that" >&5
30387
 
      qt_incdir=$i
30388
 
      break 2
30389
 
    fi
30390
 
  done
30391
 
done
30392
 
 
30393
 
ac_qt_includes="$qt_incdir"
30394
 
 
30395
 
qt_libdirs=""
30396
 
for dir in $kde_qt_dirs; do
30397
 
   qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
30398
 
done
30399
 
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
30400
 
if test ! "$ac_qt_libraries" = "NO"; then
30401
 
  qt_libdir=$ac_qt_libraries
30402
 
else
30403
 
  qt_libdirs="$ac_qt_libraries $qt_libdirs"
30404
 
  # if the Qt was given, the chance is too big that libqt.* doesn't exist
30405
 
  qt_libdir=NONE
30406
 
  for dir in $qt_libdirs; do
30407
 
    try="ls -1 $dir/${LIBQT_GLOB}"
30408
 
    if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
30409
 
  done
30410
 
fi
30411
 
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30412
 
  if test -e "$a"; then
30413
 
    LIBQT="$LIBQT ${kde_int_qt}_incremental"
30414
 
    break
30415
 
  fi
30416
 
done
30417
 
 
30418
 
ac_qt_libraries="$qt_libdir"
30419
 
 
30420
 
 
30421
 
 ac_ext=cpp
30422
 
ac_cpp='$CXXCPP $CPPFLAGS'
30423
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30426
 
 
30427
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30428
 
 
30429
 
 
30430
 
 
30431
 
ac_cxxflags_safe="$CXXFLAGS"
30432
 
ac_ldflags_safe="$LDFLAGS"
30433
 
ac_libs_safe="$LIBS"
30434
 
 
30435
 
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
30436
 
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
30437
 
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
30438
 
 
30439
 
 
30440
 
 
30441
 
cat > conftest.$ac_ext <<EOF
30442
 
#include "confdefs.h"
30443
 
#include <qglobal.h>
30444
 
#include <qapplication.h>
30445
 
EOF
30446
 
if test "$kde_qtver" = "2"; then
30447
 
cat >> conftest.$ac_ext <<EOF
30448
 
#include <qevent.h>
30449
 
#include <qstring.h>
30450
 
#include <qstyle.h>
30451
 
EOF
30452
 
 
30453
 
if test $kde_qtsubver -gt 0; then
30454
 
cat >> conftest.$ac_ext <<EOF
30455
 
#if QT_VERSION < 210
30456
 
#error 1
30457
 
#endif
30458
 
EOF
30459
 
fi
30460
 
fi
30461
 
 
30462
 
if test "$kde_qtver" = "3"; then
30463
 
cat >> conftest.$ac_ext <<EOF
30464
 
#include <qcursor.h>
30465
 
#include <qstylefactory.h>
30466
 
#include <private/qucomextra_p.h>
30467
 
EOF
30468
 
fi
30469
 
 
30470
 
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30471
 
cat >> conftest.$ac_ext <<EOF
30472
 
#error 1
30473
 
#endif
30474
 
 
30475
 
int main() {
30476
 
EOF
30477
 
if test "$kde_qtver" = "2"; then
30478
 
cat >> conftest.$ac_ext <<EOF
30479
 
    QStringList *t = new QStringList();
30480
 
    Q_UNUSED(t);
30481
 
EOF
30482
 
if test $kde_qtsubver -gt 0; then
30483
 
cat >> conftest.$ac_ext <<EOF
30484
 
    QString s;
30485
 
    s.setLatin1("Elvis is alive", 14);
30486
 
EOF
30487
 
fi
30488
 
fi
30489
 
if test "$kde_qtver" = "3"; then
30490
 
cat >> conftest.$ac_ext <<EOF
30491
 
    (void)QStyleFactory::create(QString::null);
30492
 
    QCursor c(Qt::WhatsThisCursor);
30493
 
EOF
30494
 
fi
30495
 
cat >> conftest.$ac_ext <<EOF
30496
 
    return 0;
30497
 
}
30498
 
EOF
30499
 
 
30500
 
 
30501
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30502
 
  (eval $ac_link) 2>&5
30503
 
  ac_status=$?
30504
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30505
 
  (exit $ac_status); } && test -s conftest; then
30506
 
  rm -f conftest*
30507
 
else
30508
 
  echo "configure: failed program was:" >&5
30509
 
  cat conftest.$ac_ext >&5
30510
 
  ac_qt_libraries="NO"
30511
 
fi
30512
 
rm -f conftest*
30513
 
CXXFLAGS="$ac_cxxflags_safe"
30514
 
LDFLAGS="$ac_ldflags_safe"
30515
 
LIBS="$ac_libs_safe"
30516
 
 
30517
 
ac_ext=c
30518
 
ac_cpp='$CPP $CPPFLAGS'
30519
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30520
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30521
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30522
 
 
30523
 
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
30524
 
  ac_cv_have_qt="have_qt=no"
30525
 
  ac_qt_notfound=""
30526
 
  missing_qt_mt=""
30527
 
  if test "$ac_qt_includes" = NO; then
30528
 
    if test "$ac_qt_libraries" = NO; then
30529
 
      ac_qt_notfound="(headers and libraries)";
30530
 
    else
30531
 
      ac_qt_notfound="(headers)";
30532
 
    fi
30533
 
  else
30534
 
    if test "x$kde_use_qt_mt" = "xyes"; then
30535
 
       missing_qt_mt="
30536
 
Make sure that you have compiled Qt with thread support!"
30537
 
       ac_qt_notfound="(library $qtlib-mt)";
30538
 
    else
30539
 
       ac_qt_notfound="(library $qtlib)";
30540
 
    fi
30541
 
  fi
30542
 
 
30543
 
  { { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30544
 
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
30545
 
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30546
 
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
30547
 
   { (exit 1); exit 1; }; }
30548
 
else
30549
 
  have_qt="yes"
30550
 
fi
30551
 
 
30552
 
fi
30553
 
 
30554
 
 
30555
 
eval "$ac_cv_have_qt"
30556
 
 
30557
 
if test "$have_qt" != yes; then
30558
 
  { echo "$as_me:$LINENO: result: $have_qt" >&5
30559
 
echo "${ECHO_T}$have_qt" >&6; };
30560
 
else
30561
 
  ac_cv_have_qt="have_qt=yes \
30562
 
    ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
30563
 
  { echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
30564
 
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6; }
30565
 
 
30566
 
  qt_libraries="$ac_qt_libraries"
30567
 
  qt_includes="$ac_qt_includes"
30568
 
fi
30569
 
 
30570
 
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
30571
 
 
30572
 
 
30573
 
{ echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
30574
 
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6; }
30575
 
if test "${kde_cv_qt_direct+set}" = set; then
30576
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30577
 
else
30578
 
 
30579
 
 
30580
 
 ac_ext=cpp
30581
 
ac_cpp='$CXXCPP $CPPFLAGS'
30582
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30583
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30584
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30585
 
 
30586
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30587
 
 
30588
 
 
30589
 
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
30590
 
ac_LIBRARY_PATH="$LIBRARY_PATH"
30591
 
ac_cxxflags_safe="$CXXFLAGS"
30592
 
ac_ldflags_safe="$LDFLAGS"
30593
 
ac_libs_safe="$LIBS"
30594
 
 
30595
 
CXXFLAGS="$CXXFLAGS -I$qt_includes"
30596
 
LDFLAGS="$LDFLAGS $X_LDFLAGS"
30597
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30598
 
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
30599
 
else
30600
 
LIBS="$LIBQT $LIBSOCKET"
30601
 
fi
30602
 
LD_LIBRARY_PATH=
30603
 
export LD_LIBRARY_PATH
30604
 
LIBRARY_PATH=
30605
 
export LIBRARY_PATH
30606
 
 
30607
 
 
30608
 
 
30609
 
cat > conftest.$ac_ext <<EOF
30610
 
#include "confdefs.h"
30611
 
#include <qglobal.h>
30612
 
#include <qapplication.h>
30613
 
EOF
30614
 
if test "$kde_qtver" = "2"; then
30615
 
cat >> conftest.$ac_ext <<EOF
30616
 
#include <qevent.h>
30617
 
#include <qstring.h>
30618
 
#include <qstyle.h>
30619
 
EOF
30620
 
 
30621
 
if test $kde_qtsubver -gt 0; then
30622
 
cat >> conftest.$ac_ext <<EOF
30623
 
#if QT_VERSION < 210
30624
 
#error 1
30625
 
#endif
30626
 
EOF
30627
 
fi
30628
 
fi
30629
 
 
30630
 
if test "$kde_qtver" = "3"; then
30631
 
cat >> conftest.$ac_ext <<EOF
30632
 
#include <qcursor.h>
30633
 
#include <qstylefactory.h>
30634
 
#include <private/qucomextra_p.h>
30635
 
EOF
30636
 
fi
30637
 
 
30638
 
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30639
 
cat >> conftest.$ac_ext <<EOF
30640
 
#error 1
30641
 
#endif
30642
 
 
30643
 
int main() {
30644
 
EOF
30645
 
if test "$kde_qtver" = "2"; then
30646
 
cat >> conftest.$ac_ext <<EOF
30647
 
    QStringList *t = new QStringList();
30648
 
    Q_UNUSED(t);
30649
 
EOF
30650
 
if test $kde_qtsubver -gt 0; then
30651
 
cat >> conftest.$ac_ext <<EOF
30652
 
    QString s;
30653
 
    s.setLatin1("Elvis is alive", 14);
30654
 
EOF
30655
 
fi
30656
 
fi
30657
 
if test "$kde_qtver" = "3"; then
30658
 
cat >> conftest.$ac_ext <<EOF
30659
 
    (void)QStyleFactory::create(QString::null);
30660
 
    QCursor c(Qt::WhatsThisCursor);
30661
 
EOF
30662
 
fi
30663
 
cat >> conftest.$ac_ext <<EOF
30664
 
    return 0;
30665
 
}
30666
 
EOF
30667
 
 
30668
 
 
30669
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30670
 
  (eval $ac_link) 2>&5
30671
 
  ac_status=$?
30672
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673
 
  (exit $ac_status); } && test -s conftest; then
30674
 
  kde_cv_qt_direct="yes"
30675
 
else
30676
 
  kde_cv_qt_direct="no"
30677
 
  echo "configure: failed program was:" >&5
30678
 
  cat conftest.$ac_ext >&5
30679
 
fi
30680
 
 
30681
 
rm -f conftest*
30682
 
CXXFLAGS="$ac_cxxflags_safe"
30683
 
LDFLAGS="$ac_ldflags_safe"
30684
 
LIBS="$ac_libs_safe"
30685
 
 
30686
 
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
30687
 
export LD_LIBRARY_PATH
30688
 
LIBRARY_PATH="$ac_LIBRARY_PATH"
30689
 
export LIBRARY_PATH
30690
 
ac_ext=c
30691
 
ac_cpp='$CPP $CPPFLAGS'
30692
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30693
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30694
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30695
 
 
30696
 
 
30697
 
fi
30698
 
 
30699
 
 
30700
 
if test "$kde_cv_qt_direct" = "yes"; then
30701
 
  { echo "$as_me:$LINENO: result: yes" >&5
30702
 
echo "${ECHO_T}yes" >&6; }
30703
 
  qt_libraries=
30704
 
else
30705
 
  { echo "$as_me:$LINENO: result: no" >&5
30706
 
echo "${ECHO_T}no" >&6; }
30707
 
 
30708
 
fi
30709
 
 
30710
 
fi
30711
 
 
30712
 
 
30713
 
 
30714
 
 
30715
 
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
30716
 
 QT_INCLUDES=""
30717
 
else
30718
 
 QT_INCLUDES="-I$qt_includes"
30719
 
 all_includes="$QT_INCLUDES $all_includes"
30720
 
fi
30721
 
 
30722
 
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
30723
 
 QT_LDFLAGS=""
30724
 
else
30725
 
 QT_LDFLAGS="-L$qt_libraries"
30726
 
 all_libraries="$QT_LDFLAGS $all_libraries"
30727
 
fi
30728
 
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
30729
 
 
30730
 
 
30731
 
 
30732
 
 
30733
 
 
30734
 
   qt_bindirs=""
30735
 
   for dir in $kde_qt_dirs; do
30736
 
      qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
30737
 
   done
30738
 
   qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
30739
 
   if test ! "$ac_qt_bindir" = "NO"; then
30740
 
      qt_bindirs="$ac_qt_bindir $qt_bindirs"
30741
 
   fi
30742
 
 
30743
 
 
30744
 
   { echo "$as_me:$LINENO: checking for moc" >&5
30745
 
echo $ECHO_N "checking for moc... $ECHO_C" >&6; }
30746
 
   if test -n "$MOC"; then
30747
 
        kde_cv_path="$MOC";
30748
 
   else
30749
 
        kde_cache=`echo moc | sed 'y%./+-%__p_%'`
30750
 
 
30751
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30752
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30753
 
else
30754
 
 
30755
 
        kde_cv_path="NONE"
30756
 
        kde_save_IFS=$IFS
30757
 
        IFS=':'
30758
 
        dirs=""
30759
 
        for dir in $PATH; do
30760
 
          dirs="$dirs $dir"
30761
 
        done
30762
 
        if test -z ""; then       dirs="$qt_bindirs $dirs"
30763
 
        else      dirs="$dirs $qt_bindirs"
30764
 
        fi
30765
 
        IFS=$kde_save_IFS
30766
 
 
30767
 
        for dir in $dirs; do
30768
 
          if test -x "$dir/moc"; then
30769
 
            if test -n ""
30770
 
            then
30771
 
              evalstr="$dir/moc  2>&1 "
30772
 
              if eval $evalstr; then
30773
 
                kde_cv_path="$dir/moc"
30774
 
                break
30775
 
              fi
30776
 
            else
30777
 
                kde_cv_path="$dir/moc"
30778
 
                break
30779
 
            fi
30780
 
          fi
30781
 
        done
30782
 
 
30783
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30784
 
 
30785
 
 
30786
 
fi
30787
 
 
30788
 
 
30789
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30790
 
 
30791
 
   fi
30792
 
 
30793
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30794
 
      { echo "$as_me:$LINENO: result: not found" >&5
30795
 
echo "${ECHO_T}not found" >&6; }
30796
 
 
30797
 
    { { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
30798
 
Please check whether you installed Qt correctly.
30799
 
You need to have a running moc binary.
30800
 
configure tried to run $ac_cv_path_moc and the test didn't
30801
 
succeed. If configure shouldn't have tried this one, set
30802
 
the environment variable MOC to the right one before running
30803
 
configure.
30804
 
" >&5
30805
 
echo "$as_me: error: No Qt meta object compiler (moc) found!
30806
 
Please check whether you installed Qt correctly.
30807
 
You need to have a running moc binary.
30808
 
configure tried to run $ac_cv_path_moc and the test didn't
30809
 
succeed. If configure shouldn't have tried this one, set
30810
 
the environment variable MOC to the right one before running
30811
 
configure.
30812
 
" >&2;}
30813
 
   { (exit 1); exit 1; }; }
30814
 
 
30815
 
   else
30816
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30817
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30818
 
      MOC=$kde_cv_path
30819
 
 
30820
 
   fi
30821
 
 
30822
 
   if test -z "$UIC_NOT_NEEDED"; then
30823
 
 
30824
 
   { echo "$as_me:$LINENO: checking for uic" >&5
30825
 
echo $ECHO_N "checking for uic... $ECHO_C" >&6; }
30826
 
   if test -n "$UIC_PATH"; then
30827
 
        kde_cv_path="$UIC_PATH";
30828
 
   else
30829
 
        kde_cache=`echo uic | sed 'y%./+-%__p_%'`
30830
 
 
30831
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30832
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30833
 
else
30834
 
 
30835
 
        kde_cv_path="NONE"
30836
 
        kde_save_IFS=$IFS
30837
 
        IFS=':'
30838
 
        dirs=""
30839
 
        for dir in $PATH; do
30840
 
          dirs="$dirs $dir"
30841
 
        done
30842
 
        if test -z ""; then       dirs="$qt_bindirs $dirs"
30843
 
        else      dirs="$dirs $qt_bindirs"
30844
 
        fi
30845
 
        IFS=$kde_save_IFS
30846
 
 
30847
 
        for dir in $dirs; do
30848
 
          if test -x "$dir/uic"; then
30849
 
            if test -n ""
30850
 
            then
30851
 
              evalstr="$dir/uic  2>&1 "
30852
 
              if eval $evalstr; then
30853
 
                kde_cv_path="$dir/uic"
30854
 
                break
30855
 
              fi
30856
 
            else
30857
 
                kde_cv_path="$dir/uic"
30858
 
                break
30859
 
            fi
30860
 
          fi
30861
 
        done
30862
 
 
30863
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
30864
 
 
30865
 
 
30866
 
fi
30867
 
 
30868
 
 
30869
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30870
 
 
30871
 
   fi
30872
 
 
30873
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30874
 
      { echo "$as_me:$LINENO: result: not found" >&5
30875
 
echo "${ECHO_T}not found" >&6; }
30876
 
      UIC_PATH=""
30877
 
   else
30878
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30879
 
echo "${ECHO_T}$kde_cv_path" >&6; }
30880
 
      UIC_PATH=$kde_cv_path
30881
 
 
30882
 
   fi
30883
 
 
30884
 
     if test -z "$UIC_PATH" ; then
30885
 
 
30886
 
    { echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
30887
 
Please check whether you installed Qt correctly.
30888
 
You need to have a running uic binary.
30889
 
configure tried to run $ac_cv_path_uic and the test didn't
30890
 
succeed. If configure shouldn't have tried this one, set
30891
 
the environment variable UIC to the right one before running
30892
 
configure.
30893
 
" >&5
30894
 
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
30895
 
Please check whether you installed Qt correctly.
30896
 
You need to have a running uic binary.
30897
 
configure tried to run $ac_cv_path_uic and the test didn't
30898
 
succeed. If configure shouldn't have tried this one, set
30899
 
the environment variable UIC to the right one before running
30900
 
configure.
30901
 
" >&2;}
30902
 
 
30903
 
       exit 1
30904
 
     else
30905
 
       UIC=$UIC_PATH
30906
 
 
30907
 
       if test $kde_qtver = 3; then
30908
 
 
30909
 
    { echo "$as_me:$LINENO: checking whether uic supports -L " >&5
30910
 
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6; }
30911
 
    kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
30912
 
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30913
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30914
 
else
30915
 
 
30916
 
        cat >conftest.ui <<EOT
30917
 
        <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30918
 
EOT
30919
 
        ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
30920
 
        if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30921
 
  (eval $ac_uic_testrun) 2>&5
30922
 
  ac_status=$?
30923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924
 
  (exit $ac_status); }; then
30925
 
            eval "kde_cv_prog_uic_$kde_cache=yes"
30926
 
        else
30927
 
            eval "kde_cv_prog_uic_$kde_cache=no"
30928
 
        fi
30929
 
        rm -f conftest*
30930
 
 
30931
 
fi
30932
 
 
30933
 
 
30934
 
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30935
 
        { echo "$as_me:$LINENO: result: yes" >&5
30936
 
echo "${ECHO_T}yes" >&6; }
30937
 
        :
30938
 
        ac_uic_supports_libpath=yes
30939
 
    else
30940
 
        { echo "$as_me:$LINENO: result: no" >&5
30941
 
echo "${ECHO_T}no" >&6; }
30942
 
        :
30943
 
        ac_uic_supports_libpath=no
30944
 
    fi
30945
 
 
30946
 
 
30947
 
    { echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
30948
 
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6; }
30949
 
    kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
30950
 
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30951
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
30952
 
else
30953
 
 
30954
 
        cat >conftest.ui <<EOT
30955
 
        <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30956
 
EOT
30957
 
        ac_uic_testrun="$UIC_PATH -nounload  conftest.ui >/dev/null"
30958
 
        if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30959
 
  (eval $ac_uic_testrun) 2>&5
30960
 
  ac_status=$?
30961
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30962
 
  (exit $ac_status); }; then
30963
 
            eval "kde_cv_prog_uic_$kde_cache=yes"
30964
 
        else
30965
 
            eval "kde_cv_prog_uic_$kde_cache=no"
30966
 
        fi
30967
 
        rm -f conftest*
30968
 
 
30969
 
fi
30970
 
 
30971
 
 
30972
 
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30973
 
        { echo "$as_me:$LINENO: result: yes" >&5
30974
 
echo "${ECHO_T}yes" >&6; }
30975
 
        :
30976
 
        ac_uic_supports_nounload=yes
30977
 
    else
30978
 
        { echo "$as_me:$LINENO: result: no" >&5
30979
 
echo "${ECHO_T}no" >&6; }
30980
 
        :
30981
 
        ac_uic_supports_nounload=no
30982
 
    fi
30983
 
 
30984
 
 
30985
 
         if test x$ac_uic_supports_libpath = xyes; then
30986
 
             UIC="$UIC -L \$(kde_widgetdir)"
30987
 
         fi
30988
 
         if test x$ac_uic_supports_nounload = xyes; then
30989
 
             UIC="$UIC -nounload"
30990
 
         fi
30991
 
       fi
30992
 
     fi
30993
 
   else
30994
 
     UIC="echo uic not available: "
30995
 
   fi
30996
 
 
30997
 
 
30998
 
 
30999
 
 
31000
 
   UIC_TR="i18n"
31001
 
   if test $kde_qtver = 3; then
31002
 
     UIC_TR="tr2i18n"
31003
 
   fi
31004
 
 
31005
 
 
31006
 
 
31007
 
 
31008
 
 
31009
 
if test -n "$LIBJPEG"; then
31010
 
{ echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
31011
 
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6; }
31012
 
if test "${kde_cv_qt_jpeg+set}" = set; then
31013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31014
 
else
31015
 
 
31016
 
 
31017
 
 ac_ext=cpp
31018
 
ac_cpp='$CXXCPP $CPPFLAGS'
31019
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31020
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31021
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31022
 
 
31023
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31024
 
 
31025
 
 
31026
 
ac_save_LIBS="$LIBS"
31027
 
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
31028
 
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
31029
 
ac_save_CXXFLAGS="$CXXFLAGS"
31030
 
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
31031
 
cat >conftest.$ac_ext <<_ACEOF
31032
 
/* confdefs.h.  */
31033
 
_ACEOF
31034
 
cat confdefs.h >>conftest.$ac_ext
31035
 
cat >>conftest.$ac_ext <<_ACEOF
31036
 
/* end confdefs.h.  */
31037
 
#include <qapplication.h>
31038
 
int
31039
 
main ()
31040
 
{
31041
 
 
31042
 
            int argc;
31043
 
            char** argv;
31044
 
            QApplication app(argc, argv);
31045
 
  ;
31046
 
  return 0;
31047
 
}
31048
 
_ACEOF
31049
 
rm -f conftest.$ac_objext conftest$ac_exeext
31050
 
if { (ac_try="$ac_link"
31051
 
case "(($ac_try" in
31052
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31053
 
  *) ac_try_echo=$ac_try;;
31054
 
esac
31055
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31056
 
  (eval "$ac_link") 2>conftest.er1
31057
 
  ac_status=$?
31058
 
  grep -v '^ *+' conftest.er1 >conftest.err
31059
 
  rm -f conftest.er1
31060
 
  cat conftest.err >&5
31061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062
 
  (exit $ac_status); } && {
31063
 
         test -z "$ac_cxx_werror_flag" ||
31064
 
         test ! -s conftest.err
31065
 
       } && test -s conftest$ac_exeext &&
31066
 
       $as_test_x conftest$ac_exeext; then
31067
 
  eval "kde_cv_qt_jpeg=no"
31068
 
else
31069
 
  echo "$as_me: failed program was:" >&5
31070
 
sed 's/^/| /' conftest.$ac_ext >&5
31071
 
 
31072
 
        eval "kde_cv_qt_jpeg=yes"
31073
 
fi
31074
 
 
31075
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31076
 
      conftest$ac_exeext conftest.$ac_ext
31077
 
LIBS="$ac_save_LIBS"
31078
 
CXXFLAGS="$ac_save_CXXFLAGS"
31079
 
ac_ext=c
31080
 
ac_cpp='$CPP $CPPFLAGS'
31081
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31082
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31083
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31084
 
 
31085
 
fi
31086
 
 
31087
 
fi
31088
 
 
31089
 
 
31090
 
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
31091
 
  { echo "$as_me:$LINENO: result: yes" >&5
31092
 
echo "${ECHO_T}yes" >&6; }
31093
 
  LIBJPEG_QT='$(LIBJPEG)'
31094
 
else
31095
 
  { echo "$as_me:$LINENO: result: no" >&5
31096
 
echo "${ECHO_T}no" >&6; }
31097
 
  LIBJPEG_QT=
31098
 
fi
31099
 
 
31100
 
 
31101
 
 
31102
 
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
31103
 
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
31104
 
else
31105
 
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
31106
 
fi
31107
 
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
31108
 
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
31109
 
  if test -e "$a"; then
31110
 
     LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
31111
 
     break
31112
 
  fi
31113
 
done
31114
 
 
31115
 
 
31116
 
 
31117
 
 
31118
 
 
31119
 
 
31120
 
 
31121
 
 
31122
 
 
31123
 
 
31124
 
 
31125
 
 
31126
 
 
31127
 
{ echo "$as_me:$LINENO: checking for rpath" >&5
31128
 
echo $ECHO_N "checking for rpath... $ECHO_C" >&6; }
31129
 
# Check whether --enable-rpath was given.
31130
 
if test "${enable_rpath+set}" = set; then
31131
 
  enableval=$enable_rpath; USE_RPATH=$enableval
31132
 
else
31133
 
  USE_RPATH=yes
31134
 
fi
31135
 
 
31136
 
 
31137
 
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
31138
 
 
31139
 
  KDE_RPATH="-R \$(libdir)"
31140
 
 
31141
 
  if test "$kde_libraries" != "$libdir"; then
31142
 
      KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
31143
 
  fi
31144
 
 
31145
 
  if test -n "$qt_libraries"; then
31146
 
    KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
31147
 
  fi
31148
 
    if test -n "$X_LDFLAGS"; then
31149
 
    X_RPATH="-R \$(x_libraries)"
31150
 
    KDE_RPATH="$KDE_RPATH $X_RPATH"
31151
 
  fi
31152
 
  if test -n "$KDE_EXTRA_RPATH"; then
31153
 
    KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
31154
 
  fi
31155
 
fi
31156
 
 
31157
 
 
31158
 
 
31159
 
{ echo "$as_me:$LINENO: result: $USE_RPATH" >&5
31160
 
echo "${ECHO_T}$USE_RPATH" >&6; }
31161
 
 
31162
 
{ echo "$as_me:$LINENO: checking for KDE" >&5
31163
 
echo $ECHO_N "checking for KDE... $ECHO_C" >&6; }
31164
 
 
31165
 
if test "${prefix}" != NONE; then
31166
 
  kde_includes=${includedir}
31167
 
 
31168
 
savex=$exec_prefix
31169
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31170
 
tmp=$includedir
31171
 
while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
31172
 
exec_prefix=$savex
31173
 
 
31174
 
 
31175
 
  kde_libraries=${libdir}
31176
 
 
31177
 
savex=$exec_prefix
31178
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31179
 
tmp=$libdir
31180
 
while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
31181
 
exec_prefix=$savex
31182
 
 
31183
 
 
31184
 
else
31185
 
  ac_kde_includes=
31186
 
  ac_kde_libraries=
31187
 
  kde_libraries=""
31188
 
  kde_includes=""
31189
 
fi
31190
 
 
31191
 
if test "${ac_cv_have_kde+set}" = set; then
31192
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31193
 
else
31194
 
  #try to guess kde locations
31195
 
 
31196
 
if test "$kde_qtver" = 1; then
31197
 
  kde_check_header="ksock.h"
31198
 
  kde_check_lib="libkdecore.la"
31199
 
else
31200
 
  kde_check_header="ksharedptr.h"
31201
 
  kde_check_lib="libkio.la"
31202
 
fi
31203
 
 
31204
 
if test -z ""; then
31205
 
 
31206
 
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"
31207
 
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
31208
 
kde_incdirs="$ac_kde_includes $kde_incdirs"
31209
 
 
31210
 
kde_incdir=NO
31211
 
for i in $kde_incdirs;
31212
 
do
31213
 
  for j in $kde_check_header;
31214
 
  do
31215
 
    echo "configure: 31215: $i/$j" >&5
31216
 
    if test -r "$i/$j"; then
31217
 
      echo "taking that" >&5
31218
 
      kde_incdir=$i
31219
 
      break 2
31220
 
    fi
31221
 
  done
31222
 
done
31223
 
 
31224
 
ac_kde_includes="$kde_incdir"
31225
 
 
31226
 
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
31227
 
  { { echo "$as_me:$LINENO: error:
31228
 
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31229
 
So, check this please and use another prefix!" >&5
31230
 
echo "$as_me: error:
31231
 
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31232
 
So, check this please and use another prefix!" >&2;}
31233
 
   { (exit 1); exit 1; }; }
31234
 
fi
31235
 
 
31236
 
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}"
31237
 
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
31238
 
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
31239
 
 
31240
 
kde_libdir=NO
31241
 
for i in $kde_libdirs;
31242
 
do
31243
 
  for j in $kde_check_lib;
31244
 
  do
31245
 
    echo "configure: 31245: $i/$j" >&5
31246
 
    if test -r "$i/$j"; then
31247
 
      echo "taking that" >&5
31248
 
      kde_libdir=$i
31249
 
      break 2
31250
 
    fi
31251
 
  done
31252
 
done
31253
 
 
31254
 
ac_kde_libraries="$kde_libdir"
31255
 
 
31256
 
kde_widgetdir=NO
31257
 
 
31258
 
kde_widgetdir=NO
31259
 
for i in $kde_libdirs;
31260
 
do
31261
 
  for j in "kde3/plugins/designer/kdewidgets.la";
31262
 
  do
31263
 
    echo "configure: 31263: $i/$j" >&5
31264
 
    if test -r "$i/$j"; then
31265
 
      echo "taking that" >&5
31266
 
      kde_widgetdir=$i
31267
 
      break 2
31268
 
    fi
31269
 
  done
31270
 
done
31271
 
 
31272
 
 
31273
 
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
31274
 
{ { echo "$as_me:$LINENO: error:
31275
 
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31276
 
So, check this please and use another prefix!" >&5
31277
 
echo "$as_me: error:
31278
 
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31279
 
So, check this please and use another prefix!" >&2;}
31280
 
   { (exit 1); exit 1; }; }
31281
 
fi
31282
 
 
31283
 
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
31284
 
{ { echo "$as_me:$LINENO: error:
31285
 
I can't find the designer plugins. These are required and should have been installed
31286
 
by kdelibs" >&5
31287
 
echo "$as_me: error:
31288
 
I can't find the designer plugins. These are required and should have been installed
31289
 
by kdelibs" >&2;}
31290
 
   { (exit 1); exit 1; }; }
31291
 
fi
31292
 
 
31293
 
if test -n "$kde_widgetdir"; then
31294
 
    kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
31295
 
fi
31296
 
 
31297
 
 
31298
 
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
31299
 
  ac_cv_have_kde="have_kde=no"
31300
 
else
31301
 
  ac_cv_have_kde="have_kde=yes \
31302
 
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31303
 
fi
31304
 
 
31305
 
else
31306
 
  ac_cv_have_kde="have_kde=no"
31307
 
 
31308
 
fi
31309
 
 
31310
 
fi
31311
 
 
31312
 
eval "$ac_cv_have_kde"
31313
 
 
31314
 
if test "$have_kde" != "yes"; then
31315
 
 if test "${prefix}" = NONE; then
31316
 
  ac_kde_prefix="$ac_default_prefix"
31317
 
 else
31318
 
  ac_kde_prefix="$prefix"
31319
 
 fi
31320
 
 if test "$exec_prefix" = NONE; then
31321
 
  ac_kde_exec_prefix="$ac_kde_prefix"
31322
 
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
31323
 
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6; }
31324
 
 else
31325
 
  ac_kde_exec_prefix="$exec_prefix"
31326
 
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
31327
 
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6; }
31328
 
 fi
31329
 
 
31330
 
 kde_libraries="${libdir}"
31331
 
 kde_includes="${includedir}"
31332
 
 
31333
 
else
31334
 
  ac_cv_have_kde="have_kde=yes \
31335
 
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31336
 
  { echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
31337
 
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6; }
31338
 
 
31339
 
  kde_libraries="$ac_kde_libraries"
31340
 
  kde_includes="$ac_kde_includes"
31341
 
fi
31342
 
 
31343
 
 
31344
 
 
31345
 
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes"  || test "$kde_includes" = "/usr/include"; then
31346
 
 KDE_INCLUDES=""
31347
 
else
31348
 
 KDE_INCLUDES="-I$kde_includes"
31349
 
 all_includes="$KDE_INCLUDES $all_includes"
31350
 
fi
31351
 
 
31352
 
KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
31353
 
 
31354
 
KDE_LDFLAGS="-L$kde_libraries"
31355
 
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
31356
 
 all_libraries="$KDE_LDFLAGS $all_libraries"
31357
 
fi
31358
 
 
31359
 
 
31360
 
 
31361
 
 
31362
 
 
31363
 
 
31364
 
all_libraries="$all_libraries $USER_LDFLAGS"
31365
 
all_includes="$all_includes $USER_INCLUDES"
31366
 
 
31367
 
 
31368
 
 
31369
 
if test -z ""; then
31370
 
 
31371
 
 
31372
 
 
31373
 
if test x$ac_uic_supports_libpath = xyes; then
31374
 
 
31375
 
{ echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
31376
 
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6; }
31377
 
if test "${kde_cv_uic_plugins+set}" = set; then
31378
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31379
 
else
31380
 
 
31381
 
cat > actest.ui << EOF
31382
 
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
31383
 
<class>NewConnectionDialog</class>
31384
 
<widget class="QDialog">
31385
 
   <widget class="KLineEdit">
31386
 
        <property name="name">
31387
 
           <cstring>testInput</cstring>
31388
 
        </property>
31389
 
   </widget>
31390
 
</widget>
31391
 
</UI>
31392
 
EOF
31393
 
 
31394
 
 
31395
 
 
31396
 
kde_cv_uic_plugins=no
31397
 
kde_line="$UIC_PATH -L $kde_widgetdir"
31398
 
if test x$ac_uic_supports_nounload = xyes; then
31399
 
   kde_line="$kde_line -nounload"
31400
 
fi
31401
 
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
31402
 
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
31403
 
  (eval $kde_line) 2>&5
31404
 
  ac_status=$?
31405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406
 
  (exit $ac_status); }; then
31407
 
        # if you're trying to debug this check and think it's incorrect,
31408
 
        # better check your installation. The check _is_ correct - your
31409
 
        # installation is not.
31410
 
        if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
31411
 
                kde_cv_uic_plugins=yes
31412
 
        fi
31413
 
fi
31414
 
rm -f actest.ui actest.cpp
31415
 
 
31416
 
fi
31417
 
 
31418
 
 
31419
 
{ echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
31420
 
echo "${ECHO_T}$kde_cv_uic_plugins" >&6; }
31421
 
if test "$kde_cv_uic_plugins" != yes; then
31422
 
        { { echo "$as_me:$LINENO: error:
31423
 
you need to install kdelibs first.
31424
 
 
31425
 
If you did install kdelibs, then the Qt version that is picked up by
31426
 
this configure is not the same version you used to compile kdelibs.
31427
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31428
 
_same Qt version_, compiled with the _same compiler_ and the same Qt
31429
 
configuration settings.
31430
 
" >&5
31431
 
echo "$as_me: error:
31432
 
you need to install kdelibs first.
31433
 
 
31434
 
If you did install kdelibs, then the Qt version that is picked up by
31435
 
this configure is not the same version you used to compile kdelibs.
31436
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31437
 
_same Qt version_, compiled with the _same compiler_ and the same Qt
31438
 
configuration settings.
31439
 
" >&2;}
31440
 
   { (exit 1); exit 1; }; }
31441
 
fi
31442
 
fi
31443
 
 
31444
 
fi
31445
 
 
31446
 
ac_kde_libraries="$kde_libdir"
31447
 
 
31448
 
 
31449
 
 
31450
 
 
31451
 
 
31452
 
  # Check whether --enable-path-check was given.
31453
 
if test "${enable_path_check+set}" = set; then
31454
 
  enableval=$enable_path_check;
31455
 
  if test "$enableval" = "no";
31456
 
    then ac_use_path_checking="default"
31457
 
    else ac_use_path_checking=""
31458
 
  fi
31459
 
 
31460
 
else
31461
 
 
31462
 
  if test "$kde_qtver" = 1;
31463
 
    then ac_use_path_checking=""
31464
 
    else ac_use_path_checking="default"
31465
 
  fi
31466
 
 
31467
 
 
31468
 
fi
31469
 
 
31470
 
 
31471
 
 
31472
 
 
31473
 
 
31474
 
{ echo "$as_me:$LINENO: checking for KDE paths" >&5
31475
 
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6; }
31476
 
kde_result=""
31477
 
kde_cached_paths=yes
31478
 
if test "${kde_cv_all_paths+set}" = set; then
31479
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
31480
 
else
31481
 
 
31482
 
 
31483
 
if test "$ac_use_path_checking" = "default"; then
31484
 
 
31485
 
  if test -z "$kde_htmldir"; then
31486
 
    kde_htmldir='\${datadir}/doc/HTML'
31487
 
  fi
31488
 
  if test -z "$kde_appsdir"; then
31489
 
    kde_appsdir='\${datadir}/applnk'
31490
 
  fi
31491
 
  if test -z "$kde_icondir"; then
31492
 
    kde_icondir='\${datadir}/icons'
31493
 
  fi
31494
 
  if test -z "$kde_sounddir"; then
31495
 
    kde_sounddir='\${datadir}/sounds'
31496
 
  fi
31497
 
  if test -z "$kde_datadir"; then
31498
 
    kde_datadir='\${datadir}/apps'
31499
 
  fi
31500
 
  if test -z "$kde_locale"; then
31501
 
    kde_locale='\${datadir}/locale'
31502
 
  fi
31503
 
  if test -z "$kde_cgidir"; then
31504
 
    kde_cgidir='\${exec_prefix}/cgi-bin'
31505
 
  fi
31506
 
  if test -z "$kde_confdir"; then
31507
 
    kde_confdir='\${datadir}/config'
31508
 
  fi
31509
 
  if test -z "$kde_kcfgdir"; then
31510
 
    kde_kcfgdir='\${datadir}/config.kcfg'
31511
 
  fi
31512
 
  if test -z "$kde_mimedir"; then
31513
 
    kde_mimedir='\${datadir}/mimelnk'
31514
 
  fi
31515
 
  if test -z "$kde_toolbardir"; then
31516
 
    kde_toolbardir='\${datadir}/toolbar'
31517
 
  fi
31518
 
  if test -z "$kde_wallpaperdir"; then
31519
 
    kde_wallpaperdir='\${datadir}/wallpapers'
31520
 
  fi
31521
 
  if test -z "$kde_templatesdir"; then
31522
 
    kde_templatesdir='\${datadir}/templates'
31523
 
  fi
31524
 
  if test -z "$kde_bindir"; then
31525
 
    kde_bindir='\${exec_prefix}/bin'
31526
 
  fi
31527
 
  if test -z "$kde_servicesdir"; then
31528
 
    kde_servicesdir='\${datadir}/services'
31529
 
  fi
31530
 
  if test -z "$kde_servicetypesdir"; then
31531
 
    kde_servicetypesdir='\${datadir}/servicetypes'
31532
 
  fi
31533
 
  if test -z "$kde_moduledir"; then
31534
 
    if test "$kde_qtver" = "2"; then
31535
 
      kde_moduledir='\${libdir}/kde2'
31536
 
    else
31537
 
      kde_moduledir='\${libdir}/kde3'
31538
 
    fi
31539
 
  fi
31540
 
  if test -z "$kde_styledir"; then
31541
 
    kde_styledir='\${libdir}/kde3/plugins/styles'
31542
 
  fi
31543
 
  if test -z "$kde_widgetdir"; then
31544
 
    kde_widgetdir='\${libdir}/kde3/plugins/designer'
31545
 
  fi
31546
 
  if test -z "$xdg_appsdir"; then
31547
 
    xdg_appsdir='\${datadir}/applications/kde'
31548
 
  fi
31549
 
  if test -z "$xdg_menudir"; then
31550
 
    xdg_menudir='\${sysconfdir}/xdg/menus'
31551
 
  fi
31552
 
  if test -z "$xdg_directorydir"; then
31553
 
    xdg_directorydir='\${datadir}/desktop-directories'
31554
 
  fi
31555
 
 
31556
 
 
31557
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31558
 
        kde_htmldir=\"$kde_htmldir\" \
31559
 
        kde_appsdir=\"$kde_appsdir\" \
31560
 
        kde_icondir=\"$kde_icondir\" \
31561
 
        kde_sounddir=\"$kde_sounddir\" \
31562
 
        kde_datadir=\"$kde_datadir\" \
31563
 
        kde_locale=\"$kde_locale\" \
31564
 
        kde_cgidir=\"$kde_cgidir\" \
31565
 
        kde_confdir=\"$kde_confdir\" \
31566
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31567
 
        kde_mimedir=\"$kde_mimedir\" \
31568
 
        kde_toolbardir=\"$kde_toolbardir\" \
31569
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31570
 
        kde_templatesdir=\"$kde_templatesdir\" \
31571
 
        kde_bindir=\"$kde_bindir\" \
31572
 
        kde_servicesdir=\"$kde_servicesdir\" \
31573
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31574
 
        kde_moduledir=\"$kde_moduledir\" \
31575
 
        kde_styledir=\"$kde_styledir\" \
31576
 
        kde_widgetdir=\"$kde_widgetdir\" \
31577
 
        xdg_appsdir=\"$xdg_appsdir\" \
31578
 
        xdg_menudir=\"$xdg_menudir\" \
31579
 
        xdg_directorydir=\"$xdg_directorydir\" \
31580
 
        kde_result=defaults"
31581
 
 
31582
 
 
31583
 
else
31584
 
 
31585
 
  if test $kde_qtver = 1; then
31586
 
     { echo "$as_me:$LINENO: result: compiling" >&5
31587
 
echo "${ECHO_T}compiling" >&6; }
31588
 
 
31589
 
 
31590
 
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31591
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31592
 
 
31593
 
     ac_ext=cpp
31594
 
ac_cpp='$CXXCPP $CPPFLAGS'
31595
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31596
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31597
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31598
 
 
31599
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31600
 
 
31601
 
 
31602
 
cat > conftest.$ac_ext <<EOF
31603
 
#ifdef STDC_HEADERS
31604
 
# include <stdlib.h>
31605
 
#endif
31606
 
#include <stdio.h>
31607
 
#include "confdefs.h"
31608
 
#include <kapp.h>
31609
 
 
31610
 
int main() {
31611
 
    printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31612
 
    printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31613
 
    printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31614
 
    printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31615
 
    printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31616
 
    printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31617
 
    printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31618
 
    printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31619
 
    printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31620
 
    printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31621
 
    printf("kde_wallpaperdir=\\"%s\\"\n",
31622
 
        KApplication::kde_wallpaperdir().data());
31623
 
    printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31624
 
    printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31625
 
    printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31626
 
    printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31627
 
    printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31628
 
    printf("kde_styledir=\\"/tmp/dummy\\"\n");
31629
 
    printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31630
 
    printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31631
 
    printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31632
 
    printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31633
 
    printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31634
 
    return 0;
31635
 
    }
31636
 
EOF
31637
 
 
31638
 
 ac_save_CPPFLAGS=$CPPFLAGS
31639
 
 CPPFLAGS="$all_includes $CPPFLAGS"
31640
 
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31641
 
  (eval $ac_compile) 2>&5
31642
 
  ac_status=$?
31643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644
 
  (exit $ac_status); }; then
31645
 
   { echo "$as_me:$LINENO: result: yes" >&5
31646
 
echo "${ECHO_T}yes" >&6; }
31647
 
 else
31648
 
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31649
 
Check, if you installed the KDE header files correctly.
31650
 
For more details about this problem, look at the end of config.log." >&5
31651
 
echo "$as_me: error: your system is not able to compile a small KDE application!
31652
 
Check, if you installed the KDE header files correctly.
31653
 
For more details about this problem, look at the end of config.log." >&2;}
31654
 
   { (exit 1); exit 1; }; }
31655
 
  fi
31656
 
  CPPFLAGS=$ac_save_CPPFLAGS
31657
 
 
31658
 
  ac_ext=c
31659
 
ac_cpp='$CPP $CPPFLAGS'
31660
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31661
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31662
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31663
 
 
31664
 
 
31665
 
 
31666
 
  KDE_TEST_RPATH=
31667
 
 
31668
 
  if test -n "$USE_RPATH"; then
31669
 
 
31670
 
     if test -n "$kde_libraries"; then
31671
 
       KDE_TEST_RPATH="-R $kde_libraries"
31672
 
     fi
31673
 
 
31674
 
     if test -n "$qt_libraries"; then
31675
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31676
 
     fi
31677
 
 
31678
 
     if test -n "$x_libraries"; then
31679
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31680
 
     fi
31681
 
 
31682
 
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31683
 
  fi
31684
 
 
31685
 
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31686
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31687
 
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'
31688
 
 
31689
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31690
 
  (eval $ac_link) 2>&5
31691
 
  ac_status=$?
31692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693
 
  (exit $ac_status); } && test -s conftest; then
31694
 
  { echo "$as_me:$LINENO: result: yes" >&5
31695
 
echo "${ECHO_T}yes" >&6; }
31696
 
else
31697
 
  { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31698
 
Check, if your compiler is installed correctly and if you have used the
31699
 
same compiler to compile Qt and kdelibs as you did use now.
31700
 
For more details about this problem, look at the end of config.log." >&5
31701
 
echo "$as_me: error: your system fails at linking a small KDE application!
31702
 
Check, if your compiler is installed correctly and if you have used the
31703
 
same compiler to compile Qt and kdelibs as you did use now.
31704
 
For more details about this problem, look at the end of config.log." >&2;}
31705
 
   { (exit 1); exit 1; }; }
31706
 
fi
31707
 
 
31708
 
if eval `KDEDIR= ./conftest 2>&5`; then
31709
 
  kde_result=done
31710
 
else
31711
 
  kde_result=problems
31712
 
fi
31713
 
 
31714
 
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31715
 
kde_have_all_paths=yes
31716
 
 
31717
 
 
31718
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31719
 
        kde_htmldir=\"$kde_htmldir\" \
31720
 
        kde_appsdir=\"$kde_appsdir\" \
31721
 
        kde_icondir=\"$kde_icondir\" \
31722
 
        kde_sounddir=\"$kde_sounddir\" \
31723
 
        kde_datadir=\"$kde_datadir\" \
31724
 
        kde_locale=\"$kde_locale\" \
31725
 
        kde_cgidir=\"$kde_cgidir\" \
31726
 
        kde_confdir=\"$kde_confdir\" \
31727
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31728
 
        kde_mimedir=\"$kde_mimedir\" \
31729
 
        kde_toolbardir=\"$kde_toolbardir\" \
31730
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31731
 
        kde_templatesdir=\"$kde_templatesdir\" \
31732
 
        kde_bindir=\"$kde_bindir\" \
31733
 
        kde_servicesdir=\"$kde_servicesdir\" \
31734
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31735
 
        kde_moduledir=\"$kde_moduledir\" \
31736
 
        kde_styledir=\"$kde_styledir\" \
31737
 
        kde_widgetdir=\"$kde_widgetdir\" \
31738
 
        xdg_appsdir=\"$xdg_appsdir\" \
31739
 
        xdg_menudir=\"$xdg_menudir\" \
31740
 
        xdg_directorydir=\"$xdg_directorydir\" \
31741
 
        kde_result=$kde_result"
31742
 
 
31743
 
 
31744
 
 
31745
 
  else
31746
 
     { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31747
 
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31748
 
   { (exit 1); exit 1; }; }
31749
 
  fi
31750
 
 
31751
 
fi
31752
 
 
31753
 
  kde_cached_paths=no
31754
 
 
31755
 
fi
31756
 
 
31757
 
eval "$kde_cv_all_paths"
31758
 
 if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
31759
 
   test -z "$kde_icondir" || test -z "$kde_sounddir" ||
31760
 
   test -z "$kde_datadir" || test -z "$kde_locale"  ||
31761
 
   test -z "$kde_cgidir"  || test -z "$kde_confdir" ||
31762
 
   test -z "$kde_kcfgdir" ||
31763
 
   test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
31764
 
   test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
31765
 
   test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
31766
 
   test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
31767
 
   test -z "$kde_styledir" || test -z "kde_widgetdir" ||
31768
 
   test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
31769
 
   test "x$kde_have_all_paths" != "xyes"; then
31770
 
     kde_have_all_paths=no
31771
 
  fi
31772
 
 
31773
 
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
31774
 
  # wrong values were cached, may be, we can set better ones
31775
 
  kde_result=
31776
 
  kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
31777
 
  kde_datadir= kde_locale=  kde_cgidir=  kde_confdir= kde_kcfgdir=
31778
 
  kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
31779
 
  kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
31780
 
  kde_have_all_paths=
31781
 
  kde_styledir=
31782
 
  kde_widgetdir=
31783
 
  xdg_appsdir = xdg_menudir= xdg_directorydir=
31784
 
 
31785
 
if test "$ac_use_path_checking" = "default"; then
31786
 
 
31787
 
  if test -z "$kde_htmldir"; then
31788
 
    kde_htmldir='\${datadir}/doc/HTML'
31789
 
  fi
31790
 
  if test -z "$kde_appsdir"; then
31791
 
    kde_appsdir='\${datadir}/applnk'
31792
 
  fi
31793
 
  if test -z "$kde_icondir"; then
31794
 
    kde_icondir='\${datadir}/icons'
31795
 
  fi
31796
 
  if test -z "$kde_sounddir"; then
31797
 
    kde_sounddir='\${datadir}/sounds'
31798
 
  fi
31799
 
  if test -z "$kde_datadir"; then
31800
 
    kde_datadir='\${datadir}/apps'
31801
 
  fi
31802
 
  if test -z "$kde_locale"; then
31803
 
    kde_locale='\${datadir}/locale'
31804
 
  fi
31805
 
  if test -z "$kde_cgidir"; then
31806
 
    kde_cgidir='\${exec_prefix}/cgi-bin'
31807
 
  fi
31808
 
  if test -z "$kde_confdir"; then
31809
 
    kde_confdir='\${datadir}/config'
31810
 
  fi
31811
 
  if test -z "$kde_kcfgdir"; then
31812
 
    kde_kcfgdir='\${datadir}/config.kcfg'
31813
 
  fi
31814
 
  if test -z "$kde_mimedir"; then
31815
 
    kde_mimedir='\${datadir}/mimelnk'
31816
 
  fi
31817
 
  if test -z "$kde_toolbardir"; then
31818
 
    kde_toolbardir='\${datadir}/toolbar'
31819
 
  fi
31820
 
  if test -z "$kde_wallpaperdir"; then
31821
 
    kde_wallpaperdir='\${datadir}/wallpapers'
31822
 
  fi
31823
 
  if test -z "$kde_templatesdir"; then
31824
 
    kde_templatesdir='\${datadir}/templates'
31825
 
  fi
31826
 
  if test -z "$kde_bindir"; then
31827
 
    kde_bindir='\${exec_prefix}/bin'
31828
 
  fi
31829
 
  if test -z "$kde_servicesdir"; then
31830
 
    kde_servicesdir='\${datadir}/services'
31831
 
  fi
31832
 
  if test -z "$kde_servicetypesdir"; then
31833
 
    kde_servicetypesdir='\${datadir}/servicetypes'
31834
 
  fi
31835
 
  if test -z "$kde_moduledir"; then
31836
 
    if test "$kde_qtver" = "2"; then
31837
 
      kde_moduledir='\${libdir}/kde2'
31838
 
    else
31839
 
      kde_moduledir='\${libdir}/kde3'
31840
 
    fi
31841
 
  fi
31842
 
  if test -z "$kde_styledir"; then
31843
 
    kde_styledir='\${libdir}/kde3/plugins/styles'
31844
 
  fi
31845
 
  if test -z "$kde_widgetdir"; then
31846
 
    kde_widgetdir='\${libdir}/kde3/plugins/designer'
31847
 
  fi
31848
 
  if test -z "$xdg_appsdir"; then
31849
 
    xdg_appsdir='\${datadir}/applications/kde'
31850
 
  fi
31851
 
  if test -z "$xdg_menudir"; then
31852
 
    xdg_menudir='\${sysconfdir}/xdg/menus'
31853
 
  fi
31854
 
  if test -z "$xdg_directorydir"; then
31855
 
    xdg_directorydir='\${datadir}/desktop-directories'
31856
 
  fi
31857
 
 
31858
 
 
31859
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31860
 
        kde_htmldir=\"$kde_htmldir\" \
31861
 
        kde_appsdir=\"$kde_appsdir\" \
31862
 
        kde_icondir=\"$kde_icondir\" \
31863
 
        kde_sounddir=\"$kde_sounddir\" \
31864
 
        kde_datadir=\"$kde_datadir\" \
31865
 
        kde_locale=\"$kde_locale\" \
31866
 
        kde_cgidir=\"$kde_cgidir\" \
31867
 
        kde_confdir=\"$kde_confdir\" \
31868
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
31869
 
        kde_mimedir=\"$kde_mimedir\" \
31870
 
        kde_toolbardir=\"$kde_toolbardir\" \
31871
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
31872
 
        kde_templatesdir=\"$kde_templatesdir\" \
31873
 
        kde_bindir=\"$kde_bindir\" \
31874
 
        kde_servicesdir=\"$kde_servicesdir\" \
31875
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
31876
 
        kde_moduledir=\"$kde_moduledir\" \
31877
 
        kde_styledir=\"$kde_styledir\" \
31878
 
        kde_widgetdir=\"$kde_widgetdir\" \
31879
 
        xdg_appsdir=\"$xdg_appsdir\" \
31880
 
        xdg_menudir=\"$xdg_menudir\" \
31881
 
        xdg_directorydir=\"$xdg_directorydir\" \
31882
 
        kde_result=defaults"
31883
 
 
31884
 
 
31885
 
else
31886
 
 
31887
 
  if test $kde_qtver = 1; then
31888
 
     { echo "$as_me:$LINENO: result: compiling" >&5
31889
 
echo "${ECHO_T}compiling" >&6; }
31890
 
 
31891
 
 
31892
 
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31893
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31894
 
 
31895
 
     ac_ext=cpp
31896
 
ac_cpp='$CXXCPP $CPPFLAGS'
31897
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31898
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31899
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31900
 
 
31901
 
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31902
 
 
31903
 
 
31904
 
cat > conftest.$ac_ext <<EOF
31905
 
#ifdef STDC_HEADERS
31906
 
# include <stdlib.h>
31907
 
#endif
31908
 
#include <stdio.h>
31909
 
#include "confdefs.h"
31910
 
#include <kapp.h>
31911
 
 
31912
 
int main() {
31913
 
    printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31914
 
    printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31915
 
    printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31916
 
    printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31917
 
    printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31918
 
    printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31919
 
    printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31920
 
    printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31921
 
    printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31922
 
    printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31923
 
    printf("kde_wallpaperdir=\\"%s\\"\n",
31924
 
        KApplication::kde_wallpaperdir().data());
31925
 
    printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31926
 
    printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31927
 
    printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31928
 
    printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31929
 
    printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31930
 
    printf("kde_styledir=\\"/tmp/dummy\\"\n");
31931
 
    printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31932
 
    printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31933
 
    printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31934
 
    printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31935
 
    printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31936
 
    return 0;
31937
 
    }
31938
 
EOF
31939
 
 
31940
 
 ac_save_CPPFLAGS=$CPPFLAGS
31941
 
 CPPFLAGS="$all_includes $CPPFLAGS"
31942
 
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31943
 
  (eval $ac_compile) 2>&5
31944
 
  ac_status=$?
31945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946
 
  (exit $ac_status); }; then
31947
 
   { echo "$as_me:$LINENO: result: yes" >&5
31948
 
echo "${ECHO_T}yes" >&6; }
31949
 
 else
31950
 
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31951
 
Check, if you installed the KDE header files correctly.
31952
 
For more details about this problem, look at the end of config.log." >&5
31953
 
echo "$as_me: error: your system is not able to compile a small KDE application!
31954
 
Check, if you installed the KDE header files correctly.
31955
 
For more details about this problem, look at the end of config.log." >&2;}
31956
 
   { (exit 1); exit 1; }; }
31957
 
  fi
31958
 
  CPPFLAGS=$ac_save_CPPFLAGS
31959
 
 
31960
 
  ac_ext=c
31961
 
ac_cpp='$CPP $CPPFLAGS'
31962
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31965
 
 
31966
 
 
31967
 
 
31968
 
  KDE_TEST_RPATH=
31969
 
 
31970
 
  if test -n "$USE_RPATH"; then
31971
 
 
31972
 
     if test -n "$kde_libraries"; then
31973
 
       KDE_TEST_RPATH="-R $kde_libraries"
31974
 
     fi
31975
 
 
31976
 
     if test -n "$qt_libraries"; then
31977
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31978
 
     fi
31979
 
 
31980
 
     if test -n "$x_libraries"; then
31981
 
       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31982
 
     fi
31983
 
 
31984
 
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31985
 
  fi
31986
 
 
31987
 
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31988
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31989
 
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'
31990
 
 
31991
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31992
 
  (eval $ac_link) 2>&5
31993
 
  ac_status=$?
31994
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995
 
  (exit $ac_status); } && test -s conftest; then
31996
 
  { echo "$as_me:$LINENO: result: yes" >&5
31997
 
echo "${ECHO_T}yes" >&6; }
31998
 
else
31999
 
  { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
32000
 
Check, if your compiler is installed correctly and if you have used the
32001
 
same compiler to compile Qt and kdelibs as you did use now.
32002
 
For more details about this problem, look at the end of config.log." >&5
32003
 
echo "$as_me: error: your system fails at linking a small KDE application!
32004
 
Check, if your compiler is installed correctly and if you have used the
32005
 
same compiler to compile Qt and kdelibs as you did use now.
32006
 
For more details about this problem, look at the end of config.log." >&2;}
32007
 
   { (exit 1); exit 1; }; }
32008
 
fi
32009
 
 
32010
 
if eval `KDEDIR= ./conftest 2>&5`; then
32011
 
  kde_result=done
32012
 
else
32013
 
  kde_result=problems
32014
 
fi
32015
 
 
32016
 
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
32017
 
kde_have_all_paths=yes
32018
 
 
32019
 
 
32020
 
  kde_cv_all_paths="kde_have_all_paths=\"yes\" \
32021
 
        kde_htmldir=\"$kde_htmldir\" \
32022
 
        kde_appsdir=\"$kde_appsdir\" \
32023
 
        kde_icondir=\"$kde_icondir\" \
32024
 
        kde_sounddir=\"$kde_sounddir\" \
32025
 
        kde_datadir=\"$kde_datadir\" \
32026
 
        kde_locale=\"$kde_locale\" \
32027
 
        kde_cgidir=\"$kde_cgidir\" \
32028
 
        kde_confdir=\"$kde_confdir\" \
32029
 
        kde_kcfgdir=\"$kde_kcfgdir\" \
32030
 
        kde_mimedir=\"$kde_mimedir\" \
32031
 
        kde_toolbardir=\"$kde_toolbardir\" \
32032
 
        kde_wallpaperdir=\"$kde_wallpaperdir\" \
32033
 
        kde_templatesdir=\"$kde_templatesdir\" \
32034
 
        kde_bindir=\"$kde_bindir\" \
32035
 
        kde_servicesdir=\"$kde_servicesdir\" \
32036
 
        kde_servicetypesdir=\"$kde_servicetypesdir\" \
32037
 
        kde_moduledir=\"$kde_moduledir\" \
32038
 
        kde_styledir=\"$kde_styledir\" \
32039
 
        kde_widgetdir=\"$kde_widgetdir\" \
32040
 
        xdg_appsdir=\"$xdg_appsdir\" \
32041
 
        xdg_menudir=\"$xdg_menudir\" \
32042
 
        xdg_directorydir=\"$xdg_directorydir\" \
32043
 
        kde_result=$kde_result"
32044
 
 
32045
 
 
32046
 
 
32047
 
  else
32048
 
     { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
32049
 
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
32050
 
   { (exit 1); exit 1; }; }
32051
 
  fi
32052
 
 
32053
 
fi
32054
 
 
32055
 
  eval "$kde_cv_all_paths"
32056
 
   if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
32057
 
   test -z "$kde_icondir" || test -z "$kde_sounddir" ||
32058
 
   test -z "$kde_datadir" || test -z "$kde_locale"  ||
32059
 
   test -z "$kde_cgidir"  || test -z "$kde_confdir" ||
32060
 
   test -z "$kde_kcfgdir" ||
32061
 
   test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
32062
 
   test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
32063
 
   test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
32064
 
   test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
32065
 
   test -z "$kde_styledir" || test -z "kde_widgetdir" ||
32066
 
   test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
32067
 
   test "x$kde_have_all_paths" != "xyes"; then
32068
 
     kde_have_all_paths=no
32069
 
  fi
32070
 
 
32071
 
  kde_result="$kde_result (cache overridden)"
32072
 
fi
32073
 
if test "$kde_have_all_paths" = "no"; then
32074
 
  { { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
32075
 
Since it had compiled and linked before, it must be a strange problem on your system.
32076
 
Look at config.log for details. If you are not able to fix this, look at
32077
 
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32078
 
(If you're using an egcs version on Linux, you may update binutils!)
32079
 
" >&5
32080
 
echo "$as_me: error: configure could not run a little KDE program to test the environment.
32081
 
Since it had compiled and linked before, it must be a strange problem on your system.
32082
 
Look at config.log for details. If you are not able to fix this, look at
32083
 
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32084
 
(If you're using an egcs version on Linux, you may update binutils!)
32085
 
" >&2;}
32086
 
   { (exit 1); exit 1; }; }
32087
 
else
32088
 
  rm -f conftest*
32089
 
  { echo "$as_me:$LINENO: result: $kde_result" >&5
32090
 
echo "${ECHO_T}$kde_result" >&6; }
32091
 
fi
32092
 
 
32093
 
bindir=$kde_bindir
32094
 
 
32095
 
 
32096
 
 
32097
 
# Check whether --with-arts was given.
32098
 
if test "${with_arts+set}" = set; then
32099
 
  withval=$with_arts; build_arts=$withval
32100
 
else
32101
 
  build_arts=yes
32102
 
 
32103
 
fi
32104
 
 
32105
 
 
32106
 
 
32107
 
if test "$build_arts" '!=' "no"; then
32108
 
  include_ARTS_TRUE=
32109
 
  include_ARTS_FALSE='#'
32110
 
else
32111
 
  include_ARTS_TRUE='#'
32112
 
  include_ARTS_FALSE=
32113
 
fi
32114
 
 
32115
 
    if test "$build_arts" = "no"; then
32116
 
 
32117
 
cat >>confdefs.h <<\_ACEOF
32118
 
#define WITHOUT_ARTS 1
32119
 
_ACEOF
32120
 
 
32121
 
    fi
32122
 
 
32123
 
 
32124
 
    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"
32125
 
    test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
32126
 
    if test -n "$KDEDIRS"; then
32127
 
       kde_save_IFS=$IFS
32128
 
       IFS=:
32129
 
       for dir in $KDEDIRS; do
32130
 
            kde_default_bindirs="$dir/bin $kde_default_bindirs "
32131
 
       done
32132
 
       IFS=$kde_save_IFS
32133
 
    fi
32134
 
 
32135
 
        kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
32136
 
 
32137
 
   { echo "$as_me:$LINENO: checking for dcopidl" >&5
32138
 
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6; }
32139
 
   if test -n "$DCOPIDL"; then
32140
 
        kde_cv_path="$DCOPIDL";
32141
 
   else
32142
 
        kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
32143
 
 
32144
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32145
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32146
 
else
32147
 
 
32148
 
        kde_cv_path="NONE"
32149
 
        kde_save_IFS=$IFS
32150
 
        IFS=':'
32151
 
        dirs=""
32152
 
        for dir in $PATH; do
32153
 
          dirs="$dirs $dir"
32154
 
        done
32155
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32156
 
        else      dirs="$dirs $kde_default_bindirs"
32157
 
        fi
32158
 
        IFS=$kde_save_IFS
32159
 
 
32160
 
        for dir in $dirs; do
32161
 
          if test -x "$dir/dcopidl"; then
32162
 
            if test -n ""
32163
 
            then
32164
 
              evalstr="$dir/dcopidl  2>&1 "
32165
 
              if eval $evalstr; then
32166
 
                kde_cv_path="$dir/dcopidl"
32167
 
                break
32168
 
              fi
32169
 
            else
32170
 
                kde_cv_path="$dir/dcopidl"
32171
 
                break
32172
 
            fi
32173
 
          fi
32174
 
        done
32175
 
 
32176
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32177
 
 
32178
 
 
32179
 
fi
32180
 
 
32181
 
 
32182
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32183
 
 
32184
 
   fi
32185
 
 
32186
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32187
 
      { echo "$as_me:$LINENO: result: not found" >&5
32188
 
echo "${ECHO_T}not found" >&6; }
32189
 
 
32190
 
    { { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
32191
 
Please check whether you installed KDE correctly.
32192
 
" >&5
32193
 
echo "$as_me: error: The important program dcopidl was not found!
32194
 
Please check whether you installed KDE correctly.
32195
 
" >&2;}
32196
 
   { (exit 1); exit 1; }; }
32197
 
 
32198
 
   else
32199
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32200
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32201
 
      DCOPIDL=$kde_cv_path
32202
 
 
32203
 
   fi
32204
 
 
32205
 
 
32206
 
   { echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
32207
 
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6; }
32208
 
   if test -n "$DCOPIDL2CPP"; then
32209
 
        kde_cv_path="$DCOPIDL2CPP";
32210
 
   else
32211
 
        kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
32212
 
 
32213
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32214
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32215
 
else
32216
 
 
32217
 
        kde_cv_path="NONE"
32218
 
        kde_save_IFS=$IFS
32219
 
        IFS=':'
32220
 
        dirs=""
32221
 
        for dir in $PATH; do
32222
 
          dirs="$dirs $dir"
32223
 
        done
32224
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32225
 
        else      dirs="$dirs $kde_default_bindirs"
32226
 
        fi
32227
 
        IFS=$kde_save_IFS
32228
 
 
32229
 
        for dir in $dirs; do
32230
 
          if test -x "$dir/dcopidl2cpp"; then
32231
 
            if test -n ""
32232
 
            then
32233
 
              evalstr="$dir/dcopidl2cpp  2>&1 "
32234
 
              if eval $evalstr; then
32235
 
                kde_cv_path="$dir/dcopidl2cpp"
32236
 
                break
32237
 
              fi
32238
 
            else
32239
 
                kde_cv_path="$dir/dcopidl2cpp"
32240
 
                break
32241
 
            fi
32242
 
          fi
32243
 
        done
32244
 
 
32245
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32246
 
 
32247
 
 
32248
 
fi
32249
 
 
32250
 
 
32251
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32252
 
 
32253
 
   fi
32254
 
 
32255
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32256
 
      { echo "$as_me:$LINENO: result: not found" >&5
32257
 
echo "${ECHO_T}not found" >&6; }
32258
 
 
32259
 
    { { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
32260
 
Please check whether you installed KDE correctly.
32261
 
" >&5
32262
 
echo "$as_me: error: The important program dcopidl2cpp was not found!
32263
 
Please check whether you installed KDE correctly.
32264
 
" >&2;}
32265
 
   { (exit 1); exit 1; }; }
32266
 
 
32267
 
   else
32268
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32269
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32270
 
      DCOPIDL2CPP=$kde_cv_path
32271
 
 
32272
 
   fi
32273
 
 
32274
 
        if test "$build_arts" '!=' "no"; then
32275
 
 
32276
 
   { echo "$as_me:$LINENO: checking for mcopidl" >&5
32277
 
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6; }
32278
 
   if test -n "$MCOPIDL"; then
32279
 
        kde_cv_path="$MCOPIDL";
32280
 
   else
32281
 
        kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
32282
 
 
32283
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32284
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32285
 
else
32286
 
 
32287
 
        kde_cv_path="NONE"
32288
 
        kde_save_IFS=$IFS
32289
 
        IFS=':'
32290
 
        dirs=""
32291
 
        for dir in $PATH; do
32292
 
          dirs="$dirs $dir"
32293
 
        done
32294
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32295
 
        else      dirs="$dirs $kde_default_bindirs"
32296
 
        fi
32297
 
        IFS=$kde_save_IFS
32298
 
 
32299
 
        for dir in $dirs; do
32300
 
          if test -x "$dir/mcopidl"; then
32301
 
            if test -n ""
32302
 
            then
32303
 
              evalstr="$dir/mcopidl  2>&1 "
32304
 
              if eval $evalstr; then
32305
 
                kde_cv_path="$dir/mcopidl"
32306
 
                break
32307
 
              fi
32308
 
            else
32309
 
                kde_cv_path="$dir/mcopidl"
32310
 
                break
32311
 
            fi
32312
 
          fi
32313
 
        done
32314
 
 
32315
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32316
 
 
32317
 
 
32318
 
fi
32319
 
 
32320
 
 
32321
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32322
 
 
32323
 
   fi
32324
 
 
32325
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32326
 
      { echo "$as_me:$LINENO: result: not found" >&5
32327
 
echo "${ECHO_T}not found" >&6; }
32328
 
 
32329
 
    { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
32330
 
Please check whether you installed aRts correctly or use
32331
 
--without-arts to compile without aRts support (this will remove functionality).
32332
 
" >&5
32333
 
echo "$as_me: error: The important program mcopidl was not found!
32334
 
Please check whether you installed aRts correctly or use
32335
 
--without-arts to compile without aRts support (this will remove functionality).
32336
 
" >&2;}
32337
 
   { (exit 1); exit 1; }; }
32338
 
 
32339
 
   else
32340
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32341
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32342
 
      MCOPIDL=$kde_cv_path
32343
 
 
32344
 
   fi
32345
 
 
32346
 
 
32347
 
   { echo "$as_me:$LINENO: checking for artsc-config" >&5
32348
 
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6; }
32349
 
   if test -n "$ARTSCCONFIG"; then
32350
 
        kde_cv_path="$ARTSCCONFIG";
32351
 
   else
32352
 
        kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
32353
 
 
32354
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32355
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32356
 
else
32357
 
 
32358
 
        kde_cv_path="NONE"
32359
 
        kde_save_IFS=$IFS
32360
 
        IFS=':'
32361
 
        dirs=""
32362
 
        for dir in $PATH; do
32363
 
          dirs="$dirs $dir"
32364
 
        done
32365
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32366
 
        else      dirs="$dirs $kde_default_bindirs"
32367
 
        fi
32368
 
        IFS=$kde_save_IFS
32369
 
 
32370
 
        for dir in $dirs; do
32371
 
          if test -x "$dir/artsc-config"; then
32372
 
            if test -n ""
32373
 
            then
32374
 
              evalstr="$dir/artsc-config  2>&1 "
32375
 
              if eval $evalstr; then
32376
 
                kde_cv_path="$dir/artsc-config"
32377
 
                break
32378
 
              fi
32379
 
            else
32380
 
                kde_cv_path="$dir/artsc-config"
32381
 
                break
32382
 
            fi
32383
 
          fi
32384
 
        done
32385
 
 
32386
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32387
 
 
32388
 
 
32389
 
fi
32390
 
 
32391
 
 
32392
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32393
 
 
32394
 
   fi
32395
 
 
32396
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32397
 
      { echo "$as_me:$LINENO: result: not found" >&5
32398
 
echo "${ECHO_T}not found" >&6; }
32399
 
 
32400
 
    { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
32401
 
Please check whether you installed aRts correctly or use
32402
 
--without-arts to compile without aRts support (this will remove functionality).
32403
 
" >&5
32404
 
echo "$as_me: error: The important program artsc-config was not found!
32405
 
Please check whether you installed aRts correctly or use
32406
 
--without-arts to compile without aRts support (this will remove functionality).
32407
 
" >&2;}
32408
 
   { (exit 1); exit 1; }; }
32409
 
 
32410
 
   else
32411
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32412
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32413
 
      ARTSCCONFIG=$kde_cv_path
32414
 
 
32415
 
   fi
32416
 
 
32417
 
        fi
32418
 
 
32419
 
   { echo "$as_me:$LINENO: checking for meinproc" >&5
32420
 
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6; }
32421
 
   if test -n "$MEINPROC"; then
32422
 
        kde_cv_path="$MEINPROC";
32423
 
   else
32424
 
        kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
32425
 
 
32426
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32427
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32428
 
else
32429
 
 
32430
 
        kde_cv_path="NONE"
32431
 
        kde_save_IFS=$IFS
32432
 
        IFS=':'
32433
 
        dirs=""
32434
 
        for dir in $PATH; do
32435
 
          dirs="$dirs $dir"
32436
 
        done
32437
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32438
 
        else      dirs="$dirs $kde_default_bindirs"
32439
 
        fi
32440
 
        IFS=$kde_save_IFS
32441
 
 
32442
 
        for dir in $dirs; do
32443
 
          if test -x "$dir/meinproc"; then
32444
 
            if test -n ""
32445
 
            then
32446
 
              evalstr="$dir/meinproc  2>&1 "
32447
 
              if eval $evalstr; then
32448
 
                kde_cv_path="$dir/meinproc"
32449
 
                break
32450
 
              fi
32451
 
            else
32452
 
                kde_cv_path="$dir/meinproc"
32453
 
                break
32454
 
            fi
32455
 
          fi
32456
 
        done
32457
 
 
32458
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32459
 
 
32460
 
 
32461
 
fi
32462
 
 
32463
 
 
32464
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32465
 
 
32466
 
   fi
32467
 
 
32468
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32469
 
      { echo "$as_me:$LINENO: result: not found" >&5
32470
 
echo "${ECHO_T}not found" >&6; }
32471
 
 
32472
 
   else
32473
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32474
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32475
 
      MEINPROC=$kde_cv_path
32476
 
 
32477
 
   fi
32478
 
 
32479
 
 
32480
 
        kde32ornewer=1
32481
 
        kde33ornewer=1
32482
 
        if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
32483
 
            kde32ornewer=
32484
 
            kde33ornewer=
32485
 
        else
32486
 
            if test "$kde_qtver" = "3"; then
32487
 
              if test "$kde_qtsubver" -le 1; then
32488
 
                kde32ornewer=
32489
 
              fi
32490
 
              if test "$kde_qtsubver" -le 2; then
32491
 
                kde33ornewer=
32492
 
              fi
32493
 
              if test "$KDECONFIG" != "compiled"; then
32494
 
                if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
32495
 
                  kde33ornewer=
32496
 
                fi
32497
 
              fi
32498
 
            fi
32499
 
        fi
32500
 
 
32501
 
        if test -n "$kde32ornewer"; then
32502
 
 
32503
 
   { echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
32504
 
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6; }
32505
 
   if test -n "$KCONFIG_COMPILER"; then
32506
 
        kde_cv_path="$KCONFIG_COMPILER";
32507
 
   else
32508
 
        kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
32509
 
 
32510
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32511
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32512
 
else
32513
 
 
32514
 
        kde_cv_path="NONE"
32515
 
        kde_save_IFS=$IFS
32516
 
        IFS=':'
32517
 
        dirs=""
32518
 
        for dir in $PATH; do
32519
 
          dirs="$dirs $dir"
32520
 
        done
32521
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32522
 
        else      dirs="$dirs $kde_default_bindirs"
32523
 
        fi
32524
 
        IFS=$kde_save_IFS
32525
 
 
32526
 
        for dir in $dirs; do
32527
 
          if test -x "$dir/kconfig_compiler"; then
32528
 
            if test -n ""
32529
 
            then
32530
 
              evalstr="$dir/kconfig_compiler  2>&1 "
32531
 
              if eval $evalstr; then
32532
 
                kde_cv_path="$dir/kconfig_compiler"
32533
 
                break
32534
 
              fi
32535
 
            else
32536
 
                kde_cv_path="$dir/kconfig_compiler"
32537
 
                break
32538
 
            fi
32539
 
          fi
32540
 
        done
32541
 
 
32542
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32543
 
 
32544
 
 
32545
 
fi
32546
 
 
32547
 
 
32548
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32549
 
 
32550
 
   fi
32551
 
 
32552
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32553
 
      { echo "$as_me:$LINENO: result: not found" >&5
32554
 
echo "${ECHO_T}not found" >&6; }
32555
 
 
32556
 
    { { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
32557
 
Please check whether you installed KDE correctly.
32558
 
" >&5
32559
 
echo "$as_me: error: The important program kconfig_compiler was not found!
32560
 
Please check whether you installed KDE correctly.
32561
 
" >&2;}
32562
 
   { (exit 1); exit 1; }; }
32563
 
 
32564
 
   else
32565
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32566
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32567
 
      KCONFIG_COMPILER=$kde_cv_path
32568
 
 
32569
 
   fi
32570
 
 
32571
 
 
32572
 
   { echo "$as_me:$LINENO: checking for dcopidlng" >&5
32573
 
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6; }
32574
 
   if test -n "$DCOPIDLNG"; then
32575
 
        kde_cv_path="$DCOPIDLNG";
32576
 
   else
32577
 
        kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
32578
 
 
32579
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32580
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32581
 
else
32582
 
 
32583
 
        kde_cv_path="NONE"
32584
 
        kde_save_IFS=$IFS
32585
 
        IFS=':'
32586
 
        dirs=""
32587
 
        for dir in $PATH; do
32588
 
          dirs="$dirs $dir"
32589
 
        done
32590
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32591
 
        else      dirs="$dirs $kde_default_bindirs"
32592
 
        fi
32593
 
        IFS=$kde_save_IFS
32594
 
 
32595
 
        for dir in $dirs; do
32596
 
          if test -x "$dir/dcopidlng"; then
32597
 
            if test -n ""
32598
 
            then
32599
 
              evalstr="$dir/dcopidlng  2>&1 "
32600
 
              if eval $evalstr; then
32601
 
                kde_cv_path="$dir/dcopidlng"
32602
 
                break
32603
 
              fi
32604
 
            else
32605
 
                kde_cv_path="$dir/dcopidlng"
32606
 
                break
32607
 
            fi
32608
 
          fi
32609
 
        done
32610
 
 
32611
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32612
 
 
32613
 
 
32614
 
fi
32615
 
 
32616
 
 
32617
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32618
 
 
32619
 
   fi
32620
 
 
32621
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32622
 
      { echo "$as_me:$LINENO: result: not found" >&5
32623
 
echo "${ECHO_T}not found" >&6; }
32624
 
 
32625
 
    { { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
32626
 
Please check whether you installed KDE correctly.
32627
 
" >&5
32628
 
echo "$as_me: error: The important program dcopidlng was not found!
32629
 
Please check whether you installed KDE correctly.
32630
 
" >&2;}
32631
 
   { (exit 1); exit 1; }; }
32632
 
 
32633
 
   else
32634
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32635
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32636
 
      DCOPIDLNG=$kde_cv_path
32637
 
 
32638
 
   fi
32639
 
 
32640
 
        fi
32641
 
        if test -n "$kde33ornewer"; then
32642
 
 
32643
 
   { echo "$as_me:$LINENO: checking for makekdewidgets" >&5
32644
 
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6; }
32645
 
   if test -n "$MAKEKDEWIDGETS"; then
32646
 
        kde_cv_path="$MAKEKDEWIDGETS";
32647
 
   else
32648
 
        kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
32649
 
 
32650
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32651
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32652
 
else
32653
 
 
32654
 
        kde_cv_path="NONE"
32655
 
        kde_save_IFS=$IFS
32656
 
        IFS=':'
32657
 
        dirs=""
32658
 
        for dir in $PATH; do
32659
 
          dirs="$dirs $dir"
32660
 
        done
32661
 
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
32662
 
        else      dirs="$dirs $kde_default_bindirs"
32663
 
        fi
32664
 
        IFS=$kde_save_IFS
32665
 
 
32666
 
        for dir in $dirs; do
32667
 
          if test -x "$dir/makekdewidgets"; then
32668
 
            if test -n ""
32669
 
            then
32670
 
              evalstr="$dir/makekdewidgets  2>&1 "
32671
 
              if eval $evalstr; then
32672
 
                kde_cv_path="$dir/makekdewidgets"
32673
 
                break
32674
 
              fi
32675
 
            else
32676
 
                kde_cv_path="$dir/makekdewidgets"
32677
 
                break
32678
 
            fi
32679
 
          fi
32680
 
        done
32681
 
 
32682
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32683
 
 
32684
 
 
32685
 
fi
32686
 
 
32687
 
 
32688
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32689
 
 
32690
 
   fi
32691
 
 
32692
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32693
 
      { echo "$as_me:$LINENO: result: not found" >&5
32694
 
echo "${ECHO_T}not found" >&6; }
32695
 
 
32696
 
    { { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
32697
 
Please check whether you installed KDE correctly.
32698
 
" >&5
32699
 
echo "$as_me: error: The important program makekdewidgets was not found!
32700
 
Please check whether you installed KDE correctly.
32701
 
" >&2;}
32702
 
   { (exit 1); exit 1; }; }
32703
 
 
32704
 
   else
32705
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32706
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32707
 
      MAKEKDEWIDGETS=$kde_cv_path
32708
 
 
32709
 
   fi
32710
 
 
32711
 
 
32712
 
        fi
32713
 
 
32714
 
   { echo "$as_me:$LINENO: checking for xmllint" >&5
32715
 
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6; }
32716
 
   if test -n "$XMLLINT"; then
32717
 
        kde_cv_path="$XMLLINT";
32718
 
   else
32719
 
        kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
32720
 
 
32721
 
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32722
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32723
 
else
32724
 
 
32725
 
        kde_cv_path="NONE"
32726
 
        kde_save_IFS=$IFS
32727
 
        IFS=':'
32728
 
        dirs=""
32729
 
        for dir in $PATH; do
32730
 
          dirs="$dirs $dir"
32731
 
        done
32732
 
        if test -z ""; then       dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
32733
 
        else      dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
32734
 
        fi
32735
 
        IFS=$kde_save_IFS
32736
 
 
32737
 
        for dir in $dirs; do
32738
 
          if test -x "$dir/xmllint"; then
32739
 
            if test -n ""
32740
 
            then
32741
 
              evalstr="$dir/xmllint  2>&1 "
32742
 
              if eval $evalstr; then
32743
 
                kde_cv_path="$dir/xmllint"
32744
 
                break
32745
 
              fi
32746
 
            else
32747
 
                kde_cv_path="$dir/xmllint"
32748
 
                break
32749
 
            fi
32750
 
          fi
32751
 
        done
32752
 
 
32753
 
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
32754
 
 
32755
 
 
32756
 
fi
32757
 
 
32758
 
 
32759
 
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32760
 
 
32761
 
   fi
32762
 
 
32763
 
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32764
 
      { echo "$as_me:$LINENO: result: not found" >&5
32765
 
echo "${ECHO_T}not found" >&6; }
32766
 
      XMLLINT=""
32767
 
   else
32768
 
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32769
 
echo "${ECHO_T}$kde_cv_path" >&6; }
32770
 
      XMLLINT=$kde_cv_path
32771
 
 
32772
 
   fi
32773
 
 
32774
 
 
32775
 
        if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
32776
 
            kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
32777
 
            test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
32778
 
 
32779
 
KDE_XSL_STYLESHEET=NO
32780
 
for i in $kde_sharedirs;
32781
 
do
32782
 
  for j in apps/ksgmltools2/customization/kde-chunk.xsl;
32783
 
  do
32784
 
    echo "configure: 32784: $i/$j" >&5
32785
 
    if test -r "$i/$j"; then
32786
 
      echo "taking that" >&5
32787
 
      KDE_XSL_STYLESHEET=$i
32788
 
      break 2
32789
 
    fi
32790
 
  done
32791
 
done
32792
 
 
32793
 
            if test "$KDE_XSL_STYLESHEET" = "NO"; then
32794
 
                KDE_XSL_STYLESHEET=""
32795
 
            else
32796
 
                KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
32797
 
            fi
32798
 
        fi
32799
 
 
32800
 
        DCOP_DEPENDENCIES='$(DCOPIDL)'
32801
 
        if test -n "$kde32ornewer"; then
32802
 
            KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
32803
 
            DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
32804
 
 
32805
 
 
32806
 
 
32807
 
        fi
32808
 
 
32809
 
 
32810
 
 
32811
 
 
32812
 
 
32813
 
 
32814
 
 
32815
 
 
32816
 
 
32817
 
 
32818
 
 
32819
 
 
32820
 
 
32821
 
 
32822
 
 
32823
 
 
32824
 
 
32825
 
 
32826
 
 
32827
 
 
32828
 
 
32829
 
 
32830
 
 
32831
 
 
32832
 
 
32833
 
 
32834
 
 
32835
 
 
32836
 
 
32837
 
 
32838
 
 
32839
 
kdeinitdir='$(kde_moduledir)'
32840
 
 
32841
 
 
32842
 
 
32843
 
if test "$kde_qtver" = 1; then
32844
 
  kde_minidir="$kde_icondir/mini"
32845
 
else
32846
 
# for KDE 1 - this breaks KDE2 apps using minidir, but
32847
 
# that's the plan ;-/
32848
 
  kde_minidir="/dev/null"
32849
 
fi
32850
 
 
32851
 
 
32852
 
 
32853
 
 
32854
 
 
32855
 
 
32856
 
if test $kde_qtver = 3; then
32857
 
   case $host in
32858
 
               *cygwin*) lib_kded="-lkdeinit_kded" ;;
32859
 
               *) lib_kded="" ;;
32860
 
       esac
32861
 
   LIB_KDED=$lib_kded
32862
 
 
32863
 
   LIB_KDECORE="-lkdecore"
32864
 
 
32865
 
   LIB_KDEUI="-lkdeui"
32866
 
 
32867
 
   LIB_KIO="-lkio"
32868
 
 
32869
 
   LIB_KJS="-lkjs"
32870
 
 
32871
 
   LIB_SMB="-lsmb"
32872
 
 
32873
 
   LIB_KAB="-lkab"
32874
 
 
32875
 
   LIB_KABC="-lkabc"
32876
 
 
32877
 
   LIB_KHTML="-lkhtml"
32878
 
 
32879
 
   LIB_KSPELL="-lkspell"
32880
 
 
32881
 
   LIB_KPARTS="-lkparts"
32882
 
 
32883
 
   LIB_KDEPRINT="-lkdeprint"
32884
 
 
32885
 
   LIB_KUTILS="-lkutils"
32886
 
 
32887
 
   LIB_KDEPIM="-lkdepim"
32888
 
 
32889
 
   LIB_KIMPROXY="-lkimproxy"
32890
 
 
32891
 
   LIB_KNEWSTUFF="-lknewstuff"
32892
 
 
32893
 
   LIB_KDNSSD="-lkdnssd"
32894
 
 
32895
 
   LIB_KUNITTEST="-lkunittest"
32896
 
 
32897
 
# these are for backward compatibility
32898
 
   LIB_KSYCOCA="-lkio"
32899
 
 
32900
 
   LIB_KFILE="-lkio"
32901
 
 
32902
 
elif test $kde_qtver = 2; then
32903
 
   LIB_KDECORE="-lkdecore"
32904
 
 
32905
 
   LIB_KDEUI="-lkdeui"
32906
 
 
32907
 
   LIB_KIO="-lkio"
32908
 
 
32909
 
   LIB_KSYCOCA="-lksycoca"
32910
 
 
32911
 
   LIB_SMB="-lsmb"
32912
 
 
32913
 
   LIB_KFILE="-lkfile"
32914
 
 
32915
 
   LIB_KAB="-lkab"
32916
 
 
32917
 
   LIB_KHTML="-lkhtml"
32918
 
 
32919
 
   LIB_KSPELL="-lkspell"
32920
 
 
32921
 
   LIB_KPARTS="-lkparts"
32922
 
 
32923
 
   LIB_KDEPRINT="-lkdeprint"
32924
 
 
32925
 
else
32926
 
   LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
32927
 
 
32928
 
   LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
32929
 
 
32930
 
   LIB_KFM="-lkfm $(LIB_KDECORE)"
32931
 
 
32932
 
   LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
32933
 
 
32934
 
   LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
32935
 
 
32936
 
fi
32937
 
 
32938
 
 
32939
 
 
32940
 
#MIN_CONFIG(3.0.0)
32941
 
 
32942
 
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
32943
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
32944
 
if test "${ac_cv_c_bigendian+set}" = set; then
32945
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32946
 
else
32947
 
  # See if sys/param.h defines the BYTE_ORDER macro.
32948
 
cat >conftest.$ac_ext <<_ACEOF
32949
 
/* confdefs.h.  */
32950
 
_ACEOF
32951
 
cat confdefs.h >>conftest.$ac_ext
32952
 
cat >>conftest.$ac_ext <<_ACEOF
32953
 
/* end confdefs.h.  */
32954
 
#include <sys/types.h>
32955
 
#include <sys/param.h>
32956
 
 
32957
 
int
32958
 
main ()
32959
 
{
32960
 
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
32961
 
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
32962
 
 bogus endian macros
32963
 
#endif
32964
 
 
32965
 
  ;
32966
 
  return 0;
32967
 
}
32968
 
_ACEOF
32969
 
rm -f conftest.$ac_objext
32970
 
if { (ac_try="$ac_compile"
32971
 
case "(($ac_try" in
32972
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32973
 
  *) ac_try_echo=$ac_try;;
32974
 
esac
32975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32976
 
  (eval "$ac_compile") 2>conftest.er1
32977
 
  ac_status=$?
32978
 
  grep -v '^ *+' conftest.er1 >conftest.err
32979
 
  rm -f conftest.er1
32980
 
  cat conftest.err >&5
32981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982
 
  (exit $ac_status); } && {
32983
 
         test -z "$ac_c_werror_flag" ||
32984
 
         test ! -s conftest.err
32985
 
       } && test -s conftest.$ac_objext; then
32986
 
  # It does; now see whether it defined to BIG_ENDIAN or not.
32987
 
cat >conftest.$ac_ext <<_ACEOF
32988
 
/* confdefs.h.  */
32989
 
_ACEOF
32990
 
cat confdefs.h >>conftest.$ac_ext
32991
 
cat >>conftest.$ac_ext <<_ACEOF
32992
 
/* end confdefs.h.  */
32993
 
#include <sys/types.h>
32994
 
#include <sys/param.h>
32995
 
 
32996
 
int
32997
 
main ()
32998
 
{
32999
 
#if BYTE_ORDER != BIG_ENDIAN
33000
 
 not big endian
33001
 
#endif
33002
 
 
33003
 
  ;
33004
 
  return 0;
33005
 
}
33006
 
_ACEOF
33007
 
rm -f conftest.$ac_objext
33008
 
if { (ac_try="$ac_compile"
33009
 
case "(($ac_try" in
33010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33011
 
  *) ac_try_echo=$ac_try;;
33012
 
esac
33013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33014
 
  (eval "$ac_compile") 2>conftest.er1
33015
 
  ac_status=$?
33016
 
  grep -v '^ *+' conftest.er1 >conftest.err
33017
 
  rm -f conftest.er1
33018
 
  cat conftest.err >&5
33019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33020
 
  (exit $ac_status); } && {
33021
 
         test -z "$ac_c_werror_flag" ||
33022
 
         test ! -s conftest.err
33023
 
       } && test -s conftest.$ac_objext; then
33024
 
  ac_cv_c_bigendian=yes
33025
 
else
33026
 
  echo "$as_me: failed program was:" >&5
33027
 
sed 's/^/| /' conftest.$ac_ext >&5
33028
 
 
33029
 
        ac_cv_c_bigendian=no
33030
 
fi
33031
 
 
33032
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33033
 
else
33034
 
  echo "$as_me: failed program was:" >&5
33035
 
sed 's/^/| /' conftest.$ac_ext >&5
33036
 
 
33037
 
        # It does not; compile a test program.
33038
 
if test "$cross_compiling" = yes; then
33039
 
  # try to guess the endianness by grepping values into an object file
33040
 
  ac_cv_c_bigendian=unknown
33041
 
  cat >conftest.$ac_ext <<_ACEOF
33042
 
/* confdefs.h.  */
33043
 
_ACEOF
33044
 
cat confdefs.h >>conftest.$ac_ext
33045
 
cat >>conftest.$ac_ext <<_ACEOF
33046
 
/* end confdefs.h.  */
33047
 
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
33048
 
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
33049
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
33050
 
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
33051
 
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
33052
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
33053
 
int
33054
 
main ()
33055
 
{
33056
 
 _ascii (); _ebcdic ();
33057
 
  ;
33058
 
  return 0;
33059
 
}
33060
 
_ACEOF
33061
 
rm -f conftest.$ac_objext
33062
 
if { (ac_try="$ac_compile"
33063
 
case "(($ac_try" in
33064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33065
 
  *) ac_try_echo=$ac_try;;
33066
 
esac
33067
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33068
 
  (eval "$ac_compile") 2>conftest.er1
33069
 
  ac_status=$?
33070
 
  grep -v '^ *+' conftest.er1 >conftest.err
33071
 
  rm -f conftest.er1
33072
 
  cat conftest.err >&5
33073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074
 
  (exit $ac_status); } && {
33075
 
         test -z "$ac_c_werror_flag" ||
33076
 
         test ! -s conftest.err
33077
 
       } && test -s conftest.$ac_objext; then
33078
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
33079
 
  ac_cv_c_bigendian=yes
33080
 
fi
33081
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
33082
 
  if test "$ac_cv_c_bigendian" = unknown; then
33083
 
    ac_cv_c_bigendian=no
33084
 
  else
33085
 
    # finding both strings is unlikely to happen, but who knows?
33086
 
    ac_cv_c_bigendian=unknown
33087
 
  fi
33088
 
fi
33089
 
else
33090
 
  echo "$as_me: failed program was:" >&5
33091
 
sed 's/^/| /' conftest.$ac_ext >&5
33092
 
 
33093
 
 
33094
 
fi
33095
 
 
33096
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33097
 
else
33098
 
  cat >conftest.$ac_ext <<_ACEOF
33099
 
/* confdefs.h.  */
33100
 
_ACEOF
33101
 
cat confdefs.h >>conftest.$ac_ext
33102
 
cat >>conftest.$ac_ext <<_ACEOF
33103
 
/* end confdefs.h.  */
33104
 
$ac_includes_default
33105
 
int
33106
 
main ()
33107
 
{
33108
 
 
33109
 
  /* Are we little or big endian?  From Harbison&Steele.  */
33110
 
  union
33111
 
  {
33112
 
    long int l;
33113
 
    char c[sizeof (long int)];
33114
 
  } u;
33115
 
  u.l = 1;
33116
 
  return u.c[sizeof (long int) - 1] == 1;
33117
 
 
33118
 
  ;
33119
 
  return 0;
33120
 
}
33121
 
_ACEOF
33122
 
rm -f conftest$ac_exeext
33123
 
if { (ac_try="$ac_link"
33124
 
case "(($ac_try" in
33125
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33126
 
  *) ac_try_echo=$ac_try;;
33127
 
esac
33128
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33129
 
  (eval "$ac_link") 2>&5
33130
 
  ac_status=$?
33131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33133
 
  { (case "(($ac_try" in
33134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33135
 
  *) ac_try_echo=$ac_try;;
33136
 
esac
33137
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33138
 
  (eval "$ac_try") 2>&5
33139
 
  ac_status=$?
33140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141
 
  (exit $ac_status); }; }; then
33142
 
  ac_cv_c_bigendian=no
33143
 
else
33144
 
  echo "$as_me: program exited with status $ac_status" >&5
33145
 
echo "$as_me: failed program was:" >&5
33146
 
sed 's/^/| /' conftest.$ac_ext >&5
33147
 
 
33148
 
( exit $ac_status )
33149
 
ac_cv_c_bigendian=yes
33150
 
fi
33151
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33152
 
fi
33153
 
 
33154
 
 
33155
 
fi
33156
 
 
33157
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33158
 
fi
33159
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
33160
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
33161
 
case $ac_cv_c_bigendian in
33162
 
  yes)
33163
 
 
33164
 
cat >>confdefs.h <<\_ACEOF
33165
 
#define WORDS_BIGENDIAN 1
33166
 
_ACEOF
33167
 
 ;;
33168
 
  no)
33169
 
     ;;
33170
 
  *)
33171
 
    { { echo "$as_me:$LINENO: error: unknown endianness
33172
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
33173
 
echo "$as_me: error: unknown endianness
33174
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
33175
 
   { (exit 1); exit 1; }; } ;;
33176
 
esac
33177
 
 
33178
 
 
33179
 
{ echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
33180
 
echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6; }
33181
 
if test "${ac_cv_maxpathlen+set}" = set; then
33182
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
33183
 
else
33184
 
 
33185
 
cat > conftest.$ac_ext <<EOF
33186
 
#ifdef STDC_HEADERS
33187
 
# include <stdlib.h>
33188
 
#endif
33189
 
#include <stdio.h>
33190
 
#include <sys/param.h>
33191
 
#ifndef MAXPATHLEN
33192
 
#define MAXPATHLEN 1024
33193
 
#endif
33194
 
 
33195
 
KDE_HELLO MAXPATHLEN
33196
 
 
33197
 
EOF
33198
 
 
33199
 
ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
33200
 
 
33201
 
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33202
 
  (eval $ac_try) 2>&5
33203
 
  ac_status=$?
33204
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33205
 
  (exit $ac_status); } && test -s conftest.out; then
33206
 
    ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
33207
 
else
33208
 
    ac_cv_maxpathlen=1024
33209
 
fi
33210
 
 
33211
 
rm conftest.*
33212
 
 
33213
 
 
33214
 
fi
33215
 
 
33216
 
{ echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
33217
 
echo "${ECHO_T}$ac_cv_maxpathlen" >&6; }
33218
 
 
33219
 
cat >>confdefs.h <<_ACEOF
33220
 
#define KDEMAXPATHLEN $ac_cv_maxpathlen
33221
 
_ACEOF
33222
 
 
33223
 
 
33224
 
 
33225
 
 
33226
 
 
33227
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33228
 
        if test -n "$ac_tool_prefix"; then
33229
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33230
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33231
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
33232
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33233
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33234
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
33235
 
else
33236
 
  case $PKG_CONFIG in
33237
 
  [\\/]* | ?:[\\/]*)
33238
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33239
 
  ;;
33240
 
  *)
33241
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33242
 
for as_dir in $PATH
33243
 
do
33244
 
  IFS=$as_save_IFS
33245
 
  test -z "$as_dir" && as_dir=.
33246
 
  for ac_exec_ext in '' $ac_executable_extensions; do
33247
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33248
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33249
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33250
 
    break 2
33251
 
  fi
33252
 
done
33253
 
done
33254
 
IFS=$as_save_IFS
33255
 
 
33256
 
  ;;
33257
 
esac
33258
 
fi
33259
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33260
 
if test -n "$PKG_CONFIG"; then
33261
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33262
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
33263
 
else
33264
 
  { echo "$as_me:$LINENO: result: no" >&5
33265
 
echo "${ECHO_T}no" >&6; }
33266
 
fi
33267
 
 
33268
 
 
33269
 
fi
33270
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
33271
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
33272
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
33273
 
set dummy pkg-config; ac_word=$2
33274
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
33275
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33276
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33277
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
33278
 
else
33279
 
  case $ac_pt_PKG_CONFIG in
33280
 
  [\\/]* | ?:[\\/]*)
33281
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33282
 
  ;;
33283
 
  *)
33284
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33285
 
for as_dir in $PATH
33286
 
do
33287
 
  IFS=$as_save_IFS
33288
 
  test -z "$as_dir" && as_dir=.
33289
 
  for ac_exec_ext in '' $ac_executable_extensions; do
33290
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33291
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33292
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33293
 
    break 2
33294
 
  fi
33295
 
done
33296
 
done
33297
 
IFS=$as_save_IFS
33298
 
 
33299
 
  ;;
33300
 
esac
33301
 
fi
33302
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33303
 
if test -n "$ac_pt_PKG_CONFIG"; then
33304
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33305
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33306
 
else
33307
 
  { echo "$as_me:$LINENO: result: no" >&5
33308
 
echo "${ECHO_T}no" >&6; }
33309
 
fi
33310
 
 
33311
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
33312
 
    PKG_CONFIG=""
33313
 
  else
33314
 
    case $cross_compiling:$ac_tool_warned in
33315
 
yes:)
33316
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33317
 
whose name does not start with the host triplet.  If you think this
33318
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
33319
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33320
 
whose name does not start with the host triplet.  If you think this
33321
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33322
 
ac_tool_warned=yes ;;
33323
 
esac
33324
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
33325
 
  fi
33326
 
else
33327
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33328
 
fi
33329
 
 
33330
 
fi
33331
 
if test -n "$PKG_CONFIG"; then
33332
 
        _pkg_min_version=0.9.0
33333
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33334
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33335
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33336
 
                { echo "$as_me:$LINENO: result: yes" >&5
33337
 
echo "${ECHO_T}yes" >&6; }
33338
 
        else
33339
 
                { echo "$as_me:$LINENO: result: no" >&5
33340
 
echo "${ECHO_T}no" >&6; }
33341
 
                PKG_CONFIG=""
33342
 
        fi
33343
 
 
33344
 
fi
33345
 
 
33346
 
pkg_failed=no
33347
 
{ echo "$as_me:$LINENO: checking for LIBYAZ" >&5
33348
 
echo $ECHO_N "checking for LIBYAZ... $ECHO_C" >&6; }
33349
 
 
33350
 
if test -n "$PKG_CONFIG"; then
33351
 
    if test -n "$LIBYAZ_CFLAGS"; then
33352
 
        pkg_cv_LIBYAZ_CFLAGS="$LIBYAZ_CFLAGS"
33353
 
    else
33354
 
        if test -n "$PKG_CONFIG" && \
33355
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"yaz\"") >&5
33356
 
  ($PKG_CONFIG --exists --print-errors "yaz") 2>&5
33357
 
  ac_status=$?
33358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359
 
  (exit $ac_status); }; then
33360
 
  pkg_cv_LIBYAZ_CFLAGS=`$PKG_CONFIG --cflags "yaz" 2>/dev/null`
33361
 
else
33362
 
  pkg_failed=yes
33363
 
fi
33364
 
    fi
33365
 
else
33366
 
        pkg_failed=untried
33367
 
fi
33368
 
if test -n "$PKG_CONFIG"; then
33369
 
    if test -n "$LIBYAZ_LIBS"; then
33370
 
        pkg_cv_LIBYAZ_LIBS="$LIBYAZ_LIBS"
33371
 
    else
33372
 
        if test -n "$PKG_CONFIG" && \
33373
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"yaz\"") >&5
33374
 
  ($PKG_CONFIG --exists --print-errors "yaz") 2>&5
33375
 
  ac_status=$?
33376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33377
 
  (exit $ac_status); }; then
33378
 
  pkg_cv_LIBYAZ_LIBS=`$PKG_CONFIG --libs "yaz" 2>/dev/null`
33379
 
else
33380
 
  pkg_failed=yes
33381
 
fi
33382
 
    fi
33383
 
else
33384
 
        pkg_failed=untried
33385
 
fi
33386
 
 
33387
 
 
33388
 
 
33389
 
if test $pkg_failed = yes; then
33390
 
 
33391
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33392
 
        _pkg_short_errors_supported=yes
33393
 
else
33394
 
        _pkg_short_errors_supported=no
33395
 
fi
33396
 
        if test $_pkg_short_errors_supported = yes; then
33397
 
                LIBYAZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "yaz"`
33398
 
        else
33399
 
                LIBYAZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "yaz"`
33400
 
        fi
33401
 
        # Put the nasty error message in config.log where it belongs
33402
 
        echo "$LIBYAZ_PKG_ERRORS" >&5
33403
 
 
33404
 
        { echo "$as_me:$LINENO: result: no" >&5
33405
 
echo "${ECHO_T}no" >&6; }
33406
 
                { echo "$as_me:$LINENO: result: no" >&5
33407
 
echo "${ECHO_T}no" >&6; }
33408
 
elif test $pkg_failed = untried; then
33409
 
        { echo "$as_me:$LINENO: result: no" >&5
33410
 
echo "${ECHO_T}no" >&6; }
33411
 
else
33412
 
        LIBYAZ_CFLAGS=$pkg_cv_LIBYAZ_CFLAGS
33413
 
        LIBYAZ_LIBS=$pkg_cv_LIBYAZ_LIBS
33414
 
        { echo "$as_me:$LINENO: result: yes" >&5
33415
 
echo "${ECHO_T}yes" >&6; }
33416
 
 
33417
 
cat >>confdefs.h <<\_ACEOF
33418
 
#define HAVE_YAZ 1
33419
 
_ACEOF
33420
 
 
33421
 
fi
33422
 
 
33423
 
 
33424
 
 
33425
 
 
33426
 
 
33427
 
pkg_failed=no
33428
 
{ echo "$as_me:$LINENO: checking for LIBXML" >&5
33429
 
echo $ECHO_N "checking for LIBXML... $ECHO_C" >&6; }
33430
 
 
33431
 
if test -n "$PKG_CONFIG"; then
33432
 
    if test -n "$LIBXML_CFLAGS"; then
33433
 
        pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
33434
 
    else
33435
 
        if test -n "$PKG_CONFIG" && \
33436
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
33437
 
  ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
33438
 
  ac_status=$?
33439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33440
 
  (exit $ac_status); }; then
33441
 
  pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
33442
 
else
33443
 
  pkg_failed=yes
33444
 
fi
33445
 
    fi
33446
 
else
33447
 
        pkg_failed=untried
33448
 
fi
33449
 
if test -n "$PKG_CONFIG"; then
33450
 
    if test -n "$LIBXML_LIBS"; then
33451
 
        pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
33452
 
    else
33453
 
        if test -n "$PKG_CONFIG" && \
33454
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
33455
 
  ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
33456
 
  ac_status=$?
33457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458
 
  (exit $ac_status); }; then
33459
 
  pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
33460
 
else
33461
 
  pkg_failed=yes
33462
 
fi
33463
 
    fi
33464
 
else
33465
 
        pkg_failed=untried
33466
 
fi
33467
 
 
33468
 
 
33469
 
 
33470
 
if test $pkg_failed = yes; then
33471
 
 
33472
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33473
 
        _pkg_short_errors_supported=yes
33474
 
else
33475
 
        _pkg_short_errors_supported=no
33476
 
fi
33477
 
        if test $_pkg_short_errors_supported = yes; then
33478
 
                LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0"`
33479
 
        else
33480
 
                LIBXML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0"`
33481
 
        fi
33482
 
        # Put the nasty error message in config.log where it belongs
33483
 
        echo "$LIBXML_PKG_ERRORS" >&5
33484
 
 
33485
 
        { echo "$as_me:$LINENO: result: no" >&5
33486
 
echo "${ECHO_T}no" >&6; }
33487
 
                { echo "$as_me:$LINENO: result: no" >&5
33488
 
echo "${ECHO_T}no" >&6; }
33489
 
elif test $pkg_failed = untried; then
33490
 
        { echo "$as_me:$LINENO: result: no" >&5
33491
 
echo "${ECHO_T}no" >&6; }
33492
 
else
33493
 
        LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
33494
 
        LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
33495
 
        { echo "$as_me:$LINENO: result: yes" >&5
33496
 
echo "${ECHO_T}yes" >&6; }
33497
 
 
33498
 
cat >>confdefs.h <<\_ACEOF
33499
 
#define HAVE_XML 1
33500
 
_ACEOF
33501
 
 
33502
 
fi
33503
 
 
33504
 
 
33505
 
 
33506
 
 
33507
 
pkg_failed=no
33508
 
{ echo "$as_me:$LINENO: checking for LIBXSLT" >&5
33509
 
echo $ECHO_N "checking for LIBXSLT... $ECHO_C" >&6; }
33510
 
 
33511
 
if test -n "$PKG_CONFIG"; then
33512
 
    if test -n "$LIBXSLT_CFLAGS"; then
33513
 
        pkg_cv_LIBXSLT_CFLAGS="$LIBXSLT_CFLAGS"
33514
 
    else
33515
 
        if test -n "$PKG_CONFIG" && \
33516
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxslt\"") >&5
33517
 
  ($PKG_CONFIG --exists --print-errors "libxslt") 2>&5
33518
 
  ac_status=$?
33519
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33520
 
  (exit $ac_status); }; then
33521
 
  pkg_cv_LIBXSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt" 2>/dev/null`
33522
 
else
33523
 
  pkg_failed=yes
33524
 
fi
33525
 
    fi
33526
 
else
33527
 
        pkg_failed=untried
33528
 
fi
33529
 
if test -n "$PKG_CONFIG"; then
33530
 
    if test -n "$LIBXSLT_LIBS"; then
33531
 
        pkg_cv_LIBXSLT_LIBS="$LIBXSLT_LIBS"
33532
 
    else
33533
 
        if test -n "$PKG_CONFIG" && \
33534
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxslt\"") >&5
33535
 
  ($PKG_CONFIG --exists --print-errors "libxslt") 2>&5
33536
 
  ac_status=$?
33537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538
 
  (exit $ac_status); }; then
33539
 
  pkg_cv_LIBXSLT_LIBS=`$PKG_CONFIG --libs "libxslt" 2>/dev/null`
33540
 
else
33541
 
  pkg_failed=yes
33542
 
fi
33543
 
    fi
33544
 
else
33545
 
        pkg_failed=untried
33546
 
fi
33547
 
 
33548
 
 
33549
 
 
33550
 
if test $pkg_failed = yes; then
33551
 
 
33552
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33553
 
        _pkg_short_errors_supported=yes
33554
 
else
33555
 
        _pkg_short_errors_supported=no
33556
 
fi
33557
 
        if test $_pkg_short_errors_supported = yes; then
33558
 
                LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxslt"`
33559
 
        else
33560
 
                LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt"`
33561
 
        fi
33562
 
        # Put the nasty error message in config.log where it belongs
33563
 
        echo "$LIBXSLT_PKG_ERRORS" >&5
33564
 
 
33565
 
        { echo "$as_me:$LINENO: result: no" >&5
33566
 
echo "${ECHO_T}no" >&6; }
33567
 
                { echo "$as_me:$LINENO: result: no" >&5
33568
 
echo "${ECHO_T}no" >&6; }
33569
 
elif test $pkg_failed = untried; then
33570
 
        { echo "$as_me:$LINENO: result: no" >&5
33571
 
echo "${ECHO_T}no" >&6; }
33572
 
else
33573
 
        LIBXSLT_CFLAGS=$pkg_cv_LIBXSLT_CFLAGS
33574
 
        LIBXSLT_LIBS=$pkg_cv_LIBXSLT_LIBS
33575
 
        { echo "$as_me:$LINENO: result: yes" >&5
33576
 
echo "${ECHO_T}yes" >&6; }
33577
 
 
33578
 
cat >>confdefs.h <<\_ACEOF
33579
 
#define HAVE_XSLT 1
33580
 
_ACEOF
33581
 
 
33582
 
fi
33583
 
 
33584
 
 
33585
 
 
33586
 
 
33587
 
 
33588
 
 
33589
 
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
33590
 
TOPSUBDIRS=""
33591
 
 
33592
 
if test ! -s $srcdir/subdirs; then
33593
 
    files=`cd $srcdir && ls -1`
33594
 
  dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
33595
 
  for i in $dirs; do
33596
 
    echo $i >> $srcdir/subdirs
33597
 
  done
33598
 
fi
33599
 
 
33600
 
ac_topsubdirs=
33601
 
if test -s $srcdir/inst-apps; then
33602
 
  ac_topsubdirs="`cat $srcdir/inst-apps`"
33603
 
elif test -s $srcdir/subdirs; then
33604
 
  ac_topsubdirs="`cat $srcdir/subdirs`"
33605
 
fi
33606
 
 
33607
 
for i in $ac_topsubdirs; do
33608
 
  { echo "$as_me:$LINENO: checking if $i should be compiled" >&5
33609
 
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6; }
33610
 
  if test -d $srcdir/$i; then
33611
 
    install_it="yes"
33612
 
    for j in $DO_NOT_COMPILE; do
33613
 
      if test $i = $j; then
33614
 
        install_it="no"
33615
 
      fi
33616
 
    done
33617
 
  else
33618
 
    install_it="no"
33619
 
  fi
33620
 
  { echo "$as_me:$LINENO: result: $install_it" >&5
33621
 
echo "${ECHO_T}$install_it" >&6; }
33622
 
  vari=`echo $i | sed -e 's,[-+.@],_,g'`
33623
 
  if test $install_it = "yes"; then
33624
 
    TOPSUBDIRS="$TOPSUBDIRS $i"
33625
 
    eval "$vari""_SUBDIR_included=yes"
33626
 
  else
33627
 
    eval "$vari""_SUBDIR_included=no"
33628
 
  fi
33629
 
done
33630
 
 
33631
 
 
33632
 
 
33633
 
ac_config_files="$ac_config_files Makefile"
33634
 
 
33635
 
ac_config_files="$ac_config_files doc/Makefile"
33636
 
 
33637
 
ac_config_files="$ac_config_files doc/en/Makefile"
33638
 
 
33639
 
ac_config_files="$ac_config_files man/Makefile"
33640
 
 
33641
 
ac_config_files="$ac_config_files po/Makefile"
33642
 
 
33643
 
ac_config_files="$ac_config_files src/Makefile"
33644
 
 
33645
 
ac_config_files="$ac_config_files xslt/Makefile"
33646
 
 
33647
 
cat >confcache <<\_ACEOF
33648
 
# This file is a shell script that caches the results of configure
33649
 
# tests run on this system so they can be shared between configure
33650
 
# scripts and configure runs, see configure's option --config-cache.
33651
 
# It is not useful on other systems.  If it contains results you don't
33652
 
# want to keep, you may remove or edit it.
33653
 
#
33654
 
# config.status only pays attention to the cache file if you give it
33655
 
# the --recheck option to rerun configure.
33656
 
#
33657
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
33658
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
33659
 
# following values.
33660
 
 
33661
 
_ACEOF
33662
 
 
33663
 
# The following way of writing the cache mishandles newlines in values,
33664
 
# but we know of no workaround that is simple, portable, and efficient.
33665
 
# So, we kill variables containing newlines.
33666
 
# Ultrix sh set writes to stderr and can't be redirected directly,
33667
 
# and sets the high bit in the cache file unless we assign to the vars.
33668
 
(
33669
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33670
 
    eval ac_val=\$$ac_var
33671
 
    case $ac_val in #(
33672
 
    *${as_nl}*)
33673
 
      case $ac_var in #(
33674
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33675
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33676
 
      esac
33677
 
      case $ac_var in #(
33678
 
      _ | IFS | as_nl) ;; #(
33679
 
      *) $as_unset $ac_var ;;
33680
 
      esac ;;
33681
 
    esac
33682
 
  done
33683
 
 
33684
 
  (set) 2>&1 |
33685
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
33686
 
    *${as_nl}ac_space=\ *)
33687
 
      # `set' does not quote correctly, so add quotes (double-quote
33688
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
33689
 
      sed -n \
33690
 
        "s/'/'\\\\''/g;
33691
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33692
 
      ;; #(
33693
 
    *)
33694
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
33695
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33696
 
      ;;
33697
 
    esac |
33698
 
    sort
33699
 
) |
33700
 
  sed '
33701
 
     /^ac_cv_env_/b end
33702
 
     t clear
33703
 
     :clear
33704
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33705
 
     t end
33706
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33707
 
     :end' >>confcache
33708
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33709
 
  if test -w "$cache_file"; then
33710
 
    test "x$cache_file" != "x/dev/null" &&
33711
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33712
 
echo "$as_me: updating cache $cache_file" >&6;}
33713
 
    cat confcache >$cache_file
33714
 
  else
33715
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33716
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33717
 
  fi
33718
 
fi
33719
 
rm -f confcache
33720
 
 
33721
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
33722
 
# Let make expand exec_prefix.
33723
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33724
 
 
33725
 
DEFS=-DHAVE_CONFIG_H
33726
 
 
33727
 
ac_libobjs=
33728
 
ac_ltlibobjs=
33729
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33730
 
  # 1. Remove the extension, and $U if already installed.
33731
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33732
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
33733
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
33734
 
  #    will be set to the directory where LIBOBJS objects are built.
33735
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33736
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33737
 
done
33738
 
LIBOBJS=$ac_libobjs
33739
 
 
33740
 
LTLIBOBJS=$ac_ltlibobjs
33741
 
 
33742
 
 
33743
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33744
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33745
 
Usually this means the macro was only invoked conditionally." >&5
33746
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
33747
 
Usually this means the macro was only invoked conditionally." >&2;}
33748
 
   { (exit 1); exit 1; }; }
33749
 
fi
33750
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33751
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33752
 
Usually this means the macro was only invoked conditionally." >&5
33753
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33754
 
Usually this means the macro was only invoked conditionally." >&2;}
33755
 
   { (exit 1); exit 1; }; }
33756
 
fi
33757
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33758
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33759
 
Usually this means the macro was only invoked conditionally." >&5
33760
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33761
 
Usually this means the macro was only invoked conditionally." >&2;}
33762
 
   { (exit 1); exit 1; }; }
33763
 
fi
33764
 
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
33765
 
  { { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
33766
 
Usually this means the macro was only invoked conditionally." >&5
33767
 
echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
33768
 
Usually this means the macro was only invoked conditionally." >&2;}
33769
 
   { (exit 1); exit 1; }; }
33770
 
fi
33771
 
if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
33772
 
  { { echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
33773
 
Usually this means the macro was only invoked conditionally." >&5
33774
 
echo "$as_me: error: conditional \"include_x11\" was never defined.
33775
 
Usually this means the macro was only invoked conditionally." >&2;}
33776
 
   { (exit 1); exit 1; }; }
33777
 
fi
33778
 
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
33779
 
  { { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
33780
 
Usually this means the macro was only invoked conditionally." >&5
33781
 
echo "$as_me: error: conditional \"include_ARTS\" was never defined.
33782
 
Usually this means the macro was only invoked conditionally." >&2;}
33783
 
   { (exit 1); exit 1; }; }
33784
 
fi
33785
 
 
33786
 
: ${CONFIG_STATUS=./config.status}
33787
 
ac_clean_files_save=$ac_clean_files
33788
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33789
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33790
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
33791
 
cat >$CONFIG_STATUS <<_ACEOF
33792
 
#! $SHELL
33793
 
# Generated by $as_me.
33794
 
# Run this file to recreate the current configuration.
33795
 
# Compiler output produced by configure, useful for debugging
33796
 
# configure, is in config.log if it exists.
33797
 
 
33798
 
debug=false
33799
 
ac_cs_recheck=false
33800
 
ac_cs_silent=false
33801
 
SHELL=\${CONFIG_SHELL-$SHELL}
33802
 
_ACEOF
33803
 
 
33804
 
cat >>$CONFIG_STATUS <<\_ACEOF
33805
 
## --------------------- ##
33806
 
## M4sh Initialization.  ##
33807
 
## --------------------- ##
33808
 
 
33809
 
# Be more Bourne compatible
33810
 
DUALCASE=1; export DUALCASE # for MKS sh
33811
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33812
 
  emulate sh
33813
 
  NULLCMD=:
33814
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33815
 
  # is contrary to our usage.  Disable this feature.
33816
 
  alias -g '${1+"$@"}'='"$@"'
33817
 
  setopt NO_GLOB_SUBST
33818
 
else
33819
 
  case `(set -o) 2>/dev/null` in
33820
 
  *posix*) set -o posix ;;
33821
 
esac
33822
 
 
33823
 
fi
33824
 
 
33825
 
 
33826
 
 
33827
 
 
33828
 
# PATH needs CR
33829
 
# Avoid depending upon Character Ranges.
33830
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33831
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33832
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33833
 
as_cr_digits='0123456789'
33834
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
33835
 
 
33836
 
# The user is always right.
33837
 
if test "${PATH_SEPARATOR+set}" != set; then
33838
 
  echo "#! /bin/sh" >conf$$.sh
33839
 
  echo  "exit 0"   >>conf$$.sh
33840
 
  chmod +x conf$$.sh
33841
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33842
 
    PATH_SEPARATOR=';'
33843
 
  else
33844
 
    PATH_SEPARATOR=:
33845
 
  fi
33846
 
  rm -f conf$$.sh
33847
 
fi
33848
 
 
33849
 
# Support unset when possible.
33850
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33851
 
  as_unset=unset
33852
 
else
33853
 
  as_unset=false
33854
 
fi
33855
 
 
33856
 
 
33857
 
# IFS
33858
 
# We need space, tab and new line, in precisely that order.  Quoting is
33859
 
# there to prevent editors from complaining about space-tab.
33860
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33861
 
# splitting by setting IFS to empty value.)
33862
 
as_nl='
33863
 
'
33864
 
IFS=" ""        $as_nl"
33865
 
 
33866
 
# Find who we are.  Look in the path if we contain no directory separator.
33867
 
case $0 in
33868
 
  *[\\/]* ) as_myself=$0 ;;
33869
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33870
 
for as_dir in $PATH
33871
 
do
33872
 
  IFS=$as_save_IFS
33873
 
  test -z "$as_dir" && as_dir=.
33874
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33875
 
done
33876
 
IFS=$as_save_IFS
33877
 
 
33878
 
     ;;
33879
 
esac
33880
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
33881
 
# in which case we are not to be found in the path.
33882
 
if test "x$as_myself" = x; then
33883
 
  as_myself=$0
33884
 
fi
33885
 
if test ! -f "$as_myself"; then
33886
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33887
 
  { (exit 1); exit 1; }
33888
 
fi
33889
 
 
33890
 
# Work around bugs in pre-3.0 UWIN ksh.
33891
 
for as_var in ENV MAIL MAILPATH
33892
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33893
 
done
33894
 
PS1='$ '
33895
 
PS2='> '
33896
 
PS4='+ '
33897
 
 
33898
 
# NLS nuisances.
33899
 
for as_var in \
33900
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33901
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33902
 
  LC_TELEPHONE LC_TIME
33903
 
do
33904
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33905
 
    eval $as_var=C; export $as_var
33906
 
  else
33907
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33908
 
  fi
33909
 
done
33910
 
 
33911
 
# Required to use basename.
33912
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
33913
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
33914
 
  as_expr=expr
33915
 
else
33916
 
  as_expr=false
33917
 
fi
33918
 
 
33919
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33920
 
  as_basename=basename
33921
 
else
33922
 
  as_basename=false
33923
 
fi
33924
 
 
33925
 
 
33926
 
# Name of the executable.
33927
 
as_me=`$as_basename -- "$0" ||
33928
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33929
 
         X"$0" : 'X\(//\)$' \| \
33930
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33931
 
echo X/"$0" |
33932
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
33933
 
            s//\1/
33934
 
            q
33935
 
          }
33936
 
          /^X\/\(\/\/\)$/{
33937
 
            s//\1/
33938
 
            q
33939
 
          }
33940
 
          /^X\/\(\/\).*/{
33941
 
            s//\1/
33942
 
            q
33943
 
          }
33944
 
          s/.*/./; q'`
33945
 
 
33946
 
# CDPATH.
33947
 
$as_unset CDPATH
33948
 
 
33949
 
 
33950
 
 
33951
 
  as_lineno_1=$LINENO
33952
 
  as_lineno_2=$LINENO
33953
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
33954
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33955
 
 
33956
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33957
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
33958
 
  # line-number line after each line using $LINENO; the second 'sed'
33959
 
  # does the real work.  The second script uses 'N' to pair each
33960
 
  # line-number line with the line containing $LINENO, and appends
33961
 
  # trailing '-' during substitution so that $LINENO is not a special
33962
 
  # case at line end.
33963
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33964
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
33965
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
33966
 
  sed -n '
33967
 
    p
33968
 
    /[$]LINENO/=
33969
 
  ' <$as_myself |
33970
 
    sed '
33971
 
      s/[$]LINENO.*/&-/
33972
 
      t lineno
33973
 
      b
33974
 
      :lineno
33975
 
      N
33976
 
      :loop
33977
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33978
 
      t loop
33979
 
      s/-\n.*//
33980
 
    ' >$as_me.lineno &&
33981
 
  chmod +x "$as_me.lineno" ||
33982
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33983
 
   { (exit 1); exit 1; }; }
33984
 
 
33985
 
  # Don't try to exec as it changes $[0], causing all sort of problems
33986
 
  # (the dirname of $[0] is not the place where we might find the
33987
 
  # original and so on.  Autoconf is especially sensitive to this).
33988
 
  . "./$as_me.lineno"
33989
 
  # Exit status is that of the last command.
33990
 
  exit
33991
 
}
33992
 
 
33993
 
 
33994
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33995
 
  as_dirname=dirname
33996
 
else
33997
 
  as_dirname=false
33998
 
fi
33999
 
 
34000
 
ECHO_C= ECHO_N= ECHO_T=
34001
 
case `echo -n x` in
34002
 
-n*)
34003
 
  case `echo 'x\c'` in
34004
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
34005
 
  *)   ECHO_C='\c';;
34006
 
  esac;;
34007
 
*)
34008
 
  ECHO_N='-n';;
34009
 
esac
34010
 
 
34011
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
34012
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
34013
 
  as_expr=expr
34014
 
else
34015
 
  as_expr=false
34016
 
fi
34017
 
 
34018
 
rm -f conf$$ conf$$.exe conf$$.file
34019
 
if test -d conf$$.dir; then
34020
 
  rm -f conf$$.dir/conf$$.file
34021
 
else
34022
 
  rm -f conf$$.dir
34023
 
  mkdir conf$$.dir
34024
 
fi
34025
 
echo >conf$$.file
34026
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
34027
 
  as_ln_s='ln -s'
34028
 
  # ... but there are two gotchas:
34029
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34030
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34031
 
  # In both cases, we have to default to `cp -p'.
34032
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34033
 
    as_ln_s='cp -p'
34034
 
elif ln conf$$.file conf$$ 2>/dev/null; then
34035
 
  as_ln_s=ln
34036
 
else
34037
 
  as_ln_s='cp -p'
34038
 
fi
34039
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
34040
 
rmdir conf$$.dir 2>/dev/null
34041
 
 
34042
 
if mkdir -p . 2>/dev/null; then
34043
 
  as_mkdir_p=:
34044
 
else
34045
 
  test -d ./-p && rmdir ./-p
34046
 
  as_mkdir_p=false
34047
 
fi
34048
 
 
34049
 
if test -x / >/dev/null 2>&1; then
34050
 
  as_test_x='test -x'
34051
 
else
34052
 
  if ls -dL / >/dev/null 2>&1; then
34053
 
    as_ls_L_option=L
34054
 
  else
34055
 
    as_ls_L_option=
34056
 
  fi
34057
 
  as_test_x='
34058
 
    eval sh -c '\''
34059
 
      if test -d "$1"; then
34060
 
        test -d "$1/.";
34061
 
      else
34062
 
        case $1 in
34063
 
        -*)set "./$1";;
34064
 
        esac;
34065
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
34066
 
        ???[sx]*):;;*)false;;esac;fi
34067
 
    '\'' sh
34068
 
  '
34069
 
fi
34070
 
as_executable_p=$as_test_x
34071
 
 
34072
 
# Sed expression to map a string onto a valid CPP name.
34073
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34074
 
 
34075
 
# Sed expression to map a string onto a valid variable name.
34076
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34077
 
 
34078
 
 
34079
 
exec 6>&1
34080
 
 
34081
 
# Save the log message, to keep $[0] and so on meaningful, and to
34082
 
# report actual input values of CONFIG_FILES etc. instead of their
34083
 
# values after options handling.
34084
 
ac_log="
34085
 
This file was extended by $as_me, which was
34086
 
generated by GNU Autoconf 2.61.  Invocation command line was
34087
 
 
34088
 
  CONFIG_FILES    = $CONFIG_FILES
34089
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
34090
 
  CONFIG_LINKS    = $CONFIG_LINKS
34091
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
34092
 
  $ $0 $@
34093
 
 
34094
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
34095
 
"
34096
 
 
34097
 
_ACEOF
34098
 
 
34099
 
cat >>$CONFIG_STATUS <<_ACEOF
34100
 
# Files that config.status was made for.
34101
 
config_files="$ac_config_files"
34102
 
config_headers="$ac_config_headers"
34103
 
config_commands="$ac_config_commands"
34104
 
 
34105
 
_ACEOF
34106
 
 
34107
 
cat >>$CONFIG_STATUS <<\_ACEOF
34108
 
ac_cs_usage="\
34109
 
\`$as_me' instantiates files from templates according to the
34110
 
current configuration.
34111
 
 
34112
 
Usage: $0 [OPTIONS] [FILE]...
34113
 
 
34114
 
  -h, --help       print this help, then exit
34115
 
  -V, --version    print version number and configuration settings, then exit
34116
 
  -q, --quiet      do not print progress messages
34117
 
  -d, --debug      don't remove temporary files
34118
 
      --recheck    update $as_me by reconfiguring in the same conditions
34119
 
  --file=FILE[:TEMPLATE]
34120
 
                   instantiate the configuration file FILE
34121
 
  --header=FILE[:TEMPLATE]
34122
 
                   instantiate the configuration header FILE
34123
 
 
34124
 
Configuration files:
34125
 
$config_files
34126
 
 
34127
 
Configuration headers:
34128
 
$config_headers
34129
 
 
34130
 
Configuration commands:
34131
 
$config_commands
34132
 
 
34133
 
Report bugs to <bug-autoconf@gnu.org>."
34134
 
 
34135
 
_ACEOF
34136
 
cat >>$CONFIG_STATUS <<_ACEOF
34137
 
ac_cs_version="\\
34138
 
config.status
34139
 
configured by $0, generated by GNU Autoconf 2.61,
34140
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34141
 
 
34142
 
Copyright (C) 2006 Free Software Foundation, Inc.
34143
 
This config.status script is free software; the Free Software Foundation
34144
 
gives unlimited permission to copy, distribute and modify it."
34145
 
 
34146
 
ac_pwd='$ac_pwd'
34147
 
srcdir='$srcdir'
34148
 
INSTALL='$INSTALL'
34149
 
_ACEOF
34150
 
 
34151
 
cat >>$CONFIG_STATUS <<\_ACEOF
34152
 
# If no file are specified by the user, then we need to provide default
34153
 
# value.  By we need to know if files were specified by the user.
34154
 
ac_need_defaults=:
34155
 
while test $# != 0
34156
 
do
34157
 
  case $1 in
34158
 
  --*=*)
34159
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
34160
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
34161
 
    ac_shift=:
34162
 
    ;;
34163
 
  *)
34164
 
    ac_option=$1
34165
 
    ac_optarg=$2
34166
 
    ac_shift=shift
34167
 
    ;;
34168
 
  esac
34169
 
 
34170
 
  case $ac_option in
34171
 
  # Handling of the options.
34172
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34173
 
    ac_cs_recheck=: ;;
34174
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
34175
 
    echo "$ac_cs_version"; exit ;;
34176
 
  --debug | --debu | --deb | --de | --d | -d )
34177
 
    debug=: ;;
34178
 
  --file | --fil | --fi | --f )
34179
 
    $ac_shift
34180
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34181
 
    ac_need_defaults=false;;
34182
 
  --header | --heade | --head | --hea )
34183
 
    $ac_shift
34184
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34185
 
    ac_need_defaults=false;;
34186
 
  --he | --h)
34187
 
    # Conflict between --help and --header
34188
 
    { echo "$as_me: error: ambiguous option: $1
34189
 
Try \`$0 --help' for more information." >&2
34190
 
   { (exit 1); exit 1; }; };;
34191
 
  --help | --hel | -h )
34192
 
    echo "$ac_cs_usage"; exit ;;
34193
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34194
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
34195
 
    ac_cs_silent=: ;;
34196
 
 
34197
 
  # This is an error.
34198
 
  -*) { echo "$as_me: error: unrecognized option: $1
34199
 
Try \`$0 --help' for more information." >&2
34200
 
   { (exit 1); exit 1; }; } ;;
34201
 
 
34202
 
  *) ac_config_targets="$ac_config_targets $1"
34203
 
     ac_need_defaults=false ;;
34204
 
 
34205
 
  esac
34206
 
  shift
34207
 
done
34208
 
 
34209
 
ac_configure_extra_args=
34210
 
 
34211
 
if $ac_cs_silent; then
34212
 
  exec 6>/dev/null
34213
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
34214
 
fi
34215
 
 
34216
 
_ACEOF
34217
 
cat >>$CONFIG_STATUS <<_ACEOF
34218
 
if \$ac_cs_recheck; then
34219
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34220
 
  CONFIG_SHELL=$SHELL
34221
 
  export CONFIG_SHELL
34222
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34223
 
fi
34224
 
 
34225
 
_ACEOF
34226
 
cat >>$CONFIG_STATUS <<\_ACEOF
34227
 
exec 5>>config.log
34228
 
{
34229
 
  echo
34230
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34231
 
## Running $as_me. ##
34232
 
_ASBOX
34233
 
  echo "$ac_log"
34234
 
} >&5
34235
 
 
34236
 
_ACEOF
34237
 
cat >>$CONFIG_STATUS <<_ACEOF
34238
 
#
34239
 
# INIT-COMMANDS
34240
 
#
34241
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34242
 
 
34243
 
_ACEOF
34244
 
 
34245
 
cat >>$CONFIG_STATUS <<\_ACEOF
34246
 
 
34247
 
# Handling of arguments.
34248
 
for ac_config_target in $ac_config_targets
34249
 
do
34250
 
  case $ac_config_target in
34251
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34252
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34253
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34254
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
34255
 
    "doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
34256
 
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
34257
 
    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
34258
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
34259
 
    "xslt/Makefile") CONFIG_FILES="$CONFIG_FILES xslt/Makefile" ;;
34260
 
 
34261
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34262
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34263
 
   { (exit 1); exit 1; }; };;
34264
 
  esac
34265
 
done
34266
 
 
34267
 
 
34268
 
# If the user did not use the arguments to specify the items to instantiate,
34269
 
# then the envvar interface is used.  Set only those that are not.
34270
 
# We use the long form for the default assignment because of an extremely
34271
 
# bizarre bug on SunOS 4.1.3.
34272
 
if $ac_need_defaults; then
34273
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34274
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34275
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34276
 
fi
34277
 
 
34278
 
# Have a temporary directory for convenience.  Make it in the build tree
34279
 
# simply because there is no reason against having it here, and in addition,
34280
 
# creating and moving files from /tmp can sometimes cause problems.
34281
 
# Hook for its removal unless debugging.
34282
 
# Note that there is a small window in which the directory will not be cleaned:
34283
 
# after its creation but before its name has been assigned to `$tmp'.
34284
 
$debug ||
34285
 
{
34286
 
  tmp=
34287
 
  trap 'exit_status=$?
34288
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34289
 
' 0
34290
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
34291
 
}
34292
 
# Create a (secure) tmp directory for tmp files.
34293
 
 
34294
 
{
34295
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34296
 
  test -n "$tmp" && test -d "$tmp"
34297
 
}  ||
34298
 
{
34299
 
  tmp=./conf$$-$RANDOM
34300
 
  (umask 077 && mkdir "$tmp")
34301
 
} ||
34302
 
{
34303
 
   echo "$me: cannot create a temporary directory in ." >&2
34304
 
   { (exit 1); exit 1; }
34305
 
}
34306
 
 
34307
 
#
34308
 
# Set up the sed scripts for CONFIG_FILES section.
34309
 
#
34310
 
 
34311
 
# No need to generate the scripts if there are no CONFIG_FILES.
34312
 
# This happens for instance when ./config.status config.h
34313
 
if test -n "$CONFIG_FILES"; then
34314
 
 
34315
 
_ACEOF
34316
 
 
34317
 
 
34318
 
 
34319
 
ac_delim='%!_!# '
34320
 
for ac_last_try in false false false false false :; do
34321
 
  cat >conf$$subs.sed <<_ACEOF
34322
 
SHELL!$SHELL$ac_delim
34323
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34324
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34325
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34326
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34327
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34328
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34329
 
exec_prefix!$exec_prefix$ac_delim
34330
 
prefix!$prefix$ac_delim
34331
 
program_transform_name!$program_transform_name$ac_delim
34332
 
bindir!$bindir$ac_delim
34333
 
sbindir!$sbindir$ac_delim
34334
 
libexecdir!$libexecdir$ac_delim
34335
 
datarootdir!$datarootdir$ac_delim
34336
 
datadir!$datadir$ac_delim
34337
 
sysconfdir!$sysconfdir$ac_delim
34338
 
sharedstatedir!$sharedstatedir$ac_delim
34339
 
localstatedir!$localstatedir$ac_delim
34340
 
includedir!$includedir$ac_delim
34341
 
oldincludedir!$oldincludedir$ac_delim
34342
 
docdir!$docdir$ac_delim
34343
 
infodir!$infodir$ac_delim
34344
 
htmldir!$htmldir$ac_delim
34345
 
dvidir!$dvidir$ac_delim
34346
 
pdfdir!$pdfdir$ac_delim
34347
 
psdir!$psdir$ac_delim
34348
 
libdir!$libdir$ac_delim
34349
 
localedir!$localedir$ac_delim
34350
 
mandir!$mandir$ac_delim
34351
 
DEFS!$DEFS$ac_delim
34352
 
ECHO_C!$ECHO_C$ac_delim
34353
 
ECHO_N!$ECHO_N$ac_delim
34354
 
ECHO_T!$ECHO_T$ac_delim
34355
 
LIBS!$LIBS$ac_delim
34356
 
build_alias!$build_alias$ac_delim
34357
 
host_alias!$host_alias$ac_delim
34358
 
target_alias!$target_alias$ac_delim
34359
 
build!$build$ac_delim
34360
 
build_cpu!$build_cpu$ac_delim
34361
 
build_vendor!$build_vendor$ac_delim
34362
 
build_os!$build_os$ac_delim
34363
 
host!$host$ac_delim
34364
 
host_cpu!$host_cpu$ac_delim
34365
 
host_vendor!$host_vendor$ac_delim
34366
 
host_os!$host_os$ac_delim
34367
 
target!$target$ac_delim
34368
 
target_cpu!$target_cpu$ac_delim
34369
 
target_vendor!$target_vendor$ac_delim
34370
 
target_os!$target_os$ac_delim
34371
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34372
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34373
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
34374
 
CYGPATH_W!$CYGPATH_W$ac_delim
34375
 
PACKAGE!$PACKAGE$ac_delim
34376
 
VERSION!$VERSION$ac_delim
34377
 
ACLOCAL!$ACLOCAL$ac_delim
34378
 
AUTOCONF!$AUTOCONF$ac_delim
34379
 
AUTOMAKE!$AUTOMAKE$ac_delim
34380
 
AUTOHEADER!$AUTOHEADER$ac_delim
34381
 
MAKEINFO!$MAKEINFO$ac_delim
34382
 
install_sh!$install_sh$ac_delim
34383
 
STRIP!$STRIP$ac_delim
34384
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
34385
 
mkdir_p!$mkdir_p$ac_delim
34386
 
AWK!$AWK$ac_delim
34387
 
SET_MAKE!$SET_MAKE$ac_delim
34388
 
am__leading_dot!$am__leading_dot$ac_delim
34389
 
AMTAR!$AMTAR$ac_delim
34390
 
am__tar!$am__tar$ac_delim
34391
 
am__untar!$am__untar$ac_delim
34392
 
KDECONFIG!$KDECONFIG$ac_delim
34393
 
kde_libs_prefix!$kde_libs_prefix$ac_delim
34394
 
kde_libs_htmldir!$kde_libs_htmldir$ac_delim
34395
 
CONF_FILES!$CONF_FILES$ac_delim
34396
 
CC!$CC$ac_delim
34397
 
CFLAGS!$CFLAGS$ac_delim
34398
 
LDFLAGS!$LDFLAGS$ac_delim
34399
 
CPPFLAGS!$CPPFLAGS$ac_delim
34400
 
ac_ct_CC!$ac_ct_CC$ac_delim
34401
 
EXEEXT!$EXEEXT$ac_delim
34402
 
OBJEXT!$OBJEXT$ac_delim
34403
 
DEPDIR!$DEPDIR$ac_delim
34404
 
am__include!$am__include$ac_delim
34405
 
am__quote!$am__quote$ac_delim
34406
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
34407
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
34408
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
34409
 
CCDEPMODE!$CCDEPMODE$ac_delim
34410
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
34411
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
34412
 
CPP!$CPP$ac_delim
34413
 
CXX!$CXX$ac_delim
34414
 
CXXFLAGS!$CXXFLAGS$ac_delim
34415
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
34416
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
34417
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
34418
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
34419
 
_ACEOF
34420
 
 
34421
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34422
 
    break
34423
 
  elif $ac_last_try; then
34424
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34425
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34426
 
   { (exit 1); exit 1; }; }
34427
 
  else
34428
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34429
 
  fi
34430
 
done
34431
 
 
34432
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34433
 
if test -n "$ac_eof"; then
34434
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34435
 
  ac_eof=`expr $ac_eof + 1`
34436
 
fi
34437
 
 
34438
 
cat >>$CONFIG_STATUS <<_ACEOF
34439
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34440
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34441
 
_ACEOF
34442
 
sed '
34443
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34444
 
s/^/s,@/; s/!/@,|#_!!_#|/
34445
 
:n
34446
 
t n
34447
 
s/'"$ac_delim"'$/,g/; t
34448
 
s/$/\\/; p
34449
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34450
 
' >>$CONFIG_STATUS <conf$$subs.sed
34451
 
rm -f conf$$subs.sed
34452
 
cat >>$CONFIG_STATUS <<_ACEOF
34453
 
CEOF$ac_eof
34454
 
_ACEOF
34455
 
 
34456
 
 
34457
 
ac_delim='%!_!# '
34458
 
for ac_last_try in false false false false false :; do
34459
 
  cat >conf$$subs.sed <<_ACEOF
34460
 
WOVERLOADED_VIRTUAL!$WOVERLOADED_VIRTUAL$ac_delim
34461
 
HAVE_GCC_VISIBILITY!$HAVE_GCC_VISIBILITY$ac_delim
34462
 
unsermake_enable_pch_TRUE!$unsermake_enable_pch_TRUE$ac_delim
34463
 
unsermake_enable_pch_FALSE!$unsermake_enable_pch_FALSE$ac_delim
34464
 
USE_EXCEPTIONS!$USE_EXCEPTIONS$ac_delim
34465
 
USE_RTTI!$USE_RTTI$ac_delim
34466
 
CXXCPP!$CXXCPP$ac_delim
34467
 
NOOPT_CXXFLAGS!$NOOPT_CXXFLAGS$ac_delim
34468
 
NOOPT_CFLAGS!$NOOPT_CFLAGS$ac_delim
34469
 
ENABLE_PERMISSIVE_FLAG!$ENABLE_PERMISSIVE_FLAG$ac_delim
34470
 
LDFLAGS_AS_NEEDED!$LDFLAGS_AS_NEEDED$ac_delim
34471
 
LDFLAGS_NEW_DTAGS!$LDFLAGS_NEW_DTAGS$ac_delim
34472
 
KDE_USE_FINAL_TRUE!$KDE_USE_FINAL_TRUE$ac_delim
34473
 
KDE_USE_FINAL_FALSE!$KDE_USE_FINAL_FALSE$ac_delim
34474
 
KDE_USE_CLOSURE_TRUE!$KDE_USE_CLOSURE_TRUE$ac_delim
34475
 
KDE_USE_CLOSURE_FALSE!$KDE_USE_CLOSURE_FALSE$ac_delim
34476
 
KDE_NO_UNDEFINED!$KDE_NO_UNDEFINED$ac_delim
34477
 
KDE_USE_NMCHECK_TRUE!$KDE_USE_NMCHECK_TRUE$ac_delim
34478
 
KDE_USE_NMCHECK_FALSE!$KDE_USE_NMCHECK_FALSE$ac_delim
34479
 
GREP!$GREP$ac_delim
34480
 
EGREP!$EGREP$ac_delim
34481
 
LN_S!$LN_S$ac_delim
34482
 
ECHO!$ECHO$ac_delim
34483
 
AR!$AR$ac_delim
34484
 
RANLIB!$RANLIB$ac_delim
34485
 
F77!$F77$ac_delim
34486
 
FFLAGS!$FFLAGS$ac_delim
34487
 
ac_ct_F77!$ac_ct_F77$ac_delim
34488
 
LIBTOOL!$LIBTOOL$ac_delim
34489
 
KDE_PLUGIN!$KDE_PLUGIN$ac_delim
34490
 
KDE_CHECK_PLUGIN!$KDE_CHECK_PLUGIN$ac_delim
34491
 
MSGFMT!$MSGFMT$ac_delim
34492
 
GMSGFMT!$GMSGFMT$ac_delim
34493
 
XGETTEXT!$XGETTEXT$ac_delim
34494
 
LIBUTIL!$LIBUTIL$ac_delim
34495
 
LIBCOMPAT!$LIBCOMPAT$ac_delim
34496
 
LIBCRYPT!$LIBCRYPT$ac_delim
34497
 
LIBRESOLV!$LIBRESOLV$ac_delim
34498
 
LIB_POLL!$LIB_POLL$ac_delim
34499
 
FRAMEWORK_COREAUDIO!$FRAMEWORK_COREAUDIO$ac_delim
34500
 
LIBSOCKET!$LIBSOCKET$ac_delim
34501
 
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
34502
 
LIBUCB!$LIBUCB$ac_delim
34503
 
LIBDL!$LIBDL$ac_delim
34504
 
KDE_USE_FPIE!$KDE_USE_FPIE$ac_delim
34505
 
KDE_USE_PIE!$KDE_USE_PIE$ac_delim
34506
 
include_x11_TRUE!$include_x11_TRUE$ac_delim
34507
 
include_x11_FALSE!$include_x11_FALSE$ac_delim
34508
 
XMKMF!$XMKMF$ac_delim
34509
 
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
34510
 
LIB_X11!$LIB_X11$ac_delim
34511
 
LIB_XRENDER!$LIB_XRENDER$ac_delim
34512
 
LIBSM!$LIBSM$ac_delim
34513
 
X_INCLUDES!$X_INCLUDES$ac_delim
34514
 
X_LDFLAGS!$X_LDFLAGS$ac_delim
34515
 
x_includes!$x_includes$ac_delim
34516
 
x_libraries!$x_libraries$ac_delim
34517
 
QTE_NORTTI!$QTE_NORTTI$ac_delim
34518
 
LIB_XEXT!$LIB_XEXT$ac_delim
34519
 
LIBPTHREAD!$LIBPTHREAD$ac_delim
34520
 
USE_THREADS!$USE_THREADS$ac_delim
34521
 
KDE_MT_LDFLAGS!$KDE_MT_LDFLAGS$ac_delim
34522
 
KDE_MT_LIBS!$KDE_MT_LIBS$ac_delim
34523
 
USER_INCLUDES!$USER_INCLUDES$ac_delim
34524
 
USER_LDFLAGS!$USER_LDFLAGS$ac_delim
34525
 
LIBZ!$LIBZ$ac_delim
34526
 
LIBPNG!$LIBPNG$ac_delim
34527
 
LIBJPEG!$LIBJPEG$ac_delim
34528
 
qt_libraries!$qt_libraries$ac_delim
34529
 
qt_includes!$qt_includes$ac_delim
34530
 
QT_INCLUDES!$QT_INCLUDES$ac_delim
34531
 
QT_LDFLAGS!$QT_LDFLAGS$ac_delim
34532
 
PERL!$PERL$ac_delim
34533
 
MOC!$MOC$ac_delim
34534
 
UIC!$UIC$ac_delim
34535
 
UIC_TR!$UIC_TR$ac_delim
34536
 
LIB_QT!$LIB_QT$ac_delim
34537
 
LIB_QPE!$LIB_QPE$ac_delim
34538
 
kde_qtver!$kde_qtver$ac_delim
34539
 
KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
34540
 
KDE_RPATH!$KDE_RPATH$ac_delim
34541
 
X_RPATH!$X_RPATH$ac_delim
34542
 
kde_libraries!$kde_libraries$ac_delim
34543
 
kde_includes!$kde_includes$ac_delim
34544
 
KDE_LDFLAGS!$KDE_LDFLAGS$ac_delim
34545
 
KDE_INCLUDES!$KDE_INCLUDES$ac_delim
34546
 
all_includes!$all_includes$ac_delim
34547
 
all_libraries!$all_libraries$ac_delim
34548
 
AUTODIRS!$AUTODIRS$ac_delim
34549
 
include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
34550
 
include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
34551
 
MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
34552
 
KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
34553
 
KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
34554
 
DCOPIDLNG!$DCOPIDLNG$ac_delim
34555
 
DCOPIDL!$DCOPIDL$ac_delim
34556
 
DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
34557
 
_ACEOF
34558
 
 
34559
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34560
 
    break
34561
 
  elif $ac_last_try; then
34562
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34563
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34564
 
   { (exit 1); exit 1; }; }
34565
 
  else
34566
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34567
 
  fi
34568
 
done
34569
 
 
34570
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34571
 
if test -n "$ac_eof"; then
34572
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34573
 
  ac_eof=`expr $ac_eof + 1`
34574
 
fi
34575
 
 
34576
 
cat >>$CONFIG_STATUS <<_ACEOF
34577
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34578
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34579
 
_ACEOF
34580
 
sed '
34581
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34582
 
s/^/s,@/; s/!/@,|#_!!_#|/
34583
 
:n
34584
 
t n
34585
 
s/'"$ac_delim"'$/,g/; t
34586
 
s/$/\\/; p
34587
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34588
 
' >>$CONFIG_STATUS <conf$$subs.sed
34589
 
rm -f conf$$subs.sed
34590
 
cat >>$CONFIG_STATUS <<_ACEOF
34591
 
CEOF$ac_eof
34592
 
_ACEOF
34593
 
 
34594
 
 
34595
 
ac_delim='%!_!# '
34596
 
for ac_last_try in false false false false false :; do
34597
 
  cat >conf$$subs.sed <<_ACEOF
34598
 
DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
34599
 
MCOPIDL!$MCOPIDL$ac_delim
34600
 
ARTSCCONFIG!$ARTSCCONFIG$ac_delim
34601
 
MEINPROC!$MEINPROC$ac_delim
34602
 
KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
34603
 
XMLLINT!$XMLLINT$ac_delim
34604
 
kde_htmldir!$kde_htmldir$ac_delim
34605
 
kde_appsdir!$kde_appsdir$ac_delim
34606
 
kde_icondir!$kde_icondir$ac_delim
34607
 
kde_sounddir!$kde_sounddir$ac_delim
34608
 
kde_datadir!$kde_datadir$ac_delim
34609
 
kde_locale!$kde_locale$ac_delim
34610
 
kde_confdir!$kde_confdir$ac_delim
34611
 
kde_kcfgdir!$kde_kcfgdir$ac_delim
34612
 
kde_mimedir!$kde_mimedir$ac_delim
34613
 
kde_wallpaperdir!$kde_wallpaperdir$ac_delim
34614
 
kde_bindir!$kde_bindir$ac_delim
34615
 
xdg_appsdir!$xdg_appsdir$ac_delim
34616
 
xdg_menudir!$xdg_menudir$ac_delim
34617
 
xdg_directorydir!$xdg_directorydir$ac_delim
34618
 
kde_templatesdir!$kde_templatesdir$ac_delim
34619
 
kde_servicesdir!$kde_servicesdir$ac_delim
34620
 
kde_servicetypesdir!$kde_servicetypesdir$ac_delim
34621
 
kde_moduledir!$kde_moduledir$ac_delim
34622
 
kdeinitdir!$kdeinitdir$ac_delim
34623
 
kde_styledir!$kde_styledir$ac_delim
34624
 
kde_widgetdir!$kde_widgetdir$ac_delim
34625
 
LIB_KDED!$LIB_KDED$ac_delim
34626
 
LIB_KDECORE!$LIB_KDECORE$ac_delim
34627
 
LIB_KDEUI!$LIB_KDEUI$ac_delim
34628
 
LIB_KIO!$LIB_KIO$ac_delim
34629
 
LIB_KJS!$LIB_KJS$ac_delim
34630
 
LIB_SMB!$LIB_SMB$ac_delim
34631
 
LIB_KAB!$LIB_KAB$ac_delim
34632
 
LIB_KABC!$LIB_KABC$ac_delim
34633
 
LIB_KHTML!$LIB_KHTML$ac_delim
34634
 
LIB_KSPELL!$LIB_KSPELL$ac_delim
34635
 
LIB_KPARTS!$LIB_KPARTS$ac_delim
34636
 
LIB_KDEPRINT!$LIB_KDEPRINT$ac_delim
34637
 
LIB_KUTILS!$LIB_KUTILS$ac_delim
34638
 
LIB_KDEPIM!$LIB_KDEPIM$ac_delim
34639
 
LIB_KIMPROXY!$LIB_KIMPROXY$ac_delim
34640
 
LIB_KNEWSTUFF!$LIB_KNEWSTUFF$ac_delim
34641
 
LIB_KDNSSD!$LIB_KDNSSD$ac_delim
34642
 
LIB_KUNITTEST!$LIB_KUNITTEST$ac_delim
34643
 
LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim
34644
 
LIB_KFILE!$LIB_KFILE$ac_delim
34645
 
LIB_KFM!$LIB_KFM$ac_delim
34646
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
34647
 
LIBYAZ_CFLAGS!$LIBYAZ_CFLAGS$ac_delim
34648
 
LIBYAZ_LIBS!$LIBYAZ_LIBS$ac_delim
34649
 
LIBYAZ_RPATH!$LIBYAZ_RPATH$ac_delim
34650
 
LIBXML_CFLAGS!$LIBXML_CFLAGS$ac_delim
34651
 
LIBXML_LIBS!$LIBXML_LIBS$ac_delim
34652
 
LIBXSLT_CFLAGS!$LIBXSLT_CFLAGS$ac_delim
34653
 
LIBXSLT_LIBS!$LIBXSLT_LIBS$ac_delim
34654
 
TOPSUBDIRS!$TOPSUBDIRS$ac_delim
34655
 
LIBOBJS!$LIBOBJS$ac_delim
34656
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
34657
 
_ACEOF
34658
 
 
34659
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 59; then
34660
 
    break
34661
 
  elif $ac_last_try; then
34662
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34663
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34664
 
   { (exit 1); exit 1; }; }
34665
 
  else
34666
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34667
 
  fi
34668
 
done
34669
 
 
34670
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34671
 
if test -n "$ac_eof"; then
34672
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34673
 
  ac_eof=`expr $ac_eof + 1`
34674
 
fi
34675
 
 
34676
 
cat >>$CONFIG_STATUS <<_ACEOF
34677
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
34678
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34679
 
_ACEOF
34680
 
sed '
34681
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34682
 
s/^/s,@/; s/!/@,|#_!!_#|/
34683
 
:n
34684
 
t n
34685
 
s/'"$ac_delim"'$/,g/; t
34686
 
s/$/\\/; p
34687
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34688
 
' >>$CONFIG_STATUS <conf$$subs.sed
34689
 
rm -f conf$$subs.sed
34690
 
cat >>$CONFIG_STATUS <<_ACEOF
34691
 
:end
34692
 
s/|#_!!_#|//g
34693
 
CEOF$ac_eof
34694
 
_ACEOF
34695
 
 
34696
 
 
34697
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
34698
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34699
 
# trailing colons and then remove the whole line if VPATH becomes empty
34700
 
# (actually we leave an empty line to preserve line numbers).
34701
 
if test "x$srcdir" = x.; then
34702
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
34703
 
s/:*\$(srcdir):*/:/
34704
 
s/:*\${srcdir}:*/:/
34705
 
s/:*@srcdir@:*/:/
34706
 
s/^\([^=]*=[     ]*\):*/\1/
34707
 
s/:*$//
34708
 
s/^[^=]*=[       ]*$//
34709
 
}'
34710
 
fi
34711
 
 
34712
 
cat >>$CONFIG_STATUS <<\_ACEOF
34713
 
fi # test -n "$CONFIG_FILES"
34714
 
 
34715
 
 
34716
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
34717
 
do
34718
 
  case $ac_tag in
34719
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
34720
 
  esac
34721
 
  case $ac_mode$ac_tag in
34722
 
  :[FHL]*:*);;
34723
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34724
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34725
 
   { (exit 1); exit 1; }; };;
34726
 
  :[FH]-) ac_tag=-:-;;
34727
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34728
 
  esac
34729
 
  ac_save_IFS=$IFS
34730
 
  IFS=:
34731
 
  set x $ac_tag
34732
 
  IFS=$ac_save_IFS
34733
 
  shift
34734
 
  ac_file=$1
34735
 
  shift
34736
 
 
34737
 
  case $ac_mode in
34738
 
  :L) ac_source=$1;;
34739
 
  :[FH])
34740
 
    ac_file_inputs=
34741
 
    for ac_f
34742
 
    do
34743
 
      case $ac_f in
34744
 
      -) ac_f="$tmp/stdin";;
34745
 
      *) # Look for the file first in the build tree, then in the source tree
34746
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
34747
 
         # because $ac_f cannot contain `:'.
34748
 
         test -f "$ac_f" ||
34749
 
           case $ac_f in
34750
 
           [\\/$]*) false;;
34751
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34752
 
           esac ||
34753
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34754
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34755
 
   { (exit 1); exit 1; }; };;
34756
 
      esac
34757
 
      ac_file_inputs="$ac_file_inputs $ac_f"
34758
 
    done
34759
 
 
34760
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
34761
 
    # use $as_me), people would be surprised to read:
34762
 
    #    /* config.h.  Generated by config.status.  */
34763
 
    configure_input="Generated from "`IFS=:
34764
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34765
 
    if test x"$ac_file" != x-; then
34766
 
      configure_input="$ac_file.  $configure_input"
34767
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
34768
 
echo "$as_me: creating $ac_file" >&6;}
34769
 
    fi
34770
 
 
34771
 
    case $ac_tag in
34772
 
    *:-:* | *:-) cat >"$tmp/stdin";;
34773
 
    esac
34774
 
    ;;
34775
 
  esac
34776
 
 
34777
 
  ac_dir=`$as_dirname -- "$ac_file" ||
34778
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34779
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
34780
 
         X"$ac_file" : 'X\(//\)$' \| \
34781
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34782
 
echo X"$ac_file" |
34783
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34784
 
            s//\1/
34785
 
            q
34786
 
          }
34787
 
          /^X\(\/\/\)[^/].*/{
34788
 
            s//\1/
34789
 
            q
34790
 
          }
34791
 
          /^X\(\/\/\)$/{
34792
 
            s//\1/
34793
 
            q
34794
 
          }
34795
 
          /^X\(\/\).*/{
34796
 
            s//\1/
34797
 
            q
34798
 
          }
34799
 
          s/.*/./; q'`
34800
 
  { as_dir="$ac_dir"
34801
 
  case $as_dir in #(
34802
 
  -*) as_dir=./$as_dir;;
34803
 
  esac
34804
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34805
 
    as_dirs=
34806
 
    while :; do
34807
 
      case $as_dir in #(
34808
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34809
 
      *) as_qdir=$as_dir;;
34810
 
      esac
34811
 
      as_dirs="'$as_qdir' $as_dirs"
34812
 
      as_dir=`$as_dirname -- "$as_dir" ||
34813
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34814
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
34815
 
         X"$as_dir" : 'X\(//\)$' \| \
34816
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34817
 
echo X"$as_dir" |
34818
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34819
 
            s//\1/
34820
 
            q
34821
 
          }
34822
 
          /^X\(\/\/\)[^/].*/{
34823
 
            s//\1/
34824
 
            q
34825
 
          }
34826
 
          /^X\(\/\/\)$/{
34827
 
            s//\1/
34828
 
            q
34829
 
          }
34830
 
          /^X\(\/\).*/{
34831
 
            s//\1/
34832
 
            q
34833
 
          }
34834
 
          s/.*/./; q'`
34835
 
      test -d "$as_dir" && break
34836
 
    done
34837
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
34838
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34839
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34840
 
   { (exit 1); exit 1; }; }; }
34841
 
  ac_builddir=.
34842
 
 
34843
 
case "$ac_dir" in
34844
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34845
 
*)
34846
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34847
 
  # A ".." for each directory in $ac_dir_suffix.
34848
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34849
 
  case $ac_top_builddir_sub in
34850
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34851
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34852
 
  esac ;;
34853
 
esac
34854
 
ac_abs_top_builddir=$ac_pwd
34855
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
34856
 
# for backward compatibility:
34857
 
ac_top_builddir=$ac_top_build_prefix
34858
 
 
34859
 
case $srcdir in
34860
 
  .)  # We are building in place.
34861
 
    ac_srcdir=.
34862
 
    ac_top_srcdir=$ac_top_builddir_sub
34863
 
    ac_abs_top_srcdir=$ac_pwd ;;
34864
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
34865
 
    ac_srcdir=$srcdir$ac_dir_suffix;
34866
 
    ac_top_srcdir=$srcdir
34867
 
    ac_abs_top_srcdir=$srcdir ;;
34868
 
  *) # Relative name.
34869
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34870
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
34871
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34872
 
esac
34873
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34874
 
 
34875
 
 
34876
 
  case $ac_mode in
34877
 
  :F)
34878
 
  #
34879
 
  # CONFIG_FILE
34880
 
  #
34881
 
 
34882
 
  case $INSTALL in
34883
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34884
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34885
 
  esac
34886
 
_ACEOF
34887
 
 
34888
 
cat >>$CONFIG_STATUS <<\_ACEOF
34889
 
# If the template does not know about datarootdir, expand it.
34890
 
# FIXME: This hack should be removed a few years after 2.60.
34891
 
ac_datarootdir_hack=; ac_datarootdir_seen=
34892
 
 
34893
 
case `sed -n '/datarootdir/ {
34894
 
  p
34895
 
  q
34896
 
}
34897
 
/@datadir@/p
34898
 
/@docdir@/p
34899
 
/@infodir@/p
34900
 
/@localedir@/p
34901
 
/@mandir@/p
34902
 
' $ac_file_inputs` in
34903
 
*datarootdir*) ac_datarootdir_seen=yes;;
34904
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34905
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34906
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34907
 
_ACEOF
34908
 
cat >>$CONFIG_STATUS <<_ACEOF
34909
 
  ac_datarootdir_hack='
34910
 
  s&@datadir@&$datadir&g
34911
 
  s&@docdir@&$docdir&g
34912
 
  s&@infodir@&$infodir&g
34913
 
  s&@localedir@&$localedir&g
34914
 
  s&@mandir@&$mandir&g
34915
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
34916
 
esac
34917
 
_ACEOF
34918
 
 
34919
 
# Neutralize VPATH when `$srcdir' = `.'.
34920
 
# Shell code in configure.ac might set extrasub.
34921
 
# FIXME: do we really want to maintain this feature?
34922
 
cat >>$CONFIG_STATUS <<_ACEOF
34923
 
  sed "$ac_vpsub
34924
 
$extrasub
34925
 
_ACEOF
34926
 
cat >>$CONFIG_STATUS <<\_ACEOF
34927
 
:t
34928
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34929
 
s&@configure_input@&$configure_input&;t t
34930
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
34931
 
s&@srcdir@&$ac_srcdir&;t t
34932
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
34933
 
s&@top_srcdir@&$ac_top_srcdir&;t t
34934
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34935
 
s&@builddir@&$ac_builddir&;t t
34936
 
s&@abs_builddir@&$ac_abs_builddir&;t t
34937
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34938
 
s&@INSTALL@&$ac_INSTALL&;t t
34939
 
$ac_datarootdir_hack
34940
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
34941
 
 
34942
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34943
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34944
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34945
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34946
 
which seems to be undefined.  Please make sure it is defined." >&5
34947
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34948
 
which seems to be undefined.  Please make sure it is defined." >&2;}
34949
 
 
34950
 
  rm -f "$tmp/stdin"
34951
 
  case $ac_file in
34952
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
34953
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34954
 
  esac
34955
 
 ;;
34956
 
  :H)
34957
 
  #
34958
 
  # CONFIG_HEADER
34959
 
  #
34960
 
_ACEOF
34961
 
 
34962
 
# Transform confdefs.h into a sed script `conftest.defines', that
34963
 
# substitutes the proper values into config.h.in to produce config.h.
34964
 
rm -f conftest.defines conftest.tail
34965
 
# First, append a space to every undef/define line, to ease matching.
34966
 
echo 's/$/ /' >conftest.defines
34967
 
# Then, protect against being on the right side of a sed subst, or in
34968
 
# an unquoted here document, in config.status.  If some macros were
34969
 
# called several times there might be several #defines for the same
34970
 
# symbol, which is useless.  But do not sort them, since the last
34971
 
# AC_DEFINE must be honored.
34972
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34973
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34974
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
34975
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
34976
 
# just an empty string.
34977
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
34978
 
ac_dB='\\)[      (].*,\\1define\\2'
34979
 
ac_dC=' '
34980
 
ac_dD=' ,'
34981
 
 
34982
 
uniq confdefs.h |
34983
 
  sed -n '
34984
 
        t rset
34985
 
        :rset
34986
 
        s/^[     ]*#[    ]*define[       ][      ]*//
34987
 
        t ok
34988
 
        d
34989
 
        :ok
34990
 
        s/[\\&,]/\\&/g
34991
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34992
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34993
 
  ' >>conftest.defines
34994
 
 
34995
 
# Remove the space that was appended to ease matching.
34996
 
# Then replace #undef with comments.  This is necessary, for
34997
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
34998
 
# on some systems where configure will not decide to define it.
34999
 
# (The regexp can be short, since the line contains either #define or #undef.)
35000
 
echo 's/ $//
35001
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
35002
 
 
35003
 
# Break up conftest.defines:
35004
 
ac_max_sed_lines=50
35005
 
 
35006
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
35007
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
35008
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
35009
 
# et cetera.
35010
 
ac_in='$ac_file_inputs'
35011
 
ac_out='"$tmp/out1"'
35012
 
ac_nxt='"$tmp/out2"'
35013
 
 
35014
 
while :
35015
 
do
35016
 
  # Write a here document:
35017
 
    cat >>$CONFIG_STATUS <<_ACEOF
35018
 
    # First, check the format of the line:
35019
 
    cat >"\$tmp/defines.sed" <<\\CEOF
35020
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
35021
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
35022
 
b
35023
 
:def
35024
 
_ACEOF
35025
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
35026
 
  echo 'CEOF
35027
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
35028
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
35029
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
35030
 
  grep . conftest.tail >/dev/null || break
35031
 
  rm -f conftest.defines
35032
 
  mv conftest.tail conftest.defines
35033
 
done
35034
 
rm -f conftest.defines conftest.tail
35035
 
 
35036
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
35037
 
cat >>$CONFIG_STATUS <<\_ACEOF
35038
 
  if test x"$ac_file" != x-; then
35039
 
    echo "/* $configure_input  */" >"$tmp/config.h"
35040
 
    cat "$ac_result" >>"$tmp/config.h"
35041
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
35042
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35043
 
echo "$as_me: $ac_file is unchanged" >&6;}
35044
 
    else
35045
 
      rm -f $ac_file
35046
 
      mv "$tmp/config.h" $ac_file
35047
 
    fi
35048
 
  else
35049
 
    echo "/* $configure_input  */"
35050
 
    cat "$ac_result"
35051
 
  fi
35052
 
  rm -f "$tmp/out12"
35053
 
# Compute $ac_file's index in $config_headers.
35054
 
_am_stamp_count=1
35055
 
for _am_header in $config_headers :; do
35056
 
  case $_am_header in
35057
 
    $ac_file | $ac_file:* )
35058
 
      break ;;
35059
 
    * )
35060
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35061
 
  esac
35062
 
done
35063
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
35064
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35065
 
         X$ac_file : 'X\(//\)[^/]' \| \
35066
 
         X$ac_file : 'X\(//\)$' \| \
35067
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
35068
 
echo X$ac_file |
35069
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35070
 
            s//\1/
35071
 
            q
35072
 
          }
35073
 
          /^X\(\/\/\)[^/].*/{
35074
 
            s//\1/
35075
 
            q
35076
 
          }
35077
 
          /^X\(\/\/\)$/{
35078
 
            s//\1/
35079
 
            q
35080
 
          }
35081
 
          /^X\(\/\).*/{
35082
 
            s//\1/
35083
 
            q
35084
 
          }
35085
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
35086
 
 ;;
35087
 
 
35088
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35089
 
echo "$as_me: executing $ac_file commands" >&6;}
35090
 
 ;;
35091
 
  esac
35092
 
 
35093
 
 
35094
 
  case $ac_file$ac_mode in
35095
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35096
 
  # Strip MF so we end up with the name of the file.
35097
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
35098
 
  # Check whether this is an Automake generated Makefile or not.
35099
 
  # We used to match only the files named `Makefile.in', but
35100
 
  # some people rename them; so instead we look at the file content.
35101
 
  # Grep'ing the first line is not enough: some people post-process
35102
 
  # each Makefile.in and add a new line on top of each file to say so.
35103
 
  # So let's grep whole file.
35104
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35105
 
    dirpart=`$as_dirname -- "$mf" ||
35106
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35107
 
         X"$mf" : 'X\(//\)[^/]' \| \
35108
 
         X"$mf" : 'X\(//\)$' \| \
35109
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35110
 
echo X"$mf" |
35111
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35112
 
            s//\1/
35113
 
            q
35114
 
          }
35115
 
          /^X\(\/\/\)[^/].*/{
35116
 
            s//\1/
35117
 
            q
35118
 
          }
35119
 
          /^X\(\/\/\)$/{
35120
 
            s//\1/
35121
 
            q
35122
 
          }
35123
 
          /^X\(\/\).*/{
35124
 
            s//\1/
35125
 
            q
35126
 
          }
35127
 
          s/.*/./; q'`
35128
 
  else
35129
 
    continue
35130
 
  fi
35131
 
  # Extract the definition of DEPDIR, am__include, and am__quote
35132
 
  # from the Makefile without running `make'.
35133
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35134
 
  test -z "$DEPDIR" && continue
35135
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
35136
 
  test -z "am__include" && continue
35137
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35138
 
  # When using ansi2knr, U may be empty or an underscore; expand it
35139
 
  U=`sed -n 's/^U = //p' < "$mf"`
35140
 
  # Find all dependency output files, they are included files with
35141
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
35142
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
35143
 
  # expansion.
35144
 
  for file in `sed -n "
35145
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35146
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35147
 
    # Make sure the directory exists.
35148
 
    test -f "$dirpart/$file" && continue
35149
 
    fdir=`$as_dirname -- "$file" ||
35150
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35151
 
         X"$file" : 'X\(//\)[^/]' \| \
35152
 
         X"$file" : 'X\(//\)$' \| \
35153
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35154
 
echo X"$file" |
35155
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35156
 
            s//\1/
35157
 
            q
35158
 
          }
35159
 
          /^X\(\/\/\)[^/].*/{
35160
 
            s//\1/
35161
 
            q
35162
 
          }
35163
 
          /^X\(\/\/\)$/{
35164
 
            s//\1/
35165
 
            q
35166
 
          }
35167
 
          /^X\(\/\).*/{
35168
 
            s//\1/
35169
 
            q
35170
 
          }
35171
 
          s/.*/./; q'`
35172
 
    { as_dir=$dirpart/$fdir
35173
 
  case $as_dir in #(
35174
 
  -*) as_dir=./$as_dir;;
35175
 
  esac
35176
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
35177
 
    as_dirs=
35178
 
    while :; do
35179
 
      case $as_dir in #(
35180
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35181
 
      *) as_qdir=$as_dir;;
35182
 
      esac
35183
 
      as_dirs="'$as_qdir' $as_dirs"
35184
 
      as_dir=`$as_dirname -- "$as_dir" ||
35185
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35186
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
35187
 
         X"$as_dir" : 'X\(//\)$' \| \
35188
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35189
 
echo X"$as_dir" |
35190
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35191
 
            s//\1/
35192
 
            q
35193
 
          }
35194
 
          /^X\(\/\/\)[^/].*/{
35195
 
            s//\1/
35196
 
            q
35197
 
          }
35198
 
          /^X\(\/\/\)$/{
35199
 
            s//\1/
35200
 
            q
35201
 
          }
35202
 
          /^X\(\/\).*/{
35203
 
            s//\1/
35204
 
            q
35205
 
          }
35206
 
          s/.*/./; q'`
35207
 
      test -d "$as_dir" && break
35208
 
    done
35209
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
35210
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35211
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
35212
 
   { (exit 1); exit 1; }; }; }
35213
 
    # echo "creating $dirpart/$file"
35214
 
    echo '# dummy' > "$dirpart/$file"
35215
 
  done
35216
 
done
35217
 
 ;;
35218
 
 
35219
 
  esac
35220
 
done # for ac_tag
35221
 
 
35222
 
 
35223
 
{ (exit 0); exit 0; }
35224
 
_ACEOF
35225
 
if test "x$with_fast_perl" = "xyes"; then    
35226
 
  perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS    \
35227
 
    || mv $CONFIG_STATUS.bak $CONFIG_STATUS    
35228
 
  rm -f $CONFIG_STATUS.bak
35229
 
fi    
35230
 
chmod +x $CONFIG_STATUS
35231
 
ac_clean_files=$ac_clean_files_save
35232
 
 
35233
 
 
35234
 
# configure is writing to config.log, and then calls config.status.
35235
 
# config.status does its own redirection, appending to config.log.
35236
 
# Unfortunately, on DOS this fails, as config.log is still kept open
35237
 
# by configure, so config.status won't be able to write to it; its
35238
 
# output is simply discarded.  So we exec the FD to /dev/null,
35239
 
# effectively closing config.log, so it can be properly (re)opened and
35240
 
# appended to by config.status.  When coming back to configure, we
35241
 
# need to make the FD available again.
35242
 
if test "$no_create" != yes; then
35243
 
  ac_cs_success=:
35244
 
  ac_config_status_args=
35245
 
  test "$silent" = yes &&
35246
 
    ac_config_status_args="$ac_config_status_args --quiet"
35247
 
  exec 5>/dev/null
35248
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35249
 
  exec 5>>config.log
35250
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35251
 
  # would make configure fail if this is the last instruction.
35252
 
  $ac_cs_success || { (exit 1); exit 1; }
35253
 
fi
35254
 
 
35255
 
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
35256
 
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
35257
 
  # And if so, warn when they don't match
35258
 
  if test "$kde_libs_prefix" != "$given_prefix"; then
35259
 
    # And if kde doesn't know about the prefix yet
35260
 
    echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
35261
 
    if test $? -ne 0; then
35262
 
      echo ""
35263
 
      echo "Warning: you chose to install this package in $given_prefix,"
35264
 
      echo "but KDE was found in $kde_libs_prefix."
35265
 
      echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
35266
 
      echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
35267
 
      echo "Then restart KDE."
35268
 
      echo ""
35269
 
    fi
35270
 
  fi
35271
 
fi
35272
 
 
35273
 
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
35274
 
  echo ""
35275
 
  echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
35276
 
  echo "was not included. Therefore, GCC symbol visibility support remains disabled."
35277
 
  echo ""
35278
 
  echo "For better performance, consider including the Qt visibility supporting patch"
35279
 
  echo "located at:"
35280
 
  echo ""
35281
 
  echo "http://bugs.kde.org/show_bug.cgi?id=109386"
35282
 
  echo ""
35283
 
  echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
35284
 
  echo "everything will continue to work just fine without it."
35285
 
  echo ""
35286
 
fi
35287
 
 
35288
 
if test "$all_tests" = "bad"; then
35289
 
  if test ! "$cache_file" = "/dev/null"; then
35290
 
    echo ""
35291
 
    echo "Please remove the file $cache_file after changing your setup"
35292
 
    echo "so that configure will find the changes next time."
35293
 
    echo ""
35294
 
  fi
35295
 
else
35296
 
  echo ""
35297
 
  echo "Good - your configure finished. Start make now"
35298
 
  echo ""
35299
 
fi