~ubuntu-branches/ubuntu/karmic/guarddog/karmic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Siegfried-Angel Gevatter Pujals (RainCT)
  • Date: 2007-11-06 23:43:11 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071106234311-eeiuy01hc66d34df
Tags: 2.6.0-1ubuntu1
* Merge from debian unstable, remaining changes:
   - Bump standards version to 3.7.2 (no changes)
   - Bump debhelper build dependency to version >>5
   - Fix kde/guarddog.desktop and add some translations
   - debian/rules: move .desktop file to /usr/share/applications;
     debian/dirs: add usr/share/applications
   - Use dh_icons (previous Ubuntu revision used dh_iconcache).
   - Modify Maintainer value to match the DebianMaintainerField
     specification.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59.
 
3
# Generated by GNU Autoconf 2.60.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
16
17
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
18
  # is contrary to our usage.  Disable this feature.
18
19
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
 
20
  setopt NO_GLOB_SUBST
 
21
else
 
22
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
21
23
fi
 
24
BIN_SH=xpg4; export BIN_SH # for Tru64
22
25
DUALCASE=1; export DUALCASE # for MKS sh
23
26
 
 
27
 
 
28
# PATH needs CR
 
29
# Avoid depending upon Character Ranges.
 
30
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
31
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
32
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
33
as_cr_digits='0123456789'
 
34
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
35
 
 
36
# The user is always right.
 
37
if test "${PATH_SEPARATOR+set}" != set; then
 
38
  echo "#! /bin/sh" >conf$$.sh
 
39
  echo  "exit 0"   >>conf$$.sh
 
40
  chmod +x conf$$.sh
 
41
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
42
    PATH_SEPARATOR=';'
 
43
  else
 
44
    PATH_SEPARATOR=:
 
45
  fi
 
46
  rm -f conf$$.sh
 
47
fi
 
48
 
24
49
# Support unset when possible.
25
50
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
51
  as_unset=unset
29
54
fi
30
55
 
31
56
 
 
57
# IFS
 
58
# We need space, tab and new line, in precisely that order.  Quoting is
 
59
# there to prevent editors from complaining about space-tab.
 
60
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
61
# splitting by setting IFS to empty value.)
 
62
as_nl='
 
63
'
 
64
IFS=" ""        $as_nl"
 
65
 
 
66
# Find who we are.  Look in the path if we contain no directory separator.
 
67
case $0 in
 
68
  *[\\/]* ) as_myself=$0 ;;
 
69
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
70
for as_dir in $PATH
 
71
do
 
72
  IFS=$as_save_IFS
 
73
  test -z "$as_dir" && as_dir=.
 
74
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
75
done
 
76
IFS=$as_save_IFS
 
77
 
 
78
     ;;
 
79
esac
 
80
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
81
# in which case we are not to be found in the path.
 
82
if test "x$as_myself" = x; then
 
83
  as_myself=$0
 
84
fi
 
85
if test ! -f "$as_myself"; then
 
86
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
87
  { (exit 1); exit 1; }
 
88
fi
 
89
 
32
90
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
91
for as_var in ENV MAIL MAILPATH
 
92
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
93
done
34
94
PS1='$ '
35
95
PS2='> '
36
96
PS4='+ '
44
104
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
105
    eval $as_var=C; export $as_var
46
106
  else
47
 
    $as_unset $as_var
 
107
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
108
  fi
49
109
done
50
110
 
51
111
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
112
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
113
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
114
  as_expr=expr
54
115
else
55
116
  as_expr=false
56
117
fi
57
118
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
119
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
120
  as_basename=basename
60
121
else
61
122
  as_basename=false
63
124
 
64
125
 
65
126
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
127
as_me=`$as_basename -- "$0" ||
67
128
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
129
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
130
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
131
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
132
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
133
            s//\1/
 
134
            q
 
135
          }
 
136
          /^X\/\(\/\/\)$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\).*/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          s/.*/./; q'`
 
145
 
 
146
# CDPATH.
 
147
$as_unset CDPATH
 
148
 
 
149
 
 
150
if test "x$CONFIG_SHELL" = x; then
 
151
  if (eval ":") 2>/dev/null; then
 
152
  as_have_required=yes
 
153
else
 
154
  as_have_required=no
 
155
fi
 
156
 
 
157
  if test $as_have_required = yes &&     (eval ":
 
158
(as_func_return () {
 
159
  (exit \$1)
 
160
}
 
161
as_func_success () {
 
162
  as_func_return 0
 
163
}
 
164
as_func_failure () {
 
165
  as_func_return 1
 
166
}
 
167
as_func_ret_success () {
 
168
  return 0
 
169
}
 
170
as_func_ret_failure () {
 
171
  return 1
 
172
}
 
173
 
 
174
exitcode=0
 
175
if as_func_success; then
 
176
  :
 
177
else
 
178
  exitcode=1
 
179
  echo as_func_success failed.
 
180
fi
 
181
 
 
182
if as_func_failure; then
 
183
  exitcode=1
 
184
  echo as_func_failure succeeded.
 
185
fi
 
186
 
 
187
if as_func_ret_success; then
 
188
  :
 
189
else
 
190
  exitcode=1
 
191
  echo as_func_ret_success failed.
 
192
fi
 
193
 
 
194
if as_func_ret_failure; then
 
195
  exitcode=1
 
196
  echo as_func_ret_failure succeeded.
 
197
fi
 
198
 
 
199
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
200
  :
 
201
else
 
202
  exitcode=1
 
203
  echo positional parameters were not saved.
 
204
fi
 
205
 
 
206
test \$exitcode = 0) || { (exit 1); exit 1; }
 
207
 
 
208
(
 
209
  as_lineno_1=\$LINENO
 
210
  as_lineno_2=\$LINENO
 
211
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
212
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
213
") 2> /dev/null; then
 
214
  :
 
215
else
 
216
  as_candidate_shells=
130
217
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
218
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
219
do
133
220
  IFS=$as_save_IFS
134
221
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
222
  case $as_dir in
137
223
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
224
           for as_base in sh bash ksh sh5; do
 
225
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
226
           done;;
 
227
       esac
152
228
done
153
 
;;
154
 
  esac
 
229
IFS=$as_save_IFS
 
230
 
 
231
 
 
232
      for as_shell in $as_candidate_shells $SHELL; do
 
233
         # Try only shells that exist, to save several forks.
 
234
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
235
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
236
# Be Bourne compatible
 
237
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
238
  emulate sh
 
239
  NULLCMD=:
 
240
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
241
  # is contrary to our usage.  Disable this feature.
 
242
  alias -g '${1+"$@"}'='"$@"'
 
243
  setopt NO_GLOB_SUBST
 
244
else
 
245
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
246
fi
 
247
BIN_SH=xpg4; export BIN_SH # for Tru64
 
248
DUALCASE=1; export DUALCASE # for MKS sh
 
249
 
 
250
:
 
251
_ASEOF
 
252
}; then
 
253
  CONFIG_SHELL=$as_shell
 
254
               as_have_required=yes
 
255
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
256
# Be Bourne compatible
 
257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
258
  emulate sh
 
259
  NULLCMD=:
 
260
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
261
  # is contrary to our usage.  Disable this feature.
 
262
  alias -g '${1+"$@"}'='"$@"'
 
263
  setopt NO_GLOB_SUBST
 
264
else
 
265
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
266
fi
 
267
BIN_SH=xpg4; export BIN_SH # for Tru64
 
268
DUALCASE=1; export DUALCASE # for MKS sh
 
269
 
 
270
:
 
271
(as_func_return () {
 
272
  (exit $1)
 
273
}
 
274
as_func_success () {
 
275
  as_func_return 0
 
276
}
 
277
as_func_failure () {
 
278
  as_func_return 1
 
279
}
 
280
as_func_ret_success () {
 
281
  return 0
 
282
}
 
283
as_func_ret_failure () {
 
284
  return 1
 
285
}
 
286
 
 
287
exitcode=0
 
288
if as_func_success; then
 
289
  :
 
290
else
 
291
  exitcode=1
 
292
  echo as_func_success failed.
 
293
fi
 
294
 
 
295
if as_func_failure; then
 
296
  exitcode=1
 
297
  echo as_func_failure succeeded.
 
298
fi
 
299
 
 
300
if as_func_ret_success; then
 
301
  :
 
302
else
 
303
  exitcode=1
 
304
  echo as_func_ret_success failed.
 
305
fi
 
306
 
 
307
if as_func_ret_failure; then
 
308
  exitcode=1
 
309
  echo as_func_ret_failure succeeded.
 
310
fi
 
311
 
 
312
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
313
  :
 
314
else
 
315
  exitcode=1
 
316
  echo positional parameters were not saved.
 
317
fi
 
318
 
 
319
test $exitcode = 0) || { (exit 1); exit 1; }
 
320
 
 
321
(
 
322
  as_lineno_1=$LINENO
 
323
  as_lineno_2=$LINENO
 
324
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
325
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
326
 
 
327
_ASEOF
 
328
}; then
 
329
  break
 
330
fi
 
331
 
 
332
fi
 
333
 
 
334
      done
 
335
 
 
336
      if test "x$CONFIG_SHELL" != x; then
 
337
  for as_var in BASH_ENV ENV
 
338
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
339
        done
 
340
        export CONFIG_SHELL
 
341
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
342
fi
 
343
 
 
344
 
 
345
    if test $as_have_required = no; then
 
346
  echo This script requires a shell more modern than all the
 
347
      echo shells that I found on your system.  Please install a
 
348
      echo modern shell, or manually run the script under such a
 
349
      echo shell if you do have one.
 
350
      { (exit 1); exit 1; }
 
351
fi
 
352
 
 
353
 
 
354
fi
 
355
 
 
356
fi
 
357
 
 
358
 
 
359
 
 
360
(eval "as_func_return () {
 
361
  (exit \$1)
 
362
}
 
363
as_func_success () {
 
364
  as_func_return 0
 
365
}
 
366
as_func_failure () {
 
367
  as_func_return 1
 
368
}
 
369
as_func_ret_success () {
 
370
  return 0
 
371
}
 
372
as_func_ret_failure () {
 
373
  return 1
 
374
}
 
375
 
 
376
exitcode=0
 
377
if as_func_success; then
 
378
  :
 
379
else
 
380
  exitcode=1
 
381
  echo as_func_success failed.
 
382
fi
 
383
 
 
384
if as_func_failure; then
 
385
  exitcode=1
 
386
  echo as_func_failure succeeded.
 
387
fi
 
388
 
 
389
if as_func_ret_success; then
 
390
  :
 
391
else
 
392
  exitcode=1
 
393
  echo as_func_ret_success failed.
 
394
fi
 
395
 
 
396
if as_func_ret_failure; then
 
397
  exitcode=1
 
398
  echo as_func_ret_failure succeeded.
 
399
fi
 
400
 
 
401
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
402
  :
 
403
else
 
404
  exitcode=1
 
405
  echo positional parameters were not saved.
 
406
fi
 
407
 
 
408
test \$exitcode = 0") || {
 
409
  echo No shell found that supports shell functions.
 
410
  echo Please tell autoconf@gnu.org about your system,
 
411
  echo including any error possibly output before this
 
412
  echo message
 
413
}
 
414
 
 
415
 
 
416
 
 
417
  as_lineno_1=$LINENO
 
418
  as_lineno_2=$LINENO
 
419
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
420
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
421
 
156
422
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
423
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
424
  # line-number line after each line using $LINENO; the second 'sed'
 
425
  # does the real work.  The second script uses 'N' to pair each
 
426
  # line-number line with the line containing $LINENO, and appends
 
427
  # trailing '-' during substitution so that $LINENO is not a special
 
428
  # case at line end.
162
429
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
430
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
431
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
432
  sed -n '
 
433
    p
 
434
    /[$]LINENO/=
 
435
  ' <$as_myself |
165
436
    sed '
 
437
      s/[$]LINENO.*/&-/
 
438
      t lineno
 
439
      b
 
440
      :lineno
166
441
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
442
      :loop
 
443
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
444
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
445
      s/-\n.*//
173
446
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
447
  chmod +x "$as_me.lineno" ||
175
448
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
449
   { (exit 1); exit 1; }; }
177
450
 
178
451
  # Don't try to exec as it changes $[0], causing all sort of problems
179
452
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
453
  # original and so on.  Autoconf is especially sensitive to this).
 
454
  . "./$as_me.lineno"
182
455
  # Exit status is that of the last command.
183
456
  exit
184
457
}
185
458
 
186
459
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
460
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
461
  as_dirname=dirname
 
462
else
 
463
  as_dirname=false
 
464
fi
 
465
 
 
466
ECHO_C= ECHO_N= ECHO_T=
 
467
case `echo -n x` in
 
468
-n*)
 
469
  case `echo 'x\c'` in
 
470
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
471
  *)   ECHO_C='\c';;
 
472
  esac;;
 
473
*)
 
474
  ECHO_N='-n';;
192
475
esac
193
476
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
477
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
478
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
479
  as_expr=expr
196
480
else
197
481
  as_expr=false
198
482
fi
199
483
 
200
484
rm -f conf$$ conf$$.exe conf$$.file
 
485
if test -d conf$$.dir; then
 
486
  rm -f conf$$.dir/conf$$.file
 
487
else
 
488
  rm -f conf$$.dir
 
489
  mkdir conf$$.dir
 
490
fi
201
491
echo >conf$$.file
202
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
493
  as_ln_s='ln -s'
 
494
  # ... but there are two gotchas:
 
495
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
496
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
497
  # In both cases, we have to default to `cp -p'.
 
498
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
499
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
500
elif ln conf$$.file conf$$ 2>/dev/null; then
212
501
  as_ln_s=ln
213
502
else
214
503
  as_ln_s='cp -p'
215
504
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
506
rmdir conf$$.dir 2>/dev/null
217
507
 
218
508
if mkdir -p . 2>/dev/null; then
219
509
  as_mkdir_p=:
222
512
  as_mkdir_p=false
223
513
fi
224
514
 
225
 
as_executable_p="test -f"
 
515
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
516
# systems may use methods other than mode bits to determine executability.
 
517
cat >conf$$.file <<_ASEOF
 
518
#! /bin/sh
 
519
exit 0
 
520
_ASEOF
 
521
chmod +x conf$$.file
 
522
if test -x conf$$.file >/dev/null 2>&1; then
 
523
  as_executable_p="test -x"
 
524
else
 
525
  as_executable_p=:
 
526
fi
 
527
rm -f conf$$.file
226
528
 
227
529
# Sed expression to map a string onto a valid CPP name.
228
530
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
533
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
534
 
233
535
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
243
536
 
244
537
 
245
538
# Check that we are running under the correct shell.
395
688
 
396
689
tagnames=${tagnames+${tagnames},}F77
397
690
 
 
691
exec 7<&0 </dev/null 6>&1
 
692
 
398
693
# Name of the host.
399
694
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
695
# so uname gets run too.
401
696
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
697
 
403
 
exec 6>&1
404
 
 
405
698
#
406
699
# Initializations.
407
700
#
408
701
ac_default_prefix=/usr/local
 
702
ac_clean_files=
409
703
ac_config_libobj_dir=.
 
704
LIBOBJS=
410
705
cross_compiling=no
411
706
subdirs=
412
707
MFLAGS=
413
708
MAKEFLAGS=
414
709
SHELL=${CONFIG_SHELL-/bin/sh}
415
710
 
416
 
# Maximum number of lines to put in a shell here document.
417
 
# This variable seems obsolete.  It should probably be removed, and
418
 
# only ac_max_sed_lines should be used.
419
 
: ${ac_max_here_lines=38}
420
 
 
421
711
# Identity of this package.
422
712
PACKAGE_NAME=
423
713
PACKAGE_TARNAME=
455
745
#endif
456
746
#if HAVE_INTTYPES_H
457
747
# include <inttypes.h>
458
 
#else
459
 
# if HAVE_STDINT_H
460
 
#  include <stdint.h>
461
 
# endif
 
748
#endif
 
749
#if HAVE_STDINT_H
 
750
# include <stdint.h>
462
751
#endif
463
752
#if HAVE_UNISTD_H
464
753
# include <unistd.h>
465
754
#endif"
466
755
 
467
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE KDECONFIG kde_libs_prefix kde_libs_htmldir CONF_FILES CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE WOVERLOADED_VIRTUAL HAVE_GCC_VISIBILITY unsermake_enable_pch_TRUE unsermake_enable_pch_FALSE USE_EXCEPTIONS USE_RTTI CXXCPP NOOPT_CXXFLAGS NOOPT_CFLAGS ENABLE_PERMISSIVE_FLAG LDFLAGS_AS_NEEDED LDFLAGS_NEW_DTAGS KDE_USE_FINAL_TRUE KDE_USE_FINAL_FALSE KDE_USE_CLOSURE_TRUE KDE_USE_CLOSURE_FALSE KDE_NO_UNDEFINED KDE_USE_NMCHECK_TRUE KDE_USE_NMCHECK_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB F77 FFLAGS ac_ct_F77 LIBTOOL KDE_PLUGIN KDE_CHECK_PLUGIN MSGFMT GMSGFMT XGETTEXT LIBUTIL LIBCOMPAT LIBCRYPT LIBRESOLV LIB_POLL FRAMEWORK_COREAUDIO LIBSOCKET X_EXTRA_LIBS LIBUCB LIBDL include_x11_TRUE include_x11_FALSE X_PRE_LIBS LIB_X11 LIB_XRENDER LIBSM X_INCLUDES X_LDFLAGS x_includes x_libraries QTE_NORTTI LIB_XEXT LIBPTHREAD USE_THREADS KDE_MT_LDFLAGS KDE_MT_LIBS USER_INCLUDES USER_LDFLAGS LIBZ LIBPNG LIBJPEG qt_libraries qt_includes QT_INCLUDES QT_LDFLAGS PERL MOC UIC UIC_TR LIB_QT LIB_QPE kde_qtver KDE_EXTRA_RPATH KDE_RPATH X_RPATH kde_libraries kde_includes KDE_LDFLAGS KDE_INCLUDES all_includes all_libraries AUTODIRS include_ARTS_TRUE include_ARTS_FALSE MAKEKDEWIDGETS KCONFIG_COMPILER KCFG_DEPENDENCIES DCOPIDLNG DCOPIDL DCOPIDL2CPP DCOP_DEPENDENCIES MCOPIDL ARTSCCONFIG MEINPROC KDE_XSL_STYLESHEET XMLLINT kde_htmldir kde_appsdir kde_icondir kde_sounddir kde_datadir kde_locale kde_confdir kde_kcfgdir kde_mimedir kde_wallpaperdir kde_bindir xdg_appsdir xdg_menudir xdg_directorydir kde_templatesdir kde_servicesdir kde_servicetypesdir kde_moduledir kdeinitdir kde_styledir kde_widgetdir LIB_KDED LIB_KDECORE LIB_KDEUI LIB_KIO LIB_KJS LIB_SMB LIB_KAB LIB_KABC LIB_KHTML LIB_KSPELL LIB_KPARTS LIB_KDEPRINT LIB_KUTILS LIB_KDEPIM LIB_KIMPROXY LIB_KNEWSTUFF LIB_KDNSSD LIB_KUNITTEST LIB_KSYCOCA LIB_KFILE LIB_KFM TOPSUBDIRS LIBOBJS LTLIBOBJS'
 
756
ac_subst_vars='SHELL
 
757
PATH_SEPARATOR
 
758
PACKAGE_NAME
 
759
PACKAGE_TARNAME
 
760
PACKAGE_VERSION
 
761
PACKAGE_STRING
 
762
PACKAGE_BUGREPORT
 
763
exec_prefix
 
764
prefix
 
765
program_transform_name
 
766
bindir
 
767
sbindir
 
768
libexecdir
 
769
datarootdir
 
770
datadir
 
771
sysconfdir
 
772
sharedstatedir
 
773
localstatedir
 
774
includedir
 
775
oldincludedir
 
776
docdir
 
777
infodir
 
778
htmldir
 
779
dvidir
 
780
pdfdir
 
781
psdir
 
782
libdir
 
783
localedir
 
784
mandir
 
785
DEFS
 
786
ECHO_C
 
787
ECHO_N
 
788
ECHO_T
 
789
LIBS
 
790
build_alias
 
791
host_alias
 
792
target_alias
 
793
build
 
794
build_cpu
 
795
build_vendor
 
796
build_os
 
797
host
 
798
host_cpu
 
799
host_vendor
 
800
host_os
 
801
target
 
802
target_cpu
 
803
target_vendor
 
804
target_os
 
805
INSTALL_PROGRAM
 
806
INSTALL_SCRIPT
 
807
INSTALL_DATA
 
808
CYGPATH_W
 
809
PACKAGE
 
810
VERSION
 
811
ACLOCAL
 
812
AUTOCONF
 
813
AUTOMAKE
 
814
AUTOHEADER
 
815
MAKEINFO
 
816
install_sh
 
817
STRIP
 
818
INSTALL_STRIP_PROGRAM
 
819
mkdir_p
 
820
AWK
 
821
SET_MAKE
 
822
am__leading_dot
 
823
AMTAR
 
824
am__tar
 
825
am__untar
 
826
KDECONFIG
 
827
kde_libs_prefix
 
828
kde_libs_htmldir
 
829
CONF_FILES
 
830
CC
 
831
CFLAGS
 
832
LDFLAGS
 
833
CPPFLAGS
 
834
ac_ct_CC
 
835
EXEEXT
 
836
OBJEXT
 
837
DEPDIR
 
838
am__include
 
839
am__quote
 
840
AMDEP_TRUE
 
841
AMDEP_FALSE
 
842
AMDEPBACKSLASH
 
843
CCDEPMODE
 
844
am__fastdepCC_TRUE
 
845
am__fastdepCC_FALSE
 
846
CPP
 
847
CXX
 
848
CXXFLAGS
 
849
ac_ct_CXX
 
850
CXXDEPMODE
 
851
am__fastdepCXX_TRUE
 
852
am__fastdepCXX_FALSE
 
853
WOVERLOADED_VIRTUAL
 
854
HAVE_GCC_VISIBILITY
 
855
unsermake_enable_pch_TRUE
 
856
unsermake_enable_pch_FALSE
 
857
USE_EXCEPTIONS
 
858
USE_RTTI
 
859
CXXCPP
 
860
NOOPT_CXXFLAGS
 
861
NOOPT_CFLAGS
 
862
ENABLE_PERMISSIVE_FLAG
 
863
LDFLAGS_AS_NEEDED
 
864
LDFLAGS_NEW_DTAGS
 
865
KDE_USE_FINAL_TRUE
 
866
KDE_USE_FINAL_FALSE
 
867
KDE_USE_CLOSURE_TRUE
 
868
KDE_USE_CLOSURE_FALSE
 
869
KDE_NO_UNDEFINED
 
870
KDE_USE_NMCHECK_TRUE
 
871
KDE_USE_NMCHECK_FALSE
 
872
GREP
 
873
EGREP
 
874
LN_S
 
875
ECHO
 
876
AR
 
877
RANLIB
 
878
F77
 
879
FFLAGS
 
880
ac_ct_F77
 
881
LIBTOOL
 
882
KDE_PLUGIN
 
883
KDE_CHECK_PLUGIN
 
884
MSGFMT
 
885
GMSGFMT
 
886
XGETTEXT
 
887
LIBUTIL
 
888
LIBCOMPAT
 
889
LIBCRYPT
 
890
LIBRESOLV
 
891
LIB_POLL
 
892
FRAMEWORK_COREAUDIO
 
893
LIBSOCKET
 
894
X_EXTRA_LIBS
 
895
LIBUCB
 
896
LIBDL
 
897
KDE_USE_FPIE
 
898
KDE_USE_PIE
 
899
include_x11_TRUE
 
900
include_x11_FALSE
 
901
XMKMF
 
902
X_PRE_LIBS
 
903
LIB_X11
 
904
LIB_XRENDER
 
905
LIBSM
 
906
X_INCLUDES
 
907
X_LDFLAGS
 
908
x_includes
 
909
x_libraries
 
910
QTE_NORTTI
 
911
LIB_XEXT
 
912
LIBPTHREAD
 
913
USE_THREADS
 
914
KDE_MT_LDFLAGS
 
915
KDE_MT_LIBS
 
916
USER_INCLUDES
 
917
USER_LDFLAGS
 
918
LIBZ
 
919
LIBPNG
 
920
LIBJPEG
 
921
qt_libraries
 
922
qt_includes
 
923
QT_INCLUDES
 
924
QT_LDFLAGS
 
925
PERL
 
926
MOC
 
927
UIC
 
928
UIC_TR
 
929
LIB_QT
 
930
LIB_QPE
 
931
kde_qtver
 
932
KDE_EXTRA_RPATH
 
933
KDE_RPATH
 
934
X_RPATH
 
935
kde_libraries
 
936
kde_includes
 
937
KDE_LDFLAGS
 
938
KDE_INCLUDES
 
939
all_includes
 
940
all_libraries
 
941
AUTODIRS
 
942
include_ARTS_TRUE
 
943
include_ARTS_FALSE
 
944
MAKEKDEWIDGETS
 
945
KCONFIG_COMPILER
 
946
KCFG_DEPENDENCIES
 
947
DCOPIDLNG
 
948
DCOPIDL
 
949
DCOPIDL2CPP
 
950
DCOP_DEPENDENCIES
 
951
MCOPIDL
 
952
ARTSCCONFIG
 
953
MEINPROC
 
954
KDE_XSL_STYLESHEET
 
955
XMLLINT
 
956
kde_htmldir
 
957
kde_appsdir
 
958
kde_icondir
 
959
kde_sounddir
 
960
kde_datadir
 
961
kde_locale
 
962
kde_confdir
 
963
kde_kcfgdir
 
964
kde_mimedir
 
965
kde_wallpaperdir
 
966
kde_bindir
 
967
xdg_appsdir
 
968
xdg_menudir
 
969
xdg_directorydir
 
970
kde_templatesdir
 
971
kde_servicesdir
 
972
kde_servicetypesdir
 
973
kde_moduledir
 
974
kdeinitdir
 
975
kde_styledir
 
976
kde_widgetdir
 
977
LIB_KDED
 
978
LIB_KDECORE
 
979
LIB_KDEUI
 
980
LIB_KIO
 
981
LIB_KJS
 
982
LIB_SMB
 
983
LIB_KAB
 
984
LIB_KABC
 
985
LIB_KHTML
 
986
LIB_KSPELL
 
987
LIB_KPARTS
 
988
LIB_KDEPRINT
 
989
LIB_KUTILS
 
990
LIB_KDEPIM
 
991
LIB_KIMPROXY
 
992
LIB_KNEWSTUFF
 
993
LIB_KDNSSD
 
994
LIB_KUNITTEST
 
995
LIB_KSYCOCA
 
996
LIB_KFILE
 
997
LIB_KFM
 
998
TOPSUBDIRS
 
999
LIBOBJS
 
1000
LTLIBOBJS'
468
1001
ac_subst_files=''
 
1002
      ac_precious_vars='build_alias
 
1003
host_alias
 
1004
target_alias
 
1005
CC
 
1006
CFLAGS
 
1007
LDFLAGS
 
1008
CPPFLAGS
 
1009
CPP
 
1010
CXX
 
1011
CXXFLAGS
 
1012
CCC
 
1013
CXXCPP
 
1014
F77
 
1015
FFLAGS
 
1016
XMKMF'
 
1017
 
469
1018
 
470
1019
# Initialize some variables set by options.
471
1020
ac_init_help=
492
1041
# and all the variables that are supposed to be based on exec_prefix
493
1042
# by default will actually change.
494
1043
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1044
# (The list follows the same order as the GNU Coding Standards.)
495
1045
bindir='${exec_prefix}/bin'
496
1046
sbindir='${exec_prefix}/sbin'
497
1047
libexecdir='${exec_prefix}/libexec'
498
 
datadir='${prefix}/share'
 
1048
datarootdir='${prefix}/share'
 
1049
datadir='${datarootdir}'
499
1050
sysconfdir='${prefix}/etc'
500
1051
sharedstatedir='${prefix}/com'
501
1052
localstatedir='${prefix}/var'
502
 
libdir='${exec_prefix}/lib'
503
1053
includedir='${prefix}/include'
504
1054
oldincludedir='/usr/include'
505
 
infodir='${prefix}/info'
506
 
mandir='${prefix}/man'
 
1055
docdir='${datarootdir}/doc/${PACKAGE}'
 
1056
infodir='${datarootdir}/info'
 
1057
htmldir='${docdir}'
 
1058
dvidir='${docdir}'
 
1059
pdfdir='${docdir}'
 
1060
psdir='${docdir}'
 
1061
libdir='${exec_prefix}/lib'
 
1062
localedir='${datarootdir}/locale'
 
1063
mandir='${datarootdir}/man'
507
1064
 
508
1065
ac_prev=
 
1066
ac_dashdash=
509
1067
for ac_option
510
1068
do
511
1069
  # If the previous option needs an argument, assign it.
512
1070
  if test -n "$ac_prev"; then
513
 
    eval "$ac_prev=\$ac_option"
 
1071
    eval $ac_prev=\$ac_option
514
1072
    ac_prev=
515
1073
    continue
516
1074
  fi
517
1075
 
518
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1076
  case $ac_option in
 
1077
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1078
  *)    ac_optarg=yes ;;
 
1079
  esac
519
1080
 
520
1081
  # Accept the important Cygnus configure options, so we can diagnose typos.
521
1082
 
522
 
  case $ac_option in
 
1083
  case $ac_dashdash$ac_option in
 
1084
  --)
 
1085
    ac_dashdash=yes ;;
523
1086
 
524
1087
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
525
1088
    ac_prev=bindir ;;
541
1104
  --config-cache | -C)
542
1105
    cache_file=config.cache ;;
543
1106
 
544
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1107
  -datadir | --datadir | --datadi | --datad)
545
1108
    ac_prev=datadir ;;
546
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547
 
  | --da=*)
 
1109
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
548
1110
    datadir=$ac_optarg ;;
549
1111
 
 
1112
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1113
  | --dataroo | --dataro | --datar)
 
1114
    ac_prev=datarootdir ;;
 
1115
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1116
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1117
    datarootdir=$ac_optarg ;;
 
1118
 
550
1119
  -disable-* | --disable-*)
551
1120
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
1121
    # Reject names that are not valid shell variable names.
554
1123
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
1124
   { (exit 1); exit 1; }; }
556
1125
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
 
    eval "enable_$ac_feature=no" ;;
 
1126
    eval enable_$ac_feature=no ;;
 
1127
 
 
1128
  -docdir | --docdir | --docdi | --doc | --do)
 
1129
    ac_prev=docdir ;;
 
1130
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1131
    docdir=$ac_optarg ;;
 
1132
 
 
1133
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1134
    ac_prev=dvidir ;;
 
1135
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1136
    dvidir=$ac_optarg ;;
558
1137
 
559
1138
  -enable-* | --enable-*)
560
1139
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563
1142
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
1143
   { (exit 1); exit 1; }; }
565
1144
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
566
 
    case $ac_option in
567
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568
 
      *) ac_optarg=yes ;;
569
 
    esac
570
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1145
    eval enable_$ac_feature=\$ac_optarg ;;
571
1146
 
572
1147
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
1148
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
594
1169
  -host=* | --host=* | --hos=* | --ho=*)
595
1170
    host_alias=$ac_optarg ;;
596
1171
 
 
1172
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1173
    ac_prev=htmldir ;;
 
1174
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1175
  | --ht=*)
 
1176
    htmldir=$ac_optarg ;;
 
1177
 
597
1178
  -includedir | --includedir | --includedi | --included | --include \
598
1179
  | --includ | --inclu | --incl | --inc)
599
1180
    ac_prev=includedir ;;
618
1199
  | --libexe=* | --libex=* | --libe=*)
619
1200
    libexecdir=$ac_optarg ;;
620
1201
 
 
1202
  -localedir | --localedir | --localedi | --localed | --locale)
 
1203
    ac_prev=localedir ;;
 
1204
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1205
    localedir=$ac_optarg ;;
 
1206
 
621
1207
  -localstatedir | --localstatedir | --localstatedi | --localstated \
622
 
  | --localstate | --localstat | --localsta | --localst \
623
 
  | --locals | --local | --loca | --loc | --lo)
 
1208
  | --localstate | --localstat | --localsta | --localst | --locals)
624
1209
    ac_prev=localstatedir ;;
625
1210
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1211
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
628
1212
    localstatedir=$ac_optarg ;;
629
1213
 
630
1214
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
689
1273
  | --progr-tra=* | --program-tr=* | --program-t=*)
690
1274
    program_transform_name=$ac_optarg ;;
691
1275
 
 
1276
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1277
    ac_prev=pdfdir ;;
 
1278
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1279
    pdfdir=$ac_optarg ;;
 
1280
 
 
1281
  -psdir | --psdir | --psdi | --psd | --ps)
 
1282
    ac_prev=psdir ;;
 
1283
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1284
    psdir=$ac_optarg ;;
 
1285
 
692
1286
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
1287
  | -silent | --silent | --silen | --sile | --sil)
694
1288
    silent=yes ;;
745
1339
      { echo "$as_me: error: invalid package name: $ac_package" >&2
746
1340
   { (exit 1); exit 1; }; }
747
1341
    ac_package=`echo $ac_package| sed 's/-/_/g'`
748
 
    case $ac_option in
749
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750
 
      *) ac_optarg=yes ;;
751
 
    esac
752
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1342
    eval with_$ac_package=\$ac_optarg ;;
753
1343
 
754
1344
  -without-* | --without-*)
755
1345
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758
1348
      { echo "$as_me: error: invalid package name: $ac_package" >&2
759
1349
   { (exit 1); exit 1; }; }
760
1350
    ac_package=`echo $ac_package | sed 's/-/_/g'`
761
 
    eval "with_$ac_package=no" ;;
 
1351
    eval with_$ac_package=no ;;
762
1352
 
763
1353
  --x)
764
1354
    # Obsolete; use --with-x.
789
1379
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
1380
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
1381
   { (exit 1); exit 1; }; }
792
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
 
    eval "$ac_envvar='$ac_optarg'"
 
1382
    eval $ac_envvar=\$ac_optarg
794
1383
    export $ac_envvar ;;
795
1384
 
796
1385
  *)
810
1399
   { (exit 1); exit 1; }; }
811
1400
fi
812
1401
 
813
 
# Be sure to have absolute paths.
814
 
for ac_var in exec_prefix prefix
815
 
do
816
 
  eval ac_val=$`echo $ac_var`
817
 
  case $ac_val in
818
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820
 
   { (exit 1); exit 1; }; };;
821
 
  esac
822
 
done
823
 
 
824
 
# Be sure to have absolute paths.
825
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826
 
              localstatedir libdir includedir oldincludedir infodir mandir
827
 
do
828
 
  eval ac_val=$`echo $ac_var`
829
 
  case $ac_val in
830
 
    [\\/$]* | ?:[\\/]* ) ;;
831
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832
 
   { (exit 1); exit 1; }; };;
833
 
  esac
 
1402
# Be sure to have absolute directory names.
 
1403
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1404
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1405
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1406
                libdir localedir mandir
 
1407
do
 
1408
  eval ac_val=\$$ac_var
 
1409
  case $ac_val in
 
1410
    [\\/$]* | ?:[\\/]* )  continue;;
 
1411
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1412
  esac
 
1413
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1414
   { (exit 1); exit 1; }; }
834
1415
done
835
1416
 
836
1417
# There might be people who depend on the old broken behavior: `$host'
857
1438
test "$silent" = yes && exec 6>/dev/null
858
1439
 
859
1440
 
 
1441
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1442
ac_ls_di=`ls -di .` &&
 
1443
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1444
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1445
   { (exit 1); exit 1; }; }
 
1446
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1447
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1448
   { (exit 1); exit 1; }; }
 
1449
 
 
1450
 
860
1451
# Find the source files, if location was not specified.
861
1452
if test -z "$srcdir"; then
862
1453
  ac_srcdir_defaulted=yes
863
 
  # Try the directory containing this script, then its parent.
864
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1454
  # Try the directory containing this script, then the parent directory.
 
1455
  ac_confdir=`$as_dirname -- "$0" ||
865
1456
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
1457
         X"$0" : 'X\(//\)[^/]' \| \
867
1458
         X"$0" : 'X\(//\)$' \| \
868
 
         X"$0" : 'X\(/\)' \| \
869
 
         .     : '\(.\)' 2>/dev/null ||
 
1459
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
870
1460
echo X"$0" |
871
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873
 
          /^X\(\/\/\)$/{ s//\1/; q; }
874
 
          /^X\(\/\).*/{ s//\1/; q; }
875
 
          s/.*/./; q'`
 
1461
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1462
            s//\1/
 
1463
            q
 
1464
          }
 
1465
          /^X\(\/\/\)[^/].*/{
 
1466
            s//\1/
 
1467
            q
 
1468
          }
 
1469
          /^X\(\/\/\)$/{
 
1470
            s//\1/
 
1471
            q
 
1472
          }
 
1473
          /^X\(\/\).*/{
 
1474
            s//\1/
 
1475
            q
 
1476
          }
 
1477
          s/.*/./; q'`
876
1478
  srcdir=$ac_confdir
877
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1479
  if test ! -r "$srcdir/$ac_unique_file"; then
878
1480
    srcdir=..
879
1481
  fi
880
1482
else
881
1483
  ac_srcdir_defaulted=no
882
1484
fi
883
 
if test ! -r $srcdir/$ac_unique_file; then
884
 
  if test "$ac_srcdir_defaulted" = yes; then
885
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886
 
   { (exit 1); exit 1; }; }
887
 
  else
888
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889
 
   { (exit 1); exit 1; }; }
890
 
  fi
891
 
fi
892
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894
 
   { (exit 1); exit 1; }; }
895
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896
 
ac_env_build_alias_set=${build_alias+set}
897
 
ac_env_build_alias_value=$build_alias
898
 
ac_cv_env_build_alias_set=${build_alias+set}
899
 
ac_cv_env_build_alias_value=$build_alias
900
 
ac_env_host_alias_set=${host_alias+set}
901
 
ac_env_host_alias_value=$host_alias
902
 
ac_cv_env_host_alias_set=${host_alias+set}
903
 
ac_cv_env_host_alias_value=$host_alias
904
 
ac_env_target_alias_set=${target_alias+set}
905
 
ac_env_target_alias_value=$target_alias
906
 
ac_cv_env_target_alias_set=${target_alias+set}
907
 
ac_cv_env_target_alias_value=$target_alias
908
 
ac_env_CC_set=${CC+set}
909
 
ac_env_CC_value=$CC
910
 
ac_cv_env_CC_set=${CC+set}
911
 
ac_cv_env_CC_value=$CC
912
 
ac_env_CFLAGS_set=${CFLAGS+set}
913
 
ac_env_CFLAGS_value=$CFLAGS
914
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
915
 
ac_cv_env_CFLAGS_value=$CFLAGS
916
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
917
 
ac_env_LDFLAGS_value=$LDFLAGS
918
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
920
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921
 
ac_env_CPPFLAGS_value=$CPPFLAGS
922
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924
 
ac_env_CPP_set=${CPP+set}
925
 
ac_env_CPP_value=$CPP
926
 
ac_cv_env_CPP_set=${CPP+set}
927
 
ac_cv_env_CPP_value=$CPP
928
 
ac_env_CXX_set=${CXX+set}
929
 
ac_env_CXX_value=$CXX
930
 
ac_cv_env_CXX_set=${CXX+set}
931
 
ac_cv_env_CXX_value=$CXX
932
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933
 
ac_env_CXXFLAGS_value=$CXXFLAGS
934
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936
 
ac_env_CXXCPP_set=${CXXCPP+set}
937
 
ac_env_CXXCPP_value=$CXXCPP
938
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
939
 
ac_cv_env_CXXCPP_value=$CXXCPP
940
 
ac_env_F77_set=${F77+set}
941
 
ac_env_F77_value=$F77
942
 
ac_cv_env_F77_set=${F77+set}
943
 
ac_cv_env_F77_value=$F77
944
 
ac_env_FFLAGS_set=${FFLAGS+set}
945
 
ac_env_FFLAGS_value=$FFLAGS
946
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
947
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1485
if test ! -r "$srcdir/$ac_unique_file"; then
 
1486
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1487
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1488
   { (exit 1); exit 1; }; }
 
1489
fi
 
1490
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1491
ac_abs_confdir=`(
 
1492
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1493
   { (exit 1); exit 1; }; }
 
1494
        pwd)`
 
1495
# When building in place, set srcdir=.
 
1496
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1497
  srcdir=.
 
1498
fi
 
1499
# Remove unnecessary trailing slashes from srcdir.
 
1500
# Double slashes in file names in object file debugging info
 
1501
# mess up M-x gdb in Emacs.
 
1502
case $srcdir in
 
1503
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1504
esac
 
1505
for ac_var in $ac_precious_vars; do
 
1506
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1507
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1508
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1509
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1510
done
948
1511
 
949
1512
#
950
1513
# Report the --help message.
973
1536
  -n, --no-create         do not create output files
974
1537
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
975
1538
 
976
 
_ACEOF
977
 
 
978
 
  cat <<_ACEOF
979
1539
Installation directories:
980
1540
  --prefix=PREFIX         install architecture-independent files in PREFIX
981
1541
                          [$ac_default_prefix]
993
1553
  --bindir=DIR           user executables [EPREFIX/bin]
994
1554
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
995
1555
  --libexecdir=DIR       program executables [EPREFIX/libexec]
996
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
997
1556
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
998
1557
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
999
1558
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1000
1559
  --libdir=DIR           object code libraries [EPREFIX/lib]
1001
1560
  --includedir=DIR       C header files [PREFIX/include]
1002
1561
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1003
 
  --infodir=DIR          info documentation [PREFIX/info]
1004
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1562
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1563
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1564
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1565
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1566
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1567
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
 
1568
  --htmldir=DIR          html documentation [DOCDIR]
 
1569
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1570
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1571
  --psdir=DIR            ps documentation [DOCDIR]
1005
1572
_ACEOF
1006
1573
 
1007
1574
  cat <<\_ACEOF
1032
1599
                          work!)
1033
1600
  --disable-warnings      disables compilation with -Wall and similar
1034
1601
  --enable-profile        creates profiling infos default=no
1035
 
  --disable-dependency-tracking Speeds up one-time builds
1036
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
1602
  --disable-dependency-tracking  speeds up one-time build
 
1603
  --enable-dependency-tracking   do not reject slow dependency extractors
1037
1604
  --enable-pch            enables precompiled header support (currently only
1038
1605
                          KCC or gcc >=3.4+unsermake) default=no
1039
1606
  --enable-coverage       use gcc coverage testing
1042
1609
                          of memory)
1043
1610
  --enable-closure        delay template instantiation
1044
1611
  --enable-nmcheck        enable automatic namespace cleanness check
1045
 
  --enable-shared[=PKGS]
1046
 
                          build shared libraries [default=yes]
1047
 
  --enable-static[=PKGS]
1048
 
                          build static libraries [default=no]
1049
 
  --enable-libsuffix      /lib directory suffix (64,32,none=default)
 
1612
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1613
  --enable-static[=PKGS]  build static libraries [default=no]
 
1614
  --enable-libsuffix      /lib directory suffix (64,32,none,auto=default)
1050
1615
  --enable-fast-install[=PKGS]
1051
1616
                          optimize for fast installation [default=yes]
1052
1617
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1618
  --enable-pie            platform supports PIE linking default=detect
1053
1619
  --enable-embedded       link to Qt-embedded, don't use X
1054
1620
  --enable-qtopia         link to Qt-embedded, link to the Qtopia Environment
1055
1621
  --enable-mac            link to Qt/Mac (don't use X)
1064
1630
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1065
1631
  --with-pic              try to use only PIC/non-PIC objects [default=use
1066
1632
                          both]
1067
 
  --with-tags[=TAGS]
1068
 
                          include additional configurations [automatic]
 
1633
  --with-tags[=TAGS]      include additional configurations [automatic]
1069
1634
  --with-extra-includes=DIR
1070
1635
                          adds non standard include paths
1071
1636
  --with-extra-libs=DIR   adds non standard library paths
1079
1644
  CFLAGS      C compiler flags
1080
1645
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1081
1646
              nonstandard directory <lib dir>
1082
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1083
 
              headers in a nonstandard directory <include dir>
 
1647
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1648
              you have headers in a nonstandard directory <include dir>
1084
1649
  CPP         C preprocessor
1085
1650
  CXX         C++ compiler command
1086
1651
  CXXFLAGS    C++ compiler flags
1087
1652
  CXXCPP      C++ preprocessor
1088
1653
  F77         Fortran 77 compiler command
1089
1654
  FFLAGS      Fortran 77 compiler flags
 
1655
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1090
1656
 
1091
1657
Use these variables to override the choices made by `configure' or to help
1092
1658
it to find libraries and programs with nonstandard names/locations.
1093
1659
 
1094
1660
_ACEOF
 
1661
ac_status=$?
1095
1662
fi
1096
1663
 
1097
1664
if test "$ac_init_help" = "recursive"; then
1098
1665
  # If there are subdirs, report their specific --help.
1099
 
  ac_popdir=`pwd`
1100
1666
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1101
 
    test -d $ac_dir || continue
 
1667
    test -d "$ac_dir" || continue
1102
1668
    ac_builddir=.
1103
1669
 
1104
 
if test "$ac_dir" != .; then
 
1670
case "$ac_dir" in
 
1671
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1672
*)
1105
1673
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1106
 
  # A "../" for each directory in $ac_dir_suffix.
1107
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1108
 
else
1109
 
  ac_dir_suffix= ac_top_builddir=
1110
 
fi
 
1674
  # A ".." for each directory in $ac_dir_suffix.
 
1675
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1676
  case $ac_top_builddir_sub in
 
1677
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1678
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1679
  esac ;;
 
1680
esac
 
1681
ac_abs_top_builddir=$ac_pwd
 
1682
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1683
# for backward compatibility:
 
1684
ac_top_builddir=$ac_top_build_prefix
1111
1685
 
1112
1686
case $srcdir in
1113
 
  .)  # No --srcdir option.  We are building in place.
 
1687
  .)  # We are building in place.
1114
1688
    ac_srcdir=.
1115
 
    if test -z "$ac_top_builddir"; then
1116
 
       ac_top_srcdir=.
1117
 
    else
1118
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1119
 
    fi ;;
1120
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1689
    ac_top_srcdir=$ac_top_builddir_sub
 
1690
    ac_abs_top_srcdir=$ac_pwd ;;
 
1691
  [\\/]* | ?:[\\/]* )  # Absolute name.
1121
1692
    ac_srcdir=$srcdir$ac_dir_suffix;
1122
 
    ac_top_srcdir=$srcdir ;;
1123
 
  *) # Relative path.
1124
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1125
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1126
 
esac
1127
 
 
1128
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1129
 
# the directories may not exist.
1130
 
case `pwd` in
1131
 
.) ac_abs_builddir="$ac_dir";;
1132
 
*)
1133
 
  case "$ac_dir" in
1134
 
  .) ac_abs_builddir=`pwd`;;
1135
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1136
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1137
 
  esac;;
1138
 
esac
1139
 
case $ac_abs_builddir in
1140
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1141
 
*)
1142
 
  case ${ac_top_builddir}. in
1143
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1144
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1145
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1146
 
  esac;;
1147
 
esac
1148
 
case $ac_abs_builddir in
1149
 
.) ac_abs_srcdir=$ac_srcdir;;
1150
 
*)
1151
 
  case $ac_srcdir in
1152
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1153
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1154
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1155
 
  esac;;
1156
 
esac
1157
 
case $ac_abs_builddir in
1158
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1159
 
*)
1160
 
  case $ac_top_srcdir in
1161
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1162
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1163
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1164
 
  esac;;
1165
 
esac
1166
 
 
1167
 
    cd $ac_dir
1168
 
    # Check for guested configure; otherwise get Cygnus style configure.
1169
 
    if test -f $ac_srcdir/configure.gnu; then
1170
 
      echo
1171
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1172
 
    elif test -f $ac_srcdir/configure; then
1173
 
      echo
1174
 
      $SHELL $ac_srcdir/configure  --help=recursive
1175
 
    elif test -f $ac_srcdir/configure.ac ||
1176
 
           test -f $ac_srcdir/configure.in; then
1177
 
      echo
1178
 
      $ac_configure --help
 
1693
    ac_top_srcdir=$srcdir
 
1694
    ac_abs_top_srcdir=$srcdir ;;
 
1695
  *) # Relative name.
 
1696
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1697
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1698
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1699
esac
 
1700
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1701
 
 
1702
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1703
    # Check for guested configure.
 
1704
    if test -f "$ac_srcdir/configure.gnu"; then
 
1705
      echo &&
 
1706
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1707
    elif test -f "$ac_srcdir/configure"; then
 
1708
      echo &&
 
1709
      $SHELL "$ac_srcdir/configure" --help=recursive
1179
1710
    else
1180
1711
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1181
 
    fi
1182
 
    cd $ac_popdir
 
1712
    fi || ac_status=$?
 
1713
    cd "$ac_pwd" || { ac_status=$?; break; }
1183
1714
  done
1184
1715
fi
1185
1716
 
1186
 
test -n "$ac_init_help" && exit 0
 
1717
test -n "$ac_init_help" && exit $ac_status
1187
1718
if $ac_init_version; then
1188
1719
  cat <<\_ACEOF
 
1720
configure
 
1721
generated by GNU Autoconf 2.60
1189
1722
 
1190
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1723
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1724
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1191
1725
This configure script is free software; the Free Software Foundation
1192
1726
gives unlimited permission to copy, distribute and modify it.
1193
1727
_ACEOF
1194
 
  exit 0
 
1728
  exit
1195
1729
fi
1196
 
exec 5>config.log
1197
 
cat >&5 <<_ACEOF
 
1730
cat >config.log <<_ACEOF
1198
1731
This file contains any messages produced by compilers while
1199
1732
running configure, to aid debugging if configure makes a mistake.
1200
1733
 
1201
1734
It was created by $as_me, which was
1202
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1735
generated by GNU Autoconf 2.60.  Invocation command line was
1203
1736
 
1204
1737
  $ $0 $@
1205
1738
 
1206
1739
_ACEOF
 
1740
exec 5>>config.log
1207
1741
{
1208
1742
cat <<_ASUNAME
1209
1743
## --------- ##
1222
1756
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1223
1757
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1224
1758
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1225
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1759
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1226
1760
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1227
1761
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1228
1762
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1236
1770
  test -z "$as_dir" && as_dir=.
1237
1771
  echo "PATH: $as_dir"
1238
1772
done
 
1773
IFS=$as_save_IFS
1239
1774
 
1240
1775
} >&5
1241
1776
 
1257
1792
ac_configure_args=
1258
1793
ac_configure_args0=
1259
1794
ac_configure_args1=
1260
 
ac_sep=
1261
1795
ac_must_keep_next=false
1262
1796
for ac_pass in 1 2
1263
1797
do
1268
1802
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1269
1803
    | -silent | --silent | --silen | --sile | --sil)
1270
1804
      continue ;;
1271
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1805
    *\'*)
1272
1806
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1273
1807
    esac
1274
1808
    case $ac_pass in
1290
1824
          -* ) ac_must_keep_next=true ;;
1291
1825
        esac
1292
1826
      fi
1293
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1294
 
      # Get rid of the leading space.
1295
 
      ac_sep=" "
 
1827
      ac_configure_args="$ac_configure_args '$ac_arg'"
1296
1828
      ;;
1297
1829
    esac
1298
1830
  done
1303
1835
# When interrupted or exit'd, cleanup temporary files, and complete
1304
1836
# config.log.  We remove comments because anyway the quotes in there
1305
1837
# would cause problems or look ugly.
1306
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1307
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1838
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1839
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1308
1840
trap 'exit_status=$?
1309
1841
  # Save into config.log some information that might help in debugging.
1310
1842
  {
1317
1849
_ASBOX
1318
1850
    echo
1319
1851
    # The following way of writing the cache mishandles newlines in values,
1320
 
{
 
1852
(
 
1853
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1854
    eval ac_val=\$$ac_var
 
1855
    case $ac_val in #(
 
1856
    *${as_nl}*)
 
1857
      case $ac_var in #(
 
1858
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1859
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1860
      esac
 
1861
      case $ac_var in #(
 
1862
      _ | IFS | as_nl) ;; #(
 
1863
      *) $as_unset $ac_var ;;
 
1864
      esac ;;
 
1865
    esac
 
1866
  done
1321
1867
  (set) 2>&1 |
1322
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1323
 
    *ac_space=\ *)
 
1868
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1869
    *${as_nl}ac_space=\ *)
1324
1870
      sed -n \
1325
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1326
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1327
 
      ;;
 
1871
        "s/'\''/'\''\\\\'\'''\''/g;
 
1872
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1873
      ;; #(
1328
1874
    *)
1329
 
      sed -n \
1330
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1875
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1331
1876
      ;;
1332
 
    esac;
1333
 
}
 
1877
    esac |
 
1878
    sort
 
1879
)
1334
1880
    echo
1335
1881
 
1336
1882
    cat <<\_ASBOX
1341
1887
    echo
1342
1888
    for ac_var in $ac_subst_vars
1343
1889
    do
1344
 
      eval ac_val=$`echo $ac_var`
1345
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1890
      eval ac_val=\$$ac_var
 
1891
      case $ac_val in
 
1892
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1893
      esac
 
1894
      echo "$ac_var='\''$ac_val'\''"
1346
1895
    done | sort
1347
1896
    echo
1348
1897
 
1349
1898
    if test -n "$ac_subst_files"; then
1350
1899
      cat <<\_ASBOX
1351
 
## ------------- ##
1352
 
## Output files. ##
1353
 
## ------------- ##
 
1900
## ------------------- ##
 
1901
## File substitutions. ##
 
1902
## ------------------- ##
1354
1903
_ASBOX
1355
1904
      echo
1356
1905
      for ac_var in $ac_subst_files
1357
1906
      do
1358
 
        eval ac_val=$`echo $ac_var`
1359
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1907
        eval ac_val=\$$ac_var
 
1908
        case $ac_val in
 
1909
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1910
        esac
 
1911
        echo "$ac_var='\''$ac_val'\''"
1360
1912
      done | sort
1361
1913
      echo
1362
1914
    fi
1368
1920
## ----------- ##
1369
1921
_ASBOX
1370
1922
      echo
1371
 
      sed "/^$/d" confdefs.h | sort
 
1923
      cat confdefs.h
1372
1924
      echo
1373
1925
    fi
1374
1926
    test "$ac_signal" != 0 &&
1375
1927
      echo "$as_me: caught signal $ac_signal"
1376
1928
    echo "$as_me: exit $exit_status"
1377
1929
  } >&5
1378
 
  rm -f core *.core &&
1379
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1930
  rm -f core *.core core.conftest.* &&
 
1931
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1380
1932
    exit $exit_status
1381
 
     ' 0
 
1933
' 0
1382
1934
for ac_signal in 1 2 13 15; do
1383
1935
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1384
1936
done
1385
1937
ac_signal=0
1386
1938
 
1387
1939
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1388
 
rm -rf conftest* confdefs.h
1389
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1390
 
echo >confdefs.h
 
1940
rm -f -r conftest* confdefs.h
1391
1941
 
1392
1942
# Predefined preprocessor variables.
1393
1943
 
1418
1968
 
1419
1969
# Let the site file select an alternate cache file if it wants to.
1420
1970
# Prefer explicitly selected file to automatically selected ones.
1421
 
if test -z "$CONFIG_SITE"; then
1422
 
  if test "x$prefix" != xNONE; then
1423
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1424
 
  else
1425
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1426
 
  fi
 
1971
if test -n "$CONFIG_SITE"; then
 
1972
  set x "$CONFIG_SITE"
 
1973
elif test "x$prefix" != xNONE; then
 
1974
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1975
else
 
1976
  set x "$ac_default_prefix/share/config.site" \
 
1977
        "$ac_default_prefix/etc/config.site"
1427
1978
fi
1428
 
for ac_site_file in $CONFIG_SITE; do
 
1979
shift
 
1980
for ac_site_file
 
1981
do
1429
1982
  if test -r "$ac_site_file"; then
1430
1983
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1431
1984
echo "$as_me: loading site script $ac_site_file" >&6;}
1441
1994
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1442
1995
echo "$as_me: loading cache $cache_file" >&6;}
1443
1996
    case $cache_file in
1444
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1445
 
      *)                      . ./$cache_file;;
 
1997
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1998
      *)                      . "./$cache_file";;
1446
1999
    esac
1447
2000
  fi
1448
2001
else
1454
2007
# Check that the precious variables saved in the cache have kept the same
1455
2008
# value.
1456
2009
ac_cache_corrupted=false
1457
 
for ac_var in `(set) 2>&1 |
1458
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2010
for ac_var in $ac_precious_vars; do
1459
2011
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1460
2012
  eval ac_new_set=\$ac_env_${ac_var}_set
1461
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1462
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2013
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2014
  eval ac_new_val=\$ac_env_${ac_var}_value
1463
2015
  case $ac_old_set,$ac_new_set in
1464
2016
    set,)
1465
2017
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1484
2036
  # Pass precious variables to config.status.
1485
2037
  if test "$ac_new_set" = set; then
1486
2038
    case $ac_new_val in
1487
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1488
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2039
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1489
2040
    *) ac_arg=$ac_var=$ac_new_val ;;
1490
2041
    esac
1491
2042
    case " $ac_configure_args " in
1502
2053
   { (exit 1); exit 1; }; }
1503
2054
fi
1504
2055
 
 
2056
 
 
2057
 
 
2058
 
 
2059
 
 
2060
 
 
2061
 
 
2062
 
 
2063
 
 
2064
 
 
2065
 
 
2066
 
 
2067
 
 
2068
 
 
2069
 
 
2070
 
 
2071
 
1505
2072
ac_ext=c
1506
2073
ac_cpp='$CPP $CPPFLAGS'
1507
2074
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1509
2076
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1510
2077
 
1511
2078
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
 
 
1524
 
 
1525
 
 
1526
 
 
1527
 
 
1528
 
 
1529
2079
ac_aux_dir=
1530
 
for ac_dir in admin $srcdir/admin; do
1531
 
  if test -f $ac_dir/install-sh; then
 
2080
for ac_dir in admin "$srcdir"/admin; do
 
2081
  if test -f "$ac_dir/install-sh"; then
1532
2082
    ac_aux_dir=$ac_dir
1533
2083
    ac_install_sh="$ac_aux_dir/install-sh -c"
1534
2084
    break
1535
 
  elif test -f $ac_dir/install.sh; then
 
2085
  elif test -f "$ac_dir/install.sh"; then
1536
2086
    ac_aux_dir=$ac_dir
1537
2087
    ac_install_sh="$ac_aux_dir/install.sh -c"
1538
2088
    break
1539
 
  elif test -f $ac_dir/shtool; then
 
2089
  elif test -f "$ac_dir/shtool"; then
1540
2090
    ac_aux_dir=$ac_dir
1541
2091
    ac_install_sh="$ac_aux_dir/shtool install -c"
1542
2092
    break
1543
2093
  fi
1544
2094
done
1545
2095
if test -z "$ac_aux_dir"; then
1546
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1547
 
echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
 
2096
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5
 
2097
echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;}
1548
2098
   { (exit 1); exit 1; }; }
1549
2099
fi
1550
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1551
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1552
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2100
 
 
2101
# These three variables are undocumented and unsupported,
 
2102
# and are intended to be withdrawn in a future Autoconf release.
 
2103
# They can cause serious problems if a builder's source tree is in a directory
 
2104
# whose full name contains unusual characters.
 
2105
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2106
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2107
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2108
 
1553
2109
 
1554
2110
 
1555
2111
unset CDPATH
1556
2112
 
1557
2113
# Make sure we can run config.sub.
1558
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1559
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1560
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2114
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2115
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2116
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1561
2117
   { (exit 1); exit 1; }; }
1562
2118
 
1563
 
echo "$as_me:$LINENO: checking build system type" >&5
1564
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2119
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2120
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1565
2121
if test "${ac_cv_build+set}" = set; then
1566
2122
  echo $ECHO_N "(cached) $ECHO_C" >&6
1567
2123
else
1568
 
  ac_cv_build_alias=$build_alias
1569
 
test -z "$ac_cv_build_alias" &&
1570
 
  ac_cv_build_alias=`$ac_config_guess`
1571
 
test -z "$ac_cv_build_alias" &&
 
2124
  ac_build_alias=$build_alias
 
2125
test "x$ac_build_alias" = x &&
 
2126
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2127
test "x$ac_build_alias" = x &&
1572
2128
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1573
2129
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1574
2130
   { (exit 1); exit 1; }; }
1575
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1576
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1577
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2131
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2132
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2133
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1578
2134
   { (exit 1); exit 1; }; }
1579
2135
 
1580
2136
fi
1581
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1582
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2137
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2138
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2139
case $ac_cv_build in
 
2140
*-*-*) ;;
 
2141
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2142
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2143
   { (exit 1); exit 1; }; };;
 
2144
esac
1583
2145
build=$ac_cv_build
1584
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1587
 
 
1588
 
 
1589
 
echo "$as_me:$LINENO: checking host system type" >&5
1590
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2146
ac_save_IFS=$IFS; IFS='-'
 
2147
set x $ac_cv_build
 
2148
shift
 
2149
build_cpu=$1
 
2150
build_vendor=$2
 
2151
shift; shift
 
2152
# Remember, the first character of IFS is used to create $*,
 
2153
# except with old shells:
 
2154
build_os=$*
 
2155
IFS=$ac_save_IFS
 
2156
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2157
 
 
2158
 
 
2159
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2160
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1591
2161
if test "${ac_cv_host+set}" = set; then
1592
2162
  echo $ECHO_N "(cached) $ECHO_C" >&6
1593
2163
else
1594
 
  ac_cv_host_alias=$host_alias
1595
 
test -z "$ac_cv_host_alias" &&
1596
 
  ac_cv_host_alias=$ac_cv_build_alias
1597
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1598
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1599
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2164
  if test "x$host_alias" = x; then
 
2165
  ac_cv_host=$ac_cv_build
 
2166
else
 
2167
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2168
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2169
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1600
2170
   { (exit 1); exit 1; }; }
 
2171
fi
1601
2172
 
1602
2173
fi
1603
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1604
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2174
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2175
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2176
case $ac_cv_host in
 
2177
*-*-*) ;;
 
2178
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2179
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2180
   { (exit 1); exit 1; }; };;
 
2181
esac
1605
2182
host=$ac_cv_host
1606
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1609
 
 
1610
 
 
1611
 
echo "$as_me:$LINENO: checking target system type" >&5
1612
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
 
2183
ac_save_IFS=$IFS; IFS='-'
 
2184
set x $ac_cv_host
 
2185
shift
 
2186
host_cpu=$1
 
2187
host_vendor=$2
 
2188
shift; shift
 
2189
# Remember, the first character of IFS is used to create $*,
 
2190
# except with old shells:
 
2191
host_os=$*
 
2192
IFS=$ac_save_IFS
 
2193
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2194
 
 
2195
 
 
2196
{ echo "$as_me:$LINENO: checking target system type" >&5
 
2197
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1613
2198
if test "${ac_cv_target+set}" = set; then
1614
2199
  echo $ECHO_N "(cached) $ECHO_C" >&6
1615
2200
else
1616
 
  ac_cv_target_alias=$target_alias
1617
 
test "x$ac_cv_target_alias" = "x" &&
1618
 
  ac_cv_target_alias=$ac_cv_host_alias
1619
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1620
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1621
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 
2201
  if test "x$target_alias" = x; then
 
2202
  ac_cv_target=$ac_cv_host
 
2203
else
 
2204
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2205
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
2206
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1622
2207
   { (exit 1); exit 1; }; }
 
2208
fi
1623
2209
 
1624
2210
fi
1625
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1626
 
echo "${ECHO_T}$ac_cv_target" >&6
 
2211
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2212
echo "${ECHO_T}$ac_cv_target" >&6; }
 
2213
case $ac_cv_target in
 
2214
*-*-*) ;;
 
2215
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
2216
echo "$as_me: error: invalid value of canonical target" >&2;}
 
2217
   { (exit 1); exit 1; }; };;
 
2218
esac
1627
2219
target=$ac_cv_target
1628
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2220
ac_save_IFS=$IFS; IFS='-'
 
2221
set x $ac_cv_target
 
2222
shift
 
2223
target_cpu=$1
 
2224
target_vendor=$2
 
2225
shift; shift
 
2226
# Remember, the first character of IFS is used to create $*,
 
2227
# except with old shells:
 
2228
target_os=$*
 
2229
IFS=$ac_save_IFS
 
2230
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1631
2231
 
1632
2232
 
1633
2233
# The aliases save the names the user supplied, while $host etc.
1637
2237
    NONENONEs,x,x, &&
1638
2238
  program_prefix=${target_alias}-
1639
2239
test "$program_prefix" != NONE &&
1640
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2240
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1641
2241
# Use a double $ so make ignores it.
1642
2242
test "$program_suffix" != NONE &&
1643
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2243
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1644
2244
# Double any \ or $.  echo might interpret backslashes.
1645
2245
# By default was `s,x,x', remove it if useless.
1646
2246
cat <<\_ACEOF >conftest.sed
1647
2247
s/[\\$]/&&/g;s/;s,x,x,$//
1648
2248
_ACEOF
1649
2249
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1650
 
rm conftest.sed
1651
 
 
1652
 
 
1653
 
am__api_version="1.6"
 
2250
rm -f conftest.sed
 
2251
 
 
2252
 
 
2253
am__api_version="1.9"
1654
2254
 
1655
2255
 
1656
2256
          test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
1669
2269
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1670
2270
# OS/2's system install, which has a completely different semantic
1671
2271
# ./install, which can be erroneously created by make from ./install.sh.
1672
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1673
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2272
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2273
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1674
2274
if test -z "$INSTALL"; then
1675
2275
if test "${ac_cv_path_install+set}" = set; then
1676
2276
  echo $ECHO_N "(cached) $ECHO_C" >&6
1692
2292
    # by default.
1693
2293
    for ac_prog in ginstall scoinst install; do
1694
2294
      for ac_exec_ext in '' $ac_executable_extensions; do
1695
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2295
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1696
2296
          if test $ac_prog = install &&
1697
2297
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1698
2298
            # AIX install.  It has an incompatible calling convention.
1711
2311
    ;;
1712
2312
esac
1713
2313
done
 
2314
IFS=$as_save_IFS
1714
2315
 
1715
2316
 
1716
2317
fi
1717
2318
  if test "${ac_cv_path_install+set}" = set; then
1718
2319
    INSTALL=$ac_cv_path_install
1719
2320
  else
1720
 
    # As a last resort, use the slow shell script.  We don't cache a
1721
 
    # path for INSTALL within a source directory, because that will
 
2321
    # As a last resort, use the slow shell script.  Don't cache a
 
2322
    # value for INSTALL within a source directory, because that will
1722
2323
    # break other packages using the cache if that directory is
1723
 
    # removed, or if the path is relative.
 
2324
    # removed, or if the value is a relative name.
1724
2325
    INSTALL=$ac_install_sh
1725
2326
  fi
1726
2327
fi
1727
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1728
 
echo "${ECHO_T}$INSTALL" >&6
 
2328
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2329
echo "${ECHO_T}$INSTALL" >&6; }
1729
2330
 
1730
2331
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1731
2332
# It thinks the first close brace ends the variable substitution.
1739
2340
  if test -z "$kde_save_INSTALL_given" ; then
1740
2341
    # OK, user hasn't given any INSTALL, autoconf found one for us
1741
2342
    # now we test, if it supports the -p flag
1742
 
    echo "$as_me:$LINENO: checking for -p flag to install" >&5
1743
 
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6
 
2343
    { echo "$as_me:$LINENO: checking for -p flag to install" >&5
 
2344
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6; }
1744
2345
    rm -f confinst.$$.* > /dev/null 2>&1
1745
2346
    echo "Testtest" > confinst.$$.orig
1746
2347
    ac_res=no
1752
2353
      fi
1753
2354
    fi
1754
2355
    rm -f confinst.$$.*
1755
 
    echo "$as_me:$LINENO: result: $ac_res" >&5
1756
 
echo "${ECHO_T}$ac_res" >&6
 
2356
    { echo "$as_me:$LINENO: result: $ac_res" >&5
 
2357
echo "${ECHO_T}$ac_res" >&6; }
1757
2358
  fi
1758
2359
 
1759
2360
  if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
1763
2364
    INSTALL_SCRIPT='${INSTALL}'
1764
2365
  fi
1765
2366
 
1766
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1767
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2367
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2368
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1768
2369
# Just in case
1769
2370
sleep 1
1770
2371
echo timestamp > conftest.file
1806
2407
Check your system clock" >&2;}
1807
2408
   { (exit 1); exit 1; }; }
1808
2409
fi
1809
 
echo "$as_me:$LINENO: result: yes" >&5
1810
 
echo "${ECHO_T}yes" >&6
1811
 
 
 
2410
{ echo "$as_me:$LINENO: result: yes" >&5
 
2411
echo "${ECHO_T}yes" >&6; }
1812
2412
# expand $ac_aux_dir to an absolute path
1813
2413
am_aux_dir=`cd $ac_aux_dir && pwd`
1814
2414
 
1822
2422
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1823
2423
fi
1824
2424
 
 
2425
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
2426
  # We used to keeping the `.' as first argument, in order to
 
2427
  # allow $(mkdir_p) to be used without argument.  As in
 
2428
  #   $(mkdir_p) $(somedir)
 
2429
  # where $(somedir) is conditionally defined.  However this is wrong
 
2430
  # for two reasons:
 
2431
  #  1. if the package is installed by a user who cannot write `.'
 
2432
  #     make install will fail,
 
2433
  #  2. the above comment should most certainly read
 
2434
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
2435
  #     so it does not work when $(somedir) is undefined and
 
2436
  #     $(DESTDIR) is not.
 
2437
  #  To support the latter case, we have to write
 
2438
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
2439
  #  so the `.' trick is pointless.
 
2440
  mkdir_p='mkdir -p --'
 
2441
else
 
2442
  # On NextStep and OpenStep, the `mkdir' command does not
 
2443
  # recognize any option.  It will interpret all options as
 
2444
  # directories to create, and then abort because `.' already
 
2445
  # exists.
 
2446
  for d in ./-p ./--version;
 
2447
  do
 
2448
    test -d $d && rmdir $d
 
2449
  done
 
2450
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
2451
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
2452
    mkdir_p='$(mkinstalldirs)'
 
2453
  else
 
2454
    mkdir_p='$(install_sh) -d'
 
2455
  fi
 
2456
fi
 
2457
 
1825
2458
for ac_prog in gawk mawk nawk awk
1826
2459
do
1827
2460
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1828
2461
set dummy $ac_prog; ac_word=$2
1829
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1830
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2462
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2463
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1831
2464
if test "${ac_cv_prog_AWK+set}" = set; then
1832
2465
  echo $ECHO_N "(cached) $ECHO_C" >&6
1833
2466
else
1840
2473
  IFS=$as_save_IFS
1841
2474
  test -z "$as_dir" && as_dir=.
1842
2475
  for ac_exec_ext in '' $ac_executable_extensions; do
1843
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1844
2477
    ac_cv_prog_AWK="$ac_prog"
1845
2478
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1846
2479
    break 2
1847
2480
  fi
1848
2481
done
1849
2482
done
 
2483
IFS=$as_save_IFS
1850
2484
 
1851
2485
fi
1852
2486
fi
1853
2487
AWK=$ac_cv_prog_AWK
1854
2488
if test -n "$AWK"; then
1855
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1856
 
echo "${ECHO_T}$AWK" >&6
 
2489
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2490
echo "${ECHO_T}$AWK" >&6; }
1857
2491
else
1858
 
  echo "$as_me:$LINENO: result: no" >&5
1859
 
echo "${ECHO_T}no" >&6
 
2492
  { echo "$as_me:$LINENO: result: no" >&5
 
2493
echo "${ECHO_T}no" >&6; }
1860
2494
fi
1861
2495
 
 
2496
 
1862
2497
  test -n "$AWK" && break
1863
2498
done
1864
2499
 
1865
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1866
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1867
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1868
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2500
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2501
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2502
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2503
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1869
2504
  echo $ECHO_N "(cached) $ECHO_C" >&6
1870
2505
else
1871
2506
  cat >conftest.make <<\_ACEOF
 
2507
SHELL = /bin/sh
1872
2508
all:
1873
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2509
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1874
2510
_ACEOF
1875
2511
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1876
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1877
 
if test -n "$ac_maketemp"; then
1878
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1879
 
else
1880
 
  eval ac_cv_prog_make_${ac_make}_set=no
1881
 
fi
 
2512
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2513
  *@@@%%%=?*=@@@%%%*)
 
2514
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2515
  *)
 
2516
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2517
esac
1882
2518
rm -f conftest.make
1883
2519
fi
1884
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1885
 
  echo "$as_me:$LINENO: result: yes" >&5
1886
 
echo "${ECHO_T}yes" >&6
 
2520
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2521
  { echo "$as_me:$LINENO: result: yes" >&5
 
2522
echo "${ECHO_T}yes" >&6; }
1887
2523
  SET_MAKE=
1888
2524
else
1889
 
  echo "$as_me:$LINENO: result: no" >&5
1890
 
echo "${ECHO_T}no" >&6
 
2525
  { echo "$as_me:$LINENO: result: no" >&5
 
2526
echo "${ECHO_T}no" >&6; }
1891
2527
  SET_MAKE="MAKE=${MAKE-make}"
1892
2528
fi
1893
2529
 
1894
 
 # test to see if srcdir already configured
 
2530
rm -rf .tst 2>/dev/null
 
2531
mkdir .tst 2>/dev/null
 
2532
if test -d .tst; then
 
2533
  am__leading_dot=.
 
2534
else
 
2535
  am__leading_dot=_
 
2536
fi
 
2537
rmdir .tst 2>/dev/null
 
2538
 
 
2539
# test to see if srcdir already configured
1895
2540
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1896
2541
   test -f $srcdir/config.status; then
1897
2542
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1899
2544
   { (exit 1); exit 1; }; }
1900
2545
fi
1901
2546
 
 
2547
# test whether we have cygpath
 
2548
if test -z "$CYGPATH_W"; then
 
2549
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2550
    CYGPATH_W='cygpath -w'
 
2551
  else
 
2552
    CYGPATH_W=echo
 
2553
  fi
 
2554
fi
 
2555
 
 
2556
 
1902
2557
# Define the identity of the package.
1903
2558
 PACKAGE=guarddog
1904
 
 VERSION=2.5.0
 
2559
 VERSION=2.6.0
1905
2560
 
1906
2561
 
1907
2562
cat >>confdefs.h <<_ACEOF
1929
2584
 
1930
2585
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1931
2586
 
1932
 
 
1933
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
1934
 
 
1935
2587
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1936
2588
 
1937
2589
# Installed binaries are usually stripped using `strip' when the user
1942
2594
  if test -n "$ac_tool_prefix"; then
1943
2595
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1944
2596
set dummy ${ac_tool_prefix}strip; ac_word=$2
1945
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1946
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2597
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2598
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1947
2599
if test "${ac_cv_prog_STRIP+set}" = set; then
1948
2600
  echo $ECHO_N "(cached) $ECHO_C" >&6
1949
2601
else
1956
2608
  IFS=$as_save_IFS
1957
2609
  test -z "$as_dir" && as_dir=.
1958
2610
  for ac_exec_ext in '' $ac_executable_extensions; do
1959
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2611
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1960
2612
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1961
2613
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1962
2614
    break 2
1963
2615
  fi
1964
2616
done
1965
2617
done
 
2618
IFS=$as_save_IFS
1966
2619
 
1967
2620
fi
1968
2621
fi
1969
2622
STRIP=$ac_cv_prog_STRIP
1970
2623
if test -n "$STRIP"; then
1971
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1972
 
echo "${ECHO_T}$STRIP" >&6
 
2624
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2625
echo "${ECHO_T}$STRIP" >&6; }
1973
2626
else
1974
 
  echo "$as_me:$LINENO: result: no" >&5
1975
 
echo "${ECHO_T}no" >&6
 
2627
  { echo "$as_me:$LINENO: result: no" >&5
 
2628
echo "${ECHO_T}no" >&6; }
1976
2629
fi
 
2630
 
1977
2631
 
1978
2632
fi
1979
2633
if test -z "$ac_cv_prog_STRIP"; then
1980
2634
  ac_ct_STRIP=$STRIP
1981
2635
  # Extract the first word of "strip", so it can be a program name with args.
1982
2636
set dummy strip; ac_word=$2
1983
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1984
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2637
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2638
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1985
2639
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1986
2640
  echo $ECHO_N "(cached) $ECHO_C" >&6
1987
2641
else
1994
2648
  IFS=$as_save_IFS
1995
2649
  test -z "$as_dir" && as_dir=.
1996
2650
  for ac_exec_ext in '' $ac_executable_extensions; do
1997
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2651
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1998
2652
    ac_cv_prog_ac_ct_STRIP="strip"
1999
2653
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2000
2654
    break 2
2001
2655
  fi
2002
2656
done
2003
2657
done
 
2658
IFS=$as_save_IFS
2004
2659
 
2005
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2006
2660
fi
2007
2661
fi
2008
2662
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2009
2663
if test -n "$ac_ct_STRIP"; then
2010
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2011
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2664
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2665
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2012
2666
else
2013
 
  echo "$as_me:$LINENO: result: no" >&5
2014
 
echo "${ECHO_T}no" >&6
 
2667
  { echo "$as_me:$LINENO: result: no" >&5
 
2668
echo "${ECHO_T}no" >&6; }
2015
2669
fi
2016
2670
 
2017
 
  STRIP=$ac_ct_STRIP
 
2671
  if test "x$ac_ct_STRIP" = x; then
 
2672
    STRIP=":"
 
2673
  else
 
2674
    case $cross_compiling:$ac_tool_warned in
 
2675
yes:)
 
2676
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2677
whose name does not start with the host triplet.  If you think this
 
2678
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2679
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2680
whose name does not start with the host triplet.  If you think this
 
2681
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2682
ac_tool_warned=yes ;;
 
2683
esac
 
2684
    STRIP=$ac_ct_STRIP
 
2685
  fi
2018
2686
else
2019
2687
  STRIP="$ac_cv_prog_STRIP"
2020
2688
fi
2024
2692
 
2025
2693
# We need awk for the "check" target.  The system "awk" is bad on
2026
2694
# some platforms.
 
2695
# Always define AMTAR for backward compatibility.
 
2696
 
 
2697
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2698
 
 
2699
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2700
 
 
2701
 
2027
2702
 
2028
2703
 
2029
2704
 
2045
2720
 
2046
2721
  if test "x$prefix" = "xNONE"; then
2047
2722
 
2048
 
   echo "$as_me:$LINENO: checking for kde-config" >&5
2049
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
 
2723
   { echo "$as_me:$LINENO: checking for kde-config" >&5
 
2724
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2050
2725
   if test -n "$KDECONFIG"; then
2051
2726
        kde_cv_path="$KDECONFIG";
2052
2727
   else
2053
2728
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2054
2729
 
2055
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
2730
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2056
2731
  echo $ECHO_N "(cached) $ECHO_C" >&6
2057
2732
else
2058
2733
 
2095
2770
   fi
2096
2771
 
2097
2772
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2098
 
      echo "$as_me:$LINENO: result: not found" >&5
2099
 
echo "${ECHO_T}not found" >&6
 
2773
      { echo "$as_me:$LINENO: result: not found" >&5
 
2774
echo "${ECHO_T}not found" >&6; }
2100
2775
 
2101
2776
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2102
2777
Please check whether you installed KDE correctly.
2107
2782
   { (exit 1); exit 1; }; }
2108
2783
 
2109
2784
   else
2110
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2111
 
echo "${ECHO_T}$kde_cv_path" >&6
 
2785
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
2786
echo "${ECHO_T}$kde_cv_path" >&6; }
2112
2787
      KDECONFIG=$kde_cv_path
2113
2788
 
2114
2789
   fi
2117
2792
        kde_save_PATH="$PATH"
2118
2793
    PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2119
2794
 
2120
 
   echo "$as_me:$LINENO: checking for kde-config" >&5
2121
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
 
2795
   { echo "$as_me:$LINENO: checking for kde-config" >&5
 
2796
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2122
2797
   if test -n "$KDECONFIG"; then
2123
2798
        kde_cv_path="$KDECONFIG";
2124
2799
   else
2125
2800
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2126
2801
 
2127
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
2802
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2128
2803
  echo $ECHO_N "(cached) $ECHO_C" >&6
2129
2804
else
2130
2805
 
2167
2842
   fi
2168
2843
 
2169
2844
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2170
 
      echo "$as_me:$LINENO: result: not found" >&5
2171
 
echo "${ECHO_T}not found" >&6
 
2845
      { echo "$as_me:$LINENO: result: not found" >&5
 
2846
echo "${ECHO_T}not found" >&6; }
2172
2847
 
2173
2848
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2174
2849
Please check whether you installed KDE correctly.
2179
2854
   { (exit 1); exit 1; }; }
2180
2855
 
2181
2856
   else
2182
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2183
 
echo "${ECHO_T}$kde_cv_path" >&6
 
2857
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
2858
echo "${ECHO_T}$kde_cv_path" >&6; }
2184
2859
      KDECONFIG=$kde_cv_path
2185
2860
 
2186
2861
   fi
2201
2876
   { (exit 1); exit 1; }; }
2202
2877
  fi
2203
2878
  kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2204
 
  kde_libs_suffix=`$KDECONFIG --libsuffix`
2205
2879
 
2206
 
  echo "$as_me:$LINENO: checking where to install" >&5
2207
 
echo $ECHO_N "checking where to install... $ECHO_C" >&6
 
2880
  { echo "$as_me:$LINENO: checking where to install" >&5
 
2881
echo $ECHO_N "checking where to install... $ECHO_C" >&6; }
2208
2882
  if test "x$prefix" = "xNONE"; then
2209
2883
    prefix=$kde_libs_prefix
2210
 
    echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2211
 
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6
 
2884
    { echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
 
2885
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6; }
2212
2886
  else
2213
2887
        given_prefix=$prefix
2214
 
    echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2215
 
echo "${ECHO_T}$prefix (as requested)" >&6
 
2888
    { echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
 
2889
echo "${ECHO_T}$prefix (as requested)" >&6; }
2216
2890
  fi
2217
2891
 
2218
2892
  # And delete superfluous '/' to make compares easier
2225
2899
 
2226
2900
 
2227
2901
 
2228
 
    # Check whether --enable-fast-perl or --disable-fast-perl was given.
 
2902
    # Check whether --enable-fast-perl was given.
2229
2903
if test "${enable_fast_perl+set}" = set; then
2230
 
  enableval="$enable_fast_perl"
2231
 
  with_fast_perl=$enableval
 
2904
  enableval=$enable_fast_perl; with_fast_perl=$enableval
2232
2905
else
2233
2906
  with_fast_perl=yes
2234
 
fi;
 
2907
fi
 
2908
 
2235
2909
 
2236
2910
 
2237
2911
  val=
2248
2922
 
2249
2923
 
2250
2924
 
2251
 
# Add the stamp file to the list of files AC keeps track of,
2252
 
# along with our hook.
2253
 
          ac_config_headers="$ac_config_headers config.h"
2254
 
 
2255
 
 
2256
 
 
2257
 
rm -f .deps 2>/dev/null
2258
 
mkdir .deps 2>/dev/null
2259
 
if test -d .deps; then
2260
 
  DEPDIR=.deps
2261
 
else
2262
 
  # MS-DOS does not allow filenames that begin with a dot.
2263
 
  DEPDIR=_deps
2264
 
fi
2265
 
rmdir .deps 2>/dev/null
2266
 
 
2267
 
 
2268
 
          ac_config_commands="$ac_config_commands depfiles"
 
2925
ac_config_headers="$ac_config_headers config.h"
 
2926
 
 
2927
DEPDIR="${am__leading_dot}deps"
 
2928
 
 
2929
ac_config_commands="$ac_config_commands depfiles"
2269
2930
 
2270
2931
 
2271
2932
am_make=${MAKE-make}
2272
2933
cat > confinc << 'END'
2273
 
doit:
 
2934
am__doit:
2274
2935
        @echo done
 
2936
.PHONY: am__doit
2275
2937
END
2276
2938
# If we don't find an include directive, just comment out the code.
2277
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2278
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2939
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2940
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2279
2941
am__include="#"
2280
2942
am__quote=
2281
2943
_am_result=none
2286
2948
# In particular we don't look at `^make:' because GNU make might
2287
2949
# be invoked under some other name (usually "gmake"), in which
2288
2950
# case it prints its new name instead of `make'.
2289
 
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
 
2951
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2290
2952
   am__include=include
2291
2953
   am__quote=
2292
2954
   _am_result=GNU
2302
2964
fi
2303
2965
 
2304
2966
 
2305
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2306
 
echo "${ECHO_T}$_am_result" >&6
 
2967
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
2968
echo "${ECHO_T}$_am_result" >&6; }
2307
2969
rm -f confinc confmf
2308
2970
 
2309
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
2971
# Check whether --enable-dependency-tracking was given.
2310
2972
if test "${enable_dependency_tracking+set}" = set; then
2311
 
  enableval="$enable_dependency_tracking"
 
2973
  enableval=$enable_dependency_tracking;
 
2974
fi
2312
2975
 
2313
 
fi;
2314
2976
if test "x$enable_dependency_tracking" != xno; then
2315
2977
  am_depcomp="$ac_aux_dir/depcomp"
2316
2978
  AMDEPBACKSLASH='\'
2330
2992
 
2331
2993
 
2332
2994
 
2333
 
  # Check whether --enable-debug or --disable-debug was given.
 
2995
  # Check whether --enable-debug was given.
2334
2996
if test "${enable_debug+set}" = set; then
2335
 
  enableval="$enable_debug"
2336
 
 
 
2997
  enableval=$enable_debug;
2337
2998
    case $enableval in
2338
2999
      yes)
2339
3000
        kde_use_debug_code="yes"
2353
3014
  kde_use_debug_code="no"
2354
3015
      kde_use_debug_define=no
2355
3016
 
2356
 
fi;
2357
 
 
2358
 
    # Check whether --enable-dummyoption or --disable-dummyoption was given.
 
3017
fi
 
3018
 
 
3019
 
 
3020
    # Check whether --enable-dummyoption was given.
2359
3021
if test "${enable_dummyoption+set}" = set; then
2360
 
  enableval="$enable_dummyoption"
2361
 
 
2362
 
fi;
2363
 
 
2364
 
  # Check whether --enable-strict or --disable-strict was given.
 
3022
  enableval=$enable_dummyoption;
 
3023
fi
 
3024
 
 
3025
 
 
3026
  # Check whether --enable-strict was given.
2365
3027
if test "${enable_strict+set}" = set; then
2366
 
  enableval="$enable_strict"
2367
 
 
 
3028
  enableval=$enable_strict;
2368
3029
    if test $enableval = "no"; then
2369
3030
         kde_use_strict_options="no"
2370
3031
       else
2373
3034
 
2374
3035
else
2375
3036
  kde_use_strict_options="no"
2376
 
fi;
2377
 
 
2378
 
  # Check whether --enable-warnings or --disable-warnings was given.
 
3037
fi
 
3038
 
 
3039
 
 
3040
  # Check whether --enable-warnings was given.
2379
3041
if test "${enable_warnings+set}" = set; then
2380
 
  enableval="$enable_warnings"
2381
 
 
 
3042
  enableval=$enable_warnings;
2382
3043
    if test $enableval = "no"; then
2383
3044
         kde_use_warnings="no"
2384
3045
       else
2387
3048
 
2388
3049
else
2389
3050
  kde_use_warnings="yes"
2390
 
fi;
 
3051
fi
 
3052
 
2391
3053
 
2392
3054
    if test "$kde_use_debug_code" != "no"; then
2393
3055
    kde_use_warnings=yes
2394
3056
  fi
2395
3057
 
2396
 
  # Check whether --enable-profile or --disable-profile was given.
 
3058
  # Check whether --enable-profile was given.
2397
3059
if test "${enable_profile+set}" = set; then
2398
 
  enableval="$enable_profile"
2399
 
  kde_use_profiling=$enableval
 
3060
  enableval=$enable_profile; kde_use_profiling=$enableval
2400
3061
else
2401
3062
  kde_use_profiling="no"
2402
3063
 
2403
 
fi;
 
3064
fi
 
3065
 
2404
3066
 
2405
3067
    CFLAGS=" $CFLAGS"
2406
3068
 
2412
3074
if test -n "$ac_tool_prefix"; then
2413
3075
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2414
3076
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2415
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2416
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3077
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3078
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2417
3079
if test "${ac_cv_prog_CC+set}" = set; then
2418
3080
  echo $ECHO_N "(cached) $ECHO_C" >&6
2419
3081
else
2426
3088
  IFS=$as_save_IFS
2427
3089
  test -z "$as_dir" && as_dir=.
2428
3090
  for ac_exec_ext in '' $ac_executable_extensions; do
2429
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3091
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2430
3092
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2431
3093
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2432
3094
    break 2
2433
3095
  fi
2434
3096
done
2435
3097
done
 
3098
IFS=$as_save_IFS
2436
3099
 
2437
3100
fi
2438
3101
fi
2439
3102
CC=$ac_cv_prog_CC
2440
3103
if test -n "$CC"; then
2441
 
  echo "$as_me:$LINENO: result: $CC" >&5
2442
 
echo "${ECHO_T}$CC" >&6
 
3104
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3105
echo "${ECHO_T}$CC" >&6; }
2443
3106
else
2444
 
  echo "$as_me:$LINENO: result: no" >&5
2445
 
echo "${ECHO_T}no" >&6
 
3107
  { echo "$as_me:$LINENO: result: no" >&5
 
3108
echo "${ECHO_T}no" >&6; }
2446
3109
fi
 
3110
 
2447
3111
 
2448
3112
fi
2449
3113
if test -z "$ac_cv_prog_CC"; then
2450
3114
  ac_ct_CC=$CC
2451
3115
  # Extract the first word of "gcc", so it can be a program name with args.
2452
3116
set dummy gcc; ac_word=$2
2453
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2454
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3117
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3118
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2455
3119
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2456
3120
  echo $ECHO_N "(cached) $ECHO_C" >&6
2457
3121
else
2464
3128
  IFS=$as_save_IFS
2465
3129
  test -z "$as_dir" && as_dir=.
2466
3130
  for ac_exec_ext in '' $ac_executable_extensions; do
2467
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3131
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2468
3132
    ac_cv_prog_ac_ct_CC="gcc"
2469
3133
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2470
3134
    break 2
2471
3135
  fi
2472
3136
done
2473
3137
done
 
3138
IFS=$as_save_IFS
2474
3139
 
2475
3140
fi
2476
3141
fi
2477
3142
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2478
3143
if test -n "$ac_ct_CC"; then
2479
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2480
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3144
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3145
echo "${ECHO_T}$ac_ct_CC" >&6; }
2481
3146
else
2482
 
  echo "$as_me:$LINENO: result: no" >&5
2483
 
echo "${ECHO_T}no" >&6
 
3147
  { echo "$as_me:$LINENO: result: no" >&5
 
3148
echo "${ECHO_T}no" >&6; }
2484
3149
fi
2485
3150
 
2486
 
  CC=$ac_ct_CC
 
3151
  if test "x$ac_ct_CC" = x; then
 
3152
    CC=""
 
3153
  else
 
3154
    case $cross_compiling:$ac_tool_warned in
 
3155
yes:)
 
3156
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3157
whose name does not start with the host triplet.  If you think this
 
3158
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3159
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3160
whose name does not start with the host triplet.  If you think this
 
3161
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3162
ac_tool_warned=yes ;;
 
3163
esac
 
3164
    CC=$ac_ct_CC
 
3165
  fi
2487
3166
else
2488
3167
  CC="$ac_cv_prog_CC"
2489
3168
fi
2490
3169
 
2491
3170
if test -z "$CC"; then
2492
 
  if test -n "$ac_tool_prefix"; then
2493
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3171
          if test -n "$ac_tool_prefix"; then
 
3172
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2494
3173
set dummy ${ac_tool_prefix}cc; ac_word=$2
2495
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2496
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3174
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3175
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2497
3176
if test "${ac_cv_prog_CC+set}" = set; then
2498
3177
  echo $ECHO_N "(cached) $ECHO_C" >&6
2499
3178
else
2506
3185
  IFS=$as_save_IFS
2507
3186
  test -z "$as_dir" && as_dir=.
2508
3187
  for ac_exec_ext in '' $ac_executable_extensions; do
2509
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3188
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2510
3189
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2511
3190
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2512
3191
    break 2
2513
3192
  fi
2514
3193
done
2515
3194
done
 
3195
IFS=$as_save_IFS
2516
3196
 
2517
3197
fi
2518
3198
fi
2519
3199
CC=$ac_cv_prog_CC
2520
3200
if test -n "$CC"; then
2521
 
  echo "$as_me:$LINENO: result: $CC" >&5
2522
 
echo "${ECHO_T}$CC" >&6
2523
 
else
2524
 
  echo "$as_me:$LINENO: result: no" >&5
2525
 
echo "${ECHO_T}no" >&6
2526
 
fi
2527
 
 
2528
 
fi
2529
 
if test -z "$ac_cv_prog_CC"; then
2530
 
  ac_ct_CC=$CC
2531
 
  # Extract the first word of "cc", so it can be a program name with args.
2532
 
set dummy cc; ac_word=$2
2533
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2534
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2535
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2536
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2537
 
else
2538
 
  if test -n "$ac_ct_CC"; then
2539
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2540
 
else
2541
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542
 
for as_dir in $PATH
2543
 
do
2544
 
  IFS=$as_save_IFS
2545
 
  test -z "$as_dir" && as_dir=.
2546
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2547
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548
 
    ac_cv_prog_ac_ct_CC="cc"
2549
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2550
 
    break 2
 
3201
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3202
echo "${ECHO_T}$CC" >&6; }
 
3203
else
 
3204
  { echo "$as_me:$LINENO: result: no" >&5
 
3205
echo "${ECHO_T}no" >&6; }
 
3206
fi
 
3207
 
 
3208
 
2551
3209
  fi
2552
 
done
2553
 
done
2554
 
 
2555
 
fi
2556
 
fi
2557
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2558
 
if test -n "$ac_ct_CC"; then
2559
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2560
 
echo "${ECHO_T}$ac_ct_CC" >&6
2561
 
else
2562
 
  echo "$as_me:$LINENO: result: no" >&5
2563
 
echo "${ECHO_T}no" >&6
2564
 
fi
2565
 
 
2566
 
  CC=$ac_ct_CC
2567
 
else
2568
 
  CC="$ac_cv_prog_CC"
2569
 
fi
2570
 
 
2571
3210
fi
2572
3211
if test -z "$CC"; then
2573
3212
  # Extract the first word of "cc", so it can be a program name with args.
2574
3213
set dummy cc; ac_word=$2
2575
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2576
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3214
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3215
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2577
3216
if test "${ac_cv_prog_CC+set}" = set; then
2578
3217
  echo $ECHO_N "(cached) $ECHO_C" >&6
2579
3218
else
2587
3226
  IFS=$as_save_IFS
2588
3227
  test -z "$as_dir" && as_dir=.
2589
3228
  for ac_exec_ext in '' $ac_executable_extensions; do
2590
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3229
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2591
3230
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2592
3231
       ac_prog_rejected=yes
2593
3232
       continue
2598
3237
  fi
2599
3238
done
2600
3239
done
 
3240
IFS=$as_save_IFS
2601
3241
 
2602
3242
if test $ac_prog_rejected = yes; then
2603
3243
  # We found a bogon in the path, so make sure we never use it.
2615
3255
fi
2616
3256
CC=$ac_cv_prog_CC
2617
3257
if test -n "$CC"; then
2618
 
  echo "$as_me:$LINENO: result: $CC" >&5
2619
 
echo "${ECHO_T}$CC" >&6
 
3258
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3259
echo "${ECHO_T}$CC" >&6; }
2620
3260
else
2621
 
  echo "$as_me:$LINENO: result: no" >&5
2622
 
echo "${ECHO_T}no" >&6
 
3261
  { echo "$as_me:$LINENO: result: no" >&5
 
3262
echo "${ECHO_T}no" >&6; }
2623
3263
fi
 
3264
 
2624
3265
 
2625
3266
fi
2626
3267
if test -z "$CC"; then
2627
3268
  if test -n "$ac_tool_prefix"; then
2628
 
  for ac_prog in cl
 
3269
  for ac_prog in cl.exe
2629
3270
  do
2630
3271
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2631
3272
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2632
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2633
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3273
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3274
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2634
3275
if test "${ac_cv_prog_CC+set}" = set; then
2635
3276
  echo $ECHO_N "(cached) $ECHO_C" >&6
2636
3277
else
2643
3284
  IFS=$as_save_IFS
2644
3285
  test -z "$as_dir" && as_dir=.
2645
3286
  for ac_exec_ext in '' $ac_executable_extensions; do
2646
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3287
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2647
3288
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2648
3289
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649
3290
    break 2
2650
3291
  fi
2651
3292
done
2652
3293
done
 
3294
IFS=$as_save_IFS
2653
3295
 
2654
3296
fi
2655
3297
fi
2656
3298
CC=$ac_cv_prog_CC
2657
3299
if test -n "$CC"; then
2658
 
  echo "$as_me:$LINENO: result: $CC" >&5
2659
 
echo "${ECHO_T}$CC" >&6
 
3300
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3301
echo "${ECHO_T}$CC" >&6; }
2660
3302
else
2661
 
  echo "$as_me:$LINENO: result: no" >&5
2662
 
echo "${ECHO_T}no" >&6
 
3303
  { echo "$as_me:$LINENO: result: no" >&5
 
3304
echo "${ECHO_T}no" >&6; }
2663
3305
fi
2664
3306
 
 
3307
 
2665
3308
    test -n "$CC" && break
2666
3309
  done
2667
3310
fi
2668
3311
if test -z "$CC"; then
2669
3312
  ac_ct_CC=$CC
2670
 
  for ac_prog in cl
 
3313
  for ac_prog in cl.exe
2671
3314
do
2672
3315
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2673
3316
set dummy $ac_prog; ac_word=$2
2674
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2675
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3317
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3318
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2676
3319
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2677
3320
  echo $ECHO_N "(cached) $ECHO_C" >&6
2678
3321
else
2685
3328
  IFS=$as_save_IFS
2686
3329
  test -z "$as_dir" && as_dir=.
2687
3330
  for ac_exec_ext in '' $ac_executable_extensions; do
2688
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3331
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2689
3332
    ac_cv_prog_ac_ct_CC="$ac_prog"
2690
3333
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691
3334
    break 2
2692
3335
  fi
2693
3336
done
2694
3337
done
 
3338
IFS=$as_save_IFS
2695
3339
 
2696
3340
fi
2697
3341
fi
2698
3342
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2699
3343
if test -n "$ac_ct_CC"; then
2700
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2701
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3344
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3345
echo "${ECHO_T}$ac_ct_CC" >&6; }
2702
3346
else
2703
 
  echo "$as_me:$LINENO: result: no" >&5
2704
 
echo "${ECHO_T}no" >&6
 
3347
  { echo "$as_me:$LINENO: result: no" >&5
 
3348
echo "${ECHO_T}no" >&6; }
2705
3349
fi
2706
3350
 
 
3351
 
2707
3352
  test -n "$ac_ct_CC" && break
2708
3353
done
2709
3354
 
2710
 
  CC=$ac_ct_CC
 
3355
  if test "x$ac_ct_CC" = x; then
 
3356
    CC=""
 
3357
  else
 
3358
    case $cross_compiling:$ac_tool_warned in
 
3359
yes:)
 
3360
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3361
whose name does not start with the host triplet.  If you think this
 
3362
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3363
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3364
whose name does not start with the host triplet.  If you think this
 
3365
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3366
ac_tool_warned=yes ;;
 
3367
esac
 
3368
    CC=$ac_ct_CC
 
3369
  fi
2711
3370
fi
2712
3371
 
2713
3372
fi
2720
3379
   { (exit 1); exit 1; }; }
2721
3380
 
2722
3381
# Provide some information about the compiler.
2723
 
echo "$as_me:$LINENO:" \
2724
 
     "checking for C compiler version" >&5
 
3382
echo "$as_me:$LINENO: checking for C compiler version" >&5
2725
3383
ac_compiler=`set X $ac_compile; echo $2`
2726
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2727
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2728
 
  ac_status=$?
2729
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730
 
  (exit $ac_status); }
2731
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2732
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2733
 
  ac_status=$?
2734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735
 
  (exit $ac_status); }
2736
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2737
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3384
{ (ac_try="$ac_compiler --version >&5"
 
3385
case "(($ac_try" in
 
3386
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3387
  *) ac_try_echo=$ac_try;;
 
3388
esac
 
3389
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3390
  (eval "$ac_compiler --version >&5") 2>&5
 
3391
  ac_status=$?
 
3392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3393
  (exit $ac_status); }
 
3394
{ (ac_try="$ac_compiler -v >&5"
 
3395
case "(($ac_try" in
 
3396
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3397
  *) ac_try_echo=$ac_try;;
 
3398
esac
 
3399
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3400
  (eval "$ac_compiler -v >&5") 2>&5
 
3401
  ac_status=$?
 
3402
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3403
  (exit $ac_status); }
 
3404
{ (ac_try="$ac_compiler -V >&5"
 
3405
case "(($ac_try" in
 
3406
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3407
  *) ac_try_echo=$ac_try;;
 
3408
esac
 
3409
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3410
  (eval "$ac_compiler -V >&5") 2>&5
2738
3411
  ac_status=$?
2739
3412
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740
3413
  (exit $ac_status); }
2759
3432
# Try to create an executable without -o first, disregard a.out.
2760
3433
# It will help us diagnose broken compilers, and finding out an intuition
2761
3434
# of exeext.
2762
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2763
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
3435
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3436
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2764
3437
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2765
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2766
 
  (eval $ac_link_default) 2>&5
 
3438
#
 
3439
# List of possible output files, starting from the most likely.
 
3440
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3441
# only as a last resort.  b.out is created by i960 compilers.
 
3442
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3443
#
 
3444
# The IRIX 6 linker writes into existing files which may not be
 
3445
# executable, retaining their permissions.  Remove them first so a
 
3446
# subsequent execution test works.
 
3447
ac_rmfiles=
 
3448
for ac_file in $ac_files
 
3449
do
 
3450
  case $ac_file in
 
3451
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3452
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3453
  esac
 
3454
done
 
3455
rm -f $ac_rmfiles
 
3456
 
 
3457
if { (ac_try="$ac_link_default"
 
3458
case "(($ac_try" in
 
3459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3460
  *) ac_try_echo=$ac_try;;
 
3461
esac
 
3462
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3463
  (eval "$ac_link_default") 2>&5
2767
3464
  ac_status=$?
2768
3465
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769
3466
  (exit $ac_status); }; then
2770
 
  # Find the output, starting from the most likely.  This scheme is
2771
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2772
 
# resort.
2773
 
 
2774
 
# Be careful to initialize this variable, since it used to be cached.
2775
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2776
 
ac_cv_exeext=
2777
 
# b.out is created by i960 compilers.
2778
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3467
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3468
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3469
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3470
# so that the user can short-circuit this test for compilers unknown to
 
3471
# Autoconf.
 
3472
for ac_file in $ac_files
2779
3473
do
2780
3474
  test -f "$ac_file" || continue
2781
3475
  case $ac_file in
2782
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2783
 
        ;;
2784
 
    conftest.$ac_ext )
2785
 
        # This is the source file.
 
3476
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2786
3477
        ;;
2787
3478
    [ab].out )
2788
3479
        # We found the default executable, but exeext='' is most
2789
3480
        # certainly right.
2790
3481
        break;;
2791
3482
    *.* )
2792
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2793
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2794
 
        # but it would be cool to find out if it's true.  Does anybody
2795
 
        # maintain Libtool? --akim.
2796
 
        export ac_cv_exeext
 
3483
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3484
        then :; else
 
3485
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3486
        fi
 
3487
        # We set ac_cv_exeext here because the later test for it is not
 
3488
        # safe: cross compilers may not add the suffix if given an `-o'
 
3489
        # argument, so we may need to know it at that point already.
 
3490
        # Even if this section looks crufty: it has the advantage of
 
3491
        # actually working.
2797
3492
        break;;
2798
3493
    * )
2799
3494
        break;;
2800
3495
  esac
2801
3496
done
 
3497
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3498
 
2802
3499
else
2803
3500
  echo "$as_me: failed program was:" >&5
2804
3501
sed 's/^/| /' conftest.$ac_ext >&5
2811
3508
fi
2812
3509
 
2813
3510
ac_exeext=$ac_cv_exeext
2814
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2815
 
echo "${ECHO_T}$ac_file" >&6
 
3511
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3512
echo "${ECHO_T}$ac_file" >&6; }
2816
3513
 
2817
 
# Check the compiler produces executables we can run.  If not, either
 
3514
# Check that the compiler produces executables we can run.  If not, either
2818
3515
# the compiler is broken, or we cross compile.
2819
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2820
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3516
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3517
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2821
3518
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2822
3519
# If not cross compiling, check that we can run a simple program.
2823
3520
if test "$cross_compiling" != yes; then
2824
3521
  if { ac_try='./$ac_file'
2825
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2826
 
  (eval $ac_try) 2>&5
 
3522
  { (case "(($ac_try" in
 
3523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3524
  *) ac_try_echo=$ac_try;;
 
3525
esac
 
3526
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3527
  (eval "$ac_try") 2>&5
2827
3528
  ac_status=$?
2828
3529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829
3530
  (exit $ac_status); }; }; then
2842
3543
    fi
2843
3544
  fi
2844
3545
fi
2845
 
echo "$as_me:$LINENO: result: yes" >&5
2846
 
echo "${ECHO_T}yes" >&6
 
3546
{ echo "$as_me:$LINENO: result: yes" >&5
 
3547
echo "${ECHO_T}yes" >&6; }
2847
3548
 
2848
3549
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2849
3550
ac_clean_files=$ac_clean_files_save
2850
 
# Check the compiler produces executables we can run.  If not, either
 
3551
# Check that the compiler produces executables we can run.  If not, either
2851
3552
# the compiler is broken, or we cross compile.
2852
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2853
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2854
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2855
 
echo "${ECHO_T}$cross_compiling" >&6
 
3553
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3554
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3555
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3556
echo "${ECHO_T}$cross_compiling" >&6; }
2856
3557
 
2857
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2858
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2859
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2860
 
  (eval $ac_link) 2>&5
 
3558
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3559
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3560
if { (ac_try="$ac_link"
 
3561
case "(($ac_try" in
 
3562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3563
  *) ac_try_echo=$ac_try;;
 
3564
esac
 
3565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3566
  (eval "$ac_link") 2>&5
2861
3567
  ac_status=$?
2862
3568
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863
3569
  (exit $ac_status); }; then
2868
3574
for ac_file in conftest.exe conftest conftest.*; do
2869
3575
  test -f "$ac_file" || continue
2870
3576
  case $ac_file in
2871
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3577
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2872
3578
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2873
 
          export ac_cv_exeext
2874
3579
          break;;
2875
3580
    * ) break;;
2876
3581
  esac
2884
3589
fi
2885
3590
 
2886
3591
rm -f conftest$ac_cv_exeext
2887
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2888
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3592
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3593
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2889
3594
 
2890
3595
rm -f conftest.$ac_ext
2891
3596
EXEEXT=$ac_cv_exeext
2892
3597
ac_exeext=$EXEEXT
2893
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2894
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3598
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3599
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2895
3600
if test "${ac_cv_objext+set}" = set; then
2896
3601
  echo $ECHO_N "(cached) $ECHO_C" >&6
2897
3602
else
2911
3616
}
2912
3617
_ACEOF
2913
3618
rm -f conftest.o conftest.obj
2914
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2915
 
  (eval $ac_compile) 2>&5
 
3619
if { (ac_try="$ac_compile"
 
3620
case "(($ac_try" in
 
3621
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3622
  *) ac_try_echo=$ac_try;;
 
3623
esac
 
3624
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3625
  (eval "$ac_compile") 2>&5
2916
3626
  ac_status=$?
2917
3627
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918
3628
  (exit $ac_status); }; then
2919
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3629
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3630
  test -f "$ac_file" || continue;
2920
3631
  case $ac_file in
2921
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3632
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2922
3633
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2923
3634
       break;;
2924
3635
  esac
2936
3647
 
2937
3648
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2938
3649
fi
2939
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2940
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3650
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3651
echo "${ECHO_T}$ac_cv_objext" >&6; }
2941
3652
OBJEXT=$ac_cv_objext
2942
3653
ac_objext=$OBJEXT
2943
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2944
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3654
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3655
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2945
3656
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2946
3657
  echo $ECHO_N "(cached) $ECHO_C" >&6
2947
3658
else
2964
3675
}
2965
3676
_ACEOF
2966
3677
rm -f conftest.$ac_objext
2967
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2968
 
  (eval $ac_compile) 2>conftest.er1
 
3678
if { (ac_try="$ac_compile"
 
3679
case "(($ac_try" in
 
3680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3681
  *) ac_try_echo=$ac_try;;
 
3682
esac
 
3683
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3684
  (eval "$ac_compile") 2>conftest.er1
2969
3685
  ac_status=$?
2970
3686
  grep -v '^ *+' conftest.er1 >conftest.err
2971
3687
  rm -f conftest.er1
2972
3688
  cat conftest.err >&5
2973
3689
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974
3690
  (exit $ac_status); } &&
2975
 
         { ac_try='test -z "$ac_c_werror_flag"
2976
 
                         || test ! -s conftest.err'
2977
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978
 
  (eval $ac_try) 2>&5
 
3691
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3692
  { (case "(($ac_try" in
 
3693
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3694
  *) ac_try_echo=$ac_try;;
 
3695
esac
 
3696
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3697
  (eval "$ac_try") 2>&5
2979
3698
  ac_status=$?
2980
3699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
3700
  (exit $ac_status); }; } &&
2982
3701
         { ac_try='test -s conftest.$ac_objext'
2983
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2984
 
  (eval $ac_try) 2>&5
 
3702
  { (case "(($ac_try" in
 
3703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3704
  *) ac_try_echo=$ac_try;;
 
3705
esac
 
3706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3707
  (eval "$ac_try") 2>&5
2985
3708
  ac_status=$?
2986
3709
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987
3710
  (exit $ac_status); }; }; then
2990
3713
  echo "$as_me: failed program was:" >&5
2991
3714
sed 's/^/| /' conftest.$ac_ext >&5
2992
3715
 
2993
 
ac_compiler_gnu=no
 
3716
        ac_compiler_gnu=no
2994
3717
fi
2995
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3718
 
 
3719
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2996
3720
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2997
3721
 
2998
3722
fi
2999
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3000
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3723
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3724
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3001
3725
GCC=`test $ac_compiler_gnu = yes && echo yes`
3002
3726
ac_test_CFLAGS=${CFLAGS+set}
3003
3727
ac_save_CFLAGS=$CFLAGS
3004
 
CFLAGS="-g"
3005
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3006
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3728
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3729
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3007
3730
if test "${ac_cv_prog_cc_g+set}" = set; then
3008
3731
  echo $ECHO_N "(cached) $ECHO_C" >&6
3009
3732
else
3010
 
  cat >conftest.$ac_ext <<_ACEOF
3011
 
/* confdefs.h.  */
3012
 
_ACEOF
3013
 
cat confdefs.h >>conftest.$ac_ext
3014
 
cat >>conftest.$ac_ext <<_ACEOF
3015
 
/* end confdefs.h.  */
3016
 
 
3017
 
int
3018
 
main ()
3019
 
{
3020
 
 
3021
 
  ;
3022
 
  return 0;
3023
 
}
3024
 
_ACEOF
3025
 
rm -f conftest.$ac_objext
3026
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3027
 
  (eval $ac_compile) 2>conftest.er1
3028
 
  ac_status=$?
3029
 
  grep -v '^ *+' conftest.er1 >conftest.err
3030
 
  rm -f conftest.er1
3031
 
  cat conftest.err >&5
3032
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033
 
  (exit $ac_status); } &&
3034
 
         { ac_try='test -z "$ac_c_werror_flag"
3035
 
                         || test ! -s conftest.err'
3036
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3037
 
  (eval $ac_try) 2>&5
3038
 
  ac_status=$?
3039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040
 
  (exit $ac_status); }; } &&
3041
 
         { ac_try='test -s conftest.$ac_objext'
3042
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3043
 
  (eval $ac_try) 2>&5
3044
 
  ac_status=$?
3045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046
 
  (exit $ac_status); }; }; then
3047
 
  ac_cv_prog_cc_g=yes
3048
 
else
3049
 
  echo "$as_me: failed program was:" >&5
3050
 
sed 's/^/| /' conftest.$ac_ext >&5
3051
 
 
3052
 
ac_cv_prog_cc_g=no
3053
 
fi
3054
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3055
 
fi
3056
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3057
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3733
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3734
   ac_c_werror_flag=yes
 
3735
   ac_cv_prog_cc_g=no
 
3736
   CFLAGS="-g"
 
3737
   cat >conftest.$ac_ext <<_ACEOF
 
3738
/* confdefs.h.  */
 
3739
_ACEOF
 
3740
cat confdefs.h >>conftest.$ac_ext
 
3741
cat >>conftest.$ac_ext <<_ACEOF
 
3742
/* end confdefs.h.  */
 
3743
 
 
3744
int
 
3745
main ()
 
3746
{
 
3747
 
 
3748
  ;
 
3749
  return 0;
 
3750
}
 
3751
_ACEOF
 
3752
rm -f conftest.$ac_objext
 
3753
if { (ac_try="$ac_compile"
 
3754
case "(($ac_try" in
 
3755
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3756
  *) ac_try_echo=$ac_try;;
 
3757
esac
 
3758
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3759
  (eval "$ac_compile") 2>conftest.er1
 
3760
  ac_status=$?
 
3761
  grep -v '^ *+' conftest.er1 >conftest.err
 
3762
  rm -f conftest.er1
 
3763
  cat conftest.err >&5
 
3764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3765
  (exit $ac_status); } &&
 
3766
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3767
  { (case "(($ac_try" in
 
3768
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3769
  *) ac_try_echo=$ac_try;;
 
3770
esac
 
3771
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3772
  (eval "$ac_try") 2>&5
 
3773
  ac_status=$?
 
3774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3775
  (exit $ac_status); }; } &&
 
3776
         { ac_try='test -s conftest.$ac_objext'
 
3777
  { (case "(($ac_try" in
 
3778
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3779
  *) ac_try_echo=$ac_try;;
 
3780
esac
 
3781
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3782
  (eval "$ac_try") 2>&5
 
3783
  ac_status=$?
 
3784
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3785
  (exit $ac_status); }; }; then
 
3786
  ac_cv_prog_cc_g=yes
 
3787
else
 
3788
  echo "$as_me: failed program was:" >&5
 
3789
sed 's/^/| /' conftest.$ac_ext >&5
 
3790
 
 
3791
        CFLAGS=""
 
3792
      cat >conftest.$ac_ext <<_ACEOF
 
3793
/* confdefs.h.  */
 
3794
_ACEOF
 
3795
cat confdefs.h >>conftest.$ac_ext
 
3796
cat >>conftest.$ac_ext <<_ACEOF
 
3797
/* end confdefs.h.  */
 
3798
 
 
3799
int
 
3800
main ()
 
3801
{
 
3802
 
 
3803
  ;
 
3804
  return 0;
 
3805
}
 
3806
_ACEOF
 
3807
rm -f conftest.$ac_objext
 
3808
if { (ac_try="$ac_compile"
 
3809
case "(($ac_try" in
 
3810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3811
  *) ac_try_echo=$ac_try;;
 
3812
esac
 
3813
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3814
  (eval "$ac_compile") 2>conftest.er1
 
3815
  ac_status=$?
 
3816
  grep -v '^ *+' conftest.er1 >conftest.err
 
3817
  rm -f conftest.er1
 
3818
  cat conftest.err >&5
 
3819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3820
  (exit $ac_status); } &&
 
3821
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
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_try") 2>&5
 
3828
  ac_status=$?
 
3829
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3830
  (exit $ac_status); }; } &&
 
3831
         { ac_try='test -s conftest.$ac_objext'
 
3832
  { (case "(($ac_try" in
 
3833
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3834
  *) ac_try_echo=$ac_try;;
 
3835
esac
 
3836
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3837
  (eval "$ac_try") 2>&5
 
3838
  ac_status=$?
 
3839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3840
  (exit $ac_status); }; }; then
 
3841
  :
 
3842
else
 
3843
  echo "$as_me: failed program was:" >&5
 
3844
sed 's/^/| /' conftest.$ac_ext >&5
 
3845
 
 
3846
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3847
         CFLAGS="-g"
 
3848
         cat >conftest.$ac_ext <<_ACEOF
 
3849
/* confdefs.h.  */
 
3850
_ACEOF
 
3851
cat confdefs.h >>conftest.$ac_ext
 
3852
cat >>conftest.$ac_ext <<_ACEOF
 
3853
/* end confdefs.h.  */
 
3854
 
 
3855
int
 
3856
main ()
 
3857
{
 
3858
 
 
3859
  ;
 
3860
  return 0;
 
3861
}
 
3862
_ACEOF
 
3863
rm -f conftest.$ac_objext
 
3864
if { (ac_try="$ac_compile"
 
3865
case "(($ac_try" in
 
3866
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3867
  *) ac_try_echo=$ac_try;;
 
3868
esac
 
3869
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3870
  (eval "$ac_compile") 2>conftest.er1
 
3871
  ac_status=$?
 
3872
  grep -v '^ *+' conftest.er1 >conftest.err
 
3873
  rm -f conftest.er1
 
3874
  cat conftest.err >&5
 
3875
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3876
  (exit $ac_status); } &&
 
3877
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3878
  { (case "(($ac_try" in
 
3879
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3880
  *) ac_try_echo=$ac_try;;
 
3881
esac
 
3882
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3883
  (eval "$ac_try") 2>&5
 
3884
  ac_status=$?
 
3885
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3886
  (exit $ac_status); }; } &&
 
3887
         { ac_try='test -s conftest.$ac_objext'
 
3888
  { (case "(($ac_try" in
 
3889
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3890
  *) ac_try_echo=$ac_try;;
 
3891
esac
 
3892
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3893
  (eval "$ac_try") 2>&5
 
3894
  ac_status=$?
 
3895
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3896
  (exit $ac_status); }; }; then
 
3897
  ac_cv_prog_cc_g=yes
 
3898
else
 
3899
  echo "$as_me: failed program was:" >&5
 
3900
sed 's/^/| /' conftest.$ac_ext >&5
 
3901
 
 
3902
 
 
3903
fi
 
3904
 
 
3905
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3906
fi
 
3907
 
 
3908
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3909
fi
 
3910
 
 
3911
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3912
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3913
fi
 
3914
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3915
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3058
3916
if test "$ac_test_CFLAGS" = set; then
3059
3917
  CFLAGS=$ac_save_CFLAGS
3060
3918
elif test $ac_cv_prog_cc_g = yes; then
3070
3928
    CFLAGS=
3071
3929
  fi
3072
3930
fi
3073
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3074
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3075
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3931
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3932
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3933
if test "${ac_cv_prog_cc_c89+set}" = set; then
3076
3934
  echo $ECHO_N "(cached) $ECHO_C" >&6
3077
3935
else
3078
 
  ac_cv_prog_cc_stdc=no
 
3936
  ac_cv_prog_cc_c89=no
3079
3937
ac_save_CC=$CC
3080
3938
cat >conftest.$ac_ext <<_ACEOF
3081
3939
/* confdefs.h.  */
3109
3967
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3110
3968
   function prototypes and stuff, but not '\xHH' hex character constants.
3111
3969
   These don't provoke an error unfortunately, instead are silently treated
3112
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3970
   as 'x'.  The following induces an error, until -std is added to get
3113
3971
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3114
3972
   array size at least.  It's necessary to write '\x00'==0 to get something
3115
 
   that's true only with -std1.  */
 
3973
   that's true only with -std.  */
3116
3974
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3117
3975
 
 
3976
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3977
   inside strings and character constants.  */
 
3978
#define FOO(x) 'x'
 
3979
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3980
 
3118
3981
int test (int i, double x);
3119
3982
struct s1 {int (*f) (int a);};
3120
3983
struct s2 {int (*f) (double a);};
3129
3992
  return 0;
3130
3993
}
3131
3994
_ACEOF
3132
 
# Don't try gcc -ansi; that turns off useful extensions and
3133
 
# breaks some systems' header files.
3134
 
# AIX                   -qlanglvl=ansi
3135
 
# Ultrix and OSF/1      -std1
3136
 
# HP-UX 10.20 and later -Ae
3137
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
3138
 
# SVR4                  -Xc -D__EXTENSIONS__
3139
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3995
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3996
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3140
3997
do
3141
3998
  CC="$ac_save_CC $ac_arg"
3142
3999
  rm -f conftest.$ac_objext
3143
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3144
 
  (eval $ac_compile) 2>conftest.er1
 
4000
if { (ac_try="$ac_compile"
 
4001
case "(($ac_try" in
 
4002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4003
  *) ac_try_echo=$ac_try;;
 
4004
esac
 
4005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4006
  (eval "$ac_compile") 2>conftest.er1
3145
4007
  ac_status=$?
3146
4008
  grep -v '^ *+' conftest.er1 >conftest.err
3147
4009
  rm -f conftest.er1
3148
4010
  cat conftest.err >&5
3149
4011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150
4012
  (exit $ac_status); } &&
3151
 
         { ac_try='test -z "$ac_c_werror_flag"
3152
 
                         || test ! -s conftest.err'
3153
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154
 
  (eval $ac_try) 2>&5
 
4013
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4014
  { (case "(($ac_try" in
 
4015
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4016
  *) ac_try_echo=$ac_try;;
 
4017
esac
 
4018
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4019
  (eval "$ac_try") 2>&5
3155
4020
  ac_status=$?
3156
4021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157
4022
  (exit $ac_status); }; } &&
3158
4023
         { ac_try='test -s conftest.$ac_objext'
3159
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160
 
  (eval $ac_try) 2>&5
 
4024
  { (case "(($ac_try" in
 
4025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4026
  *) ac_try_echo=$ac_try;;
 
4027
esac
 
4028
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4029
  (eval "$ac_try") 2>&5
3161
4030
  ac_status=$?
3162
4031
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163
4032
  (exit $ac_status); }; }; then
3164
 
  ac_cv_prog_cc_stdc=$ac_arg
3165
 
break
 
4033
  ac_cv_prog_cc_c89=$ac_arg
3166
4034
else
3167
4035
  echo "$as_me: failed program was:" >&5
3168
4036
sed 's/^/| /' conftest.$ac_ext >&5
3169
4037
 
 
4038
 
3170
4039
fi
3171
 
rm -f conftest.err conftest.$ac_objext
 
4040
 
 
4041
rm -f core conftest.err conftest.$ac_objext
 
4042
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3172
4043
done
3173
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
4044
rm -f conftest.$ac_ext
3174
4045
CC=$ac_save_CC
3175
4046
 
3176
4047
fi
3177
 
 
3178
 
case "x$ac_cv_prog_cc_stdc" in
3179
 
  x|xno)
3180
 
    echo "$as_me:$LINENO: result: none needed" >&5
3181
 
echo "${ECHO_T}none needed" >&6 ;;
 
4048
# AC_CACHE_VAL
 
4049
case "x$ac_cv_prog_cc_c89" in
 
4050
  x)
 
4051
    { echo "$as_me:$LINENO: result: none needed" >&5
 
4052
echo "${ECHO_T}none needed" >&6; } ;;
 
4053
  xno)
 
4054
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
4055
echo "${ECHO_T}unsupported" >&6; } ;;
3182
4056
  *)
3183
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3184
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3185
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
4057
    CC="$CC $ac_cv_prog_cc_c89"
 
4058
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4059
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3186
4060
esac
3187
4061
 
3188
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
3189
 
# in C++ we need to declare it.  In case someone uses the same compiler
3190
 
# for both compiling C and C++ we need to have the C++ compiler decide
3191
 
# the declaration of exit, since it's the most demanding environment.
3192
 
cat >conftest.$ac_ext <<_ACEOF
3193
 
#ifndef __cplusplus
3194
 
  choke me
3195
 
#endif
3196
 
_ACEOF
3197
 
rm -f conftest.$ac_objext
3198
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3199
 
  (eval $ac_compile) 2>conftest.er1
3200
 
  ac_status=$?
3201
 
  grep -v '^ *+' conftest.er1 >conftest.err
3202
 
  rm -f conftest.er1
3203
 
  cat conftest.err >&5
3204
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205
 
  (exit $ac_status); } &&
3206
 
         { ac_try='test -z "$ac_c_werror_flag"
3207
 
                         || test ! -s conftest.err'
3208
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209
 
  (eval $ac_try) 2>&5
3210
 
  ac_status=$?
3211
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212
 
  (exit $ac_status); }; } &&
3213
 
         { ac_try='test -s conftest.$ac_objext'
3214
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3215
 
  (eval $ac_try) 2>&5
3216
 
  ac_status=$?
3217
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218
 
  (exit $ac_status); }; }; then
3219
 
  for ac_declaration in \
3220
 
   '' \
3221
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3222
 
   'extern "C" void std::exit (int); using std::exit;' \
3223
 
   'extern "C" void exit (int) throw ();' \
3224
 
   'extern "C" void exit (int);' \
3225
 
   'void exit (int);'
3226
 
do
3227
 
  cat >conftest.$ac_ext <<_ACEOF
3228
 
/* confdefs.h.  */
3229
 
_ACEOF
3230
 
cat confdefs.h >>conftest.$ac_ext
3231
 
cat >>conftest.$ac_ext <<_ACEOF
3232
 
/* end confdefs.h.  */
3233
 
$ac_declaration
3234
 
#include <stdlib.h>
3235
 
int
3236
 
main ()
3237
 
{
3238
 
exit (42);
3239
 
  ;
3240
 
  return 0;
3241
 
}
3242
 
_ACEOF
3243
 
rm -f conftest.$ac_objext
3244
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3245
 
  (eval $ac_compile) 2>conftest.er1
3246
 
  ac_status=$?
3247
 
  grep -v '^ *+' conftest.er1 >conftest.err
3248
 
  rm -f conftest.er1
3249
 
  cat conftest.err >&5
3250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251
 
  (exit $ac_status); } &&
3252
 
         { ac_try='test -z "$ac_c_werror_flag"
3253
 
                         || test ! -s conftest.err'
3254
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3255
 
  (eval $ac_try) 2>&5
3256
 
  ac_status=$?
3257
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258
 
  (exit $ac_status); }; } &&
3259
 
         { ac_try='test -s conftest.$ac_objext'
3260
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261
 
  (eval $ac_try) 2>&5
3262
 
  ac_status=$?
3263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264
 
  (exit $ac_status); }; }; then
3265
 
  :
3266
 
else
3267
 
  echo "$as_me: failed program was:" >&5
3268
 
sed 's/^/| /' conftest.$ac_ext >&5
3269
 
 
3270
 
continue
3271
 
fi
3272
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3273
 
  cat >conftest.$ac_ext <<_ACEOF
3274
 
/* confdefs.h.  */
3275
 
_ACEOF
3276
 
cat confdefs.h >>conftest.$ac_ext
3277
 
cat >>conftest.$ac_ext <<_ACEOF
3278
 
/* end confdefs.h.  */
3279
 
$ac_declaration
3280
 
int
3281
 
main ()
3282
 
{
3283
 
exit (42);
3284
 
  ;
3285
 
  return 0;
3286
 
}
3287
 
_ACEOF
3288
 
rm -f conftest.$ac_objext
3289
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3290
 
  (eval $ac_compile) 2>conftest.er1
3291
 
  ac_status=$?
3292
 
  grep -v '^ *+' conftest.er1 >conftest.err
3293
 
  rm -f conftest.er1
3294
 
  cat conftest.err >&5
3295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296
 
  (exit $ac_status); } &&
3297
 
         { ac_try='test -z "$ac_c_werror_flag"
3298
 
                         || test ! -s conftest.err'
3299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3300
 
  (eval $ac_try) 2>&5
3301
 
  ac_status=$?
3302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303
 
  (exit $ac_status); }; } &&
3304
 
         { ac_try='test -s conftest.$ac_objext'
3305
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306
 
  (eval $ac_try) 2>&5
3307
 
  ac_status=$?
3308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309
 
  (exit $ac_status); }; }; then
3310
 
  break
3311
 
else
3312
 
  echo "$as_me: failed program was:" >&5
3313
 
sed 's/^/| /' conftest.$ac_ext >&5
3314
 
 
3315
 
fi
3316
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3317
 
done
3318
 
rm -f conftest*
3319
 
if test -n "$ac_declaration"; then
3320
 
  echo '#ifdef __cplusplus' >>confdefs.h
3321
 
  echo $ac_declaration      >>confdefs.h
3322
 
  echo '#endif'             >>confdefs.h
3323
 
fi
3324
 
 
3325
 
else
3326
 
  echo "$as_me: failed program was:" >&5
3327
 
sed 's/^/| /' conftest.$ac_ext >&5
3328
 
 
3329
 
fi
3330
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4062
 
3331
4063
ac_ext=c
3332
4064
ac_cpp='$CPP $CPPFLAGS'
3333
4065
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3336
4068
 
3337
4069
depcc="$CC"   am_compiler_list=
3338
4070
 
3339
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3340
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
4071
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4072
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3341
4073
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3342
4074
  echo $ECHO_N "(cached) $ECHO_C" >&6
3343
4075
else
3352
4084
  # using a relative directory.
3353
4085
  cp "$am_depcomp" conftest.dir
3354
4086
  cd conftest.dir
 
4087
  # We will build objects and dependencies in a subdirectory because
 
4088
  # it helps to detect inapplicable dependency modes.  For instance
 
4089
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4090
  # side effect of compilation, but ICC will put the dependencies in
 
4091
  # the current directory while Tru64 will put them in the object
 
4092
  # directory.
 
4093
  mkdir sub
3355
4094
 
3356
4095
  am_cv_CC_dependencies_compiler_type=none
3357
4096
  if test "$am_compiler_list" = ""; then
3358
4097
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3359
4098
  fi
3360
4099
  for depmode in $am_compiler_list; do
 
4100
    # Setup a source with many dependencies, because some compilers
 
4101
    # like to wrap large dependency lists on column 80 (with \), and
 
4102
    # we should not choose a depcomp mode which is confused by this.
 
4103
    #
3361
4104
    # We need to recreate these files for each test, as the compiler may
3362
4105
    # overwrite some of them when testing with obscure command lines.
3363
4106
    # This happens at least with the AIX C compiler.
3364
 
    echo '#include "conftest.h"' > conftest.c
3365
 
    echo 'int i;' > conftest.h
3366
 
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
4107
    : > sub/conftest.c
 
4108
    for i in 1 2 3 4 5 6; do
 
4109
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4110
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4111
      # Solaris 8's {/usr,}/bin/sh.
 
4112
      touch sub/conftst$i.h
 
4113
    done
 
4114
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3367
4115
 
3368
4116
    case $depmode in
3369
4117
    nosideeffect)
3381
4129
    # mode.  It turns out that the SunPro C++ compiler does not properly
3382
4130
    # handle `-M -o', and we need to detect this.
3383
4131
    if depmode=$depmode \
3384
 
       source=conftest.c object=conftest.o \
3385
 
       depfile=conftest.Po tmpdepfile=conftest.TPo \
3386
 
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3387
 
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
4132
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4133
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4134
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4135
         >/dev/null 2>conftest.err &&
 
4136
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4137
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3388
4138
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3389
 
      am_cv_CC_dependencies_compiler_type=$depmode
3390
 
      break
 
4139
      # icc doesn't choke on unknown options, it will just issue warnings
 
4140
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4141
      # that says an option was ignored or not supported.
 
4142
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4143
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4144
      # The diagnosis changed in icc 8.0:
 
4145
      #   icc: Command line remark: option '-MP' not supported
 
4146
      if (grep 'ignoring option' conftest.err ||
 
4147
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4148
        am_cv_CC_dependencies_compiler_type=$depmode
 
4149
        break
 
4150
      fi
3391
4151
    fi
3392
4152
  done
3393
4153
 
3398
4158
fi
3399
4159
 
3400
4160
fi
3401
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3402
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
4161
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4162
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3403
4163
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3404
4164
 
3405
4165
 
3406
4166
 
 
4167
if
 
4168
  test "x$enable_dependency_tracking" != xno \
 
4169
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4170
  am__fastdepCC_TRUE=
 
4171
  am__fastdepCC_FALSE='#'
 
4172
else
 
4173
  am__fastdepCC_TRUE='#'
 
4174
  am__fastdepCC_FALSE=
 
4175
fi
 
4176
 
 
4177
 
 
4178
 
3407
4179
  ac_ext=c
3408
4180
ac_cpp='$CPP $CPPFLAGS'
3409
4181
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3410
4182
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3411
4183
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3412
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3413
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4184
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4185
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3414
4186
# On Suns, sometimes $CPP names a directory.
3415
4187
if test -n "$CPP" && test -d "$CPP"; then
3416
4188
  CPP=
3444
4216
#endif
3445
4217
                     Syntax error
3446
4218
_ACEOF
3447
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3448
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4219
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4220
case "(($ac_try" in
 
4221
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4222
  *) ac_try_echo=$ac_try;;
 
4223
esac
 
4224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4225
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3449
4226
  ac_status=$?
3450
4227
  grep -v '^ *+' conftest.er1 >conftest.err
3451
4228
  rm -f conftest.er1
3470
4247
  # Broken: fails on valid input.
3471
4248
continue
3472
4249
fi
 
4250
 
3473
4251
rm -f conftest.err conftest.$ac_ext
3474
4252
 
3475
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4253
  # OK, works on sane cases.  Now check whether nonexistent headers
3476
4254
  # can be detected and how.
3477
4255
  cat >conftest.$ac_ext <<_ACEOF
3478
4256
/* confdefs.h.  */
3482
4260
/* end confdefs.h.  */
3483
4261
#include <ac_nonexistent.h>
3484
4262
_ACEOF
3485
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3486
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4263
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4264
case "(($ac_try" in
 
4265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4266
  *) ac_try_echo=$ac_try;;
 
4267
esac
 
4268
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4269
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3487
4270
  ac_status=$?
3488
4271
  grep -v '^ *+' conftest.er1 >conftest.err
3489
4272
  rm -f conftest.er1
3510
4293
ac_preproc_ok=:
3511
4294
break
3512
4295
fi
 
4296
 
3513
4297
rm -f conftest.err conftest.$ac_ext
3514
4298
 
3515
4299
done
3527
4311
else
3528
4312
  ac_cv_prog_CPP=$CPP
3529
4313
fi
3530
 
echo "$as_me:$LINENO: result: $CPP" >&5
3531
 
echo "${ECHO_T}$CPP" >&6
 
4314
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4315
echo "${ECHO_T}$CPP" >&6; }
3532
4316
ac_preproc_ok=false
3533
4317
for ac_c_preproc_warn_flag in '' yes
3534
4318
do
3551
4335
#endif
3552
4336
                     Syntax error
3553
4337
_ACEOF
3554
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3555
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4338
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4339
case "(($ac_try" in
 
4340
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4341
  *) ac_try_echo=$ac_try;;
 
4342
esac
 
4343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4344
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3556
4345
  ac_status=$?
3557
4346
  grep -v '^ *+' conftest.er1 >conftest.err
3558
4347
  rm -f conftest.er1
3577
4366
  # Broken: fails on valid input.
3578
4367
continue
3579
4368
fi
 
4369
 
3580
4370
rm -f conftest.err conftest.$ac_ext
3581
4371
 
3582
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4372
  # OK, works on sane cases.  Now check whether nonexistent headers
3583
4373
  # can be detected and how.
3584
4374
  cat >conftest.$ac_ext <<_ACEOF
3585
4375
/* confdefs.h.  */
3589
4379
/* end confdefs.h.  */
3590
4380
#include <ac_nonexistent.h>
3591
4381
_ACEOF
3592
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3593
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4382
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4383
case "(($ac_try" in
 
4384
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4385
  *) ac_try_echo=$ac_try;;
 
4386
esac
 
4387
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4388
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3594
4389
  ac_status=$?
3595
4390
  grep -v '^ *+' conftest.er1 >conftest.err
3596
4391
  rm -f conftest.er1
3617
4412
ac_preproc_ok=:
3618
4413
break
3619
4414
fi
 
4415
 
3620
4416
rm -f conftest.err conftest.$ac_ext
3621
4417
 
3622
4418
done
3644
4440
      if test $kde_use_debug_code = "full"; then
3645
4441
        CFLAGS="-g3 -fno-inline $CFLAGS"
3646
4442
      else
3647
 
        CFLAGS="-g -O2 $CFLAGS"
 
4443
        CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
3648
4444
      fi
3649
4445
    else
3650
4446
      CFLAGS="-O2 $CFLAGS"
3667
4463
 
3668
4464
  CXXFLAGS=" $CXXFLAGS"
3669
4465
 
3670
 
  ac_ext=cc
 
4466
  ac_ext=cpp
3671
4467
ac_cpp='$CXXCPP $CPPFLAGS'
3672
4468
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673
4469
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674
4470
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3675
 
if test -n "$ac_tool_prefix"; then
3676
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
4471
if test -z "$CXX"; then
 
4472
  if test -n "$CCC"; then
 
4473
    CXX=$CCC
 
4474
  else
 
4475
    if test -n "$ac_tool_prefix"; then
 
4476
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3677
4477
  do
3678
4478
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3679
4479
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3680
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3681
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4480
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4481
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3682
4482
if test "${ac_cv_prog_CXX+set}" = set; then
3683
4483
  echo $ECHO_N "(cached) $ECHO_C" >&6
3684
4484
else
3691
4491
  IFS=$as_save_IFS
3692
4492
  test -z "$as_dir" && as_dir=.
3693
4493
  for ac_exec_ext in '' $ac_executable_extensions; do
3694
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4494
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3695
4495
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3696
4496
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3697
4497
    break 2
3698
4498
  fi
3699
4499
done
3700
4500
done
 
4501
IFS=$as_save_IFS
3701
4502
 
3702
4503
fi
3703
4504
fi
3704
4505
CXX=$ac_cv_prog_CXX
3705
4506
if test -n "$CXX"; then
3706
 
  echo "$as_me:$LINENO: result: $CXX" >&5
3707
 
echo "${ECHO_T}$CXX" >&6
 
4507
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
4508
echo "${ECHO_T}$CXX" >&6; }
3708
4509
else
3709
 
  echo "$as_me:$LINENO: result: no" >&5
3710
 
echo "${ECHO_T}no" >&6
 
4510
  { echo "$as_me:$LINENO: result: no" >&5
 
4511
echo "${ECHO_T}no" >&6; }
3711
4512
fi
3712
4513
 
 
4514
 
3713
4515
    test -n "$CXX" && break
3714
4516
  done
3715
4517
fi
3716
4518
if test -z "$CXX"; then
3717
4519
  ac_ct_CXX=$CXX
3718
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
4520
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3719
4521
do
3720
4522
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3721
4523
set dummy $ac_prog; ac_word=$2
3722
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3723
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4524
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4525
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3724
4526
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3725
4527
  echo $ECHO_N "(cached) $ECHO_C" >&6
3726
4528
else
3733
4535
  IFS=$as_save_IFS
3734
4536
  test -z "$as_dir" && as_dir=.
3735
4537
  for ac_exec_ext in '' $ac_executable_extensions; do
3736
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4538
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3737
4539
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3738
4540
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3739
4541
    break 2
3740
4542
  fi
3741
4543
done
3742
4544
done
 
4545
IFS=$as_save_IFS
3743
4546
 
3744
4547
fi
3745
4548
fi
3746
4549
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3747
4550
if test -n "$ac_ct_CXX"; then
3748
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3749
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
4551
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
4552
echo "${ECHO_T}$ac_ct_CXX" >&6; }
3750
4553
else
3751
 
  echo "$as_me:$LINENO: result: no" >&5
3752
 
echo "${ECHO_T}no" >&6
 
4554
  { echo "$as_me:$LINENO: result: no" >&5
 
4555
echo "${ECHO_T}no" >&6; }
3753
4556
fi
3754
4557
 
 
4558
 
3755
4559
  test -n "$ac_ct_CXX" && break
3756
4560
done
3757
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3758
 
 
3759
 
  CXX=$ac_ct_CXX
3760
 
fi
3761
 
 
3762
 
 
 
4561
 
 
4562
  if test "x$ac_ct_CXX" = x; then
 
4563
    CXX="g++"
 
4564
  else
 
4565
    case $cross_compiling:$ac_tool_warned in
 
4566
yes:)
 
4567
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4568
whose name does not start with the host triplet.  If you think this
 
4569
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4570
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4571
whose name does not start with the host triplet.  If you think this
 
4572
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4573
ac_tool_warned=yes ;;
 
4574
esac
 
4575
    CXX=$ac_ct_CXX
 
4576
  fi
 
4577
fi
 
4578
 
 
4579
  fi
 
4580
fi
3763
4581
# Provide some information about the compiler.
3764
 
echo "$as_me:$LINENO:" \
3765
 
     "checking for C++ compiler version" >&5
 
4582
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3766
4583
ac_compiler=`set X $ac_compile; echo $2`
3767
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3768
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3769
 
  ac_status=$?
3770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771
 
  (exit $ac_status); }
3772
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3773
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3774
 
  ac_status=$?
3775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776
 
  (exit $ac_status); }
3777
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3778
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
4584
{ (ac_try="$ac_compiler --version >&5"
 
4585
case "(($ac_try" in
 
4586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4587
  *) ac_try_echo=$ac_try;;
 
4588
esac
 
4589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4590
  (eval "$ac_compiler --version >&5") 2>&5
 
4591
  ac_status=$?
 
4592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4593
  (exit $ac_status); }
 
4594
{ (ac_try="$ac_compiler -v >&5"
 
4595
case "(($ac_try" in
 
4596
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4597
  *) ac_try_echo=$ac_try;;
 
4598
esac
 
4599
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4600
  (eval "$ac_compiler -v >&5") 2>&5
 
4601
  ac_status=$?
 
4602
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4603
  (exit $ac_status); }
 
4604
{ (ac_try="$ac_compiler -V >&5"
 
4605
case "(($ac_try" in
 
4606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4607
  *) ac_try_echo=$ac_try;;
 
4608
esac
 
4609
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4610
  (eval "$ac_compiler -V >&5") 2>&5
3779
4611
  ac_status=$?
3780
4612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781
4613
  (exit $ac_status); }
3782
4614
 
3783
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3784
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
4615
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
4616
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3785
4617
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3786
4618
  echo $ECHO_N "(cached) $ECHO_C" >&6
3787
4619
else
3804
4636
}
3805
4637
_ACEOF
3806
4638
rm -f conftest.$ac_objext
3807
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3808
 
  (eval $ac_compile) 2>conftest.er1
 
4639
if { (ac_try="$ac_compile"
 
4640
case "(($ac_try" in
 
4641
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4642
  *) ac_try_echo=$ac_try;;
 
4643
esac
 
4644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4645
  (eval "$ac_compile") 2>conftest.er1
3809
4646
  ac_status=$?
3810
4647
  grep -v '^ *+' conftest.er1 >conftest.err
3811
4648
  rm -f conftest.er1
3812
4649
  cat conftest.err >&5
3813
4650
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814
4651
  (exit $ac_status); } &&
3815
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3816
 
                         || test ! -s conftest.err'
3817
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818
 
  (eval $ac_try) 2>&5
 
4652
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
4653
  { (case "(($ac_try" in
 
4654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4655
  *) ac_try_echo=$ac_try;;
 
4656
esac
 
4657
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4658
  (eval "$ac_try") 2>&5
3819
4659
  ac_status=$?
3820
4660
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821
4661
  (exit $ac_status); }; } &&
3822
4662
         { ac_try='test -s conftest.$ac_objext'
3823
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824
 
  (eval $ac_try) 2>&5
 
4663
  { (case "(($ac_try" in
 
4664
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4665
  *) ac_try_echo=$ac_try;;
 
4666
esac
 
4667
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4668
  (eval "$ac_try") 2>&5
3825
4669
  ac_status=$?
3826
4670
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827
4671
  (exit $ac_status); }; }; then
3830
4674
  echo "$as_me: failed program was:" >&5
3831
4675
sed 's/^/| /' conftest.$ac_ext >&5
3832
4676
 
3833
 
ac_compiler_gnu=no
 
4677
        ac_compiler_gnu=no
3834
4678
fi
3835
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4679
 
 
4680
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836
4681
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3837
4682
 
3838
4683
fi
3839
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3840
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
4684
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
4685
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3841
4686
GXX=`test $ac_compiler_gnu = yes && echo yes`
3842
4687
ac_test_CXXFLAGS=${CXXFLAGS+set}
3843
4688
ac_save_CXXFLAGS=$CXXFLAGS
3844
 
CXXFLAGS="-g"
3845
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3846
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
4689
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
4690
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3847
4691
if test "${ac_cv_prog_cxx_g+set}" = set; then
3848
4692
  echo $ECHO_N "(cached) $ECHO_C" >&6
3849
4693
else
3850
 
  cat >conftest.$ac_ext <<_ACEOF
3851
 
/* confdefs.h.  */
3852
 
_ACEOF
3853
 
cat confdefs.h >>conftest.$ac_ext
3854
 
cat >>conftest.$ac_ext <<_ACEOF
3855
 
/* end confdefs.h.  */
3856
 
 
3857
 
int
3858
 
main ()
3859
 
{
3860
 
 
3861
 
  ;
3862
 
  return 0;
3863
 
}
3864
 
_ACEOF
3865
 
rm -f conftest.$ac_objext
3866
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3867
 
  (eval $ac_compile) 2>conftest.er1
3868
 
  ac_status=$?
3869
 
  grep -v '^ *+' conftest.er1 >conftest.err
3870
 
  rm -f conftest.er1
3871
 
  cat conftest.err >&5
3872
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873
 
  (exit $ac_status); } &&
3874
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3875
 
                         || test ! -s conftest.err'
3876
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3877
 
  (eval $ac_try) 2>&5
3878
 
  ac_status=$?
3879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880
 
  (exit $ac_status); }; } &&
3881
 
         { ac_try='test -s conftest.$ac_objext'
3882
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3883
 
  (eval $ac_try) 2>&5
3884
 
  ac_status=$?
3885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886
 
  (exit $ac_status); }; }; then
3887
 
  ac_cv_prog_cxx_g=yes
3888
 
else
3889
 
  echo "$as_me: failed program was:" >&5
3890
 
sed 's/^/| /' conftest.$ac_ext >&5
3891
 
 
3892
 
ac_cv_prog_cxx_g=no
3893
 
fi
3894
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3895
 
fi
3896
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3897
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
4694
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
4695
   ac_cxx_werror_flag=yes
 
4696
   ac_cv_prog_cxx_g=no
 
4697
   CXXFLAGS="-g"
 
4698
   cat >conftest.$ac_ext <<_ACEOF
 
4699
/* confdefs.h.  */
 
4700
_ACEOF
 
4701
cat confdefs.h >>conftest.$ac_ext
 
4702
cat >>conftest.$ac_ext <<_ACEOF
 
4703
/* end confdefs.h.  */
 
4704
 
 
4705
int
 
4706
main ()
 
4707
{
 
4708
 
 
4709
  ;
 
4710
  return 0;
 
4711
}
 
4712
_ACEOF
 
4713
rm -f conftest.$ac_objext
 
4714
if { (ac_try="$ac_compile"
 
4715
case "(($ac_try" in
 
4716
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4717
  *) ac_try_echo=$ac_try;;
 
4718
esac
 
4719
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4720
  (eval "$ac_compile") 2>conftest.er1
 
4721
  ac_status=$?
 
4722
  grep -v '^ *+' conftest.er1 >conftest.err
 
4723
  rm -f conftest.er1
 
4724
  cat conftest.err >&5
 
4725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4726
  (exit $ac_status); } &&
 
4727
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
4728
  { (case "(($ac_try" in
 
4729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4730
  *) ac_try_echo=$ac_try;;
 
4731
esac
 
4732
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4733
  (eval "$ac_try") 2>&5
 
4734
  ac_status=$?
 
4735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4736
  (exit $ac_status); }; } &&
 
4737
         { ac_try='test -s conftest.$ac_objext'
 
4738
  { (case "(($ac_try" in
 
4739
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4740
  *) ac_try_echo=$ac_try;;
 
4741
esac
 
4742
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4743
  (eval "$ac_try") 2>&5
 
4744
  ac_status=$?
 
4745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4746
  (exit $ac_status); }; }; then
 
4747
  ac_cv_prog_cxx_g=yes
 
4748
else
 
4749
  echo "$as_me: failed program was:" >&5
 
4750
sed 's/^/| /' conftest.$ac_ext >&5
 
4751
 
 
4752
        CXXFLAGS=""
 
4753
      cat >conftest.$ac_ext <<_ACEOF
 
4754
/* confdefs.h.  */
 
4755
_ACEOF
 
4756
cat confdefs.h >>conftest.$ac_ext
 
4757
cat >>conftest.$ac_ext <<_ACEOF
 
4758
/* end confdefs.h.  */
 
4759
 
 
4760
int
 
4761
main ()
 
4762
{
 
4763
 
 
4764
  ;
 
4765
  return 0;
 
4766
}
 
4767
_ACEOF
 
4768
rm -f conftest.$ac_objext
 
4769
if { (ac_try="$ac_compile"
 
4770
case "(($ac_try" in
 
4771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4772
  *) ac_try_echo=$ac_try;;
 
4773
esac
 
4774
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4775
  (eval "$ac_compile") 2>conftest.er1
 
4776
  ac_status=$?
 
4777
  grep -v '^ *+' conftest.er1 >conftest.err
 
4778
  rm -f conftest.er1
 
4779
  cat conftest.err >&5
 
4780
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4781
  (exit $ac_status); } &&
 
4782
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
4783
  { (case "(($ac_try" in
 
4784
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4785
  *) ac_try_echo=$ac_try;;
 
4786
esac
 
4787
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4788
  (eval "$ac_try") 2>&5
 
4789
  ac_status=$?
 
4790
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4791
  (exit $ac_status); }; } &&
 
4792
         { ac_try='test -s conftest.$ac_objext'
 
4793
  { (case "(($ac_try" in
 
4794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4795
  *) ac_try_echo=$ac_try;;
 
4796
esac
 
4797
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4798
  (eval "$ac_try") 2>&5
 
4799
  ac_status=$?
 
4800
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4801
  (exit $ac_status); }; }; then
 
4802
  :
 
4803
else
 
4804
  echo "$as_me: failed program was:" >&5
 
4805
sed 's/^/| /' conftest.$ac_ext >&5
 
4806
 
 
4807
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4808
         CXXFLAGS="-g"
 
4809
         cat >conftest.$ac_ext <<_ACEOF
 
4810
/* confdefs.h.  */
 
4811
_ACEOF
 
4812
cat confdefs.h >>conftest.$ac_ext
 
4813
cat >>conftest.$ac_ext <<_ACEOF
 
4814
/* end confdefs.h.  */
 
4815
 
 
4816
int
 
4817
main ()
 
4818
{
 
4819
 
 
4820
  ;
 
4821
  return 0;
 
4822
}
 
4823
_ACEOF
 
4824
rm -f conftest.$ac_objext
 
4825
if { (ac_try="$ac_compile"
 
4826
case "(($ac_try" in
 
4827
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4828
  *) ac_try_echo=$ac_try;;
 
4829
esac
 
4830
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4831
  (eval "$ac_compile") 2>conftest.er1
 
4832
  ac_status=$?
 
4833
  grep -v '^ *+' conftest.er1 >conftest.err
 
4834
  rm -f conftest.er1
 
4835
  cat conftest.err >&5
 
4836
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4837
  (exit $ac_status); } &&
 
4838
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
4839
  { (case "(($ac_try" in
 
4840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4841
  *) ac_try_echo=$ac_try;;
 
4842
esac
 
4843
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4844
  (eval "$ac_try") 2>&5
 
4845
  ac_status=$?
 
4846
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4847
  (exit $ac_status); }; } &&
 
4848
         { ac_try='test -s conftest.$ac_objext'
 
4849
  { (case "(($ac_try" in
 
4850
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4851
  *) ac_try_echo=$ac_try;;
 
4852
esac
 
4853
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4854
  (eval "$ac_try") 2>&5
 
4855
  ac_status=$?
 
4856
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4857
  (exit $ac_status); }; }; then
 
4858
  ac_cv_prog_cxx_g=yes
 
4859
else
 
4860
  echo "$as_me: failed program was:" >&5
 
4861
sed 's/^/| /' conftest.$ac_ext >&5
 
4862
 
 
4863
 
 
4864
fi
 
4865
 
 
4866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4867
fi
 
4868
 
 
4869
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4870
fi
 
4871
 
 
4872
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4873
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4874
fi
 
4875
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
4876
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3898
4877
if test "$ac_test_CXXFLAGS" = set; then
3899
4878
  CXXFLAGS=$ac_save_CXXFLAGS
3900
4879
elif test $ac_cv_prog_cxx_g = yes; then
3910
4889
    CXXFLAGS=
3911
4890
  fi
3912
4891
fi
3913
 
for ac_declaration in \
3914
 
   '' \
3915
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3916
 
   'extern "C" void std::exit (int); using std::exit;' \
3917
 
   'extern "C" void exit (int) throw ();' \
3918
 
   'extern "C" void exit (int);' \
3919
 
   'void exit (int);'
3920
 
do
3921
 
  cat >conftest.$ac_ext <<_ACEOF
3922
 
/* confdefs.h.  */
3923
 
_ACEOF
3924
 
cat confdefs.h >>conftest.$ac_ext
3925
 
cat >>conftest.$ac_ext <<_ACEOF
3926
 
/* end confdefs.h.  */
3927
 
$ac_declaration
3928
 
#include <stdlib.h>
3929
 
int
3930
 
main ()
3931
 
{
3932
 
exit (42);
3933
 
  ;
3934
 
  return 0;
3935
 
}
3936
 
_ACEOF
3937
 
rm -f conftest.$ac_objext
3938
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3939
 
  (eval $ac_compile) 2>conftest.er1
3940
 
  ac_status=$?
3941
 
  grep -v '^ *+' conftest.er1 >conftest.err
3942
 
  rm -f conftest.er1
3943
 
  cat conftest.err >&5
3944
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945
 
  (exit $ac_status); } &&
3946
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3947
 
                         || test ! -s conftest.err'
3948
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3949
 
  (eval $ac_try) 2>&5
3950
 
  ac_status=$?
3951
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952
 
  (exit $ac_status); }; } &&
3953
 
         { ac_try='test -s conftest.$ac_objext'
3954
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3955
 
  (eval $ac_try) 2>&5
3956
 
  ac_status=$?
3957
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958
 
  (exit $ac_status); }; }; then
3959
 
  :
3960
 
else
3961
 
  echo "$as_me: failed program was:" >&5
3962
 
sed 's/^/| /' conftest.$ac_ext >&5
3963
 
 
3964
 
continue
3965
 
fi
3966
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3967
 
  cat >conftest.$ac_ext <<_ACEOF
3968
 
/* confdefs.h.  */
3969
 
_ACEOF
3970
 
cat confdefs.h >>conftest.$ac_ext
3971
 
cat >>conftest.$ac_ext <<_ACEOF
3972
 
/* end confdefs.h.  */
3973
 
$ac_declaration
3974
 
int
3975
 
main ()
3976
 
{
3977
 
exit (42);
3978
 
  ;
3979
 
  return 0;
3980
 
}
3981
 
_ACEOF
3982
 
rm -f conftest.$ac_objext
3983
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3984
 
  (eval $ac_compile) 2>conftest.er1
3985
 
  ac_status=$?
3986
 
  grep -v '^ *+' conftest.er1 >conftest.err
3987
 
  rm -f conftest.er1
3988
 
  cat conftest.err >&5
3989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990
 
  (exit $ac_status); } &&
3991
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3992
 
                         || test ! -s conftest.err'
3993
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994
 
  (eval $ac_try) 2>&5
3995
 
  ac_status=$?
3996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997
 
  (exit $ac_status); }; } &&
3998
 
         { ac_try='test -s conftest.$ac_objext'
3999
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4000
 
  (eval $ac_try) 2>&5
4001
 
  ac_status=$?
4002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003
 
  (exit $ac_status); }; }; then
4004
 
  break
4005
 
else
4006
 
  echo "$as_me: failed program was:" >&5
4007
 
sed 's/^/| /' conftest.$ac_ext >&5
4008
 
 
4009
 
fi
4010
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4011
 
done
4012
 
rm -f conftest*
4013
 
if test -n "$ac_declaration"; then
4014
 
  echo '#ifdef __cplusplus' >>confdefs.h
4015
 
  echo $ac_declaration      >>confdefs.h
4016
 
  echo '#endif'             >>confdefs.h
4017
 
fi
4018
 
 
4019
4892
ac_ext=c
4020
4893
ac_cpp='$CPP $CPPFLAGS'
4021
4894
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4024
4897
 
4025
4898
depcc="$CXX"  am_compiler_list=
4026
4899
 
4027
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4028
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
4900
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4901
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4029
4902
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4030
4903
  echo $ECHO_N "(cached) $ECHO_C" >&6
4031
4904
else
4040
4913
  # using a relative directory.
4041
4914
  cp "$am_depcomp" conftest.dir
4042
4915
  cd conftest.dir
 
4916
  # We will build objects and dependencies in a subdirectory because
 
4917
  # it helps to detect inapplicable dependency modes.  For instance
 
4918
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4919
  # side effect of compilation, but ICC will put the dependencies in
 
4920
  # the current directory while Tru64 will put them in the object
 
4921
  # directory.
 
4922
  mkdir sub
4043
4923
 
4044
4924
  am_cv_CXX_dependencies_compiler_type=none
4045
4925
  if test "$am_compiler_list" = ""; then
4046
4926
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4047
4927
  fi
4048
4928
  for depmode in $am_compiler_list; do
 
4929
    # Setup a source with many dependencies, because some compilers
 
4930
    # like to wrap large dependency lists on column 80 (with \), and
 
4931
    # we should not choose a depcomp mode which is confused by this.
 
4932
    #
4049
4933
    # We need to recreate these files for each test, as the compiler may
4050
4934
    # overwrite some of them when testing with obscure command lines.
4051
4935
    # This happens at least with the AIX C compiler.
4052
 
    echo '#include "conftest.h"' > conftest.c
4053
 
    echo 'int i;' > conftest.h
4054
 
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
4936
    : > sub/conftest.c
 
4937
    for i in 1 2 3 4 5 6; do
 
4938
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4939
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4940
      # Solaris 8's {/usr,}/bin/sh.
 
4941
      touch sub/conftst$i.h
 
4942
    done
 
4943
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4055
4944
 
4056
4945
    case $depmode in
4057
4946
    nosideeffect)
4069
4958
    # mode.  It turns out that the SunPro C++ compiler does not properly
4070
4959
    # handle `-M -o', and we need to detect this.
4071
4960
    if depmode=$depmode \
4072
 
       source=conftest.c object=conftest.o \
4073
 
       depfile=conftest.Po tmpdepfile=conftest.TPo \
4074
 
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
4075
 
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
4961
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4962
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4963
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4964
         >/dev/null 2>conftest.err &&
 
4965
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4966
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4076
4967
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4077
 
      am_cv_CXX_dependencies_compiler_type=$depmode
4078
 
      break
 
4968
      # icc doesn't choke on unknown options, it will just issue warnings
 
4969
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4970
      # that says an option was ignored or not supported.
 
4971
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4972
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4973
      # The diagnosis changed in icc 8.0:
 
4974
      #   icc: Command line remark: option '-MP' not supported
 
4975
      if (grep 'ignoring option' conftest.err ||
 
4976
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4977
        am_cv_CXX_dependencies_compiler_type=$depmode
 
4978
        break
 
4979
      fi
4079
4980
    fi
4080
4981
  done
4081
4982
 
4086
4987
fi
4087
4988
 
4088
4989
fi
4089
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4090
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
4990
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4991
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4091
4992
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4092
4993
 
4093
4994
 
4094
4995
 
4095
 
 
4096
 
  echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
4097
 
echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6
 
4996
if
 
4997
  test "x$enable_dependency_tracking" != xno \
 
4998
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
4999
  am__fastdepCXX_TRUE=
 
5000
  am__fastdepCXX_FALSE='#'
 
5001
else
 
5002
  am__fastdepCXX_TRUE='#'
 
5003
  am__fastdepCXX_FALSE=
 
5004
fi
 
5005
 
 
5006
 
 
5007
 
 
5008
 
 
5009
  { echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
 
5010
echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6; }
4098
5011
 
4099
5012
 
4100
5013
  cat >conftest.$ac_ext <<_ACEOF
4119
5032
}
4120
5033
_ACEOF
4121
5034
rm -f conftest.$ac_objext
4122
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4123
 
  (eval $ac_compile) 2>conftest.er1
 
5035
if { (ac_try="$ac_compile"
 
5036
case "(($ac_try" in
 
5037
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5038
  *) ac_try_echo=$ac_try;;
 
5039
esac
 
5040
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5041
  (eval "$ac_compile") 2>conftest.er1
4124
5042
  ac_status=$?
4125
5043
  grep -v '^ *+' conftest.er1 >conftest.err
4126
5044
  rm -f conftest.er1
4127
5045
  cat conftest.err >&5
4128
5046
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129
5047
  (exit $ac_status); } &&
4130
 
         { ac_try='test -z "$ac_c_werror_flag"
4131
 
                         || test ! -s conftest.err'
4132
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4133
 
  (eval $ac_try) 2>&5
 
5048
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5049
  { (case "(($ac_try" in
 
5050
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5051
  *) ac_try_echo=$ac_try;;
 
5052
esac
 
5053
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5054
  (eval "$ac_try") 2>&5
4134
5055
  ac_status=$?
4135
5056
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136
5057
  (exit $ac_status); }; } &&
4137
5058
         { ac_try='test -s conftest.$ac_objext'
4138
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4139
 
  (eval $ac_try) 2>&5
 
5059
  { (case "(($ac_try" in
 
5060
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5061
  *) ac_try_echo=$ac_try;;
 
5062
esac
 
5063
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5064
  (eval "$ac_try") 2>&5
4140
5065
  ac_status=$?
4141
5066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142
5067
  (exit $ac_status); }; }; then
4145
5070
  echo "$as_me: failed program was:" >&5
4146
5071
sed 's/^/| /' conftest.$ac_ext >&5
4147
5072
 
4148
 
kde_bad_compiler=yes
 
5073
        kde_bad_compiler=yes
4149
5074
 
4150
5075
fi
4151
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4152
 
 
4153
 
  echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
4154
 
echo "${ECHO_T}$kde_bad_compiler" >&6
 
5076
 
 
5077
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5078
 
 
5079
  { echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
 
5080
echo "${ECHO_T}$kde_bad_compiler" >&6; }
4155
5081
 
4156
5082
if test "$kde_bad_compiler" = "yes"; then
4157
5083
  { { echo "$as_me:$LINENO: error:
4189
5115
        if test "$kde_use_debug_code" = "full"; then
4190
5116
          CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
4191
5117
        else
4192
 
          CXXFLAGS="-g -O2 $CXXFLAGS"
 
5118
          CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
4193
5119
        fi
4194
5120
      fi
4195
5121
 
4196
 
echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4197
 
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6
 
5122
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
 
5123
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6; }
4198
5124
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4199
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5125
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4200
5126
  echo $ECHO_N "(cached) $ECHO_C" >&6
4201
5127
else
4202
5128
 
4203
5129
 
4204
5130
 
4205
 
 
4206
 
ac_ext=cc
 
5131
ac_ext=cpp
4207
5132
ac_cpp='$CXXCPP $CPPFLAGS'
4208
5133
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4209
5134
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4231
5156
}
4232
5157
_ACEOF
4233
5158
rm -f conftest.$ac_objext conftest$ac_exeext
4234
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4235
 
  (eval $ac_link) 2>conftest.er1
 
5159
if { (ac_try="$ac_link"
 
5160
case "(($ac_try" in
 
5161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5162
  *) ac_try_echo=$ac_try;;
 
5163
esac
 
5164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5165
  (eval "$ac_link") 2>conftest.er1
4236
5166
  ac_status=$?
4237
5167
  grep -v '^ *+' conftest.er1 >conftest.err
4238
5168
  rm -f conftest.er1
4239
5169
  cat conftest.err >&5
4240
5170
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241
5171
  (exit $ac_status); } &&
4242
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4243
 
                         || test ! -s conftest.err'
4244
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4245
 
  (eval $ac_try) 2>&5
 
5172
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5173
  { (case "(($ac_try" in
 
5174
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5175
  *) ac_try_echo=$ac_try;;
 
5176
esac
 
5177
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5178
  (eval "$ac_try") 2>&5
4246
5179
  ac_status=$?
4247
5180
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248
5181
  (exit $ac_status); }; } &&
4249
5182
         { ac_try='test -s conftest$ac_exeext'
4250
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4251
 
  (eval $ac_try) 2>&5
 
5183
  { (case "(($ac_try" in
 
5184
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5185
  *) ac_try_echo=$ac_try;;
 
5186
esac
 
5187
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5188
  (eval "$ac_try") 2>&5
4252
5189
  ac_status=$?
4253
5190
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254
5191
  (exit $ac_status); }; }; then
4257
5194
  echo "$as_me: failed program was:" >&5
4258
5195
sed 's/^/| /' conftest.$ac_ext >&5
4259
5196
 
 
5197
 
4260
5198
fi
4261
 
rm -f conftest.err conftest.$ac_objext \
 
5199
 
 
5200
rm -f core conftest.err conftest.$ac_objext \
4262
5201
      conftest$ac_exeext conftest.$ac_ext
4263
5202
  CXXFLAGS="$save_CXXFLAGS"
4264
5203
  ac_ext=c
4271
5210
fi
4272
5211
 
4273
5212
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4274
 
 echo "$as_me:$LINENO: result: yes" >&5
4275
 
echo "${ECHO_T}yes" >&6
 
5213
 { echo "$as_me:$LINENO: result: yes" >&5
 
5214
echo "${ECHO_T}yes" >&6; }
4276
5215
 :
4277
5216
 CXXFLAGS="-fno-builtin $CXXFLAGS"
4278
5217
else
4279
 
 echo "$as_me:$LINENO: result: no" >&5
4280
 
echo "${ECHO_T}no" >&6
 
5218
 { echo "$as_me:$LINENO: result: no" >&5
 
5219
echo "${ECHO_T}no" >&6; }
4281
5220
 :
4282
5221
 
4283
5222
fi
4284
5223
 
4285
5224
 
4286
5225
 
4287
 
echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
4288
 
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6
 
5226
{ echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
 
5227
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6; }
4289
5228
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
4290
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5229
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4291
5230
  echo $ECHO_N "(cached) $ECHO_C" >&6
4292
5231
else
4293
5232
 
4294
5233
 
4295
 
 
4296
 
   ac_ext=cc
 
5234
   ac_ext=cpp
4297
5235
ac_cpp='$CXXCPP $CPPFLAGS'
4298
5236
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4299
5237
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4320
5258
}
4321
5259
_ACEOF
4322
5260
rm -f conftest.$ac_objext conftest$ac_exeext
4323
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4324
 
  (eval $ac_link) 2>conftest.er1
 
5261
if { (ac_try="$ac_link"
 
5262
case "(($ac_try" in
 
5263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5264
  *) ac_try_echo=$ac_try;;
 
5265
esac
 
5266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5267
  (eval "$ac_link") 2>conftest.er1
4325
5268
  ac_status=$?
4326
5269
  grep -v '^ *+' conftest.er1 >conftest.err
4327
5270
  rm -f conftest.er1
4328
5271
  cat conftest.err >&5
4329
5272
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330
5273
  (exit $ac_status); } &&
4331
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4332
 
                         || test ! -s conftest.err'
4333
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334
 
  (eval $ac_try) 2>&5
 
5274
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5275
  { (case "(($ac_try" in
 
5276
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5277
  *) ac_try_echo=$ac_try;;
 
5278
esac
 
5279
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5280
  (eval "$ac_try") 2>&5
4335
5281
  ac_status=$?
4336
5282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337
5283
  (exit $ac_status); }; } &&
4338
5284
         { ac_try='test -s conftest$ac_exeext'
4339
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4340
 
  (eval $ac_try) 2>&5
 
5285
  { (case "(($ac_try" in
 
5286
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5287
  *) ac_try_echo=$ac_try;;
 
5288
esac
 
5289
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5290
  (eval "$ac_try") 2>&5
4341
5291
  ac_status=$?
4342
5292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343
5293
  (exit $ac_status); }; }; then
4346
5296
  echo "$as_me: failed program was:" >&5
4347
5297
sed 's/^/| /' conftest.$ac_ext >&5
4348
5298
 
 
5299
 
4349
5300
fi
4350
 
rm -f conftest.err conftest.$ac_objext \
 
5301
 
 
5302
rm -f core conftest.err conftest.$ac_objext \
4351
5303
      conftest$ac_exeext conftest.$ac_ext
4352
5304
  CXXFLAGS="$save_CXXFLAGS"
4353
5305
  ac_ext=c
4360
5312
fi
4361
5313
 
4362
5314
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4363
 
 echo "$as_me:$LINENO: result: yes" >&5
4364
 
echo "${ECHO_T}yes" >&6
 
5315
 { echo "$as_me:$LINENO: result: yes" >&5
 
5316
echo "${ECHO_T}yes" >&6; }
4365
5317
 :
4366
5318
 WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
4367
5319
else
4368
 
 echo "$as_me:$LINENO: result: no" >&5
4369
 
echo "${ECHO_T}no" >&6
 
5320
 { echo "$as_me:$LINENO: result: no" >&5
 
5321
echo "${ECHO_T}no" >&6; }
4370
5322
 :
4371
5323
 WOVERLOADED_VRITUAL=""
4372
5324
fi
4387
5339
 
4388
5340
  if test "$kde_use_profiling" = "yes"; then
4389
5341
 
4390
 
echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
4391
 
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6
 
5342
{ echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
 
5343
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6; }
4392
5344
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
4393
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5345
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4394
5346
  echo $ECHO_N "(cached) $ECHO_C" >&6
4395
5347
else
4396
5348
 
4397
5349
 
4398
 
 
4399
 
   ac_ext=cc
 
5350
   ac_ext=cpp
4400
5351
ac_cpp='$CXXCPP $CPPFLAGS'
4401
5352
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402
5353
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4423
5374
}
4424
5375
_ACEOF
4425
5376
rm -f conftest.$ac_objext conftest$ac_exeext
4426
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4427
 
  (eval $ac_link) 2>conftest.er1
 
5377
if { (ac_try="$ac_link"
 
5378
case "(($ac_try" in
 
5379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5380
  *) ac_try_echo=$ac_try;;
 
5381
esac
 
5382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5383
  (eval "$ac_link") 2>conftest.er1
4428
5384
  ac_status=$?
4429
5385
  grep -v '^ *+' conftest.er1 >conftest.err
4430
5386
  rm -f conftest.er1
4431
5387
  cat conftest.err >&5
4432
5388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433
5389
  (exit $ac_status); } &&
4434
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4435
 
                         || test ! -s conftest.err'
4436
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4437
 
  (eval $ac_try) 2>&5
 
5390
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5391
  { (case "(($ac_try" in
 
5392
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5393
  *) ac_try_echo=$ac_try;;
 
5394
esac
 
5395
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5396
  (eval "$ac_try") 2>&5
4438
5397
  ac_status=$?
4439
5398
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440
5399
  (exit $ac_status); }; } &&
4441
5400
         { ac_try='test -s conftest$ac_exeext'
4442
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4443
 
  (eval $ac_try) 2>&5
 
5401
  { (case "(($ac_try" in
 
5402
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5403
  *) ac_try_echo=$ac_try;;
 
5404
esac
 
5405
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5406
  (eval "$ac_try") 2>&5
4444
5407
  ac_status=$?
4445
5408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446
5409
  (exit $ac_status); }; }; then
4449
5412
  echo "$as_me: failed program was:" >&5
4450
5413
sed 's/^/| /' conftest.$ac_ext >&5
4451
5414
 
 
5415
 
4452
5416
fi
4453
 
rm -f conftest.err conftest.$ac_objext \
 
5417
 
 
5418
rm -f core conftest.err conftest.$ac_objext \
4454
5419
      conftest$ac_exeext conftest.$ac_ext
4455
5420
  CXXFLAGS="$save_CXXFLAGS"
4456
5421
  ac_ext=c
4463
5428
fi
4464
5429
 
4465
5430
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4466
 
 echo "$as_me:$LINENO: result: yes" >&5
4467
 
echo "${ECHO_T}yes" >&6
 
5431
 { echo "$as_me:$LINENO: result: yes" >&5
 
5432
echo "${ECHO_T}yes" >&6; }
4468
5433
 :
4469
5434
 
4470
5435
      CFLAGS="-pg $CFLAGS"
4471
5436
      CXXFLAGS="-pg $CXXFLAGS"
4472
5437
 
4473
5438
else
4474
 
 echo "$as_me:$LINENO: result: no" >&5
4475
 
echo "${ECHO_T}no" >&6
 
5439
 { echo "$as_me:$LINENO: result: no" >&5
 
5440
echo "${ECHO_T}no" >&6; }
4476
5441
 :
4477
5442
 
4478
5443
fi
4481
5446
 
4482
5447
  if test "$kde_use_warnings" = "yes"; then
4483
5448
      if test "$GCC" = "yes"; then
4484
 
                CXXFLAGS="-Wall -W -Wpointer-arith -Wno-non-virtual-dtor $CXXFLAGS"
 
5449
        CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
4485
5450
        case $host in
4486
5451
          *-*-linux-gnu)
4487
5452
            CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
4488
5453
            CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
4489
5454
 
4490
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
4491
 
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6
 
5455
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
 
5456
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6; }
4492
5457
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
4493
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5458
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4494
5459
  echo $ECHO_N "(cached) $ECHO_C" >&6
4495
5460
else
4496
5461
 
4497
5462
 
4498
 
 
4499
 
   ac_ext=cc
 
5463
   ac_ext=cpp
4500
5464
ac_cpp='$CXXCPP $CPPFLAGS'
4501
5465
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4502
5466
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4523
5487
}
4524
5488
_ACEOF
4525
5489
rm -f conftest.$ac_objext conftest$ac_exeext
4526
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4527
 
  (eval $ac_link) 2>conftest.er1
 
5490
if { (ac_try="$ac_link"
 
5491
case "(($ac_try" in
 
5492
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5493
  *) ac_try_echo=$ac_try;;
 
5494
esac
 
5495
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5496
  (eval "$ac_link") 2>conftest.er1
4528
5497
  ac_status=$?
4529
5498
  grep -v '^ *+' conftest.er1 >conftest.err
4530
5499
  rm -f conftest.er1
4531
5500
  cat conftest.err >&5
4532
5501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533
5502
  (exit $ac_status); } &&
4534
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4535
 
                         || test ! -s conftest.err'
4536
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4537
 
  (eval $ac_try) 2>&5
 
5503
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5504
  { (case "(($ac_try" in
 
5505
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5506
  *) ac_try_echo=$ac_try;;
 
5507
esac
 
5508
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5509
  (eval "$ac_try") 2>&5
4538
5510
  ac_status=$?
4539
5511
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540
5512
  (exit $ac_status); }; } &&
4541
5513
         { ac_try='test -s conftest$ac_exeext'
4542
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4543
 
  (eval $ac_try) 2>&5
 
5514
  { (case "(($ac_try" in
 
5515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5516
  *) ac_try_echo=$ac_try;;
 
5517
esac
 
5518
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5519
  (eval "$ac_try") 2>&5
4544
5520
  ac_status=$?
4545
5521
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546
5522
  (exit $ac_status); }; }; then
4549
5525
  echo "$as_me: failed program was:" >&5
4550
5526
sed 's/^/| /' conftest.$ac_ext >&5
4551
5527
 
 
5528
 
4552
5529
fi
4553
 
rm -f conftest.err conftest.$ac_objext \
 
5530
 
 
5531
rm -f core conftest.err conftest.$ac_objext \
4554
5532
      conftest$ac_exeext conftest.$ac_ext
4555
5533
  CXXFLAGS="$save_CXXFLAGS"
4556
5534
  ac_ext=c
4563
5541
fi
4564
5542
 
4565
5543
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4566
 
 echo "$as_me:$LINENO: result: yes" >&5
4567
 
echo "${ECHO_T}yes" >&6
 
5544
 { echo "$as_me:$LINENO: result: yes" >&5
 
5545
echo "${ECHO_T}yes" >&6; }
4568
5546
 :
4569
5547
 CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
4570
5548
else
4571
 
 echo "$as_me:$LINENO: result: no" >&5
4572
 
echo "${ECHO_T}no" >&6
 
5549
 { echo "$as_me:$LINENO: result: no" >&5
 
5550
echo "${ECHO_T}no" >&6; }
4573
5551
 :
4574
5552
 
4575
5553
fi
4576
5554
 
4577
5555
 
4578
 
echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
4579
 
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6
 
5556
{ echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
 
5557
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6; }
4580
5558
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
4581
 
if eval "test \"\${kde_cv_prog_cc_$kde_cache+set}\" = set"; then
 
5559
if { as_var=kde_cv_prog_cc_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4582
5560
  echo $ECHO_N "(cached) $ECHO_C" >&6
4583
5561
else
4584
5562
 
4585
5563
 
4586
 
 
4587
5564
  ac_ext=c
4588
5565
ac_cpp='$CPP $CPPFLAGS'
4589
5566
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4608
5585
}
4609
5586
_ACEOF
4610
5587
rm -f conftest.$ac_objext conftest$ac_exeext
4611
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4612
 
  (eval $ac_link) 2>conftest.er1
 
5588
if { (ac_try="$ac_link"
 
5589
case "(($ac_try" in
 
5590
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5591
  *) ac_try_echo=$ac_try;;
 
5592
esac
 
5593
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5594
  (eval "$ac_link") 2>conftest.er1
4613
5595
  ac_status=$?
4614
5596
  grep -v '^ *+' conftest.er1 >conftest.err
4615
5597
  rm -f conftest.er1
4616
5598
  cat conftest.err >&5
4617
5599
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618
5600
  (exit $ac_status); } &&
4619
 
         { ac_try='test -z "$ac_c_werror_flag"
4620
 
                         || test ! -s conftest.err'
4621
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4622
 
  (eval $ac_try) 2>&5
 
5601
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5602
  { (case "(($ac_try" in
 
5603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5604
  *) ac_try_echo=$ac_try;;
 
5605
esac
 
5606
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5607
  (eval "$ac_try") 2>&5
4623
5608
  ac_status=$?
4624
5609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625
5610
  (exit $ac_status); }; } &&
4626
5611
         { ac_try='test -s conftest$ac_exeext'
4627
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4628
 
  (eval $ac_try) 2>&5
 
5612
  { (case "(($ac_try" in
 
5613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5614
  *) ac_try_echo=$ac_try;;
 
5615
esac
 
5616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5617
  (eval "$ac_try") 2>&5
4629
5618
  ac_status=$?
4630
5619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631
5620
  (exit $ac_status); }; }; then
4634
5623
  echo "$as_me: failed program was:" >&5
4635
5624
sed 's/^/| /' conftest.$ac_ext >&5
4636
5625
 
 
5626
 
4637
5627
fi
4638
 
rm -f conftest.err conftest.$ac_objext \
 
5628
 
 
5629
rm -f core conftest.err conftest.$ac_objext \
4639
5630
      conftest$ac_exeext conftest.$ac_ext
4640
5631
  CFLAGS="$save_CFLAGS"
4641
5632
  ac_ext=c
4648
5639
fi
4649
5640
 
4650
5641
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
4651
 
 echo "$as_me:$LINENO: result: yes" >&5
4652
 
echo "${ECHO_T}yes" >&6
 
5642
 { echo "$as_me:$LINENO: result: yes" >&5
 
5643
echo "${ECHO_T}yes" >&6; }
4653
5644
 :
4654
5645
 CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
4655
5646
else
4656
 
 echo "$as_me:$LINENO: result: no" >&5
4657
 
echo "${ECHO_T}no" >&6
 
5647
 { echo "$as_me:$LINENO: result: no" >&5
 
5648
echo "${ECHO_T}no" >&6; }
4658
5649
 :
4659
5650
 
4660
5651
fi
4662
5653
          ;;
4663
5654
        esac
4664
5655
 
4665
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
4666
 
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6
 
5656
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
 
5657
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6; }
4667
5658
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
4668
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5659
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4669
5660
  echo $ECHO_N "(cached) $ECHO_C" >&6
4670
5661
else
4671
5662
 
4672
5663
 
4673
 
 
4674
 
   ac_ext=cc
 
5664
   ac_ext=cpp
4675
5665
ac_cpp='$CXXCPP $CPPFLAGS'
4676
5666
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677
5667
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698
5688
}
4699
5689
_ACEOF
4700
5690
rm -f conftest.$ac_objext conftest$ac_exeext
4701
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4702
 
  (eval $ac_link) 2>conftest.er1
 
5691
if { (ac_try="$ac_link"
 
5692
case "(($ac_try" in
 
5693
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5694
  *) ac_try_echo=$ac_try;;
 
5695
esac
 
5696
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5697
  (eval "$ac_link") 2>conftest.er1
4703
5698
  ac_status=$?
4704
5699
  grep -v '^ *+' conftest.er1 >conftest.err
4705
5700
  rm -f conftest.er1
4706
5701
  cat conftest.err >&5
4707
5702
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708
5703
  (exit $ac_status); } &&
4709
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4710
 
                         || test ! -s conftest.err'
4711
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712
 
  (eval $ac_try) 2>&5
 
5704
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5705
  { (case "(($ac_try" in
 
5706
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5707
  *) ac_try_echo=$ac_try;;
 
5708
esac
 
5709
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5710
  (eval "$ac_try") 2>&5
4713
5711
  ac_status=$?
4714
5712
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715
5713
  (exit $ac_status); }; } &&
4716
5714
         { ac_try='test -s conftest$ac_exeext'
4717
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718
 
  (eval $ac_try) 2>&5
 
5715
  { (case "(($ac_try" in
 
5716
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5717
  *) ac_try_echo=$ac_try;;
 
5718
esac
 
5719
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5720
  (eval "$ac_try") 2>&5
4719
5721
  ac_status=$?
4720
5722
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721
5723
  (exit $ac_status); }; }; then
4724
5726
  echo "$as_me: failed program was:" >&5
4725
5727
sed 's/^/| /' conftest.$ac_ext >&5
4726
5728
 
 
5729
 
4727
5730
fi
4728
 
rm -f conftest.err conftest.$ac_objext \
 
5731
 
 
5732
rm -f core conftest.err conftest.$ac_objext \
4729
5733
      conftest$ac_exeext conftest.$ac_ext
4730
5734
  CXXFLAGS="$save_CXXFLAGS"
4731
5735
  ac_ext=c
4738
5742
fi
4739
5743
 
4740
5744
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4741
 
 echo "$as_me:$LINENO: result: yes" >&5
4742
 
echo "${ECHO_T}yes" >&6
 
5745
 { echo "$as_me:$LINENO: result: yes" >&5
 
5746
echo "${ECHO_T}yes" >&6; }
4743
5747
 :
4744
5748
 CXXFLAGS="-Wundef $CXXFLAGS"
4745
5749
else
4746
 
 echo "$as_me:$LINENO: result: no" >&5
4747
 
echo "${ECHO_T}no" >&6
 
5750
 { echo "$as_me:$LINENO: result: no" >&5
 
5751
echo "${ECHO_T}no" >&6; }
4748
5752
 :
4749
5753
 
4750
5754
fi
4751
5755
 
4752
5756
 
4753
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
4754
 
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6
 
5757
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
 
5758
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6; }
4755
5759
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
4756
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5760
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4757
5761
  echo $ECHO_N "(cached) $ECHO_C" >&6
4758
5762
else
4759
5763
 
4760
5764
 
4761
 
 
4762
 
   ac_ext=cc
 
5765
   ac_ext=cpp
4763
5766
ac_cpp='$CXXCPP $CPPFLAGS'
4764
5767
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4765
5768
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4786
5789
}
4787
5790
_ACEOF
4788
5791
rm -f conftest.$ac_objext conftest$ac_exeext
4789
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4790
 
  (eval $ac_link) 2>conftest.er1
 
5792
if { (ac_try="$ac_link"
 
5793
case "(($ac_try" in
 
5794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5795
  *) ac_try_echo=$ac_try;;
 
5796
esac
 
5797
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5798
  (eval "$ac_link") 2>conftest.er1
4791
5799
  ac_status=$?
4792
5800
  grep -v '^ *+' conftest.er1 >conftest.err
4793
5801
  rm -f conftest.er1
4794
5802
  cat conftest.err >&5
4795
5803
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796
5804
  (exit $ac_status); } &&
4797
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4798
 
                         || test ! -s conftest.err'
4799
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800
 
  (eval $ac_try) 2>&5
 
5805
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5806
  { (case "(($ac_try" in
 
5807
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5808
  *) ac_try_echo=$ac_try;;
 
5809
esac
 
5810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5811
  (eval "$ac_try") 2>&5
4801
5812
  ac_status=$?
4802
5813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803
5814
  (exit $ac_status); }; } &&
4804
5815
         { ac_try='test -s conftest$ac_exeext'
4805
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806
 
  (eval $ac_try) 2>&5
 
5816
  { (case "(($ac_try" in
 
5817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5818
  *) ac_try_echo=$ac_try;;
 
5819
esac
 
5820
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5821
  (eval "$ac_try") 2>&5
4807
5822
  ac_status=$?
4808
5823
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809
5824
  (exit $ac_status); }; }; then
4812
5827
  echo "$as_me: failed program was:" >&5
4813
5828
sed 's/^/| /' conftest.$ac_ext >&5
4814
5829
 
 
5830
 
4815
5831
fi
4816
 
rm -f conftest.err conftest.$ac_objext \
 
5832
 
 
5833
rm -f core conftest.err conftest.$ac_objext \
4817
5834
      conftest$ac_exeext conftest.$ac_ext
4818
5835
  CXXFLAGS="$save_CXXFLAGS"
4819
5836
  ac_ext=c
4826
5843
fi
4827
5844
 
4828
5845
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4829
 
 echo "$as_me:$LINENO: result: yes" >&5
4830
 
echo "${ECHO_T}yes" >&6
 
5846
 { echo "$as_me:$LINENO: result: yes" >&5
 
5847
echo "${ECHO_T}yes" >&6; }
4831
5848
 :
4832
5849
 CXXFLAGS="-Wno-long-long $CXXFLAGS"
4833
5850
else
4834
 
 echo "$as_me:$LINENO: result: no" >&5
4835
 
echo "${ECHO_T}no" >&6
 
5851
 { echo "$as_me:$LINENO: result: no" >&5
 
5852
echo "${ECHO_T}no" >&6; }
4836
5853
 :
4837
5854
 
4838
5855
fi
4839
5856
 
4840
5857
 
4841
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wnon-virtual-dtor" >&5
4842
 
echo $ECHO_N "checking whether $CXX supports -Wnon-virtual-dtor... $ECHO_C" >&6
4843
 
kde_cache=`echo Wnon-virtual-dtor | sed 'y% .=/+-,%____p__%'`
4844
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5858
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
 
5859
echo $ECHO_N "checking whether $CXX supports -Wno-non-virtual-dtor... $ECHO_C" >&6; }
 
5860
kde_cache=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
 
5861
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4845
5862
  echo $ECHO_N "(cached) $ECHO_C" >&6
4846
5863
else
4847
5864
 
4848
5865
 
4849
 
 
4850
 
   ac_ext=cc
 
5866
   ac_ext=cpp
4851
5867
ac_cpp='$CXXCPP $CPPFLAGS'
4852
5868
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4853
5869
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4857
5873
 
4858
5874
 
4859
5875
  save_CXXFLAGS="$CXXFLAGS"
4860
 
  CXXFLAGS="$CXXFLAGS -Wnon-virtual-dtor"
 
5876
  CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
4861
5877
  cat >conftest.$ac_ext <<_ACEOF
4862
5878
/* confdefs.h.  */
4863
5879
_ACEOF
4874
5890
}
4875
5891
_ACEOF
4876
5892
rm -f conftest.$ac_objext conftest$ac_exeext
4877
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4878
 
  (eval $ac_link) 2>conftest.er1
 
5893
if { (ac_try="$ac_link"
 
5894
case "(($ac_try" in
 
5895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5896
  *) ac_try_echo=$ac_try;;
 
5897
esac
 
5898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5899
  (eval "$ac_link") 2>conftest.er1
4879
5900
  ac_status=$?
4880
5901
  grep -v '^ *+' conftest.er1 >conftest.err
4881
5902
  rm -f conftest.er1
4882
5903
  cat conftest.err >&5
4883
5904
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884
5905
  (exit $ac_status); } &&
4885
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4886
 
                         || test ! -s conftest.err'
4887
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4888
 
  (eval $ac_try) 2>&5
 
5906
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5907
  { (case "(($ac_try" in
 
5908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5909
  *) ac_try_echo=$ac_try;;
 
5910
esac
 
5911
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5912
  (eval "$ac_try") 2>&5
4889
5913
  ac_status=$?
4890
5914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891
5915
  (exit $ac_status); }; } &&
4892
5916
         { ac_try='test -s conftest$ac_exeext'
4893
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894
 
  (eval $ac_try) 2>&5
 
5917
  { (case "(($ac_try" in
 
5918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5919
  *) ac_try_echo=$ac_try;;
 
5920
esac
 
5921
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5922
  (eval "$ac_try") 2>&5
4895
5923
  ac_status=$?
4896
5924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897
5925
  (exit $ac_status); }; }; then
4900
5928
  echo "$as_me: failed program was:" >&5
4901
5929
sed 's/^/| /' conftest.$ac_ext >&5
4902
5930
 
 
5931
 
4903
5932
fi
4904
 
rm -f conftest.err conftest.$ac_objext \
 
5933
 
 
5934
rm -f core conftest.err conftest.$ac_objext \
4905
5935
      conftest$ac_exeext conftest.$ac_ext
4906
5936
  CXXFLAGS="$save_CXXFLAGS"
4907
5937
  ac_ext=c
4914
5944
fi
4915
5945
 
4916
5946
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4917
 
 echo "$as_me:$LINENO: result: yes" >&5
4918
 
echo "${ECHO_T}yes" >&6
 
5947
 { echo "$as_me:$LINENO: result: yes" >&5
 
5948
echo "${ECHO_T}yes" >&6; }
4919
5949
 :
4920
 
 CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"
 
5950
 CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
4921
5951
else
4922
 
 echo "$as_me:$LINENO: result: no" >&5
4923
 
echo "${ECHO_T}no" >&6
 
5952
 { echo "$as_me:$LINENO: result: no" >&5
 
5953
echo "${ECHO_T}no" >&6; }
4924
5954
 :
4925
5955
 
4926
5956
fi
4932
5962
    CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
4933
5963
  fi
4934
5964
 
4935
 
  # Check whether --enable-pch or --disable-pch was given.
 
5965
  # Check whether --enable-pch was given.
4936
5966
if test "${enable_pch+set}" = set; then
4937
 
  enableval="$enable_pch"
4938
 
   kde_use_pch=$enableval
 
5967
  enableval=$enable_pch;  kde_use_pch=$enableval
4939
5968
else
4940
5969
   kde_use_pch=no
4941
 
fi;
 
5970
fi
 
5971
 
4942
5972
 
4943
5973
  HAVE_GCC_VISIBILITY=0
4944
5974
 
4945
5975
 
4946
5976
  if test "$GXX" = "yes"; then
4947
 
 
4948
 
echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
4949
 
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6
 
5977
    gcc_no_reorder_blocks=NO
 
5978
 
 
5979
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-reorder-blocks" >&5
 
5980
echo $ECHO_N "checking whether $CXX supports -fno-reorder-blocks... $ECHO_C" >&6; }
 
5981
kde_cache=`echo fno-reorder-blocks | sed 'y% .=/+-,%____p__%'`
 
5982
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
 
5983
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5984
else
 
5985
 
 
5986
 
 
5987
   ac_ext=cpp
 
5988
ac_cpp='$CXXCPP $CPPFLAGS'
 
5989
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5990
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5991
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
5992
 
 
5993
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
5994
 
 
5995
 
 
5996
  save_CXXFLAGS="$CXXFLAGS"
 
5997
  CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
 
5998
  cat >conftest.$ac_ext <<_ACEOF
 
5999
/* confdefs.h.  */
 
6000
_ACEOF
 
6001
cat confdefs.h >>conftest.$ac_ext
 
6002
cat >>conftest.$ac_ext <<_ACEOF
 
6003
/* end confdefs.h.  */
 
6004
 
 
6005
int
 
6006
main ()
 
6007
{
 
6008
 return 0;
 
6009
  ;
 
6010
  return 0;
 
6011
}
 
6012
_ACEOF
 
6013
rm -f conftest.$ac_objext conftest$ac_exeext
 
6014
if { (ac_try="$ac_link"
 
6015
case "(($ac_try" in
 
6016
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6017
  *) ac_try_echo=$ac_try;;
 
6018
esac
 
6019
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6020
  (eval "$ac_link") 2>conftest.er1
 
6021
  ac_status=$?
 
6022
  grep -v '^ *+' conftest.er1 >conftest.err
 
6023
  rm -f conftest.er1
 
6024
  cat conftest.err >&5
 
6025
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6026
  (exit $ac_status); } &&
 
6027
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6028
  { (case "(($ac_try" in
 
6029
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6030
  *) ac_try_echo=$ac_try;;
 
6031
esac
 
6032
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6033
  (eval "$ac_try") 2>&5
 
6034
  ac_status=$?
 
6035
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6036
  (exit $ac_status); }; } &&
 
6037
         { ac_try='test -s conftest$ac_exeext'
 
6038
  { (case "(($ac_try" in
 
6039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6040
  *) ac_try_echo=$ac_try;;
 
6041
esac
 
6042
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6043
  (eval "$ac_try") 2>&5
 
6044
  ac_status=$?
 
6045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6046
  (exit $ac_status); }; }; then
 
6047
  eval "kde_cv_prog_cxx_$kde_cache=yes"
 
6048
else
 
6049
  echo "$as_me: failed program was:" >&5
 
6050
sed 's/^/| /' conftest.$ac_ext >&5
 
6051
 
 
6052
 
 
6053
fi
 
6054
 
 
6055
rm -f core conftest.err conftest.$ac_objext \
 
6056
      conftest$ac_exeext conftest.$ac_ext
 
6057
  CXXFLAGS="$save_CXXFLAGS"
 
6058
  ac_ext=c
 
6059
ac_cpp='$CPP $CPPFLAGS'
 
6060
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6061
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6062
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6063
 
 
6064
 
 
6065
fi
 
6066
 
 
6067
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
 
6068
 { echo "$as_me:$LINENO: result: yes" >&5
 
6069
echo "${ECHO_T}yes" >&6; }
 
6070
 :
 
6071
 gcc_no_reorder_blocks=YES
 
6072
else
 
6073
 { echo "$as_me:$LINENO: result: no" >&5
 
6074
echo "${ECHO_T}no" >&6; }
 
6075
 :
 
6076
 
 
6077
fi
 
6078
 
 
6079
    if test $kde_use_debug_code != "no" && \
 
6080
       test $kde_use_debug_code != "full" && \
 
6081
       test "YES" = "$gcc_no_reorder_blocks" ; then
 
6082
          CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
 
6083
          CFLAGS="$CFLAGS -fno-reorder-blocks"
 
6084
    fi
 
6085
 
 
6086
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
 
6087
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6; }
4950
6088
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
4951
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6089
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4952
6090
  echo $ECHO_N "(cached) $ECHO_C" >&6
4953
6091
else
4954
6092
 
4955
6093
 
4956
 
 
4957
 
   ac_ext=cc
 
6094
   ac_ext=cpp
4958
6095
ac_cpp='$CXXCPP $CPPFLAGS'
4959
6096
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4960
6097
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4981
6118
}
4982
6119
_ACEOF
4983
6120
rm -f conftest.$ac_objext conftest$ac_exeext
4984
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4985
 
  (eval $ac_link) 2>conftest.er1
 
6121
if { (ac_try="$ac_link"
 
6122
case "(($ac_try" in
 
6123
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6124
  *) ac_try_echo=$ac_try;;
 
6125
esac
 
6126
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6127
  (eval "$ac_link") 2>conftest.er1
4986
6128
  ac_status=$?
4987
6129
  grep -v '^ *+' conftest.er1 >conftest.err
4988
6130
  rm -f conftest.er1
4989
6131
  cat conftest.err >&5
4990
6132
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991
6133
  (exit $ac_status); } &&
4992
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4993
 
                         || test ! -s conftest.err'
4994
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4995
 
  (eval $ac_try) 2>&5
 
6134
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6135
  { (case "(($ac_try" in
 
6136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6137
  *) ac_try_echo=$ac_try;;
 
6138
esac
 
6139
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6140
  (eval "$ac_try") 2>&5
4996
6141
  ac_status=$?
4997
6142
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998
6143
  (exit $ac_status); }; } &&
4999
6144
         { ac_try='test -s conftest$ac_exeext'
5000
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5001
 
  (eval $ac_try) 2>&5
 
6145
  { (case "(($ac_try" in
 
6146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6147
  *) ac_try_echo=$ac_try;;
 
6148
esac
 
6149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6150
  (eval "$ac_try") 2>&5
5002
6151
  ac_status=$?
5003
6152
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004
6153
  (exit $ac_status); }; }; then
5007
6156
  echo "$as_me: failed program was:" >&5
5008
6157
sed 's/^/| /' conftest.$ac_ext >&5
5009
6158
 
 
6159
 
5010
6160
fi
5011
 
rm -f conftest.err conftest.$ac_objext \
 
6161
 
 
6162
rm -f core conftest.err conftest.$ac_objext \
5012
6163
      conftest$ac_exeext conftest.$ac_ext
5013
6164
  CXXFLAGS="$save_CXXFLAGS"
5014
6165
  ac_ext=c
5021
6172
fi
5022
6173
 
5023
6174
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5024
 
 echo "$as_me:$LINENO: result: yes" >&5
5025
 
echo "${ECHO_T}yes" >&6
 
6175
 { echo "$as_me:$LINENO: result: yes" >&5
 
6176
echo "${ECHO_T}yes" >&6; }
5026
6177
 :
5027
6178
 CXXFLAGS="$CXXFLAGS -fno-exceptions"
5028
6179
else
5029
 
 echo "$as_me:$LINENO: result: no" >&5
5030
 
echo "${ECHO_T}no" >&6
 
6180
 { echo "$as_me:$LINENO: result: no" >&5
 
6181
echo "${ECHO_T}no" >&6; }
5031
6182
 :
5032
6183
 
5033
6184
fi
5034
6185
 
5035
6186
 
5036
 
echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5037
 
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6
 
6187
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
 
6188
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6; }
5038
6189
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5039
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6190
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5040
6191
  echo $ECHO_N "(cached) $ECHO_C" >&6
5041
6192
else
5042
6193
 
5043
6194
 
5044
 
 
5045
 
   ac_ext=cc
 
6195
   ac_ext=cpp
5046
6196
ac_cpp='$CXXCPP $CPPFLAGS'
5047
6197
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5048
6198
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069
6219
}
5070
6220
_ACEOF
5071
6221
rm -f conftest.$ac_objext conftest$ac_exeext
5072
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5073
 
  (eval $ac_link) 2>conftest.er1
 
6222
if { (ac_try="$ac_link"
 
6223
case "(($ac_try" in
 
6224
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6225
  *) ac_try_echo=$ac_try;;
 
6226
esac
 
6227
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6228
  (eval "$ac_link") 2>conftest.er1
5074
6229
  ac_status=$?
5075
6230
  grep -v '^ *+' conftest.er1 >conftest.err
5076
6231
  rm -f conftest.er1
5077
6232
  cat conftest.err >&5
5078
6233
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079
6234
  (exit $ac_status); } &&
5080
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5081
 
                         || test ! -s conftest.err'
5082
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5083
 
  (eval $ac_try) 2>&5
 
6235
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6236
  { (case "(($ac_try" in
 
6237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6238
  *) ac_try_echo=$ac_try;;
 
6239
esac
 
6240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6241
  (eval "$ac_try") 2>&5
5084
6242
  ac_status=$?
5085
6243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086
6244
  (exit $ac_status); }; } &&
5087
6245
         { ac_try='test -s conftest$ac_exeext'
5088
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5089
 
  (eval $ac_try) 2>&5
 
6246
  { (case "(($ac_try" in
 
6247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6248
  *) ac_try_echo=$ac_try;;
 
6249
esac
 
6250
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6251
  (eval "$ac_try") 2>&5
5090
6252
  ac_status=$?
5091
6253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092
6254
  (exit $ac_status); }; }; then
5095
6257
  echo "$as_me: failed program was:" >&5
5096
6258
sed 's/^/| /' conftest.$ac_ext >&5
5097
6259
 
 
6260
 
5098
6261
fi
5099
 
rm -f conftest.err conftest.$ac_objext \
 
6262
 
 
6263
rm -f core conftest.err conftest.$ac_objext \
5100
6264
      conftest$ac_exeext conftest.$ac_ext
5101
6265
  CXXFLAGS="$save_CXXFLAGS"
5102
6266
  ac_ext=c
5109
6273
fi
5110
6274
 
5111
6275
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5112
 
 echo "$as_me:$LINENO: result: yes" >&5
5113
 
echo "${ECHO_T}yes" >&6
 
6276
 { echo "$as_me:$LINENO: result: yes" >&5
 
6277
echo "${ECHO_T}yes" >&6; }
5114
6278
 :
5115
6279
 CXXFLAGS="$CXXFLAGS -fno-check-new"
5116
6280
else
5117
 
 echo "$as_me:$LINENO: result: no" >&5
5118
 
echo "${ECHO_T}no" >&6
 
6281
 { echo "$as_me:$LINENO: result: no" >&5
 
6282
echo "${ECHO_T}no" >&6; }
5119
6283
 :
5120
6284
 
5121
6285
fi
5122
6286
 
5123
6287
 
5124
 
echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5125
 
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6
 
6288
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
 
6289
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6; }
5126
6290
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5127
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6291
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5128
6292
  echo $ECHO_N "(cached) $ECHO_C" >&6
5129
6293
else
5130
6294
 
5131
6295
 
5132
 
 
5133
 
   ac_ext=cc
 
6296
   ac_ext=cpp
5134
6297
ac_cpp='$CXXCPP $CPPFLAGS'
5135
6298
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5136
6299
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5157
6320
}
5158
6321
_ACEOF
5159
6322
rm -f conftest.$ac_objext conftest$ac_exeext
5160
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5161
 
  (eval $ac_link) 2>conftest.er1
 
6323
if { (ac_try="$ac_link"
 
6324
case "(($ac_try" in
 
6325
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6326
  *) ac_try_echo=$ac_try;;
 
6327
esac
 
6328
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6329
  (eval "$ac_link") 2>conftest.er1
5162
6330
  ac_status=$?
5163
6331
  grep -v '^ *+' conftest.er1 >conftest.err
5164
6332
  rm -f conftest.er1
5165
6333
  cat conftest.err >&5
5166
6334
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167
6335
  (exit $ac_status); } &&
5168
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5169
 
                         || test ! -s conftest.err'
5170
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5171
 
  (eval $ac_try) 2>&5
 
6336
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6337
  { (case "(($ac_try" in
 
6338
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6339
  *) ac_try_echo=$ac_try;;
 
6340
esac
 
6341
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6342
  (eval "$ac_try") 2>&5
5172
6343
  ac_status=$?
5173
6344
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174
6345
  (exit $ac_status); }; } &&
5175
6346
         { ac_try='test -s conftest$ac_exeext'
5176
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5177
 
  (eval $ac_try) 2>&5
 
6347
  { (case "(($ac_try" in
 
6348
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6349
  *) ac_try_echo=$ac_try;;
 
6350
esac
 
6351
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6352
  (eval "$ac_try") 2>&5
5178
6353
  ac_status=$?
5179
6354
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180
6355
  (exit $ac_status); }; }; then
5183
6358
  echo "$as_me: failed program was:" >&5
5184
6359
sed 's/^/| /' conftest.$ac_ext >&5
5185
6360
 
 
6361
 
5186
6362
fi
5187
 
rm -f conftest.err conftest.$ac_objext \
 
6363
 
 
6364
rm -f core conftest.err conftest.$ac_objext \
5188
6365
      conftest$ac_exeext conftest.$ac_ext
5189
6366
  CXXFLAGS="$save_CXXFLAGS"
5190
6367
  ac_ext=c
5197
6374
fi
5198
6375
 
5199
6376
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5200
 
 echo "$as_me:$LINENO: result: yes" >&5
5201
 
echo "${ECHO_T}yes" >&6
 
6377
 { echo "$as_me:$LINENO: result: yes" >&5
 
6378
echo "${ECHO_T}yes" >&6; }
5202
6379
 :
5203
6380
 CXXFLAGS="$CXXFLAGS -fno-common"
5204
6381
else
5205
 
 echo "$as_me:$LINENO: result: no" >&5
5206
 
echo "${ECHO_T}no" >&6
 
6382
 { echo "$as_me:$LINENO: result: no" >&5
 
6383
echo "${ECHO_T}no" >&6; }
5207
6384
 :
5208
6385
 
5209
6386
fi
5210
6387
 
5211
6388
 
5212
 
echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
5213
 
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6
 
6389
{ echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
 
6390
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6; }
5214
6391
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
5215
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6392
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5216
6393
  echo $ECHO_N "(cached) $ECHO_C" >&6
5217
6394
else
5218
6395
 
5219
6396
 
5220
 
 
5221
 
   ac_ext=cc
 
6397
   ac_ext=cpp
5222
6398
ac_cpp='$CXXCPP $CPPFLAGS'
5223
6399
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5224
6400
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5245
6421
}
5246
6422
_ACEOF
5247
6423
rm -f conftest.$ac_objext conftest$ac_exeext
5248
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5249
 
  (eval $ac_link) 2>conftest.er1
 
6424
if { (ac_try="$ac_link"
 
6425
case "(($ac_try" in
 
6426
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6427
  *) ac_try_echo=$ac_try;;
 
6428
esac
 
6429
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6430
  (eval "$ac_link") 2>conftest.er1
5250
6431
  ac_status=$?
5251
6432
  grep -v '^ *+' conftest.er1 >conftest.err
5252
6433
  rm -f conftest.er1
5253
6434
  cat conftest.err >&5
5254
6435
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255
6436
  (exit $ac_status); } &&
5256
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5257
 
                         || test ! -s conftest.err'
5258
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5259
 
  (eval $ac_try) 2>&5
 
6437
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6438
  { (case "(($ac_try" in
 
6439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6440
  *) ac_try_echo=$ac_try;;
 
6441
esac
 
6442
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6443
  (eval "$ac_try") 2>&5
5260
6444
  ac_status=$?
5261
6445
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5262
6446
  (exit $ac_status); }; } &&
5263
6447
         { ac_try='test -s conftest$ac_exeext'
5264
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5265
 
  (eval $ac_try) 2>&5
 
6448
  { (case "(($ac_try" in
 
6449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6450
  *) ac_try_echo=$ac_try;;
 
6451
esac
 
6452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6453
  (eval "$ac_try") 2>&5
5266
6454
  ac_status=$?
5267
6455
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268
6456
  (exit $ac_status); }; }; then
5271
6459
  echo "$as_me: failed program was:" >&5
5272
6460
sed 's/^/| /' conftest.$ac_ext >&5
5273
6461
 
 
6462
 
5274
6463
fi
5275
 
rm -f conftest.err conftest.$ac_objext \
 
6464
 
 
6465
rm -f core conftest.err conftest.$ac_objext \
5276
6466
      conftest$ac_exeext conftest.$ac_ext
5277
6467
  CXXFLAGS="$save_CXXFLAGS"
5278
6468
  ac_ext=c
5285
6475
fi
5286
6476
 
5287
6477
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5288
 
 echo "$as_me:$LINENO: result: yes" >&5
5289
 
echo "${ECHO_T}yes" >&6
 
6478
 { echo "$as_me:$LINENO: result: yes" >&5
 
6479
echo "${ECHO_T}yes" >&6; }
5290
6480
 :
5291
6481
 USE_EXCEPTIONS="-fexceptions"
5292
6482
else
5293
 
 echo "$as_me:$LINENO: result: no" >&5
5294
 
echo "${ECHO_T}no" >&6
 
6483
 { echo "$as_me:$LINENO: result: no" >&5
 
6484
echo "${ECHO_T}no" >&6; }
5295
6485
 :
5296
6486
 USE_EXCEPTIONS=
5297
6487
fi
5299
6489
    ENABLE_PERMISSIVE_FLAG="-fpermissive"
5300
6490
 
5301
6491
    if test "$kde_use_pch" = "yes"; then
5302
 
        echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
5303
 
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6
 
6492
        { echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
 
6493
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6; }
5304
6494
        echo >conftest.h
5305
6495
        if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
5306
6496
            kde_gcc_supports_pch=yes
5307
 
            echo "$as_me:$LINENO: result: yes" >&5
5308
 
echo "${ECHO_T}yes" >&6
 
6497
            { echo "$as_me:$LINENO: result: yes" >&5
 
6498
echo "${ECHO_T}yes" >&6; }
5309
6499
        else
5310
6500
            kde_gcc_supports_pch=no
5311
 
            echo "$as_me:$LINENO: result: no" >&5
5312
 
echo "${ECHO_T}no" >&6
 
6501
            { echo "$as_me:$LINENO: result: no" >&5
 
6502
echo "${ECHO_T}no" >&6; }
5313
6503
        fi
5314
6504
        if test "$kde_gcc_supports_pch" = "yes"; then
5315
 
            echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
5316
 
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6
 
6505
            { echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
 
6506
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6; }
5317
6507
            if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
5318
6508
                kde_gcc_supports_pch=yes
5319
 
                echo "$as_me:$LINENO: result: yes" >&5
5320
 
echo "${ECHO_T}yes" >&6
 
6509
                { echo "$as_me:$LINENO: result: yes" >&5
 
6510
echo "${ECHO_T}yes" >&6; }
5321
6511
            else
5322
6512
                kde_gcc_supports_pch=no
5323
 
                echo "$as_me:$LINENO: result: no" >&5
5324
 
echo "${ECHO_T}no" >&6
 
6513
                { echo "$as_me:$LINENO: result: no" >&5
 
6514
echo "${ECHO_T}no" >&6; }
5325
6515
            fi
5326
6516
        fi
5327
6517
        rm -f conftest.h conftest.h.gch
5328
6518
    fi
 
6519
 
 
6520
 
 
6521
  { echo "$as_me:$LINENO: checking whether system headers can cope with -O2 -fno-inline" >&5
 
6522
echo $ECHO_N "checking whether system headers can cope with -O2 -fno-inline... $ECHO_C" >&6; }
 
6523
if test "${kde_cv_opt_noinline_match+set}" = set; then
 
6524
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6525
else
 
6526
 
 
6527
  kde_cv_opt_noinline_match=irrelevant
 
6528
    if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
 
6529
     && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
 
6530
 
 
6531
    ac_cflags_save="$CFLAGS"
 
6532
    CFLAGS="$CFLAGS -D_USE_GNU"
 
6533
 
 
6534
    cat >conftest.$ac_ext <<_ACEOF
 
6535
/* confdefs.h.  */
 
6536
_ACEOF
 
6537
cat confdefs.h >>conftest.$ac_ext
 
6538
cat >>conftest.$ac_ext <<_ACEOF
 
6539
/* end confdefs.h.  */
 
6540
 
 
6541
  #include <string.h>
 
6542
 
 
6543
int
 
6544
main ()
 
6545
{
 
6546
  const char *pt, *et;
 
6547
  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 ,  ";,"  )); }) ;
 
6548
 
 
6549
  ;
 
6550
  return 0;
 
6551
}
 
6552
_ACEOF
 
6553
rm -f conftest.$ac_objext conftest$ac_exeext
 
6554
if { (ac_try="$ac_link"
 
6555
case "(($ac_try" in
 
6556
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6557
  *) ac_try_echo=$ac_try;;
 
6558
esac
 
6559
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6560
  (eval "$ac_link") 2>conftest.er1
 
6561
  ac_status=$?
 
6562
  grep -v '^ *+' conftest.er1 >conftest.err
 
6563
  rm -f conftest.er1
 
6564
  cat conftest.err >&5
 
6565
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6566
  (exit $ac_status); } &&
 
6567
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6568
  { (case "(($ac_try" in
 
6569
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6570
  *) ac_try_echo=$ac_try;;
 
6571
esac
 
6572
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6573
  (eval "$ac_try") 2>&5
 
6574
  ac_status=$?
 
6575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6576
  (exit $ac_status); }; } &&
 
6577
         { ac_try='test -s conftest$ac_exeext'
 
6578
  { (case "(($ac_try" in
 
6579
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6580
  *) ac_try_echo=$ac_try;;
 
6581
esac
 
6582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6583
  (eval "$ac_try") 2>&5
 
6584
  ac_status=$?
 
6585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6586
  (exit $ac_status); }; }; then
 
6587
  kde_cv_opt_noinline_match=yes
 
6588
else
 
6589
  echo "$as_me: failed program was:" >&5
 
6590
sed 's/^/| /' conftest.$ac_ext >&5
 
6591
 
 
6592
        kde_cv_opt_noinline_match=no
 
6593
 
 
6594
fi
 
6595
 
 
6596
rm -f core conftest.err conftest.$ac_objext \
 
6597
      conftest$ac_exeext conftest.$ac_ext
 
6598
 
 
6599
    CFLAGS="$ac_cflags_save"
 
6600
  fi
 
6601
 
 
6602
fi
 
6603
{ echo "$as_me:$LINENO: result: $kde_cv_opt_noinline_match" >&5
 
6604
echo "${ECHO_T}$kde_cv_opt_noinline_match" >&6; }
 
6605
 
 
6606
    if test "x$kde_cv_opt_noinline_match" = "xno" ; then
 
6607
       CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
 
6608
    fi
5329
6609
  fi
5330
6610
 
5331
6611
 
5341
6621
 
5342
6622
    if test "$kde_use_pch" = "yes"; then
5343
6623
 
5344
 
echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
5345
 
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6
 
6624
{ echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
 
6625
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6; }
5346
6626
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
5347
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6627
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5348
6628
  echo $ECHO_N "(cached) $ECHO_C" >&6
5349
6629
else
5350
6630
 
5351
6631
 
5352
 
 
5353
 
   ac_ext=cc
 
6632
   ac_ext=cpp
5354
6633
ac_cpp='$CXXCPP $CPPFLAGS'
5355
6634
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5356
6635
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5377
6656
}
5378
6657
_ACEOF
5379
6658
rm -f conftest.$ac_objext conftest$ac_exeext
5380
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5381
 
  (eval $ac_link) 2>conftest.er1
 
6659
if { (ac_try="$ac_link"
 
6660
case "(($ac_try" in
 
6661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6662
  *) ac_try_echo=$ac_try;;
 
6663
esac
 
6664
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6665
  (eval "$ac_link") 2>conftest.er1
5382
6666
  ac_status=$?
5383
6667
  grep -v '^ *+' conftest.er1 >conftest.err
5384
6668
  rm -f conftest.er1
5385
6669
  cat conftest.err >&5
5386
6670
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387
6671
  (exit $ac_status); } &&
5388
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5389
 
                         || test ! -s conftest.err'
5390
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5391
 
  (eval $ac_try) 2>&5
 
6672
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6673
  { (case "(($ac_try" in
 
6674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6675
  *) ac_try_echo=$ac_try;;
 
6676
esac
 
6677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6678
  (eval "$ac_try") 2>&5
5392
6679
  ac_status=$?
5393
6680
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394
6681
  (exit $ac_status); }; } &&
5395
6682
         { ac_try='test -s conftest$ac_exeext'
5396
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397
 
  (eval $ac_try) 2>&5
 
6683
  { (case "(($ac_try" in
 
6684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6685
  *) ac_try_echo=$ac_try;;
 
6686
esac
 
6687
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6688
  (eval "$ac_try") 2>&5
5398
6689
  ac_status=$?
5399
6690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400
6691
  (exit $ac_status); }; }; then
5403
6694
  echo "$as_me: failed program was:" >&5
5404
6695
sed 's/^/| /' conftest.$ac_ext >&5
5405
6696
 
 
6697
 
5406
6698
fi
5407
 
rm -f conftest.err conftest.$ac_objext \
 
6699
 
 
6700
rm -f core conftest.err conftest.$ac_objext \
5408
6701
      conftest$ac_exeext conftest.$ac_ext
5409
6702
  CXXFLAGS="$save_CXXFLAGS"
5410
6703
  ac_ext=c
5417
6710
fi
5418
6711
 
5419
6712
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5420
 
 echo "$as_me:$LINENO: result: yes" >&5
5421
 
echo "${ECHO_T}yes" >&6
 
6713
 { echo "$as_me:$LINENO: result: yes" >&5
 
6714
echo "${ECHO_T}yes" >&6; }
5422
6715
 :
5423
6716
 CXXFLAGS="$CXXFLAGS --pch"
5424
6717
else
5425
 
 echo "$as_me:$LINENO: result: no" >&5
5426
 
echo "${ECHO_T}no" >&6
 
6718
 { echo "$as_me:$LINENO: result: no" >&5
 
6719
echo "${ECHO_T}no" >&6; }
5427
6720
 :
5428
6721
 
5429
6722
fi
5430
6723
 
5431
6724
                                              fi
5432
6725
 
5433
 
echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
5434
 
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6
 
6726
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
 
6727
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6; }
5435
6728
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
5436
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6729
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5437
6730
  echo $ECHO_N "(cached) $ECHO_C" >&6
5438
6731
else
5439
6732
 
5440
6733
 
5441
 
 
5442
 
   ac_ext=cc
 
6734
   ac_ext=cpp
5443
6735
ac_cpp='$CXXCPP $CPPFLAGS'
5444
6736
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5445
6737
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5466
6758
}
5467
6759
_ACEOF
5468
6760
rm -f conftest.$ac_objext conftest$ac_exeext
5469
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5470
 
  (eval $ac_link) 2>conftest.er1
 
6761
if { (ac_try="$ac_link"
 
6762
case "(($ac_try" in
 
6763
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6764
  *) ac_try_echo=$ac_try;;
 
6765
esac
 
6766
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6767
  (eval "$ac_link") 2>conftest.er1
5471
6768
  ac_status=$?
5472
6769
  grep -v '^ *+' conftest.er1 >conftest.err
5473
6770
  rm -f conftest.er1
5474
6771
  cat conftest.err >&5
5475
6772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476
6773
  (exit $ac_status); } &&
5477
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5478
 
                         || test ! -s conftest.err'
5479
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5480
 
  (eval $ac_try) 2>&5
 
6774
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6775
  { (case "(($ac_try" in
 
6776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6777
  *) ac_try_echo=$ac_try;;
 
6778
esac
 
6779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6780
  (eval "$ac_try") 2>&5
5481
6781
  ac_status=$?
5482
6782
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483
6783
  (exit $ac_status); }; } &&
5484
6784
         { ac_try='test -s conftest$ac_exeext'
5485
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5486
 
  (eval $ac_try) 2>&5
 
6785
  { (case "(($ac_try" in
 
6786
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6787
  *) ac_try_echo=$ac_try;;
 
6788
esac
 
6789
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6790
  (eval "$ac_try") 2>&5
5487
6791
  ac_status=$?
5488
6792
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489
6793
  (exit $ac_status); }; }; then
5492
6796
  echo "$as_me: failed program was:" >&5
5493
6797
sed 's/^/| /' conftest.$ac_ext >&5
5494
6798
 
 
6799
 
5495
6800
fi
5496
 
rm -f conftest.err conftest.$ac_objext \
 
6801
 
 
6802
rm -f core conftest.err conftest.$ac_objext \
5497
6803
      conftest$ac_exeext conftest.$ac_ext
5498
6804
  CXXFLAGS="$save_CXXFLAGS"
5499
6805
  ac_ext=c
5506
6812
fi
5507
6813
 
5508
6814
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5509
 
 echo "$as_me:$LINENO: result: yes" >&5
5510
 
echo "${ECHO_T}yes" >&6
 
6815
 { echo "$as_me:$LINENO: result: yes" >&5
 
6816
echo "${ECHO_T}yes" >&6; }
5511
6817
 :
5512
6818
 CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
5513
6819
else
5514
 
 echo "$as_me:$LINENO: result: no" >&5
5515
 
echo "${ECHO_T}no" >&6
 
6820
 { echo "$as_me:$LINENO: result: no" >&5
 
6821
echo "${ECHO_T}no" >&6; }
5516
6822
 :
5517
6823
 
5518
6824
fi
5519
6825
 
5520
6826
 
5521
 
echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
5522
 
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6
 
6827
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
 
6828
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6; }
5523
6829
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
5524
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6830
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5525
6831
  echo $ECHO_N "(cached) $ECHO_C" >&6
5526
6832
else
5527
6833
 
5528
6834
 
5529
 
 
5530
 
   ac_ext=cc
 
6835
   ac_ext=cpp
5531
6836
ac_cpp='$CXXCPP $CPPFLAGS'
5532
6837
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5533
6838
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5554
6859
}
5555
6860
_ACEOF
5556
6861
rm -f conftest.$ac_objext conftest$ac_exeext
5557
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5558
 
  (eval $ac_link) 2>conftest.er1
 
6862
if { (ac_try="$ac_link"
 
6863
case "(($ac_try" in
 
6864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6865
  *) ac_try_echo=$ac_try;;
 
6866
esac
 
6867
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6868
  (eval "$ac_link") 2>conftest.er1
5559
6869
  ac_status=$?
5560
6870
  grep -v '^ *+' conftest.er1 >conftest.err
5561
6871
  rm -f conftest.er1
5562
6872
  cat conftest.err >&5
5563
6873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564
6874
  (exit $ac_status); } &&
5565
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5566
 
                         || test ! -s conftest.err'
5567
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5568
 
  (eval $ac_try) 2>&5
 
6875
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6876
  { (case "(($ac_try" in
 
6877
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6878
  *) ac_try_echo=$ac_try;;
 
6879
esac
 
6880
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6881
  (eval "$ac_try") 2>&5
5569
6882
  ac_status=$?
5570
6883
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571
6884
  (exit $ac_status); }; } &&
5572
6885
         { ac_try='test -s conftest$ac_exeext'
5573
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574
 
  (eval $ac_try) 2>&5
 
6886
  { (case "(($ac_try" in
 
6887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6888
  *) ac_try_echo=$ac_try;;
 
6889
esac
 
6890
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6891
  (eval "$ac_try") 2>&5
5575
6892
  ac_status=$?
5576
6893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577
6894
  (exit $ac_status); }; }; then
5580
6897
  echo "$as_me: failed program was:" >&5
5581
6898
sed 's/^/| /' conftest.$ac_ext >&5
5582
6899
 
 
6900
 
5583
6901
fi
5584
 
rm -f conftest.err conftest.$ac_objext \
 
6902
 
 
6903
rm -f core conftest.err conftest.$ac_objext \
5585
6904
      conftest$ac_exeext conftest.$ac_ext
5586
6905
  CXXFLAGS="$save_CXXFLAGS"
5587
6906
  ac_ext=c
5594
6913
fi
5595
6914
 
5596
6915
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5597
 
 echo "$as_me:$LINENO: result: yes" >&5
5598
 
echo "${ECHO_T}yes" >&6
 
6916
 { echo "$as_me:$LINENO: result: yes" >&5
 
6917
echo "${ECHO_T}yes" >&6; }
5599
6918
 :
5600
6919
 CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
5601
6920
else
5602
 
 echo "$as_me:$LINENO: result: no" >&5
5603
 
echo "${ECHO_T}no" >&6
 
6921
 { echo "$as_me:$LINENO: result: no" >&5
 
6922
echo "${ECHO_T}no" >&6; }
5604
6923
 :
5605
6924
 
5606
6925
fi
5607
6926
 
5608
6927
 
5609
 
echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
5610
 
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6
 
6928
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
 
6929
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6; }
5611
6930
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5612
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6931
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5613
6932
  echo $ECHO_N "(cached) $ECHO_C" >&6
5614
6933
else
5615
6934
 
5616
6935
 
5617
 
 
5618
 
   ac_ext=cc
 
6936
   ac_ext=cpp
5619
6937
ac_cpp='$CXXCPP $CPPFLAGS'
5620
6938
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5621
6939
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5642
6960
}
5643
6961
_ACEOF
5644
6962
rm -f conftest.$ac_objext conftest$ac_exeext
5645
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5646
 
  (eval $ac_link) 2>conftest.er1
 
6963
if { (ac_try="$ac_link"
 
6964
case "(($ac_try" in
 
6965
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6966
  *) ac_try_echo=$ac_try;;
 
6967
esac
 
6968
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6969
  (eval "$ac_link") 2>conftest.er1
5647
6970
  ac_status=$?
5648
6971
  grep -v '^ *+' conftest.er1 >conftest.err
5649
6972
  rm -f conftest.er1
5650
6973
  cat conftest.err >&5
5651
6974
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652
6975
  (exit $ac_status); } &&
5653
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5654
 
                         || test ! -s conftest.err'
5655
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5656
 
  (eval $ac_try) 2>&5
 
6976
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6977
  { (case "(($ac_try" in
 
6978
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6979
  *) ac_try_echo=$ac_try;;
 
6980
esac
 
6981
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6982
  (eval "$ac_try") 2>&5
5657
6983
  ac_status=$?
5658
6984
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659
6985
  (exit $ac_status); }; } &&
5660
6986
         { ac_try='test -s conftest$ac_exeext'
5661
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5662
 
  (eval $ac_try) 2>&5
 
6987
  { (case "(($ac_try" in
 
6988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6989
  *) ac_try_echo=$ac_try;;
 
6990
esac
 
6991
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6992
  (eval "$ac_try") 2>&5
5663
6993
  ac_status=$?
5664
6994
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665
6995
  (exit $ac_status); }; }; then
5668
6998
  echo "$as_me: failed program was:" >&5
5669
6999
sed 's/^/| /' conftest.$ac_ext >&5
5670
7000
 
 
7001
 
5671
7002
fi
5672
 
rm -f conftest.err conftest.$ac_objext \
 
7003
 
 
7004
rm -f core conftest.err conftest.$ac_objext \
5673
7005
      conftest$ac_exeext conftest.$ac_ext
5674
7006
  CXXFLAGS="$save_CXXFLAGS"
5675
7007
  ac_ext=c
5682
7014
fi
5683
7015
 
5684
7016
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5685
 
 echo "$as_me:$LINENO: result: yes" >&5
5686
 
echo "${ECHO_T}yes" >&6
 
7017
 { echo "$as_me:$LINENO: result: yes" >&5
 
7018
echo "${ECHO_T}yes" >&6; }
5687
7019
 :
5688
7020
 CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
5689
7021
else
5690
 
 echo "$as_me:$LINENO: result: no" >&5
5691
 
echo "${ECHO_T}no" >&6
 
7022
 { echo "$as_me:$LINENO: result: no" >&5
 
7023
echo "${ECHO_T}no" >&6; }
5692
7024
 :
5693
7025
 
5694
7026
fi
5695
7027
 
5696
7028
 
5697
 
echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
5698
 
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6
 
7029
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
 
7030
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6; }
5699
7031
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5700
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
7032
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5701
7033
  echo $ECHO_N "(cached) $ECHO_C" >&6
5702
7034
else
5703
7035
 
5704
7036
 
5705
 
 
5706
 
   ac_ext=cc
 
7037
   ac_ext=cpp
5707
7038
ac_cpp='$CXXCPP $CPPFLAGS'
5708
7039
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5709
7040
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5730
7061
}
5731
7062
_ACEOF
5732
7063
rm -f conftest.$ac_objext conftest$ac_exeext
5733
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5734
 
  (eval $ac_link) 2>conftest.er1
 
7064
if { (ac_try="$ac_link"
 
7065
case "(($ac_try" in
 
7066
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7067
  *) ac_try_echo=$ac_try;;
 
7068
esac
 
7069
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7070
  (eval "$ac_link") 2>conftest.er1
5735
7071
  ac_status=$?
5736
7072
  grep -v '^ *+' conftest.er1 >conftest.err
5737
7073
  rm -f conftest.er1
5738
7074
  cat conftest.err >&5
5739
7075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740
7076
  (exit $ac_status); } &&
5741
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5742
 
                         || test ! -s conftest.err'
5743
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744
 
  (eval $ac_try) 2>&5
 
7077
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
7078
  { (case "(($ac_try" in
 
7079
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7080
  *) ac_try_echo=$ac_try;;
 
7081
esac
 
7082
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7083
  (eval "$ac_try") 2>&5
5745
7084
  ac_status=$?
5746
7085
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747
7086
  (exit $ac_status); }; } &&
5748
7087
         { ac_try='test -s conftest$ac_exeext'
5749
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5750
 
  (eval $ac_try) 2>&5
 
7088
  { (case "(($ac_try" in
 
7089
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7090
  *) ac_try_echo=$ac_try;;
 
7091
esac
 
7092
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7093
  (eval "$ac_try") 2>&5
5751
7094
  ac_status=$?
5752
7095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753
7096
  (exit $ac_status); }; }; then
5756
7099
  echo "$as_me: failed program was:" >&5
5757
7100
sed 's/^/| /' conftest.$ac_ext >&5
5758
7101
 
 
7102
 
5759
7103
fi
5760
 
rm -f conftest.err conftest.$ac_objext \
 
7104
 
 
7105
rm -f core conftest.err conftest.$ac_objext \
5761
7106
      conftest$ac_exeext conftest.$ac_ext
5762
7107
  CXXFLAGS="$save_CXXFLAGS"
5763
7108
  ac_ext=c
5770
7115
fi
5771
7116
 
5772
7117
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
 
7118
 { echo "$as_me:$LINENO: result: yes" >&5
 
7119
echo "${ECHO_T}yes" >&6; }
5775
7120
 :
5776
7121
 CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
5777
7122
else
5778
 
 echo "$as_me:$LINENO: result: no" >&5
5779
 
echo "${ECHO_T}no" >&6
 
7123
 { echo "$as_me:$LINENO: result: no" >&5
 
7124
echo "${ECHO_T}no" >&6; }
5780
7125
 :
5781
7126
 
5782
7127
fi
5783
7128
 
5784
7129
 
5785
 
echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
5786
 
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6
 
7130
{ echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
 
7131
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6; }
5787
7132
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
5788
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
7133
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5789
7134
  echo $ECHO_N "(cached) $ECHO_C" >&6
5790
7135
else
5791
7136
 
5792
7137
 
5793
 
 
5794
 
   ac_ext=cc
 
7138
   ac_ext=cpp
5795
7139
ac_cpp='$CXXCPP $CPPFLAGS'
5796
7140
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5797
7141
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5818
7162
}
5819
7163
_ACEOF
5820
7164
rm -f conftest.$ac_objext conftest$ac_exeext
5821
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5822
 
  (eval $ac_link) 2>conftest.er1
 
7165
if { (ac_try="$ac_link"
 
7166
case "(($ac_try" in
 
7167
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7168
  *) ac_try_echo=$ac_try;;
 
7169
esac
 
7170
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7171
  (eval "$ac_link") 2>conftest.er1
5823
7172
  ac_status=$?
5824
7173
  grep -v '^ *+' conftest.er1 >conftest.err
5825
7174
  rm -f conftest.er1
5826
7175
  cat conftest.err >&5
5827
7176
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828
7177
  (exit $ac_status); } &&
5829
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5830
 
                         || test ! -s conftest.err'
5831
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5832
 
  (eval $ac_try) 2>&5
 
7178
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
7179
  { (case "(($ac_try" in
 
7180
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7181
  *) ac_try_echo=$ac_try;;
 
7182
esac
 
7183
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7184
  (eval "$ac_try") 2>&5
5833
7185
  ac_status=$?
5834
7186
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835
7187
  (exit $ac_status); }; } &&
5836
7188
         { ac_try='test -s conftest$ac_exeext'
5837
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5838
 
  (eval $ac_try) 2>&5
 
7189
  { (case "(($ac_try" in
 
7190
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7191
  *) ac_try_echo=$ac_try;;
 
7192
esac
 
7193
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7194
  (eval "$ac_try") 2>&5
5839
7195
  ac_status=$?
5840
7196
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841
7197
  (exit $ac_status); }; }; then
5844
7200
  echo "$as_me: failed program was:" >&5
5845
7201
sed 's/^/| /' conftest.$ac_ext >&5
5846
7202
 
 
7203
 
5847
7204
fi
5848
 
rm -f conftest.err conftest.$ac_objext \
 
7205
 
 
7206
rm -f core conftest.err conftest.$ac_objext \
5849
7207
      conftest$ac_exeext conftest.$ac_ext
5850
7208
  CXXFLAGS="$save_CXXFLAGS"
5851
7209
  ac_ext=c
5858
7216
fi
5859
7217
 
5860
7218
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5861
 
 echo "$as_me:$LINENO: result: yes" >&5
5862
 
echo "${ECHO_T}yes" >&6
 
7219
 { echo "$as_me:$LINENO: result: yes" >&5
 
7220
echo "${ECHO_T}yes" >&6; }
5863
7221
 :
5864
7222
 CXXFLAGS="$CXXFLAGS --one_per"
5865
7223
else
5866
 
 echo "$as_me:$LINENO: result: no" >&5
5867
 
echo "${ECHO_T}no" >&6
 
7224
 { echo "$as_me:$LINENO: result: no" >&5
 
7225
echo "${ECHO_T}no" >&6; }
5868
7226
 :
5869
7227
 
5870
7228
fi
5971
7329
fi
5972
7330
 
5973
7331
 
5974
 
  ac_ext=cc
 
7332
  ac_ext=cpp
5975
7333
ac_cpp='$CXXCPP $CPPFLAGS'
5976
7334
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5977
7335
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5978
7336
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5979
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5980
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
7337
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
7338
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5981
7339
if test -z "$CXXCPP"; then
5982
7340
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5983
7341
  echo $ECHO_N "(cached) $ECHO_C" >&6
6007
7365
#endif
6008
7366
                     Syntax error
6009
7367
_ACEOF
6010
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6011
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7368
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7369
case "(($ac_try" in
 
7370
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7371
  *) ac_try_echo=$ac_try;;
 
7372
esac
 
7373
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7374
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6012
7375
  ac_status=$?
6013
7376
  grep -v '^ *+' conftest.er1 >conftest.err
6014
7377
  rm -f conftest.er1
6033
7396
  # Broken: fails on valid input.
6034
7397
continue
6035
7398
fi
 
7399
 
6036
7400
rm -f conftest.err conftest.$ac_ext
6037
7401
 
6038
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
7402
  # OK, works on sane cases.  Now check whether nonexistent headers
6039
7403
  # can be detected and how.
6040
7404
  cat >conftest.$ac_ext <<_ACEOF
6041
7405
/* confdefs.h.  */
6045
7409
/* end confdefs.h.  */
6046
7410
#include <ac_nonexistent.h>
6047
7411
_ACEOF
6048
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6049
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7412
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7413
case "(($ac_try" in
 
7414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7415
  *) ac_try_echo=$ac_try;;
 
7416
esac
 
7417
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7418
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6050
7419
  ac_status=$?
6051
7420
  grep -v '^ *+' conftest.er1 >conftest.err
6052
7421
  rm -f conftest.er1
6073
7442
ac_preproc_ok=:
6074
7443
break
6075
7444
fi
 
7445
 
6076
7446
rm -f conftest.err conftest.$ac_ext
6077
7447
 
6078
7448
done
6090
7460
else
6091
7461
  ac_cv_prog_CXXCPP=$CXXCPP
6092
7462
fi
6093
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
6094
 
echo "${ECHO_T}$CXXCPP" >&6
 
7463
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
7464
echo "${ECHO_T}$CXXCPP" >&6; }
6095
7465
ac_preproc_ok=false
6096
7466
for ac_cxx_preproc_warn_flag in '' yes
6097
7467
do
6114
7484
#endif
6115
7485
                     Syntax error
6116
7486
_ACEOF
6117
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6118
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7487
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7488
case "(($ac_try" in
 
7489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7490
  *) ac_try_echo=$ac_try;;
 
7491
esac
 
7492
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7493
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6119
7494
  ac_status=$?
6120
7495
  grep -v '^ *+' conftest.er1 >conftest.err
6121
7496
  rm -f conftest.er1
6140
7515
  # Broken: fails on valid input.
6141
7516
continue
6142
7517
fi
 
7518
 
6143
7519
rm -f conftest.err conftest.$ac_ext
6144
7520
 
6145
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
7521
  # OK, works on sane cases.  Now check whether nonexistent headers
6146
7522
  # can be detected and how.
6147
7523
  cat >conftest.$ac_ext <<_ACEOF
6148
7524
/* confdefs.h.  */
6152
7528
/* end confdefs.h.  */
6153
7529
#include <ac_nonexistent.h>
6154
7530
_ACEOF
6155
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6156
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7531
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7532
case "(($ac_try" in
 
7533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7534
  *) ac_try_echo=$ac_try;;
 
7535
esac
 
7536
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7537
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6157
7538
  ac_status=$?
6158
7539
  grep -v '^ *+' conftest.er1 >conftest.err
6159
7540
  rm -f conftest.er1
6180
7561
ac_preproc_ok=:
6181
7562
break
6182
7563
fi
 
7564
 
6183
7565
rm -f conftest.err conftest.$ac_ext
6184
7566
 
6185
7567
done
6206
7588
     NOOPT_CFLAGS=-O0
6207
7589
  fi
6208
7590
 
6209
 
echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
6210
 
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6
 
7591
{ echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
 
7592
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6; }
6211
7593
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
6212
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
7594
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6213
7595
  echo $ECHO_N "(cached) $ECHO_C" >&6
6214
7596
else
6215
7597
 
6216
7598
 
6217
 
 
6218
 
   ac_ext=cc
 
7599
   ac_ext=cpp
6219
7600
ac_cpp='$CXXCPP $CPPFLAGS'
6220
7601
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6221
7602
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6242
7623
}
6243
7624
_ACEOF
6244
7625
rm -f conftest.$ac_objext conftest$ac_exeext
6245
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6246
 
  (eval $ac_link) 2>conftest.er1
 
7626
if { (ac_try="$ac_link"
 
7627
case "(($ac_try" in
 
7628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7629
  *) ac_try_echo=$ac_try;;
 
7630
esac
 
7631
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7632
  (eval "$ac_link") 2>conftest.er1
6247
7633
  ac_status=$?
6248
7634
  grep -v '^ *+' conftest.er1 >conftest.err
6249
7635
  rm -f conftest.er1
6250
7636
  cat conftest.err >&5
6251
7637
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252
7638
  (exit $ac_status); } &&
6253
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6254
 
                         || test ! -s conftest.err'
6255
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6256
 
  (eval $ac_try) 2>&5
 
7639
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
7640
  { (case "(($ac_try" in
 
7641
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7642
  *) ac_try_echo=$ac_try;;
 
7643
esac
 
7644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7645
  (eval "$ac_try") 2>&5
6257
7646
  ac_status=$?
6258
7647
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259
7648
  (exit $ac_status); }; } &&
6260
7649
         { ac_try='test -s conftest$ac_exeext'
6261
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262
 
  (eval $ac_try) 2>&5
 
7650
  { (case "(($ac_try" in
 
7651
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7652
  *) ac_try_echo=$ac_try;;
 
7653
esac
 
7654
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7655
  (eval "$ac_try") 2>&5
6263
7656
  ac_status=$?
6264
7657
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265
7658
  (exit $ac_status); }; }; then
6268
7661
  echo "$as_me: failed program was:" >&5
6269
7662
sed 's/^/| /' conftest.$ac_ext >&5
6270
7663
 
 
7664
 
6271
7665
fi
6272
 
rm -f conftest.err conftest.$ac_objext \
 
7666
 
 
7667
rm -f core conftest.err conftest.$ac_objext \
6273
7668
      conftest$ac_exeext conftest.$ac_ext
6274
7669
  CXXFLAGS="$save_CXXFLAGS"
6275
7670
  ac_ext=c
6282
7677
fi
6283
7678
 
6284
7679
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6285
 
 echo "$as_me:$LINENO: result: yes" >&5
6286
 
echo "${ECHO_T}yes" >&6
 
7680
 { echo "$as_me:$LINENO: result: yes" >&5
 
7681
echo "${ECHO_T}yes" >&6; }
6287
7682
 :
6288
7683
 NOOPT_CXXFLAGS=-O0
6289
7684
else
6290
 
 echo "$as_me:$LINENO: result: no" >&5
6291
 
echo "${ECHO_T}no" >&6
 
7685
 { echo "$as_me:$LINENO: result: no" >&5
 
7686
echo "${ECHO_T}no" >&6; }
6292
7687
 :
6293
7688
 
6294
7689
fi
6295
7690
 
6296
7691
 
6297
 
  # Check whether --enable-coverage or --disable-coverage was given.
 
7692
  # Check whether --enable-coverage was given.
6298
7693
if test "${enable_coverage+set}" = set; then
6299
 
  enableval="$enable_coverage"
6300
 
 
 
7694
  enableval=$enable_coverage;
6301
7695
      if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
6302
7696
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
6303
7697
        ac_coverage_linker="-lgcc"
6313
7707
      CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
6314
7708
      LDFLAGS="$LDFLAGS $ac_coverage_linker"
6315
7709
 
6316
 
fi;
6317
 
 
6318
 
 
6319
 
 
6320
 
 
6321
 
 
6322
 
 
6323
 
  # Check whether --enable-new_ldflags or --disable-new_ldflags was given.
 
7710
fi
 
7711
 
 
7712
 
 
7713
 
 
7714
 
 
7715
 
 
7716
 
 
7717
 
 
7718
  # Check whether --enable-new_ldflags was given.
6324
7719
if test "${enable_new_ldflags+set}" = set; then
6325
 
  enableval="$enable_new_ldflags"
6326
 
  kde_use_new_ldflags=$enableval
 
7720
  enableval=$enable_new_ldflags; kde_use_new_ldflags=$enableval
6327
7721
else
6328
7722
  kde_use_new_ldflags=no
6329
 
fi;
 
7723
fi
 
7724
 
6330
7725
 
6331
7726
  LDFLAGS_AS_NEEDED=""
6332
7727
  LDFLAGS_NEW_DTAGS=""
6333
7728
  if test "x$kde_use_new_ldflags" = "xyes"; then
6334
7729
       LDFLAGS_NEW_DTAGS=""
6335
7730
 
6336
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
6337
 
echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6
 
7731
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
 
7732
echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
6338
7733
kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
6339
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
7734
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6340
7735
  echo $ECHO_N "(cached) $ECHO_C" >&6
6341
7736
else
6342
7737
 
6343
7738
 
6344
 
 
6345
 
   ac_ext=cc
 
7739
   ac_ext=cpp
6346
7740
ac_cpp='$CXXCPP $CPPFLAGS'
6347
7741
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6348
7742
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6369
7763
}
6370
7764
_ACEOF
6371
7765
rm -f conftest.$ac_objext conftest$ac_exeext
6372
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6373
 
  (eval $ac_link) 2>conftest.er1
 
7766
if { (ac_try="$ac_link"
 
7767
case "(($ac_try" in
 
7768
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7769
  *) ac_try_echo=$ac_try;;
 
7770
esac
 
7771
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7772
  (eval "$ac_link") 2>conftest.er1
6374
7773
  ac_status=$?
6375
7774
  grep -v '^ *+' conftest.er1 >conftest.err
6376
7775
  rm -f conftest.er1
6377
7776
  cat conftest.err >&5
6378
7777
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379
7778
  (exit $ac_status); } &&
6380
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6381
 
                         || test ! -s conftest.err'
6382
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6383
 
  (eval $ac_try) 2>&5
 
7779
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
7780
  { (case "(($ac_try" in
 
7781
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7782
  *) ac_try_echo=$ac_try;;
 
7783
esac
 
7784
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7785
  (eval "$ac_try") 2>&5
6384
7786
  ac_status=$?
6385
7787
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386
7788
  (exit $ac_status); }; } &&
6387
7789
         { ac_try='test -s conftest$ac_exeext'
6388
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6389
 
  (eval $ac_try) 2>&5
 
7790
  { (case "(($ac_try" in
 
7791
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7792
  *) ac_try_echo=$ac_try;;
 
7793
esac
 
7794
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7795
  (eval "$ac_try") 2>&5
6390
7796
  ac_status=$?
6391
7797
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392
7798
  (exit $ac_status); }; }; then
6395
7801
  echo "$as_me: failed program was:" >&5
6396
7802
sed 's/^/| /' conftest.$ac_ext >&5
6397
7803
 
 
7804
 
6398
7805
fi
6399
 
rm -f conftest.err conftest.$ac_objext \
 
7806
 
 
7807
rm -f core conftest.err conftest.$ac_objext \
6400
7808
      conftest$ac_exeext conftest.$ac_ext
6401
7809
  CXXFLAGS="$save_CXXFLAGS"
6402
7810
  ac_ext=c
6409
7817
fi
6410
7818
 
6411
7819
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6412
 
 echo "$as_me:$LINENO: result: yes" >&5
6413
 
echo "${ECHO_T}yes" >&6
 
7820
 { echo "$as_me:$LINENO: result: yes" >&5
 
7821
echo "${ECHO_T}yes" >&6; }
6414
7822
 :
6415
7823
 LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
6416
7824
else
6417
 
 echo "$as_me:$LINENO: result: no" >&5
6418
 
echo "${ECHO_T}no" >&6
 
7825
 { echo "$as_me:$LINENO: result: no" >&5
 
7826
echo "${ECHO_T}no" >&6; }
6419
7827
 :
6420
7828
 
6421
7829
fi
6422
7830
 
6423
7831
 
6424
7832
 
6425
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
6426
 
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6
 
7833
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
 
7834
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6; }
6427
7835
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
6428
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
7836
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6429
7837
  echo $ECHO_N "(cached) $ECHO_C" >&6
6430
7838
else
6431
7839
 
6432
7840
 
6433
 
 
6434
 
   ac_ext=cc
 
7841
   ac_ext=cpp
6435
7842
ac_cpp='$CXXCPP $CPPFLAGS'
6436
7843
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6437
7844
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6458
7865
}
6459
7866
_ACEOF
6460
7867
rm -f conftest.$ac_objext conftest$ac_exeext
6461
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6462
 
  (eval $ac_link) 2>conftest.er1
 
7868
if { (ac_try="$ac_link"
 
7869
case "(($ac_try" in
 
7870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7871
  *) ac_try_echo=$ac_try;;
 
7872
esac
 
7873
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7874
  (eval "$ac_link") 2>conftest.er1
6463
7875
  ac_status=$?
6464
7876
  grep -v '^ *+' conftest.er1 >conftest.err
6465
7877
  rm -f conftest.er1
6466
7878
  cat conftest.err >&5
6467
7879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468
7880
  (exit $ac_status); } &&
6469
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6470
 
                         || test ! -s conftest.err'
6471
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6472
 
  (eval $ac_try) 2>&5
 
7881
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
7882
  { (case "(($ac_try" in
 
7883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7884
  *) ac_try_echo=$ac_try;;
 
7885
esac
 
7886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7887
  (eval "$ac_try") 2>&5
6473
7888
  ac_status=$?
6474
7889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475
7890
  (exit $ac_status); }; } &&
6476
7891
         { ac_try='test -s conftest$ac_exeext'
6477
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478
 
  (eval $ac_try) 2>&5
 
7892
  { (case "(($ac_try" in
 
7893
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7894
  *) ac_try_echo=$ac_try;;
 
7895
esac
 
7896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7897
  (eval "$ac_try") 2>&5
6479
7898
  ac_status=$?
6480
7899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481
7900
  (exit $ac_status); }; }; then
6484
7903
  echo "$as_me: failed program was:" >&5
6485
7904
sed 's/^/| /' conftest.$ac_ext >&5
6486
7905
 
 
7906
 
6487
7907
fi
6488
 
rm -f conftest.err conftest.$ac_objext \
 
7908
 
 
7909
rm -f core conftest.err conftest.$ac_objext \
6489
7910
      conftest$ac_exeext conftest.$ac_ext
6490
7911
  CXXFLAGS="$save_CXXFLAGS"
6491
7912
  ac_ext=c
6498
7919
fi
6499
7920
 
6500
7921
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6501
 
 echo "$as_me:$LINENO: result: yes" >&5
6502
 
echo "${ECHO_T}yes" >&6
 
7922
 { echo "$as_me:$LINENO: result: yes" >&5
 
7923
echo "${ECHO_T}yes" >&6; }
6503
7924
 :
6504
7925
 LDFLAGS_AS_NEEDED="-Wl,--as-needed"
6505
7926
else
6506
 
 echo "$as_me:$LINENO: result: no" >&5
6507
 
echo "${ECHO_T}no" >&6
 
7927
 { echo "$as_me:$LINENO: result: no" >&5
 
7928
echo "${ECHO_T}no" >&6; }
6508
7929
 :
6509
7930
 
6510
7931
fi
6514
7935
 
6515
7936
 
6516
7937
 
6517
 
  # Check whether --enable-final or --disable-final was given.
 
7938
  # Check whether --enable-final was given.
6518
7939
if test "${enable_final+set}" = set; then
6519
 
  enableval="$enable_final"
6520
 
  kde_use_final=$enableval
 
7940
  enableval=$enable_final; kde_use_final=$enableval
6521
7941
else
6522
7942
  kde_use_final=no
6523
 
fi;
 
7943
fi
 
7944
 
6524
7945
 
6525
7946
  if test "x$kde_use_final" = "xyes"; then
6526
7947
      KDE_USE_FINAL_TRUE=""
6533
7954
 
6534
7955
 
6535
7956
 
6536
 
  # Check whether --enable-closure or --disable-closure was given.
 
7957
  # Check whether --enable-closure was given.
6537
7958
if test "${enable_closure+set}" = set; then
6538
 
  enableval="$enable_closure"
6539
 
  kde_use_closure=$enableval
 
7959
  enableval=$enable_closure; kde_use_closure=$enableval
6540
7960
else
6541
7961
  kde_use_closure=no
6542
 
fi;
 
7962
fi
 
7963
 
6543
7964
 
6544
7965
  KDE_NO_UNDEFINED=""
6545
7966
  if test "x$kde_use_closure" = "xyes"; then
6553
7974
       case $host in
6554
7975
         *-*-linux-gnu)
6555
7976
 
6556
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
6557
 
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6
 
7977
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
 
7978
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6; }
6558
7979
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
6559
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
7980
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6560
7981
  echo $ECHO_N "(cached) $ECHO_C" >&6
6561
7982
else
6562
7983
 
6563
7984
 
6564
 
 
6565
 
   ac_ext=cc
 
7985
   ac_ext=cpp
6566
7986
ac_cpp='$CXXCPP $CPPFLAGS'
6567
7987
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6568
7988
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6589
8009
}
6590
8010
_ACEOF
6591
8011
rm -f conftest.$ac_objext conftest$ac_exeext
6592
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6593
 
  (eval $ac_link) 2>conftest.er1
 
8012
if { (ac_try="$ac_link"
 
8013
case "(($ac_try" in
 
8014
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8015
  *) ac_try_echo=$ac_try;;
 
8016
esac
 
8017
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8018
  (eval "$ac_link") 2>conftest.er1
6594
8019
  ac_status=$?
6595
8020
  grep -v '^ *+' conftest.er1 >conftest.err
6596
8021
  rm -f conftest.er1
6597
8022
  cat conftest.err >&5
6598
8023
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599
8024
  (exit $ac_status); } &&
6600
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6601
 
                         || test ! -s conftest.err'
6602
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603
 
  (eval $ac_try) 2>&5
 
8025
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
8026
  { (case "(($ac_try" in
 
8027
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8028
  *) ac_try_echo=$ac_try;;
 
8029
esac
 
8030
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8031
  (eval "$ac_try") 2>&5
6604
8032
  ac_status=$?
6605
8033
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606
8034
  (exit $ac_status); }; } &&
6607
8035
         { ac_try='test -s conftest$ac_exeext'
6608
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6609
 
  (eval $ac_try) 2>&5
 
8036
  { (case "(($ac_try" in
 
8037
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8038
  *) ac_try_echo=$ac_try;;
 
8039
esac
 
8040
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8041
  (eval "$ac_try") 2>&5
6610
8042
  ac_status=$?
6611
8043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612
8044
  (exit $ac_status); }; }; then
6615
8047
  echo "$as_me: failed program was:" >&5
6616
8048
sed 's/^/| /' conftest.$ac_ext >&5
6617
8049
 
 
8050
 
6618
8051
fi
6619
 
rm -f conftest.err conftest.$ac_objext \
 
8052
 
 
8053
rm -f core conftest.err conftest.$ac_objext \
6620
8054
      conftest$ac_exeext conftest.$ac_ext
6621
8055
  CXXFLAGS="$save_CXXFLAGS"
6622
8056
  ac_ext=c
6629
8063
fi
6630
8064
 
6631
8065
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6632
 
 echo "$as_me:$LINENO: result: yes" >&5
6633
 
echo "${ECHO_T}yes" >&6
 
8066
 { echo "$as_me:$LINENO: result: yes" >&5
 
8067
echo "${ECHO_T}yes" >&6; }
6634
8068
 :
6635
8069
 
6636
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
6637
 
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6
 
8070
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
 
8071
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6; }
6638
8072
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
6639
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
8073
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6640
8074
  echo $ECHO_N "(cached) $ECHO_C" >&6
6641
8075
else
6642
8076
 
6643
8077
 
6644
 
 
6645
 
   ac_ext=cc
 
8078
   ac_ext=cpp
6646
8079
ac_cpp='$CXXCPP $CPPFLAGS'
6647
8080
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6648
8081
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6669
8102
}
6670
8103
_ACEOF
6671
8104
rm -f conftest.$ac_objext conftest$ac_exeext
6672
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6673
 
  (eval $ac_link) 2>conftest.er1
 
8105
if { (ac_try="$ac_link"
 
8106
case "(($ac_try" in
 
8107
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8108
  *) ac_try_echo=$ac_try;;
 
8109
esac
 
8110
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8111
  (eval "$ac_link") 2>conftest.er1
6674
8112
  ac_status=$?
6675
8113
  grep -v '^ *+' conftest.er1 >conftest.err
6676
8114
  rm -f conftest.er1
6677
8115
  cat conftest.err >&5
6678
8116
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679
8117
  (exit $ac_status); } &&
6680
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6681
 
                         || test ! -s conftest.err'
6682
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6683
 
  (eval $ac_try) 2>&5
 
8118
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
8119
  { (case "(($ac_try" in
 
8120
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8121
  *) ac_try_echo=$ac_try;;
 
8122
esac
 
8123
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8124
  (eval "$ac_try") 2>&5
6684
8125
  ac_status=$?
6685
8126
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686
8127
  (exit $ac_status); }; } &&
6687
8128
         { ac_try='test -s conftest$ac_exeext'
6688
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689
 
  (eval $ac_try) 2>&5
 
8129
  { (case "(($ac_try" in
 
8130
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8131
  *) ac_try_echo=$ac_try;;
 
8132
esac
 
8133
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8134
  (eval "$ac_try") 2>&5
6690
8135
  ac_status=$?
6691
8136
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692
8137
  (exit $ac_status); }; }; then
6695
8140
  echo "$as_me: failed program was:" >&5
6696
8141
sed 's/^/| /' conftest.$ac_ext >&5
6697
8142
 
 
8143
 
6698
8144
fi
6699
 
rm -f conftest.err conftest.$ac_objext \
 
8145
 
 
8146
rm -f core conftest.err conftest.$ac_objext \
6700
8147
      conftest$ac_exeext conftest.$ac_ext
6701
8148
  CXXFLAGS="$save_CXXFLAGS"
6702
8149
  ac_ext=c
6709
8156
fi
6710
8157
 
6711
8158
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6712
 
 echo "$as_me:$LINENO: result: yes" >&5
6713
 
echo "${ECHO_T}yes" >&6
 
8159
 { echo "$as_me:$LINENO: result: yes" >&5
 
8160
echo "${ECHO_T}yes" >&6; }
6714
8161
 :
6715
8162
 KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
6716
8163
else
6717
 
 echo "$as_me:$LINENO: result: no" >&5
6718
 
echo "${ECHO_T}no" >&6
 
8164
 { echo "$as_me:$LINENO: result: no" >&5
 
8165
echo "${ECHO_T}no" >&6; }
6719
8166
 :
6720
8167
 KDE_NO_UNDEFINED=""
6721
8168
fi
6722
8169
 
6723
8170
else
6724
 
 echo "$as_me:$LINENO: result: no" >&5
6725
 
echo "${ECHO_T}no" >&6
 
8171
 { echo "$as_me:$LINENO: result: no" >&5
 
8172
echo "${ECHO_T}no" >&6; }
6726
8173
 :
6727
8174
 KDE_NO_UNDEFINED=""
6728
8175
fi
6735
8182
 
6736
8183
 
6737
8184
 
6738
 
  # Check whether --enable-nmcheck or --disable-nmcheck was given.
 
8185
  # Check whether --enable-nmcheck was given.
6739
8186
if test "${enable_nmcheck+set}" = set; then
6740
 
  enableval="$enable_nmcheck"
6741
 
  kde_use_nmcheck=$enableval
 
8187
  enableval=$enable_nmcheck; kde_use_nmcheck=$enableval
6742
8188
else
6743
8189
  kde_use_nmcheck=no
6744
 
fi;
 
8190
fi
 
8191
 
6745
8192
 
6746
8193
  if test "$kde_use_nmcheck" = "yes"; then
6747
8194
      KDE_USE_NMCHECK_TRUE=""
6756
8203
 
6757
8204
 
6758
8205
 
6759
 
# Check whether --enable-shared or --disable-shared was given.
 
8206
# Check whether --enable-shared was given.
6760
8207
if test "${enable_shared+set}" = set; then
6761
 
  enableval="$enable_shared"
6762
 
  p=${PACKAGE-default}
 
8208
  enableval=$enable_shared; p=${PACKAGE-default}
6763
8209
    case $enableval in
6764
8210
    yes) enable_shared=yes ;;
6765
8211
    no) enable_shared=no ;;
6778
8224
    esac
6779
8225
else
6780
8226
  enable_shared=yes
6781
 
fi;
6782
 
 
6783
 
# Check whether --enable-static or --disable-static was given.
 
8227
fi
 
8228
 
 
8229
 
 
8230
# Check whether --enable-static was given.
6784
8231
if test "${enable_static+set}" = set; then
6785
 
  enableval="$enable_static"
6786
 
  p=${PACKAGE-default}
 
8232
  enableval=$enable_static; p=${PACKAGE-default}
6787
8233
    case $enableval in
6788
8234
    yes) enable_static=yes ;;
6789
8235
    no) enable_static=no ;;
6802
8248
    esac
6803
8249
else
6804
8250
  enable_static=no
6805
 
fi;
6806
 
 
6807
 
 
6808
 
 
6809
 
 
6810
 
    kdelibsuff="$kde_libs_suffix"
6811
 
    if test -z "$kdelibsuff"; then
6812
 
       kdelibsuff=no
6813
 
    fi
6814
 
    # Check whether --enable-libsuffix or --disable-libsuffix was given.
 
8251
fi
 
8252
 
 
8253
 
 
8254
 
 
8255
 
 
8256
 
 
8257
    # Check whether --enable-libsuffix was given.
6815
8258
if test "${enable_libsuffix+set}" = set; then
6816
 
  enableval="$enable_libsuffix"
6817
 
  kdelibsuff=$enableval
6818
 
fi;
6819
 
    # TODO: add an auto case that compiles a little C app to check
6820
 
    # where the glibc is
6821
 
    if test "$kdelibsuff" = "no"; then
 
8259
  enableval=$enable_libsuffix; kdelibsuff=$enableval
 
8260
else
 
8261
  kdelibsuff="auto"
 
8262
fi
 
8263
 
 
8264
 
 
8265
    if test "$kdelibsuff" = "auto"; then
 
8266
 
 
8267
cat > conftest.c << EOF
 
8268
#include <stdio.h>
 
8269
int main() {
 
8270
 return 0;
 
8271
}
 
8272
EOF
 
8273
        kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
 
8274
    s,.*/lib\([^\/]*\)/.*,\1,
 
8275
    p
 
8276
}'`
 
8277
        rm -rf conftest.*
 
8278
    fi
 
8279
 
 
8280
    if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
6822
8281
       kdelibsuff=
6823
8282
    fi
6824
8283
    if test -z "$kdelibsuff"; then
6825
 
        echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
6826
 
echo "${ECHO_T}not using lib directory suffix" >&6
 
8284
        { echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
 
8285
echo "${ECHO_T}not using lib directory suffix" >&6; }
6827
8286
 
6828
8287
cat >>confdefs.h <<\_ACEOF
6829
8288
#define KDELIBSUFF ""
6839
8298
#define KDELIBSUFF "${kdelibsuff}"
6840
8299
_ACEOF
6841
8300
 
6842
 
        echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
6843
 
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6
 
8301
        { echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
 
8302
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6; }
6844
8303
    fi
6845
8304
 
6846
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
8305
# Check whether --enable-fast-install was given.
6847
8306
if test "${enable_fast_install+set}" = set; then
6848
 
  enableval="$enable_fast_install"
6849
 
  p=${PACKAGE-default}
 
8307
  enableval=$enable_fast_install; p=${PACKAGE-default}
6850
8308
    case $enableval in
6851
8309
    yes) enable_fast_install=yes ;;
6852
8310
    no) enable_fast_install=no ;;
6865
8323
    esac
6866
8324
else
6867
8325
  enable_fast_install=yes
6868
 
fi;
6869
 
 
6870
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6871
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
8326
fi
 
8327
 
 
8328
 
 
8329
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
8330
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6872
8331
if test "${lt_cv_path_SED+set}" = set; then
6873
8332
  echo $ECHO_N "(cached) $ECHO_C" >&6
6874
8333
else
6921
8380
fi
6922
8381
 
6923
8382
SED=$lt_cv_path_SED
6924
 
echo "$as_me:$LINENO: result: $SED" >&5
6925
 
echo "${ECHO_T}$SED" >&6
6926
 
 
6927
 
echo "$as_me:$LINENO: checking for egrep" >&5
6928
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6929
 
if test "${ac_cv_prog_egrep+set}" = set; then
6930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6931
 
else
6932
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6933
 
    then ac_cv_prog_egrep='grep -E'
6934
 
    else ac_cv_prog_egrep='egrep'
6935
 
    fi
6936
 
fi
6937
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6938
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6939
 
 EGREP=$ac_cv_prog_egrep
6940
 
 
6941
 
 
6942
 
 
6943
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
8383
{ echo "$as_me:$LINENO: result: $SED" >&5
 
8384
echo "${ECHO_T}$SED" >&6; }
 
8385
 
 
8386
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
8387
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
8388
if test "${ac_cv_path_GREP+set}" = set; then
 
8389
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8390
else
 
8391
  # Extract the first word of "grep ggrep" to use in msg output
 
8392
if test -z "$GREP"; then
 
8393
set dummy grep ggrep; ac_prog_name=$2
 
8394
if test "${ac_cv_path_GREP+set}" = set; then
 
8395
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8396
else
 
8397
  ac_path_GREP_found=false
 
8398
# Loop through the user's path and test for each of PROGNAME-LIST
 
8399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8400
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
8401
do
 
8402
  IFS=$as_save_IFS
 
8403
  test -z "$as_dir" && as_dir=.
 
8404
  for ac_prog in grep ggrep; do
 
8405
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8406
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
8407
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
8408
    # Check for GNU ac_path_GREP and select it if it is found.
 
8409
  # Check for GNU $ac_path_GREP
 
8410
case `"$ac_path_GREP" --version 2>&1` in
 
8411
*GNU*)
 
8412
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
8413
*)
 
8414
  ac_count=0
 
8415
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
8416
  while :
 
8417
  do
 
8418
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8419
    mv "conftest.tmp" "conftest.in"
 
8420
    cp "conftest.in" "conftest.nl"
 
8421
    echo 'GREP' >> "conftest.nl"
 
8422
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8423
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8424
    ac_count=`expr $ac_count + 1`
 
8425
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
8426
      # Best one so far, save it but keep looking for a better one
 
8427
      ac_cv_path_GREP="$ac_path_GREP"
 
8428
      ac_path_GREP_max=$ac_count
 
8429
    fi
 
8430
    # 10*(2^10) chars as input seems more than enough
 
8431
    test $ac_count -gt 10 && break
 
8432
  done
 
8433
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8434
esac
 
8435
 
 
8436
 
 
8437
    $ac_path_GREP_found && break 3
 
8438
  done
 
8439
done
 
8440
 
 
8441
done
 
8442
IFS=$as_save_IFS
 
8443
 
 
8444
 
 
8445
fi
 
8446
 
 
8447
GREP="$ac_cv_path_GREP"
 
8448
if test -z "$GREP"; then
 
8449
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
8450
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
8451
   { (exit 1); exit 1; }; }
 
8452
fi
 
8453
 
 
8454
else
 
8455
  ac_cv_path_GREP=$GREP
 
8456
fi
 
8457
 
 
8458
 
 
8459
fi
 
8460
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
8461
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
8462
 GREP="$ac_cv_path_GREP"
 
8463
 
 
8464
 
 
8465
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
8466
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
8467
if test "${ac_cv_path_EGREP+set}" = set; then
 
8468
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8469
else
 
8470
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
8471
   then ac_cv_path_EGREP="$GREP -E"
 
8472
   else
 
8473
     # Extract the first word of "egrep" to use in msg output
 
8474
if test -z "$EGREP"; then
 
8475
set dummy egrep; ac_prog_name=$2
 
8476
if test "${ac_cv_path_EGREP+set}" = set; then
 
8477
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8478
else
 
8479
  ac_path_EGREP_found=false
 
8480
# Loop through the user's path and test for each of PROGNAME-LIST
 
8481
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8482
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
8483
do
 
8484
  IFS=$as_save_IFS
 
8485
  test -z "$as_dir" && as_dir=.
 
8486
  for ac_prog in egrep; do
 
8487
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8488
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
8489
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
8490
    # Check for GNU ac_path_EGREP and select it if it is found.
 
8491
  # Check for GNU $ac_path_EGREP
 
8492
case `"$ac_path_EGREP" --version 2>&1` in
 
8493
*GNU*)
 
8494
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
8495
*)
 
8496
  ac_count=0
 
8497
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
8498
  while :
 
8499
  do
 
8500
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8501
    mv "conftest.tmp" "conftest.in"
 
8502
    cp "conftest.in" "conftest.nl"
 
8503
    echo 'EGREP' >> "conftest.nl"
 
8504
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8505
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8506
    ac_count=`expr $ac_count + 1`
 
8507
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
8508
      # Best one so far, save it but keep looking for a better one
 
8509
      ac_cv_path_EGREP="$ac_path_EGREP"
 
8510
      ac_path_EGREP_max=$ac_count
 
8511
    fi
 
8512
    # 10*(2^10) chars as input seems more than enough
 
8513
    test $ac_count -gt 10 && break
 
8514
  done
 
8515
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8516
esac
 
8517
 
 
8518
 
 
8519
    $ac_path_EGREP_found && break 3
 
8520
  done
 
8521
done
 
8522
 
 
8523
done
 
8524
IFS=$as_save_IFS
 
8525
 
 
8526
 
 
8527
fi
 
8528
 
 
8529
EGREP="$ac_cv_path_EGREP"
 
8530
if test -z "$EGREP"; then
 
8531
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
8532
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
8533
   { (exit 1); exit 1; }; }
 
8534
fi
 
8535
 
 
8536
else
 
8537
  ac_cv_path_EGREP=$EGREP
 
8538
fi
 
8539
 
 
8540
 
 
8541
   fi
 
8542
fi
 
8543
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
8544
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
8545
 EGREP="$ac_cv_path_EGREP"
 
8546
 
 
8547
 
 
8548
 
 
8549
# Check whether --with-gnu-ld was given.
6944
8550
if test "${with_gnu_ld+set}" = set; then
6945
 
  withval="$with_gnu_ld"
6946
 
  test "$withval" = no || with_gnu_ld=yes
 
8551
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6947
8552
else
6948
8553
  with_gnu_ld=no
6949
 
fi;
 
8554
fi
 
8555
 
6950
8556
ac_prog=ld
6951
8557
if test "$GCC" = yes; then
6952
8558
  # Check if gcc -print-prog-name=ld gives a path.
6953
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6954
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
8559
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
8560
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6955
8561
  case $host in
6956
8562
  *-*-mingw*)
6957
8563
    # gcc leaves a trailing carriage return which upsets mingw
6980
8586
    ;;
6981
8587
  esac
6982
8588
elif test "$with_gnu_ld" = yes; then
6983
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
6984
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
8589
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
8590
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6985
8591
else
6986
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6987
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
8592
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
8593
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6988
8594
fi
6989
8595
if test "${lt_cv_path_LD+set}" = set; then
6990
8596
  echo $ECHO_N "(cached) $ECHO_C" >&6
7017
8623
 
7018
8624
LD="$lt_cv_path_LD"
7019
8625
if test -n "$LD"; then
7020
 
  echo "$as_me:$LINENO: result: $LD" >&5
7021
 
echo "${ECHO_T}$LD" >&6
 
8626
  { echo "$as_me:$LINENO: result: $LD" >&5
 
8627
echo "${ECHO_T}$LD" >&6; }
7022
8628
else
7023
 
  echo "$as_me:$LINENO: result: no" >&5
7024
 
echo "${ECHO_T}no" >&6
 
8629
  { echo "$as_me:$LINENO: result: no" >&5
 
8630
echo "${ECHO_T}no" >&6; }
7025
8631
fi
7026
8632
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7027
8633
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7028
8634
   { (exit 1); exit 1; }; }
7029
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7030
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
8635
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
8636
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
7031
8637
if test "${lt_cv_prog_gnu_ld+set}" = set; then
7032
8638
  echo $ECHO_N "(cached) $ECHO_C" >&6
7033
8639
else
7041
8647
  ;;
7042
8648
esac
7043
8649
fi
7044
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7045
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
8650
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
8651
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
7046
8652
with_gnu_ld=$lt_cv_prog_gnu_ld
7047
8653
 
7048
8654
 
7049
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7050
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
8655
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
8656
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
7051
8657
if test "${lt_cv_ld_reload_flag+set}" = set; then
7052
8658
  echo $ECHO_N "(cached) $ECHO_C" >&6
7053
8659
else
7054
8660
  lt_cv_ld_reload_flag='-r'
7055
8661
fi
7056
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7057
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
8662
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
8663
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
7058
8664
reload_flag=$lt_cv_ld_reload_flag
7059
8665
case $reload_flag in
7060
8666
"" | " "*) ;;
7062
8668
esac
7063
8669
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7064
8670
 
7065
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7066
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
8671
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
8672
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
7067
8673
if test "${lt_cv_path_NM+set}" = set; then
7068
8674
  echo $ECHO_N "(cached) $ECHO_C" >&6
7069
8675
else
7104
8710
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7105
8711
fi
7106
8712
fi
7107
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7108
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
8713
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
8714
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
7109
8715
NM="$lt_cv_path_NM"
7110
8716
 
7111
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
7112
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
8717
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
8718
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
7113
8719
LN_S=$as_ln_s
7114
8720
if test "$LN_S" = "ln -s"; then
7115
 
  echo "$as_me:$LINENO: result: yes" >&5
7116
 
echo "${ECHO_T}yes" >&6
 
8721
  { echo "$as_me:$LINENO: result: yes" >&5
 
8722
echo "${ECHO_T}yes" >&6; }
7117
8723
else
7118
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7119
 
echo "${ECHO_T}no, using $LN_S" >&6
 
8724
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
8725
echo "${ECHO_T}no, using $LN_S" >&6; }
7120
8726
fi
7121
8727
 
7122
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
7123
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
8728
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
8729
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
7124
8730
if test "${lt_cv_deplibs_check_method+set}" = set; then
7125
8731
  echo $ECHO_N "(cached) $ECHO_C" >&6
7126
8732
else
7178
8784
  lt_cv_deplibs_check_method=pass_all
7179
8785
  ;;
7180
8786
 
7181
 
freebsd*)
 
8787
freebsd* | kfreebsd*-gnu)
7182
8788
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7183
8789
    case $host_cpu in
7184
8790
    i*86 )
7326
8932
esac
7327
8933
 
7328
8934
fi
7329
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7330
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
8935
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
8936
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
7331
8937
file_magic_cmd=$lt_cv_file_magic_cmd
7332
8938
deplibs_check_method=$lt_cv_deplibs_check_method
7333
8939
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7339
8945
# Allow CC to be a program name with arguments.
7340
8946
compiler=$CC
7341
8947
 
7342
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
8948
# Check whether --enable-libtool-lock was given.
7343
8949
if test "${enable_libtool_lock+set}" = set; then
7344
 
  enableval="$enable_libtool_lock"
 
8950
  enableval=$enable_libtool_lock;
 
8951
fi
7345
8952
 
7346
 
fi;
7347
8953
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7348
8954
 
7349
8955
# Some flags need to be propagated to the compiler or linker for good
7370
8976
  ;;
7371
8977
*-*-irix6*)
7372
8978
  # Find out which ABI we are using.
7373
 
  echo '#line 7373 "configure"' > conftest.$ac_ext
 
8979
  echo '#line 8979 "configure"' > conftest.$ac_ext
7374
8980
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7375
8981
  (eval $ac_compile) 2>&5
7376
8982
  ac_status=$?
7457
9063
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7458
9064
  SAVE_CFLAGS="$CFLAGS"
7459
9065
  CFLAGS="$CFLAGS -belf"
7460
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7461
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
9066
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
9067
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7462
9068
if test "${lt_cv_cc_needs_belf+set}" = set; then
7463
9069
  echo $ECHO_N "(cached) $ECHO_C" >&6
7464
9070
else
7484
9090
}
7485
9091
_ACEOF
7486
9092
rm -f conftest.$ac_objext conftest$ac_exeext
7487
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7488
 
  (eval $ac_link) 2>conftest.er1
 
9093
if { (ac_try="$ac_link"
 
9094
case "(($ac_try" in
 
9095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9096
  *) ac_try_echo=$ac_try;;
 
9097
esac
 
9098
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9099
  (eval "$ac_link") 2>conftest.er1
7489
9100
  ac_status=$?
7490
9101
  grep -v '^ *+' conftest.er1 >conftest.err
7491
9102
  rm -f conftest.er1
7492
9103
  cat conftest.err >&5
7493
9104
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494
9105
  (exit $ac_status); } &&
7495
 
         { ac_try='test -z "$ac_c_werror_flag"
7496
 
                         || test ! -s conftest.err'
7497
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7498
 
  (eval $ac_try) 2>&5
 
9106
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9107
  { (case "(($ac_try" in
 
9108
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9109
  *) ac_try_echo=$ac_try;;
 
9110
esac
 
9111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9112
  (eval "$ac_try") 2>&5
7499
9113
  ac_status=$?
7500
9114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501
9115
  (exit $ac_status); }; } &&
7502
9116
         { ac_try='test -s conftest$ac_exeext'
7503
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504
 
  (eval $ac_try) 2>&5
 
9117
  { (case "(($ac_try" in
 
9118
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9119
  *) ac_try_echo=$ac_try;;
 
9120
esac
 
9121
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9122
  (eval "$ac_try") 2>&5
7505
9123
  ac_status=$?
7506
9124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507
9125
  (exit $ac_status); }; }; then
7510
9128
  echo "$as_me: failed program was:" >&5
7511
9129
sed 's/^/| /' conftest.$ac_ext >&5
7512
9130
 
7513
 
lt_cv_cc_needs_belf=no
 
9131
        lt_cv_cc_needs_belf=no
7514
9132
fi
7515
 
rm -f conftest.err conftest.$ac_objext \
 
9133
 
 
9134
rm -f core conftest.err conftest.$ac_objext \
7516
9135
      conftest$ac_exeext conftest.$ac_ext
7517
9136
     ac_ext=c
7518
9137
ac_cpp='$CPP $CPPFLAGS'
7521
9140
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7522
9141
 
7523
9142
fi
7524
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7525
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
9143
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
9144
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7526
9145
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7527
9146
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7528
9147
    CFLAGS="$SAVE_CFLAGS"
7535
9154
 
7536
9155
 
7537
9156
 
7538
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7539
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
9157
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
9158
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7540
9159
if test "${ac_cv_header_stdc+set}" = set; then
7541
9160
  echo $ECHO_N "(cached) $ECHO_C" >&6
7542
9161
else
7560
9179
}
7561
9180
_ACEOF
7562
9181
rm -f conftest.$ac_objext
7563
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7564
 
  (eval $ac_compile) 2>conftest.er1
 
9182
if { (ac_try="$ac_compile"
 
9183
case "(($ac_try" in
 
9184
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9185
  *) ac_try_echo=$ac_try;;
 
9186
esac
 
9187
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9188
  (eval "$ac_compile") 2>conftest.er1
7565
9189
  ac_status=$?
7566
9190
  grep -v '^ *+' conftest.er1 >conftest.err
7567
9191
  rm -f conftest.er1
7568
9192
  cat conftest.err >&5
7569
9193
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570
9194
  (exit $ac_status); } &&
7571
 
         { ac_try='test -z "$ac_c_werror_flag"
7572
 
                         || test ! -s conftest.err'
7573
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7574
 
  (eval $ac_try) 2>&5
 
9195
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9196
  { (case "(($ac_try" in
 
9197
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9198
  *) ac_try_echo=$ac_try;;
 
9199
esac
 
9200
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9201
  (eval "$ac_try") 2>&5
7575
9202
  ac_status=$?
7576
9203
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577
9204
  (exit $ac_status); }; } &&
7578
9205
         { ac_try='test -s conftest.$ac_objext'
7579
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7580
 
  (eval $ac_try) 2>&5
 
9206
  { (case "(($ac_try" in
 
9207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9208
  *) ac_try_echo=$ac_try;;
 
9209
esac
 
9210
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9211
  (eval "$ac_try") 2>&5
7581
9212
  ac_status=$?
7582
9213
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583
9214
  (exit $ac_status); }; }; then
7586
9217
  echo "$as_me: failed program was:" >&5
7587
9218
sed 's/^/| /' conftest.$ac_ext >&5
7588
9219
 
7589
 
ac_cv_header_stdc=no
 
9220
        ac_cv_header_stdc=no
7590
9221
fi
7591
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
9222
 
 
9223
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7592
9224
 
7593
9225
if test $ac_cv_header_stdc = yes; then
7594
9226
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7644
9276
cat >>conftest.$ac_ext <<_ACEOF
7645
9277
/* end confdefs.h.  */
7646
9278
#include <ctype.h>
 
9279
#include <stdlib.h>
7647
9280
#if ((' ' & 0x0FF) == 0x020)
7648
9281
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7649
9282
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7663
9296
  for (i = 0; i < 256; i++)
7664
9297
    if (XOR (islower (i), ISLOWER (i))
7665
9298
        || toupper (i) != TOUPPER (i))
7666
 
      exit(2);
7667
 
  exit (0);
 
9299
      return 2;
 
9300
  return 0;
7668
9301
}
7669
9302
_ACEOF
7670
9303
rm -f conftest$ac_exeext
7671
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7672
 
  (eval $ac_link) 2>&5
 
9304
if { (ac_try="$ac_link"
 
9305
case "(($ac_try" in
 
9306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9307
  *) ac_try_echo=$ac_try;;
 
9308
esac
 
9309
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9310
  (eval "$ac_link") 2>&5
7673
9311
  ac_status=$?
7674
9312
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675
9313
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7676
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7677
 
  (eval $ac_try) 2>&5
 
9314
  { (case "(($ac_try" in
 
9315
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9316
  *) ac_try_echo=$ac_try;;
 
9317
esac
 
9318
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9319
  (eval "$ac_try") 2>&5
7678
9320
  ac_status=$?
7679
9321
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680
9322
  (exit $ac_status); }; }; then
7687
9329
( exit $ac_status )
7688
9330
ac_cv_header_stdc=no
7689
9331
fi
7690
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7691
 
fi
7692
 
fi
7693
 
fi
7694
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7695
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
9332
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
9333
fi
 
9334
 
 
9335
 
 
9336
fi
 
9337
fi
 
9338
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
9339
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7696
9340
if test $ac_cv_header_stdc = yes; then
7697
9341
 
7698
9342
cat >>confdefs.h <<\_ACEOF
7715
9359
                  inttypes.h stdint.h unistd.h
7716
9360
do
7717
9361
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7718
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
7719
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7720
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
9362
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9363
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
9364
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7721
9365
  echo $ECHO_N "(cached) $ECHO_C" >&6
7722
9366
else
7723
9367
  cat >conftest.$ac_ext <<_ACEOF
7731
9375
#include <$ac_header>
7732
9376
_ACEOF
7733
9377
rm -f conftest.$ac_objext
7734
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7735
 
  (eval $ac_compile) 2>conftest.er1
 
9378
if { (ac_try="$ac_compile"
 
9379
case "(($ac_try" in
 
9380
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9381
  *) ac_try_echo=$ac_try;;
 
9382
esac
 
9383
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9384
  (eval "$ac_compile") 2>conftest.er1
7736
9385
  ac_status=$?
7737
9386
  grep -v '^ *+' conftest.er1 >conftest.err
7738
9387
  rm -f conftest.er1
7739
9388
  cat conftest.err >&5
7740
9389
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741
9390
  (exit $ac_status); } &&
7742
 
         { ac_try='test -z "$ac_c_werror_flag"
7743
 
                         || test ! -s conftest.err'
7744
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7745
 
  (eval $ac_try) 2>&5
 
9391
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9392
  { (case "(($ac_try" in
 
9393
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9394
  *) ac_try_echo=$ac_try;;
 
9395
esac
 
9396
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9397
  (eval "$ac_try") 2>&5
7746
9398
  ac_status=$?
7747
9399
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748
9400
  (exit $ac_status); }; } &&
7749
9401
         { ac_try='test -s conftest.$ac_objext'
7750
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7751
 
  (eval $ac_try) 2>&5
 
9402
  { (case "(($ac_try" in
 
9403
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9404
  *) ac_try_echo=$ac_try;;
 
9405
esac
 
9406
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9407
  (eval "$ac_try") 2>&5
7752
9408
  ac_status=$?
7753
9409
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7754
9410
  (exit $ac_status); }; }; then
7757
9413
  echo "$as_me: failed program was:" >&5
7758
9414
sed 's/^/| /' conftest.$ac_ext >&5
7759
9415
 
7760
 
eval "$as_ac_Header=no"
7761
 
fi
7762
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7763
 
fi
7764
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7765
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
9416
        eval "$as_ac_Header=no"
 
9417
fi
 
9418
 
 
9419
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9420
fi
 
9421
ac_res=`eval echo '${'$as_ac_Header'}'`
 
9422
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
9423
echo "${ECHO_T}$ac_res" >&6; }
7766
9424
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7767
9425
  cat >>confdefs.h <<_ACEOF
7768
9426
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7777
9435
for ac_header in dlfcn.h
7778
9436
do
7779
9437
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7780
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7781
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
7782
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7783
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
9438
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
9439
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9440
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
9441
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7784
9442
  echo $ECHO_N "(cached) $ECHO_C" >&6
7785
9443
fi
7786
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7787
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
9444
ac_res=`eval echo '${'$as_ac_Header'}'`
 
9445
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
9446
echo "${ECHO_T}$ac_res" >&6; }
7788
9447
else
7789
9448
  # Is the header compilable?
7790
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7791
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
9449
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
9450
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7792
9451
cat >conftest.$ac_ext <<_ACEOF
7793
9452
/* confdefs.h.  */
7794
9453
_ACEOF
7799
9458
#include <$ac_header>
7800
9459
_ACEOF
7801
9460
rm -f conftest.$ac_objext
7802
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7803
 
  (eval $ac_compile) 2>conftest.er1
 
9461
if { (ac_try="$ac_compile"
 
9462
case "(($ac_try" in
 
9463
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9464
  *) ac_try_echo=$ac_try;;
 
9465
esac
 
9466
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9467
  (eval "$ac_compile") 2>conftest.er1
7804
9468
  ac_status=$?
7805
9469
  grep -v '^ *+' conftest.er1 >conftest.err
7806
9470
  rm -f conftest.er1
7807
9471
  cat conftest.err >&5
7808
9472
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809
9473
  (exit $ac_status); } &&
7810
 
         { ac_try='test -z "$ac_c_werror_flag"
7811
 
                         || test ! -s conftest.err'
7812
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7813
 
  (eval $ac_try) 2>&5
 
9474
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9475
  { (case "(($ac_try" in
 
9476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9477
  *) ac_try_echo=$ac_try;;
 
9478
esac
 
9479
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9480
  (eval "$ac_try") 2>&5
7814
9481
  ac_status=$?
7815
9482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816
9483
  (exit $ac_status); }; } &&
7817
9484
         { ac_try='test -s conftest.$ac_objext'
7818
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7819
 
  (eval $ac_try) 2>&5
 
9485
  { (case "(($ac_try" in
 
9486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9487
  *) ac_try_echo=$ac_try;;
 
9488
esac
 
9489
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9490
  (eval "$ac_try") 2>&5
7820
9491
  ac_status=$?
7821
9492
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822
9493
  (exit $ac_status); }; }; then
7825
9496
  echo "$as_me: failed program was:" >&5
7826
9497
sed 's/^/| /' conftest.$ac_ext >&5
7827
9498
 
7828
 
ac_header_compiler=no
 
9499
        ac_header_compiler=no
7829
9500
fi
7830
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7831
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7832
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
9501
 
 
9502
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9503
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
9504
echo "${ECHO_T}$ac_header_compiler" >&6; }
7833
9505
 
7834
9506
# Is the header present?
7835
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7836
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
9507
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
9508
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7837
9509
cat >conftest.$ac_ext <<_ACEOF
7838
9510
/* confdefs.h.  */
7839
9511
_ACEOF
7842
9514
/* end confdefs.h.  */
7843
9515
#include <$ac_header>
7844
9516
_ACEOF
7845
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7846
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
9517
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
9518
case "(($ac_try" in
 
9519
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9520
  *) ac_try_echo=$ac_try;;
 
9521
esac
 
9522
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9523
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7847
9524
  ac_status=$?
7848
9525
  grep -v '^ *+' conftest.er1 >conftest.err
7849
9526
  rm -f conftest.er1
7867
9544
 
7868
9545
  ac_header_preproc=no
7869
9546
fi
 
9547
 
7870
9548
rm -f conftest.err conftest.$ac_ext
7871
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7872
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
9549
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
9550
echo "${ECHO_T}$ac_header_preproc" >&6; }
7873
9551
 
7874
9552
# So?  What about this header?
7875
9553
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7893
9571
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7894
9572
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7895
9573
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7896
 
    (
7897
 
      cat <<\_ASBOX
7898
 
## ------------------------------------------ ##
7899
 
## Report this to the AC_PACKAGE_NAME lists.  ##
7900
 
## ------------------------------------------ ##
7901
 
_ASBOX
7902
 
    ) |
7903
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
9574
 
7904
9575
    ;;
7905
9576
esac
7906
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
7907
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7908
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
9577
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9578
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
9579
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7909
9580
  echo $ECHO_N "(cached) $ECHO_C" >&6
7910
9581
else
7911
9582
  eval "$as_ac_Header=\$ac_header_preproc"
7912
9583
fi
7913
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7914
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
9584
ac_res=`eval echo '${'$as_ac_Header'}'`
 
9585
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
9586
echo "${ECHO_T}$ac_res" >&6; }
7915
9587
 
7916
9588
fi
7917
9589
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7928
9600
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7929
9601
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7930
9602
if test -n "$ac_tool_prefix"; then
7931
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
9603
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
7932
9604
  do
7933
9605
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7934
9606
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7935
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7936
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9607
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9608
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7937
9609
if test "${ac_cv_prog_F77+set}" = set; then
7938
9610
  echo $ECHO_N "(cached) $ECHO_C" >&6
7939
9611
else
7946
9618
  IFS=$as_save_IFS
7947
9619
  test -z "$as_dir" && as_dir=.
7948
9620
  for ac_exec_ext in '' $ac_executable_extensions; do
7949
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9621
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7950
9622
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7951
9623
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7952
9624
    break 2
7953
9625
  fi
7954
9626
done
7955
9627
done
 
9628
IFS=$as_save_IFS
7956
9629
 
7957
9630
fi
7958
9631
fi
7959
9632
F77=$ac_cv_prog_F77
7960
9633
if test -n "$F77"; then
7961
 
  echo "$as_me:$LINENO: result: $F77" >&5
7962
 
echo "${ECHO_T}$F77" >&6
 
9634
  { echo "$as_me:$LINENO: result: $F77" >&5
 
9635
echo "${ECHO_T}$F77" >&6; }
7963
9636
else
7964
 
  echo "$as_me:$LINENO: result: no" >&5
7965
 
echo "${ECHO_T}no" >&6
 
9637
  { echo "$as_me:$LINENO: result: no" >&5
 
9638
echo "${ECHO_T}no" >&6; }
7966
9639
fi
7967
9640
 
 
9641
 
7968
9642
    test -n "$F77" && break
7969
9643
  done
7970
9644
fi
7971
9645
if test -z "$F77"; then
7972
9646
  ac_ct_F77=$F77
7973
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
9647
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
7974
9648
do
7975
9649
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7976
9650
set dummy $ac_prog; ac_word=$2
7977
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7978
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9651
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9652
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7979
9653
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7980
9654
  echo $ECHO_N "(cached) $ECHO_C" >&6
7981
9655
else
7988
9662
  IFS=$as_save_IFS
7989
9663
  test -z "$as_dir" && as_dir=.
7990
9664
  for ac_exec_ext in '' $ac_executable_extensions; do
7991
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9665
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7992
9666
    ac_cv_prog_ac_ct_F77="$ac_prog"
7993
9667
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7994
9668
    break 2
7995
9669
  fi
7996
9670
done
7997
9671
done
 
9672
IFS=$as_save_IFS
7998
9673
 
7999
9674
fi
8000
9675
fi
8001
9676
ac_ct_F77=$ac_cv_prog_ac_ct_F77
8002
9677
if test -n "$ac_ct_F77"; then
8003
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8004
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
9678
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
9679
echo "${ECHO_T}$ac_ct_F77" >&6; }
8005
9680
else
8006
 
  echo "$as_me:$LINENO: result: no" >&5
8007
 
echo "${ECHO_T}no" >&6
 
9681
  { echo "$as_me:$LINENO: result: no" >&5
 
9682
echo "${ECHO_T}no" >&6; }
8008
9683
fi
8009
9684
 
 
9685
 
8010
9686
  test -n "$ac_ct_F77" && break
8011
9687
done
8012
9688
 
8013
 
  F77=$ac_ct_F77
 
9689
  if test "x$ac_ct_F77" = x; then
 
9690
    F77=""
 
9691
  else
 
9692
    case $cross_compiling:$ac_tool_warned in
 
9693
yes:)
 
9694
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9695
whose name does not start with the host triplet.  If you think this
 
9696
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9697
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9698
whose name does not start with the host triplet.  If you think this
 
9699
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9700
ac_tool_warned=yes ;;
 
9701
esac
 
9702
    F77=$ac_ct_F77
 
9703
  fi
8014
9704
fi
8015
9705
 
8016
9706
 
8017
9707
# Provide some information about the compiler.
8018
 
echo "$as_me:8018:" \
8019
 
     "checking for Fortran 77 compiler version" >&5
 
9708
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
8020
9709
ac_compiler=`set X $ac_compile; echo $2`
8021
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
8022
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
8023
 
  ac_status=$?
8024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025
 
  (exit $ac_status); }
8026
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8027
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
8028
 
  ac_status=$?
8029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030
 
  (exit $ac_status); }
8031
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8032
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
9710
{ (ac_try="$ac_compiler --version >&5"
 
9711
case "(($ac_try" in
 
9712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9713
  *) ac_try_echo=$ac_try;;
 
9714
esac
 
9715
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9716
  (eval "$ac_compiler --version >&5") 2>&5
 
9717
  ac_status=$?
 
9718
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9719
  (exit $ac_status); }
 
9720
{ (ac_try="$ac_compiler -v >&5"
 
9721
case "(($ac_try" in
 
9722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9723
  *) ac_try_echo=$ac_try;;
 
9724
esac
 
9725
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9726
  (eval "$ac_compiler -v >&5") 2>&5
 
9727
  ac_status=$?
 
9728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9729
  (exit $ac_status); }
 
9730
{ (ac_try="$ac_compiler -V >&5"
 
9731
case "(($ac_try" in
 
9732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9733
  *) ac_try_echo=$ac_try;;
 
9734
esac
 
9735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9736
  (eval "$ac_compiler -V >&5") 2>&5
8033
9737
  ac_status=$?
8034
9738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8035
9739
  (exit $ac_status); }
8039
9743
# input file.  (Note that this only needs to work for GNU compilers.)
8040
9744
ac_save_ext=$ac_ext
8041
9745
ac_ext=F
8042
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8043
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
9746
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
9747
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
8044
9748
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8045
9749
  echo $ECHO_N "(cached) $ECHO_C" >&6
8046
9750
else
8053
9757
      end
8054
9758
_ACEOF
8055
9759
rm -f conftest.$ac_objext
8056
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8057
 
  (eval $ac_compile) 2>conftest.er1
 
9760
if { (ac_try="$ac_compile"
 
9761
case "(($ac_try" in
 
9762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9763
  *) ac_try_echo=$ac_try;;
 
9764
esac
 
9765
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9766
  (eval "$ac_compile") 2>conftest.er1
8058
9767
  ac_status=$?
8059
9768
  grep -v '^ *+' conftest.er1 >conftest.err
8060
9769
  rm -f conftest.er1
8061
9770
  cat conftest.err >&5
8062
9771
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063
9772
  (exit $ac_status); } &&
8064
 
         { ac_try='test -z "$ac_f77_werror_flag"
8065
 
                         || test ! -s conftest.err'
8066
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8067
 
  (eval $ac_try) 2>&5
 
9773
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
9774
  { (case "(($ac_try" in
 
9775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9776
  *) ac_try_echo=$ac_try;;
 
9777
esac
 
9778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9779
  (eval "$ac_try") 2>&5
8068
9780
  ac_status=$?
8069
9781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070
9782
  (exit $ac_status); }; } &&
8071
9783
         { ac_try='test -s conftest.$ac_objext'
8072
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073
 
  (eval $ac_try) 2>&5
 
9784
  { (case "(($ac_try" in
 
9785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9786
  *) ac_try_echo=$ac_try;;
 
9787
esac
 
9788
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9789
  (eval "$ac_try") 2>&5
8074
9790
  ac_status=$?
8075
9791
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076
9792
  (exit $ac_status); }; }; then
8079
9795
  echo "$as_me: failed program was:" >&5
8080
9796
sed 's/^/| /' conftest.$ac_ext >&5
8081
9797
 
8082
 
ac_compiler_gnu=no
 
9798
        ac_compiler_gnu=no
8083
9799
fi
8084
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
9800
 
 
9801
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8085
9802
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8086
9803
 
8087
9804
fi
8088
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8089
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
9805
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
9806
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
8090
9807
ac_ext=$ac_save_ext
8091
9808
ac_test_FFLAGS=${FFLAGS+set}
8092
9809
ac_save_FFLAGS=$FFLAGS
8093
9810
FFLAGS=
8094
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8095
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
9811
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
9812
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
8096
9813
if test "${ac_cv_prog_f77_g+set}" = set; then
8097
9814
  echo $ECHO_N "(cached) $ECHO_C" >&6
8098
9815
else
8103
9820
      end
8104
9821
_ACEOF
8105
9822
rm -f conftest.$ac_objext
8106
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8107
 
  (eval $ac_compile) 2>conftest.er1
 
9823
if { (ac_try="$ac_compile"
 
9824
case "(($ac_try" in
 
9825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9826
  *) ac_try_echo=$ac_try;;
 
9827
esac
 
9828
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9829
  (eval "$ac_compile") 2>conftest.er1
8108
9830
  ac_status=$?
8109
9831
  grep -v '^ *+' conftest.er1 >conftest.err
8110
9832
  rm -f conftest.er1
8111
9833
  cat conftest.err >&5
8112
9834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113
9835
  (exit $ac_status); } &&
8114
 
         { ac_try='test -z "$ac_f77_werror_flag"
8115
 
                         || test ! -s conftest.err'
8116
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8117
 
  (eval $ac_try) 2>&5
 
9836
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
9837
  { (case "(($ac_try" in
 
9838
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9839
  *) ac_try_echo=$ac_try;;
 
9840
esac
 
9841
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9842
  (eval "$ac_try") 2>&5
8118
9843
  ac_status=$?
8119
9844
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120
9845
  (exit $ac_status); }; } &&
8121
9846
         { ac_try='test -s conftest.$ac_objext'
8122
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8123
 
  (eval $ac_try) 2>&5
 
9847
  { (case "(($ac_try" in
 
9848
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9849
  *) ac_try_echo=$ac_try;;
 
9850
esac
 
9851
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9852
  (eval "$ac_try") 2>&5
8124
9853
  ac_status=$?
8125
9854
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126
9855
  (exit $ac_status); }; }; then
8129
9858
  echo "$as_me: failed program was:" >&5
8130
9859
sed 's/^/| /' conftest.$ac_ext >&5
8131
9860
 
8132
 
ac_cv_prog_f77_g=no
8133
 
fi
8134
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8135
 
 
8136
 
fi
8137
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8138
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
9861
        ac_cv_prog_f77_g=no
 
9862
fi
 
9863
 
 
9864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9865
 
 
9866
fi
 
9867
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
9868
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
8139
9869
if test "$ac_test_FFLAGS" = set; then
8140
9870
  FFLAGS=$ac_save_FFLAGS
8141
9871
elif test $ac_cv_prog_f77_g = yes; then
8164
9894
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8165
9895
 
8166
9896
# find the maximum length of command line arguments
8167
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8168
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
9897
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
9898
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
8169
9899
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8170
9900
  echo $ECHO_N "(cached) $ECHO_C" >&6
8171
9901
else
8223
9953
fi
8224
9954
 
8225
9955
if test -n $lt_cv_sys_max_cmd_len ; then
8226
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8227
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
9956
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
9957
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8228
9958
else
8229
 
  echo "$as_me:$LINENO: result: none" >&5
8230
 
echo "${ECHO_T}none" >&6
 
9959
  { echo "$as_me:$LINENO: result: none" >&5
 
9960
echo "${ECHO_T}none" >&6; }
8231
9961
fi
8232
9962
 
8233
9963
 
8234
9964
 
8235
9965
 
8236
9966
# Check for command to grab the raw symbol name followed by C symbol from nm.
8237
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8238
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
9967
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
9968
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8239
9969
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8240
9970
  echo $ECHO_N "(cached) $ECHO_C" >&6
8241
9971
else
8423
10153
  lt_cv_sys_global_symbol_to_cdecl=
8424
10154
fi
8425
10155
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8426
 
  echo "$as_me:$LINENO: result: failed" >&5
8427
 
echo "${ECHO_T}failed" >&6
 
10156
  { echo "$as_me:$LINENO: result: failed" >&5
 
10157
echo "${ECHO_T}failed" >&6; }
8428
10158
else
8429
 
  echo "$as_me:$LINENO: result: ok" >&5
8430
 
echo "${ECHO_T}ok" >&6
 
10159
  { echo "$as_me:$LINENO: result: ok" >&5
 
10160
echo "${ECHO_T}ok" >&6; }
8431
10161
fi
8432
10162
 
8433
 
echo "$as_me:$LINENO: checking for objdir" >&5
8434
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
10163
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
10164
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8435
10165
if test "${lt_cv_objdir+set}" = set; then
8436
10166
  echo $ECHO_N "(cached) $ECHO_C" >&6
8437
10167
else
8445
10175
fi
8446
10176
rmdir .libs 2>/dev/null
8447
10177
fi
8448
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8449
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
10178
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
10179
echo "${ECHO_T}$lt_cv_objdir" >&6; }
8450
10180
objdir=$lt_cv_objdir
8451
10181
 
8452
10182
 
8497
10227
if test -n "$ac_tool_prefix"; then
8498
10228
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8499
10229
set dummy ${ac_tool_prefix}ar; ac_word=$2
8500
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8501
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
10230
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10231
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8502
10232
if test "${ac_cv_prog_AR+set}" = set; then
8503
10233
  echo $ECHO_N "(cached) $ECHO_C" >&6
8504
10234
else
8511
10241
  IFS=$as_save_IFS
8512
10242
  test -z "$as_dir" && as_dir=.
8513
10243
  for ac_exec_ext in '' $ac_executable_extensions; do
8514
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10244
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8515
10245
    ac_cv_prog_AR="${ac_tool_prefix}ar"
8516
10246
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8517
10247
    break 2
8518
10248
  fi
8519
10249
done
8520
10250
done
 
10251
IFS=$as_save_IFS
8521
10252
 
8522
10253
fi
8523
10254
fi
8524
10255
AR=$ac_cv_prog_AR
8525
10256
if test -n "$AR"; then
8526
 
  echo "$as_me:$LINENO: result: $AR" >&5
8527
 
echo "${ECHO_T}$AR" >&6
 
10257
  { echo "$as_me:$LINENO: result: $AR" >&5
 
10258
echo "${ECHO_T}$AR" >&6; }
8528
10259
else
8529
 
  echo "$as_me:$LINENO: result: no" >&5
8530
 
echo "${ECHO_T}no" >&6
 
10260
  { echo "$as_me:$LINENO: result: no" >&5
 
10261
echo "${ECHO_T}no" >&6; }
8531
10262
fi
 
10263
 
8532
10264
 
8533
10265
fi
8534
10266
if test -z "$ac_cv_prog_AR"; then
8535
10267
  ac_ct_AR=$AR
8536
10268
  # Extract the first word of "ar", so it can be a program name with args.
8537
10269
set dummy ar; ac_word=$2
8538
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8539
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
10270
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10271
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8540
10272
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8541
10273
  echo $ECHO_N "(cached) $ECHO_C" >&6
8542
10274
else
8549
10281
  IFS=$as_save_IFS
8550
10282
  test -z "$as_dir" && as_dir=.
8551
10283
  for ac_exec_ext in '' $ac_executable_extensions; do
8552
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10284
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8553
10285
    ac_cv_prog_ac_ct_AR="ar"
8554
10286
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8555
10287
    break 2
8556
10288
  fi
8557
10289
done
8558
10290
done
 
10291
IFS=$as_save_IFS
8559
10292
 
8560
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
8561
10293
fi
8562
10294
fi
8563
10295
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8564
10296
if test -n "$ac_ct_AR"; then
8565
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8566
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
10297
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
10298
echo "${ECHO_T}$ac_ct_AR" >&6; }
8567
10299
else
8568
 
  echo "$as_me:$LINENO: result: no" >&5
8569
 
echo "${ECHO_T}no" >&6
 
10300
  { echo "$as_me:$LINENO: result: no" >&5
 
10301
echo "${ECHO_T}no" >&6; }
8570
10302
fi
8571
10303
 
8572
 
  AR=$ac_ct_AR
 
10304
  if test "x$ac_ct_AR" = x; then
 
10305
    AR="false"
 
10306
  else
 
10307
    case $cross_compiling:$ac_tool_warned in
 
10308
yes:)
 
10309
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
10310
whose name does not start with the host triplet.  If you think this
 
10311
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
10312
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
10313
whose name does not start with the host triplet.  If you think this
 
10314
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
10315
ac_tool_warned=yes ;;
 
10316
esac
 
10317
    AR=$ac_ct_AR
 
10318
  fi
8573
10319
else
8574
10320
  AR="$ac_cv_prog_AR"
8575
10321
fi
8577
10323
if test -n "$ac_tool_prefix"; then
8578
10324
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8579
10325
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8580
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8581
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
10326
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10327
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8582
10328
if test "${ac_cv_prog_RANLIB+set}" = set; then
8583
10329
  echo $ECHO_N "(cached) $ECHO_C" >&6
8584
10330
else
8591
10337
  IFS=$as_save_IFS
8592
10338
  test -z "$as_dir" && as_dir=.
8593
10339
  for ac_exec_ext in '' $ac_executable_extensions; do
8594
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8595
10341
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8596
10342
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8597
10343
    break 2
8598
10344
  fi
8599
10345
done
8600
10346
done
 
10347
IFS=$as_save_IFS
8601
10348
 
8602
10349
fi
8603
10350
fi
8604
10351
RANLIB=$ac_cv_prog_RANLIB
8605
10352
if test -n "$RANLIB"; then
8606
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
8607
 
echo "${ECHO_T}$RANLIB" >&6
 
10353
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
10354
echo "${ECHO_T}$RANLIB" >&6; }
8608
10355
else
8609
 
  echo "$as_me:$LINENO: result: no" >&5
8610
 
echo "${ECHO_T}no" >&6
 
10356
  { echo "$as_me:$LINENO: result: no" >&5
 
10357
echo "${ECHO_T}no" >&6; }
8611
10358
fi
 
10359
 
8612
10360
 
8613
10361
fi
8614
10362
if test -z "$ac_cv_prog_RANLIB"; then
8615
10363
  ac_ct_RANLIB=$RANLIB
8616
10364
  # Extract the first word of "ranlib", so it can be a program name with args.
8617
10365
set dummy ranlib; ac_word=$2
8618
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8619
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
10366
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10367
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8620
10368
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8621
10369
  echo $ECHO_N "(cached) $ECHO_C" >&6
8622
10370
else
8629
10377
  IFS=$as_save_IFS
8630
10378
  test -z "$as_dir" && as_dir=.
8631
10379
  for ac_exec_ext in '' $ac_executable_extensions; do
8632
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10380
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8633
10381
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8634
10382
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8635
10383
    break 2
8636
10384
  fi
8637
10385
done
8638
10386
done
 
10387
IFS=$as_save_IFS
8639
10388
 
8640
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8641
10389
fi
8642
10390
fi
8643
10391
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8644
10392
if test -n "$ac_ct_RANLIB"; then
8645
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8646
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
10393
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
10394
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8647
10395
else
8648
 
  echo "$as_me:$LINENO: result: no" >&5
8649
 
echo "${ECHO_T}no" >&6
 
10396
  { echo "$as_me:$LINENO: result: no" >&5
 
10397
echo "${ECHO_T}no" >&6; }
8650
10398
fi
8651
10399
 
8652
 
  RANLIB=$ac_ct_RANLIB
 
10400
  if test "x$ac_ct_RANLIB" = x; then
 
10401
    RANLIB=":"
 
10402
  else
 
10403
    case $cross_compiling:$ac_tool_warned in
 
10404
yes:)
 
10405
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
10406
whose name does not start with the host triplet.  If you think this
 
10407
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
10408
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
10409
whose name does not start with the host triplet.  If you think this
 
10410
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
10411
ac_tool_warned=yes ;;
 
10412
esac
 
10413
    RANLIB=$ac_ct_RANLIB
 
10414
  fi
8653
10415
else
8654
10416
  RANLIB="$ac_cv_prog_RANLIB"
8655
10417
fi
8657
10419
if test -n "$ac_tool_prefix"; then
8658
10420
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8659
10421
set dummy ${ac_tool_prefix}strip; ac_word=$2
8660
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8661
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
10422
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10423
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8662
10424
if test "${ac_cv_prog_STRIP+set}" = set; then
8663
10425
  echo $ECHO_N "(cached) $ECHO_C" >&6
8664
10426
else
8671
10433
  IFS=$as_save_IFS
8672
10434
  test -z "$as_dir" && as_dir=.
8673
10435
  for ac_exec_ext in '' $ac_executable_extensions; do
8674
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10436
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8675
10437
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8676
10438
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8677
10439
    break 2
8678
10440
  fi
8679
10441
done
8680
10442
done
 
10443
IFS=$as_save_IFS
8681
10444
 
8682
10445
fi
8683
10446
fi
8684
10447
STRIP=$ac_cv_prog_STRIP
8685
10448
if test -n "$STRIP"; then
8686
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
8687
 
echo "${ECHO_T}$STRIP" >&6
 
10449
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
10450
echo "${ECHO_T}$STRIP" >&6; }
8688
10451
else
8689
 
  echo "$as_me:$LINENO: result: no" >&5
8690
 
echo "${ECHO_T}no" >&6
 
10452
  { echo "$as_me:$LINENO: result: no" >&5
 
10453
echo "${ECHO_T}no" >&6; }
8691
10454
fi
 
10455
 
8692
10456
 
8693
10457
fi
8694
10458
if test -z "$ac_cv_prog_STRIP"; then
8695
10459
  ac_ct_STRIP=$STRIP
8696
10460
  # Extract the first word of "strip", so it can be a program name with args.
8697
10461
set dummy strip; ac_word=$2
8698
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8699
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
10462
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10463
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8700
10464
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8701
10465
  echo $ECHO_N "(cached) $ECHO_C" >&6
8702
10466
else
8709
10473
  IFS=$as_save_IFS
8710
10474
  test -z "$as_dir" && as_dir=.
8711
10475
  for ac_exec_ext in '' $ac_executable_extensions; do
8712
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8713
10477
    ac_cv_prog_ac_ct_STRIP="strip"
8714
10478
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8715
10479
    break 2
8716
10480
  fi
8717
10481
done
8718
10482
done
 
10483
IFS=$as_save_IFS
8719
10484
 
8720
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
8721
10485
fi
8722
10486
fi
8723
10487
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8724
10488
if test -n "$ac_ct_STRIP"; then
8725
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8726
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
10489
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
10490
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8727
10491
else
8728
 
  echo "$as_me:$LINENO: result: no" >&5
8729
 
echo "${ECHO_T}no" >&6
 
10492
  { echo "$as_me:$LINENO: result: no" >&5
 
10493
echo "${ECHO_T}no" >&6; }
8730
10494
fi
8731
10495
 
8732
 
  STRIP=$ac_ct_STRIP
 
10496
  if test "x$ac_ct_STRIP" = x; then
 
10497
    STRIP=":"
 
10498
  else
 
10499
    case $cross_compiling:$ac_tool_warned in
 
10500
yes:)
 
10501
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
10502
whose name does not start with the host triplet.  If you think this
 
10503
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
10504
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
10505
whose name does not start with the host triplet.  If you think this
 
10506
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
10507
ac_tool_warned=yes ;;
 
10508
esac
 
10509
    STRIP=$ac_ct_STRIP
 
10510
  fi
8733
10511
else
8734
10512
  STRIP="$ac_cv_prog_STRIP"
8735
10513
fi
8776
10554
case $deplibs_check_method in
8777
10555
file_magic*)
8778
10556
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8779
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8780
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
10557
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
10558
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8781
10559
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8782
10560
  echo $ECHO_N "(cached) $ECHO_C" >&6
8783
10561
else
8829
10607
 
8830
10608
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8831
10609
if test -n "$MAGIC_CMD"; then
8832
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8833
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
10610
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
10611
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8834
10612
else
8835
 
  echo "$as_me:$LINENO: result: no" >&5
8836
 
echo "${ECHO_T}no" >&6
 
10613
  { echo "$as_me:$LINENO: result: no" >&5
 
10614
echo "${ECHO_T}no" >&6; }
8837
10615
fi
8838
10616
 
8839
10617
if test -z "$lt_cv_path_MAGIC_CMD"; then
8840
10618
  if test -n "$ac_tool_prefix"; then
8841
 
    echo "$as_me:$LINENO: checking for file" >&5
8842
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
10619
    { echo "$as_me:$LINENO: checking for file" >&5
 
10620
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8843
10621
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8844
10622
  echo $ECHO_N "(cached) $ECHO_C" >&6
8845
10623
else
8891
10669
 
8892
10670
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8893
10671
if test -n "$MAGIC_CMD"; then
8894
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8895
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
10672
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
10673
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8896
10674
else
8897
 
  echo "$as_me:$LINENO: result: no" >&5
8898
 
echo "${ECHO_T}no" >&6
 
10675
  { echo "$as_me:$LINENO: result: no" >&5
 
10676
echo "${ECHO_T}no" >&6; }
8899
10677
fi
8900
10678
 
8901
10679
  else
8910
10688
enable_dlopen=yes
8911
10689
enable_win32_dll=no
8912
10690
 
8913
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
10691
# Check whether --enable-libtool-lock was given.
8914
10692
if test "${enable_libtool_lock+set}" = set; then
8915
 
  enableval="$enable_libtool_lock"
 
10693
  enableval=$enable_libtool_lock;
 
10694
fi
8916
10695
 
8917
 
fi;
8918
10696
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8919
10697
 
8920
10698
 
8921
 
# Check whether --with-pic or --without-pic was given.
 
10699
# Check whether --with-pic was given.
8922
10700
if test "${with_pic+set}" = set; then
8923
 
  withval="$with_pic"
8924
 
  pic_mode="$withval"
 
10701
  withval=$with_pic; pic_mode="$withval"
8925
10702
else
8926
10703
  pic_mode=default
8927
 
fi;
 
10704
fi
 
10705
 
8928
10706
test -z "$pic_mode" && pic_mode=default
8929
10707
 
8930
10708
# Use C for the default configuration in the libtool script
8984
10762
#
8985
10763
# Check to make sure the static flag actually works.
8986
10764
#
8987
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
8988
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
 
10765
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
 
10766
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
8989
10767
if test "${lt_prog_compiler_static_works+set}" = set; then
8990
10768
  echo $ECHO_N "(cached) $ECHO_C" >&6
8991
10769
else
9007
10785
   LDFLAGS="$save_LDFLAGS"
9008
10786
 
9009
10787
fi
9010
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9011
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
10788
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
10789
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
9012
10790
 
9013
10791
if test x"$lt_prog_compiler_static_works" = xyes; then
9014
10792
    :
9018
10796
 
9019
10797
 
9020
10798
 
 
10799
## CAVEAT EMPTOR:
 
10800
## There is no encapsulation within the following macros, do not change
 
10801
## the running order or otherwise move them around unless you know exactly
 
10802
## what you are doing...
9021
10803
 
9022
10804
lt_prog_compiler_no_builtin_flag=
9023
10805
 
9025
10807
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9026
10808
 
9027
10809
 
9028
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9029
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
10810
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
10811
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9030
10812
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9031
10813
  echo $ECHO_N "(cached) $ECHO_C" >&6
9032
10814
else
9043
10825
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9044
10826
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9045
10827
   -e 's:$: $lt_compiler_flag:'`
9046
 
   (eval echo "\"\$as_me:9046: $lt_compile\"" >&5)
 
10828
   (eval echo "\"\$as_me:10828: $lt_compile\"" >&5)
9047
10829
   (eval "$lt_compile" 2>conftest.err)
9048
10830
   ac_status=$?
9049
10831
   cat conftest.err >&5
9050
 
   echo "$as_me:9050: \$? = $ac_status" >&5
 
10832
   echo "$as_me:10832: \$? = $ac_status" >&5
9051
10833
   if (exit $ac_status) && test -s "$ac_outfile"; then
9052
10834
     # The compiler can only warn and ignore the option if not recognized
9053
10835
     # So say no if there are warnings
9058
10840
   $rm conftest*
9059
10841
 
9060
10842
fi
9061
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9062
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
10843
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
10844
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9063
10845
 
9064
10846
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9065
10847
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9073
10855
lt_prog_compiler_pic=
9074
10856
lt_prog_compiler_static=
9075
10857
 
9076
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9077
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
10858
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
10859
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9078
10860
 
9079
10861
  if test "$GCC" = yes; then
9080
10862
    lt_prog_compiler_wl='-Wl,'
9250
11032
    esac
9251
11033
  fi
9252
11034
 
9253
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9254
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
11035
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
11036
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9255
11037
 
9256
11038
#
9257
11039
# Check to make sure the PIC flag actually works.
9258
11040
#
9259
11041
if test -n "$lt_prog_compiler_pic"; then
9260
11042
 
9261
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9262
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
11043
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
11044
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9263
11045
if test "${lt_prog_compiler_pic_works+set}" = set; then
9264
11046
  echo $ECHO_N "(cached) $ECHO_C" >&6
9265
11047
else
9276
11058
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9277
11059
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9278
11060
   -e 's:$: $lt_compiler_flag:'`
9279
 
   (eval echo "\"\$as_me:9279: $lt_compile\"" >&5)
 
11061
   (eval echo "\"\$as_me:11061: $lt_compile\"" >&5)
9280
11062
   (eval "$lt_compile" 2>conftest.err)
9281
11063
   ac_status=$?
9282
11064
   cat conftest.err >&5
9283
 
   echo "$as_me:9283: \$? = $ac_status" >&5
 
11065
   echo "$as_me:11065: \$? = $ac_status" >&5
9284
11066
   if (exit $ac_status) && test -s "$ac_outfile"; then
9285
11067
     # The compiler can only warn and ignore the option if not recognized
9286
11068
     # So say no if there are warnings
9291
11073
   $rm conftest*
9292
11074
 
9293
11075
fi
9294
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9295
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
11076
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
11077
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
9296
11078
 
9297
11079
if test x"$lt_prog_compiler_pic_works" = xyes; then
9298
11080
    case $lt_prog_compiler_pic in
9315
11097
    ;;
9316
11098
esac
9317
11099
 
9318
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9319
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
11100
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11101
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9320
11102
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9321
11103
  echo $ECHO_N "(cached) $ECHO_C" >&6
9322
11104
else
9343
11125
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9344
11126
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9345
11127
   -e 's:$: $lt_compiler_flag:'`
9346
 
   (eval echo "\"\$as_me:9346: $lt_compile\"" >&5)
 
11128
   (eval echo "\"\$as_me:11128: $lt_compile\"" >&5)
9347
11129
   (eval "$lt_compile" 2>out/conftest.err)
9348
11130
   ac_status=$?
9349
11131
   cat out/conftest.err >&5
9350
 
   echo "$as_me:9350: \$? = $ac_status" >&5
 
11132
   echo "$as_me:11132: \$? = $ac_status" >&5
9351
11133
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9352
11134
   then
9353
11135
     # The compiler can only warn and ignore the option if not recognized
9364
11146
   $rm conftest*
9365
11147
 
9366
11148
fi
9367
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9368
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
11149
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
11150
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9369
11151
 
9370
11152
 
9371
11153
hard_links="nottested"
9372
11154
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9373
11155
  # do not overwrite the value of need_locks provided by the user
9374
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9375
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
11156
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
11157
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9376
11158
  hard_links=yes
9377
11159
  $rm conftest*
9378
11160
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9379
11161
  touch conftest.a
9380
11162
  ln conftest.a conftest.b 2>&5 || hard_links=no
9381
11163
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9382
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
9383
 
echo "${ECHO_T}$hard_links" >&6
 
11164
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
11165
echo "${ECHO_T}$hard_links" >&6; }
9384
11166
  if test "$hard_links" = no; then
9385
11167
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9386
11168
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9390
11172
  need_locks=no
9391
11173
fi
9392
11174
 
9393
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9394
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11175
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11176
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9395
11177
 
9396
11178
  runpath_var=
9397
11179
  allow_undefined_flag=
9686
11468
}
9687
11469
_ACEOF
9688
11470
rm -f conftest.$ac_objext conftest$ac_exeext
9689
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9690
 
  (eval $ac_link) 2>conftest.er1
 
11471
if { (ac_try="$ac_link"
 
11472
case "(($ac_try" in
 
11473
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11474
  *) ac_try_echo=$ac_try;;
 
11475
esac
 
11476
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11477
  (eval "$ac_link") 2>conftest.er1
9691
11478
  ac_status=$?
9692
11479
  grep -v '^ *+' conftest.er1 >conftest.err
9693
11480
  rm -f conftest.er1
9694
11481
  cat conftest.err >&5
9695
11482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696
11483
  (exit $ac_status); } &&
9697
 
         { ac_try='test -z "$ac_c_werror_flag"
9698
 
                         || test ! -s conftest.err'
9699
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700
 
  (eval $ac_try) 2>&5
 
11484
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11485
  { (case "(($ac_try" in
 
11486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11487
  *) ac_try_echo=$ac_try;;
 
11488
esac
 
11489
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11490
  (eval "$ac_try") 2>&5
9701
11491
  ac_status=$?
9702
11492
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703
11493
  (exit $ac_status); }; } &&
9704
11494
         { ac_try='test -s conftest$ac_exeext'
9705
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706
 
  (eval $ac_try) 2>&5
 
11495
  { (case "(($ac_try" in
 
11496
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11497
  *) ac_try_echo=$ac_try;;
 
11498
esac
 
11499
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11500
  (eval "$ac_try") 2>&5
9707
11501
  ac_status=$?
9708
11502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709
11503
  (exit $ac_status); }; }; then
9717
11511
  echo "$as_me: failed program was:" >&5
9718
11512
sed 's/^/| /' conftest.$ac_ext >&5
9719
11513
 
 
11514
 
9720
11515
fi
9721
 
rm -f conftest.err conftest.$ac_objext \
 
11516
 
 
11517
rm -f core conftest.err conftest.$ac_objext \
9722
11518
      conftest$ac_exeext conftest.$ac_ext
9723
11519
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9724
11520
 
9748
11544
}
9749
11545
_ACEOF
9750
11546
rm -f conftest.$ac_objext conftest$ac_exeext
9751
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9752
 
  (eval $ac_link) 2>conftest.er1
 
11547
if { (ac_try="$ac_link"
 
11548
case "(($ac_try" in
 
11549
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11550
  *) ac_try_echo=$ac_try;;
 
11551
esac
 
11552
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11553
  (eval "$ac_link") 2>conftest.er1
9753
11554
  ac_status=$?
9754
11555
  grep -v '^ *+' conftest.er1 >conftest.err
9755
11556
  rm -f conftest.er1
9756
11557
  cat conftest.err >&5
9757
11558
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758
11559
  (exit $ac_status); } &&
9759
 
         { ac_try='test -z "$ac_c_werror_flag"
9760
 
                         || test ! -s conftest.err'
9761
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9762
 
  (eval $ac_try) 2>&5
 
11560
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11561
  { (case "(($ac_try" in
 
11562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11563
  *) ac_try_echo=$ac_try;;
 
11564
esac
 
11565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11566
  (eval "$ac_try") 2>&5
9763
11567
  ac_status=$?
9764
11568
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765
11569
  (exit $ac_status); }; } &&
9766
11570
         { ac_try='test -s conftest$ac_exeext'
9767
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9768
 
  (eval $ac_try) 2>&5
 
11571
  { (case "(($ac_try" in
 
11572
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11573
  *) ac_try_echo=$ac_try;;
 
11574
esac
 
11575
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11576
  (eval "$ac_try") 2>&5
9769
11577
  ac_status=$?
9770
11578
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771
11579
  (exit $ac_status); }; }; then
9779
11587
  echo "$as_me: failed program was:" >&5
9780
11588
sed 's/^/| /' conftest.$ac_ext >&5
9781
11589
 
 
11590
 
9782
11591
fi
9783
 
rm -f conftest.err conftest.$ac_objext \
 
11592
 
 
11593
rm -f core conftest.err conftest.$ac_objext \
9784
11594
      conftest$ac_exeext conftest.$ac_ext
9785
11595
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9786
11596
 
9913
11723
      ;;
9914
11724
 
9915
11725
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9916
 
    freebsd*)
 
11726
    freebsd* | kfreebsd*-gnu)
9917
11727
      archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
9918
11728
      hardcode_libdir_flag_spec='-R$libdir'
9919
11729
      hardcode_direct=yes
10202
12012
    esac
10203
12013
  fi
10204
12014
 
10205
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10206
 
echo "${ECHO_T}$ld_shlibs" >&6
 
12015
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
12016
echo "${ECHO_T}$ld_shlibs" >&6; }
10207
12017
test "$ld_shlibs" = no && can_build_shared=no
10208
12018
 
10209
12019
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10228
12038
      # Test whether the compiler implicitly links with -lc since on some
10229
12039
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10230
12040
      # to ld, don't add -lc before -lgcc.
10231
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10232
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12041
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12042
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10233
12043
      $rm conftest*
10234
12044
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10235
12045
 
10265
12075
        cat conftest.err 1>&5
10266
12076
      fi
10267
12077
      $rm conftest*
10268
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10269
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
12078
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
12079
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10270
12080
      ;;
10271
12081
    esac
10272
12082
  fi
10273
12083
  ;;
10274
12084
esac
10275
12085
 
10276
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10277
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12086
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12087
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10278
12088
library_names_spec=
10279
12089
libname_spec='lib$name'
10280
12090
soname_spec=
10466
12276
  dynamic_linker=no
10467
12277
  ;;
10468
12278
 
10469
 
freebsd*-gnu*)
 
12279
kfreebsd*-gnu*)
10470
12280
  version_type=linux
10471
12281
  need_lib_prefix=no
10472
12282
  need_version=no
10791
12601
  dynamic_linker=no
10792
12602
  ;;
10793
12603
esac
10794
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10795
 
echo "${ECHO_T}$dynamic_linker" >&6
 
12604
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
12605
echo "${ECHO_T}$dynamic_linker" >&6; }
10796
12606
test "$dynamic_linker" = no && can_build_shared=no
10797
12607
 
10798
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10799
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
12608
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
12609
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10800
12610
hardcode_action=
10801
12611
if test -n "$hardcode_libdir_flag_spec" || \
10802
12612
   test -n "$runpath_var " || \
10820
12630
  # directories.
10821
12631
  hardcode_action=unsupported
10822
12632
fi
10823
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
10824
 
echo "${ECHO_T}$hardcode_action" >&6
 
12633
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
12634
echo "${ECHO_T}$hardcode_action" >&6; }
10825
12635
 
10826
12636
if test "$hardcode_action" = relink; then
10827
12637
  # Fast installation is not supported
10834
12644
 
10835
12645
striplib=
10836
12646
old_striplib=
10837
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10838
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
12647
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12648
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10839
12649
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10840
12650
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10841
12651
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10842
 
  echo "$as_me:$LINENO: result: yes" >&5
10843
 
echo "${ECHO_T}yes" >&6
 
12652
  { echo "$as_me:$LINENO: result: yes" >&5
 
12653
echo "${ECHO_T}yes" >&6; }
10844
12654
else
10845
12655
# FIXME - insert some real tests, host_os isn't really good enough
10846
12656
  case $host_os in
10847
12657
   darwin*)
10848
12658
       if test -n "$STRIP" ; then
10849
12659
         striplib="$STRIP -x"
10850
 
         echo "$as_me:$LINENO: result: yes" >&5
10851
 
echo "${ECHO_T}yes" >&6
 
12660
         { echo "$as_me:$LINENO: result: yes" >&5
 
12661
echo "${ECHO_T}yes" >&6; }
10852
12662
       else
10853
 
  echo "$as_me:$LINENO: result: no" >&5
10854
 
echo "${ECHO_T}no" >&6
 
12663
  { echo "$as_me:$LINENO: result: no" >&5
 
12664
echo "${ECHO_T}no" >&6; }
10855
12665
fi
10856
12666
       ;;
10857
12667
   *)
10858
 
  echo "$as_me:$LINENO: result: no" >&5
10859
 
echo "${ECHO_T}no" >&6
 
12668
  { echo "$as_me:$LINENO: result: no" >&5
 
12669
echo "${ECHO_T}no" >&6; }
10860
12670
    ;;
10861
12671
  esac
10862
12672
fi
10888
12698
 
10889
12699
  darwin*)
10890
12700
  # if libdl is installed we need to link against it
10891
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10892
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
12701
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12702
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10893
12703
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10894
12704
  echo $ECHO_N "(cached) $ECHO_C" >&6
10895
12705
else
10902
12712
cat >>conftest.$ac_ext <<_ACEOF
10903
12713
/* end confdefs.h.  */
10904
12714
 
10905
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12715
/* Override any GCC internal prototype to avoid an error.
 
12716
   Use char because int might match the return type of a GCC
 
12717
   builtin and then its argument prototype would still apply.  */
10906
12718
#ifdef __cplusplus
10907
12719
extern "C"
10908
12720
#endif
10909
 
/* We use char because int might match the return type of a gcc2
10910
 
   builtin and then its argument prototype would still apply.  */
10911
12721
char dlopen ();
10912
12722
int
10913
12723
main ()
10914
12724
{
10915
 
dlopen ();
 
12725
return dlopen ();
10916
12726
  ;
10917
12727
  return 0;
10918
12728
}
10919
12729
_ACEOF
10920
12730
rm -f conftest.$ac_objext conftest$ac_exeext
10921
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10922
 
  (eval $ac_link) 2>conftest.er1
 
12731
if { (ac_try="$ac_link"
 
12732
case "(($ac_try" in
 
12733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12734
  *) ac_try_echo=$ac_try;;
 
12735
esac
 
12736
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12737
  (eval "$ac_link") 2>conftest.er1
10923
12738
  ac_status=$?
10924
12739
  grep -v '^ *+' conftest.er1 >conftest.err
10925
12740
  rm -f conftest.er1
10926
12741
  cat conftest.err >&5
10927
12742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928
12743
  (exit $ac_status); } &&
10929
 
         { ac_try='test -z "$ac_c_werror_flag"
10930
 
                         || test ! -s conftest.err'
10931
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10932
 
  (eval $ac_try) 2>&5
 
12744
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12745
  { (case "(($ac_try" in
 
12746
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12747
  *) ac_try_echo=$ac_try;;
 
12748
esac
 
12749
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12750
  (eval "$ac_try") 2>&5
10933
12751
  ac_status=$?
10934
12752
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935
12753
  (exit $ac_status); }; } &&
10936
12754
         { ac_try='test -s conftest$ac_exeext'
10937
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938
 
  (eval $ac_try) 2>&5
 
12755
  { (case "(($ac_try" in
 
12756
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12757
  *) ac_try_echo=$ac_try;;
 
12758
esac
 
12759
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12760
  (eval "$ac_try") 2>&5
10939
12761
  ac_status=$?
10940
12762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941
12763
  (exit $ac_status); }; }; then
10944
12766
  echo "$as_me: failed program was:" >&5
10945
12767
sed 's/^/| /' conftest.$ac_ext >&5
10946
12768
 
10947
 
ac_cv_lib_dl_dlopen=no
 
12769
        ac_cv_lib_dl_dlopen=no
10948
12770
fi
10949
 
rm -f conftest.err conftest.$ac_objext \
 
12771
 
 
12772
rm -f core conftest.err conftest.$ac_objext \
10950
12773
      conftest$ac_exeext conftest.$ac_ext
10951
12774
LIBS=$ac_check_lib_save_LIBS
10952
12775
fi
10953
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10954
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
12776
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12777
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10955
12778
if test $ac_cv_lib_dl_dlopen = yes; then
10956
12779
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10957
12780
else
10965
12788
   ;;
10966
12789
 
10967
12790
  *)
10968
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
10969
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
12791
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
12792
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10970
12793
if test "${ac_cv_func_shl_load+set}" = set; then
10971
12794
  echo $ECHO_N "(cached) $ECHO_C" >&6
10972
12795
else
10993
12816
 
10994
12817
#undef shl_load
10995
12818
 
10996
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12819
/* Override any GCC internal prototype to avoid an error.
 
12820
   Use char because int might match the return type of a GCC
 
12821
   builtin and then its argument prototype would still apply.  */
10997
12822
#ifdef __cplusplus
10998
12823
extern "C"
10999
 
{
11000
12824
#endif
11001
 
/* We use char because int might match the return type of a gcc2
11002
 
   builtin and then its argument prototype would still apply.  */
11003
12825
char shl_load ();
11004
12826
/* The GNU C library defines this for functions which it implements
11005
12827
    to always fail with ENOSYS.  Some functions are actually named
11006
12828
    something starting with __ and the normal name is an alias.  */
11007
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
12829
#if defined __stub_shl_load || defined __stub___shl_load
11008
12830
choke me
11009
 
#else
11010
 
char (*f) () = shl_load;
11011
 
#endif
11012
 
#ifdef __cplusplus
11013
 
}
11014
12831
#endif
11015
12832
 
11016
12833
int
11017
12834
main ()
11018
12835
{
11019
 
return f != shl_load;
 
12836
return shl_load ();
11020
12837
  ;
11021
12838
  return 0;
11022
12839
}
11023
12840
_ACEOF
11024
12841
rm -f conftest.$ac_objext conftest$ac_exeext
11025
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11026
 
  (eval $ac_link) 2>conftest.er1
 
12842
if { (ac_try="$ac_link"
 
12843
case "(($ac_try" in
 
12844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12845
  *) ac_try_echo=$ac_try;;
 
12846
esac
 
12847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12848
  (eval "$ac_link") 2>conftest.er1
11027
12849
  ac_status=$?
11028
12850
  grep -v '^ *+' conftest.er1 >conftest.err
11029
12851
  rm -f conftest.er1
11030
12852
  cat conftest.err >&5
11031
12853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032
12854
  (exit $ac_status); } &&
11033
 
         { ac_try='test -z "$ac_c_werror_flag"
11034
 
                         || test ! -s conftest.err'
11035
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11036
 
  (eval $ac_try) 2>&5
 
12855
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12856
  { (case "(($ac_try" in
 
12857
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12858
  *) ac_try_echo=$ac_try;;
 
12859
esac
 
12860
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12861
  (eval "$ac_try") 2>&5
11037
12862
  ac_status=$?
11038
12863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039
12864
  (exit $ac_status); }; } &&
11040
12865
         { ac_try='test -s conftest$ac_exeext'
11041
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042
 
  (eval $ac_try) 2>&5
 
12866
  { (case "(($ac_try" in
 
12867
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12868
  *) ac_try_echo=$ac_try;;
 
12869
esac
 
12870
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12871
  (eval "$ac_try") 2>&5
11043
12872
  ac_status=$?
11044
12873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045
12874
  (exit $ac_status); }; }; then
11048
12877
  echo "$as_me: failed program was:" >&5
11049
12878
sed 's/^/| /' conftest.$ac_ext >&5
11050
12879
 
11051
 
ac_cv_func_shl_load=no
 
12880
        ac_cv_func_shl_load=no
11052
12881
fi
11053
 
rm -f conftest.err conftest.$ac_objext \
 
12882
 
 
12883
rm -f core conftest.err conftest.$ac_objext \
11054
12884
      conftest$ac_exeext conftest.$ac_ext
11055
12885
fi
11056
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11057
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
12886
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
12887
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11058
12888
if test $ac_cv_func_shl_load = yes; then
11059
12889
  lt_cv_dlopen="shl_load"
11060
12890
else
11061
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11062
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
12891
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
12892
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11063
12893
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11064
12894
  echo $ECHO_N "(cached) $ECHO_C" >&6
11065
12895
else
11072
12902
cat >>conftest.$ac_ext <<_ACEOF
11073
12903
/* end confdefs.h.  */
11074
12904
 
11075
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12905
/* Override any GCC internal prototype to avoid an error.
 
12906
   Use char because int might match the return type of a GCC
 
12907
   builtin and then its argument prototype would still apply.  */
11076
12908
#ifdef __cplusplus
11077
12909
extern "C"
11078
12910
#endif
11079
 
/* We use char because int might match the return type of a gcc2
11080
 
   builtin and then its argument prototype would still apply.  */
11081
12911
char shl_load ();
11082
12912
int
11083
12913
main ()
11084
12914
{
11085
 
shl_load ();
 
12915
return shl_load ();
11086
12916
  ;
11087
12917
  return 0;
11088
12918
}
11089
12919
_ACEOF
11090
12920
rm -f conftest.$ac_objext conftest$ac_exeext
11091
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11092
 
  (eval $ac_link) 2>conftest.er1
 
12921
if { (ac_try="$ac_link"
 
12922
case "(($ac_try" in
 
12923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12924
  *) ac_try_echo=$ac_try;;
 
12925
esac
 
12926
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12927
  (eval "$ac_link") 2>conftest.er1
11093
12928
  ac_status=$?
11094
12929
  grep -v '^ *+' conftest.er1 >conftest.err
11095
12930
  rm -f conftest.er1
11096
12931
  cat conftest.err >&5
11097
12932
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098
12933
  (exit $ac_status); } &&
11099
 
         { ac_try='test -z "$ac_c_werror_flag"
11100
 
                         || test ! -s conftest.err'
11101
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11102
 
  (eval $ac_try) 2>&5
 
12934
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12935
  { (case "(($ac_try" in
 
12936
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12937
  *) ac_try_echo=$ac_try;;
 
12938
esac
 
12939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12940
  (eval "$ac_try") 2>&5
11103
12941
  ac_status=$?
11104
12942
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105
12943
  (exit $ac_status); }; } &&
11106
12944
         { ac_try='test -s conftest$ac_exeext'
11107
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11108
 
  (eval $ac_try) 2>&5
 
12945
  { (case "(($ac_try" in
 
12946
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12947
  *) ac_try_echo=$ac_try;;
 
12948
esac
 
12949
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12950
  (eval "$ac_try") 2>&5
11109
12951
  ac_status=$?
11110
12952
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111
12953
  (exit $ac_status); }; }; then
11114
12956
  echo "$as_me: failed program was:" >&5
11115
12957
sed 's/^/| /' conftest.$ac_ext >&5
11116
12958
 
11117
 
ac_cv_lib_dld_shl_load=no
 
12959
        ac_cv_lib_dld_shl_load=no
11118
12960
fi
11119
 
rm -f conftest.err conftest.$ac_objext \
 
12961
 
 
12962
rm -f core conftest.err conftest.$ac_objext \
11120
12963
      conftest$ac_exeext conftest.$ac_ext
11121
12964
LIBS=$ac_check_lib_save_LIBS
11122
12965
fi
11123
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11124
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
12966
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
12967
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11125
12968
if test $ac_cv_lib_dld_shl_load = yes; then
11126
12969
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11127
12970
else
11128
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
11129
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
12971
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
12972
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11130
12973
if test "${ac_cv_func_dlopen+set}" = set; then
11131
12974
  echo $ECHO_N "(cached) $ECHO_C" >&6
11132
12975
else
11153
12996
 
11154
12997
#undef dlopen
11155
12998
 
11156
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12999
/* Override any GCC internal prototype to avoid an error.
 
13000
   Use char because int might match the return type of a GCC
 
13001
   builtin and then its argument prototype would still apply.  */
11157
13002
#ifdef __cplusplus
11158
13003
extern "C"
11159
 
{
11160
13004
#endif
11161
 
/* We use char because int might match the return type of a gcc2
11162
 
   builtin and then its argument prototype would still apply.  */
11163
13005
char dlopen ();
11164
13006
/* The GNU C library defines this for functions which it implements
11165
13007
    to always fail with ENOSYS.  Some functions are actually named
11166
13008
    something starting with __ and the normal name is an alias.  */
11167
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
13009
#if defined __stub_dlopen || defined __stub___dlopen
11168
13010
choke me
11169
 
#else
11170
 
char (*f) () = dlopen;
11171
 
#endif
11172
 
#ifdef __cplusplus
11173
 
}
11174
13011
#endif
11175
13012
 
11176
13013
int
11177
13014
main ()
11178
13015
{
11179
 
return f != dlopen;
 
13016
return dlopen ();
11180
13017
  ;
11181
13018
  return 0;
11182
13019
}
11183
13020
_ACEOF
11184
13021
rm -f conftest.$ac_objext conftest$ac_exeext
11185
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11186
 
  (eval $ac_link) 2>conftest.er1
 
13022
if { (ac_try="$ac_link"
 
13023
case "(($ac_try" in
 
13024
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13025
  *) ac_try_echo=$ac_try;;
 
13026
esac
 
13027
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13028
  (eval "$ac_link") 2>conftest.er1
11187
13029
  ac_status=$?
11188
13030
  grep -v '^ *+' conftest.er1 >conftest.err
11189
13031
  rm -f conftest.er1
11190
13032
  cat conftest.err >&5
11191
13033
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192
13034
  (exit $ac_status); } &&
11193
 
         { ac_try='test -z "$ac_c_werror_flag"
11194
 
                         || test ! -s conftest.err'
11195
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196
 
  (eval $ac_try) 2>&5
 
13035
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
13036
  { (case "(($ac_try" in
 
13037
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13038
  *) ac_try_echo=$ac_try;;
 
13039
esac
 
13040
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13041
  (eval "$ac_try") 2>&5
11197
13042
  ac_status=$?
11198
13043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199
13044
  (exit $ac_status); }; } &&
11200
13045
         { ac_try='test -s conftest$ac_exeext'
11201
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11202
 
  (eval $ac_try) 2>&5
 
13046
  { (case "(($ac_try" in
 
13047
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13048
  *) ac_try_echo=$ac_try;;
 
13049
esac
 
13050
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13051
  (eval "$ac_try") 2>&5
11203
13052
  ac_status=$?
11204
13053
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205
13054
  (exit $ac_status); }; }; then
11208
13057
  echo "$as_me: failed program was:" >&5
11209
13058
sed 's/^/| /' conftest.$ac_ext >&5
11210
13059
 
11211
 
ac_cv_func_dlopen=no
 
13060
        ac_cv_func_dlopen=no
11212
13061
fi
11213
 
rm -f conftest.err conftest.$ac_objext \
 
13062
 
 
13063
rm -f core conftest.err conftest.$ac_objext \
11214
13064
      conftest$ac_exeext conftest.$ac_ext
11215
13065
fi
11216
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11217
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
13066
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
13067
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11218
13068
if test $ac_cv_func_dlopen = yes; then
11219
13069
  lt_cv_dlopen="dlopen"
11220
13070
else
11221
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11222
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
13071
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
13072
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11223
13073
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11224
13074
  echo $ECHO_N "(cached) $ECHO_C" >&6
11225
13075
else
11232
13082
cat >>conftest.$ac_ext <<_ACEOF
11233
13083
/* end confdefs.h.  */
11234
13084
 
11235
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13085
/* Override any GCC internal prototype to avoid an error.
 
13086
   Use char because int might match the return type of a GCC
 
13087
   builtin and then its argument prototype would still apply.  */
11236
13088
#ifdef __cplusplus
11237
13089
extern "C"
11238
13090
#endif
11239
 
/* We use char because int might match the return type of a gcc2
11240
 
   builtin and then its argument prototype would still apply.  */
11241
13091
char dlopen ();
11242
13092
int
11243
13093
main ()
11244
13094
{
11245
 
dlopen ();
 
13095
return dlopen ();
11246
13096
  ;
11247
13097
  return 0;
11248
13098
}
11249
13099
_ACEOF
11250
13100
rm -f conftest.$ac_objext conftest$ac_exeext
11251
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11252
 
  (eval $ac_link) 2>conftest.er1
 
13101
if { (ac_try="$ac_link"
 
13102
case "(($ac_try" in
 
13103
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13104
  *) ac_try_echo=$ac_try;;
 
13105
esac
 
13106
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13107
  (eval "$ac_link") 2>conftest.er1
11253
13108
  ac_status=$?
11254
13109
  grep -v '^ *+' conftest.er1 >conftest.err
11255
13110
  rm -f conftest.er1
11256
13111
  cat conftest.err >&5
11257
13112
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258
13113
  (exit $ac_status); } &&
11259
 
         { ac_try='test -z "$ac_c_werror_flag"
11260
 
                         || test ! -s conftest.err'
11261
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11262
 
  (eval $ac_try) 2>&5
 
13114
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
13115
  { (case "(($ac_try" in
 
13116
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13117
  *) ac_try_echo=$ac_try;;
 
13118
esac
 
13119
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13120
  (eval "$ac_try") 2>&5
11263
13121
  ac_status=$?
11264
13122
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265
13123
  (exit $ac_status); }; } &&
11266
13124
         { ac_try='test -s conftest$ac_exeext'
11267
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11268
 
  (eval $ac_try) 2>&5
 
13125
  { (case "(($ac_try" in
 
13126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13127
  *) ac_try_echo=$ac_try;;
 
13128
esac
 
13129
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13130
  (eval "$ac_try") 2>&5
11269
13131
  ac_status=$?
11270
13132
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271
13133
  (exit $ac_status); }; }; then
11274
13136
  echo "$as_me: failed program was:" >&5
11275
13137
sed 's/^/| /' conftest.$ac_ext >&5
11276
13138
 
11277
 
ac_cv_lib_dl_dlopen=no
 
13139
        ac_cv_lib_dl_dlopen=no
11278
13140
fi
11279
 
rm -f conftest.err conftest.$ac_objext \
 
13141
 
 
13142
rm -f core conftest.err conftest.$ac_objext \
11280
13143
      conftest$ac_exeext conftest.$ac_ext
11281
13144
LIBS=$ac_check_lib_save_LIBS
11282
13145
fi
11283
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11284
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
13146
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
13147
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11285
13148
if test $ac_cv_lib_dl_dlopen = yes; then
11286
13149
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11287
13150
else
11288
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11289
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
13151
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
13152
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11290
13153
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11291
13154
  echo $ECHO_N "(cached) $ECHO_C" >&6
11292
13155
else
11299
13162
cat >>conftest.$ac_ext <<_ACEOF
11300
13163
/* end confdefs.h.  */
11301
13164
 
11302
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13165
/* Override any GCC internal prototype to avoid an error.
 
13166
   Use char because int might match the return type of a GCC
 
13167
   builtin and then its argument prototype would still apply.  */
11303
13168
#ifdef __cplusplus
11304
13169
extern "C"
11305
13170
#endif
11306
 
/* We use char because int might match the return type of a gcc2
11307
 
   builtin and then its argument prototype would still apply.  */
11308
13171
char dlopen ();
11309
13172
int
11310
13173
main ()
11311
13174
{
11312
 
dlopen ();
 
13175
return dlopen ();
11313
13176
  ;
11314
13177
  return 0;
11315
13178
}
11316
13179
_ACEOF
11317
13180
rm -f conftest.$ac_objext conftest$ac_exeext
11318
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11319
 
  (eval $ac_link) 2>conftest.er1
 
13181
if { (ac_try="$ac_link"
 
13182
case "(($ac_try" in
 
13183
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13184
  *) ac_try_echo=$ac_try;;
 
13185
esac
 
13186
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13187
  (eval "$ac_link") 2>conftest.er1
11320
13188
  ac_status=$?
11321
13189
  grep -v '^ *+' conftest.er1 >conftest.err
11322
13190
  rm -f conftest.er1
11323
13191
  cat conftest.err >&5
11324
13192
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325
13193
  (exit $ac_status); } &&
11326
 
         { ac_try='test -z "$ac_c_werror_flag"
11327
 
                         || test ! -s conftest.err'
11328
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329
 
  (eval $ac_try) 2>&5
 
13194
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
13195
  { (case "(($ac_try" in
 
13196
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13197
  *) ac_try_echo=$ac_try;;
 
13198
esac
 
13199
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13200
  (eval "$ac_try") 2>&5
11330
13201
  ac_status=$?
11331
13202
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332
13203
  (exit $ac_status); }; } &&
11333
13204
         { ac_try='test -s conftest$ac_exeext'
11334
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11335
 
  (eval $ac_try) 2>&5
 
13205
  { (case "(($ac_try" in
 
13206
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13207
  *) ac_try_echo=$ac_try;;
 
13208
esac
 
13209
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13210
  (eval "$ac_try") 2>&5
11336
13211
  ac_status=$?
11337
13212
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338
13213
  (exit $ac_status); }; }; then
11341
13216
  echo "$as_me: failed program was:" >&5
11342
13217
sed 's/^/| /' conftest.$ac_ext >&5
11343
13218
 
11344
 
ac_cv_lib_svld_dlopen=no
 
13219
        ac_cv_lib_svld_dlopen=no
11345
13220
fi
11346
 
rm -f conftest.err conftest.$ac_objext \
 
13221
 
 
13222
rm -f core conftest.err conftest.$ac_objext \
11347
13223
      conftest$ac_exeext conftest.$ac_ext
11348
13224
LIBS=$ac_check_lib_save_LIBS
11349
13225
fi
11350
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11351
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
13226
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
13227
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11352
13228
if test $ac_cv_lib_svld_dlopen = yes; then
11353
13229
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11354
13230
else
11355
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11356
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
13231
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
13232
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11357
13233
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11358
13234
  echo $ECHO_N "(cached) $ECHO_C" >&6
11359
13235
else
11366
13242
cat >>conftest.$ac_ext <<_ACEOF
11367
13243
/* end confdefs.h.  */
11368
13244
 
11369
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13245
/* Override any GCC internal prototype to avoid an error.
 
13246
   Use char because int might match the return type of a GCC
 
13247
   builtin and then its argument prototype would still apply.  */
11370
13248
#ifdef __cplusplus
11371
13249
extern "C"
11372
13250
#endif
11373
 
/* We use char because int might match the return type of a gcc2
11374
 
   builtin and then its argument prototype would still apply.  */
11375
13251
char dld_link ();
11376
13252
int
11377
13253
main ()
11378
13254
{
11379
 
dld_link ();
 
13255
return dld_link ();
11380
13256
  ;
11381
13257
  return 0;
11382
13258
}
11383
13259
_ACEOF
11384
13260
rm -f conftest.$ac_objext conftest$ac_exeext
11385
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11386
 
  (eval $ac_link) 2>conftest.er1
 
13261
if { (ac_try="$ac_link"
 
13262
case "(($ac_try" in
 
13263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13264
  *) ac_try_echo=$ac_try;;
 
13265
esac
 
13266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13267
  (eval "$ac_link") 2>conftest.er1
11387
13268
  ac_status=$?
11388
13269
  grep -v '^ *+' conftest.er1 >conftest.err
11389
13270
  rm -f conftest.er1
11390
13271
  cat conftest.err >&5
11391
13272
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392
13273
  (exit $ac_status); } &&
11393
 
         { ac_try='test -z "$ac_c_werror_flag"
11394
 
                         || test ! -s conftest.err'
11395
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11396
 
  (eval $ac_try) 2>&5
 
13274
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
13275
  { (case "(($ac_try" in
 
13276
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13277
  *) ac_try_echo=$ac_try;;
 
13278
esac
 
13279
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13280
  (eval "$ac_try") 2>&5
11397
13281
  ac_status=$?
11398
13282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399
13283
  (exit $ac_status); }; } &&
11400
13284
         { ac_try='test -s conftest$ac_exeext'
11401
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11402
 
  (eval $ac_try) 2>&5
 
13285
  { (case "(($ac_try" in
 
13286
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13287
  *) ac_try_echo=$ac_try;;
 
13288
esac
 
13289
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13290
  (eval "$ac_try") 2>&5
11403
13291
  ac_status=$?
11404
13292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405
13293
  (exit $ac_status); }; }; then
11408
13296
  echo "$as_me: failed program was:" >&5
11409
13297
sed 's/^/| /' conftest.$ac_ext >&5
11410
13298
 
11411
 
ac_cv_lib_dld_dld_link=no
 
13299
        ac_cv_lib_dld_dld_link=no
11412
13300
fi
11413
 
rm -f conftest.err conftest.$ac_objext \
 
13301
 
 
13302
rm -f core conftest.err conftest.$ac_objext \
11414
13303
      conftest$ac_exeext conftest.$ac_ext
11415
13304
LIBS=$ac_check_lib_save_LIBS
11416
13305
fi
11417
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11418
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
13306
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
13307
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11419
13308
if test $ac_cv_lib_dld_dld_link = yes; then
11420
13309
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11421
13310
fi
11455
13344
    save_LIBS="$LIBS"
11456
13345
    LIBS="$lt_cv_dlopen_libs $LIBS"
11457
13346
 
11458
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11459
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
13347
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
13348
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11460
13349
if test "${lt_cv_dlopen_self+set}" = set; then
11461
13350
  echo $ECHO_N "(cached) $ECHO_C" >&6
11462
13351
else
11466
13355
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11467
13356
  lt_status=$lt_dlunknown
11468
13357
  cat > conftest.$ac_ext <<EOF
11469
 
#line 11469 "configure"
 
13358
#line 13358 "configure"
11470
13359
#include "confdefs.h"
11471
13360
 
11472
13361
#if HAVE_DLFCN_H
11548
13437
 
11549
13438
 
11550
13439
fi
11551
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11552
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
13440
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
13441
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11553
13442
 
11554
13443
    if test "x$lt_cv_dlopen_self" = xyes; then
11555
13444
      LDFLAGS="$LDFLAGS $link_static_flag"
11556
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11557
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
13445
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
13446
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11558
13447
if test "${lt_cv_dlopen_self_static+set}" = set; then
11559
13448
  echo $ECHO_N "(cached) $ECHO_C" >&6
11560
13449
else
11564
13453
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11565
13454
  lt_status=$lt_dlunknown
11566
13455
  cat > conftest.$ac_ext <<EOF
11567
 
#line 11567 "configure"
 
13456
#line 13456 "configure"
11568
13457
#include "confdefs.h"
11569
13458
 
11570
13459
#if HAVE_DLFCN_H
11646
13535
 
11647
13536
 
11648
13537
fi
11649
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11650
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
13538
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
13539
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11651
13540
    fi
11652
13541
 
11653
13542
    CPPFLAGS="$save_CPPFLAGS"
11669
13558
 
11670
13559
 
11671
13560
# Report which librarie types wil actually be built
11672
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11673
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11674
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
11675
 
echo "${ECHO_T}$can_build_shared" >&6
 
13561
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
13562
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
13563
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
13564
echo "${ECHO_T}$can_build_shared" >&6; }
11676
13565
 
11677
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11678
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
13566
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
13567
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11679
13568
test "$can_build_shared" = "no" && enable_shared=no
11680
13569
 
11681
13570
# On AIX, shared libraries and static libraries use the same namespace, and
11732
13621
  fi
11733
13622
    ;;
11734
13623
esac
11735
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
11736
 
echo "${ECHO_T}$enable_shared" >&6
 
13624
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
13625
echo "${ECHO_T}$enable_shared" >&6; }
11737
13626
 
11738
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11739
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
13627
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
13628
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11740
13629
# Make sure either enable_shared or enable_static is yes.
11741
13630
test "$enable_shared" = yes || enable_static=yes
11742
 
echo "$as_me:$LINENO: result: $enable_static" >&5
11743
 
echo "${ECHO_T}$enable_static" >&6
 
13631
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
13632
echo "${ECHO_T}$enable_static" >&6; }
11744
13633
 
11745
13634
# The else clause should only fire when bootstrapping the
11746
13635
# libtool distribution, otherwise you forgot to ship ltmain.sh
11858
13747
#
11859
13748
# You should have received a copy of the GNU General Public License
11860
13749
# along with this program; if not, write to the Free Software
11861
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
13750
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11862
13751
#
11863
13752
# As a special exception to the GNU General Public License, if you
11864
13753
# distribute this file as part of a program that contains a
12219
14108
CC="$lt_save_CC"
12220
14109
 
12221
14110
 
12222
 
# Check whether --with-tags or --without-tags was given.
 
14111
# Check whether --with-tags was given.
12223
14112
if test "${with_tags+set}" = set; then
12224
 
  withval="$with_tags"
12225
 
  tagnames="$withval"
12226
 
fi;
 
14113
  withval=$with_tags; tagnames="$withval"
 
14114
fi
 
14115
 
12227
14116
 
12228
14117
if test -f "$ltmain" && test -n "$tagnames"; then
12229
14118
  if test ! -f "${ofile}"; then
12272
14161
      case $tagname in
12273
14162
      CXX)
12274
14163
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
12275
 
          ac_ext=cc
 
14164
          ac_ext=cpp
12276
14165
ac_cpp='$CXXCPP $CPPFLAGS'
12277
14166
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12278
14167
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12364
14253
  # Set up default GNU C++ configuration
12365
14254
 
12366
14255
 
12367
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
14256
# Check whether --with-gnu-ld was given.
12368
14257
if test "${with_gnu_ld+set}" = set; then
12369
 
  withval="$with_gnu_ld"
12370
 
  test "$withval" = no || with_gnu_ld=yes
 
14258
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12371
14259
else
12372
14260
  with_gnu_ld=no
12373
 
fi;
 
14261
fi
 
14262
 
12374
14263
ac_prog=ld
12375
14264
if test "$GCC" = yes; then
12376
14265
  # Check if gcc -print-prog-name=ld gives a path.
12377
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12378
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
14266
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
14267
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12379
14268
  case $host in
12380
14269
  *-*-mingw*)
12381
14270
    # gcc leaves a trailing carriage return which upsets mingw
12404
14293
    ;;
12405
14294
  esac
12406
14295
elif test "$with_gnu_ld" = yes; then
12407
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
12408
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
14296
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
14297
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12409
14298
else
12410
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12411
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
14299
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
14300
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12412
14301
fi
12413
14302
if test "${lt_cv_path_LD+set}" = set; then
12414
14303
  echo $ECHO_N "(cached) $ECHO_C" >&6
12441
14330
 
12442
14331
LD="$lt_cv_path_LD"
12443
14332
if test -n "$LD"; then
12444
 
  echo "$as_me:$LINENO: result: $LD" >&5
12445
 
echo "${ECHO_T}$LD" >&6
 
14333
  { echo "$as_me:$LINENO: result: $LD" >&5
 
14334
echo "${ECHO_T}$LD" >&6; }
12446
14335
else
12447
 
  echo "$as_me:$LINENO: result: no" >&5
12448
 
echo "${ECHO_T}no" >&6
 
14336
  { echo "$as_me:$LINENO: result: no" >&5
 
14337
echo "${ECHO_T}no" >&6; }
12449
14338
fi
12450
14339
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12451
14340
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12452
14341
   { (exit 1); exit 1; }; }
12453
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12454
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
14342
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
14343
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12455
14344
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12456
14345
  echo $ECHO_N "(cached) $ECHO_C" >&6
12457
14346
else
12465
14354
  ;;
12466
14355
esac
12467
14356
fi
12468
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12469
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
14357
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
14358
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12470
14359
with_gnu_ld=$lt_cv_prog_gnu_ld
12471
14360
 
12472
14361
 
12516
14405
fi
12517
14406
 
12518
14407
# PORTME: fill in a description of your system's C++ link characteristics
12519
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12520
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14408
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14409
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12521
14410
ld_shlibs_CXX=yes
12522
14411
case $host_os in
12523
14412
  aix3*)
12609
14498
}
12610
14499
_ACEOF
12611
14500
rm -f conftest.$ac_objext conftest$ac_exeext
12612
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12613
 
  (eval $ac_link) 2>conftest.er1
 
14501
if { (ac_try="$ac_link"
 
14502
case "(($ac_try" in
 
14503
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14504
  *) ac_try_echo=$ac_try;;
 
14505
esac
 
14506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14507
  (eval "$ac_link") 2>conftest.er1
12614
14508
  ac_status=$?
12615
14509
  grep -v '^ *+' conftest.er1 >conftest.err
12616
14510
  rm -f conftest.er1
12617
14511
  cat conftest.err >&5
12618
14512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619
14513
  (exit $ac_status); } &&
12620
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12621
 
                         || test ! -s conftest.err'
12622
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623
 
  (eval $ac_try) 2>&5
 
14514
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
14515
  { (case "(($ac_try" in
 
14516
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14517
  *) ac_try_echo=$ac_try;;
 
14518
esac
 
14519
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14520
  (eval "$ac_try") 2>&5
12624
14521
  ac_status=$?
12625
14522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626
14523
  (exit $ac_status); }; } &&
12627
14524
         { ac_try='test -s conftest$ac_exeext'
12628
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12629
 
  (eval $ac_try) 2>&5
 
14525
  { (case "(($ac_try" in
 
14526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14527
  *) ac_try_echo=$ac_try;;
 
14528
esac
 
14529
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14530
  (eval "$ac_try") 2>&5
12630
14531
  ac_status=$?
12631
14532
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632
14533
  (exit $ac_status); }; }; then
12640
14541
  echo "$as_me: failed program was:" >&5
12641
14542
sed 's/^/| /' conftest.$ac_ext >&5
12642
14543
 
 
14544
 
12643
14545
fi
12644
 
rm -f conftest.err conftest.$ac_objext \
 
14546
 
 
14547
rm -f core conftest.err conftest.$ac_objext \
12645
14548
      conftest$ac_exeext conftest.$ac_ext
12646
14549
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12647
14550
 
12672
14575
}
12673
14576
_ACEOF
12674
14577
rm -f conftest.$ac_objext conftest$ac_exeext
12675
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12676
 
  (eval $ac_link) 2>conftest.er1
 
14578
if { (ac_try="$ac_link"
 
14579
case "(($ac_try" in
 
14580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14581
  *) ac_try_echo=$ac_try;;
 
14582
esac
 
14583
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14584
  (eval "$ac_link") 2>conftest.er1
12677
14585
  ac_status=$?
12678
14586
  grep -v '^ *+' conftest.er1 >conftest.err
12679
14587
  rm -f conftest.er1
12680
14588
  cat conftest.err >&5
12681
14589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682
14590
  (exit $ac_status); } &&
12683
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12684
 
                         || test ! -s conftest.err'
12685
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686
 
  (eval $ac_try) 2>&5
 
14591
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
14592
  { (case "(($ac_try" in
 
14593
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14594
  *) ac_try_echo=$ac_try;;
 
14595
esac
 
14596
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14597
  (eval "$ac_try") 2>&5
12687
14598
  ac_status=$?
12688
14599
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689
14600
  (exit $ac_status); }; } &&
12690
14601
         { ac_try='test -s conftest$ac_exeext'
12691
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12692
 
  (eval $ac_try) 2>&5
 
14602
  { (case "(($ac_try" in
 
14603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14604
  *) ac_try_echo=$ac_try;;
 
14605
esac
 
14606
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14607
  (eval "$ac_try") 2>&5
12693
14608
  ac_status=$?
12694
14609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695
14610
  (exit $ac_status); }; }; then
12703
14618
  echo "$as_me: failed program was:" >&5
12704
14619
sed 's/^/| /' conftest.$ac_ext >&5
12705
14620
 
 
14621
 
12706
14622
fi
12707
 
rm -f conftest.err conftest.$ac_objext \
 
14623
 
 
14624
rm -f core conftest.err conftest.$ac_objext \
12708
14625
      conftest$ac_exeext conftest.$ac_ext
12709
14626
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12710
14627
 
12831
14748
  freebsd-elf*)
12832
14749
    archive_cmds_need_lc_CXX=no
12833
14750
    ;;
12834
 
  freebsd*)
 
14751
  freebsd* | kfreebsd*-gnu)
12835
14752
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12836
14753
    # conventions
12837
14754
    ld_shlibs_CXX=yes
13330
15247
    ld_shlibs_CXX=no
13331
15248
    ;;
13332
15249
esac
13333
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13334
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
15250
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
15251
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13335
15252
test "$ld_shlibs_CXX" = no && can_build_shared=no
13336
15253
 
13337
15254
GCC_CXX="$GXX"
13338
15255
LD_CXX="$LD"
13339
15256
 
 
15257
## CAVEAT EMPTOR:
 
15258
## There is no encapsulation within the following macros, do not change
 
15259
## the running order or otherwise move them around unless you know exactly
 
15260
## what you are doing...
13340
15261
 
13341
15262
cat > conftest.$ac_ext <<EOF
13342
15263
class Foo
13447
15368
lt_prog_compiler_pic_CXX=
13448
15369
lt_prog_compiler_static_CXX=
13449
15370
 
13450
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13451
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
15371
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
15372
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13452
15373
 
13453
15374
  # C++ specific cases for pic, static, wl, etc.
13454
15375
  if test "$GXX" = yes; then
13538
15459
            ;;
13539
15460
        esac
13540
15461
        ;;
13541
 
      freebsd*)
 
15462
      freebsd* | kfreebsd*-gnu)
13542
15463
        # FreeBSD uses GNU C++
13543
15464
        ;;
13544
15465
      hpux9* | hpux10* | hpux11*)
13699
15620
    esac
13700
15621
  fi
13701
15622
 
13702
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13703
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
15623
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
15624
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13704
15625
 
13705
15626
#
13706
15627
# Check to make sure the PIC flag actually works.
13707
15628
#
13708
15629
if test -n "$lt_prog_compiler_pic_CXX"; then
13709
15630
 
13710
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13711
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
15631
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
15632
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13712
15633
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13713
15634
  echo $ECHO_N "(cached) $ECHO_C" >&6
13714
15635
else
13725
15646
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13726
15647
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13727
15648
   -e 's:$: $lt_compiler_flag:'`
13728
 
   (eval echo "\"\$as_me:13728: $lt_compile\"" >&5)
 
15649
   (eval echo "\"\$as_me:15649: $lt_compile\"" >&5)
13729
15650
   (eval "$lt_compile" 2>conftest.err)
13730
15651
   ac_status=$?
13731
15652
   cat conftest.err >&5
13732
 
   echo "$as_me:13732: \$? = $ac_status" >&5
 
15653
   echo "$as_me:15653: \$? = $ac_status" >&5
13733
15654
   if (exit $ac_status) && test -s "$ac_outfile"; then
13734
15655
     # The compiler can only warn and ignore the option if not recognized
13735
15656
     # So say no if there are warnings
13740
15661
   $rm conftest*
13741
15662
 
13742
15663
fi
13743
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13744
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
15664
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
15665
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13745
15666
 
13746
15667
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13747
15668
    case $lt_prog_compiler_pic_CXX in
13764
15685
    ;;
13765
15686
esac
13766
15687
 
13767
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13768
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
15688
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
15689
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13769
15690
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13770
15691
  echo $ECHO_N "(cached) $ECHO_C" >&6
13771
15692
else
13792
15713
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13793
15714
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13794
15715
   -e 's:$: $lt_compiler_flag:'`
13795
 
   (eval echo "\"\$as_me:13795: $lt_compile\"" >&5)
 
15716
   (eval echo "\"\$as_me:15716: $lt_compile\"" >&5)
13796
15717
   (eval "$lt_compile" 2>out/conftest.err)
13797
15718
   ac_status=$?
13798
15719
   cat out/conftest.err >&5
13799
 
   echo "$as_me:13799: \$? = $ac_status" >&5
 
15720
   echo "$as_me:15720: \$? = $ac_status" >&5
13800
15721
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13801
15722
   then
13802
15723
     # The compiler can only warn and ignore the option if not recognized
13813
15734
   $rm conftest*
13814
15735
 
13815
15736
fi
13816
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13817
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
15737
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
15738
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13818
15739
 
13819
15740
 
13820
15741
hard_links="nottested"
13821
15742
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13822
15743
  # do not overwrite the value of need_locks provided by the user
13823
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13824
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
15744
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
15745
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13825
15746
  hard_links=yes
13826
15747
  $rm conftest*
13827
15748
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13828
15749
  touch conftest.a
13829
15750
  ln conftest.a conftest.b 2>&5 || hard_links=no
13830
15751
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13831
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13832
 
echo "${ECHO_T}$hard_links" >&6
 
15752
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
15753
echo "${ECHO_T}$hard_links" >&6; }
13833
15754
  if test "$hard_links" = no; then
13834
15755
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13835
15756
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13839
15760
  need_locks=no
13840
15761
fi
13841
15762
 
13842
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13843
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
15763
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
15764
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13844
15765
 
13845
15766
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13846
15767
  case $host_os in
13864
15785
  ;;
13865
15786
  esac
13866
15787
 
13867
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13868
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
15788
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
15789
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13869
15790
test "$ld_shlibs_CXX" = no && can_build_shared=no
13870
15791
 
13871
15792
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13890
15811
      # Test whether the compiler implicitly links with -lc since on some
13891
15812
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13892
15813
      # to ld, don't add -lc before -lgcc.
13893
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13894
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15814
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15815
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13895
15816
      $rm conftest*
13896
15817
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13897
15818
 
13927
15848
        cat conftest.err 1>&5
13928
15849
      fi
13929
15850
      $rm conftest*
13930
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13931
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
15851
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
15852
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13932
15853
      ;;
13933
15854
    esac
13934
15855
  fi
13935
15856
  ;;
13936
15857
esac
13937
15858
 
13938
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13939
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15859
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15860
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13940
15861
library_names_spec=
13941
15862
libname_spec='lib$name'
13942
15863
soname_spec=
14128
16049
  dynamic_linker=no
14129
16050
  ;;
14130
16051
 
14131
 
freebsd*-gnu*)
 
16052
kfreebsd*-gnu*)
14132
16053
  version_type=linux
14133
16054
  need_lib_prefix=no
14134
16055
  need_version=no
14453
16374
  dynamic_linker=no
14454
16375
  ;;
14455
16376
esac
14456
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14457
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16377
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16378
echo "${ECHO_T}$dynamic_linker" >&6; }
14458
16379
test "$dynamic_linker" = no && can_build_shared=no
14459
16380
 
14460
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14461
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16381
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16382
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14462
16383
hardcode_action_CXX=
14463
16384
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14464
16385
   test -n "$runpath_var CXX" || \
14482
16403
  # directories.
14483
16404
  hardcode_action_CXX=unsupported
14484
16405
fi
14485
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14486
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
16406
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
16407
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14487
16408
 
14488
16409
if test "$hardcode_action_CXX" = relink; then
14489
16410
  # Fast installation is not supported
14496
16417
 
14497
16418
striplib=
14498
16419
old_striplib=
14499
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14500
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
16420
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
16421
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
14501
16422
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14502
16423
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14503
16424
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14504
 
  echo "$as_me:$LINENO: result: yes" >&5
14505
 
echo "${ECHO_T}yes" >&6
 
16425
  { echo "$as_me:$LINENO: result: yes" >&5
 
16426
echo "${ECHO_T}yes" >&6; }
14506
16427
else
14507
16428
# FIXME - insert some real tests, host_os isn't really good enough
14508
16429
  case $host_os in
14509
16430
   darwin*)
14510
16431
       if test -n "$STRIP" ; then
14511
16432
         striplib="$STRIP -x"
14512
 
         echo "$as_me:$LINENO: result: yes" >&5
14513
 
echo "${ECHO_T}yes" >&6
 
16433
         { echo "$as_me:$LINENO: result: yes" >&5
 
16434
echo "${ECHO_T}yes" >&6; }
14514
16435
       else
14515
 
  echo "$as_me:$LINENO: result: no" >&5
14516
 
echo "${ECHO_T}no" >&6
 
16436
  { echo "$as_me:$LINENO: result: no" >&5
 
16437
echo "${ECHO_T}no" >&6; }
14517
16438
fi
14518
16439
       ;;
14519
16440
   *)
14520
 
  echo "$as_me:$LINENO: result: no" >&5
14521
 
echo "${ECHO_T}no" >&6
 
16441
  { echo "$as_me:$LINENO: result: no" >&5
 
16442
echo "${ECHO_T}no" >&6; }
14522
16443
    ;;
14523
16444
  esac
14524
16445
fi
14550
16471
 
14551
16472
  darwin*)
14552
16473
  # if libdl is installed we need to link against it
14553
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14554
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
16474
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
16475
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
14555
16476
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14556
16477
  echo $ECHO_N "(cached) $ECHO_C" >&6
14557
16478
else
14564
16485
cat >>conftest.$ac_ext <<_ACEOF
14565
16486
/* end confdefs.h.  */
14566
16487
 
14567
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
16488
/* Override any GCC internal prototype to avoid an error.
 
16489
   Use char because int might match the return type of a GCC
 
16490
   builtin and then its argument prototype would still apply.  */
14568
16491
#ifdef __cplusplus
14569
16492
extern "C"
14570
16493
#endif
14571
 
/* We use char because int might match the return type of a gcc2
14572
 
   builtin and then its argument prototype would still apply.  */
14573
16494
char dlopen ();
14574
16495
int
14575
16496
main ()
14576
16497
{
14577
 
dlopen ();
 
16498
return dlopen ();
14578
16499
  ;
14579
16500
  return 0;
14580
16501
}
14581
16502
_ACEOF
14582
16503
rm -f conftest.$ac_objext conftest$ac_exeext
14583
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14584
 
  (eval $ac_link) 2>conftest.er1
 
16504
if { (ac_try="$ac_link"
 
16505
case "(($ac_try" in
 
16506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16507
  *) ac_try_echo=$ac_try;;
 
16508
esac
 
16509
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16510
  (eval "$ac_link") 2>conftest.er1
14585
16511
  ac_status=$?
14586
16512
  grep -v '^ *+' conftest.er1 >conftest.err
14587
16513
  rm -f conftest.er1
14588
16514
  cat conftest.err >&5
14589
16515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590
16516
  (exit $ac_status); } &&
14591
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14592
 
                         || test ! -s conftest.err'
14593
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594
 
  (eval $ac_try) 2>&5
 
16517
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
16518
  { (case "(($ac_try" in
 
16519
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16520
  *) ac_try_echo=$ac_try;;
 
16521
esac
 
16522
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16523
  (eval "$ac_try") 2>&5
14595
16524
  ac_status=$?
14596
16525
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597
16526
  (exit $ac_status); }; } &&
14598
16527
         { ac_try='test -s conftest$ac_exeext'
14599
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600
 
  (eval $ac_try) 2>&5
 
16528
  { (case "(($ac_try" in
 
16529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16530
  *) ac_try_echo=$ac_try;;
 
16531
esac
 
16532
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16533
  (eval "$ac_try") 2>&5
14601
16534
  ac_status=$?
14602
16535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603
16536
  (exit $ac_status); }; }; then
14606
16539
  echo "$as_me: failed program was:" >&5
14607
16540
sed 's/^/| /' conftest.$ac_ext >&5
14608
16541
 
14609
 
ac_cv_lib_dl_dlopen=no
 
16542
        ac_cv_lib_dl_dlopen=no
14610
16543
fi
14611
 
rm -f conftest.err conftest.$ac_objext \
 
16544
 
 
16545
rm -f core conftest.err conftest.$ac_objext \
14612
16546
      conftest$ac_exeext conftest.$ac_ext
14613
16547
LIBS=$ac_check_lib_save_LIBS
14614
16548
fi
14615
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14616
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
16549
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
16550
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
14617
16551
if test $ac_cv_lib_dl_dlopen = yes; then
14618
16552
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14619
16553
else
14627
16561
   ;;
14628
16562
 
14629
16563
  *)
14630
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
14631
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
16564
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
16565
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
14632
16566
if test "${ac_cv_func_shl_load+set}" = set; then
14633
16567
  echo $ECHO_N "(cached) $ECHO_C" >&6
14634
16568
else
14655
16589
 
14656
16590
#undef shl_load
14657
16591
 
14658
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
16592
/* Override any GCC internal prototype to avoid an error.
 
16593
   Use char because int might match the return type of a GCC
 
16594
   builtin and then its argument prototype would still apply.  */
14659
16595
#ifdef __cplusplus
14660
16596
extern "C"
14661
 
{
14662
16597
#endif
14663
 
/* We use char because int might match the return type of a gcc2
14664
 
   builtin and then its argument prototype would still apply.  */
14665
16598
char shl_load ();
14666
16599
/* The GNU C library defines this for functions which it implements
14667
16600
    to always fail with ENOSYS.  Some functions are actually named
14668
16601
    something starting with __ and the normal name is an alias.  */
14669
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
16602
#if defined __stub_shl_load || defined __stub___shl_load
14670
16603
choke me
14671
 
#else
14672
 
char (*f) () = shl_load;
14673
 
#endif
14674
 
#ifdef __cplusplus
14675
 
}
14676
16604
#endif
14677
16605
 
14678
16606
int
14679
16607
main ()
14680
16608
{
14681
 
return f != shl_load;
 
16609
return shl_load ();
14682
16610
  ;
14683
16611
  return 0;
14684
16612
}
14685
16613
_ACEOF
14686
16614
rm -f conftest.$ac_objext conftest$ac_exeext
14687
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14688
 
  (eval $ac_link) 2>conftest.er1
 
16615
if { (ac_try="$ac_link"
 
16616
case "(($ac_try" in
 
16617
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16618
  *) ac_try_echo=$ac_try;;
 
16619
esac
 
16620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16621
  (eval "$ac_link") 2>conftest.er1
14689
16622
  ac_status=$?
14690
16623
  grep -v '^ *+' conftest.er1 >conftest.err
14691
16624
  rm -f conftest.er1
14692
16625
  cat conftest.err >&5
14693
16626
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694
16627
  (exit $ac_status); } &&
14695
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14696
 
                         || test ! -s conftest.err'
14697
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698
 
  (eval $ac_try) 2>&5
 
16628
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
16629
  { (case "(($ac_try" in
 
16630
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16631
  *) ac_try_echo=$ac_try;;
 
16632
esac
 
16633
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16634
  (eval "$ac_try") 2>&5
14699
16635
  ac_status=$?
14700
16636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701
16637
  (exit $ac_status); }; } &&
14702
16638
         { ac_try='test -s conftest$ac_exeext'
14703
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704
 
  (eval $ac_try) 2>&5
 
16639
  { (case "(($ac_try" in
 
16640
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16641
  *) ac_try_echo=$ac_try;;
 
16642
esac
 
16643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16644
  (eval "$ac_try") 2>&5
14705
16645
  ac_status=$?
14706
16646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707
16647
  (exit $ac_status); }; }; then
14710
16650
  echo "$as_me: failed program was:" >&5
14711
16651
sed 's/^/| /' conftest.$ac_ext >&5
14712
16652
 
14713
 
ac_cv_func_shl_load=no
 
16653
        ac_cv_func_shl_load=no
14714
16654
fi
14715
 
rm -f conftest.err conftest.$ac_objext \
 
16655
 
 
16656
rm -f core conftest.err conftest.$ac_objext \
14716
16657
      conftest$ac_exeext conftest.$ac_ext
14717
16658
fi
14718
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14719
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
16659
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
16660
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
14720
16661
if test $ac_cv_func_shl_load = yes; then
14721
16662
  lt_cv_dlopen="shl_load"
14722
16663
else
14723
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14724
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
16664
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
16665
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
14725
16666
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14726
16667
  echo $ECHO_N "(cached) $ECHO_C" >&6
14727
16668
else
14734
16675
cat >>conftest.$ac_ext <<_ACEOF
14735
16676
/* end confdefs.h.  */
14736
16677
 
14737
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
16678
/* Override any GCC internal prototype to avoid an error.
 
16679
   Use char because int might match the return type of a GCC
 
16680
   builtin and then its argument prototype would still apply.  */
14738
16681
#ifdef __cplusplus
14739
16682
extern "C"
14740
16683
#endif
14741
 
/* We use char because int might match the return type of a gcc2
14742
 
   builtin and then its argument prototype would still apply.  */
14743
16684
char shl_load ();
14744
16685
int
14745
16686
main ()
14746
16687
{
14747
 
shl_load ();
 
16688
return shl_load ();
14748
16689
  ;
14749
16690
  return 0;
14750
16691
}
14751
16692
_ACEOF
14752
16693
rm -f conftest.$ac_objext conftest$ac_exeext
14753
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14754
 
  (eval $ac_link) 2>conftest.er1
 
16694
if { (ac_try="$ac_link"
 
16695
case "(($ac_try" in
 
16696
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16697
  *) ac_try_echo=$ac_try;;
 
16698
esac
 
16699
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16700
  (eval "$ac_link") 2>conftest.er1
14755
16701
  ac_status=$?
14756
16702
  grep -v '^ *+' conftest.er1 >conftest.err
14757
16703
  rm -f conftest.er1
14758
16704
  cat conftest.err >&5
14759
16705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760
16706
  (exit $ac_status); } &&
14761
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14762
 
                         || test ! -s conftest.err'
14763
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764
 
  (eval $ac_try) 2>&5
 
16707
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
16708
  { (case "(($ac_try" in
 
16709
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16710
  *) ac_try_echo=$ac_try;;
 
16711
esac
 
16712
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16713
  (eval "$ac_try") 2>&5
14765
16714
  ac_status=$?
14766
16715
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767
16716
  (exit $ac_status); }; } &&
14768
16717
         { ac_try='test -s conftest$ac_exeext'
14769
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770
 
  (eval $ac_try) 2>&5
 
16718
  { (case "(($ac_try" in
 
16719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16720
  *) ac_try_echo=$ac_try;;
 
16721
esac
 
16722
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16723
  (eval "$ac_try") 2>&5
14771
16724
  ac_status=$?
14772
16725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773
16726
  (exit $ac_status); }; }; then
14776
16729
  echo "$as_me: failed program was:" >&5
14777
16730
sed 's/^/| /' conftest.$ac_ext >&5
14778
16731
 
14779
 
ac_cv_lib_dld_shl_load=no
 
16732
        ac_cv_lib_dld_shl_load=no
14780
16733
fi
14781
 
rm -f conftest.err conftest.$ac_objext \
 
16734
 
 
16735
rm -f core conftest.err conftest.$ac_objext \
14782
16736
      conftest$ac_exeext conftest.$ac_ext
14783
16737
LIBS=$ac_check_lib_save_LIBS
14784
16738
fi
14785
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14786
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
16739
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
16740
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
14787
16741
if test $ac_cv_lib_dld_shl_load = yes; then
14788
16742
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14789
16743
else
14790
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
14791
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
16744
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
16745
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
14792
16746
if test "${ac_cv_func_dlopen+set}" = set; then
14793
16747
  echo $ECHO_N "(cached) $ECHO_C" >&6
14794
16748
else
14815
16769
 
14816
16770
#undef dlopen
14817
16771
 
14818
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
16772
/* Override any GCC internal prototype to avoid an error.
 
16773
   Use char because int might match the return type of a GCC
 
16774
   builtin and then its argument prototype would still apply.  */
14819
16775
#ifdef __cplusplus
14820
16776
extern "C"
14821
 
{
14822
16777
#endif
14823
 
/* We use char because int might match the return type of a gcc2
14824
 
   builtin and then its argument prototype would still apply.  */
14825
16778
char dlopen ();
14826
16779
/* The GNU C library defines this for functions which it implements
14827
16780
    to always fail with ENOSYS.  Some functions are actually named
14828
16781
    something starting with __ and the normal name is an alias.  */
14829
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
16782
#if defined __stub_dlopen || defined __stub___dlopen
14830
16783
choke me
14831
 
#else
14832
 
char (*f) () = dlopen;
14833
 
#endif
14834
 
#ifdef __cplusplus
14835
 
}
14836
16784
#endif
14837
16785
 
14838
16786
int
14839
16787
main ()
14840
16788
{
14841
 
return f != dlopen;
 
16789
return dlopen ();
14842
16790
  ;
14843
16791
  return 0;
14844
16792
}
14845
16793
_ACEOF
14846
16794
rm -f conftest.$ac_objext conftest$ac_exeext
14847
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14848
 
  (eval $ac_link) 2>conftest.er1
 
16795
if { (ac_try="$ac_link"
 
16796
case "(($ac_try" in
 
16797
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16798
  *) ac_try_echo=$ac_try;;
 
16799
esac
 
16800
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16801
  (eval "$ac_link") 2>conftest.er1
14849
16802
  ac_status=$?
14850
16803
  grep -v '^ *+' conftest.er1 >conftest.err
14851
16804
  rm -f conftest.er1
14852
16805
  cat conftest.err >&5
14853
16806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854
16807
  (exit $ac_status); } &&
14855
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14856
 
                         || test ! -s conftest.err'
14857
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858
 
  (eval $ac_try) 2>&5
 
16808
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
16809
  { (case "(($ac_try" in
 
16810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16811
  *) ac_try_echo=$ac_try;;
 
16812
esac
 
16813
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16814
  (eval "$ac_try") 2>&5
14859
16815
  ac_status=$?
14860
16816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861
16817
  (exit $ac_status); }; } &&
14862
16818
         { ac_try='test -s conftest$ac_exeext'
14863
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864
 
  (eval $ac_try) 2>&5
 
16819
  { (case "(($ac_try" in
 
16820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16821
  *) ac_try_echo=$ac_try;;
 
16822
esac
 
16823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16824
  (eval "$ac_try") 2>&5
14865
16825
  ac_status=$?
14866
16826
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867
16827
  (exit $ac_status); }; }; then
14870
16830
  echo "$as_me: failed program was:" >&5
14871
16831
sed 's/^/| /' conftest.$ac_ext >&5
14872
16832
 
14873
 
ac_cv_func_dlopen=no
 
16833
        ac_cv_func_dlopen=no
14874
16834
fi
14875
 
rm -f conftest.err conftest.$ac_objext \
 
16835
 
 
16836
rm -f core conftest.err conftest.$ac_objext \
14876
16837
      conftest$ac_exeext conftest.$ac_ext
14877
16838
fi
14878
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14879
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
16839
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
16840
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
14880
16841
if test $ac_cv_func_dlopen = yes; then
14881
16842
  lt_cv_dlopen="dlopen"
14882
16843
else
14883
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14884
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
16844
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
16845
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
14885
16846
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14886
16847
  echo $ECHO_N "(cached) $ECHO_C" >&6
14887
16848
else
14894
16855
cat >>conftest.$ac_ext <<_ACEOF
14895
16856
/* end confdefs.h.  */
14896
16857
 
14897
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
16858
/* Override any GCC internal prototype to avoid an error.
 
16859
   Use char because int might match the return type of a GCC
 
16860
   builtin and then its argument prototype would still apply.  */
14898
16861
#ifdef __cplusplus
14899
16862
extern "C"
14900
16863
#endif
14901
 
/* We use char because int might match the return type of a gcc2
14902
 
   builtin and then its argument prototype would still apply.  */
14903
16864
char dlopen ();
14904
16865
int
14905
16866
main ()
14906
16867
{
14907
 
dlopen ();
 
16868
return dlopen ();
14908
16869
  ;
14909
16870
  return 0;
14910
16871
}
14911
16872
_ACEOF
14912
16873
rm -f conftest.$ac_objext conftest$ac_exeext
14913
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14914
 
  (eval $ac_link) 2>conftest.er1
 
16874
if { (ac_try="$ac_link"
 
16875
case "(($ac_try" in
 
16876
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16877
  *) ac_try_echo=$ac_try;;
 
16878
esac
 
16879
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16880
  (eval "$ac_link") 2>conftest.er1
14915
16881
  ac_status=$?
14916
16882
  grep -v '^ *+' conftest.er1 >conftest.err
14917
16883
  rm -f conftest.er1
14918
16884
  cat conftest.err >&5
14919
16885
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920
16886
  (exit $ac_status); } &&
14921
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14922
 
                         || test ! -s conftest.err'
14923
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924
 
  (eval $ac_try) 2>&5
 
16887
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
16888
  { (case "(($ac_try" in
 
16889
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16890
  *) ac_try_echo=$ac_try;;
 
16891
esac
 
16892
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16893
  (eval "$ac_try") 2>&5
14925
16894
  ac_status=$?
14926
16895
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927
16896
  (exit $ac_status); }; } &&
14928
16897
         { ac_try='test -s conftest$ac_exeext'
14929
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930
 
  (eval $ac_try) 2>&5
 
16898
  { (case "(($ac_try" in
 
16899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16900
  *) ac_try_echo=$ac_try;;
 
16901
esac
 
16902
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16903
  (eval "$ac_try") 2>&5
14931
16904
  ac_status=$?
14932
16905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933
16906
  (exit $ac_status); }; }; then
14936
16909
  echo "$as_me: failed program was:" >&5
14937
16910
sed 's/^/| /' conftest.$ac_ext >&5
14938
16911
 
14939
 
ac_cv_lib_dl_dlopen=no
 
16912
        ac_cv_lib_dl_dlopen=no
14940
16913
fi
14941
 
rm -f conftest.err conftest.$ac_objext \
 
16914
 
 
16915
rm -f core conftest.err conftest.$ac_objext \
14942
16916
      conftest$ac_exeext conftest.$ac_ext
14943
16917
LIBS=$ac_check_lib_save_LIBS
14944
16918
fi
14945
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14946
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
16919
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
16920
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
14947
16921
if test $ac_cv_lib_dl_dlopen = yes; then
14948
16922
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14949
16923
else
14950
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14951
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
16924
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
16925
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
14952
16926
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14953
16927
  echo $ECHO_N "(cached) $ECHO_C" >&6
14954
16928
else
14961
16935
cat >>conftest.$ac_ext <<_ACEOF
14962
16936
/* end confdefs.h.  */
14963
16937
 
14964
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
16938
/* Override any GCC internal prototype to avoid an error.
 
16939
   Use char because int might match the return type of a GCC
 
16940
   builtin and then its argument prototype would still apply.  */
14965
16941
#ifdef __cplusplus
14966
16942
extern "C"
14967
16943
#endif
14968
 
/* We use char because int might match the return type of a gcc2
14969
 
   builtin and then its argument prototype would still apply.  */
14970
16944
char dlopen ();
14971
16945
int
14972
16946
main ()
14973
16947
{
14974
 
dlopen ();
 
16948
return dlopen ();
14975
16949
  ;
14976
16950
  return 0;
14977
16951
}
14978
16952
_ACEOF
14979
16953
rm -f conftest.$ac_objext conftest$ac_exeext
14980
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14981
 
  (eval $ac_link) 2>conftest.er1
 
16954
if { (ac_try="$ac_link"
 
16955
case "(($ac_try" in
 
16956
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16957
  *) ac_try_echo=$ac_try;;
 
16958
esac
 
16959
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16960
  (eval "$ac_link") 2>conftest.er1
14982
16961
  ac_status=$?
14983
16962
  grep -v '^ *+' conftest.er1 >conftest.err
14984
16963
  rm -f conftest.er1
14985
16964
  cat conftest.err >&5
14986
16965
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987
16966
  (exit $ac_status); } &&
14988
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14989
 
                         || test ! -s conftest.err'
14990
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14991
 
  (eval $ac_try) 2>&5
 
16967
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
16968
  { (case "(($ac_try" in
 
16969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16970
  *) ac_try_echo=$ac_try;;
 
16971
esac
 
16972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16973
  (eval "$ac_try") 2>&5
14992
16974
  ac_status=$?
14993
16975
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994
16976
  (exit $ac_status); }; } &&
14995
16977
         { ac_try='test -s conftest$ac_exeext'
14996
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14997
 
  (eval $ac_try) 2>&5
 
16978
  { (case "(($ac_try" in
 
16979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16980
  *) ac_try_echo=$ac_try;;
 
16981
esac
 
16982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16983
  (eval "$ac_try") 2>&5
14998
16984
  ac_status=$?
14999
16985
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000
16986
  (exit $ac_status); }; }; then
15003
16989
  echo "$as_me: failed program was:" >&5
15004
16990
sed 's/^/| /' conftest.$ac_ext >&5
15005
16991
 
15006
 
ac_cv_lib_svld_dlopen=no
 
16992
        ac_cv_lib_svld_dlopen=no
15007
16993
fi
15008
 
rm -f conftest.err conftest.$ac_objext \
 
16994
 
 
16995
rm -f core conftest.err conftest.$ac_objext \
15009
16996
      conftest$ac_exeext conftest.$ac_ext
15010
16997
LIBS=$ac_check_lib_save_LIBS
15011
16998
fi
15012
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15013
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
16999
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
17000
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
15014
17001
if test $ac_cv_lib_svld_dlopen = yes; then
15015
17002
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15016
17003
else
15017
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15018
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
17004
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
17005
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
15019
17006
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15020
17007
  echo $ECHO_N "(cached) $ECHO_C" >&6
15021
17008
else
15028
17015
cat >>conftest.$ac_ext <<_ACEOF
15029
17016
/* end confdefs.h.  */
15030
17017
 
15031
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
17018
/* Override any GCC internal prototype to avoid an error.
 
17019
   Use char because int might match the return type of a GCC
 
17020
   builtin and then its argument prototype would still apply.  */
15032
17021
#ifdef __cplusplus
15033
17022
extern "C"
15034
17023
#endif
15035
 
/* We use char because int might match the return type of a gcc2
15036
 
   builtin and then its argument prototype would still apply.  */
15037
17024
char dld_link ();
15038
17025
int
15039
17026
main ()
15040
17027
{
15041
 
dld_link ();
 
17028
return dld_link ();
15042
17029
  ;
15043
17030
  return 0;
15044
17031
}
15045
17032
_ACEOF
15046
17033
rm -f conftest.$ac_objext conftest$ac_exeext
15047
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15048
 
  (eval $ac_link) 2>conftest.er1
 
17034
if { (ac_try="$ac_link"
 
17035
case "(($ac_try" in
 
17036
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17037
  *) ac_try_echo=$ac_try;;
 
17038
esac
 
17039
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17040
  (eval "$ac_link") 2>conftest.er1
15049
17041
  ac_status=$?
15050
17042
  grep -v '^ *+' conftest.er1 >conftest.err
15051
17043
  rm -f conftest.er1
15052
17044
  cat conftest.err >&5
15053
17045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054
17046
  (exit $ac_status); } &&
15055
 
         { ac_try='test -z "$ac_cxx_werror_flag"
15056
 
                         || test ! -s conftest.err'
15057
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058
 
  (eval $ac_try) 2>&5
 
17047
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
17048
  { (case "(($ac_try" in
 
17049
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17050
  *) ac_try_echo=$ac_try;;
 
17051
esac
 
17052
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17053
  (eval "$ac_try") 2>&5
15059
17054
  ac_status=$?
15060
17055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061
17056
  (exit $ac_status); }; } &&
15062
17057
         { ac_try='test -s conftest$ac_exeext'
15063
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15064
 
  (eval $ac_try) 2>&5
 
17058
  { (case "(($ac_try" in
 
17059
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17060
  *) ac_try_echo=$ac_try;;
 
17061
esac
 
17062
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17063
  (eval "$ac_try") 2>&5
15065
17064
  ac_status=$?
15066
17065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067
17066
  (exit $ac_status); }; }; then
15070
17069
  echo "$as_me: failed program was:" >&5
15071
17070
sed 's/^/| /' conftest.$ac_ext >&5
15072
17071
 
15073
 
ac_cv_lib_dld_dld_link=no
 
17072
        ac_cv_lib_dld_dld_link=no
15074
17073
fi
15075
 
rm -f conftest.err conftest.$ac_objext \
 
17074
 
 
17075
rm -f core conftest.err conftest.$ac_objext \
15076
17076
      conftest$ac_exeext conftest.$ac_ext
15077
17077
LIBS=$ac_check_lib_save_LIBS
15078
17078
fi
15079
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15080
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
17079
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
17080
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
15081
17081
if test $ac_cv_lib_dld_dld_link = yes; then
15082
17082
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15083
17083
fi
15117
17117
    save_LIBS="$LIBS"
15118
17118
    LIBS="$lt_cv_dlopen_libs $LIBS"
15119
17119
 
15120
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15121
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
17120
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
17121
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
15122
17122
if test "${lt_cv_dlopen_self+set}" = set; then
15123
17123
  echo $ECHO_N "(cached) $ECHO_C" >&6
15124
17124
else
15128
17128
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15129
17129
  lt_status=$lt_dlunknown
15130
17130
  cat > conftest.$ac_ext <<EOF
15131
 
#line 15131 "configure"
 
17131
#line 17131 "configure"
15132
17132
#include "confdefs.h"
15133
17133
 
15134
17134
#if HAVE_DLFCN_H
15210
17210
 
15211
17211
 
15212
17212
fi
15213
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15214
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
17213
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
17214
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
15215
17215
 
15216
17216
    if test "x$lt_cv_dlopen_self" = xyes; then
15217
17217
      LDFLAGS="$LDFLAGS $link_static_flag"
15218
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15219
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
17218
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
17219
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
15220
17220
if test "${lt_cv_dlopen_self_static+set}" = set; then
15221
17221
  echo $ECHO_N "(cached) $ECHO_C" >&6
15222
17222
else
15226
17226
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15227
17227
  lt_status=$lt_dlunknown
15228
17228
  cat > conftest.$ac_ext <<EOF
15229
 
#line 15229 "configure"
 
17229
#line 17229 "configure"
15230
17230
#include "confdefs.h"
15231
17231
 
15232
17232
#if HAVE_DLFCN_H
15308
17308
 
15309
17309
 
15310
17310
fi
15311
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15312
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
17311
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
17312
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
15313
17313
    fi
15314
17314
 
15315
17315
    CPPFLAGS="$save_CPPFLAGS"
15804
17804
compiler_F77=$CC
15805
17805
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
15806
17806
 
15807
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15808
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15809
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
15810
 
echo "${ECHO_T}$can_build_shared" >&6
 
17807
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
17808
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
17809
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
17810
echo "${ECHO_T}$can_build_shared" >&6; }
15811
17811
 
15812
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15813
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
17812
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
17813
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15814
17814
test "$can_build_shared" = "no" && enable_shared=no
15815
17815
 
15816
17816
# On AIX, shared libraries and static libraries use the same namespace, and
15827
17827
  test "$enable_shared" = yes && enable_static=no
15828
17828
  ;;
15829
17829
esac
15830
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
15831
 
echo "${ECHO_T}$enable_shared" >&6
 
17830
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
17831
echo "${ECHO_T}$enable_shared" >&6; }
15832
17832
 
15833
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15834
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
17833
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
17834
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15835
17835
# Make sure either enable_shared or enable_static is yes.
15836
17836
test "$enable_shared" = yes || enable_static=yes
15837
 
echo "$as_me:$LINENO: result: $enable_static" >&5
15838
 
echo "${ECHO_T}$enable_static" >&6
 
17837
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
17838
echo "${ECHO_T}$enable_static" >&6; }
15839
17839
 
15840
17840
test "$ld_shlibs_F77" = no && can_build_shared=no
15841
17841
 
15846
17846
lt_prog_compiler_pic_F77=
15847
17847
lt_prog_compiler_static_F77=
15848
17848
 
15849
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15850
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
17849
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
17850
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15851
17851
 
15852
17852
  if test "$GCC" = yes; then
15853
17853
    lt_prog_compiler_wl_F77='-Wl,'
16023
18023
    esac
16024
18024
  fi
16025
18025
 
16026
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16027
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
18026
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
18027
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
16028
18028
 
16029
18029
#
16030
18030
# Check to make sure the PIC flag actually works.
16031
18031
#
16032
18032
if test -n "$lt_prog_compiler_pic_F77"; then
16033
18033
 
16034
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16035
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
18034
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
18035
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
16036
18036
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
16037
18037
  echo $ECHO_N "(cached) $ECHO_C" >&6
16038
18038
else
16049
18049
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16050
18050
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16051
18051
   -e 's:$: $lt_compiler_flag:'`
16052
 
   (eval echo "\"\$as_me:16052: $lt_compile\"" >&5)
 
18052
   (eval echo "\"\$as_me:18052: $lt_compile\"" >&5)
16053
18053
   (eval "$lt_compile" 2>conftest.err)
16054
18054
   ac_status=$?
16055
18055
   cat conftest.err >&5
16056
 
   echo "$as_me:16056: \$? = $ac_status" >&5
 
18056
   echo "$as_me:18056: \$? = $ac_status" >&5
16057
18057
   if (exit $ac_status) && test -s "$ac_outfile"; then
16058
18058
     # The compiler can only warn and ignore the option if not recognized
16059
18059
     # So say no if there are warnings
16064
18064
   $rm conftest*
16065
18065
 
16066
18066
fi
16067
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
16068
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
18067
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
18068
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
16069
18069
 
16070
18070
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
16071
18071
    case $lt_prog_compiler_pic_F77 in
16088
18088
    ;;
16089
18089
esac
16090
18090
 
16091
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16092
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
18091
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
18092
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16093
18093
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16094
18094
  echo $ECHO_N "(cached) $ECHO_C" >&6
16095
18095
else
16116
18116
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16117
18117
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16118
18118
   -e 's:$: $lt_compiler_flag:'`
16119
 
   (eval echo "\"\$as_me:16119: $lt_compile\"" >&5)
 
18119
   (eval echo "\"\$as_me:18119: $lt_compile\"" >&5)
16120
18120
   (eval "$lt_compile" 2>out/conftest.err)
16121
18121
   ac_status=$?
16122
18122
   cat out/conftest.err >&5
16123
 
   echo "$as_me:16123: \$? = $ac_status" >&5
 
18123
   echo "$as_me:18123: \$? = $ac_status" >&5
16124
18124
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16125
18125
   then
16126
18126
     # The compiler can only warn and ignore the option if not recognized
16137
18137
   $rm conftest*
16138
18138
 
16139
18139
fi
16140
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16141
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
18140
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
18141
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16142
18142
 
16143
18143
 
16144
18144
hard_links="nottested"
16145
18145
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16146
18146
  # do not overwrite the value of need_locks provided by the user
16147
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16148
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
18147
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
18148
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16149
18149
  hard_links=yes
16150
18150
  $rm conftest*
16151
18151
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16152
18152
  touch conftest.a
16153
18153
  ln conftest.a conftest.b 2>&5 || hard_links=no
16154
18154
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16155
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16156
 
echo "${ECHO_T}$hard_links" >&6
 
18155
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
18156
echo "${ECHO_T}$hard_links" >&6; }
16157
18157
  if test "$hard_links" = no; then
16158
18158
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16159
18159
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16163
18163
  need_locks=no
16164
18164
fi
16165
18165
 
16166
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16167
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
18166
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
18167
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16168
18168
 
16169
18169
  runpath_var=
16170
18170
  allow_undefined_flag_F77=
16449
18449
      end
16450
18450
_ACEOF
16451
18451
rm -f conftest.$ac_objext conftest$ac_exeext
16452
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16453
 
  (eval $ac_link) 2>conftest.er1
 
18452
if { (ac_try="$ac_link"
 
18453
case "(($ac_try" in
 
18454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18455
  *) ac_try_echo=$ac_try;;
 
18456
esac
 
18457
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18458
  (eval "$ac_link") 2>conftest.er1
16454
18459
  ac_status=$?
16455
18460
  grep -v '^ *+' conftest.er1 >conftest.err
16456
18461
  rm -f conftest.er1
16457
18462
  cat conftest.err >&5
16458
18463
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459
18464
  (exit $ac_status); } &&
16460
 
         { ac_try='test -z "$ac_f77_werror_flag"
16461
 
                         || test ! -s conftest.err'
16462
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16463
 
  (eval $ac_try) 2>&5
 
18465
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
18466
  { (case "(($ac_try" in
 
18467
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18468
  *) ac_try_echo=$ac_try;;
 
18469
esac
 
18470
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18471
  (eval "$ac_try") 2>&5
16464
18472
  ac_status=$?
16465
18473
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466
18474
  (exit $ac_status); }; } &&
16467
18475
         { ac_try='test -s conftest$ac_exeext'
16468
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16469
 
  (eval $ac_try) 2>&5
 
18476
  { (case "(($ac_try" in
 
18477
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18478
  *) ac_try_echo=$ac_try;;
 
18479
esac
 
18480
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18481
  (eval "$ac_try") 2>&5
16470
18482
  ac_status=$?
16471
18483
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472
18484
  (exit $ac_status); }; }; then
16480
18492
  echo "$as_me: failed program was:" >&5
16481
18493
sed 's/^/| /' conftest.$ac_ext >&5
16482
18494
 
 
18495
 
16483
18496
fi
16484
 
rm -f conftest.err conftest.$ac_objext \
 
18497
 
 
18498
rm -f core conftest.err conftest.$ac_objext \
16485
18499
      conftest$ac_exeext conftest.$ac_ext
16486
18500
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16487
18501
 
16501
18515
      end
16502
18516
_ACEOF
16503
18517
rm -f conftest.$ac_objext conftest$ac_exeext
16504
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16505
 
  (eval $ac_link) 2>conftest.er1
 
18518
if { (ac_try="$ac_link"
 
18519
case "(($ac_try" in
 
18520
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18521
  *) ac_try_echo=$ac_try;;
 
18522
esac
 
18523
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18524
  (eval "$ac_link") 2>conftest.er1
16506
18525
  ac_status=$?
16507
18526
  grep -v '^ *+' conftest.er1 >conftest.err
16508
18527
  rm -f conftest.er1
16509
18528
  cat conftest.err >&5
16510
18529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511
18530
  (exit $ac_status); } &&
16512
 
         { ac_try='test -z "$ac_f77_werror_flag"
16513
 
                         || test ! -s conftest.err'
16514
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515
 
  (eval $ac_try) 2>&5
 
18531
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
18532
  { (case "(($ac_try" in
 
18533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18534
  *) ac_try_echo=$ac_try;;
 
18535
esac
 
18536
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18537
  (eval "$ac_try") 2>&5
16516
18538
  ac_status=$?
16517
18539
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518
18540
  (exit $ac_status); }; } &&
16519
18541
         { ac_try='test -s conftest$ac_exeext'
16520
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16521
 
  (eval $ac_try) 2>&5
 
18542
  { (case "(($ac_try" in
 
18543
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18544
  *) ac_try_echo=$ac_try;;
 
18545
esac
 
18546
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18547
  (eval "$ac_try") 2>&5
16522
18548
  ac_status=$?
16523
18549
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524
18550
  (exit $ac_status); }; }; then
16532
18558
  echo "$as_me: failed program was:" >&5
16533
18559
sed 's/^/| /' conftest.$ac_ext >&5
16534
18560
 
 
18561
 
16535
18562
fi
16536
 
rm -f conftest.err conftest.$ac_objext \
 
18563
 
 
18564
rm -f core conftest.err conftest.$ac_objext \
16537
18565
      conftest$ac_exeext conftest.$ac_ext
16538
18566
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16539
18567
 
16666
18694
      ;;
16667
18695
 
16668
18696
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16669
 
    freebsd*)
 
18697
    freebsd* | kfreebsd*-gnu)
16670
18698
      archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
16671
18699
      hardcode_libdir_flag_spec_F77='-R$libdir'
16672
18700
      hardcode_direct_F77=yes
16955
18983
    esac
16956
18984
  fi
16957
18985
 
16958
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16959
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
18986
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
18987
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16960
18988
test "$ld_shlibs_F77" = no && can_build_shared=no
16961
18989
 
16962
18990
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16981
19009
      # Test whether the compiler implicitly links with -lc since on some
16982
19010
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16983
19011
      # to ld, don't add -lc before -lgcc.
16984
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16985
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
19012
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
19013
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16986
19014
      $rm conftest*
16987
19015
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16988
19016
 
17018
19046
        cat conftest.err 1>&5
17019
19047
      fi
17020
19048
      $rm conftest*
17021
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17022
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
19049
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
19050
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17023
19051
      ;;
17024
19052
    esac
17025
19053
  fi
17026
19054
  ;;
17027
19055
esac
17028
19056
 
17029
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17030
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
19057
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
19058
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17031
19059
library_names_spec=
17032
19060
libname_spec='lib$name'
17033
19061
soname_spec=
17219
19247
  dynamic_linker=no
17220
19248
  ;;
17221
19249
 
17222
 
freebsd*-gnu*)
 
19250
kfreebsd*-gnu*)
17223
19251
  version_type=linux
17224
19252
  need_lib_prefix=no
17225
19253
  need_version=no
17544
19572
  dynamic_linker=no
17545
19573
  ;;
17546
19574
esac
17547
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17548
 
echo "${ECHO_T}$dynamic_linker" >&6
 
19575
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
19576
echo "${ECHO_T}$dynamic_linker" >&6; }
17549
19577
test "$dynamic_linker" = no && can_build_shared=no
17550
19578
 
17551
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17552
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
19579
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
19580
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17553
19581
hardcode_action_F77=
17554
19582
if test -n "$hardcode_libdir_flag_spec_F77" || \
17555
19583
   test -n "$runpath_var F77" || \
17573
19601
  # directories.
17574
19602
  hardcode_action_F77=unsupported
17575
19603
fi
17576
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17577
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
19604
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
19605
echo "${ECHO_T}$hardcode_action_F77" >&6; }
17578
19606
 
17579
19607
if test "$hardcode_action_F77" = relink; then
17580
19608
  # Fast installation is not supported
17587
19615
 
17588
19616
striplib=
17589
19617
old_striplib=
17590
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17591
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
19618
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
19619
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
17592
19620
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17593
19621
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17594
19622
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17595
 
  echo "$as_me:$LINENO: result: yes" >&5
17596
 
echo "${ECHO_T}yes" >&6
 
19623
  { echo "$as_me:$LINENO: result: yes" >&5
 
19624
echo "${ECHO_T}yes" >&6; }
17597
19625
else
17598
19626
# FIXME - insert some real tests, host_os isn't really good enough
17599
19627
  case $host_os in
17600
19628
   darwin*)
17601
19629
       if test -n "$STRIP" ; then
17602
19630
         striplib="$STRIP -x"
17603
 
         echo "$as_me:$LINENO: result: yes" >&5
17604
 
echo "${ECHO_T}yes" >&6
 
19631
         { echo "$as_me:$LINENO: result: yes" >&5
 
19632
echo "${ECHO_T}yes" >&6; }
17605
19633
       else
17606
 
  echo "$as_me:$LINENO: result: no" >&5
17607
 
echo "${ECHO_T}no" >&6
 
19634
  { echo "$as_me:$LINENO: result: no" >&5
 
19635
echo "${ECHO_T}no" >&6; }
17608
19636
fi
17609
19637
       ;;
17610
19638
   *)
17611
 
  echo "$as_me:$LINENO: result: no" >&5
17612
 
echo "${ECHO_T}no" >&6
 
19639
  { echo "$as_me:$LINENO: result: no" >&5
 
19640
echo "${ECHO_T}no" >&6; }
17613
19641
    ;;
17614
19642
  esac
17615
19643
fi
18028
20056
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18029
20057
 
18030
20058
 
18031
 
 
18032
20059
# Source file extension for Java test sources.
18033
20060
ac_ext=java
18034
20061
 
18060
20087
# GCJ did not exist at the time GCC didn't implicitly link libc in.
18061
20088
archive_cmds_need_lc_GCJ=no
18062
20089
 
 
20090
## CAVEAT EMPTOR:
 
20091
## There is no encapsulation within the following macros, do not change
 
20092
## the running order or otherwise move them around unless you know exactly
 
20093
## what you are doing...
18063
20094
 
18064
20095
lt_prog_compiler_no_builtin_flag_GCJ=
18065
20096
 
18067
20098
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18068
20099
 
18069
20100
 
18070
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18071
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
20101
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
20102
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18072
20103
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18073
20104
  echo $ECHO_N "(cached) $ECHO_C" >&6
18074
20105
else
18085
20116
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18086
20117
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18087
20118
   -e 's:$: $lt_compiler_flag:'`
18088
 
   (eval echo "\"\$as_me:18088: $lt_compile\"" >&5)
 
20119
   (eval echo "\"\$as_me:20119: $lt_compile\"" >&5)
18089
20120
   (eval "$lt_compile" 2>conftest.err)
18090
20121
   ac_status=$?
18091
20122
   cat conftest.err >&5
18092
 
   echo "$as_me:18092: \$? = $ac_status" >&5
 
20123
   echo "$as_me:20123: \$? = $ac_status" >&5
18093
20124
   if (exit $ac_status) && test -s "$ac_outfile"; then
18094
20125
     # The compiler can only warn and ignore the option if not recognized
18095
20126
     # So say no if there are warnings
18100
20131
   $rm conftest*
18101
20132
 
18102
20133
fi
18103
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18104
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
20134
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
20135
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18105
20136
 
18106
20137
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18107
20138
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18115
20146
lt_prog_compiler_pic_GCJ=
18116
20147
lt_prog_compiler_static_GCJ=
18117
20148
 
18118
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18119
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
20149
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
20150
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18120
20151
 
18121
20152
  if test "$GCC" = yes; then
18122
20153
    lt_prog_compiler_wl_GCJ='-Wl,'
18292
20323
    esac
18293
20324
  fi
18294
20325
 
18295
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18296
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
20326
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
20327
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18297
20328
 
18298
20329
#
18299
20330
# Check to make sure the PIC flag actually works.
18300
20331
#
18301
20332
if test -n "$lt_prog_compiler_pic_GCJ"; then
18302
20333
 
18303
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18304
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
20334
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
20335
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18305
20336
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18306
20337
  echo $ECHO_N "(cached) $ECHO_C" >&6
18307
20338
else
18318
20349
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18319
20350
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18320
20351
   -e 's:$: $lt_compiler_flag:'`
18321
 
   (eval echo "\"\$as_me:18321: $lt_compile\"" >&5)
 
20352
   (eval echo "\"\$as_me:20352: $lt_compile\"" >&5)
18322
20353
   (eval "$lt_compile" 2>conftest.err)
18323
20354
   ac_status=$?
18324
20355
   cat conftest.err >&5
18325
 
   echo "$as_me:18325: \$? = $ac_status" >&5
 
20356
   echo "$as_me:20356: \$? = $ac_status" >&5
18326
20357
   if (exit $ac_status) && test -s "$ac_outfile"; then
18327
20358
     # The compiler can only warn and ignore the option if not recognized
18328
20359
     # So say no if there are warnings
18333
20364
   $rm conftest*
18334
20365
 
18335
20366
fi
18336
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18337
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
20367
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
20368
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18338
20369
 
18339
20370
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18340
20371
    case $lt_prog_compiler_pic_GCJ in
18357
20388
    ;;
18358
20389
esac
18359
20390
 
18360
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18361
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
20391
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
20392
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18362
20393
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18363
20394
  echo $ECHO_N "(cached) $ECHO_C" >&6
18364
20395
else
18385
20416
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18386
20417
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18387
20418
   -e 's:$: $lt_compiler_flag:'`
18388
 
   (eval echo "\"\$as_me:18388: $lt_compile\"" >&5)
 
20419
   (eval echo "\"\$as_me:20419: $lt_compile\"" >&5)
18389
20420
   (eval "$lt_compile" 2>out/conftest.err)
18390
20421
   ac_status=$?
18391
20422
   cat out/conftest.err >&5
18392
 
   echo "$as_me:18392: \$? = $ac_status" >&5
 
20423
   echo "$as_me:20423: \$? = $ac_status" >&5
18393
20424
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18394
20425
   then
18395
20426
     # The compiler can only warn and ignore the option if not recognized
18406
20437
   $rm conftest*
18407
20438
 
18408
20439
fi
18409
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18410
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
20440
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
20441
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18411
20442
 
18412
20443
 
18413
20444
hard_links="nottested"
18414
20445
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18415
20446
  # do not overwrite the value of need_locks provided by the user
18416
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18417
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
20447
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
20448
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18418
20449
  hard_links=yes
18419
20450
  $rm conftest*
18420
20451
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18421
20452
  touch conftest.a
18422
20453
  ln conftest.a conftest.b 2>&5 || hard_links=no
18423
20454
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18424
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
18425
 
echo "${ECHO_T}$hard_links" >&6
 
20455
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
20456
echo "${ECHO_T}$hard_links" >&6; }
18426
20457
  if test "$hard_links" = no; then
18427
20458
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18428
20459
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18432
20463
  need_locks=no
18433
20464
fi
18434
20465
 
18435
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18436
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
20466
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
20467
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18437
20468
 
18438
20469
  runpath_var=
18439
20470
  allow_undefined_flag_GCJ=
18728
20759
}
18729
20760
_ACEOF
18730
20761
rm -f conftest.$ac_objext conftest$ac_exeext
18731
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18732
 
  (eval $ac_link) 2>conftest.er1
 
20762
if { (ac_try="$ac_link"
 
20763
case "(($ac_try" in
 
20764
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20765
  *) ac_try_echo=$ac_try;;
 
20766
esac
 
20767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20768
  (eval "$ac_link") 2>conftest.er1
18733
20769
  ac_status=$?
18734
20770
  grep -v '^ *+' conftest.er1 >conftest.err
18735
20771
  rm -f conftest.er1
18736
20772
  cat conftest.err >&5
18737
20773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738
20774
  (exit $ac_status); } &&
18739
 
         { ac_try='test -z "$ac_c_werror_flag"
18740
 
                         || test ! -s conftest.err'
18741
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742
 
  (eval $ac_try) 2>&5
 
20775
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20776
  { (case "(($ac_try" in
 
20777
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20778
  *) ac_try_echo=$ac_try;;
 
20779
esac
 
20780
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20781
  (eval "$ac_try") 2>&5
18743
20782
  ac_status=$?
18744
20783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745
20784
  (exit $ac_status); }; } &&
18746
20785
         { ac_try='test -s conftest$ac_exeext'
18747
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18748
 
  (eval $ac_try) 2>&5
 
20786
  { (case "(($ac_try" in
 
20787
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20788
  *) ac_try_echo=$ac_try;;
 
20789
esac
 
20790
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20791
  (eval "$ac_try") 2>&5
18749
20792
  ac_status=$?
18750
20793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751
20794
  (exit $ac_status); }; }; then
18759
20802
  echo "$as_me: failed program was:" >&5
18760
20803
sed 's/^/| /' conftest.$ac_ext >&5
18761
20804
 
 
20805
 
18762
20806
fi
18763
 
rm -f conftest.err conftest.$ac_objext \
 
20807
 
 
20808
rm -f core conftest.err conftest.$ac_objext \
18764
20809
      conftest$ac_exeext conftest.$ac_ext
18765
20810
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18766
20811
 
18790
20835
}
18791
20836
_ACEOF
18792
20837
rm -f conftest.$ac_objext conftest$ac_exeext
18793
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18794
 
  (eval $ac_link) 2>conftest.er1
 
20838
if { (ac_try="$ac_link"
 
20839
case "(($ac_try" in
 
20840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20841
  *) ac_try_echo=$ac_try;;
 
20842
esac
 
20843
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20844
  (eval "$ac_link") 2>conftest.er1
18795
20845
  ac_status=$?
18796
20846
  grep -v '^ *+' conftest.er1 >conftest.err
18797
20847
  rm -f conftest.er1
18798
20848
  cat conftest.err >&5
18799
20849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800
20850
  (exit $ac_status); } &&
18801
 
         { ac_try='test -z "$ac_c_werror_flag"
18802
 
                         || test ! -s conftest.err'
18803
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804
 
  (eval $ac_try) 2>&5
 
20851
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20852
  { (case "(($ac_try" in
 
20853
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20854
  *) ac_try_echo=$ac_try;;
 
20855
esac
 
20856
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20857
  (eval "$ac_try") 2>&5
18805
20858
  ac_status=$?
18806
20859
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807
20860
  (exit $ac_status); }; } &&
18808
20861
         { ac_try='test -s conftest$ac_exeext'
18809
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810
 
  (eval $ac_try) 2>&5
 
20862
  { (case "(($ac_try" in
 
20863
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20864
  *) ac_try_echo=$ac_try;;
 
20865
esac
 
20866
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20867
  (eval "$ac_try") 2>&5
18811
20868
  ac_status=$?
18812
20869
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813
20870
  (exit $ac_status); }; }; then
18821
20878
  echo "$as_me: failed program was:" >&5
18822
20879
sed 's/^/| /' conftest.$ac_ext >&5
18823
20880
 
 
20881
 
18824
20882
fi
18825
 
rm -f conftest.err conftest.$ac_objext \
 
20883
 
 
20884
rm -f core conftest.err conftest.$ac_objext \
18826
20885
      conftest$ac_exeext conftest.$ac_ext
18827
20886
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18828
20887
 
18955
21014
      ;;
18956
21015
 
18957
21016
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18958
 
    freebsd*)
 
21017
    freebsd* | kfreebsd*-gnu)
18959
21018
      archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
18960
21019
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18961
21020
      hardcode_direct_GCJ=yes
19244
21303
    esac
19245
21304
  fi
19246
21305
 
19247
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19248
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
21306
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
21307
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19249
21308
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19250
21309
 
19251
21310
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19270
21329
      # Test whether the compiler implicitly links with -lc since on some
19271
21330
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19272
21331
      # to ld, don't add -lc before -lgcc.
19273
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19274
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
21332
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
21333
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19275
21334
      $rm conftest*
19276
21335
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19277
21336
 
19307
21366
        cat conftest.err 1>&5
19308
21367
      fi
19309
21368
      $rm conftest*
19310
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19311
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
21369
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
21370
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19312
21371
      ;;
19313
21372
    esac
19314
21373
  fi
19315
21374
  ;;
19316
21375
esac
19317
21376
 
19318
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19319
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
21377
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
21378
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19320
21379
library_names_spec=
19321
21380
libname_spec='lib$name'
19322
21381
soname_spec=
19508
21567
  dynamic_linker=no
19509
21568
  ;;
19510
21569
 
19511
 
freebsd*-gnu*)
 
21570
kfreebsd*-gnu*)
19512
21571
  version_type=linux
19513
21572
  need_lib_prefix=no
19514
21573
  need_version=no
19833
21892
  dynamic_linker=no
19834
21893
  ;;
19835
21894
esac
19836
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19837
 
echo "${ECHO_T}$dynamic_linker" >&6
 
21895
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
21896
echo "${ECHO_T}$dynamic_linker" >&6; }
19838
21897
test "$dynamic_linker" = no && can_build_shared=no
19839
21898
 
19840
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19841
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
21899
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
21900
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19842
21901
hardcode_action_GCJ=
19843
21902
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19844
21903
   test -n "$runpath_var GCJ" || \
19862
21921
  # directories.
19863
21922
  hardcode_action_GCJ=unsupported
19864
21923
fi
19865
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19866
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
21924
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
21925
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19867
21926
 
19868
21927
if test "$hardcode_action_GCJ" = relink; then
19869
21928
  # Fast installation is not supported
19876
21935
 
19877
21936
striplib=
19878
21937
old_striplib=
19879
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19880
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
21938
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
21939
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
19881
21940
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19882
21941
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19883
21942
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19884
 
  echo "$as_me:$LINENO: result: yes" >&5
19885
 
echo "${ECHO_T}yes" >&6
 
21943
  { echo "$as_me:$LINENO: result: yes" >&5
 
21944
echo "${ECHO_T}yes" >&6; }
19886
21945
else
19887
21946
# FIXME - insert some real tests, host_os isn't really good enough
19888
21947
  case $host_os in
19889
21948
   darwin*)
19890
21949
       if test -n "$STRIP" ; then
19891
21950
         striplib="$STRIP -x"
19892
 
         echo "$as_me:$LINENO: result: yes" >&5
19893
 
echo "${ECHO_T}yes" >&6
 
21951
         { echo "$as_me:$LINENO: result: yes" >&5
 
21952
echo "${ECHO_T}yes" >&6; }
19894
21953
       else
19895
 
  echo "$as_me:$LINENO: result: no" >&5
19896
 
echo "${ECHO_T}no" >&6
 
21954
  { echo "$as_me:$LINENO: result: no" >&5
 
21955
echo "${ECHO_T}no" >&6; }
19897
21956
fi
19898
21957
       ;;
19899
21958
   *)
19900
 
  echo "$as_me:$LINENO: result: no" >&5
19901
 
echo "${ECHO_T}no" >&6
 
21959
  { echo "$as_me:$LINENO: result: no" >&5
 
21960
echo "${ECHO_T}no" >&6; }
19902
21961
    ;;
19903
21962
  esac
19904
21963
fi
19930
21989
 
19931
21990
  darwin*)
19932
21991
  # if libdl is installed we need to link against it
19933
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19934
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
21992
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
21993
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
19935
21994
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19936
21995
  echo $ECHO_N "(cached) $ECHO_C" >&6
19937
21996
else
19944
22003
cat >>conftest.$ac_ext <<_ACEOF
19945
22004
/* end confdefs.h.  */
19946
22005
 
19947
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22006
/* Override any GCC internal prototype to avoid an error.
 
22007
   Use char because int might match the return type of a GCC
 
22008
   builtin and then its argument prototype would still apply.  */
19948
22009
#ifdef __cplusplus
19949
22010
extern "C"
19950
22011
#endif
19951
 
/* We use char because int might match the return type of a gcc2
19952
 
   builtin and then its argument prototype would still apply.  */
19953
22012
char dlopen ();
19954
22013
int
19955
22014
main ()
19956
22015
{
19957
 
dlopen ();
 
22016
return dlopen ();
19958
22017
  ;
19959
22018
  return 0;
19960
22019
}
19961
22020
_ACEOF
19962
22021
rm -f conftest.$ac_objext conftest$ac_exeext
19963
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19964
 
  (eval $ac_link) 2>conftest.er1
 
22022
if { (ac_try="$ac_link"
 
22023
case "(($ac_try" in
 
22024
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22025
  *) ac_try_echo=$ac_try;;
 
22026
esac
 
22027
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22028
  (eval "$ac_link") 2>conftest.er1
19965
22029
  ac_status=$?
19966
22030
  grep -v '^ *+' conftest.er1 >conftest.err
19967
22031
  rm -f conftest.er1
19968
22032
  cat conftest.err >&5
19969
22033
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970
22034
  (exit $ac_status); } &&
19971
 
         { ac_try='test -z "$ac_c_werror_flag"
19972
 
                         || test ! -s conftest.err'
19973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19974
 
  (eval $ac_try) 2>&5
 
22035
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22036
  { (case "(($ac_try" in
 
22037
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22038
  *) ac_try_echo=$ac_try;;
 
22039
esac
 
22040
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22041
  (eval "$ac_try") 2>&5
19975
22042
  ac_status=$?
19976
22043
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977
22044
  (exit $ac_status); }; } &&
19978
22045
         { ac_try='test -s conftest$ac_exeext'
19979
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980
 
  (eval $ac_try) 2>&5
 
22046
  { (case "(($ac_try" in
 
22047
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22048
  *) ac_try_echo=$ac_try;;
 
22049
esac
 
22050
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22051
  (eval "$ac_try") 2>&5
19981
22052
  ac_status=$?
19982
22053
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983
22054
  (exit $ac_status); }; }; then
19986
22057
  echo "$as_me: failed program was:" >&5
19987
22058
sed 's/^/| /' conftest.$ac_ext >&5
19988
22059
 
19989
 
ac_cv_lib_dl_dlopen=no
 
22060
        ac_cv_lib_dl_dlopen=no
19990
22061
fi
19991
 
rm -f conftest.err conftest.$ac_objext \
 
22062
 
 
22063
rm -f core conftest.err conftest.$ac_objext \
19992
22064
      conftest$ac_exeext conftest.$ac_ext
19993
22065
LIBS=$ac_check_lib_save_LIBS
19994
22066
fi
19995
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19996
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
22067
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
22068
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19997
22069
if test $ac_cv_lib_dl_dlopen = yes; then
19998
22070
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19999
22071
else
20007
22079
   ;;
20008
22080
 
20009
22081
  *)
20010
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
20011
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
22082
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
22083
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
20012
22084
if test "${ac_cv_func_shl_load+set}" = set; then
20013
22085
  echo $ECHO_N "(cached) $ECHO_C" >&6
20014
22086
else
20035
22107
 
20036
22108
#undef shl_load
20037
22109
 
20038
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22110
/* Override any GCC internal prototype to avoid an error.
 
22111
   Use char because int might match the return type of a GCC
 
22112
   builtin and then its argument prototype would still apply.  */
20039
22113
#ifdef __cplusplus
20040
22114
extern "C"
20041
 
{
20042
22115
#endif
20043
 
/* We use char because int might match the return type of a gcc2
20044
 
   builtin and then its argument prototype would still apply.  */
20045
22116
char shl_load ();
20046
22117
/* The GNU C library defines this for functions which it implements
20047
22118
    to always fail with ENOSYS.  Some functions are actually named
20048
22119
    something starting with __ and the normal name is an alias.  */
20049
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
22120
#if defined __stub_shl_load || defined __stub___shl_load
20050
22121
choke me
20051
 
#else
20052
 
char (*f) () = shl_load;
20053
 
#endif
20054
 
#ifdef __cplusplus
20055
 
}
20056
22122
#endif
20057
22123
 
20058
22124
int
20059
22125
main ()
20060
22126
{
20061
 
return f != shl_load;
 
22127
return shl_load ();
20062
22128
  ;
20063
22129
  return 0;
20064
22130
}
20065
22131
_ACEOF
20066
22132
rm -f conftest.$ac_objext conftest$ac_exeext
20067
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20068
 
  (eval $ac_link) 2>conftest.er1
 
22133
if { (ac_try="$ac_link"
 
22134
case "(($ac_try" in
 
22135
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22136
  *) ac_try_echo=$ac_try;;
 
22137
esac
 
22138
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22139
  (eval "$ac_link") 2>conftest.er1
20069
22140
  ac_status=$?
20070
22141
  grep -v '^ *+' conftest.er1 >conftest.err
20071
22142
  rm -f conftest.er1
20072
22143
  cat conftest.err >&5
20073
22144
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074
22145
  (exit $ac_status); } &&
20075
 
         { ac_try='test -z "$ac_c_werror_flag"
20076
 
                         || test ! -s conftest.err'
20077
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078
 
  (eval $ac_try) 2>&5
 
22146
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22147
  { (case "(($ac_try" in
 
22148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22149
  *) ac_try_echo=$ac_try;;
 
22150
esac
 
22151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22152
  (eval "$ac_try") 2>&5
20079
22153
  ac_status=$?
20080
22154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081
22155
  (exit $ac_status); }; } &&
20082
22156
         { ac_try='test -s conftest$ac_exeext'
20083
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084
 
  (eval $ac_try) 2>&5
 
22157
  { (case "(($ac_try" in
 
22158
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22159
  *) ac_try_echo=$ac_try;;
 
22160
esac
 
22161
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22162
  (eval "$ac_try") 2>&5
20085
22163
  ac_status=$?
20086
22164
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087
22165
  (exit $ac_status); }; }; then
20090
22168
  echo "$as_me: failed program was:" >&5
20091
22169
sed 's/^/| /' conftest.$ac_ext >&5
20092
22170
 
20093
 
ac_cv_func_shl_load=no
 
22171
        ac_cv_func_shl_load=no
20094
22172
fi
20095
 
rm -f conftest.err conftest.$ac_objext \
 
22173
 
 
22174
rm -f core conftest.err conftest.$ac_objext \
20096
22175
      conftest$ac_exeext conftest.$ac_ext
20097
22176
fi
20098
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
20099
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
22177
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
22178
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
20100
22179
if test $ac_cv_func_shl_load = yes; then
20101
22180
  lt_cv_dlopen="shl_load"
20102
22181
else
20103
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
20104
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
22182
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
22183
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
20105
22184
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20106
22185
  echo $ECHO_N "(cached) $ECHO_C" >&6
20107
22186
else
20114
22193
cat >>conftest.$ac_ext <<_ACEOF
20115
22194
/* end confdefs.h.  */
20116
22195
 
20117
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22196
/* Override any GCC internal prototype to avoid an error.
 
22197
   Use char because int might match the return type of a GCC
 
22198
   builtin and then its argument prototype would still apply.  */
20118
22199
#ifdef __cplusplus
20119
22200
extern "C"
20120
22201
#endif
20121
 
/* We use char because int might match the return type of a gcc2
20122
 
   builtin and then its argument prototype would still apply.  */
20123
22202
char shl_load ();
20124
22203
int
20125
22204
main ()
20126
22205
{
20127
 
shl_load ();
 
22206
return shl_load ();
20128
22207
  ;
20129
22208
  return 0;
20130
22209
}
20131
22210
_ACEOF
20132
22211
rm -f conftest.$ac_objext conftest$ac_exeext
20133
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20134
 
  (eval $ac_link) 2>conftest.er1
 
22212
if { (ac_try="$ac_link"
 
22213
case "(($ac_try" in
 
22214
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22215
  *) ac_try_echo=$ac_try;;
 
22216
esac
 
22217
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22218
  (eval "$ac_link") 2>conftest.er1
20135
22219
  ac_status=$?
20136
22220
  grep -v '^ *+' conftest.er1 >conftest.err
20137
22221
  rm -f conftest.er1
20138
22222
  cat conftest.err >&5
20139
22223
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140
22224
  (exit $ac_status); } &&
20141
 
         { ac_try='test -z "$ac_c_werror_flag"
20142
 
                         || test ! -s conftest.err'
20143
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144
 
  (eval $ac_try) 2>&5
 
22225
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22226
  { (case "(($ac_try" in
 
22227
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22228
  *) ac_try_echo=$ac_try;;
 
22229
esac
 
22230
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22231
  (eval "$ac_try") 2>&5
20145
22232
  ac_status=$?
20146
22233
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147
22234
  (exit $ac_status); }; } &&
20148
22235
         { ac_try='test -s conftest$ac_exeext'
20149
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150
 
  (eval $ac_try) 2>&5
 
22236
  { (case "(($ac_try" in
 
22237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22238
  *) ac_try_echo=$ac_try;;
 
22239
esac
 
22240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22241
  (eval "$ac_try") 2>&5
20151
22242
  ac_status=$?
20152
22243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153
22244
  (exit $ac_status); }; }; then
20156
22247
  echo "$as_me: failed program was:" >&5
20157
22248
sed 's/^/| /' conftest.$ac_ext >&5
20158
22249
 
20159
 
ac_cv_lib_dld_shl_load=no
 
22250
        ac_cv_lib_dld_shl_load=no
20160
22251
fi
20161
 
rm -f conftest.err conftest.$ac_objext \
 
22252
 
 
22253
rm -f core conftest.err conftest.$ac_objext \
20162
22254
      conftest$ac_exeext conftest.$ac_ext
20163
22255
LIBS=$ac_check_lib_save_LIBS
20164
22256
fi
20165
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
20166
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
22257
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
22258
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
20167
22259
if test $ac_cv_lib_dld_shl_load = yes; then
20168
22260
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
20169
22261
else
20170
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
20171
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
22262
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
22263
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
20172
22264
if test "${ac_cv_func_dlopen+set}" = set; then
20173
22265
  echo $ECHO_N "(cached) $ECHO_C" >&6
20174
22266
else
20195
22287
 
20196
22288
#undef dlopen
20197
22289
 
20198
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22290
/* Override any GCC internal prototype to avoid an error.
 
22291
   Use char because int might match the return type of a GCC
 
22292
   builtin and then its argument prototype would still apply.  */
20199
22293
#ifdef __cplusplus
20200
22294
extern "C"
20201
 
{
20202
22295
#endif
20203
 
/* We use char because int might match the return type of a gcc2
20204
 
   builtin and then its argument prototype would still apply.  */
20205
22296
char dlopen ();
20206
22297
/* The GNU C library defines this for functions which it implements
20207
22298
    to always fail with ENOSYS.  Some functions are actually named
20208
22299
    something starting with __ and the normal name is an alias.  */
20209
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
22300
#if defined __stub_dlopen || defined __stub___dlopen
20210
22301
choke me
20211
 
#else
20212
 
char (*f) () = dlopen;
20213
 
#endif
20214
 
#ifdef __cplusplus
20215
 
}
20216
22302
#endif
20217
22303
 
20218
22304
int
20219
22305
main ()
20220
22306
{
20221
 
return f != dlopen;
 
22307
return dlopen ();
20222
22308
  ;
20223
22309
  return 0;
20224
22310
}
20225
22311
_ACEOF
20226
22312
rm -f conftest.$ac_objext conftest$ac_exeext
20227
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20228
 
  (eval $ac_link) 2>conftest.er1
 
22313
if { (ac_try="$ac_link"
 
22314
case "(($ac_try" in
 
22315
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22316
  *) ac_try_echo=$ac_try;;
 
22317
esac
 
22318
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22319
  (eval "$ac_link") 2>conftest.er1
20229
22320
  ac_status=$?
20230
22321
  grep -v '^ *+' conftest.er1 >conftest.err
20231
22322
  rm -f conftest.er1
20232
22323
  cat conftest.err >&5
20233
22324
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234
22325
  (exit $ac_status); } &&
20235
 
         { ac_try='test -z "$ac_c_werror_flag"
20236
 
                         || test ! -s conftest.err'
20237
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20238
 
  (eval $ac_try) 2>&5
 
22326
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22327
  { (case "(($ac_try" in
 
22328
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22329
  *) ac_try_echo=$ac_try;;
 
22330
esac
 
22331
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22332
  (eval "$ac_try") 2>&5
20239
22333
  ac_status=$?
20240
22334
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241
22335
  (exit $ac_status); }; } &&
20242
22336
         { ac_try='test -s conftest$ac_exeext'
20243
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244
 
  (eval $ac_try) 2>&5
 
22337
  { (case "(($ac_try" in
 
22338
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22339
  *) ac_try_echo=$ac_try;;
 
22340
esac
 
22341
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22342
  (eval "$ac_try") 2>&5
20245
22343
  ac_status=$?
20246
22344
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247
22345
  (exit $ac_status); }; }; then
20250
22348
  echo "$as_me: failed program was:" >&5
20251
22349
sed 's/^/| /' conftest.$ac_ext >&5
20252
22350
 
20253
 
ac_cv_func_dlopen=no
 
22351
        ac_cv_func_dlopen=no
20254
22352
fi
20255
 
rm -f conftest.err conftest.$ac_objext \
 
22353
 
 
22354
rm -f core conftest.err conftest.$ac_objext \
20256
22355
      conftest$ac_exeext conftest.$ac_ext
20257
22356
fi
20258
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
20259
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
22357
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
22358
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
20260
22359
if test $ac_cv_func_dlopen = yes; then
20261
22360
  lt_cv_dlopen="dlopen"
20262
22361
else
20263
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20264
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
22362
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
22363
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20265
22364
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20266
22365
  echo $ECHO_N "(cached) $ECHO_C" >&6
20267
22366
else
20274
22373
cat >>conftest.$ac_ext <<_ACEOF
20275
22374
/* end confdefs.h.  */
20276
22375
 
20277
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22376
/* Override any GCC internal prototype to avoid an error.
 
22377
   Use char because int might match the return type of a GCC
 
22378
   builtin and then its argument prototype would still apply.  */
20278
22379
#ifdef __cplusplus
20279
22380
extern "C"
20280
22381
#endif
20281
 
/* We use char because int might match the return type of a gcc2
20282
 
   builtin and then its argument prototype would still apply.  */
20283
22382
char dlopen ();
20284
22383
int
20285
22384
main ()
20286
22385
{
20287
 
dlopen ();
 
22386
return dlopen ();
20288
22387
  ;
20289
22388
  return 0;
20290
22389
}
20291
22390
_ACEOF
20292
22391
rm -f conftest.$ac_objext conftest$ac_exeext
20293
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20294
 
  (eval $ac_link) 2>conftest.er1
 
22392
if { (ac_try="$ac_link"
 
22393
case "(($ac_try" in
 
22394
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22395
  *) ac_try_echo=$ac_try;;
 
22396
esac
 
22397
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22398
  (eval "$ac_link") 2>conftest.er1
20295
22399
  ac_status=$?
20296
22400
  grep -v '^ *+' conftest.er1 >conftest.err
20297
22401
  rm -f conftest.er1
20298
22402
  cat conftest.err >&5
20299
22403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300
22404
  (exit $ac_status); } &&
20301
 
         { ac_try='test -z "$ac_c_werror_flag"
20302
 
                         || test ! -s conftest.err'
20303
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304
 
  (eval $ac_try) 2>&5
 
22405
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22406
  { (case "(($ac_try" in
 
22407
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22408
  *) ac_try_echo=$ac_try;;
 
22409
esac
 
22410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22411
  (eval "$ac_try") 2>&5
20305
22412
  ac_status=$?
20306
22413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307
22414
  (exit $ac_status); }; } &&
20308
22415
         { ac_try='test -s conftest$ac_exeext'
20309
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20310
 
  (eval $ac_try) 2>&5
 
22416
  { (case "(($ac_try" in
 
22417
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22418
  *) ac_try_echo=$ac_try;;
 
22419
esac
 
22420
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22421
  (eval "$ac_try") 2>&5
20311
22422
  ac_status=$?
20312
22423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313
22424
  (exit $ac_status); }; }; then
20316
22427
  echo "$as_me: failed program was:" >&5
20317
22428
sed 's/^/| /' conftest.$ac_ext >&5
20318
22429
 
20319
 
ac_cv_lib_dl_dlopen=no
 
22430
        ac_cv_lib_dl_dlopen=no
20320
22431
fi
20321
 
rm -f conftest.err conftest.$ac_objext \
 
22432
 
 
22433
rm -f core conftest.err conftest.$ac_objext \
20322
22434
      conftest$ac_exeext conftest.$ac_ext
20323
22435
LIBS=$ac_check_lib_save_LIBS
20324
22436
fi
20325
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20326
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
22437
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
22438
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
20327
22439
if test $ac_cv_lib_dl_dlopen = yes; then
20328
22440
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20329
22441
else
20330
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20331
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
22442
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
22443
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
20332
22444
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20333
22445
  echo $ECHO_N "(cached) $ECHO_C" >&6
20334
22446
else
20341
22453
cat >>conftest.$ac_ext <<_ACEOF
20342
22454
/* end confdefs.h.  */
20343
22455
 
20344
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22456
/* Override any GCC internal prototype to avoid an error.
 
22457
   Use char because int might match the return type of a GCC
 
22458
   builtin and then its argument prototype would still apply.  */
20345
22459
#ifdef __cplusplus
20346
22460
extern "C"
20347
22461
#endif
20348
 
/* We use char because int might match the return type of a gcc2
20349
 
   builtin and then its argument prototype would still apply.  */
20350
22462
char dlopen ();
20351
22463
int
20352
22464
main ()
20353
22465
{
20354
 
dlopen ();
 
22466
return dlopen ();
20355
22467
  ;
20356
22468
  return 0;
20357
22469
}
20358
22470
_ACEOF
20359
22471
rm -f conftest.$ac_objext conftest$ac_exeext
20360
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20361
 
  (eval $ac_link) 2>conftest.er1
 
22472
if { (ac_try="$ac_link"
 
22473
case "(($ac_try" in
 
22474
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22475
  *) ac_try_echo=$ac_try;;
 
22476
esac
 
22477
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22478
  (eval "$ac_link") 2>conftest.er1
20362
22479
  ac_status=$?
20363
22480
  grep -v '^ *+' conftest.er1 >conftest.err
20364
22481
  rm -f conftest.er1
20365
22482
  cat conftest.err >&5
20366
22483
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367
22484
  (exit $ac_status); } &&
20368
 
         { ac_try='test -z "$ac_c_werror_flag"
20369
 
                         || test ! -s conftest.err'
20370
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20371
 
  (eval $ac_try) 2>&5
 
22485
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22486
  { (case "(($ac_try" in
 
22487
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22488
  *) ac_try_echo=$ac_try;;
 
22489
esac
 
22490
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22491
  (eval "$ac_try") 2>&5
20372
22492
  ac_status=$?
20373
22493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374
22494
  (exit $ac_status); }; } &&
20375
22495
         { ac_try='test -s conftest$ac_exeext'
20376
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377
 
  (eval $ac_try) 2>&5
 
22496
  { (case "(($ac_try" in
 
22497
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22498
  *) ac_try_echo=$ac_try;;
 
22499
esac
 
22500
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22501
  (eval "$ac_try") 2>&5
20378
22502
  ac_status=$?
20379
22503
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380
22504
  (exit $ac_status); }; }; then
20383
22507
  echo "$as_me: failed program was:" >&5
20384
22508
sed 's/^/| /' conftest.$ac_ext >&5
20385
22509
 
20386
 
ac_cv_lib_svld_dlopen=no
 
22510
        ac_cv_lib_svld_dlopen=no
20387
22511
fi
20388
 
rm -f conftest.err conftest.$ac_objext \
 
22512
 
 
22513
rm -f core conftest.err conftest.$ac_objext \
20389
22514
      conftest$ac_exeext conftest.$ac_ext
20390
22515
LIBS=$ac_check_lib_save_LIBS
20391
22516
fi
20392
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20393
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
22517
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
22518
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
20394
22519
if test $ac_cv_lib_svld_dlopen = yes; then
20395
22520
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
20396
22521
else
20397
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20398
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
22522
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
22523
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
20399
22524
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20400
22525
  echo $ECHO_N "(cached) $ECHO_C" >&6
20401
22526
else
20408
22533
cat >>conftest.$ac_ext <<_ACEOF
20409
22534
/* end confdefs.h.  */
20410
22535
 
20411
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22536
/* Override any GCC internal prototype to avoid an error.
 
22537
   Use char because int might match the return type of a GCC
 
22538
   builtin and then its argument prototype would still apply.  */
20412
22539
#ifdef __cplusplus
20413
22540
extern "C"
20414
22541
#endif
20415
 
/* We use char because int might match the return type of a gcc2
20416
 
   builtin and then its argument prototype would still apply.  */
20417
22542
char dld_link ();
20418
22543
int
20419
22544
main ()
20420
22545
{
20421
 
dld_link ();
 
22546
return dld_link ();
20422
22547
  ;
20423
22548
  return 0;
20424
22549
}
20425
22550
_ACEOF
20426
22551
rm -f conftest.$ac_objext conftest$ac_exeext
20427
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20428
 
  (eval $ac_link) 2>conftest.er1
 
22552
if { (ac_try="$ac_link"
 
22553
case "(($ac_try" in
 
22554
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22555
  *) ac_try_echo=$ac_try;;
 
22556
esac
 
22557
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22558
  (eval "$ac_link") 2>conftest.er1
20429
22559
  ac_status=$?
20430
22560
  grep -v '^ *+' conftest.er1 >conftest.err
20431
22561
  rm -f conftest.er1
20432
22562
  cat conftest.err >&5
20433
22563
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434
22564
  (exit $ac_status); } &&
20435
 
         { ac_try='test -z "$ac_c_werror_flag"
20436
 
                         || test ! -s conftest.err'
20437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438
 
  (eval $ac_try) 2>&5
 
22565
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22566
  { (case "(($ac_try" in
 
22567
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22568
  *) ac_try_echo=$ac_try;;
 
22569
esac
 
22570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22571
  (eval "$ac_try") 2>&5
20439
22572
  ac_status=$?
20440
22573
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441
22574
  (exit $ac_status); }; } &&
20442
22575
         { ac_try='test -s conftest$ac_exeext'
20443
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444
 
  (eval $ac_try) 2>&5
 
22576
  { (case "(($ac_try" in
 
22577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22578
  *) ac_try_echo=$ac_try;;
 
22579
esac
 
22580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22581
  (eval "$ac_try") 2>&5
20445
22582
  ac_status=$?
20446
22583
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447
22584
  (exit $ac_status); }; }; then
20450
22587
  echo "$as_me: failed program was:" >&5
20451
22588
sed 's/^/| /' conftest.$ac_ext >&5
20452
22589
 
20453
 
ac_cv_lib_dld_dld_link=no
 
22590
        ac_cv_lib_dld_dld_link=no
20454
22591
fi
20455
 
rm -f conftest.err conftest.$ac_objext \
 
22592
 
 
22593
rm -f core conftest.err conftest.$ac_objext \
20456
22594
      conftest$ac_exeext conftest.$ac_ext
20457
22595
LIBS=$ac_check_lib_save_LIBS
20458
22596
fi
20459
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20460
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
22597
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
22598
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
20461
22599
if test $ac_cv_lib_dld_dld_link = yes; then
20462
22600
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
20463
22601
fi
20497
22635
    save_LIBS="$LIBS"
20498
22636
    LIBS="$lt_cv_dlopen_libs $LIBS"
20499
22637
 
20500
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
20501
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
22638
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
22639
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
20502
22640
if test "${lt_cv_dlopen_self+set}" = set; then
20503
22641
  echo $ECHO_N "(cached) $ECHO_C" >&6
20504
22642
else
20508
22646
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20509
22647
  lt_status=$lt_dlunknown
20510
22648
  cat > conftest.$ac_ext <<EOF
20511
 
#line 20511 "configure"
 
22649
#line 22649 "configure"
20512
22650
#include "confdefs.h"
20513
22651
 
20514
22652
#if HAVE_DLFCN_H
20590
22728
 
20591
22729
 
20592
22730
fi
20593
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
20594
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
22731
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
22732
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
20595
22733
 
20596
22734
    if test "x$lt_cv_dlopen_self" = xyes; then
20597
22735
      LDFLAGS="$LDFLAGS $link_static_flag"
20598
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
20599
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
22736
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
22737
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
20600
22738
if test "${lt_cv_dlopen_self_static+set}" = set; then
20601
22739
  echo $ECHO_N "(cached) $ECHO_C" >&6
20602
22740
else
20606
22744
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20607
22745
  lt_status=$lt_dlunknown
20608
22746
  cat > conftest.$ac_ext <<EOF
20609
 
#line 20609 "configure"
 
22747
#line 22747 "configure"
20610
22748
#include "confdefs.h"
20611
22749
 
20612
22750
#if HAVE_DLFCN_H
20688
22826
 
20689
22827
 
20690
22828
fi
20691
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
20692
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
22829
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
22830
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
20693
22831
    fi
20694
22832
 
20695
22833
    CPPFLAGS="$save_CPPFLAGS"
21121
23259
      RC)
21122
23260
 
21123
23261
 
21124
 
 
21125
23262
# Source file extension for RC test sources.
21126
23263
ac_ext=rc
21127
23264
 
21644
23781
 
21645
23782
    # Extract the first word of "msgfmt", so it can be a program name with args.
21646
23783
set dummy msgfmt; ac_word=$2
21647
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21648
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
23784
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23785
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21649
23786
if test "${ac_cv_path_MSGFMT+set}" = set; then
21650
23787
  echo $ECHO_N "(cached) $ECHO_C" >&6
21651
23788
else
21671
23808
fi
21672
23809
MSGFMT="$ac_cv_path_MSGFMT"
21673
23810
if test -n "$MSGFMT"; then
21674
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
21675
 
echo "${ECHO_T}$MSGFMT" >&6
 
23811
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
23812
echo "${ECHO_T}$MSGFMT" >&6; }
21676
23813
else
21677
 
  echo "$as_me:$LINENO: result: no" >&5
21678
 
echo "${ECHO_T}no" >&6
 
23814
  { echo "$as_me:$LINENO: result: no" >&5
 
23815
echo "${ECHO_T}no" >&6; }
21679
23816
fi
21680
23817
 
21681
23818
    # Extract the first word of "gmsgfmt", so it can be a program name with args.
21682
23819
set dummy gmsgfmt; ac_word=$2
21683
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21684
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
23820
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23821
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21685
23822
if test "${ac_cv_path_GMSGFMT+set}" = set; then
21686
23823
  echo $ECHO_N "(cached) $ECHO_C" >&6
21687
23824
else
21696
23833
  IFS=$as_save_IFS
21697
23834
  test -z "$as_dir" && as_dir=.
21698
23835
  for ac_exec_ext in '' $ac_executable_extensions; do
21699
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
23836
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21700
23837
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
21701
23838
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21702
23839
    break 2
21703
23840
  fi
21704
23841
done
21705
23842
done
 
23843
IFS=$as_save_IFS
21706
23844
 
21707
23845
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
21708
23846
  ;;
21709
23847
esac
21710
23848
fi
21711
23849
GMSGFMT=$ac_cv_path_GMSGFMT
21712
 
 
21713
23850
if test -n "$GMSGFMT"; then
21714
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
21715
 
echo "${ECHO_T}$GMSGFMT" >&6
 
23851
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
23852
echo "${ECHO_T}$GMSGFMT" >&6; }
21716
23853
else
21717
 
  echo "$as_me:$LINENO: result: no" >&5
21718
 
echo "${ECHO_T}no" >&6
 
23854
  { echo "$as_me:$LINENO: result: no" >&5
 
23855
echo "${ECHO_T}no" >&6; }
21719
23856
fi
21720
23857
 
21721
23858
 
 
23859
 
21722
23860
     if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
21723
 
        echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
21724
 
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
 
23861
        { echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
 
23862
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
21725
23863
        GMSGFMT=":"
21726
23864
      fi
21727
23865
      MSGFMT=$GMSGFMT
21730
23868
 
21731
23869
      # Extract the first word of "xgettext", so it can be a program name with args.
21732
23870
set dummy xgettext; ac_word=$2
21733
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21734
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
23871
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23872
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21735
23873
if test "${ac_cv_path_XGETTEXT+set}" = set; then
21736
23874
  echo $ECHO_N "(cached) $ECHO_C" >&6
21737
23875
else
21757
23895
fi
21758
23896
XGETTEXT="$ac_cv_path_XGETTEXT"
21759
23897
if test -n "$XGETTEXT"; then
21760
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
21761
 
echo "${ECHO_T}$XGETTEXT" >&6
 
23898
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
23899
echo "${ECHO_T}$XGETTEXT" >&6; }
21762
23900
else
21763
 
  echo "$as_me:$LINENO: result: no" >&5
21764
 
echo "${ECHO_T}no" >&6
 
23901
  { echo "$as_me:$LINENO: result: no" >&5
 
23902
echo "${ECHO_T}no" >&6; }
21765
23903
fi
21766
23904
 
21767
23905
 
21769
23907
                        if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
21770
23908
          : ;
21771
23909
        else
21772
 
          echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
21773
 
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
 
23910
          { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
 
23911
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
21774
23912
          XGETTEXT=":"
21775
23913
        fi
21776
23914
      fi
21807
23945
    if test $kde_qtsubver -gt 0; then
21808
23946
         if test $kde_qtsubver -gt 1; then
21809
23947
            if test $kde_qtsubver -gt 2; then
21810
 
                kde_qt_minversion=">= Qt 3.3"
 
23948
                kde_qt_minversion=">= Qt 3.3 and < 4.0"
21811
23949
            else
21812
 
                kde_qt_minversion=">= Qt 3.2"
 
23950
                kde_qt_minversion=">= Qt 3.2 and < 4.0"
21813
23951
            fi
21814
23952
         else
21815
 
            kde_qt_minversion=">= Qt 3.1 (20021021)"
 
23953
            kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
21816
23954
         fi
21817
23955
    else
21818
 
      kde_qt_minversion=">= Qt 3.0"
 
23956
      kde_qt_minversion=">= Qt 3.0 and < 4.0"
21819
23957
    fi
21820
23958
  fi
21821
23959
  if test "$kde_qtver" = "1"; then
21849
23987
   kde_qt_verstring=""
21850
23988
fi
21851
23989
 
 
23990
if test $kde_qtver = 4; then
 
23991
  kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
 
23992
fi
21852
23993
if test $kde_qtver = 3; then
21853
23994
  kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
21854
23995
fi
21861
24002
 
21862
24003
 
21863
24004
 
21864
 
 
21865
 
     ac_ext=cc
 
24005
     ac_ext=cpp
21866
24006
ac_cpp='$CXXCPP $CPPFLAGS'
21867
24007
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21868
24008
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21874
24014
    ac_save_CXXFLAGS="$CXXFLAGS"
21875
24015
    CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
21876
24016
 
21877
 
    echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
21878
 
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6
 
24017
    { echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
 
24018
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6; }
21879
24019
    if test "${kde_cv_stl_works+set}" = set; then
21880
24020
  echo $ECHO_N "(cached) $ECHO_C" >&6
21881
24021
else
21903
24043
}
21904
24044
_ACEOF
21905
24045
rm -f conftest.$ac_objext
21906
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21907
 
  (eval $ac_compile) 2>conftest.er1
 
24046
if { (ac_try="$ac_compile"
 
24047
case "(($ac_try" in
 
24048
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24049
  *) ac_try_echo=$ac_try;;
 
24050
esac
 
24051
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24052
  (eval "$ac_compile") 2>conftest.er1
21908
24053
  ac_status=$?
21909
24054
  grep -v '^ *+' conftest.er1 >conftest.err
21910
24055
  rm -f conftest.er1
21911
24056
  cat conftest.err >&5
21912
24057
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913
24058
  (exit $ac_status); } &&
21914
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21915
 
                         || test ! -s conftest.err'
21916
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21917
 
  (eval $ac_try) 2>&5
 
24059
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
24060
  { (case "(($ac_try" in
 
24061
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24062
  *) ac_try_echo=$ac_try;;
 
24063
esac
 
24064
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24065
  (eval "$ac_try") 2>&5
21918
24066
  ac_status=$?
21919
24067
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920
24068
  (exit $ac_status); }; } &&
21921
24069
         { ac_try='test -s conftest.$ac_objext'
21922
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21923
 
  (eval $ac_try) 2>&5
 
24070
  { (case "(($ac_try" in
 
24071
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24072
  *) ac_try_echo=$ac_try;;
 
24073
esac
 
24074
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24075
  (eval "$ac_try") 2>&5
21924
24076
  ac_status=$?
21925
24077
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926
24078
  (exit $ac_status); }; }; then
21929
24081
  echo "$as_me: failed program was:" >&5
21930
24082
sed 's/^/| /' conftest.$ac_ext >&5
21931
24083
 
21932
 
kde_cv_stl_works=no
21933
 
fi
21934
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21935
 
 
21936
 
fi
21937
 
 
21938
 
 
21939
 
   echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
21940
 
echo "${ECHO_T}$kde_cv_stl_works" >&6
 
24084
        kde_cv_stl_works=no
 
24085
fi
 
24086
 
 
24087
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24088
 
 
24089
fi
 
24090
 
 
24091
 
 
24092
   { echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
 
24093
echo "${ECHO_T}$kde_cv_stl_works" >&6; }
21941
24094
 
21942
24095
   if test "$kde_cv_stl_works" = "yes"; then
21943
24096
     # back compatible
21966
24119
 
21967
24120
 
21968
24121
 
21969
 
echo "$as_me:$LINENO: checking for strlcat" >&5
21970
 
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
 
24122
{ echo "$as_me:$LINENO: checking for strlcat" >&5
 
24123
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; }
21971
24124
if test "${kde_cv_func_strlcat+set}" = set; then
21972
24125
  echo $ECHO_N "(cached) $ECHO_C" >&6
21973
24126
else
21974
24127
 
21975
24128
 
21976
 
 
21977
 
 ac_ext=cc
 
24129
 ac_ext=cpp
21978
24130
ac_cpp='$CXXCPP $CPPFLAGS'
21979
24131
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21980
24132
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22014
24166
}
22015
24167
_ACEOF
22016
24168
rm -f conftest.$ac_objext
22017
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22018
 
  (eval $ac_compile) 2>conftest.er1
 
24169
if { (ac_try="$ac_compile"
 
24170
case "(($ac_try" in
 
24171
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24172
  *) ac_try_echo=$ac_try;;
 
24173
esac
 
24174
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24175
  (eval "$ac_compile") 2>conftest.er1
22019
24176
  ac_status=$?
22020
24177
  grep -v '^ *+' conftest.er1 >conftest.err
22021
24178
  rm -f conftest.er1
22022
24179
  cat conftest.err >&5
22023
24180
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024
24181
  (exit $ac_status); } &&
22025
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22026
 
                         || test ! -s conftest.err'
22027
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22028
 
  (eval $ac_try) 2>&5
 
24182
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
24183
  { (case "(($ac_try" in
 
24184
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24185
  *) ac_try_echo=$ac_try;;
 
24186
esac
 
24187
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24188
  (eval "$ac_try") 2>&5
22029
24189
  ac_status=$?
22030
24190
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031
24191
  (exit $ac_status); }; } &&
22032
24192
         { ac_try='test -s conftest.$ac_objext'
22033
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22034
 
  (eval $ac_try) 2>&5
 
24193
  { (case "(($ac_try" in
 
24194
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24195
  *) ac_try_echo=$ac_try;;
 
24196
esac
 
24197
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24198
  (eval "$ac_try") 2>&5
22035
24199
  ac_status=$?
22036
24200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037
24201
  (exit $ac_status); }; }; then
22040
24204
  echo "$as_me: failed program was:" >&5
22041
24205
sed 's/^/| /' conftest.$ac_ext >&5
22042
24206
 
22043
 
kde_cv_func_strlcat=no
 
24207
        kde_cv_func_strlcat=no
22044
24208
fi
22045
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24209
 
 
24210
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22046
24211
CXXFLAGS="$save_CXXFLAGS"
22047
24212
LIBS="$kde_safe_LIBS"
22048
24213
ac_ext=c
22055
24220
fi
22056
24221
 
22057
24222
 
22058
 
echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
22059
 
echo "${ECHO_T}$kde_cv_func_strlcat" >&6
 
24223
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
 
24224
echo "${ECHO_T}$kde_cv_func_strlcat" >&6; }
22060
24225
 
22061
 
echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
22062
 
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6
 
24226
{ echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
 
24227
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6; }
22063
24228
if test "${kde_cv_proto_strlcat+set}" = set; then
22064
24229
  echo $ECHO_N "(cached) $ECHO_C" >&6
22065
24230
else
22080
24245
if test "x$kde_cv_proto_strlcat" = xunknown; then
22081
24246
 
22082
24247
 
22083
 
 
22084
 
 ac_ext=cc
 
24248
 ac_ext=cpp
22085
24249
ac_cpp='$CXXCPP $CPPFLAGS'
22086
24250
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22087
24251
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22119
24283
}
22120
24284
_ACEOF
22121
24285
rm -f conftest.$ac_objext conftest$ac_exeext
22122
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22123
 
  (eval $ac_link) 2>conftest.er1
 
24286
if { (ac_try="$ac_link"
 
24287
case "(($ac_try" in
 
24288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24289
  *) ac_try_echo=$ac_try;;
 
24290
esac
 
24291
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24292
  (eval "$ac_link") 2>conftest.er1
22124
24293
  ac_status=$?
22125
24294
  grep -v '^ *+' conftest.er1 >conftest.err
22126
24295
  rm -f conftest.er1
22127
24296
  cat conftest.err >&5
22128
24297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129
24298
  (exit $ac_status); } &&
22130
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22131
 
                         || test ! -s conftest.err'
22132
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133
 
  (eval $ac_try) 2>&5
 
24299
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
24300
  { (case "(($ac_try" in
 
24301
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24302
  *) ac_try_echo=$ac_try;;
 
24303
esac
 
24304
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24305
  (eval "$ac_try") 2>&5
22134
24306
  ac_status=$?
22135
24307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136
24308
  (exit $ac_status); }; } &&
22137
24309
         { ac_try='test -s conftest$ac_exeext'
22138
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22139
 
  (eval $ac_try) 2>&5
 
24310
  { (case "(($ac_try" in
 
24311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24312
  *) ac_try_echo=$ac_try;;
 
24313
esac
 
24314
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24315
  (eval "$ac_try") 2>&5
22140
24316
  ac_status=$?
22141
24317
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142
24318
  (exit $ac_status); }; }; then
22146
24322
  echo "$as_me: failed program was:" >&5
22147
24323
sed 's/^/| /' conftest.$ac_ext >&5
22148
24324
 
22149
 
kde_cv_proto_strlcat="strlcat unavailable"
 
24325
        kde_cv_proto_strlcat="strlcat unavailable"
22150
24326
 
22151
24327
fi
22152
 
rm -f conftest.err conftest.$ac_objext \
 
24328
 
 
24329
rm -f core conftest.err conftest.$ac_objext \
22153
24330
      conftest$ac_exeext conftest.$ac_ext
22154
24331
LIBS=$kde_safe_libs
22155
24332
ac_ext=c
22162
24339
 
22163
24340
fi
22164
24341
 
22165
 
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
22166
 
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6
 
24342
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
 
24343
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6; }
22167
24344
 
22168
24345
if test "x$kde_cv_func_strlcat" = xyes; then
22169
24346
 
22187
24364
 
22188
24365
 
22189
24366
 
22190
 
echo "$as_me:$LINENO: checking for strlcpy" >&5
22191
 
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
 
24367
{ echo "$as_me:$LINENO: checking for strlcpy" >&5
 
24368
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; }
22192
24369
if test "${kde_cv_func_strlcpy+set}" = set; then
22193
24370
  echo $ECHO_N "(cached) $ECHO_C" >&6
22194
24371
else
22195
24372
 
22196
24373
 
22197
 
 
22198
 
 ac_ext=cc
 
24374
 ac_ext=cpp
22199
24375
ac_cpp='$CXXCPP $CPPFLAGS'
22200
24376
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22201
24377
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22234
24410
}
22235
24411
_ACEOF
22236
24412
rm -f conftest.$ac_objext
22237
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22238
 
  (eval $ac_compile) 2>conftest.er1
 
24413
if { (ac_try="$ac_compile"
 
24414
case "(($ac_try" in
 
24415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24416
  *) ac_try_echo=$ac_try;;
 
24417
esac
 
24418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24419
  (eval "$ac_compile") 2>conftest.er1
22239
24420
  ac_status=$?
22240
24421
  grep -v '^ *+' conftest.er1 >conftest.err
22241
24422
  rm -f conftest.er1
22242
24423
  cat conftest.err >&5
22243
24424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244
24425
  (exit $ac_status); } &&
22245
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22246
 
                         || test ! -s conftest.err'
22247
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22248
 
  (eval $ac_try) 2>&5
 
24426
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
24427
  { (case "(($ac_try" in
 
24428
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24429
  *) ac_try_echo=$ac_try;;
 
24430
esac
 
24431
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24432
  (eval "$ac_try") 2>&5
22249
24433
  ac_status=$?
22250
24434
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251
24435
  (exit $ac_status); }; } &&
22252
24436
         { ac_try='test -s conftest.$ac_objext'
22253
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22254
 
  (eval $ac_try) 2>&5
 
24437
  { (case "(($ac_try" in
 
24438
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24439
  *) ac_try_echo=$ac_try;;
 
24440
esac
 
24441
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24442
  (eval "$ac_try") 2>&5
22255
24443
  ac_status=$?
22256
24444
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257
24445
  (exit $ac_status); }; }; then
22260
24448
  echo "$as_me: failed program was:" >&5
22261
24449
sed 's/^/| /' conftest.$ac_ext >&5
22262
24450
 
22263
 
kde_cv_func_strlcpy=no
 
24451
        kde_cv_func_strlcpy=no
22264
24452
fi
22265
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24453
 
 
24454
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22266
24455
CXXFLAGS="$save_CXXFLAGS"
22267
24456
LIBS="$kde_safe_LIBS"
22268
24457
ac_ext=c
22275
24464
fi
22276
24465
 
22277
24466
 
22278
 
echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
22279
 
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6
 
24467
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
 
24468
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6; }
22280
24469
 
22281
 
echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
22282
 
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6
 
24470
{ echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
 
24471
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6; }
22283
24472
if test "${kde_cv_proto_strlcpy+set}" = set; then
22284
24473
  echo $ECHO_N "(cached) $ECHO_C" >&6
22285
24474
else
22300
24489
if test "x$kde_cv_proto_strlcpy" = xunknown; then
22301
24490
 
22302
24491
 
22303
 
 
22304
 
 ac_ext=cc
 
24492
 ac_ext=cpp
22305
24493
ac_cpp='$CXXCPP $CPPFLAGS'
22306
24494
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22307
24495
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338
24526
}
22339
24527
_ACEOF
22340
24528
rm -f conftest.$ac_objext conftest$ac_exeext
22341
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22342
 
  (eval $ac_link) 2>conftest.er1
 
24529
if { (ac_try="$ac_link"
 
24530
case "(($ac_try" in
 
24531
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24532
  *) ac_try_echo=$ac_try;;
 
24533
esac
 
24534
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24535
  (eval "$ac_link") 2>conftest.er1
22343
24536
  ac_status=$?
22344
24537
  grep -v '^ *+' conftest.er1 >conftest.err
22345
24538
  rm -f conftest.er1
22346
24539
  cat conftest.err >&5
22347
24540
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348
24541
  (exit $ac_status); } &&
22349
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22350
 
                         || test ! -s conftest.err'
22351
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22352
 
  (eval $ac_try) 2>&5
 
24542
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
24543
  { (case "(($ac_try" in
 
24544
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24545
  *) ac_try_echo=$ac_try;;
 
24546
esac
 
24547
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24548
  (eval "$ac_try") 2>&5
22353
24549
  ac_status=$?
22354
24550
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355
24551
  (exit $ac_status); }; } &&
22356
24552
         { ac_try='test -s conftest$ac_exeext'
22357
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22358
 
  (eval $ac_try) 2>&5
 
24553
  { (case "(($ac_try" in
 
24554
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24555
  *) ac_try_echo=$ac_try;;
 
24556
esac
 
24557
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24558
  (eval "$ac_try") 2>&5
22359
24559
  ac_status=$?
22360
24560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361
24561
  (exit $ac_status); }; }; then
22365
24565
  echo "$as_me: failed program was:" >&5
22366
24566
sed 's/^/| /' conftest.$ac_ext >&5
22367
24567
 
22368
 
kde_cv_proto_strlcpy="strlcpy unavailable"
 
24568
        kde_cv_proto_strlcpy="strlcpy unavailable"
22369
24569
 
22370
24570
fi
22371
 
rm -f conftest.err conftest.$ac_objext \
 
24571
 
 
24572
rm -f core conftest.err conftest.$ac_objext \
22372
24573
      conftest$ac_exeext conftest.$ac_ext
22373
24574
LIBS=$kde_safe_libs
22374
24575
ac_ext=c
22381
24582
 
22382
24583
fi
22383
24584
 
22384
 
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
22385
 
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6
 
24585
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
 
24586
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6; }
22386
24587
 
22387
24588
if test "x$kde_cv_func_strlcpy" = xyes; then
22388
24589
 
22405
24606
 
22406
24607
 
22407
24608
 
22408
 
      echo "$as_me:$LINENO: checking for main in -lutil" >&5
22409
 
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6
 
24609
      { echo "$as_me:$LINENO: checking for main in -lutil" >&5
 
24610
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6; }
22410
24611
if test "${ac_cv_lib_util_main+set}" = set; then
22411
24612
  echo $ECHO_N "(cached) $ECHO_C" >&6
22412
24613
else
22423
24624
int
22424
24625
main ()
22425
24626
{
22426
 
main ();
 
24627
return main ();
22427
24628
  ;
22428
24629
  return 0;
22429
24630
}
22430
24631
_ACEOF
22431
24632
rm -f conftest.$ac_objext conftest$ac_exeext
22432
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22433
 
  (eval $ac_link) 2>conftest.er1
 
24633
if { (ac_try="$ac_link"
 
24634
case "(($ac_try" in
 
24635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24636
  *) ac_try_echo=$ac_try;;
 
24637
esac
 
24638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24639
  (eval "$ac_link") 2>conftest.er1
22434
24640
  ac_status=$?
22435
24641
  grep -v '^ *+' conftest.er1 >conftest.err
22436
24642
  rm -f conftest.er1
22437
24643
  cat conftest.err >&5
22438
24644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439
24645
  (exit $ac_status); } &&
22440
 
         { ac_try='test -z "$ac_c_werror_flag"
22441
 
                         || test ! -s conftest.err'
22442
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443
 
  (eval $ac_try) 2>&5
 
24646
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24647
  { (case "(($ac_try" in
 
24648
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24649
  *) ac_try_echo=$ac_try;;
 
24650
esac
 
24651
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24652
  (eval "$ac_try") 2>&5
22444
24653
  ac_status=$?
22445
24654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446
24655
  (exit $ac_status); }; } &&
22447
24656
         { ac_try='test -s conftest$ac_exeext'
22448
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22449
 
  (eval $ac_try) 2>&5
 
24657
  { (case "(($ac_try" in
 
24658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24659
  *) ac_try_echo=$ac_try;;
 
24660
esac
 
24661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24662
  (eval "$ac_try") 2>&5
22450
24663
  ac_status=$?
22451
24664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452
24665
  (exit $ac_status); }; }; then
22455
24668
  echo "$as_me: failed program was:" >&5
22456
24669
sed 's/^/| /' conftest.$ac_ext >&5
22457
24670
 
22458
 
ac_cv_lib_util_main=no
 
24671
        ac_cv_lib_util_main=no
22459
24672
fi
22460
 
rm -f conftest.err conftest.$ac_objext \
 
24673
 
 
24674
rm -f core conftest.err conftest.$ac_objext \
22461
24675
      conftest$ac_exeext conftest.$ac_ext
22462
24676
LIBS=$ac_check_lib_save_LIBS
22463
24677
fi
22464
 
echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
22465
 
echo "${ECHO_T}$ac_cv_lib_util_main" >&6
 
24678
{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
 
24679
echo "${ECHO_T}$ac_cv_lib_util_main" >&6; }
22466
24680
if test $ac_cv_lib_util_main = yes; then
22467
24681
  LIBUTIL="-lutil"
22468
24682
fi
22469
24683
 
22470
 
   echo "$as_me:$LINENO: checking for main in -lcompat" >&5
22471
 
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6
 
24684
   { echo "$as_me:$LINENO: checking for main in -lcompat" >&5
 
24685
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
22472
24686
if test "${ac_cv_lib_compat_main+set}" = set; then
22473
24687
  echo $ECHO_N "(cached) $ECHO_C" >&6
22474
24688
else
22485
24699
int
22486
24700
main ()
22487
24701
{
22488
 
main ();
 
24702
return main ();
22489
24703
  ;
22490
24704
  return 0;
22491
24705
}
22492
24706
_ACEOF
22493
24707
rm -f conftest.$ac_objext conftest$ac_exeext
22494
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22495
 
  (eval $ac_link) 2>conftest.er1
 
24708
if { (ac_try="$ac_link"
 
24709
case "(($ac_try" in
 
24710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24711
  *) ac_try_echo=$ac_try;;
 
24712
esac
 
24713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24714
  (eval "$ac_link") 2>conftest.er1
22496
24715
  ac_status=$?
22497
24716
  grep -v '^ *+' conftest.er1 >conftest.err
22498
24717
  rm -f conftest.er1
22499
24718
  cat conftest.err >&5
22500
24719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501
24720
  (exit $ac_status); } &&
22502
 
         { ac_try='test -z "$ac_c_werror_flag"
22503
 
                         || test ! -s conftest.err'
22504
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505
 
  (eval $ac_try) 2>&5
 
24721
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24722
  { (case "(($ac_try" in
 
24723
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24724
  *) ac_try_echo=$ac_try;;
 
24725
esac
 
24726
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24727
  (eval "$ac_try") 2>&5
22506
24728
  ac_status=$?
22507
24729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508
24730
  (exit $ac_status); }; } &&
22509
24731
         { ac_try='test -s conftest$ac_exeext'
22510
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511
 
  (eval $ac_try) 2>&5
 
24732
  { (case "(($ac_try" in
 
24733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24734
  *) ac_try_echo=$ac_try;;
 
24735
esac
 
24736
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24737
  (eval "$ac_try") 2>&5
22512
24738
  ac_status=$?
22513
24739
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514
24740
  (exit $ac_status); }; }; then
22517
24743
  echo "$as_me: failed program was:" >&5
22518
24744
sed 's/^/| /' conftest.$ac_ext >&5
22519
24745
 
22520
 
ac_cv_lib_compat_main=no
 
24746
        ac_cv_lib_compat_main=no
22521
24747
fi
22522
 
rm -f conftest.err conftest.$ac_objext \
 
24748
 
 
24749
rm -f core conftest.err conftest.$ac_objext \
22523
24750
      conftest$ac_exeext conftest.$ac_ext
22524
24751
LIBS=$ac_check_lib_save_LIBS
22525
24752
fi
22526
 
echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
22527
 
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6
 
24753
{ echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
 
24754
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
22528
24755
if test $ac_cv_lib_compat_main = yes; then
22529
24756
  LIBCOMPAT="-lcompat"
22530
24757
fi
22531
24758
 
22532
24759
   kde_have_crypt=
22533
 
   echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
22534
 
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
 
24760
   { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
 
24761
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
22535
24762
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
22536
24763
  echo $ECHO_N "(cached) $ECHO_C" >&6
22537
24764
else
22544
24771
cat >>conftest.$ac_ext <<_ACEOF
22545
24772
/* end confdefs.h.  */
22546
24773
 
22547
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24774
/* Override any GCC internal prototype to avoid an error.
 
24775
   Use char because int might match the return type of a GCC
 
24776
   builtin and then its argument prototype would still apply.  */
22548
24777
#ifdef __cplusplus
22549
24778
extern "C"
22550
24779
#endif
22551
 
/* We use char because int might match the return type of a gcc2
22552
 
   builtin and then its argument prototype would still apply.  */
22553
24780
char crypt ();
22554
24781
int
22555
24782
main ()
22556
24783
{
22557
 
crypt ();
 
24784
return crypt ();
22558
24785
  ;
22559
24786
  return 0;
22560
24787
}
22561
24788
_ACEOF
22562
24789
rm -f conftest.$ac_objext conftest$ac_exeext
22563
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22564
 
  (eval $ac_link) 2>conftest.er1
 
24790
if { (ac_try="$ac_link"
 
24791
case "(($ac_try" in
 
24792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24793
  *) ac_try_echo=$ac_try;;
 
24794
esac
 
24795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24796
  (eval "$ac_link") 2>conftest.er1
22565
24797
  ac_status=$?
22566
24798
  grep -v '^ *+' conftest.er1 >conftest.err
22567
24799
  rm -f conftest.er1
22568
24800
  cat conftest.err >&5
22569
24801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570
24802
  (exit $ac_status); } &&
22571
 
         { ac_try='test -z "$ac_c_werror_flag"
22572
 
                         || test ! -s conftest.err'
22573
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574
 
  (eval $ac_try) 2>&5
 
24803
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24804
  { (case "(($ac_try" in
 
24805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24806
  *) ac_try_echo=$ac_try;;
 
24807
esac
 
24808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24809
  (eval "$ac_try") 2>&5
22575
24810
  ac_status=$?
22576
24811
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577
24812
  (exit $ac_status); }; } &&
22578
24813
         { ac_try='test -s conftest$ac_exeext'
22579
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580
 
  (eval $ac_try) 2>&5
 
24814
  { (case "(($ac_try" in
 
24815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24816
  *) ac_try_echo=$ac_try;;
 
24817
esac
 
24818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24819
  (eval "$ac_try") 2>&5
22581
24820
  ac_status=$?
22582
24821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583
24822
  (exit $ac_status); }; }; then
22586
24825
  echo "$as_me: failed program was:" >&5
22587
24826
sed 's/^/| /' conftest.$ac_ext >&5
22588
24827
 
22589
 
ac_cv_lib_crypt_crypt=no
 
24828
        ac_cv_lib_crypt_crypt=no
22590
24829
fi
22591
 
rm -f conftest.err conftest.$ac_objext \
 
24830
 
 
24831
rm -f core conftest.err conftest.$ac_objext \
22592
24832
      conftest$ac_exeext conftest.$ac_ext
22593
24833
LIBS=$ac_check_lib_save_LIBS
22594
24834
fi
22595
 
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
22596
 
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
 
24835
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
 
24836
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
22597
24837
if test $ac_cv_lib_crypt_crypt = yes; then
22598
24838
  LIBCRYPT="-lcrypt"; kde_have_crypt=yes
22599
24839
else
22600
 
  echo "$as_me:$LINENO: checking for crypt in -lc" >&5
22601
 
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
 
24840
  { echo "$as_me:$LINENO: checking for crypt in -lc" >&5
 
24841
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
22602
24842
if test "${ac_cv_lib_c_crypt+set}" = set; then
22603
24843
  echo $ECHO_N "(cached) $ECHO_C" >&6
22604
24844
else
22611
24851
cat >>conftest.$ac_ext <<_ACEOF
22612
24852
/* end confdefs.h.  */
22613
24853
 
22614
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24854
/* Override any GCC internal prototype to avoid an error.
 
24855
   Use char because int might match the return type of a GCC
 
24856
   builtin and then its argument prototype would still apply.  */
22615
24857
#ifdef __cplusplus
22616
24858
extern "C"
22617
24859
#endif
22618
 
/* We use char because int might match the return type of a gcc2
22619
 
   builtin and then its argument prototype would still apply.  */
22620
24860
char crypt ();
22621
24861
int
22622
24862
main ()
22623
24863
{
22624
 
crypt ();
 
24864
return crypt ();
22625
24865
  ;
22626
24866
  return 0;
22627
24867
}
22628
24868
_ACEOF
22629
24869
rm -f conftest.$ac_objext conftest$ac_exeext
22630
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22631
 
  (eval $ac_link) 2>conftest.er1
 
24870
if { (ac_try="$ac_link"
 
24871
case "(($ac_try" in
 
24872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24873
  *) ac_try_echo=$ac_try;;
 
24874
esac
 
24875
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24876
  (eval "$ac_link") 2>conftest.er1
22632
24877
  ac_status=$?
22633
24878
  grep -v '^ *+' conftest.er1 >conftest.err
22634
24879
  rm -f conftest.er1
22635
24880
  cat conftest.err >&5
22636
24881
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637
24882
  (exit $ac_status); } &&
22638
 
         { ac_try='test -z "$ac_c_werror_flag"
22639
 
                         || test ! -s conftest.err'
22640
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22641
 
  (eval $ac_try) 2>&5
 
24883
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24884
  { (case "(($ac_try" in
 
24885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24886
  *) ac_try_echo=$ac_try;;
 
24887
esac
 
24888
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24889
  (eval "$ac_try") 2>&5
22642
24890
  ac_status=$?
22643
24891
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644
24892
  (exit $ac_status); }; } &&
22645
24893
         { ac_try='test -s conftest$ac_exeext'
22646
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22647
 
  (eval $ac_try) 2>&5
 
24894
  { (case "(($ac_try" in
 
24895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24896
  *) ac_try_echo=$ac_try;;
 
24897
esac
 
24898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24899
  (eval "$ac_try") 2>&5
22648
24900
  ac_status=$?
22649
24901
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650
24902
  (exit $ac_status); }; }; then
22653
24905
  echo "$as_me: failed program was:" >&5
22654
24906
sed 's/^/| /' conftest.$ac_ext >&5
22655
24907
 
22656
 
ac_cv_lib_c_crypt=no
 
24908
        ac_cv_lib_c_crypt=no
22657
24909
fi
22658
 
rm -f conftest.err conftest.$ac_objext \
 
24910
 
 
24911
rm -f core conftest.err conftest.$ac_objext \
22659
24912
      conftest$ac_exeext conftest.$ac_ext
22660
24913
LIBS=$ac_check_lib_save_LIBS
22661
24914
fi
22662
 
echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
22663
 
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
 
24915
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
 
24916
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
22664
24917
if test $ac_cv_lib_c_crypt = yes; then
22665
24918
  kde_have_crypt=yes
22666
24919
else
22686
24939
 
22687
24940
   fi
22688
24941
 
22689
 
   echo "$as_me:$LINENO: checking for socklen_t" >&5
22690
 
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
 
24942
   { echo "$as_me:$LINENO: checking for socklen_t" >&5
 
24943
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
22691
24944
   if test "${kde_cv_socklen_t+set}" = set; then
22692
24945
  echo $ECHO_N "(cached) $ECHO_C" >&6
22693
24946
else
22694
24947
 
22695
 
      ac_ext=cc
 
24948
      ac_ext=cpp
22696
24949
ac_cpp='$CXXCPP $CPPFLAGS'
22697
24950
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22698
24951
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22721
24974
}
22722
24975
_ACEOF
22723
24976
rm -f conftest.$ac_objext
22724
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22725
 
  (eval $ac_compile) 2>conftest.er1
 
24977
if { (ac_try="$ac_compile"
 
24978
case "(($ac_try" in
 
24979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24980
  *) ac_try_echo=$ac_try;;
 
24981
esac
 
24982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24983
  (eval "$ac_compile") 2>conftest.er1
22726
24984
  ac_status=$?
22727
24985
  grep -v '^ *+' conftest.er1 >conftest.err
22728
24986
  rm -f conftest.er1
22729
24987
  cat conftest.err >&5
22730
24988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731
24989
  (exit $ac_status); } &&
22732
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22733
 
                         || test ! -s conftest.err'
22734
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22735
 
  (eval $ac_try) 2>&5
 
24990
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
24991
  { (case "(($ac_try" in
 
24992
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24993
  *) ac_try_echo=$ac_try;;
 
24994
esac
 
24995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24996
  (eval "$ac_try") 2>&5
22736
24997
  ac_status=$?
22737
24998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738
24999
  (exit $ac_status); }; } &&
22739
25000
         { ac_try='test -s conftest.$ac_objext'
22740
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22741
 
  (eval $ac_try) 2>&5
 
25001
  { (case "(($ac_try" in
 
25002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25003
  *) ac_try_echo=$ac_try;;
 
25004
esac
 
25005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25006
  (eval "$ac_try") 2>&5
22742
25007
  ac_status=$?
22743
25008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744
25009
  (exit $ac_status); }; }; then
22750
25015
  echo "$as_me: failed program was:" >&5
22751
25016
sed 's/^/| /' conftest.$ac_ext >&5
22752
25017
 
 
25018
 
22753
25019
fi
22754
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25020
 
 
25021
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22755
25022
      ac_ext=c
22756
25023
ac_cpp='$CPP $CPPFLAGS'
22757
25024
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22761
25028
 
22762
25029
fi
22763
25030
 
22764
 
   echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
22765
 
echo "${ECHO_T}$kde_cv_socklen_t" >&6
 
25031
   { echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
 
25032
echo "${ECHO_T}$kde_cv_socklen_t" >&6; }
22766
25033
   if test $kde_cv_socklen_t = no; then
22767
 
      echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
22768
 
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6
 
25034
      { echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
 
25035
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6; }
22769
25036
      if test "${kde_cv_socklen_t_equiv+set}" = set; then
22770
25037
  echo $ECHO_N "(cached) $ECHO_C" >&6
22771
25038
else
22772
25039
 
22773
25040
         kde_cv_socklen_t_equiv=int
22774
 
         ac_ext=cc
 
25041
         ac_ext=cpp
22775
25042
ac_cpp='$CXXCPP $CPPFLAGS'
22776
25043
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777
25044
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800
25067
}
22801
25068
_ACEOF
22802
25069
rm -f conftest.$ac_objext
22803
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22804
 
  (eval $ac_compile) 2>conftest.er1
 
25070
if { (ac_try="$ac_compile"
 
25071
case "(($ac_try" in
 
25072
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25073
  *) ac_try_echo=$ac_try;;
 
25074
esac
 
25075
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25076
  (eval "$ac_compile") 2>conftest.er1
22805
25077
  ac_status=$?
22806
25078
  grep -v '^ *+' conftest.er1 >conftest.err
22807
25079
  rm -f conftest.er1
22808
25080
  cat conftest.err >&5
22809
25081
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810
25082
  (exit $ac_status); } &&
22811
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22812
 
                         || test ! -s conftest.err'
22813
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22814
 
  (eval $ac_try) 2>&5
 
25083
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
25084
  { (case "(($ac_try" in
 
25085
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25086
  *) ac_try_echo=$ac_try;;
 
25087
esac
 
25088
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25089
  (eval "$ac_try") 2>&5
22815
25090
  ac_status=$?
22816
25091
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22817
25092
  (exit $ac_status); }; } &&
22818
25093
         { ac_try='test -s conftest.$ac_objext'
22819
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22820
 
  (eval $ac_try) 2>&5
 
25094
  { (case "(($ac_try" in
 
25095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25096
  *) ac_try_echo=$ac_try;;
 
25097
esac
 
25098
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25099
  (eval "$ac_try") 2>&5
22821
25100
  ac_status=$?
22822
25101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823
25102
  (exit $ac_status); }; }; then
22829
25108
  echo "$as_me: failed program was:" >&5
22830
25109
sed 's/^/| /' conftest.$ac_ext >&5
22831
25110
 
 
25111
 
22832
25112
fi
22833
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25113
 
 
25114
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22834
25115
         done
22835
25116
         ac_ext=c
22836
25117
ac_cpp='$CPP $CPPFLAGS'
22841
25122
 
22842
25123
fi
22843
25124
 
22844
 
      echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
22845
 
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6
 
25125
      { echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
 
25126
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6; }
22846
25127
   fi
22847
25128
 
22848
25129
cat >>confdefs.h <<_ACEOF
22855
25136
_ACEOF
22856
25137
 
22857
25138
 
22858
 
   echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22859
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
 
25139
   { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
25140
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
22860
25141
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22861
25142
  echo $ECHO_N "(cached) $ECHO_C" >&6
22862
25143
else
22869
25150
cat >>conftest.$ac_ext <<_ACEOF
22870
25151
/* end confdefs.h.  */
22871
25152
 
22872
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25153
/* Override any GCC internal prototype to avoid an error.
 
25154
   Use char because int might match the return type of a GCC
 
25155
   builtin and then its argument prototype would still apply.  */
22873
25156
#ifdef __cplusplus
22874
25157
extern "C"
22875
25158
#endif
22876
 
/* We use char because int might match the return type of a gcc2
22877
 
   builtin and then its argument prototype would still apply.  */
22878
25159
char dnet_ntoa ();
22879
25160
int
22880
25161
main ()
22881
25162
{
22882
 
dnet_ntoa ();
 
25163
return dnet_ntoa ();
22883
25164
  ;
22884
25165
  return 0;
22885
25166
}
22886
25167
_ACEOF
22887
25168
rm -f conftest.$ac_objext conftest$ac_exeext
22888
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22889
 
  (eval $ac_link) 2>conftest.er1
 
25169
if { (ac_try="$ac_link"
 
25170
case "(($ac_try" in
 
25171
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25172
  *) ac_try_echo=$ac_try;;
 
25173
esac
 
25174
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25175
  (eval "$ac_link") 2>conftest.er1
22890
25176
  ac_status=$?
22891
25177
  grep -v '^ *+' conftest.er1 >conftest.err
22892
25178
  rm -f conftest.er1
22893
25179
  cat conftest.err >&5
22894
25180
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895
25181
  (exit $ac_status); } &&
22896
 
         { ac_try='test -z "$ac_c_werror_flag"
22897
 
                         || test ! -s conftest.err'
22898
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899
 
  (eval $ac_try) 2>&5
 
25182
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25183
  { (case "(($ac_try" in
 
25184
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25185
  *) ac_try_echo=$ac_try;;
 
25186
esac
 
25187
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25188
  (eval "$ac_try") 2>&5
22900
25189
  ac_status=$?
22901
25190
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902
25191
  (exit $ac_status); }; } &&
22903
25192
         { ac_try='test -s conftest$ac_exeext'
22904
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22905
 
  (eval $ac_try) 2>&5
 
25193
  { (case "(($ac_try" in
 
25194
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25195
  *) ac_try_echo=$ac_try;;
 
25196
esac
 
25197
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25198
  (eval "$ac_try") 2>&5
22906
25199
  ac_status=$?
22907
25200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908
25201
  (exit $ac_status); }; }; then
22911
25204
  echo "$as_me: failed program was:" >&5
22912
25205
sed 's/^/| /' conftest.$ac_ext >&5
22913
25206
 
22914
 
ac_cv_lib_dnet_dnet_ntoa=no
 
25207
        ac_cv_lib_dnet_dnet_ntoa=no
22915
25208
fi
22916
 
rm -f conftest.err conftest.$ac_objext \
 
25209
 
 
25210
rm -f core conftest.err conftest.$ac_objext \
22917
25211
      conftest$ac_exeext conftest.$ac_ext
22918
25212
LIBS=$ac_check_lib_save_LIBS
22919
25213
fi
22920
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22921
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
 
25214
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
25215
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22922
25216
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22923
25217
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22924
25218
fi
22925
25219
 
22926
25220
   if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22927
 
      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22928
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
 
25221
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
25222
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
22929
25223
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22930
25224
  echo $ECHO_N "(cached) $ECHO_C" >&6
22931
25225
else
22938
25232
cat >>conftest.$ac_ext <<_ACEOF
22939
25233
/* end confdefs.h.  */
22940
25234
 
22941
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25235
/* Override any GCC internal prototype to avoid an error.
 
25236
   Use char because int might match the return type of a GCC
 
25237
   builtin and then its argument prototype would still apply.  */
22942
25238
#ifdef __cplusplus
22943
25239
extern "C"
22944
25240
#endif
22945
 
/* We use char because int might match the return type of a gcc2
22946
 
   builtin and then its argument prototype would still apply.  */
22947
25241
char dnet_ntoa ();
22948
25242
int
22949
25243
main ()
22950
25244
{
22951
 
dnet_ntoa ();
 
25245
return dnet_ntoa ();
22952
25246
  ;
22953
25247
  return 0;
22954
25248
}
22955
25249
_ACEOF
22956
25250
rm -f conftest.$ac_objext conftest$ac_exeext
22957
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22958
 
  (eval $ac_link) 2>conftest.er1
 
25251
if { (ac_try="$ac_link"
 
25252
case "(($ac_try" in
 
25253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25254
  *) ac_try_echo=$ac_try;;
 
25255
esac
 
25256
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25257
  (eval "$ac_link") 2>conftest.er1
22959
25258
  ac_status=$?
22960
25259
  grep -v '^ *+' conftest.er1 >conftest.err
22961
25260
  rm -f conftest.er1
22962
25261
  cat conftest.err >&5
22963
25262
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964
25263
  (exit $ac_status); } &&
22965
 
         { ac_try='test -z "$ac_c_werror_flag"
22966
 
                         || test ! -s conftest.err'
22967
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22968
 
  (eval $ac_try) 2>&5
 
25264
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25265
  { (case "(($ac_try" in
 
25266
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25267
  *) ac_try_echo=$ac_try;;
 
25268
esac
 
25269
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25270
  (eval "$ac_try") 2>&5
22969
25271
  ac_status=$?
22970
25272
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971
25273
  (exit $ac_status); }; } &&
22972
25274
         { ac_try='test -s conftest$ac_exeext'
22973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22974
 
  (eval $ac_try) 2>&5
 
25275
  { (case "(($ac_try" in
 
25276
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25277
  *) ac_try_echo=$ac_try;;
 
25278
esac
 
25279
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25280
  (eval "$ac_try") 2>&5
22975
25281
  ac_status=$?
22976
25282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977
25283
  (exit $ac_status); }; }; then
22980
25286
  echo "$as_me: failed program was:" >&5
22981
25287
sed 's/^/| /' conftest.$ac_ext >&5
22982
25288
 
22983
 
ac_cv_lib_dnet_stub_dnet_ntoa=no
 
25289
        ac_cv_lib_dnet_stub_dnet_ntoa=no
22984
25290
fi
22985
 
rm -f conftest.err conftest.$ac_objext \
 
25291
 
 
25292
rm -f core conftest.err conftest.$ac_objext \
22986
25293
      conftest$ac_exeext conftest.$ac_ext
22987
25294
LIBS=$ac_check_lib_save_LIBS
22988
25295
fi
22989
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22990
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
 
25296
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
25297
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
22991
25298
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22992
25299
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22993
25300
fi
22994
25301
 
22995
25302
   fi
22996
 
   echo "$as_me:$LINENO: checking for inet_ntoa" >&5
22997
 
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6
 
25303
   { echo "$as_me:$LINENO: checking for inet_ntoa" >&5
 
25304
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6; }
22998
25305
if test "${ac_cv_func_inet_ntoa+set}" = set; then
22999
25306
  echo $ECHO_N "(cached) $ECHO_C" >&6
23000
25307
else
23021
25328
 
23022
25329
#undef inet_ntoa
23023
25330
 
23024
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25331
/* Override any GCC internal prototype to avoid an error.
 
25332
   Use char because int might match the return type of a GCC
 
25333
   builtin and then its argument prototype would still apply.  */
23025
25334
#ifdef __cplusplus
23026
25335
extern "C"
23027
 
{
23028
25336
#endif
23029
 
/* We use char because int might match the return type of a gcc2
23030
 
   builtin and then its argument prototype would still apply.  */
23031
25337
char inet_ntoa ();
23032
25338
/* The GNU C library defines this for functions which it implements
23033
25339
    to always fail with ENOSYS.  Some functions are actually named
23034
25340
    something starting with __ and the normal name is an alias.  */
23035
 
#if defined (__stub_inet_ntoa) || defined (__stub___inet_ntoa)
 
25341
#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
23036
25342
choke me
23037
 
#else
23038
 
char (*f) () = inet_ntoa;
23039
 
#endif
23040
 
#ifdef __cplusplus
23041
 
}
23042
25343
#endif
23043
25344
 
23044
25345
int
23045
25346
main ()
23046
25347
{
23047
 
return f != inet_ntoa;
 
25348
return inet_ntoa ();
23048
25349
  ;
23049
25350
  return 0;
23050
25351
}
23051
25352
_ACEOF
23052
25353
rm -f conftest.$ac_objext conftest$ac_exeext
23053
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23054
 
  (eval $ac_link) 2>conftest.er1
 
25354
if { (ac_try="$ac_link"
 
25355
case "(($ac_try" in
 
25356
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25357
  *) ac_try_echo=$ac_try;;
 
25358
esac
 
25359
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25360
  (eval "$ac_link") 2>conftest.er1
23055
25361
  ac_status=$?
23056
25362
  grep -v '^ *+' conftest.er1 >conftest.err
23057
25363
  rm -f conftest.er1
23058
25364
  cat conftest.err >&5
23059
25365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060
25366
  (exit $ac_status); } &&
23061
 
         { ac_try='test -z "$ac_c_werror_flag"
23062
 
                         || test ! -s conftest.err'
23063
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23064
 
  (eval $ac_try) 2>&5
 
25367
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25368
  { (case "(($ac_try" in
 
25369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25370
  *) ac_try_echo=$ac_try;;
 
25371
esac
 
25372
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25373
  (eval "$ac_try") 2>&5
23065
25374
  ac_status=$?
23066
25375
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067
25376
  (exit $ac_status); }; } &&
23068
25377
         { ac_try='test -s conftest$ac_exeext'
23069
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23070
 
  (eval $ac_try) 2>&5
 
25378
  { (case "(($ac_try" in
 
25379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25380
  *) ac_try_echo=$ac_try;;
 
25381
esac
 
25382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25383
  (eval "$ac_try") 2>&5
23071
25384
  ac_status=$?
23072
25385
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073
25386
  (exit $ac_status); }; }; then
23076
25389
  echo "$as_me: failed program was:" >&5
23077
25390
sed 's/^/| /' conftest.$ac_ext >&5
23078
25391
 
23079
 
ac_cv_func_inet_ntoa=no
 
25392
        ac_cv_func_inet_ntoa=no
23080
25393
fi
23081
 
rm -f conftest.err conftest.$ac_objext \
 
25394
 
 
25395
rm -f core conftest.err conftest.$ac_objext \
23082
25396
      conftest$ac_exeext conftest.$ac_ext
23083
25397
fi
23084
 
echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
23085
 
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6
 
25398
{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
 
25399
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6; }
23086
25400
 
23087
25401
   if test $ac_cv_func_inet_ntoa = no; then
23088
 
     echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
23089
 
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6
 
25402
     { echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
 
25403
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6; }
23090
25404
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
23091
25405
  echo $ECHO_N "(cached) $ECHO_C" >&6
23092
25406
else
23099
25413
cat >>conftest.$ac_ext <<_ACEOF
23100
25414
/* end confdefs.h.  */
23101
25415
 
23102
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25416
/* Override any GCC internal prototype to avoid an error.
 
25417
   Use char because int might match the return type of a GCC
 
25418
   builtin and then its argument prototype would still apply.  */
23103
25419
#ifdef __cplusplus
23104
25420
extern "C"
23105
25421
#endif
23106
 
/* We use char because int might match the return type of a gcc2
23107
 
   builtin and then its argument prototype would still apply.  */
23108
25422
char inet_ntoa ();
23109
25423
int
23110
25424
main ()
23111
25425
{
23112
 
inet_ntoa ();
 
25426
return inet_ntoa ();
23113
25427
  ;
23114
25428
  return 0;
23115
25429
}
23116
25430
_ACEOF
23117
25431
rm -f conftest.$ac_objext conftest$ac_exeext
23118
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23119
 
  (eval $ac_link) 2>conftest.er1
 
25432
if { (ac_try="$ac_link"
 
25433
case "(($ac_try" in
 
25434
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25435
  *) ac_try_echo=$ac_try;;
 
25436
esac
 
25437
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25438
  (eval "$ac_link") 2>conftest.er1
23120
25439
  ac_status=$?
23121
25440
  grep -v '^ *+' conftest.er1 >conftest.err
23122
25441
  rm -f conftest.er1
23123
25442
  cat conftest.err >&5
23124
25443
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125
25444
  (exit $ac_status); } &&
23126
 
         { ac_try='test -z "$ac_c_werror_flag"
23127
 
                         || test ! -s conftest.err'
23128
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23129
 
  (eval $ac_try) 2>&5
 
25445
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25446
  { (case "(($ac_try" in
 
25447
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25448
  *) ac_try_echo=$ac_try;;
 
25449
esac
 
25450
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25451
  (eval "$ac_try") 2>&5
23130
25452
  ac_status=$?
23131
25453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132
25454
  (exit $ac_status); }; } &&
23133
25455
         { ac_try='test -s conftest$ac_exeext'
23134
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23135
 
  (eval $ac_try) 2>&5
 
25456
  { (case "(($ac_try" in
 
25457
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25458
  *) ac_try_echo=$ac_try;;
 
25459
esac
 
25460
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25461
  (eval "$ac_try") 2>&5
23136
25462
  ac_status=$?
23137
25463
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138
25464
  (exit $ac_status); }; }; then
23141
25467
  echo "$as_me: failed program was:" >&5
23142
25468
sed 's/^/| /' conftest.$ac_ext >&5
23143
25469
 
23144
 
ac_cv_lib_nsl_inet_ntoa=no
 
25470
        ac_cv_lib_nsl_inet_ntoa=no
23145
25471
fi
23146
 
rm -f conftest.err conftest.$ac_objext \
 
25472
 
 
25473
rm -f core conftest.err conftest.$ac_objext \
23147
25474
      conftest$ac_exeext conftest.$ac_ext
23148
25475
LIBS=$ac_check_lib_save_LIBS
23149
25476
fi
23150
 
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
23151
 
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6
 
25477
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
 
25478
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6; }
23152
25479
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
23153
25480
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23154
25481
fi
23155
25482
 
23156
25483
   fi
23157
 
   echo "$as_me:$LINENO: checking for connect" >&5
23158
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6
 
25484
   { echo "$as_me:$LINENO: checking for connect" >&5
 
25485
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
23159
25486
if test "${ac_cv_func_connect+set}" = set; then
23160
25487
  echo $ECHO_N "(cached) $ECHO_C" >&6
23161
25488
else
23182
25509
 
23183
25510
#undef connect
23184
25511
 
23185
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25512
/* Override any GCC internal prototype to avoid an error.
 
25513
   Use char because int might match the return type of a GCC
 
25514
   builtin and then its argument prototype would still apply.  */
23186
25515
#ifdef __cplusplus
23187
25516
extern "C"
23188
 
{
23189
25517
#endif
23190
 
/* We use char because int might match the return type of a gcc2
23191
 
   builtin and then its argument prototype would still apply.  */
23192
25518
char connect ();
23193
25519
/* The GNU C library defines this for functions which it implements
23194
25520
    to always fail with ENOSYS.  Some functions are actually named
23195
25521
    something starting with __ and the normal name is an alias.  */
23196
 
#if defined (__stub_connect) || defined (__stub___connect)
 
25522
#if defined __stub_connect || defined __stub___connect
23197
25523
choke me
23198
 
#else
23199
 
char (*f) () = connect;
23200
 
#endif
23201
 
#ifdef __cplusplus
23202
 
}
23203
25524
#endif
23204
25525
 
23205
25526
int
23206
25527
main ()
23207
25528
{
23208
 
return f != connect;
 
25529
return connect ();
23209
25530
  ;
23210
25531
  return 0;
23211
25532
}
23212
25533
_ACEOF
23213
25534
rm -f conftest.$ac_objext conftest$ac_exeext
23214
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23215
 
  (eval $ac_link) 2>conftest.er1
 
25535
if { (ac_try="$ac_link"
 
25536
case "(($ac_try" in
 
25537
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25538
  *) ac_try_echo=$ac_try;;
 
25539
esac
 
25540
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25541
  (eval "$ac_link") 2>conftest.er1
23216
25542
  ac_status=$?
23217
25543
  grep -v '^ *+' conftest.er1 >conftest.err
23218
25544
  rm -f conftest.er1
23219
25545
  cat conftest.err >&5
23220
25546
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221
25547
  (exit $ac_status); } &&
23222
 
         { ac_try='test -z "$ac_c_werror_flag"
23223
 
                         || test ! -s conftest.err'
23224
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23225
 
  (eval $ac_try) 2>&5
 
25548
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25549
  { (case "(($ac_try" in
 
25550
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25551
  *) ac_try_echo=$ac_try;;
 
25552
esac
 
25553
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25554
  (eval "$ac_try") 2>&5
23226
25555
  ac_status=$?
23227
25556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228
25557
  (exit $ac_status); }; } &&
23229
25558
         { ac_try='test -s conftest$ac_exeext'
23230
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23231
 
  (eval $ac_try) 2>&5
 
25559
  { (case "(($ac_try" in
 
25560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25561
  *) ac_try_echo=$ac_try;;
 
25562
esac
 
25563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25564
  (eval "$ac_try") 2>&5
23232
25565
  ac_status=$?
23233
25566
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234
25567
  (exit $ac_status); }; }; then
23237
25570
  echo "$as_me: failed program was:" >&5
23238
25571
sed 's/^/| /' conftest.$ac_ext >&5
23239
25572
 
23240
 
ac_cv_func_connect=no
 
25573
        ac_cv_func_connect=no
23241
25574
fi
23242
 
rm -f conftest.err conftest.$ac_objext \
 
25575
 
 
25576
rm -f core conftest.err conftest.$ac_objext \
23243
25577
      conftest$ac_exeext conftest.$ac_ext
23244
25578
fi
23245
 
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23246
 
echo "${ECHO_T}$ac_cv_func_connect" >&6
 
25579
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
25580
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
23247
25581
 
23248
25582
   if test $ac_cv_func_connect = no; then
23249
 
      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23250
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
 
25583
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
25584
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
23251
25585
if test "${ac_cv_lib_socket_connect+set}" = set; then
23252
25586
  echo $ECHO_N "(cached) $ECHO_C" >&6
23253
25587
else
23260
25594
cat >>conftest.$ac_ext <<_ACEOF
23261
25595
/* end confdefs.h.  */
23262
25596
 
23263
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25597
/* Override any GCC internal prototype to avoid an error.
 
25598
   Use char because int might match the return type of a GCC
 
25599
   builtin and then its argument prototype would still apply.  */
23264
25600
#ifdef __cplusplus
23265
25601
extern "C"
23266
25602
#endif
23267
 
/* We use char because int might match the return type of a gcc2
23268
 
   builtin and then its argument prototype would still apply.  */
23269
25603
char connect ();
23270
25604
int
23271
25605
main ()
23272
25606
{
23273
 
connect ();
 
25607
return connect ();
23274
25608
  ;
23275
25609
  return 0;
23276
25610
}
23277
25611
_ACEOF
23278
25612
rm -f conftest.$ac_objext conftest$ac_exeext
23279
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23280
 
  (eval $ac_link) 2>conftest.er1
 
25613
if { (ac_try="$ac_link"
 
25614
case "(($ac_try" in
 
25615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25616
  *) ac_try_echo=$ac_try;;
 
25617
esac
 
25618
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25619
  (eval "$ac_link") 2>conftest.er1
23281
25620
  ac_status=$?
23282
25621
  grep -v '^ *+' conftest.er1 >conftest.err
23283
25622
  rm -f conftest.er1
23284
25623
  cat conftest.err >&5
23285
25624
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286
25625
  (exit $ac_status); } &&
23287
 
         { ac_try='test -z "$ac_c_werror_flag"
23288
 
                         || test ! -s conftest.err'
23289
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290
 
  (eval $ac_try) 2>&5
 
25626
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25627
  { (case "(($ac_try" in
 
25628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25629
  *) ac_try_echo=$ac_try;;
 
25630
esac
 
25631
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25632
  (eval "$ac_try") 2>&5
23291
25633
  ac_status=$?
23292
25634
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293
25635
  (exit $ac_status); }; } &&
23294
25636
         { ac_try='test -s conftest$ac_exeext'
23295
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296
 
  (eval $ac_try) 2>&5
 
25637
  { (case "(($ac_try" in
 
25638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25639
  *) ac_try_echo=$ac_try;;
 
25640
esac
 
25641
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25642
  (eval "$ac_try") 2>&5
23297
25643
  ac_status=$?
23298
25644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299
25645
  (exit $ac_status); }; }; then
23302
25648
  echo "$as_me: failed program was:" >&5
23303
25649
sed 's/^/| /' conftest.$ac_ext >&5
23304
25650
 
23305
 
ac_cv_lib_socket_connect=no
 
25651
        ac_cv_lib_socket_connect=no
23306
25652
fi
23307
 
rm -f conftest.err conftest.$ac_objext \
 
25653
 
 
25654
rm -f core conftest.err conftest.$ac_objext \
23308
25655
      conftest$ac_exeext conftest.$ac_ext
23309
25656
LIBS=$ac_check_lib_save_LIBS
23310
25657
fi
23311
 
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23312
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
 
25658
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
25659
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
23313
25660
if test $ac_cv_lib_socket_connect = yes; then
23314
25661
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23315
25662
fi
23316
25663
 
23317
25664
   fi
23318
25665
 
23319
 
   echo "$as_me:$LINENO: checking for remove" >&5
23320
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6
 
25666
   { echo "$as_me:$LINENO: checking for remove" >&5
 
25667
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
23321
25668
if test "${ac_cv_func_remove+set}" = set; then
23322
25669
  echo $ECHO_N "(cached) $ECHO_C" >&6
23323
25670
else
23344
25691
 
23345
25692
#undef remove
23346
25693
 
23347
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25694
/* Override any GCC internal prototype to avoid an error.
 
25695
   Use char because int might match the return type of a GCC
 
25696
   builtin and then its argument prototype would still apply.  */
23348
25697
#ifdef __cplusplus
23349
25698
extern "C"
23350
 
{
23351
25699
#endif
23352
 
/* We use char because int might match the return type of a gcc2
23353
 
   builtin and then its argument prototype would still apply.  */
23354
25700
char remove ();
23355
25701
/* The GNU C library defines this for functions which it implements
23356
25702
    to always fail with ENOSYS.  Some functions are actually named
23357
25703
    something starting with __ and the normal name is an alias.  */
23358
 
#if defined (__stub_remove) || defined (__stub___remove)
 
25704
#if defined __stub_remove || defined __stub___remove
23359
25705
choke me
23360
 
#else
23361
 
char (*f) () = remove;
23362
 
#endif
23363
 
#ifdef __cplusplus
23364
 
}
23365
25706
#endif
23366
25707
 
23367
25708
int
23368
25709
main ()
23369
25710
{
23370
 
return f != remove;
 
25711
return remove ();
23371
25712
  ;
23372
25713
  return 0;
23373
25714
}
23374
25715
_ACEOF
23375
25716
rm -f conftest.$ac_objext conftest$ac_exeext
23376
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23377
 
  (eval $ac_link) 2>conftest.er1
 
25717
if { (ac_try="$ac_link"
 
25718
case "(($ac_try" in
 
25719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25720
  *) ac_try_echo=$ac_try;;
 
25721
esac
 
25722
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25723
  (eval "$ac_link") 2>conftest.er1
23378
25724
  ac_status=$?
23379
25725
  grep -v '^ *+' conftest.er1 >conftest.err
23380
25726
  rm -f conftest.er1
23381
25727
  cat conftest.err >&5
23382
25728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383
25729
  (exit $ac_status); } &&
23384
 
         { ac_try='test -z "$ac_c_werror_flag"
23385
 
                         || test ! -s conftest.err'
23386
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23387
 
  (eval $ac_try) 2>&5
 
25730
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25731
  { (case "(($ac_try" in
 
25732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25733
  *) ac_try_echo=$ac_try;;
 
25734
esac
 
25735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25736
  (eval "$ac_try") 2>&5
23388
25737
  ac_status=$?
23389
25738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390
25739
  (exit $ac_status); }; } &&
23391
25740
         { ac_try='test -s conftest$ac_exeext'
23392
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23393
 
  (eval $ac_try) 2>&5
 
25741
  { (case "(($ac_try" in
 
25742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25743
  *) ac_try_echo=$ac_try;;
 
25744
esac
 
25745
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25746
  (eval "$ac_try") 2>&5
23394
25747
  ac_status=$?
23395
25748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396
25749
  (exit $ac_status); }; }; then
23399
25752
  echo "$as_me: failed program was:" >&5
23400
25753
sed 's/^/| /' conftest.$ac_ext >&5
23401
25754
 
23402
 
ac_cv_func_remove=no
 
25755
        ac_cv_func_remove=no
23403
25756
fi
23404
 
rm -f conftest.err conftest.$ac_objext \
 
25757
 
 
25758
rm -f core conftest.err conftest.$ac_objext \
23405
25759
      conftest$ac_exeext conftest.$ac_ext
23406
25760
fi
23407
 
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23408
 
echo "${ECHO_T}$ac_cv_func_remove" >&6
 
25761
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 
25762
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
23409
25763
 
23410
25764
   if test $ac_cv_func_remove = no; then
23411
 
      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23412
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
 
25765
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
25766
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
23413
25767
if test "${ac_cv_lib_posix_remove+set}" = set; then
23414
25768
  echo $ECHO_N "(cached) $ECHO_C" >&6
23415
25769
else
23422
25776
cat >>conftest.$ac_ext <<_ACEOF
23423
25777
/* end confdefs.h.  */
23424
25778
 
23425
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25779
/* Override any GCC internal prototype to avoid an error.
 
25780
   Use char because int might match the return type of a GCC
 
25781
   builtin and then its argument prototype would still apply.  */
23426
25782
#ifdef __cplusplus
23427
25783
extern "C"
23428
25784
#endif
23429
 
/* We use char because int might match the return type of a gcc2
23430
 
   builtin and then its argument prototype would still apply.  */
23431
25785
char remove ();
23432
25786
int
23433
25787
main ()
23434
25788
{
23435
 
remove ();
 
25789
return remove ();
23436
25790
  ;
23437
25791
  return 0;
23438
25792
}
23439
25793
_ACEOF
23440
25794
rm -f conftest.$ac_objext conftest$ac_exeext
23441
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23442
 
  (eval $ac_link) 2>conftest.er1
 
25795
if { (ac_try="$ac_link"
 
25796
case "(($ac_try" in
 
25797
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25798
  *) ac_try_echo=$ac_try;;
 
25799
esac
 
25800
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25801
  (eval "$ac_link") 2>conftest.er1
23443
25802
  ac_status=$?
23444
25803
  grep -v '^ *+' conftest.er1 >conftest.err
23445
25804
  rm -f conftest.er1
23446
25805
  cat conftest.err >&5
23447
25806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448
25807
  (exit $ac_status); } &&
23449
 
         { ac_try='test -z "$ac_c_werror_flag"
23450
 
                         || test ! -s conftest.err'
23451
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23452
 
  (eval $ac_try) 2>&5
 
25808
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25809
  { (case "(($ac_try" in
 
25810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25811
  *) ac_try_echo=$ac_try;;
 
25812
esac
 
25813
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25814
  (eval "$ac_try") 2>&5
23453
25815
  ac_status=$?
23454
25816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455
25817
  (exit $ac_status); }; } &&
23456
25818
         { ac_try='test -s conftest$ac_exeext'
23457
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23458
 
  (eval $ac_try) 2>&5
 
25819
  { (case "(($ac_try" in
 
25820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25821
  *) ac_try_echo=$ac_try;;
 
25822
esac
 
25823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25824
  (eval "$ac_try") 2>&5
23459
25825
  ac_status=$?
23460
25826
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461
25827
  (exit $ac_status); }; }; then
23464
25830
  echo "$as_me: failed program was:" >&5
23465
25831
sed 's/^/| /' conftest.$ac_ext >&5
23466
25832
 
23467
 
ac_cv_lib_posix_remove=no
 
25833
        ac_cv_lib_posix_remove=no
23468
25834
fi
23469
 
rm -f conftest.err conftest.$ac_objext \
 
25835
 
 
25836
rm -f core conftest.err conftest.$ac_objext \
23470
25837
      conftest$ac_exeext conftest.$ac_ext
23471
25838
LIBS=$ac_check_lib_save_LIBS
23472
25839
fi
23473
 
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23474
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
 
25840
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
25841
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
23475
25842
if test $ac_cv_lib_posix_remove = yes; then
23476
25843
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23477
25844
fi
23479
25846
   fi
23480
25847
 
23481
25848
   # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23482
 
   echo "$as_me:$LINENO: checking for shmat" >&5
23483
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
 
25849
   { echo "$as_me:$LINENO: checking for shmat" >&5
 
25850
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
23484
25851
if test "${ac_cv_func_shmat+set}" = set; then
23485
25852
  echo $ECHO_N "(cached) $ECHO_C" >&6
23486
25853
else
23507
25874
 
23508
25875
#undef shmat
23509
25876
 
23510
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25877
/* Override any GCC internal prototype to avoid an error.
 
25878
   Use char because int might match the return type of a GCC
 
25879
   builtin and then its argument prototype would still apply.  */
23511
25880
#ifdef __cplusplus
23512
25881
extern "C"
23513
 
{
23514
25882
#endif
23515
 
/* We use char because int might match the return type of a gcc2
23516
 
   builtin and then its argument prototype would still apply.  */
23517
25883
char shmat ();
23518
25884
/* The GNU C library defines this for functions which it implements
23519
25885
    to always fail with ENOSYS.  Some functions are actually named
23520
25886
    something starting with __ and the normal name is an alias.  */
23521
 
#if defined (__stub_shmat) || defined (__stub___shmat)
 
25887
#if defined __stub_shmat || defined __stub___shmat
23522
25888
choke me
23523
 
#else
23524
 
char (*f) () = shmat;
23525
 
#endif
23526
 
#ifdef __cplusplus
23527
 
}
23528
25889
#endif
23529
25890
 
23530
25891
int
23531
25892
main ()
23532
25893
{
23533
 
return f != shmat;
 
25894
return shmat ();
23534
25895
  ;
23535
25896
  return 0;
23536
25897
}
23537
25898
_ACEOF
23538
25899
rm -f conftest.$ac_objext conftest$ac_exeext
23539
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23540
 
  (eval $ac_link) 2>conftest.er1
 
25900
if { (ac_try="$ac_link"
 
25901
case "(($ac_try" in
 
25902
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25903
  *) ac_try_echo=$ac_try;;
 
25904
esac
 
25905
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25906
  (eval "$ac_link") 2>conftest.er1
23541
25907
  ac_status=$?
23542
25908
  grep -v '^ *+' conftest.er1 >conftest.err
23543
25909
  rm -f conftest.er1
23544
25910
  cat conftest.err >&5
23545
25911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546
25912
  (exit $ac_status); } &&
23547
 
         { ac_try='test -z "$ac_c_werror_flag"
23548
 
                         || test ! -s conftest.err'
23549
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550
 
  (eval $ac_try) 2>&5
 
25913
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25914
  { (case "(($ac_try" in
 
25915
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25916
  *) ac_try_echo=$ac_try;;
 
25917
esac
 
25918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25919
  (eval "$ac_try") 2>&5
23551
25920
  ac_status=$?
23552
25921
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553
25922
  (exit $ac_status); }; } &&
23554
25923
         { ac_try='test -s conftest$ac_exeext'
23555
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23556
 
  (eval $ac_try) 2>&5
 
25924
  { (case "(($ac_try" in
 
25925
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25926
  *) ac_try_echo=$ac_try;;
 
25927
esac
 
25928
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25929
  (eval "$ac_try") 2>&5
23557
25930
  ac_status=$?
23558
25931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559
25932
  (exit $ac_status); }; }; then
23562
25935
  echo "$as_me: failed program was:" >&5
23563
25936
sed 's/^/| /' conftest.$ac_ext >&5
23564
25937
 
23565
 
ac_cv_func_shmat=no
 
25938
        ac_cv_func_shmat=no
23566
25939
fi
23567
 
rm -f conftest.err conftest.$ac_objext \
 
25940
 
 
25941
rm -f core conftest.err conftest.$ac_objext \
23568
25942
      conftest$ac_exeext conftest.$ac_ext
23569
25943
fi
23570
 
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23571
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6
 
25944
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 
25945
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
23572
25946
if test $ac_cv_func_shmat = yes; then
23573
25947
  :
23574
25948
else
23575
 
  echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23576
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
 
25949
  { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
25950
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
23577
25951
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23578
25952
  echo $ECHO_N "(cached) $ECHO_C" >&6
23579
25953
else
23586
25960
cat >>conftest.$ac_ext <<_ACEOF
23587
25961
/* end confdefs.h.  */
23588
25962
 
23589
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25963
/* Override any GCC internal prototype to avoid an error.
 
25964
   Use char because int might match the return type of a GCC
 
25965
   builtin and then its argument prototype would still apply.  */
23590
25966
#ifdef __cplusplus
23591
25967
extern "C"
23592
25968
#endif
23593
 
/* We use char because int might match the return type of a gcc2
23594
 
   builtin and then its argument prototype would still apply.  */
23595
25969
char shmat ();
23596
25970
int
23597
25971
main ()
23598
25972
{
23599
 
shmat ();
 
25973
return shmat ();
23600
25974
  ;
23601
25975
  return 0;
23602
25976
}
23603
25977
_ACEOF
23604
25978
rm -f conftest.$ac_objext conftest$ac_exeext
23605
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23606
 
  (eval $ac_link) 2>conftest.er1
 
25979
if { (ac_try="$ac_link"
 
25980
case "(($ac_try" in
 
25981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25982
  *) ac_try_echo=$ac_try;;
 
25983
esac
 
25984
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25985
  (eval "$ac_link") 2>conftest.er1
23607
25986
  ac_status=$?
23608
25987
  grep -v '^ *+' conftest.er1 >conftest.err
23609
25988
  rm -f conftest.er1
23610
25989
  cat conftest.err >&5
23611
25990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612
25991
  (exit $ac_status); } &&
23613
 
         { ac_try='test -z "$ac_c_werror_flag"
23614
 
                         || test ! -s conftest.err'
23615
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23616
 
  (eval $ac_try) 2>&5
 
25992
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25993
  { (case "(($ac_try" in
 
25994
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25995
  *) ac_try_echo=$ac_try;;
 
25996
esac
 
25997
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25998
  (eval "$ac_try") 2>&5
23617
25999
  ac_status=$?
23618
26000
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619
26001
  (exit $ac_status); }; } &&
23620
26002
         { ac_try='test -s conftest$ac_exeext'
23621
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23622
 
  (eval $ac_try) 2>&5
 
26003
  { (case "(($ac_try" in
 
26004
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26005
  *) ac_try_echo=$ac_try;;
 
26006
esac
 
26007
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26008
  (eval "$ac_try") 2>&5
23623
26009
  ac_status=$?
23624
26010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23625
26011
  (exit $ac_status); }; }; then
23628
26014
  echo "$as_me: failed program was:" >&5
23629
26015
sed 's/^/| /' conftest.$ac_ext >&5
23630
26016
 
23631
 
ac_cv_lib_ipc_shmat=no
 
26017
        ac_cv_lib_ipc_shmat=no
23632
26018
fi
23633
 
rm -f conftest.err conftest.$ac_objext \
 
26019
 
 
26020
rm -f core conftest.err conftest.$ac_objext \
23634
26021
      conftest$ac_exeext conftest.$ac_ext
23635
26022
LIBS=$ac_check_lib_save_LIBS
23636
26023
fi
23637
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23638
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
 
26024
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
26025
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
23639
26026
if test $ac_cv_lib_ipc_shmat = yes; then
23640
26027
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23641
26028
fi
23649
26036
for ac_header in sys/types.h stdint.h
23650
26037
do
23651
26038
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23652
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23653
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
23654
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23655
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
26039
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
26040
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
26041
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
26042
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23656
26043
  echo $ECHO_N "(cached) $ECHO_C" >&6
23657
26044
fi
23658
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23659
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26045
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26046
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26047
echo "${ECHO_T}$ac_res" >&6; }
23660
26048
else
23661
26049
  # Is the header compilable?
23662
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23663
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
26050
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
26051
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23664
26052
cat >conftest.$ac_ext <<_ACEOF
23665
26053
/* confdefs.h.  */
23666
26054
_ACEOF
23671
26059
#include <$ac_header>
23672
26060
_ACEOF
23673
26061
rm -f conftest.$ac_objext
23674
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23675
 
  (eval $ac_compile) 2>conftest.er1
 
26062
if { (ac_try="$ac_compile"
 
26063
case "(($ac_try" in
 
26064
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26065
  *) ac_try_echo=$ac_try;;
 
26066
esac
 
26067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26068
  (eval "$ac_compile") 2>conftest.er1
23676
26069
  ac_status=$?
23677
26070
  grep -v '^ *+' conftest.er1 >conftest.err
23678
26071
  rm -f conftest.er1
23679
26072
  cat conftest.err >&5
23680
26073
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681
26074
  (exit $ac_status); } &&
23682
 
         { ac_try='test -z "$ac_c_werror_flag"
23683
 
                         || test ! -s conftest.err'
23684
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685
 
  (eval $ac_try) 2>&5
 
26075
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26076
  { (case "(($ac_try" in
 
26077
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26078
  *) ac_try_echo=$ac_try;;
 
26079
esac
 
26080
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26081
  (eval "$ac_try") 2>&5
23686
26082
  ac_status=$?
23687
26083
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688
26084
  (exit $ac_status); }; } &&
23689
26085
         { ac_try='test -s conftest.$ac_objext'
23690
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23691
 
  (eval $ac_try) 2>&5
 
26086
  { (case "(($ac_try" in
 
26087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26088
  *) ac_try_echo=$ac_try;;
 
26089
esac
 
26090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26091
  (eval "$ac_try") 2>&5
23692
26092
  ac_status=$?
23693
26093
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694
26094
  (exit $ac_status); }; }; then
23697
26097
  echo "$as_me: failed program was:" >&5
23698
26098
sed 's/^/| /' conftest.$ac_ext >&5
23699
26099
 
23700
 
ac_header_compiler=no
 
26100
        ac_header_compiler=no
23701
26101
fi
23702
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23703
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23704
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
26102
 
 
26103
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26104
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
26105
echo "${ECHO_T}$ac_header_compiler" >&6; }
23705
26106
 
23706
26107
# Is the header present?
23707
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23708
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
26108
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
26109
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23709
26110
cat >conftest.$ac_ext <<_ACEOF
23710
26111
/* confdefs.h.  */
23711
26112
_ACEOF
23714
26115
/* end confdefs.h.  */
23715
26116
#include <$ac_header>
23716
26117
_ACEOF
23717
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23718
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
26118
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
26119
case "(($ac_try" in
 
26120
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26121
  *) ac_try_echo=$ac_try;;
 
26122
esac
 
26123
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26124
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23719
26125
  ac_status=$?
23720
26126
  grep -v '^ *+' conftest.er1 >conftest.err
23721
26127
  rm -f conftest.er1
23739
26145
 
23740
26146
  ac_header_preproc=no
23741
26147
fi
 
26148
 
23742
26149
rm -f conftest.err conftest.$ac_ext
23743
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23744
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26150
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26151
echo "${ECHO_T}$ac_header_preproc" >&6; }
23745
26152
 
23746
26153
# So?  What about this header?
23747
26154
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23765
26172
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23766
26173
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23767
26174
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23768
 
    (
23769
 
      cat <<\_ASBOX
23770
 
## ------------------------------------------ ##
23771
 
## Report this to the AC_PACKAGE_NAME lists.  ##
23772
 
## ------------------------------------------ ##
23773
 
_ASBOX
23774
 
    ) |
23775
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26175
 
23776
26176
    ;;
23777
26177
esac
23778
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
23779
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23780
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
26178
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
26179
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
26180
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23781
26181
  echo $ECHO_N "(cached) $ECHO_C" >&6
23782
26182
else
23783
26183
  eval "$as_ac_Header=\$ac_header_preproc"
23784
26184
fi
23785
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23786
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26185
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26186
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26187
echo "${ECHO_T}$ac_res" >&6; }
23787
26188
 
23788
26189
fi
23789
26190
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23801
26202
for ac_header in sys/bitypes.h
23802
26203
do
23803
26204
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23804
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23805
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
23806
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23807
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
26205
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
26206
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
26207
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
26208
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23808
26209
  echo $ECHO_N "(cached) $ECHO_C" >&6
23809
26210
fi
23810
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23811
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26211
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26212
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26213
echo "${ECHO_T}$ac_res" >&6; }
23812
26214
else
23813
26215
  # Is the header compilable?
23814
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23815
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
26216
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
26217
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23816
26218
cat >conftest.$ac_ext <<_ACEOF
23817
26219
/* confdefs.h.  */
23818
26220
_ACEOF
23823
26225
#include <$ac_header>
23824
26226
_ACEOF
23825
26227
rm -f conftest.$ac_objext
23826
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23827
 
  (eval $ac_compile) 2>conftest.er1
 
26228
if { (ac_try="$ac_compile"
 
26229
case "(($ac_try" in
 
26230
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26231
  *) ac_try_echo=$ac_try;;
 
26232
esac
 
26233
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26234
  (eval "$ac_compile") 2>conftest.er1
23828
26235
  ac_status=$?
23829
26236
  grep -v '^ *+' conftest.er1 >conftest.err
23830
26237
  rm -f conftest.er1
23831
26238
  cat conftest.err >&5
23832
26239
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833
26240
  (exit $ac_status); } &&
23834
 
         { ac_try='test -z "$ac_c_werror_flag"
23835
 
                         || test ! -s conftest.err'
23836
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837
 
  (eval $ac_try) 2>&5
 
26241
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26242
  { (case "(($ac_try" in
 
26243
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26244
  *) ac_try_echo=$ac_try;;
 
26245
esac
 
26246
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26247
  (eval "$ac_try") 2>&5
23838
26248
  ac_status=$?
23839
26249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840
26250
  (exit $ac_status); }; } &&
23841
26251
         { ac_try='test -s conftest.$ac_objext'
23842
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843
 
  (eval $ac_try) 2>&5
 
26252
  { (case "(($ac_try" in
 
26253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26254
  *) ac_try_echo=$ac_try;;
 
26255
esac
 
26256
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26257
  (eval "$ac_try") 2>&5
23844
26258
  ac_status=$?
23845
26259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846
26260
  (exit $ac_status); }; }; then
23849
26263
  echo "$as_me: failed program was:" >&5
23850
26264
sed 's/^/| /' conftest.$ac_ext >&5
23851
26265
 
23852
 
ac_header_compiler=no
 
26266
        ac_header_compiler=no
23853
26267
fi
23854
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23855
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23856
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
26268
 
 
26269
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26270
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
26271
echo "${ECHO_T}$ac_header_compiler" >&6; }
23857
26272
 
23858
26273
# Is the header present?
23859
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23860
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
26274
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
26275
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23861
26276
cat >conftest.$ac_ext <<_ACEOF
23862
26277
/* confdefs.h.  */
23863
26278
_ACEOF
23866
26281
/* end confdefs.h.  */
23867
26282
#include <$ac_header>
23868
26283
_ACEOF
23869
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23870
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
26284
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
26285
case "(($ac_try" in
 
26286
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26287
  *) ac_try_echo=$ac_try;;
 
26288
esac
 
26289
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26290
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23871
26291
  ac_status=$?
23872
26292
  grep -v '^ *+' conftest.er1 >conftest.err
23873
26293
  rm -f conftest.er1
23891
26311
 
23892
26312
  ac_header_preproc=no
23893
26313
fi
 
26314
 
23894
26315
rm -f conftest.err conftest.$ac_ext
23895
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23896
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26316
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26317
echo "${ECHO_T}$ac_header_preproc" >&6; }
23897
26318
 
23898
26319
# So?  What about this header?
23899
26320
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23917
26338
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23918
26339
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23919
26340
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23920
 
    (
23921
 
      cat <<\_ASBOX
23922
 
## ------------------------------------------ ##
23923
 
## Report this to the AC_PACKAGE_NAME lists.  ##
23924
 
## ------------------------------------------ ##
23925
 
_ASBOX
23926
 
    ) |
23927
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26341
 
23928
26342
    ;;
23929
26343
esac
23930
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
23931
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23932
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
26344
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
26345
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
26346
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23933
26347
  echo $ECHO_N "(cached) $ECHO_C" >&6
23934
26348
else
23935
26349
  eval "$as_ac_Header=\$ac_header_preproc"
23936
26350
fi
23937
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23938
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26351
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26352
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26353
echo "${ECHO_T}$ac_res" >&6; }
23939
26354
 
23940
26355
fi
23941
26356
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23949
26364
 
23950
26365
 
23951
26366
   # darwin requires a poll emulation library
23952
 
   echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
23953
 
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
 
26367
   { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
 
26368
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
23954
26369
if test "${ac_cv_lib_poll_poll+set}" = set; then
23955
26370
  echo $ECHO_N "(cached) $ECHO_C" >&6
23956
26371
else
23963
26378
cat >>conftest.$ac_ext <<_ACEOF
23964
26379
/* end confdefs.h.  */
23965
26380
 
23966
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26381
/* Override any GCC internal prototype to avoid an error.
 
26382
   Use char because int might match the return type of a GCC
 
26383
   builtin and then its argument prototype would still apply.  */
23967
26384
#ifdef __cplusplus
23968
26385
extern "C"
23969
26386
#endif
23970
 
/* We use char because int might match the return type of a gcc2
23971
 
   builtin and then its argument prototype would still apply.  */
23972
26387
char poll ();
23973
26388
int
23974
26389
main ()
23975
26390
{
23976
 
poll ();
 
26391
return poll ();
23977
26392
  ;
23978
26393
  return 0;
23979
26394
}
23980
26395
_ACEOF
23981
26396
rm -f conftest.$ac_objext conftest$ac_exeext
23982
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23983
 
  (eval $ac_link) 2>conftest.er1
 
26397
if { (ac_try="$ac_link"
 
26398
case "(($ac_try" in
 
26399
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26400
  *) ac_try_echo=$ac_try;;
 
26401
esac
 
26402
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26403
  (eval "$ac_link") 2>conftest.er1
23984
26404
  ac_status=$?
23985
26405
  grep -v '^ *+' conftest.er1 >conftest.err
23986
26406
  rm -f conftest.er1
23987
26407
  cat conftest.err >&5
23988
26408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989
26409
  (exit $ac_status); } &&
23990
 
         { ac_try='test -z "$ac_c_werror_flag"
23991
 
                         || test ! -s conftest.err'
23992
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23993
 
  (eval $ac_try) 2>&5
 
26410
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26411
  { (case "(($ac_try" in
 
26412
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26413
  *) ac_try_echo=$ac_try;;
 
26414
esac
 
26415
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26416
  (eval "$ac_try") 2>&5
23994
26417
  ac_status=$?
23995
26418
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996
26419
  (exit $ac_status); }; } &&
23997
26420
         { ac_try='test -s conftest$ac_exeext'
23998
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23999
 
  (eval $ac_try) 2>&5
 
26421
  { (case "(($ac_try" in
 
26422
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26423
  *) ac_try_echo=$ac_try;;
 
26424
esac
 
26425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26426
  (eval "$ac_try") 2>&5
24000
26427
  ac_status=$?
24001
26428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24002
26429
  (exit $ac_status); }; }; then
24005
26432
  echo "$as_me: failed program was:" >&5
24006
26433
sed 's/^/| /' conftest.$ac_ext >&5
24007
26434
 
24008
 
ac_cv_lib_poll_poll=no
 
26435
        ac_cv_lib_poll_poll=no
24009
26436
fi
24010
 
rm -f conftest.err conftest.$ac_objext \
 
26437
 
 
26438
rm -f core conftest.err conftest.$ac_objext \
24011
26439
      conftest$ac_exeext conftest.$ac_ext
24012
26440
LIBS=$ac_check_lib_save_LIBS
24013
26441
fi
24014
 
echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
24015
 
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
 
26442
{ echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
 
26443
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
24016
26444
if test $ac_cv_lib_poll_poll = yes; then
24017
26445
  LIB_POLL="-lpoll"
24018
26446
fi
24023
26451
for ac_header in Carbon/Carbon.h
24024
26452
do
24025
26453
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24026
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24027
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
24028
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24029
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
26454
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
26455
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
26456
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
26457
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24030
26458
  echo $ECHO_N "(cached) $ECHO_C" >&6
24031
26459
fi
24032
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24033
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26460
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26461
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26462
echo "${ECHO_T}$ac_res" >&6; }
24034
26463
else
24035
26464
  # Is the header compilable?
24036
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
24037
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
26465
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
26466
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24038
26467
cat >conftest.$ac_ext <<_ACEOF
24039
26468
/* confdefs.h.  */
24040
26469
_ACEOF
24045
26474
#include <$ac_header>
24046
26475
_ACEOF
24047
26476
rm -f conftest.$ac_objext
24048
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24049
 
  (eval $ac_compile) 2>conftest.er1
 
26477
if { (ac_try="$ac_compile"
 
26478
case "(($ac_try" in
 
26479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26480
  *) ac_try_echo=$ac_try;;
 
26481
esac
 
26482
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26483
  (eval "$ac_compile") 2>conftest.er1
24050
26484
  ac_status=$?
24051
26485
  grep -v '^ *+' conftest.er1 >conftest.err
24052
26486
  rm -f conftest.er1
24053
26487
  cat conftest.err >&5
24054
26488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055
26489
  (exit $ac_status); } &&
24056
 
         { ac_try='test -z "$ac_c_werror_flag"
24057
 
                         || test ! -s conftest.err'
24058
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24059
 
  (eval $ac_try) 2>&5
 
26490
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
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_try") 2>&5
24060
26497
  ac_status=$?
24061
26498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062
26499
  (exit $ac_status); }; } &&
24063
26500
         { ac_try='test -s conftest.$ac_objext'
24064
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24065
 
  (eval $ac_try) 2>&5
 
26501
  { (case "(($ac_try" in
 
26502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26503
  *) ac_try_echo=$ac_try;;
 
26504
esac
 
26505
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26506
  (eval "$ac_try") 2>&5
24066
26507
  ac_status=$?
24067
26508
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068
26509
  (exit $ac_status); }; }; then
24071
26512
  echo "$as_me: failed program was:" >&5
24072
26513
sed 's/^/| /' conftest.$ac_ext >&5
24073
26514
 
24074
 
ac_header_compiler=no
 
26515
        ac_header_compiler=no
24075
26516
fi
24076
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24077
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24078
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
26517
 
 
26518
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26519
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
26520
echo "${ECHO_T}$ac_header_compiler" >&6; }
24079
26521
 
24080
26522
# Is the header present?
24081
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
24082
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
26523
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
26524
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24083
26525
cat >conftest.$ac_ext <<_ACEOF
24084
26526
/* confdefs.h.  */
24085
26527
_ACEOF
24088
26530
/* end confdefs.h.  */
24089
26531
#include <$ac_header>
24090
26532
_ACEOF
24091
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24092
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
26533
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
26534
case "(($ac_try" in
 
26535
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26536
  *) ac_try_echo=$ac_try;;
 
26537
esac
 
26538
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26539
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24093
26540
  ac_status=$?
24094
26541
  grep -v '^ *+' conftest.er1 >conftest.err
24095
26542
  rm -f conftest.er1
24113
26560
 
24114
26561
  ac_header_preproc=no
24115
26562
fi
 
26563
 
24116
26564
rm -f conftest.err conftest.$ac_ext
24117
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24118
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26565
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26566
echo "${ECHO_T}$ac_header_preproc" >&6; }
24119
26567
 
24120
26568
# So?  What about this header?
24121
26569
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24139
26587
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24140
26588
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24141
26589
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24142
 
    (
24143
 
      cat <<\_ASBOX
24144
 
## ------------------------------------------ ##
24145
 
## Report this to the AC_PACKAGE_NAME lists.  ##
24146
 
## ------------------------------------------ ##
24147
 
_ASBOX
24148
 
    ) |
24149
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26590
 
24150
26591
    ;;
24151
26592
esac
24152
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
24153
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24154
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
26593
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
26594
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
26595
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24155
26596
  echo $ECHO_N "(cached) $ECHO_C" >&6
24156
26597
else
24157
26598
  eval "$as_ac_Header=\$ac_header_preproc"
24158
26599
fi
24159
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24160
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26600
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26601
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26602
echo "${ECHO_T}$ac_res" >&6; }
24161
26603
 
24162
26604
fi
24163
26605
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24172
26614
 
24173
26615
   # CoreAudio framework
24174
26616
   if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24175
 
  echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
24176
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
 
26617
  { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
 
26618
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
24177
26619
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24178
26620
  echo $ECHO_N "(cached) $ECHO_C" >&6
24179
26621
fi
24180
 
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
24181
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
 
26622
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
 
26623
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
24182
26624
else
24183
26625
  # Is the header compilable?
24184
 
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
24185
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6
 
26626
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
 
26627
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
24186
26628
cat >conftest.$ac_ext <<_ACEOF
24187
26629
/* confdefs.h.  */
24188
26630
_ACEOF
24193
26635
#include <CoreAudio/CoreAudio.h>
24194
26636
_ACEOF
24195
26637
rm -f conftest.$ac_objext
24196
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24197
 
  (eval $ac_compile) 2>conftest.er1
 
26638
if { (ac_try="$ac_compile"
 
26639
case "(($ac_try" in
 
26640
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26641
  *) ac_try_echo=$ac_try;;
 
26642
esac
 
26643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26644
  (eval "$ac_compile") 2>conftest.er1
24198
26645
  ac_status=$?
24199
26646
  grep -v '^ *+' conftest.er1 >conftest.err
24200
26647
  rm -f conftest.er1
24201
26648
  cat conftest.err >&5
24202
26649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203
26650
  (exit $ac_status); } &&
24204
 
         { ac_try='test -z "$ac_c_werror_flag"
24205
 
                         || test ! -s conftest.err'
24206
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24207
 
  (eval $ac_try) 2>&5
 
26651
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26652
  { (case "(($ac_try" in
 
26653
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26654
  *) ac_try_echo=$ac_try;;
 
26655
esac
 
26656
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26657
  (eval "$ac_try") 2>&5
24208
26658
  ac_status=$?
24209
26659
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210
26660
  (exit $ac_status); }; } &&
24211
26661
         { ac_try='test -s conftest.$ac_objext'
24212
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24213
 
  (eval $ac_try) 2>&5
 
26662
  { (case "(($ac_try" in
 
26663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26664
  *) ac_try_echo=$ac_try;;
 
26665
esac
 
26666
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26667
  (eval "$ac_try") 2>&5
24214
26668
  ac_status=$?
24215
26669
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216
26670
  (exit $ac_status); }; }; then
24219
26673
  echo "$as_me: failed program was:" >&5
24220
26674
sed 's/^/| /' conftest.$ac_ext >&5
24221
26675
 
24222
 
ac_header_compiler=no
 
26676
        ac_header_compiler=no
24223
26677
fi
24224
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24225
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24226
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
26678
 
 
26679
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26680
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
26681
echo "${ECHO_T}$ac_header_compiler" >&6; }
24227
26682
 
24228
26683
# Is the header present?
24229
 
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
24230
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6
 
26684
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
 
26685
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
24231
26686
cat >conftest.$ac_ext <<_ACEOF
24232
26687
/* confdefs.h.  */
24233
26688
_ACEOF
24236
26691
/* end confdefs.h.  */
24237
26692
#include <CoreAudio/CoreAudio.h>
24238
26693
_ACEOF
24239
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24240
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
26694
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
26695
case "(($ac_try" in
 
26696
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26697
  *) ac_try_echo=$ac_try;;
 
26698
esac
 
26699
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26700
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24241
26701
  ac_status=$?
24242
26702
  grep -v '^ *+' conftest.er1 >conftest.err
24243
26703
  rm -f conftest.er1
24261
26721
 
24262
26722
  ac_header_preproc=no
24263
26723
fi
 
26724
 
24264
26725
rm -f conftest.err conftest.$ac_ext
24265
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24266
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26726
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26727
echo "${ECHO_T}$ac_header_preproc" >&6; }
24267
26728
 
24268
26729
# So?  What about this header?
24269
26730
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24287
26748
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
24288
26749
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
24289
26750
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
24290
 
    (
24291
 
      cat <<\_ASBOX
24292
 
## ------------------------------------------ ##
24293
 
## Report this to the AC_PACKAGE_NAME lists.  ##
24294
 
## ------------------------------------------ ##
24295
 
_ASBOX
24296
 
    ) |
24297
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26751
 
24298
26752
    ;;
24299
26753
esac
24300
 
echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
24301
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
 
26754
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
 
26755
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
24302
26756
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24303
26757
  echo $ECHO_N "(cached) $ECHO_C" >&6
24304
26758
else
24305
26759
  ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
24306
26760
fi
24307
 
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
24308
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
 
26761
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
 
26762
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
24309
26763
 
24310
26764
fi
24311
26765
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
24315
26769
#define HAVE_COREAUDIO 1
24316
26770
_ACEOF
24317
26771
 
24318
 
     FRAMEWORK_COREAUDIO="-Xlinker -framework -Xlinker CoreAudio"
 
26772
     FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
24319
26773
 
24320
26774
fi
24321
26775
 
24322
26776
 
24323
26777
 
24324
26778
 
24325
 
  echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
24326
 
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6
 
26779
  { echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
 
26780
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6; }
24327
26781
  kde_libs_safe="$LIBS"
24328
26782
  LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
24329
26783
  cat >conftest.$ac_ext <<_ACEOF
24349
26803
}
24350
26804
_ACEOF
24351
26805
rm -f conftest.$ac_objext conftest$ac_exeext
24352
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24353
 
  (eval $ac_link) 2>conftest.er1
 
26806
if { (ac_try="$ac_link"
 
26807
case "(($ac_try" in
 
26808
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26809
  *) ac_try_echo=$ac_try;;
 
26810
esac
 
26811
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26812
  (eval "$ac_link") 2>conftest.er1
24354
26813
  ac_status=$?
24355
26814
  grep -v '^ *+' conftest.er1 >conftest.err
24356
26815
  rm -f conftest.er1
24357
26816
  cat conftest.err >&5
24358
26817
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359
26818
  (exit $ac_status); } &&
24360
 
         { ac_try='test -z "$ac_c_werror_flag"
24361
 
                         || test ! -s conftest.err'
24362
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24363
 
  (eval $ac_try) 2>&5
 
26819
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26820
  { (case "(($ac_try" in
 
26821
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26822
  *) ac_try_echo=$ac_try;;
 
26823
esac
 
26824
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26825
  (eval "$ac_try") 2>&5
24364
26826
  ac_status=$?
24365
26827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366
26828
  (exit $ac_status); }; } &&
24367
26829
         { ac_try='test -s conftest$ac_exeext'
24368
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369
 
  (eval $ac_try) 2>&5
 
26830
  { (case "(($ac_try" in
 
26831
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26832
  *) ac_try_echo=$ac_try;;
 
26833
esac
 
26834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26835
  (eval "$ac_try") 2>&5
24370
26836
  ac_status=$?
24371
26837
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372
26838
  (exit $ac_status); }; }; then
24373
26839
 
24374
26840
      LIBRESOLV="-lresolv"
24375
 
      echo "$as_me:$LINENO: result: yes" >&5
24376
 
echo "${ECHO_T}yes" >&6
 
26841
      { echo "$as_me:$LINENO: result: yes" >&5
 
26842
echo "${ECHO_T}yes" >&6; }
24377
26843
 
24378
26844
cat >>confdefs.h <<\_ACEOF
24379
26845
#define HAVE_RES_INIT 1
24384
26850
  echo "$as_me: failed program was:" >&5
24385
26851
sed 's/^/| /' conftest.$ac_ext >&5
24386
26852
 
24387
 
 echo "$as_me:$LINENO: result: no" >&5
24388
 
echo "${ECHO_T}no" >&6
 
26853
         { echo "$as_me:$LINENO: result: no" >&5
 
26854
echo "${ECHO_T}no" >&6; }
24389
26855
 
24390
26856
fi
24391
 
rm -f conftest.err conftest.$ac_objext \
 
26857
 
 
26858
rm -f core conftest.err conftest.$ac_objext \
24392
26859
      conftest$ac_exeext conftest.$ac_ext
24393
26860
  LIBS=$kde_libs_safe
24394
26861
 
24395
26862
 
24396
26863
 
24397
 
echo "$as_me:$LINENO: checking for res_init" >&5
24398
 
echo $ECHO_N "checking for res_init... $ECHO_C" >&6
 
26864
{ echo "$as_me:$LINENO: checking for res_init" >&5
 
26865
echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
24399
26866
if test "${kde_cv_func_res_init+set}" = set; then
24400
26867
  echo $ECHO_N "(cached) $ECHO_C" >&6
24401
26868
else
24402
26869
 
24403
26870
 
24404
 
 
24405
 
 ac_ext=cc
 
26871
 ac_ext=cpp
24406
26872
ac_cpp='$CXXCPP $CPPFLAGS'
24407
26873
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24408
26874
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24442
26908
}
24443
26909
_ACEOF
24444
26910
rm -f conftest.$ac_objext
24445
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24446
 
  (eval $ac_compile) 2>conftest.er1
 
26911
if { (ac_try="$ac_compile"
 
26912
case "(($ac_try" in
 
26913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26914
  *) ac_try_echo=$ac_try;;
 
26915
esac
 
26916
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26917
  (eval "$ac_compile") 2>conftest.er1
24447
26918
  ac_status=$?
24448
26919
  grep -v '^ *+' conftest.er1 >conftest.err
24449
26920
  rm -f conftest.er1
24450
26921
  cat conftest.err >&5
24451
26922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452
26923
  (exit $ac_status); } &&
24453
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24454
 
                         || test ! -s conftest.err'
24455
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24456
 
  (eval $ac_try) 2>&5
 
26924
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
26925
  { (case "(($ac_try" in
 
26926
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26927
  *) ac_try_echo=$ac_try;;
 
26928
esac
 
26929
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26930
  (eval "$ac_try") 2>&5
24457
26931
  ac_status=$?
24458
26932
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459
26933
  (exit $ac_status); }; } &&
24460
26934
         { ac_try='test -s conftest.$ac_objext'
24461
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24462
 
  (eval $ac_try) 2>&5
 
26935
  { (case "(($ac_try" in
 
26936
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26937
  *) ac_try_echo=$ac_try;;
 
26938
esac
 
26939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26940
  (eval "$ac_try") 2>&5
24463
26941
  ac_status=$?
24464
26942
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465
26943
  (exit $ac_status); }; }; then
24468
26946
  echo "$as_me: failed program was:" >&5
24469
26947
sed 's/^/| /' conftest.$ac_ext >&5
24470
26948
 
24471
 
kde_cv_func_res_init=no
 
26949
        kde_cv_func_res_init=no
24472
26950
fi
24473
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26951
 
 
26952
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24474
26953
CXXFLAGS="$save_CXXFLAGS"
24475
26954
LIBS="$kde_safe_LIBS"
24476
26955
ac_ext=c
24483
26962
fi
24484
26963
 
24485
26964
 
24486
 
echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
24487
 
echo "${ECHO_T}$kde_cv_func_res_init" >&6
 
26965
{ echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
 
26966
echo "${ECHO_T}$kde_cv_func_res_init" >&6; }
24488
26967
 
24489
 
echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
24490
 
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6
 
26968
{ echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
 
26969
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6; }
24491
26970
if test "${kde_cv_proto_res_init+set}" = set; then
24492
26971
  echo $ECHO_N "(cached) $ECHO_C" >&6
24493
26972
else
24508
26987
if test "x$kde_cv_proto_res_init" = xunknown; then
24509
26988
 
24510
26989
 
24511
 
 
24512
 
 ac_ext=cc
 
26990
 ac_ext=cpp
24513
26991
ac_cpp='$CXXCPP $CPPFLAGS'
24514
26992
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24515
26993
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24547
27025
}
24548
27026
_ACEOF
24549
27027
rm -f conftest.$ac_objext conftest$ac_exeext
24550
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24551
 
  (eval $ac_link) 2>conftest.er1
 
27028
if { (ac_try="$ac_link"
 
27029
case "(($ac_try" in
 
27030
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27031
  *) ac_try_echo=$ac_try;;
 
27032
esac
 
27033
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27034
  (eval "$ac_link") 2>conftest.er1
24552
27035
  ac_status=$?
24553
27036
  grep -v '^ *+' conftest.er1 >conftest.err
24554
27037
  rm -f conftest.er1
24555
27038
  cat conftest.err >&5
24556
27039
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557
27040
  (exit $ac_status); } &&
24558
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24559
 
                         || test ! -s conftest.err'
24560
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561
 
  (eval $ac_try) 2>&5
 
27041
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
27042
  { (case "(($ac_try" in
 
27043
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27044
  *) ac_try_echo=$ac_try;;
 
27045
esac
 
27046
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27047
  (eval "$ac_try") 2>&5
24562
27048
  ac_status=$?
24563
27049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564
27050
  (exit $ac_status); }; } &&
24565
27051
         { ac_try='test -s conftest$ac_exeext'
24566
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567
 
  (eval $ac_try) 2>&5
 
27052
  { (case "(($ac_try" in
 
27053
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27054
  *) ac_try_echo=$ac_try;;
 
27055
esac
 
27056
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27057
  (eval "$ac_try") 2>&5
24568
27058
  ac_status=$?
24569
27059
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570
27060
  (exit $ac_status); }; }; then
24574
27064
  echo "$as_me: failed program was:" >&5
24575
27065
sed 's/^/| /' conftest.$ac_ext >&5
24576
27066
 
24577
 
kde_cv_proto_res_init="res_init unavailable"
 
27067
        kde_cv_proto_res_init="res_init unavailable"
24578
27068
 
24579
27069
fi
24580
 
rm -f conftest.err conftest.$ac_objext \
 
27070
 
 
27071
rm -f core conftest.err conftest.$ac_objext \
24581
27072
      conftest$ac_exeext conftest.$ac_ext
24582
27073
LIBS=$kde_safe_libs
24583
27074
ac_ext=c
24590
27081
 
24591
27082
fi
24592
27083
 
24593
 
echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
24594
 
echo "${ECHO_T}$kde_cv_proto_res_init" >&6
 
27084
{ echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
 
27085
echo "${ECHO_T}$kde_cv_proto_res_init" >&6; }
24595
27086
 
24596
27087
if test "x$kde_cv_func_res_init" = xyes; then
24597
27088
 
24618
27109
   LIBSOCKET="$X_EXTRA_LIBS"
24619
27110
 
24620
27111
 
24621
 
   echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
24622
 
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6
 
27112
   { echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
 
27113
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6; }
24623
27114
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
24624
27115
  echo $ECHO_N "(cached) $ECHO_C" >&6
24625
27116
else
24632
27123
cat >>conftest.$ac_ext <<_ACEOF
24633
27124
/* end confdefs.h.  */
24634
27125
 
24635
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
27126
/* Override any GCC internal prototype to avoid an error.
 
27127
   Use char because int might match the return type of a GCC
 
27128
   builtin and then its argument prototype would still apply.  */
24636
27129
#ifdef __cplusplus
24637
27130
extern "C"
24638
27131
#endif
24639
 
/* We use char because int might match the return type of a gcc2
24640
 
   builtin and then its argument prototype would still apply.  */
24641
27132
char killpg ();
24642
27133
int
24643
27134
main ()
24644
27135
{
24645
 
killpg ();
 
27136
return killpg ();
24646
27137
  ;
24647
27138
  return 0;
24648
27139
}
24649
27140
_ACEOF
24650
27141
rm -f conftest.$ac_objext conftest$ac_exeext
24651
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24652
 
  (eval $ac_link) 2>conftest.er1
 
27142
if { (ac_try="$ac_link"
 
27143
case "(($ac_try" in
 
27144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27145
  *) ac_try_echo=$ac_try;;
 
27146
esac
 
27147
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27148
  (eval "$ac_link") 2>conftest.er1
24653
27149
  ac_status=$?
24654
27150
  grep -v '^ *+' conftest.er1 >conftest.err
24655
27151
  rm -f conftest.er1
24656
27152
  cat conftest.err >&5
24657
27153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658
27154
  (exit $ac_status); } &&
24659
 
         { ac_try='test -z "$ac_c_werror_flag"
24660
 
                         || test ! -s conftest.err'
24661
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24662
 
  (eval $ac_try) 2>&5
 
27155
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27156
  { (case "(($ac_try" in
 
27157
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27158
  *) ac_try_echo=$ac_try;;
 
27159
esac
 
27160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27161
  (eval "$ac_try") 2>&5
24663
27162
  ac_status=$?
24664
27163
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665
27164
  (exit $ac_status); }; } &&
24666
27165
         { ac_try='test -s conftest$ac_exeext'
24667
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24668
 
  (eval $ac_try) 2>&5
 
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_try") 2>&5
24669
27172
  ac_status=$?
24670
27173
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671
27174
  (exit $ac_status); }; }; then
24674
27177
  echo "$as_me: failed program was:" >&5
24675
27178
sed 's/^/| /' conftest.$ac_ext >&5
24676
27179
 
24677
 
ac_cv_lib_ucb_killpg=no
 
27180
        ac_cv_lib_ucb_killpg=no
24678
27181
fi
24679
 
rm -f conftest.err conftest.$ac_objext \
 
27182
 
 
27183
rm -f core conftest.err conftest.$ac_objext \
24680
27184
      conftest$ac_exeext conftest.$ac_ext
24681
27185
LIBS=$ac_check_lib_save_LIBS
24682
27186
fi
24683
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
24684
 
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6
 
27187
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
 
27188
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6; }
24685
27189
if test $ac_cv_lib_ucb_killpg = yes; then
24686
27190
  LIBUCB="-lucb"
24687
27191
fi
24688
27192
 
24689
27193
 
24690
27194
   case $host in     *-*-lynxos* )
24691
 
        echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
24692
 
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6
 
27195
        { echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
 
27196
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6; }
24693
27197
        CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
24694
 
        echo "$as_me:$LINENO: result: disabled" >&5
24695
 
echo "${ECHO_T}disabled" >&6
24696
 
        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24697
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
 
27198
        { echo "$as_me:$LINENO: result: disabled" >&5
 
27199
echo "${ECHO_T}disabled" >&6; }
 
27200
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
27201
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
24698
27202
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24699
27203
  echo $ECHO_N "(cached) $ECHO_C" >&6
24700
27204
else
24707
27211
cat >>conftest.$ac_ext <<_ACEOF
24708
27212
/* end confdefs.h.  */
24709
27213
 
24710
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
27214
/* Override any GCC internal prototype to avoid an error.
 
27215
   Use char because int might match the return type of a GCC
 
27216
   builtin and then its argument prototype would still apply.  */
24711
27217
#ifdef __cplusplus
24712
27218
extern "C"
24713
27219
#endif
24714
 
/* We use char because int might match the return type of a gcc2
24715
 
   builtin and then its argument prototype would still apply.  */
24716
27220
char gethostbyname ();
24717
27221
int
24718
27222
main ()
24719
27223
{
24720
 
gethostbyname ();
 
27224
return gethostbyname ();
24721
27225
  ;
24722
27226
  return 0;
24723
27227
}
24724
27228
_ACEOF
24725
27229
rm -f conftest.$ac_objext conftest$ac_exeext
24726
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24727
 
  (eval $ac_link) 2>conftest.er1
 
27230
if { (ac_try="$ac_link"
 
27231
case "(($ac_try" in
 
27232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27233
  *) ac_try_echo=$ac_try;;
 
27234
esac
 
27235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27236
  (eval "$ac_link") 2>conftest.er1
24728
27237
  ac_status=$?
24729
27238
  grep -v '^ *+' conftest.er1 >conftest.err
24730
27239
  rm -f conftest.er1
24731
27240
  cat conftest.err >&5
24732
27241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733
27242
  (exit $ac_status); } &&
24734
 
         { ac_try='test -z "$ac_c_werror_flag"
24735
 
                         || test ! -s conftest.err'
24736
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737
 
  (eval $ac_try) 2>&5
 
27243
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27244
  { (case "(($ac_try" in
 
27245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27246
  *) ac_try_echo=$ac_try;;
 
27247
esac
 
27248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27249
  (eval "$ac_try") 2>&5
24738
27250
  ac_status=$?
24739
27251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740
27252
  (exit $ac_status); }; } &&
24741
27253
         { ac_try='test -s conftest$ac_exeext'
24742
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24743
 
  (eval $ac_try) 2>&5
 
27254
  { (case "(($ac_try" in
 
27255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27256
  *) ac_try_echo=$ac_try;;
 
27257
esac
 
27258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27259
  (eval "$ac_try") 2>&5
24744
27260
  ac_status=$?
24745
27261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746
27262
  (exit $ac_status); }; }; then
24749
27265
  echo "$as_me: failed program was:" >&5
24750
27266
sed 's/^/| /' conftest.$ac_ext >&5
24751
27267
 
24752
 
ac_cv_lib_bsd_gethostbyname=no
 
27268
        ac_cv_lib_bsd_gethostbyname=no
24753
27269
fi
24754
 
rm -f conftest.err conftest.$ac_objext \
 
27270
 
 
27271
rm -f core conftest.err conftest.$ac_objext \
24755
27272
      conftest$ac_exeext conftest.$ac_ext
24756
27273
LIBS=$ac_check_lib_save_LIBS
24757
27274
fi
24758
 
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24759
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
 
27275
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
27276
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
24760
27277
if test $ac_cv_lib_bsd_gethostbyname = yes; then
24761
27278
  LIBSOCKET="-lbsd"
24762
27279
fi
24763
27280
          ;;
24764
27281
    esac
24765
27282
 
24766
 
     echo "$as_me:$LINENO: checking for int" >&5
24767
 
echo $ECHO_N "checking for int... $ECHO_C" >&6
 
27283
     { echo "$as_me:$LINENO: checking for int" >&5
 
27284
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
24768
27285
if test "${ac_cv_type_int+set}" = set; then
24769
27286
  echo $ECHO_N "(cached) $ECHO_C" >&6
24770
27287
else
24775
27292
cat >>conftest.$ac_ext <<_ACEOF
24776
27293
/* end confdefs.h.  */
24777
27294
$ac_includes_default
 
27295
typedef int ac__type_new_;
24778
27296
int
24779
27297
main ()
24780
27298
{
24781
 
if ((int *) 0)
 
27299
if ((ac__type_new_ *) 0)
24782
27300
  return 0;
24783
 
if (sizeof (int))
 
27301
if (sizeof (ac__type_new_))
24784
27302
  return 0;
24785
27303
  ;
24786
27304
  return 0;
24787
27305
}
24788
27306
_ACEOF
24789
27307
rm -f conftest.$ac_objext
24790
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24791
 
  (eval $ac_compile) 2>conftest.er1
 
27308
if { (ac_try="$ac_compile"
 
27309
case "(($ac_try" in
 
27310
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27311
  *) ac_try_echo=$ac_try;;
 
27312
esac
 
27313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27314
  (eval "$ac_compile") 2>conftest.er1
24792
27315
  ac_status=$?
24793
27316
  grep -v '^ *+' conftest.er1 >conftest.err
24794
27317
  rm -f conftest.er1
24795
27318
  cat conftest.err >&5
24796
27319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797
27320
  (exit $ac_status); } &&
24798
 
         { ac_try='test -z "$ac_c_werror_flag"
24799
 
                         || test ! -s conftest.err'
24800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24801
 
  (eval $ac_try) 2>&5
 
27321
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27322
  { (case "(($ac_try" in
 
27323
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27324
  *) ac_try_echo=$ac_try;;
 
27325
esac
 
27326
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27327
  (eval "$ac_try") 2>&5
24802
27328
  ac_status=$?
24803
27329
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24804
27330
  (exit $ac_status); }; } &&
24805
27331
         { ac_try='test -s conftest.$ac_objext'
24806
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24807
 
  (eval $ac_try) 2>&5
 
27332
  { (case "(($ac_try" in
 
27333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27334
  *) ac_try_echo=$ac_try;;
 
27335
esac
 
27336
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27337
  (eval "$ac_try") 2>&5
24808
27338
  ac_status=$?
24809
27339
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24810
27340
  (exit $ac_status); }; }; then
24813
27343
  echo "$as_me: failed program was:" >&5
24814
27344
sed 's/^/| /' conftest.$ac_ext >&5
24815
27345
 
24816
 
ac_cv_type_int=no
24817
 
fi
24818
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24819
 
fi
24820
 
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
24821
 
echo "${ECHO_T}$ac_cv_type_int" >&6
24822
 
 
24823
 
echo "$as_me:$LINENO: checking size of int" >&5
24824
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6
 
27346
        ac_cv_type_int=no
 
27347
fi
 
27348
 
 
27349
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
27350
fi
 
27351
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
 
27352
echo "${ECHO_T}$ac_cv_type_int" >&6; }
 
27353
 
 
27354
{ echo "$as_me:$LINENO: checking size of int" >&5
 
27355
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
24825
27356
if test "${ac_cv_sizeof_int+set}" = set; then
24826
27357
  echo $ECHO_N "(cached) $ECHO_C" >&6
24827
27358
else
24828
27359
  if test "$ac_cv_type_int" = yes; then
24829
 
  # The cast to unsigned long works around a bug in the HP C Compiler
 
27360
  # The cast to long int works around a bug in the HP C Compiler
24830
27361
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24831
27362
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24832
27363
  # This bug is HP SR number 8606223364.
24839
27370
cat >>conftest.$ac_ext <<_ACEOF
24840
27371
/* end confdefs.h.  */
24841
27372
$ac_includes_default
 
27373
                   typedef int ac__type_sizeof_;
24842
27374
int
24843
27375
main ()
24844
27376
{
24845
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
 
27377
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24846
27378
test_array [0] = 0
24847
27379
 
24848
27380
  ;
24850
27382
}
24851
27383
_ACEOF
24852
27384
rm -f conftest.$ac_objext
24853
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24854
 
  (eval $ac_compile) 2>conftest.er1
 
27385
if { (ac_try="$ac_compile"
 
27386
case "(($ac_try" in
 
27387
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27388
  *) ac_try_echo=$ac_try;;
 
27389
esac
 
27390
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27391
  (eval "$ac_compile") 2>conftest.er1
24855
27392
  ac_status=$?
24856
27393
  grep -v '^ *+' conftest.er1 >conftest.err
24857
27394
  rm -f conftest.er1
24858
27395
  cat conftest.err >&5
24859
27396
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860
27397
  (exit $ac_status); } &&
24861
 
         { ac_try='test -z "$ac_c_werror_flag"
24862
 
                         || test ! -s conftest.err'
24863
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24864
 
  (eval $ac_try) 2>&5
 
27398
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27399
  { (case "(($ac_try" in
 
27400
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27401
  *) ac_try_echo=$ac_try;;
 
27402
esac
 
27403
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27404
  (eval "$ac_try") 2>&5
24865
27405
  ac_status=$?
24866
27406
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867
27407
  (exit $ac_status); }; } &&
24868
27408
         { ac_try='test -s conftest.$ac_objext'
24869
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24870
 
  (eval $ac_try) 2>&5
 
27409
  { (case "(($ac_try" in
 
27410
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27411
  *) ac_try_echo=$ac_try;;
 
27412
esac
 
27413
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27414
  (eval "$ac_try") 2>&5
24871
27415
  ac_status=$?
24872
27416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873
27417
  (exit $ac_status); }; }; then
24880
27424
cat >>conftest.$ac_ext <<_ACEOF
24881
27425
/* end confdefs.h.  */
24882
27426
$ac_includes_default
 
27427
                   typedef int ac__type_sizeof_;
24883
27428
int
24884
27429
main ()
24885
27430
{
24886
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
27431
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24887
27432
test_array [0] = 0
24888
27433
 
24889
27434
  ;
24891
27436
}
24892
27437
_ACEOF
24893
27438
rm -f conftest.$ac_objext
24894
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895
 
  (eval $ac_compile) 2>conftest.er1
 
27439
if { (ac_try="$ac_compile"
 
27440
case "(($ac_try" in
 
27441
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27442
  *) ac_try_echo=$ac_try;;
 
27443
esac
 
27444
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27445
  (eval "$ac_compile") 2>conftest.er1
24896
27446
  ac_status=$?
24897
27447
  grep -v '^ *+' conftest.er1 >conftest.err
24898
27448
  rm -f conftest.er1
24899
27449
  cat conftest.err >&5
24900
27450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901
27451
  (exit $ac_status); } &&
24902
 
         { ac_try='test -z "$ac_c_werror_flag"
24903
 
                         || test ! -s conftest.err'
24904
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905
 
  (eval $ac_try) 2>&5
 
27452
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27453
  { (case "(($ac_try" in
 
27454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27455
  *) ac_try_echo=$ac_try;;
 
27456
esac
 
27457
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27458
  (eval "$ac_try") 2>&5
24906
27459
  ac_status=$?
24907
27460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908
27461
  (exit $ac_status); }; } &&
24909
27462
         { ac_try='test -s conftest.$ac_objext'
24910
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911
 
  (eval $ac_try) 2>&5
 
27463
  { (case "(($ac_try" in
 
27464
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27465
  *) ac_try_echo=$ac_try;;
 
27466
esac
 
27467
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27468
  (eval "$ac_try") 2>&5
24912
27469
  ac_status=$?
24913
27470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914
27471
  (exit $ac_status); }; }; then
24917
27474
  echo "$as_me: failed program was:" >&5
24918
27475
sed 's/^/| /' conftest.$ac_ext >&5
24919
27476
 
24920
 
ac_lo=`expr $ac_mid + 1`
24921
 
                    if test $ac_lo -le $ac_mid; then
24922
 
                      ac_lo= ac_hi=
24923
 
                      break
24924
 
                    fi
24925
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
27477
        ac_lo=`expr $ac_mid + 1`
 
27478
                        if test $ac_lo -le $ac_mid; then
 
27479
                          ac_lo= ac_hi=
 
27480
                          break
 
27481
                        fi
 
27482
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24926
27483
fi
24927
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27484
 
 
27485
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24928
27486
  done
24929
27487
else
24930
27488
  echo "$as_me: failed program was:" >&5
24931
27489
sed 's/^/| /' conftest.$ac_ext >&5
24932
27490
 
24933
 
cat >conftest.$ac_ext <<_ACEOF
 
27491
        cat >conftest.$ac_ext <<_ACEOF
24934
27492
/* confdefs.h.  */
24935
27493
_ACEOF
24936
27494
cat confdefs.h >>conftest.$ac_ext
24937
27495
cat >>conftest.$ac_ext <<_ACEOF
24938
27496
/* end confdefs.h.  */
24939
27497
$ac_includes_default
 
27498
                   typedef int ac__type_sizeof_;
24940
27499
int
24941
27500
main ()
24942
27501
{
24943
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
 
27502
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24944
27503
test_array [0] = 0
24945
27504
 
24946
27505
  ;
24948
27507
}
24949
27508
_ACEOF
24950
27509
rm -f conftest.$ac_objext
24951
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24952
 
  (eval $ac_compile) 2>conftest.er1
 
27510
if { (ac_try="$ac_compile"
 
27511
case "(($ac_try" in
 
27512
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27513
  *) ac_try_echo=$ac_try;;
 
27514
esac
 
27515
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27516
  (eval "$ac_compile") 2>conftest.er1
24953
27517
  ac_status=$?
24954
27518
  grep -v '^ *+' conftest.er1 >conftest.err
24955
27519
  rm -f conftest.er1
24956
27520
  cat conftest.err >&5
24957
27521
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958
27522
  (exit $ac_status); } &&
24959
 
         { ac_try='test -z "$ac_c_werror_flag"
24960
 
                         || test ! -s conftest.err'
24961
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24962
 
  (eval $ac_try) 2>&5
 
27523
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27524
  { (case "(($ac_try" in
 
27525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27526
  *) ac_try_echo=$ac_try;;
 
27527
esac
 
27528
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27529
  (eval "$ac_try") 2>&5
24963
27530
  ac_status=$?
24964
27531
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965
27532
  (exit $ac_status); }; } &&
24966
27533
         { ac_try='test -s conftest.$ac_objext'
24967
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24968
 
  (eval $ac_try) 2>&5
 
27534
  { (case "(($ac_try" in
 
27535
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27536
  *) ac_try_echo=$ac_try;;
 
27537
esac
 
27538
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27539
  (eval "$ac_try") 2>&5
24969
27540
  ac_status=$?
24970
27541
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971
27542
  (exit $ac_status); }; }; then
24978
27549
cat >>conftest.$ac_ext <<_ACEOF
24979
27550
/* end confdefs.h.  */
24980
27551
$ac_includes_default
 
27552
                   typedef int ac__type_sizeof_;
24981
27553
int
24982
27554
main ()
24983
27555
{
24984
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
 
27556
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24985
27557
test_array [0] = 0
24986
27558
 
24987
27559
  ;
24989
27561
}
24990
27562
_ACEOF
24991
27563
rm -f conftest.$ac_objext
24992
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24993
 
  (eval $ac_compile) 2>conftest.er1
 
27564
if { (ac_try="$ac_compile"
 
27565
case "(($ac_try" in
 
27566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27567
  *) ac_try_echo=$ac_try;;
 
27568
esac
 
27569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27570
  (eval "$ac_compile") 2>conftest.er1
24994
27571
  ac_status=$?
24995
27572
  grep -v '^ *+' conftest.er1 >conftest.err
24996
27573
  rm -f conftest.er1
24997
27574
  cat conftest.err >&5
24998
27575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999
27576
  (exit $ac_status); } &&
25000
 
         { ac_try='test -z "$ac_c_werror_flag"
25001
 
                         || test ! -s conftest.err'
25002
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003
 
  (eval $ac_try) 2>&5
 
27577
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27578
  { (case "(($ac_try" in
 
27579
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27580
  *) ac_try_echo=$ac_try;;
 
27581
esac
 
27582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27583
  (eval "$ac_try") 2>&5
25004
27584
  ac_status=$?
25005
27585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006
27586
  (exit $ac_status); }; } &&
25007
27587
         { ac_try='test -s conftest.$ac_objext'
25008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25009
 
  (eval $ac_try) 2>&5
 
27588
  { (case "(($ac_try" in
 
27589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27590
  *) ac_try_echo=$ac_try;;
 
27591
esac
 
27592
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27593
  (eval "$ac_try") 2>&5
25010
27594
  ac_status=$?
25011
27595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012
27596
  (exit $ac_status); }; }; then
25015
27599
  echo "$as_me: failed program was:" >&5
25016
27600
sed 's/^/| /' conftest.$ac_ext >&5
25017
27601
 
25018
 
ac_hi=`expr '(' $ac_mid ')' - 1`
25019
 
                       if test $ac_mid -le $ac_hi; then
25020
 
                         ac_lo= ac_hi=
25021
 
                         break
25022
 
                       fi
25023
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
27602
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
27603
                        if test $ac_mid -le $ac_hi; then
 
27604
                          ac_lo= ac_hi=
 
27605
                          break
 
27606
                        fi
 
27607
                        ac_mid=`expr 2 '*' $ac_mid`
25024
27608
fi
25025
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27609
 
 
27610
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25026
27611
  done
25027
27612
else
25028
27613
  echo "$as_me: failed program was:" >&5
25029
27614
sed 's/^/| /' conftest.$ac_ext >&5
25030
27615
 
25031
 
ac_lo= ac_hi=
25032
 
fi
25033
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25034
 
fi
25035
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27616
        ac_lo= ac_hi=
 
27617
fi
 
27618
 
 
27619
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
27620
fi
 
27621
 
 
27622
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25036
27623
# Binary search between lo and hi bounds.
25037
27624
while test "x$ac_lo" != "x$ac_hi"; do
25038
27625
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25043
27630
cat >>conftest.$ac_ext <<_ACEOF
25044
27631
/* end confdefs.h.  */
25045
27632
$ac_includes_default
 
27633
                   typedef int ac__type_sizeof_;
25046
27634
int
25047
27635
main ()
25048
27636
{
25049
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
27637
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25050
27638
test_array [0] = 0
25051
27639
 
25052
27640
  ;
25054
27642
}
25055
27643
_ACEOF
25056
27644
rm -f conftest.$ac_objext
25057
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25058
 
  (eval $ac_compile) 2>conftest.er1
 
27645
if { (ac_try="$ac_compile"
 
27646
case "(($ac_try" in
 
27647
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27648
  *) ac_try_echo=$ac_try;;
 
27649
esac
 
27650
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27651
  (eval "$ac_compile") 2>conftest.er1
25059
27652
  ac_status=$?
25060
27653
  grep -v '^ *+' conftest.er1 >conftest.err
25061
27654
  rm -f conftest.er1
25062
27655
  cat conftest.err >&5
25063
27656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064
27657
  (exit $ac_status); } &&
25065
 
         { ac_try='test -z "$ac_c_werror_flag"
25066
 
                         || test ! -s conftest.err'
25067
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068
 
  (eval $ac_try) 2>&5
 
27658
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27659
  { (case "(($ac_try" in
 
27660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27661
  *) ac_try_echo=$ac_try;;
 
27662
esac
 
27663
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27664
  (eval "$ac_try") 2>&5
25069
27665
  ac_status=$?
25070
27666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071
27667
  (exit $ac_status); }; } &&
25072
27668
         { ac_try='test -s conftest.$ac_objext'
25073
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074
 
  (eval $ac_try) 2>&5
 
27669
  { (case "(($ac_try" in
 
27670
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27671
  *) ac_try_echo=$ac_try;;
 
27672
esac
 
27673
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27674
  (eval "$ac_try") 2>&5
25075
27675
  ac_status=$?
25076
27676
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077
27677
  (exit $ac_status); }; }; then
25080
27680
  echo "$as_me: failed program was:" >&5
25081
27681
sed 's/^/| /' conftest.$ac_ext >&5
25082
27682
 
25083
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
27683
        ac_lo=`expr '(' $ac_mid ')' + 1`
25084
27684
fi
25085
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27685
 
 
27686
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25086
27687
done
25087
27688
case $ac_lo in
25088
27689
?*) ac_cv_sizeof_int=$ac_lo;;
25089
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
27690
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25090
27691
See \`config.log' for more details." >&5
25091
 
echo "$as_me: error: cannot compute sizeof (int), 77
 
27692
echo "$as_me: error: cannot compute sizeof (int)
25092
27693
See \`config.log' for more details." >&2;}
25093
 
   { (exit 1); exit 1; }; } ;;
 
27694
   { (exit 77); exit 77; }; } ;;
25094
27695
esac
25095
27696
else
25096
 
  if test "$cross_compiling" = yes; then
25097
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25098
 
See \`config.log' for more details." >&5
25099
 
echo "$as_me: error: cannot run test program while cross compiling
25100
 
See \`config.log' for more details." >&2;}
25101
 
   { (exit 1); exit 1; }; }
25102
 
else
25103
27697
  cat >conftest.$ac_ext <<_ACEOF
25104
27698
/* confdefs.h.  */
25105
27699
_ACEOF
25107
27701
cat >>conftest.$ac_ext <<_ACEOF
25108
27702
/* end confdefs.h.  */
25109
27703
$ac_includes_default
25110
 
long longval () { return (long) (sizeof (int)); }
25111
 
unsigned long ulongval () { return (long) (sizeof (int)); }
 
27704
                   typedef int ac__type_sizeof_;
 
27705
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
27706
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25112
27707
#include <stdio.h>
25113
27708
#include <stdlib.h>
25114
27709
int
25117
27712
 
25118
27713
  FILE *f = fopen ("conftest.val", "w");
25119
27714
  if (! f)
25120
 
    exit (1);
25121
 
  if (((long) (sizeof (int))) < 0)
 
27715
    return 1;
 
27716
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25122
27717
    {
25123
 
      long i = longval ();
25124
 
      if (i != ((long) (sizeof (int))))
25125
 
        exit (1);
 
27718
      long int i = longval ();
 
27719
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
27720
        return 1;
25126
27721
      fprintf (f, "%ld\n", i);
25127
27722
    }
25128
27723
  else
25129
27724
    {
25130
 
      unsigned long i = ulongval ();
25131
 
      if (i != ((long) (sizeof (int))))
25132
 
        exit (1);
 
27725
      unsigned long int i = ulongval ();
 
27726
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
27727
        return 1;
25133
27728
      fprintf (f, "%lu\n", i);
25134
27729
    }
25135
 
  exit (ferror (f) || fclose (f) != 0);
 
27730
  return ferror (f) || fclose (f) != 0;
25136
27731
 
25137
27732
  ;
25138
27733
  return 0;
25139
27734
}
25140
27735
_ACEOF
25141
27736
rm -f conftest$ac_exeext
25142
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25143
 
  (eval $ac_link) 2>&5
 
27737
if { (ac_try="$ac_link"
 
27738
case "(($ac_try" in
 
27739
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27740
  *) ac_try_echo=$ac_try;;
 
27741
esac
 
27742
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27743
  (eval "$ac_link") 2>&5
25144
27744
  ac_status=$?
25145
27745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146
27746
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25147
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25148
 
  (eval $ac_try) 2>&5
 
27747
  { (case "(($ac_try" in
 
27748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27749
  *) ac_try_echo=$ac_try;;
 
27750
esac
 
27751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27752
  (eval "$ac_try") 2>&5
25149
27753
  ac_status=$?
25150
27754
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151
27755
  (exit $ac_status); }; }; then
25156
27760
sed 's/^/| /' conftest.$ac_ext >&5
25157
27761
 
25158
27762
( exit $ac_status )
25159
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
27763
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25160
27764
See \`config.log' for more details." >&5
25161
 
echo "$as_me: error: cannot compute sizeof (int), 77
 
27765
echo "$as_me: error: cannot compute sizeof (int)
25162
27766
See \`config.log' for more details." >&2;}
25163
 
   { (exit 1); exit 1; }; }
25164
 
fi
25165
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25166
 
fi
 
27767
   { (exit 77); exit 77; }; }
 
27768
fi
 
27769
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25167
27770
fi
25168
27771
rm -f conftest.val
25169
27772
else
25170
27773
  ac_cv_sizeof_int=0
25171
27774
fi
25172
27775
fi
25173
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
25174
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
 
27776
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
 
27777
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
25175
27778
cat >>confdefs.h <<_ACEOF
25176
27779
#define SIZEOF_INT $ac_cv_sizeof_int
25177
27780
_ACEOF
25178
27781
 
25179
 
   echo "$as_me:$LINENO: checking for short" >&5
25180
 
echo $ECHO_N "checking for short... $ECHO_C" >&6
 
27782
   { echo "$as_me:$LINENO: checking for short" >&5
 
27783
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
25181
27784
if test "${ac_cv_type_short+set}" = set; then
25182
27785
  echo $ECHO_N "(cached) $ECHO_C" >&6
25183
27786
else
25188
27791
cat >>conftest.$ac_ext <<_ACEOF
25189
27792
/* end confdefs.h.  */
25190
27793
$ac_includes_default
 
27794
typedef short ac__type_new_;
25191
27795
int
25192
27796
main ()
25193
27797
{
25194
 
if ((short *) 0)
 
27798
if ((ac__type_new_ *) 0)
25195
27799
  return 0;
25196
 
if (sizeof (short))
 
27800
if (sizeof (ac__type_new_))
25197
27801
  return 0;
25198
27802
  ;
25199
27803
  return 0;
25200
27804
}
25201
27805
_ACEOF
25202
27806
rm -f conftest.$ac_objext
25203
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25204
 
  (eval $ac_compile) 2>conftest.er1
 
27807
if { (ac_try="$ac_compile"
 
27808
case "(($ac_try" in
 
27809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27810
  *) ac_try_echo=$ac_try;;
 
27811
esac
 
27812
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27813
  (eval "$ac_compile") 2>conftest.er1
25205
27814
  ac_status=$?
25206
27815
  grep -v '^ *+' conftest.er1 >conftest.err
25207
27816
  rm -f conftest.er1
25208
27817
  cat conftest.err >&5
25209
27818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210
27819
  (exit $ac_status); } &&
25211
 
         { ac_try='test -z "$ac_c_werror_flag"
25212
 
                         || test ! -s conftest.err'
25213
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25214
 
  (eval $ac_try) 2>&5
 
27820
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27821
  { (case "(($ac_try" in
 
27822
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27823
  *) ac_try_echo=$ac_try;;
 
27824
esac
 
27825
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27826
  (eval "$ac_try") 2>&5
25215
27827
  ac_status=$?
25216
27828
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217
27829
  (exit $ac_status); }; } &&
25218
27830
         { ac_try='test -s conftest.$ac_objext'
25219
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220
 
  (eval $ac_try) 2>&5
 
27831
  { (case "(($ac_try" in
 
27832
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27833
  *) ac_try_echo=$ac_try;;
 
27834
esac
 
27835
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27836
  (eval "$ac_try") 2>&5
25221
27837
  ac_status=$?
25222
27838
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223
27839
  (exit $ac_status); }; }; then
25226
27842
  echo "$as_me: failed program was:" >&5
25227
27843
sed 's/^/| /' conftest.$ac_ext >&5
25228
27844
 
25229
 
ac_cv_type_short=no
25230
 
fi
25231
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25232
 
fi
25233
 
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
25234
 
echo "${ECHO_T}$ac_cv_type_short" >&6
25235
 
 
25236
 
echo "$as_me:$LINENO: checking size of short" >&5
25237
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6
 
27845
        ac_cv_type_short=no
 
27846
fi
 
27847
 
 
27848
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
27849
fi
 
27850
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
 
27851
echo "${ECHO_T}$ac_cv_type_short" >&6; }
 
27852
 
 
27853
{ echo "$as_me:$LINENO: checking size of short" >&5
 
27854
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
25238
27855
if test "${ac_cv_sizeof_short+set}" = set; then
25239
27856
  echo $ECHO_N "(cached) $ECHO_C" >&6
25240
27857
else
25241
27858
  if test "$ac_cv_type_short" = yes; then
25242
 
  # The cast to unsigned long works around a bug in the HP C Compiler
 
27859
  # The cast to long int works around a bug in the HP C Compiler
25243
27860
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25244
27861
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25245
27862
  # This bug is HP SR number 8606223364.
25252
27869
cat >>conftest.$ac_ext <<_ACEOF
25253
27870
/* end confdefs.h.  */
25254
27871
$ac_includes_default
 
27872
                   typedef short ac__type_sizeof_;
25255
27873
int
25256
27874
main ()
25257
27875
{
25258
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
 
27876
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25259
27877
test_array [0] = 0
25260
27878
 
25261
27879
  ;
25263
27881
}
25264
27882
_ACEOF
25265
27883
rm -f conftest.$ac_objext
25266
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25267
 
  (eval $ac_compile) 2>conftest.er1
 
27884
if { (ac_try="$ac_compile"
 
27885
case "(($ac_try" in
 
27886
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27887
  *) ac_try_echo=$ac_try;;
 
27888
esac
 
27889
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27890
  (eval "$ac_compile") 2>conftest.er1
25268
27891
  ac_status=$?
25269
27892
  grep -v '^ *+' conftest.er1 >conftest.err
25270
27893
  rm -f conftest.er1
25271
27894
  cat conftest.err >&5
25272
27895
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273
27896
  (exit $ac_status); } &&
25274
 
         { ac_try='test -z "$ac_c_werror_flag"
25275
 
                         || test ! -s conftest.err'
25276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25277
 
  (eval $ac_try) 2>&5
 
27897
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27898
  { (case "(($ac_try" in
 
27899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27900
  *) ac_try_echo=$ac_try;;
 
27901
esac
 
27902
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27903
  (eval "$ac_try") 2>&5
25278
27904
  ac_status=$?
25279
27905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280
27906
  (exit $ac_status); }; } &&
25281
27907
         { ac_try='test -s conftest.$ac_objext'
25282
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25283
 
  (eval $ac_try) 2>&5
 
27908
  { (case "(($ac_try" in
 
27909
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27910
  *) ac_try_echo=$ac_try;;
 
27911
esac
 
27912
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27913
  (eval "$ac_try") 2>&5
25284
27914
  ac_status=$?
25285
27915
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286
27916
  (exit $ac_status); }; }; then
25293
27923
cat >>conftest.$ac_ext <<_ACEOF
25294
27924
/* end confdefs.h.  */
25295
27925
$ac_includes_default
 
27926
                   typedef short ac__type_sizeof_;
25296
27927
int
25297
27928
main ()
25298
27929
{
25299
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
27930
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25300
27931
test_array [0] = 0
25301
27932
 
25302
27933
  ;
25304
27935
}
25305
27936
_ACEOF
25306
27937
rm -f conftest.$ac_objext
25307
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25308
 
  (eval $ac_compile) 2>conftest.er1
 
27938
if { (ac_try="$ac_compile"
 
27939
case "(($ac_try" in
 
27940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27941
  *) ac_try_echo=$ac_try;;
 
27942
esac
 
27943
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27944
  (eval "$ac_compile") 2>conftest.er1
25309
27945
  ac_status=$?
25310
27946
  grep -v '^ *+' conftest.er1 >conftest.err
25311
27947
  rm -f conftest.er1
25312
27948
  cat conftest.err >&5
25313
27949
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314
27950
  (exit $ac_status); } &&
25315
 
         { ac_try='test -z "$ac_c_werror_flag"
25316
 
                         || test ! -s conftest.err'
25317
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25318
 
  (eval $ac_try) 2>&5
 
27951
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
27952
  { (case "(($ac_try" in
 
27953
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27954
  *) ac_try_echo=$ac_try;;
 
27955
esac
 
27956
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27957
  (eval "$ac_try") 2>&5
25319
27958
  ac_status=$?
25320
27959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321
27960
  (exit $ac_status); }; } &&
25322
27961
         { ac_try='test -s conftest.$ac_objext'
25323
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25324
 
  (eval $ac_try) 2>&5
 
27962
  { (case "(($ac_try" in
 
27963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27964
  *) ac_try_echo=$ac_try;;
 
27965
esac
 
27966
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27967
  (eval "$ac_try") 2>&5
25325
27968
  ac_status=$?
25326
27969
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327
27970
  (exit $ac_status); }; }; then
25330
27973
  echo "$as_me: failed program was:" >&5
25331
27974
sed 's/^/| /' conftest.$ac_ext >&5
25332
27975
 
25333
 
ac_lo=`expr $ac_mid + 1`
25334
 
                    if test $ac_lo -le $ac_mid; then
25335
 
                      ac_lo= ac_hi=
25336
 
                      break
25337
 
                    fi
25338
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
27976
        ac_lo=`expr $ac_mid + 1`
 
27977
                        if test $ac_lo -le $ac_mid; then
 
27978
                          ac_lo= ac_hi=
 
27979
                          break
 
27980
                        fi
 
27981
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25339
27982
fi
25340
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27983
 
 
27984
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25341
27985
  done
25342
27986
else
25343
27987
  echo "$as_me: failed program was:" >&5
25344
27988
sed 's/^/| /' conftest.$ac_ext >&5
25345
27989
 
25346
 
cat >conftest.$ac_ext <<_ACEOF
 
27990
        cat >conftest.$ac_ext <<_ACEOF
25347
27991
/* confdefs.h.  */
25348
27992
_ACEOF
25349
27993
cat confdefs.h >>conftest.$ac_ext
25350
27994
cat >>conftest.$ac_ext <<_ACEOF
25351
27995
/* end confdefs.h.  */
25352
27996
$ac_includes_default
 
27997
                   typedef short ac__type_sizeof_;
25353
27998
int
25354
27999
main ()
25355
28000
{
25356
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
 
28001
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25357
28002
test_array [0] = 0
25358
28003
 
25359
28004
  ;
25361
28006
}
25362
28007
_ACEOF
25363
28008
rm -f conftest.$ac_objext
25364
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25365
 
  (eval $ac_compile) 2>conftest.er1
 
28009
if { (ac_try="$ac_compile"
 
28010
case "(($ac_try" in
 
28011
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28012
  *) ac_try_echo=$ac_try;;
 
28013
esac
 
28014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28015
  (eval "$ac_compile") 2>conftest.er1
25366
28016
  ac_status=$?
25367
28017
  grep -v '^ *+' conftest.er1 >conftest.err
25368
28018
  rm -f conftest.er1
25369
28019
  cat conftest.err >&5
25370
28020
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371
28021
  (exit $ac_status); } &&
25372
 
         { ac_try='test -z "$ac_c_werror_flag"
25373
 
                         || test ! -s conftest.err'
25374
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25375
 
  (eval $ac_try) 2>&5
 
28022
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28023
  { (case "(($ac_try" in
 
28024
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28025
  *) ac_try_echo=$ac_try;;
 
28026
esac
 
28027
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28028
  (eval "$ac_try") 2>&5
25376
28029
  ac_status=$?
25377
28030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25378
28031
  (exit $ac_status); }; } &&
25379
28032
         { ac_try='test -s conftest.$ac_objext'
25380
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25381
 
  (eval $ac_try) 2>&5
 
28033
  { (case "(($ac_try" in
 
28034
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28035
  *) ac_try_echo=$ac_try;;
 
28036
esac
 
28037
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28038
  (eval "$ac_try") 2>&5
25382
28039
  ac_status=$?
25383
28040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384
28041
  (exit $ac_status); }; }; then
25391
28048
cat >>conftest.$ac_ext <<_ACEOF
25392
28049
/* end confdefs.h.  */
25393
28050
$ac_includes_default
 
28051
                   typedef short ac__type_sizeof_;
25394
28052
int
25395
28053
main ()
25396
28054
{
25397
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
 
28055
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25398
28056
test_array [0] = 0
25399
28057
 
25400
28058
  ;
25402
28060
}
25403
28061
_ACEOF
25404
28062
rm -f conftest.$ac_objext
25405
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25406
 
  (eval $ac_compile) 2>conftest.er1
 
28063
if { (ac_try="$ac_compile"
 
28064
case "(($ac_try" in
 
28065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28066
  *) ac_try_echo=$ac_try;;
 
28067
esac
 
28068
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28069
  (eval "$ac_compile") 2>conftest.er1
25407
28070
  ac_status=$?
25408
28071
  grep -v '^ *+' conftest.er1 >conftest.err
25409
28072
  rm -f conftest.er1
25410
28073
  cat conftest.err >&5
25411
28074
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412
28075
  (exit $ac_status); } &&
25413
 
         { ac_try='test -z "$ac_c_werror_flag"
25414
 
                         || test ! -s conftest.err'
25415
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25416
 
  (eval $ac_try) 2>&5
 
28076
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28077
  { (case "(($ac_try" in
 
28078
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28079
  *) ac_try_echo=$ac_try;;
 
28080
esac
 
28081
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28082
  (eval "$ac_try") 2>&5
25417
28083
  ac_status=$?
25418
28084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419
28085
  (exit $ac_status); }; } &&
25420
28086
         { ac_try='test -s conftest.$ac_objext'
25421
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25422
 
  (eval $ac_try) 2>&5
 
28087
  { (case "(($ac_try" in
 
28088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28089
  *) ac_try_echo=$ac_try;;
 
28090
esac
 
28091
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28092
  (eval "$ac_try") 2>&5
25423
28093
  ac_status=$?
25424
28094
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425
28095
  (exit $ac_status); }; }; then
25428
28098
  echo "$as_me: failed program was:" >&5
25429
28099
sed 's/^/| /' conftest.$ac_ext >&5
25430
28100
 
25431
 
ac_hi=`expr '(' $ac_mid ')' - 1`
25432
 
                       if test $ac_mid -le $ac_hi; then
25433
 
                         ac_lo= ac_hi=
25434
 
                         break
25435
 
                       fi
25436
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
28101
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
28102
                        if test $ac_mid -le $ac_hi; then
 
28103
                          ac_lo= ac_hi=
 
28104
                          break
 
28105
                        fi
 
28106
                        ac_mid=`expr 2 '*' $ac_mid`
25437
28107
fi
25438
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28108
 
 
28109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25439
28110
  done
25440
28111
else
25441
28112
  echo "$as_me: failed program was:" >&5
25442
28113
sed 's/^/| /' conftest.$ac_ext >&5
25443
28114
 
25444
 
ac_lo= ac_hi=
25445
 
fi
25446
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25447
 
fi
25448
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28115
        ac_lo= ac_hi=
 
28116
fi
 
28117
 
 
28118
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
28119
fi
 
28120
 
 
28121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25449
28122
# Binary search between lo and hi bounds.
25450
28123
while test "x$ac_lo" != "x$ac_hi"; do
25451
28124
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25456
28129
cat >>conftest.$ac_ext <<_ACEOF
25457
28130
/* end confdefs.h.  */
25458
28131
$ac_includes_default
 
28132
                   typedef short ac__type_sizeof_;
25459
28133
int
25460
28134
main ()
25461
28135
{
25462
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
28136
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25463
28137
test_array [0] = 0
25464
28138
 
25465
28139
  ;
25467
28141
}
25468
28142
_ACEOF
25469
28143
rm -f conftest.$ac_objext
25470
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25471
 
  (eval $ac_compile) 2>conftest.er1
 
28144
if { (ac_try="$ac_compile"
 
28145
case "(($ac_try" in
 
28146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28147
  *) ac_try_echo=$ac_try;;
 
28148
esac
 
28149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28150
  (eval "$ac_compile") 2>conftest.er1
25472
28151
  ac_status=$?
25473
28152
  grep -v '^ *+' conftest.er1 >conftest.err
25474
28153
  rm -f conftest.er1
25475
28154
  cat conftest.err >&5
25476
28155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477
28156
  (exit $ac_status); } &&
25478
 
         { ac_try='test -z "$ac_c_werror_flag"
25479
 
                         || test ! -s conftest.err'
25480
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25481
 
  (eval $ac_try) 2>&5
 
28157
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28158
  { (case "(($ac_try" in
 
28159
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28160
  *) ac_try_echo=$ac_try;;
 
28161
esac
 
28162
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28163
  (eval "$ac_try") 2>&5
25482
28164
  ac_status=$?
25483
28165
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484
28166
  (exit $ac_status); }; } &&
25485
28167
         { ac_try='test -s conftest.$ac_objext'
25486
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25487
 
  (eval $ac_try) 2>&5
 
28168
  { (case "(($ac_try" in
 
28169
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28170
  *) ac_try_echo=$ac_try;;
 
28171
esac
 
28172
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28173
  (eval "$ac_try") 2>&5
25488
28174
  ac_status=$?
25489
28175
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490
28176
  (exit $ac_status); }; }; then
25493
28179
  echo "$as_me: failed program was:" >&5
25494
28180
sed 's/^/| /' conftest.$ac_ext >&5
25495
28181
 
25496
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
28182
        ac_lo=`expr '(' $ac_mid ')' + 1`
25497
28183
fi
25498
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28184
 
 
28185
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25499
28186
done
25500
28187
case $ac_lo in
25501
28188
?*) ac_cv_sizeof_short=$ac_lo;;
25502
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
28189
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
25503
28190
See \`config.log' for more details." >&5
25504
 
echo "$as_me: error: cannot compute sizeof (short), 77
 
28191
echo "$as_me: error: cannot compute sizeof (short)
25505
28192
See \`config.log' for more details." >&2;}
25506
 
   { (exit 1); exit 1; }; } ;;
 
28193
   { (exit 77); exit 77; }; } ;;
25507
28194
esac
25508
28195
else
25509
 
  if test "$cross_compiling" = yes; then
25510
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25511
 
See \`config.log' for more details." >&5
25512
 
echo "$as_me: error: cannot run test program while cross compiling
25513
 
See \`config.log' for more details." >&2;}
25514
 
   { (exit 1); exit 1; }; }
25515
 
else
25516
28196
  cat >conftest.$ac_ext <<_ACEOF
25517
28197
/* confdefs.h.  */
25518
28198
_ACEOF
25520
28200
cat >>conftest.$ac_ext <<_ACEOF
25521
28201
/* end confdefs.h.  */
25522
28202
$ac_includes_default
25523
 
long longval () { return (long) (sizeof (short)); }
25524
 
unsigned long ulongval () { return (long) (sizeof (short)); }
 
28203
                   typedef short ac__type_sizeof_;
 
28204
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
28205
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25525
28206
#include <stdio.h>
25526
28207
#include <stdlib.h>
25527
28208
int
25530
28211
 
25531
28212
  FILE *f = fopen ("conftest.val", "w");
25532
28213
  if (! f)
25533
 
    exit (1);
25534
 
  if (((long) (sizeof (short))) < 0)
 
28214
    return 1;
 
28215
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25535
28216
    {
25536
 
      long i = longval ();
25537
 
      if (i != ((long) (sizeof (short))))
25538
 
        exit (1);
 
28217
      long int i = longval ();
 
28218
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
28219
        return 1;
25539
28220
      fprintf (f, "%ld\n", i);
25540
28221
    }
25541
28222
  else
25542
28223
    {
25543
 
      unsigned long i = ulongval ();
25544
 
      if (i != ((long) (sizeof (short))))
25545
 
        exit (1);
 
28224
      unsigned long int i = ulongval ();
 
28225
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
28226
        return 1;
25546
28227
      fprintf (f, "%lu\n", i);
25547
28228
    }
25548
 
  exit (ferror (f) || fclose (f) != 0);
 
28229
  return ferror (f) || fclose (f) != 0;
25549
28230
 
25550
28231
  ;
25551
28232
  return 0;
25552
28233
}
25553
28234
_ACEOF
25554
28235
rm -f conftest$ac_exeext
25555
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25556
 
  (eval $ac_link) 2>&5
 
28236
if { (ac_try="$ac_link"
 
28237
case "(($ac_try" in
 
28238
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28239
  *) ac_try_echo=$ac_try;;
 
28240
esac
 
28241
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28242
  (eval "$ac_link") 2>&5
25557
28243
  ac_status=$?
25558
28244
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559
28245
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25560
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561
 
  (eval $ac_try) 2>&5
 
28246
  { (case "(($ac_try" in
 
28247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28248
  *) ac_try_echo=$ac_try;;
 
28249
esac
 
28250
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28251
  (eval "$ac_try") 2>&5
25562
28252
  ac_status=$?
25563
28253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564
28254
  (exit $ac_status); }; }; then
25569
28259
sed 's/^/| /' conftest.$ac_ext >&5
25570
28260
 
25571
28261
( exit $ac_status )
25572
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
28262
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
25573
28263
See \`config.log' for more details." >&5
25574
 
echo "$as_me: error: cannot compute sizeof (short), 77
 
28264
echo "$as_me: error: cannot compute sizeof (short)
25575
28265
See \`config.log' for more details." >&2;}
25576
 
   { (exit 1); exit 1; }; }
25577
 
fi
25578
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25579
 
fi
 
28266
   { (exit 77); exit 77; }; }
 
28267
fi
 
28268
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25580
28269
fi
25581
28270
rm -f conftest.val
25582
28271
else
25583
28272
  ac_cv_sizeof_short=0
25584
28273
fi
25585
28274
fi
25586
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
25587
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
 
28275
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
 
28276
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
25588
28277
cat >>confdefs.h <<_ACEOF
25589
28278
#define SIZEOF_SHORT $ac_cv_sizeof_short
25590
28279
_ACEOF
25591
28280
 
25592
 
  echo "$as_me:$LINENO: checking for long" >&5
25593
 
echo $ECHO_N "checking for long... $ECHO_C" >&6
 
28281
  { echo "$as_me:$LINENO: checking for long" >&5
 
28282
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
25594
28283
if test "${ac_cv_type_long+set}" = set; then
25595
28284
  echo $ECHO_N "(cached) $ECHO_C" >&6
25596
28285
else
25601
28290
cat >>conftest.$ac_ext <<_ACEOF
25602
28291
/* end confdefs.h.  */
25603
28292
$ac_includes_default
 
28293
typedef long ac__type_new_;
25604
28294
int
25605
28295
main ()
25606
28296
{
25607
 
if ((long *) 0)
 
28297
if ((ac__type_new_ *) 0)
25608
28298
  return 0;
25609
 
if (sizeof (long))
 
28299
if (sizeof (ac__type_new_))
25610
28300
  return 0;
25611
28301
  ;
25612
28302
  return 0;
25613
28303
}
25614
28304
_ACEOF
25615
28305
rm -f conftest.$ac_objext
25616
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25617
 
  (eval $ac_compile) 2>conftest.er1
 
28306
if { (ac_try="$ac_compile"
 
28307
case "(($ac_try" in
 
28308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28309
  *) ac_try_echo=$ac_try;;
 
28310
esac
 
28311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28312
  (eval "$ac_compile") 2>conftest.er1
25618
28313
  ac_status=$?
25619
28314
  grep -v '^ *+' conftest.er1 >conftest.err
25620
28315
  rm -f conftest.er1
25621
28316
  cat conftest.err >&5
25622
28317
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623
28318
  (exit $ac_status); } &&
25624
 
         { ac_try='test -z "$ac_c_werror_flag"
25625
 
                         || test ! -s conftest.err'
25626
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25627
 
  (eval $ac_try) 2>&5
 
28319
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28320
  { (case "(($ac_try" in
 
28321
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28322
  *) ac_try_echo=$ac_try;;
 
28323
esac
 
28324
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28325
  (eval "$ac_try") 2>&5
25628
28326
  ac_status=$?
25629
28327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630
28328
  (exit $ac_status); }; } &&
25631
28329
         { ac_try='test -s conftest.$ac_objext'
25632
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25633
 
  (eval $ac_try) 2>&5
 
28330
  { (case "(($ac_try" in
 
28331
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28332
  *) ac_try_echo=$ac_try;;
 
28333
esac
 
28334
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28335
  (eval "$ac_try") 2>&5
25634
28336
  ac_status=$?
25635
28337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636
28338
  (exit $ac_status); }; }; then
25639
28341
  echo "$as_me: failed program was:" >&5
25640
28342
sed 's/^/| /' conftest.$ac_ext >&5
25641
28343
 
25642
 
ac_cv_type_long=no
25643
 
fi
25644
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25645
 
fi
25646
 
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
25647
 
echo "${ECHO_T}$ac_cv_type_long" >&6
25648
 
 
25649
 
echo "$as_me:$LINENO: checking size of long" >&5
25650
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6
 
28344
        ac_cv_type_long=no
 
28345
fi
 
28346
 
 
28347
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
28348
fi
 
28349
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
 
28350
echo "${ECHO_T}$ac_cv_type_long" >&6; }
 
28351
 
 
28352
{ echo "$as_me:$LINENO: checking size of long" >&5
 
28353
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
25651
28354
if test "${ac_cv_sizeof_long+set}" = set; then
25652
28355
  echo $ECHO_N "(cached) $ECHO_C" >&6
25653
28356
else
25654
28357
  if test "$ac_cv_type_long" = yes; then
25655
 
  # The cast to unsigned long works around a bug in the HP C Compiler
 
28358
  # The cast to long int works around a bug in the HP C Compiler
25656
28359
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25657
28360
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25658
28361
  # This bug is HP SR number 8606223364.
25665
28368
cat >>conftest.$ac_ext <<_ACEOF
25666
28369
/* end confdefs.h.  */
25667
28370
$ac_includes_default
 
28371
                   typedef long ac__type_sizeof_;
25668
28372
int
25669
28373
main ()
25670
28374
{
25671
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
 
28375
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25672
28376
test_array [0] = 0
25673
28377
 
25674
28378
  ;
25676
28380
}
25677
28381
_ACEOF
25678
28382
rm -f conftest.$ac_objext
25679
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25680
 
  (eval $ac_compile) 2>conftest.er1
 
28383
if { (ac_try="$ac_compile"
 
28384
case "(($ac_try" in
 
28385
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28386
  *) ac_try_echo=$ac_try;;
 
28387
esac
 
28388
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28389
  (eval "$ac_compile") 2>conftest.er1
25681
28390
  ac_status=$?
25682
28391
  grep -v '^ *+' conftest.er1 >conftest.err
25683
28392
  rm -f conftest.er1
25684
28393
  cat conftest.err >&5
25685
28394
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686
28395
  (exit $ac_status); } &&
25687
 
         { ac_try='test -z "$ac_c_werror_flag"
25688
 
                         || test ! -s conftest.err'
25689
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25690
 
  (eval $ac_try) 2>&5
 
28396
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28397
  { (case "(($ac_try" in
 
28398
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28399
  *) ac_try_echo=$ac_try;;
 
28400
esac
 
28401
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28402
  (eval "$ac_try") 2>&5
25691
28403
  ac_status=$?
25692
28404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693
28405
  (exit $ac_status); }; } &&
25694
28406
         { ac_try='test -s conftest.$ac_objext'
25695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25696
 
  (eval $ac_try) 2>&5
 
28407
  { (case "(($ac_try" in
 
28408
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28409
  *) ac_try_echo=$ac_try;;
 
28410
esac
 
28411
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28412
  (eval "$ac_try") 2>&5
25697
28413
  ac_status=$?
25698
28414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699
28415
  (exit $ac_status); }; }; then
25706
28422
cat >>conftest.$ac_ext <<_ACEOF
25707
28423
/* end confdefs.h.  */
25708
28424
$ac_includes_default
 
28425
                   typedef long ac__type_sizeof_;
25709
28426
int
25710
28427
main ()
25711
28428
{
25712
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
28429
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25713
28430
test_array [0] = 0
25714
28431
 
25715
28432
  ;
25717
28434
}
25718
28435
_ACEOF
25719
28436
rm -f conftest.$ac_objext
25720
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25721
 
  (eval $ac_compile) 2>conftest.er1
 
28437
if { (ac_try="$ac_compile"
 
28438
case "(($ac_try" in
 
28439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28440
  *) ac_try_echo=$ac_try;;
 
28441
esac
 
28442
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28443
  (eval "$ac_compile") 2>conftest.er1
25722
28444
  ac_status=$?
25723
28445
  grep -v '^ *+' conftest.er1 >conftest.err
25724
28446
  rm -f conftest.er1
25725
28447
  cat conftest.err >&5
25726
28448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727
28449
  (exit $ac_status); } &&
25728
 
         { ac_try='test -z "$ac_c_werror_flag"
25729
 
                         || test ! -s conftest.err'
25730
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731
 
  (eval $ac_try) 2>&5
 
28450
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28451
  { (case "(($ac_try" in
 
28452
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28453
  *) ac_try_echo=$ac_try;;
 
28454
esac
 
28455
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28456
  (eval "$ac_try") 2>&5
25732
28457
  ac_status=$?
25733
28458
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734
28459
  (exit $ac_status); }; } &&
25735
28460
         { ac_try='test -s conftest.$ac_objext'
25736
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737
 
  (eval $ac_try) 2>&5
 
28461
  { (case "(($ac_try" in
 
28462
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28463
  *) ac_try_echo=$ac_try;;
 
28464
esac
 
28465
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28466
  (eval "$ac_try") 2>&5
25738
28467
  ac_status=$?
25739
28468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740
28469
  (exit $ac_status); }; }; then
25743
28472
  echo "$as_me: failed program was:" >&5
25744
28473
sed 's/^/| /' conftest.$ac_ext >&5
25745
28474
 
25746
 
ac_lo=`expr $ac_mid + 1`
25747
 
                    if test $ac_lo -le $ac_mid; then
25748
 
                      ac_lo= ac_hi=
25749
 
                      break
25750
 
                    fi
25751
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
28475
        ac_lo=`expr $ac_mid + 1`
 
28476
                        if test $ac_lo -le $ac_mid; then
 
28477
                          ac_lo= ac_hi=
 
28478
                          break
 
28479
                        fi
 
28480
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25752
28481
fi
25753
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28482
 
 
28483
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25754
28484
  done
25755
28485
else
25756
28486
  echo "$as_me: failed program was:" >&5
25757
28487
sed 's/^/| /' conftest.$ac_ext >&5
25758
28488
 
25759
 
cat >conftest.$ac_ext <<_ACEOF
 
28489
        cat >conftest.$ac_ext <<_ACEOF
25760
28490
/* confdefs.h.  */
25761
28491
_ACEOF
25762
28492
cat confdefs.h >>conftest.$ac_ext
25763
28493
cat >>conftest.$ac_ext <<_ACEOF
25764
28494
/* end confdefs.h.  */
25765
28495
$ac_includes_default
 
28496
                   typedef long ac__type_sizeof_;
25766
28497
int
25767
28498
main ()
25768
28499
{
25769
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
 
28500
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25770
28501
test_array [0] = 0
25771
28502
 
25772
28503
  ;
25774
28505
}
25775
28506
_ACEOF
25776
28507
rm -f conftest.$ac_objext
25777
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25778
 
  (eval $ac_compile) 2>conftest.er1
 
28508
if { (ac_try="$ac_compile"
 
28509
case "(($ac_try" in
 
28510
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28511
  *) ac_try_echo=$ac_try;;
 
28512
esac
 
28513
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28514
  (eval "$ac_compile") 2>conftest.er1
25779
28515
  ac_status=$?
25780
28516
  grep -v '^ *+' conftest.er1 >conftest.err
25781
28517
  rm -f conftest.er1
25782
28518
  cat conftest.err >&5
25783
28519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25784
28520
  (exit $ac_status); } &&
25785
 
         { ac_try='test -z "$ac_c_werror_flag"
25786
 
                         || test ! -s conftest.err'
25787
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25788
 
  (eval $ac_try) 2>&5
 
28521
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28522
  { (case "(($ac_try" in
 
28523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28524
  *) ac_try_echo=$ac_try;;
 
28525
esac
 
28526
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28527
  (eval "$ac_try") 2>&5
25789
28528
  ac_status=$?
25790
28529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791
28530
  (exit $ac_status); }; } &&
25792
28531
         { ac_try='test -s conftest.$ac_objext'
25793
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794
 
  (eval $ac_try) 2>&5
 
28532
  { (case "(($ac_try" in
 
28533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28534
  *) ac_try_echo=$ac_try;;
 
28535
esac
 
28536
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28537
  (eval "$ac_try") 2>&5
25795
28538
  ac_status=$?
25796
28539
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797
28540
  (exit $ac_status); }; }; then
25804
28547
cat >>conftest.$ac_ext <<_ACEOF
25805
28548
/* end confdefs.h.  */
25806
28549
$ac_includes_default
 
28550
                   typedef long ac__type_sizeof_;
25807
28551
int
25808
28552
main ()
25809
28553
{
25810
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
 
28554
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25811
28555
test_array [0] = 0
25812
28556
 
25813
28557
  ;
25815
28559
}
25816
28560
_ACEOF
25817
28561
rm -f conftest.$ac_objext
25818
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25819
 
  (eval $ac_compile) 2>conftest.er1
 
28562
if { (ac_try="$ac_compile"
 
28563
case "(($ac_try" in
 
28564
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28565
  *) ac_try_echo=$ac_try;;
 
28566
esac
 
28567
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28568
  (eval "$ac_compile") 2>conftest.er1
25820
28569
  ac_status=$?
25821
28570
  grep -v '^ *+' conftest.er1 >conftest.err
25822
28571
  rm -f conftest.er1
25823
28572
  cat conftest.err >&5
25824
28573
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25825
28574
  (exit $ac_status); } &&
25826
 
         { ac_try='test -z "$ac_c_werror_flag"
25827
 
                         || test ! -s conftest.err'
25828
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25829
 
  (eval $ac_try) 2>&5
 
28575
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28576
  { (case "(($ac_try" in
 
28577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28578
  *) ac_try_echo=$ac_try;;
 
28579
esac
 
28580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28581
  (eval "$ac_try") 2>&5
25830
28582
  ac_status=$?
25831
28583
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832
28584
  (exit $ac_status); }; } &&
25833
28585
         { ac_try='test -s conftest.$ac_objext'
25834
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25835
 
  (eval $ac_try) 2>&5
 
28586
  { (case "(($ac_try" in
 
28587
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28588
  *) ac_try_echo=$ac_try;;
 
28589
esac
 
28590
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28591
  (eval "$ac_try") 2>&5
25836
28592
  ac_status=$?
25837
28593
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838
28594
  (exit $ac_status); }; }; then
25841
28597
  echo "$as_me: failed program was:" >&5
25842
28598
sed 's/^/| /' conftest.$ac_ext >&5
25843
28599
 
25844
 
ac_hi=`expr '(' $ac_mid ')' - 1`
25845
 
                       if test $ac_mid -le $ac_hi; then
25846
 
                         ac_lo= ac_hi=
25847
 
                         break
25848
 
                       fi
25849
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
28600
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
28601
                        if test $ac_mid -le $ac_hi; then
 
28602
                          ac_lo= ac_hi=
 
28603
                          break
 
28604
                        fi
 
28605
                        ac_mid=`expr 2 '*' $ac_mid`
25850
28606
fi
25851
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28607
 
 
28608
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25852
28609
  done
25853
28610
else
25854
28611
  echo "$as_me: failed program was:" >&5
25855
28612
sed 's/^/| /' conftest.$ac_ext >&5
25856
28613
 
25857
 
ac_lo= ac_hi=
25858
 
fi
25859
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25860
 
fi
25861
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28614
        ac_lo= ac_hi=
 
28615
fi
 
28616
 
 
28617
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
28618
fi
 
28619
 
 
28620
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25862
28621
# Binary search between lo and hi bounds.
25863
28622
while test "x$ac_lo" != "x$ac_hi"; do
25864
28623
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25869
28628
cat >>conftest.$ac_ext <<_ACEOF
25870
28629
/* end confdefs.h.  */
25871
28630
$ac_includes_default
 
28631
                   typedef long ac__type_sizeof_;
25872
28632
int
25873
28633
main ()
25874
28634
{
25875
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
28635
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25876
28636
test_array [0] = 0
25877
28637
 
25878
28638
  ;
25880
28640
}
25881
28641
_ACEOF
25882
28642
rm -f conftest.$ac_objext
25883
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25884
 
  (eval $ac_compile) 2>conftest.er1
 
28643
if { (ac_try="$ac_compile"
 
28644
case "(($ac_try" in
 
28645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28646
  *) ac_try_echo=$ac_try;;
 
28647
esac
 
28648
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28649
  (eval "$ac_compile") 2>conftest.er1
25885
28650
  ac_status=$?
25886
28651
  grep -v '^ *+' conftest.er1 >conftest.err
25887
28652
  rm -f conftest.er1
25888
28653
  cat conftest.err >&5
25889
28654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25890
28655
  (exit $ac_status); } &&
25891
 
         { ac_try='test -z "$ac_c_werror_flag"
25892
 
                         || test ! -s conftest.err'
25893
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25894
 
  (eval $ac_try) 2>&5
 
28656
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28657
  { (case "(($ac_try" in
 
28658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28659
  *) ac_try_echo=$ac_try;;
 
28660
esac
 
28661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28662
  (eval "$ac_try") 2>&5
25895
28663
  ac_status=$?
25896
28664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25897
28665
  (exit $ac_status); }; } &&
25898
28666
         { ac_try='test -s conftest.$ac_objext'
25899
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25900
 
  (eval $ac_try) 2>&5
 
28667
  { (case "(($ac_try" in
 
28668
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28669
  *) ac_try_echo=$ac_try;;
 
28670
esac
 
28671
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28672
  (eval "$ac_try") 2>&5
25901
28673
  ac_status=$?
25902
28674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903
28675
  (exit $ac_status); }; }; then
25906
28678
  echo "$as_me: failed program was:" >&5
25907
28679
sed 's/^/| /' conftest.$ac_ext >&5
25908
28680
 
25909
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
28681
        ac_lo=`expr '(' $ac_mid ')' + 1`
25910
28682
fi
25911
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28683
 
 
28684
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25912
28685
done
25913
28686
case $ac_lo in
25914
28687
?*) ac_cv_sizeof_long=$ac_lo;;
25915
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
28688
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
25916
28689
See \`config.log' for more details." >&5
25917
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
28690
echo "$as_me: error: cannot compute sizeof (long)
25918
28691
See \`config.log' for more details." >&2;}
25919
 
   { (exit 1); exit 1; }; } ;;
 
28692
   { (exit 77); exit 77; }; } ;;
25920
28693
esac
25921
28694
else
25922
 
  if test "$cross_compiling" = yes; then
25923
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25924
 
See \`config.log' for more details." >&5
25925
 
echo "$as_me: error: cannot run test program while cross compiling
25926
 
See \`config.log' for more details." >&2;}
25927
 
   { (exit 1); exit 1; }; }
25928
 
else
25929
28695
  cat >conftest.$ac_ext <<_ACEOF
25930
28696
/* confdefs.h.  */
25931
28697
_ACEOF
25933
28699
cat >>conftest.$ac_ext <<_ACEOF
25934
28700
/* end confdefs.h.  */
25935
28701
$ac_includes_default
25936
 
long longval () { return (long) (sizeof (long)); }
25937
 
unsigned long ulongval () { return (long) (sizeof (long)); }
 
28702
                   typedef long ac__type_sizeof_;
 
28703
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
28704
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25938
28705
#include <stdio.h>
25939
28706
#include <stdlib.h>
25940
28707
int
25943
28710
 
25944
28711
  FILE *f = fopen ("conftest.val", "w");
25945
28712
  if (! f)
25946
 
    exit (1);
25947
 
  if (((long) (sizeof (long))) < 0)
 
28713
    return 1;
 
28714
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25948
28715
    {
25949
 
      long i = longval ();
25950
 
      if (i != ((long) (sizeof (long))))
25951
 
        exit (1);
 
28716
      long int i = longval ();
 
28717
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
28718
        return 1;
25952
28719
      fprintf (f, "%ld\n", i);
25953
28720
    }
25954
28721
  else
25955
28722
    {
25956
 
      unsigned long i = ulongval ();
25957
 
      if (i != ((long) (sizeof (long))))
25958
 
        exit (1);
 
28723
      unsigned long int i = ulongval ();
 
28724
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
28725
        return 1;
25959
28726
      fprintf (f, "%lu\n", i);
25960
28727
    }
25961
 
  exit (ferror (f) || fclose (f) != 0);
 
28728
  return ferror (f) || fclose (f) != 0;
25962
28729
 
25963
28730
  ;
25964
28731
  return 0;
25965
28732
}
25966
28733
_ACEOF
25967
28734
rm -f conftest$ac_exeext
25968
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25969
 
  (eval $ac_link) 2>&5
 
28735
if { (ac_try="$ac_link"
 
28736
case "(($ac_try" in
 
28737
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28738
  *) ac_try_echo=$ac_try;;
 
28739
esac
 
28740
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28741
  (eval "$ac_link") 2>&5
25970
28742
  ac_status=$?
25971
28743
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25972
28744
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25974
 
  (eval $ac_try) 2>&5
 
28745
  { (case "(($ac_try" in
 
28746
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28747
  *) ac_try_echo=$ac_try;;
 
28748
esac
 
28749
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28750
  (eval "$ac_try") 2>&5
25975
28751
  ac_status=$?
25976
28752
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977
28753
  (exit $ac_status); }; }; then
25982
28758
sed 's/^/| /' conftest.$ac_ext >&5
25983
28759
 
25984
28760
( exit $ac_status )
25985
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
28761
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
25986
28762
See \`config.log' for more details." >&5
25987
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
28763
echo "$as_me: error: cannot compute sizeof (long)
25988
28764
See \`config.log' for more details." >&2;}
25989
 
   { (exit 1); exit 1; }; }
25990
 
fi
25991
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25992
 
fi
 
28765
   { (exit 77); exit 77; }; }
 
28766
fi
 
28767
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25993
28768
fi
25994
28769
rm -f conftest.val
25995
28770
else
25996
28771
  ac_cv_sizeof_long=0
25997
28772
fi
25998
28773
fi
25999
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
26000
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
 
28774
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 
28775
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
26001
28776
cat >>confdefs.h <<_ACEOF
26002
28777
#define SIZEOF_LONG $ac_cv_sizeof_long
26003
28778
_ACEOF
26004
28779
 
26005
 
  echo "$as_me:$LINENO: checking for char *" >&5
26006
 
echo $ECHO_N "checking for char *... $ECHO_C" >&6
 
28780
  { echo "$as_me:$LINENO: checking for char *" >&5
 
28781
echo $ECHO_N "checking for char *... $ECHO_C" >&6; }
26007
28782
if test "${ac_cv_type_char_p+set}" = set; then
26008
28783
  echo $ECHO_N "(cached) $ECHO_C" >&6
26009
28784
else
26014
28789
cat >>conftest.$ac_ext <<_ACEOF
26015
28790
/* end confdefs.h.  */
26016
28791
$ac_includes_default
 
28792
typedef char * ac__type_new_;
26017
28793
int
26018
28794
main ()
26019
28795
{
26020
 
if ((char * *) 0)
 
28796
if ((ac__type_new_ *) 0)
26021
28797
  return 0;
26022
 
if (sizeof (char *))
 
28798
if (sizeof (ac__type_new_))
26023
28799
  return 0;
26024
28800
  ;
26025
28801
  return 0;
26026
28802
}
26027
28803
_ACEOF
26028
28804
rm -f conftest.$ac_objext
26029
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26030
 
  (eval $ac_compile) 2>conftest.er1
 
28805
if { (ac_try="$ac_compile"
 
28806
case "(($ac_try" in
 
28807
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28808
  *) ac_try_echo=$ac_try;;
 
28809
esac
 
28810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28811
  (eval "$ac_compile") 2>conftest.er1
26031
28812
  ac_status=$?
26032
28813
  grep -v '^ *+' conftest.er1 >conftest.err
26033
28814
  rm -f conftest.er1
26034
28815
  cat conftest.err >&5
26035
28816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036
28817
  (exit $ac_status); } &&
26037
 
         { ac_try='test -z "$ac_c_werror_flag"
26038
 
                         || test ! -s conftest.err'
26039
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26040
 
  (eval $ac_try) 2>&5
 
28818
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28819
  { (case "(($ac_try" in
 
28820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28821
  *) ac_try_echo=$ac_try;;
 
28822
esac
 
28823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28824
  (eval "$ac_try") 2>&5
26041
28825
  ac_status=$?
26042
28826
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043
28827
  (exit $ac_status); }; } &&
26044
28828
         { ac_try='test -s conftest.$ac_objext'
26045
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26046
 
  (eval $ac_try) 2>&5
 
28829
  { (case "(($ac_try" in
 
28830
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28831
  *) ac_try_echo=$ac_try;;
 
28832
esac
 
28833
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28834
  (eval "$ac_try") 2>&5
26047
28835
  ac_status=$?
26048
28836
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049
28837
  (exit $ac_status); }; }; then
26052
28840
  echo "$as_me: failed program was:" >&5
26053
28841
sed 's/^/| /' conftest.$ac_ext >&5
26054
28842
 
26055
 
ac_cv_type_char_p=no
26056
 
fi
26057
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26058
 
fi
26059
 
echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
26060
 
echo "${ECHO_T}$ac_cv_type_char_p" >&6
26061
 
 
26062
 
echo "$as_me:$LINENO: checking size of char *" >&5
26063
 
echo $ECHO_N "checking size of char *... $ECHO_C" >&6
 
28843
        ac_cv_type_char_p=no
 
28844
fi
 
28845
 
 
28846
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
28847
fi
 
28848
{ echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
 
28849
echo "${ECHO_T}$ac_cv_type_char_p" >&6; }
 
28850
 
 
28851
{ echo "$as_me:$LINENO: checking size of char *" >&5
 
28852
echo $ECHO_N "checking size of char *... $ECHO_C" >&6; }
26064
28853
if test "${ac_cv_sizeof_char_p+set}" = set; then
26065
28854
  echo $ECHO_N "(cached) $ECHO_C" >&6
26066
28855
else
26067
28856
  if test "$ac_cv_type_char_p" = yes; then
26068
 
  # The cast to unsigned long works around a bug in the HP C Compiler
 
28857
  # The cast to long int works around a bug in the HP C Compiler
26069
28858
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26070
28859
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26071
28860
  # This bug is HP SR number 8606223364.
26078
28867
cat >>conftest.$ac_ext <<_ACEOF
26079
28868
/* end confdefs.h.  */
26080
28869
$ac_includes_default
 
28870
                   typedef char * ac__type_sizeof_;
26081
28871
int
26082
28872
main ()
26083
28873
{
26084
 
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= 0)];
 
28874
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26085
28875
test_array [0] = 0
26086
28876
 
26087
28877
  ;
26089
28879
}
26090
28880
_ACEOF
26091
28881
rm -f conftest.$ac_objext
26092
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26093
 
  (eval $ac_compile) 2>conftest.er1
 
28882
if { (ac_try="$ac_compile"
 
28883
case "(($ac_try" in
 
28884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28885
  *) ac_try_echo=$ac_try;;
 
28886
esac
 
28887
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28888
  (eval "$ac_compile") 2>conftest.er1
26094
28889
  ac_status=$?
26095
28890
  grep -v '^ *+' conftest.er1 >conftest.err
26096
28891
  rm -f conftest.er1
26097
28892
  cat conftest.err >&5
26098
28893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099
28894
  (exit $ac_status); } &&
26100
 
         { ac_try='test -z "$ac_c_werror_flag"
26101
 
                         || test ! -s conftest.err'
26102
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26103
 
  (eval $ac_try) 2>&5
 
28895
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28896
  { (case "(($ac_try" in
 
28897
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28898
  *) ac_try_echo=$ac_try;;
 
28899
esac
 
28900
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28901
  (eval "$ac_try") 2>&5
26104
28902
  ac_status=$?
26105
28903
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106
28904
  (exit $ac_status); }; } &&
26107
28905
         { ac_try='test -s conftest.$ac_objext'
26108
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26109
 
  (eval $ac_try) 2>&5
 
28906
  { (case "(($ac_try" in
 
28907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28908
  *) ac_try_echo=$ac_try;;
 
28909
esac
 
28910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28911
  (eval "$ac_try") 2>&5
26110
28912
  ac_status=$?
26111
28913
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112
28914
  (exit $ac_status); }; }; then
26119
28921
cat >>conftest.$ac_ext <<_ACEOF
26120
28922
/* end confdefs.h.  */
26121
28923
$ac_includes_default
 
28924
                   typedef char * ac__type_sizeof_;
26122
28925
int
26123
28926
main ()
26124
28927
{
26125
 
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
 
28928
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26126
28929
test_array [0] = 0
26127
28930
 
26128
28931
  ;
26130
28933
}
26131
28934
_ACEOF
26132
28935
rm -f conftest.$ac_objext
26133
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26134
 
  (eval $ac_compile) 2>conftest.er1
 
28936
if { (ac_try="$ac_compile"
 
28937
case "(($ac_try" in
 
28938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28939
  *) ac_try_echo=$ac_try;;
 
28940
esac
 
28941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28942
  (eval "$ac_compile") 2>conftest.er1
26135
28943
  ac_status=$?
26136
28944
  grep -v '^ *+' conftest.er1 >conftest.err
26137
28945
  rm -f conftest.er1
26138
28946
  cat conftest.err >&5
26139
28947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26140
28948
  (exit $ac_status); } &&
26141
 
         { ac_try='test -z "$ac_c_werror_flag"
26142
 
                         || test ! -s conftest.err'
26143
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26144
 
  (eval $ac_try) 2>&5
 
28949
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
28950
  { (case "(($ac_try" in
 
28951
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28952
  *) ac_try_echo=$ac_try;;
 
28953
esac
 
28954
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28955
  (eval "$ac_try") 2>&5
26145
28956
  ac_status=$?
26146
28957
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147
28958
  (exit $ac_status); }; } &&
26148
28959
         { ac_try='test -s conftest.$ac_objext'
26149
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26150
 
  (eval $ac_try) 2>&5
 
28960
  { (case "(($ac_try" in
 
28961
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28962
  *) ac_try_echo=$ac_try;;
 
28963
esac
 
28964
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28965
  (eval "$ac_try") 2>&5
26151
28966
  ac_status=$?
26152
28967
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153
28968
  (exit $ac_status); }; }; then
26156
28971
  echo "$as_me: failed program was:" >&5
26157
28972
sed 's/^/| /' conftest.$ac_ext >&5
26158
28973
 
26159
 
ac_lo=`expr $ac_mid + 1`
26160
 
                    if test $ac_lo -le $ac_mid; then
26161
 
                      ac_lo= ac_hi=
26162
 
                      break
26163
 
                    fi
26164
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
28974
        ac_lo=`expr $ac_mid + 1`
 
28975
                        if test $ac_lo -le $ac_mid; then
 
28976
                          ac_lo= ac_hi=
 
28977
                          break
 
28978
                        fi
 
28979
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26165
28980
fi
26166
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28981
 
 
28982
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26167
28983
  done
26168
28984
else
26169
28985
  echo "$as_me: failed program was:" >&5
26170
28986
sed 's/^/| /' conftest.$ac_ext >&5
26171
28987
 
26172
 
cat >conftest.$ac_ext <<_ACEOF
 
28988
        cat >conftest.$ac_ext <<_ACEOF
26173
28989
/* confdefs.h.  */
26174
28990
_ACEOF
26175
28991
cat confdefs.h >>conftest.$ac_ext
26176
28992
cat >>conftest.$ac_ext <<_ACEOF
26177
28993
/* end confdefs.h.  */
26178
28994
$ac_includes_default
 
28995
                   typedef char * ac__type_sizeof_;
26179
28996
int
26180
28997
main ()
26181
28998
{
26182
 
static int test_array [1 - 2 * !(((long) (sizeof (char *))) < 0)];
 
28999
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26183
29000
test_array [0] = 0
26184
29001
 
26185
29002
  ;
26187
29004
}
26188
29005
_ACEOF
26189
29006
rm -f conftest.$ac_objext
26190
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26191
 
  (eval $ac_compile) 2>conftest.er1
 
29007
if { (ac_try="$ac_compile"
 
29008
case "(($ac_try" in
 
29009
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29010
  *) ac_try_echo=$ac_try;;
 
29011
esac
 
29012
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29013
  (eval "$ac_compile") 2>conftest.er1
26192
29014
  ac_status=$?
26193
29015
  grep -v '^ *+' conftest.er1 >conftest.err
26194
29016
  rm -f conftest.er1
26195
29017
  cat conftest.err >&5
26196
29018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197
29019
  (exit $ac_status); } &&
26198
 
         { ac_try='test -z "$ac_c_werror_flag"
26199
 
                         || test ! -s conftest.err'
26200
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26201
 
  (eval $ac_try) 2>&5
 
29020
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29021
  { (case "(($ac_try" in
 
29022
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29023
  *) ac_try_echo=$ac_try;;
 
29024
esac
 
29025
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29026
  (eval "$ac_try") 2>&5
26202
29027
  ac_status=$?
26203
29028
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26204
29029
  (exit $ac_status); }; } &&
26205
29030
         { ac_try='test -s conftest.$ac_objext'
26206
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26207
 
  (eval $ac_try) 2>&5
 
29031
  { (case "(($ac_try" in
 
29032
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29033
  *) ac_try_echo=$ac_try;;
 
29034
esac
 
29035
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29036
  (eval "$ac_try") 2>&5
26208
29037
  ac_status=$?
26209
29038
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210
29039
  (exit $ac_status); }; }; then
26217
29046
cat >>conftest.$ac_ext <<_ACEOF
26218
29047
/* end confdefs.h.  */
26219
29048
$ac_includes_default
 
29049
                   typedef char * ac__type_sizeof_;
26220
29050
int
26221
29051
main ()
26222
29052
{
26223
 
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= $ac_mid)];
 
29053
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26224
29054
test_array [0] = 0
26225
29055
 
26226
29056
  ;
26228
29058
}
26229
29059
_ACEOF
26230
29060
rm -f conftest.$ac_objext
26231
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26232
 
  (eval $ac_compile) 2>conftest.er1
 
29061
if { (ac_try="$ac_compile"
 
29062
case "(($ac_try" in
 
29063
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29064
  *) ac_try_echo=$ac_try;;
 
29065
esac
 
29066
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29067
  (eval "$ac_compile") 2>conftest.er1
26233
29068
  ac_status=$?
26234
29069
  grep -v '^ *+' conftest.er1 >conftest.err
26235
29070
  rm -f conftest.er1
26236
29071
  cat conftest.err >&5
26237
29072
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238
29073
  (exit $ac_status); } &&
26239
 
         { ac_try='test -z "$ac_c_werror_flag"
26240
 
                         || test ! -s conftest.err'
26241
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26242
 
  (eval $ac_try) 2>&5
 
29074
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29075
  { (case "(($ac_try" in
 
29076
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29077
  *) ac_try_echo=$ac_try;;
 
29078
esac
 
29079
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29080
  (eval "$ac_try") 2>&5
26243
29081
  ac_status=$?
26244
29082
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245
29083
  (exit $ac_status); }; } &&
26246
29084
         { ac_try='test -s conftest.$ac_objext'
26247
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248
 
  (eval $ac_try) 2>&5
 
29085
  { (case "(($ac_try" in
 
29086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29087
  *) ac_try_echo=$ac_try;;
 
29088
esac
 
29089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29090
  (eval "$ac_try") 2>&5
26249
29091
  ac_status=$?
26250
29092
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251
29093
  (exit $ac_status); }; }; then
26254
29096
  echo "$as_me: failed program was:" >&5
26255
29097
sed 's/^/| /' conftest.$ac_ext >&5
26256
29098
 
26257
 
ac_hi=`expr '(' $ac_mid ')' - 1`
26258
 
                       if test $ac_mid -le $ac_hi; then
26259
 
                         ac_lo= ac_hi=
26260
 
                         break
26261
 
                       fi
26262
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
29099
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
29100
                        if test $ac_mid -le $ac_hi; then
 
29101
                          ac_lo= ac_hi=
 
29102
                          break
 
29103
                        fi
 
29104
                        ac_mid=`expr 2 '*' $ac_mid`
26263
29105
fi
26264
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29106
 
 
29107
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26265
29108
  done
26266
29109
else
26267
29110
  echo "$as_me: failed program was:" >&5
26268
29111
sed 's/^/| /' conftest.$ac_ext >&5
26269
29112
 
26270
 
ac_lo= ac_hi=
26271
 
fi
26272
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26273
 
fi
26274
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29113
        ac_lo= ac_hi=
 
29114
fi
 
29115
 
 
29116
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
29117
fi
 
29118
 
 
29119
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26275
29120
# Binary search between lo and hi bounds.
26276
29121
while test "x$ac_lo" != "x$ac_hi"; do
26277
29122
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26282
29127
cat >>conftest.$ac_ext <<_ACEOF
26283
29128
/* end confdefs.h.  */
26284
29129
$ac_includes_default
 
29130
                   typedef char * ac__type_sizeof_;
26285
29131
int
26286
29132
main ()
26287
29133
{
26288
 
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
 
29134
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26289
29135
test_array [0] = 0
26290
29136
 
26291
29137
  ;
26293
29139
}
26294
29140
_ACEOF
26295
29141
rm -f conftest.$ac_objext
26296
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26297
 
  (eval $ac_compile) 2>conftest.er1
 
29142
if { (ac_try="$ac_compile"
 
29143
case "(($ac_try" in
 
29144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29145
  *) ac_try_echo=$ac_try;;
 
29146
esac
 
29147
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29148
  (eval "$ac_compile") 2>conftest.er1
26298
29149
  ac_status=$?
26299
29150
  grep -v '^ *+' conftest.er1 >conftest.err
26300
29151
  rm -f conftest.er1
26301
29152
  cat conftest.err >&5
26302
29153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303
29154
  (exit $ac_status); } &&
26304
 
         { ac_try='test -z "$ac_c_werror_flag"
26305
 
                         || test ! -s conftest.err'
26306
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26307
 
  (eval $ac_try) 2>&5
 
29155
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
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_try") 2>&5
26308
29162
  ac_status=$?
26309
29163
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310
29164
  (exit $ac_status); }; } &&
26311
29165
         { ac_try='test -s conftest.$ac_objext'
26312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313
 
  (eval $ac_try) 2>&5
 
29166
  { (case "(($ac_try" in
 
29167
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29168
  *) ac_try_echo=$ac_try;;
 
29169
esac
 
29170
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29171
  (eval "$ac_try") 2>&5
26314
29172
  ac_status=$?
26315
29173
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316
29174
  (exit $ac_status); }; }; then
26319
29177
  echo "$as_me: failed program was:" >&5
26320
29178
sed 's/^/| /' conftest.$ac_ext >&5
26321
29179
 
26322
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
29180
        ac_lo=`expr '(' $ac_mid ')' + 1`
26323
29181
fi
26324
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29182
 
 
29183
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26325
29184
done
26326
29185
case $ac_lo in
26327
29186
?*) ac_cv_sizeof_char_p=$ac_lo;;
26328
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
 
29187
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
26329
29188
See \`config.log' for more details." >&5
26330
 
echo "$as_me: error: cannot compute sizeof (char *), 77
 
29189
echo "$as_me: error: cannot compute sizeof (char *)
26331
29190
See \`config.log' for more details." >&2;}
26332
 
   { (exit 1); exit 1; }; } ;;
 
29191
   { (exit 77); exit 77; }; } ;;
26333
29192
esac
26334
29193
else
26335
 
  if test "$cross_compiling" = yes; then
26336
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26337
 
See \`config.log' for more details." >&5
26338
 
echo "$as_me: error: cannot run test program while cross compiling
26339
 
See \`config.log' for more details." >&2;}
26340
 
   { (exit 1); exit 1; }; }
26341
 
else
26342
29194
  cat >conftest.$ac_ext <<_ACEOF
26343
29195
/* confdefs.h.  */
26344
29196
_ACEOF
26346
29198
cat >>conftest.$ac_ext <<_ACEOF
26347
29199
/* end confdefs.h.  */
26348
29200
$ac_includes_default
26349
 
long longval () { return (long) (sizeof (char *)); }
26350
 
unsigned long ulongval () { return (long) (sizeof (char *)); }
 
29201
                   typedef char * ac__type_sizeof_;
 
29202
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
29203
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26351
29204
#include <stdio.h>
26352
29205
#include <stdlib.h>
26353
29206
int
26356
29209
 
26357
29210
  FILE *f = fopen ("conftest.val", "w");
26358
29211
  if (! f)
26359
 
    exit (1);
26360
 
  if (((long) (sizeof (char *))) < 0)
 
29212
    return 1;
 
29213
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26361
29214
    {
26362
 
      long i = longval ();
26363
 
      if (i != ((long) (sizeof (char *))))
26364
 
        exit (1);
 
29215
      long int i = longval ();
 
29216
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
29217
        return 1;
26365
29218
      fprintf (f, "%ld\n", i);
26366
29219
    }
26367
29220
  else
26368
29221
    {
26369
 
      unsigned long i = ulongval ();
26370
 
      if (i != ((long) (sizeof (char *))))
26371
 
        exit (1);
 
29222
      unsigned long int i = ulongval ();
 
29223
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
29224
        return 1;
26372
29225
      fprintf (f, "%lu\n", i);
26373
29226
    }
26374
 
  exit (ferror (f) || fclose (f) != 0);
 
29227
  return ferror (f) || fclose (f) != 0;
26375
29228
 
26376
29229
  ;
26377
29230
  return 0;
26378
29231
}
26379
29232
_ACEOF
26380
29233
rm -f conftest$ac_exeext
26381
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26382
 
  (eval $ac_link) 2>&5
 
29234
if { (ac_try="$ac_link"
 
29235
case "(($ac_try" in
 
29236
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29237
  *) ac_try_echo=$ac_try;;
 
29238
esac
 
29239
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29240
  (eval "$ac_link") 2>&5
26383
29241
  ac_status=$?
26384
29242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385
29243
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26386
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387
 
  (eval $ac_try) 2>&5
 
29244
  { (case "(($ac_try" in
 
29245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29246
  *) ac_try_echo=$ac_try;;
 
29247
esac
 
29248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29249
  (eval "$ac_try") 2>&5
26388
29250
  ac_status=$?
26389
29251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390
29252
  (exit $ac_status); }; }; then
26395
29257
sed 's/^/| /' conftest.$ac_ext >&5
26396
29258
 
26397
29259
( exit $ac_status )
26398
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
 
29260
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
26399
29261
See \`config.log' for more details." >&5
26400
 
echo "$as_me: error: cannot compute sizeof (char *), 77
 
29262
echo "$as_me: error: cannot compute sizeof (char *)
26401
29263
See \`config.log' for more details." >&2;}
26402
 
   { (exit 1); exit 1; }; }
26403
 
fi
26404
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26405
 
fi
 
29264
   { (exit 77); exit 77; }; }
 
29265
fi
 
29266
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26406
29267
fi
26407
29268
rm -f conftest.val
26408
29269
else
26409
29270
  ac_cv_sizeof_char_p=0
26410
29271
fi
26411
29272
fi
26412
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
26413
 
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6
 
29273
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
 
29274
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6; }
26414
29275
cat >>confdefs.h <<_ACEOF
26415
29276
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
26416
29277
_ACEOF
26417
29278
 
26418
29279
 
26419
29280
 
26420
 
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26421
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
29281
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
29282
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
26422
29283
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26423
29284
  echo $ECHO_N "(cached) $ECHO_C" >&6
26424
29285
else
26431
29292
cat >>conftest.$ac_ext <<_ACEOF
26432
29293
/* end confdefs.h.  */
26433
29294
 
26434
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
29295
/* Override any GCC internal prototype to avoid an error.
 
29296
   Use char because int might match the return type of a GCC
 
29297
   builtin and then its argument prototype would still apply.  */
26435
29298
#ifdef __cplusplus
26436
29299
extern "C"
26437
29300
#endif
26438
 
/* We use char because int might match the return type of a gcc2
26439
 
   builtin and then its argument prototype would still apply.  */
26440
29301
char dlopen ();
26441
29302
int
26442
29303
main ()
26443
29304
{
26444
 
dlopen ();
 
29305
return dlopen ();
26445
29306
  ;
26446
29307
  return 0;
26447
29308
}
26448
29309
_ACEOF
26449
29310
rm -f conftest.$ac_objext conftest$ac_exeext
26450
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26451
 
  (eval $ac_link) 2>conftest.er1
 
29311
if { (ac_try="$ac_link"
 
29312
case "(($ac_try" in
 
29313
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29314
  *) ac_try_echo=$ac_try;;
 
29315
esac
 
29316
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29317
  (eval "$ac_link") 2>conftest.er1
26452
29318
  ac_status=$?
26453
29319
  grep -v '^ *+' conftest.er1 >conftest.err
26454
29320
  rm -f conftest.er1
26455
29321
  cat conftest.err >&5
26456
29322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457
29323
  (exit $ac_status); } &&
26458
 
         { ac_try='test -z "$ac_c_werror_flag"
26459
 
                         || test ! -s conftest.err'
26460
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26461
 
  (eval $ac_try) 2>&5
 
29324
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29325
  { (case "(($ac_try" in
 
29326
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29327
  *) ac_try_echo=$ac_try;;
 
29328
esac
 
29329
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29330
  (eval "$ac_try") 2>&5
26462
29331
  ac_status=$?
26463
29332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464
29333
  (exit $ac_status); }; } &&
26465
29334
         { ac_try='test -s conftest$ac_exeext'
26466
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26467
 
  (eval $ac_try) 2>&5
 
29335
  { (case "(($ac_try" in
 
29336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29337
  *) ac_try_echo=$ac_try;;
 
29338
esac
 
29339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29340
  (eval "$ac_try") 2>&5
26468
29341
  ac_status=$?
26469
29342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470
29343
  (exit $ac_status); }; }; then
26473
29346
  echo "$as_me: failed program was:" >&5
26474
29347
sed 's/^/| /' conftest.$ac_ext >&5
26475
29348
 
26476
 
ac_cv_lib_dl_dlopen=no
 
29349
        ac_cv_lib_dl_dlopen=no
26477
29350
fi
26478
 
rm -f conftest.err conftest.$ac_objext \
 
29351
 
 
29352
rm -f core conftest.err conftest.$ac_objext \
26479
29353
      conftest$ac_exeext conftest.$ac_ext
26480
29354
LIBS=$ac_check_lib_save_LIBS
26481
29355
fi
26482
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26483
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
29356
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
29357
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
26484
29358
if test $ac_cv_lib_dl_dlopen = yes; then
26485
29359
 
26486
29360
LIBDL="-ldl"
26489
29363
fi
26490
29364
 
26491
29365
 
26492
 
echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
26493
 
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6
 
29366
{ echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
 
29367
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6; }
26494
29368
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
26495
29369
  echo $ECHO_N "(cached) $ECHO_C" >&6
26496
29370
else
26503
29377
cat >>conftest.$ac_ext <<_ACEOF
26504
29378
/* end confdefs.h.  */
26505
29379
 
26506
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
29380
/* Override any GCC internal prototype to avoid an error.
 
29381
   Use char because int might match the return type of a GCC
 
29382
   builtin and then its argument prototype would still apply.  */
26507
29383
#ifdef __cplusplus
26508
29384
extern "C"
26509
29385
#endif
26510
 
/* We use char because int might match the return type of a gcc2
26511
 
   builtin and then its argument prototype would still apply.  */
26512
29386
char shl_unload ();
26513
29387
int
26514
29388
main ()
26515
29389
{
26516
 
shl_unload ();
 
29390
return shl_unload ();
26517
29391
  ;
26518
29392
  return 0;
26519
29393
}
26520
29394
_ACEOF
26521
29395
rm -f conftest.$ac_objext conftest$ac_exeext
26522
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26523
 
  (eval $ac_link) 2>conftest.er1
 
29396
if { (ac_try="$ac_link"
 
29397
case "(($ac_try" in
 
29398
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29399
  *) ac_try_echo=$ac_try;;
 
29400
esac
 
29401
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29402
  (eval "$ac_link") 2>conftest.er1
26524
29403
  ac_status=$?
26525
29404
  grep -v '^ *+' conftest.er1 >conftest.err
26526
29405
  rm -f conftest.er1
26527
29406
  cat conftest.err >&5
26528
29407
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529
29408
  (exit $ac_status); } &&
26530
 
         { ac_try='test -z "$ac_c_werror_flag"
26531
 
                         || test ! -s conftest.err'
26532
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533
 
  (eval $ac_try) 2>&5
 
29409
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29410
  { (case "(($ac_try" in
 
29411
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29412
  *) ac_try_echo=$ac_try;;
 
29413
esac
 
29414
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29415
  (eval "$ac_try") 2>&5
26534
29416
  ac_status=$?
26535
29417
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536
29418
  (exit $ac_status); }; } &&
26537
29419
         { ac_try='test -s conftest$ac_exeext'
26538
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539
 
  (eval $ac_try) 2>&5
 
29420
  { (case "(($ac_try" in
 
29421
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29422
  *) ac_try_echo=$ac_try;;
 
29423
esac
 
29424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29425
  (eval "$ac_try") 2>&5
26540
29426
  ac_status=$?
26541
29427
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542
29428
  (exit $ac_status); }; }; then
26545
29431
  echo "$as_me: failed program was:" >&5
26546
29432
sed 's/^/| /' conftest.$ac_ext >&5
26547
29433
 
26548
 
ac_cv_lib_dld_shl_unload=no
 
29434
        ac_cv_lib_dld_shl_unload=no
26549
29435
fi
26550
 
rm -f conftest.err conftest.$ac_objext \
 
29436
 
 
29437
rm -f core conftest.err conftest.$ac_objext \
26551
29438
      conftest$ac_exeext conftest.$ac_ext
26552
29439
LIBS=$ac_check_lib_save_LIBS
26553
29440
fi
26554
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
26555
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6
 
29441
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
 
29442
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6; }
26556
29443
if test $ac_cv_lib_dld_shl_unload = yes; then
26557
29444
 
26558
29445
LIBDL="-ldld"
26566
29453
 
26567
29454
 
26568
29455
 
26569
 
  echo "$as_me:$LINENO: checking for size_t" >&5
26570
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
29456
  { echo "$as_me:$LINENO: checking for size_t" >&5
 
29457
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
26571
29458
if test "${ac_cv_type_size_t+set}" = set; then
26572
29459
  echo $ECHO_N "(cached) $ECHO_C" >&6
26573
29460
else
26578
29465
cat >>conftest.$ac_ext <<_ACEOF
26579
29466
/* end confdefs.h.  */
26580
29467
$ac_includes_default
 
29468
typedef size_t ac__type_new_;
26581
29469
int
26582
29470
main ()
26583
29471
{
26584
 
if ((size_t *) 0)
 
29472
if ((ac__type_new_ *) 0)
26585
29473
  return 0;
26586
 
if (sizeof (size_t))
 
29474
if (sizeof (ac__type_new_))
26587
29475
  return 0;
26588
29476
  ;
26589
29477
  return 0;
26590
29478
}
26591
29479
_ACEOF
26592
29480
rm -f conftest.$ac_objext
26593
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26594
 
  (eval $ac_compile) 2>conftest.er1
 
29481
if { (ac_try="$ac_compile"
 
29482
case "(($ac_try" in
 
29483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29484
  *) ac_try_echo=$ac_try;;
 
29485
esac
 
29486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29487
  (eval "$ac_compile") 2>conftest.er1
26595
29488
  ac_status=$?
26596
29489
  grep -v '^ *+' conftest.er1 >conftest.err
26597
29490
  rm -f conftest.er1
26598
29491
  cat conftest.err >&5
26599
29492
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600
29493
  (exit $ac_status); } &&
26601
 
         { ac_try='test -z "$ac_c_werror_flag"
26602
 
                         || test ! -s conftest.err'
26603
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26604
 
  (eval $ac_try) 2>&5
 
29494
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29495
  { (case "(($ac_try" in
 
29496
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29497
  *) ac_try_echo=$ac_try;;
 
29498
esac
 
29499
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29500
  (eval "$ac_try") 2>&5
26605
29501
  ac_status=$?
26606
29502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607
29503
  (exit $ac_status); }; } &&
26608
29504
         { ac_try='test -s conftest.$ac_objext'
26609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610
 
  (eval $ac_try) 2>&5
 
29505
  { (case "(($ac_try" in
 
29506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29507
  *) ac_try_echo=$ac_try;;
 
29508
esac
 
29509
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29510
  (eval "$ac_try") 2>&5
26611
29511
  ac_status=$?
26612
29512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613
29513
  (exit $ac_status); }; }; then
26616
29516
  echo "$as_me: failed program was:" >&5
26617
29517
sed 's/^/| /' conftest.$ac_ext >&5
26618
29518
 
26619
 
ac_cv_type_size_t=no
26620
 
fi
26621
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26622
 
fi
26623
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26624
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
26625
 
 
26626
 
echo "$as_me:$LINENO: checking size of size_t" >&5
26627
 
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
 
29519
        ac_cv_type_size_t=no
 
29520
fi
 
29521
 
 
29522
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
29523
fi
 
29524
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
29525
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
 
29526
 
 
29527
{ echo "$as_me:$LINENO: checking size of size_t" >&5
 
29528
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
26628
29529
if test "${ac_cv_sizeof_size_t+set}" = set; then
26629
29530
  echo $ECHO_N "(cached) $ECHO_C" >&6
26630
29531
else
26631
29532
  if test "$ac_cv_type_size_t" = yes; then
26632
 
  # The cast to unsigned long works around a bug in the HP C Compiler
 
29533
  # The cast to long int works around a bug in the HP C Compiler
26633
29534
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26634
29535
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26635
29536
  # This bug is HP SR number 8606223364.
26642
29543
cat >>conftest.$ac_ext <<_ACEOF
26643
29544
/* end confdefs.h.  */
26644
29545
$ac_includes_default
 
29546
                   typedef size_t ac__type_sizeof_;
26645
29547
int
26646
29548
main ()
26647
29549
{
26648
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
 
29550
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26649
29551
test_array [0] = 0
26650
29552
 
26651
29553
  ;
26653
29555
}
26654
29556
_ACEOF
26655
29557
rm -f conftest.$ac_objext
26656
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26657
 
  (eval $ac_compile) 2>conftest.er1
 
29558
if { (ac_try="$ac_compile"
 
29559
case "(($ac_try" in
 
29560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29561
  *) ac_try_echo=$ac_try;;
 
29562
esac
 
29563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29564
  (eval "$ac_compile") 2>conftest.er1
26658
29565
  ac_status=$?
26659
29566
  grep -v '^ *+' conftest.er1 >conftest.err
26660
29567
  rm -f conftest.er1
26661
29568
  cat conftest.err >&5
26662
29569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663
29570
  (exit $ac_status); } &&
26664
 
         { ac_try='test -z "$ac_c_werror_flag"
26665
 
                         || test ! -s conftest.err'
26666
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26667
 
  (eval $ac_try) 2>&5
 
29571
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29572
  { (case "(($ac_try" in
 
29573
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29574
  *) ac_try_echo=$ac_try;;
 
29575
esac
 
29576
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29577
  (eval "$ac_try") 2>&5
26668
29578
  ac_status=$?
26669
29579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670
29580
  (exit $ac_status); }; } &&
26671
29581
         { ac_try='test -s conftest.$ac_objext'
26672
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26673
 
  (eval $ac_try) 2>&5
 
29582
  { (case "(($ac_try" in
 
29583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29584
  *) ac_try_echo=$ac_try;;
 
29585
esac
 
29586
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29587
  (eval "$ac_try") 2>&5
26674
29588
  ac_status=$?
26675
29589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676
29590
  (exit $ac_status); }; }; then
26683
29597
cat >>conftest.$ac_ext <<_ACEOF
26684
29598
/* end confdefs.h.  */
26685
29599
$ac_includes_default
 
29600
                   typedef size_t ac__type_sizeof_;
26686
29601
int
26687
29602
main ()
26688
29603
{
26689
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
 
29604
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26690
29605
test_array [0] = 0
26691
29606
 
26692
29607
  ;
26694
29609
}
26695
29610
_ACEOF
26696
29611
rm -f conftest.$ac_objext
26697
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26698
 
  (eval $ac_compile) 2>conftest.er1
 
29612
if { (ac_try="$ac_compile"
 
29613
case "(($ac_try" in
 
29614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29615
  *) ac_try_echo=$ac_try;;
 
29616
esac
 
29617
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29618
  (eval "$ac_compile") 2>conftest.er1
26699
29619
  ac_status=$?
26700
29620
  grep -v '^ *+' conftest.er1 >conftest.err
26701
29621
  rm -f conftest.er1
26702
29622
  cat conftest.err >&5
26703
29623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704
29624
  (exit $ac_status); } &&
26705
 
         { ac_try='test -z "$ac_c_werror_flag"
26706
 
                         || test ! -s conftest.err'
26707
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26708
 
  (eval $ac_try) 2>&5
 
29625
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29626
  { (case "(($ac_try" in
 
29627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29628
  *) ac_try_echo=$ac_try;;
 
29629
esac
 
29630
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29631
  (eval "$ac_try") 2>&5
26709
29632
  ac_status=$?
26710
29633
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26711
29634
  (exit $ac_status); }; } &&
26712
29635
         { ac_try='test -s conftest.$ac_objext'
26713
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26714
 
  (eval $ac_try) 2>&5
 
29636
  { (case "(($ac_try" in
 
29637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29638
  *) ac_try_echo=$ac_try;;
 
29639
esac
 
29640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29641
  (eval "$ac_try") 2>&5
26715
29642
  ac_status=$?
26716
29643
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26717
29644
  (exit $ac_status); }; }; then
26720
29647
  echo "$as_me: failed program was:" >&5
26721
29648
sed 's/^/| /' conftest.$ac_ext >&5
26722
29649
 
26723
 
ac_lo=`expr $ac_mid + 1`
26724
 
                    if test $ac_lo -le $ac_mid; then
26725
 
                      ac_lo= ac_hi=
26726
 
                      break
26727
 
                    fi
26728
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
29650
        ac_lo=`expr $ac_mid + 1`
 
29651
                        if test $ac_lo -le $ac_mid; then
 
29652
                          ac_lo= ac_hi=
 
29653
                          break
 
29654
                        fi
 
29655
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26729
29656
fi
26730
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29657
 
 
29658
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26731
29659
  done
26732
29660
else
26733
29661
  echo "$as_me: failed program was:" >&5
26734
29662
sed 's/^/| /' conftest.$ac_ext >&5
26735
29663
 
26736
 
cat >conftest.$ac_ext <<_ACEOF
 
29664
        cat >conftest.$ac_ext <<_ACEOF
26737
29665
/* confdefs.h.  */
26738
29666
_ACEOF
26739
29667
cat confdefs.h >>conftest.$ac_ext
26740
29668
cat >>conftest.$ac_ext <<_ACEOF
26741
29669
/* end confdefs.h.  */
26742
29670
$ac_includes_default
 
29671
                   typedef size_t ac__type_sizeof_;
26743
29672
int
26744
29673
main ()
26745
29674
{
26746
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
 
29675
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26747
29676
test_array [0] = 0
26748
29677
 
26749
29678
  ;
26751
29680
}
26752
29681
_ACEOF
26753
29682
rm -f conftest.$ac_objext
26754
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26755
 
  (eval $ac_compile) 2>conftest.er1
 
29683
if { (ac_try="$ac_compile"
 
29684
case "(($ac_try" in
 
29685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29686
  *) ac_try_echo=$ac_try;;
 
29687
esac
 
29688
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29689
  (eval "$ac_compile") 2>conftest.er1
26756
29690
  ac_status=$?
26757
29691
  grep -v '^ *+' conftest.er1 >conftest.err
26758
29692
  rm -f conftest.er1
26759
29693
  cat conftest.err >&5
26760
29694
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761
29695
  (exit $ac_status); } &&
26762
 
         { ac_try='test -z "$ac_c_werror_flag"
26763
 
                         || test ! -s conftest.err'
26764
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765
 
  (eval $ac_try) 2>&5
 
29696
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29697
  { (case "(($ac_try" in
 
29698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29699
  *) ac_try_echo=$ac_try;;
 
29700
esac
 
29701
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29702
  (eval "$ac_try") 2>&5
26766
29703
  ac_status=$?
26767
29704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768
29705
  (exit $ac_status); }; } &&
26769
29706
         { ac_try='test -s conftest.$ac_objext'
26770
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26771
 
  (eval $ac_try) 2>&5
 
29707
  { (case "(($ac_try" in
 
29708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29709
  *) ac_try_echo=$ac_try;;
 
29710
esac
 
29711
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29712
  (eval "$ac_try") 2>&5
26772
29713
  ac_status=$?
26773
29714
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774
29715
  (exit $ac_status); }; }; then
26781
29722
cat >>conftest.$ac_ext <<_ACEOF
26782
29723
/* end confdefs.h.  */
26783
29724
$ac_includes_default
 
29725
                   typedef size_t ac__type_sizeof_;
26784
29726
int
26785
29727
main ()
26786
29728
{
26787
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
 
29729
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26788
29730
test_array [0] = 0
26789
29731
 
26790
29732
  ;
26792
29734
}
26793
29735
_ACEOF
26794
29736
rm -f conftest.$ac_objext
26795
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26796
 
  (eval $ac_compile) 2>conftest.er1
 
29737
if { (ac_try="$ac_compile"
 
29738
case "(($ac_try" in
 
29739
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29740
  *) ac_try_echo=$ac_try;;
 
29741
esac
 
29742
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29743
  (eval "$ac_compile") 2>conftest.er1
26797
29744
  ac_status=$?
26798
29745
  grep -v '^ *+' conftest.er1 >conftest.err
26799
29746
  rm -f conftest.er1
26800
29747
  cat conftest.err >&5
26801
29748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802
29749
  (exit $ac_status); } &&
26803
 
         { ac_try='test -z "$ac_c_werror_flag"
26804
 
                         || test ! -s conftest.err'
26805
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26806
 
  (eval $ac_try) 2>&5
 
29750
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29751
  { (case "(($ac_try" in
 
29752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29753
  *) ac_try_echo=$ac_try;;
 
29754
esac
 
29755
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29756
  (eval "$ac_try") 2>&5
26807
29757
  ac_status=$?
26808
29758
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809
29759
  (exit $ac_status); }; } &&
26810
29760
         { ac_try='test -s conftest.$ac_objext'
26811
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812
 
  (eval $ac_try) 2>&5
 
29761
  { (case "(($ac_try" in
 
29762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29763
  *) ac_try_echo=$ac_try;;
 
29764
esac
 
29765
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29766
  (eval "$ac_try") 2>&5
26813
29767
  ac_status=$?
26814
29768
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815
29769
  (exit $ac_status); }; }; then
26818
29772
  echo "$as_me: failed program was:" >&5
26819
29773
sed 's/^/| /' conftest.$ac_ext >&5
26820
29774
 
26821
 
ac_hi=`expr '(' $ac_mid ')' - 1`
26822
 
                       if test $ac_mid -le $ac_hi; then
26823
 
                         ac_lo= ac_hi=
26824
 
                         break
26825
 
                       fi
26826
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
29775
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
29776
                        if test $ac_mid -le $ac_hi; then
 
29777
                          ac_lo= ac_hi=
 
29778
                          break
 
29779
                        fi
 
29780
                        ac_mid=`expr 2 '*' $ac_mid`
26827
29781
fi
26828
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29782
 
 
29783
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26829
29784
  done
26830
29785
else
26831
29786
  echo "$as_me: failed program was:" >&5
26832
29787
sed 's/^/| /' conftest.$ac_ext >&5
26833
29788
 
26834
 
ac_lo= ac_hi=
26835
 
fi
26836
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26837
 
fi
26838
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29789
        ac_lo= ac_hi=
 
29790
fi
 
29791
 
 
29792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
29793
fi
 
29794
 
 
29795
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26839
29796
# Binary search between lo and hi bounds.
26840
29797
while test "x$ac_lo" != "x$ac_hi"; do
26841
29798
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26846
29803
cat >>conftest.$ac_ext <<_ACEOF
26847
29804
/* end confdefs.h.  */
26848
29805
$ac_includes_default
 
29806
                   typedef size_t ac__type_sizeof_;
26849
29807
int
26850
29808
main ()
26851
29809
{
26852
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
 
29810
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26853
29811
test_array [0] = 0
26854
29812
 
26855
29813
  ;
26857
29815
}
26858
29816
_ACEOF
26859
29817
rm -f conftest.$ac_objext
26860
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26861
 
  (eval $ac_compile) 2>conftest.er1
 
29818
if { (ac_try="$ac_compile"
 
29819
case "(($ac_try" in
 
29820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29821
  *) ac_try_echo=$ac_try;;
 
29822
esac
 
29823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29824
  (eval "$ac_compile") 2>conftest.er1
26862
29825
  ac_status=$?
26863
29826
  grep -v '^ *+' conftest.er1 >conftest.err
26864
29827
  rm -f conftest.er1
26865
29828
  cat conftest.err >&5
26866
29829
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867
29830
  (exit $ac_status); } &&
26868
 
         { ac_try='test -z "$ac_c_werror_flag"
26869
 
                         || test ! -s conftest.err'
26870
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26871
 
  (eval $ac_try) 2>&5
 
29831
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29832
  { (case "(($ac_try" in
 
29833
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29834
  *) ac_try_echo=$ac_try;;
 
29835
esac
 
29836
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29837
  (eval "$ac_try") 2>&5
26872
29838
  ac_status=$?
26873
29839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874
29840
  (exit $ac_status); }; } &&
26875
29841
         { ac_try='test -s conftest.$ac_objext'
26876
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26877
 
  (eval $ac_try) 2>&5
 
29842
  { (case "(($ac_try" in
 
29843
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29844
  *) ac_try_echo=$ac_try;;
 
29845
esac
 
29846
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29847
  (eval "$ac_try") 2>&5
26878
29848
  ac_status=$?
26879
29849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880
29850
  (exit $ac_status); }; }; then
26883
29853
  echo "$as_me: failed program was:" >&5
26884
29854
sed 's/^/| /' conftest.$ac_ext >&5
26885
29855
 
26886
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
29856
        ac_lo=`expr '(' $ac_mid ')' + 1`
26887
29857
fi
26888
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
29858
 
 
29859
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26889
29860
done
26890
29861
case $ac_lo in
26891
29862
?*) ac_cv_sizeof_size_t=$ac_lo;;
26892
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
 
29863
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
26893
29864
See \`config.log' for more details." >&5
26894
 
echo "$as_me: error: cannot compute sizeof (size_t), 77
 
29865
echo "$as_me: error: cannot compute sizeof (size_t)
26895
29866
See \`config.log' for more details." >&2;}
26896
 
   { (exit 1); exit 1; }; } ;;
 
29867
   { (exit 77); exit 77; }; } ;;
26897
29868
esac
26898
29869
else
26899
 
  if test "$cross_compiling" = yes; then
26900
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26901
 
See \`config.log' for more details." >&5
26902
 
echo "$as_me: error: cannot run test program while cross compiling
26903
 
See \`config.log' for more details." >&2;}
26904
 
   { (exit 1); exit 1; }; }
26905
 
else
26906
29870
  cat >conftest.$ac_ext <<_ACEOF
26907
29871
/* confdefs.h.  */
26908
29872
_ACEOF
26910
29874
cat >>conftest.$ac_ext <<_ACEOF
26911
29875
/* end confdefs.h.  */
26912
29876
$ac_includes_default
26913
 
long longval () { return (long) (sizeof (size_t)); }
26914
 
unsigned long ulongval () { return (long) (sizeof (size_t)); }
 
29877
                   typedef size_t ac__type_sizeof_;
 
29878
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
29879
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26915
29880
#include <stdio.h>
26916
29881
#include <stdlib.h>
26917
29882
int
26920
29885
 
26921
29886
  FILE *f = fopen ("conftest.val", "w");
26922
29887
  if (! f)
26923
 
    exit (1);
26924
 
  if (((long) (sizeof (size_t))) < 0)
 
29888
    return 1;
 
29889
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26925
29890
    {
26926
 
      long i = longval ();
26927
 
      if (i != ((long) (sizeof (size_t))))
26928
 
        exit (1);
 
29891
      long int i = longval ();
 
29892
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
29893
        return 1;
26929
29894
      fprintf (f, "%ld\n", i);
26930
29895
    }
26931
29896
  else
26932
29897
    {
26933
 
      unsigned long i = ulongval ();
26934
 
      if (i != ((long) (sizeof (size_t))))
26935
 
        exit (1);
 
29898
      unsigned long int i = ulongval ();
 
29899
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
29900
        return 1;
26936
29901
      fprintf (f, "%lu\n", i);
26937
29902
    }
26938
 
  exit (ferror (f) || fclose (f) != 0);
 
29903
  return ferror (f) || fclose (f) != 0;
26939
29904
 
26940
29905
  ;
26941
29906
  return 0;
26942
29907
}
26943
29908
_ACEOF
26944
29909
rm -f conftest$ac_exeext
26945
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26946
 
  (eval $ac_link) 2>&5
 
29910
if { (ac_try="$ac_link"
 
29911
case "(($ac_try" in
 
29912
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29913
  *) ac_try_echo=$ac_try;;
 
29914
esac
 
29915
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29916
  (eval "$ac_link") 2>&5
26947
29917
  ac_status=$?
26948
29918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949
29919
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26950
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26951
 
  (eval $ac_try) 2>&5
 
29920
  { (case "(($ac_try" in
 
29921
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29922
  *) ac_try_echo=$ac_try;;
 
29923
esac
 
29924
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29925
  (eval "$ac_try") 2>&5
26952
29926
  ac_status=$?
26953
29927
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954
29928
  (exit $ac_status); }; }; then
26959
29933
sed 's/^/| /' conftest.$ac_ext >&5
26960
29934
 
26961
29935
( exit $ac_status )
26962
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
 
29936
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
26963
29937
See \`config.log' for more details." >&5
26964
 
echo "$as_me: error: cannot compute sizeof (size_t), 77
 
29938
echo "$as_me: error: cannot compute sizeof (size_t)
26965
29939
See \`config.log' for more details." >&2;}
26966
 
   { (exit 1); exit 1; }; }
26967
 
fi
26968
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26969
 
fi
 
29940
   { (exit 77); exit 77; }; }
 
29941
fi
 
29942
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26970
29943
fi
26971
29944
rm -f conftest.val
26972
29945
else
26973
29946
  ac_cv_sizeof_size_t=0
26974
29947
fi
26975
29948
fi
26976
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
26977
 
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
 
29949
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
 
29950
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
26978
29951
cat >>confdefs.h <<_ACEOF
26979
29952
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
26980
29953
_ACEOF
26981
29954
 
26982
29955
 
26983
 
  echo "$as_me:$LINENO: checking for unsigned long" >&5
26984
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
 
29956
  { echo "$as_me:$LINENO: checking for unsigned long" >&5
 
29957
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
26985
29958
if test "${ac_cv_type_unsigned_long+set}" = set; then
26986
29959
  echo $ECHO_N "(cached) $ECHO_C" >&6
26987
29960
else
26992
29965
cat >>conftest.$ac_ext <<_ACEOF
26993
29966
/* end confdefs.h.  */
26994
29967
$ac_includes_default
 
29968
typedef unsigned long ac__type_new_;
26995
29969
int
26996
29970
main ()
26997
29971
{
26998
 
if ((unsigned long *) 0)
 
29972
if ((ac__type_new_ *) 0)
26999
29973
  return 0;
27000
 
if (sizeof (unsigned long))
 
29974
if (sizeof (ac__type_new_))
27001
29975
  return 0;
27002
29976
  ;
27003
29977
  return 0;
27004
29978
}
27005
29979
_ACEOF
27006
29980
rm -f conftest.$ac_objext
27007
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27008
 
  (eval $ac_compile) 2>conftest.er1
 
29981
if { (ac_try="$ac_compile"
 
29982
case "(($ac_try" in
 
29983
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29984
  *) ac_try_echo=$ac_try;;
 
29985
esac
 
29986
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29987
  (eval "$ac_compile") 2>conftest.er1
27009
29988
  ac_status=$?
27010
29989
  grep -v '^ *+' conftest.er1 >conftest.err
27011
29990
  rm -f conftest.er1
27012
29991
  cat conftest.err >&5
27013
29992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014
29993
  (exit $ac_status); } &&
27015
 
         { ac_try='test -z "$ac_c_werror_flag"
27016
 
                         || test ! -s conftest.err'
27017
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27018
 
  (eval $ac_try) 2>&5
 
29994
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
29995
  { (case "(($ac_try" in
 
29996
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29997
  *) ac_try_echo=$ac_try;;
 
29998
esac
 
29999
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30000
  (eval "$ac_try") 2>&5
27019
30001
  ac_status=$?
27020
30002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27021
30003
  (exit $ac_status); }; } &&
27022
30004
         { ac_try='test -s conftest.$ac_objext'
27023
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27024
 
  (eval $ac_try) 2>&5
 
30005
  { (case "(($ac_try" in
 
30006
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30007
  *) ac_try_echo=$ac_try;;
 
30008
esac
 
30009
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30010
  (eval "$ac_try") 2>&5
27025
30011
  ac_status=$?
27026
30012
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027
30013
  (exit $ac_status); }; }; then
27030
30016
  echo "$as_me: failed program was:" >&5
27031
30017
sed 's/^/| /' conftest.$ac_ext >&5
27032
30018
 
27033
 
ac_cv_type_unsigned_long=no
27034
 
fi
27035
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27036
 
fi
27037
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
27038
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
27039
 
 
27040
 
echo "$as_me:$LINENO: checking size of unsigned long" >&5
27041
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
 
30019
        ac_cv_type_unsigned_long=no
 
30020
fi
 
30021
 
 
30022
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
30023
fi
 
30024
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
 
30025
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
 
30026
 
 
30027
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
 
30028
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
27042
30029
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
27043
30030
  echo $ECHO_N "(cached) $ECHO_C" >&6
27044
30031
else
27045
30032
  if test "$ac_cv_type_unsigned_long" = yes; then
27046
 
  # The cast to unsigned long works around a bug in the HP C Compiler
 
30033
  # The cast to long int works around a bug in the HP C Compiler
27047
30034
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27048
30035
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27049
30036
  # This bug is HP SR number 8606223364.
27056
30043
cat >>conftest.$ac_ext <<_ACEOF
27057
30044
/* end confdefs.h.  */
27058
30045
$ac_includes_default
 
30046
                   typedef unsigned long ac__type_sizeof_;
27059
30047
int
27060
30048
main ()
27061
30049
{
27062
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
 
30050
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27063
30051
test_array [0] = 0
27064
30052
 
27065
30053
  ;
27067
30055
}
27068
30056
_ACEOF
27069
30057
rm -f conftest.$ac_objext
27070
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27071
 
  (eval $ac_compile) 2>conftest.er1
 
30058
if { (ac_try="$ac_compile"
 
30059
case "(($ac_try" in
 
30060
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30061
  *) ac_try_echo=$ac_try;;
 
30062
esac
 
30063
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30064
  (eval "$ac_compile") 2>conftest.er1
27072
30065
  ac_status=$?
27073
30066
  grep -v '^ *+' conftest.er1 >conftest.err
27074
30067
  rm -f conftest.er1
27075
30068
  cat conftest.err >&5
27076
30069
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077
30070
  (exit $ac_status); } &&
27078
 
         { ac_try='test -z "$ac_c_werror_flag"
27079
 
                         || test ! -s conftest.err'
27080
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081
 
  (eval $ac_try) 2>&5
 
30071
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30072
  { (case "(($ac_try" in
 
30073
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30074
  *) ac_try_echo=$ac_try;;
 
30075
esac
 
30076
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30077
  (eval "$ac_try") 2>&5
27082
30078
  ac_status=$?
27083
30079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084
30080
  (exit $ac_status); }; } &&
27085
30081
         { ac_try='test -s conftest.$ac_objext'
27086
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087
 
  (eval $ac_try) 2>&5
 
30082
  { (case "(($ac_try" in
 
30083
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30084
  *) ac_try_echo=$ac_try;;
 
30085
esac
 
30086
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30087
  (eval "$ac_try") 2>&5
27088
30088
  ac_status=$?
27089
30089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090
30090
  (exit $ac_status); }; }; then
27097
30097
cat >>conftest.$ac_ext <<_ACEOF
27098
30098
/* end confdefs.h.  */
27099
30099
$ac_includes_default
 
30100
                   typedef unsigned long ac__type_sizeof_;
27100
30101
int
27101
30102
main ()
27102
30103
{
27103
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
30104
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27104
30105
test_array [0] = 0
27105
30106
 
27106
30107
  ;
27108
30109
}
27109
30110
_ACEOF
27110
30111
rm -f conftest.$ac_objext
27111
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27112
 
  (eval $ac_compile) 2>conftest.er1
 
30112
if { (ac_try="$ac_compile"
 
30113
case "(($ac_try" in
 
30114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30115
  *) ac_try_echo=$ac_try;;
 
30116
esac
 
30117
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30118
  (eval "$ac_compile") 2>conftest.er1
27113
30119
  ac_status=$?
27114
30120
  grep -v '^ *+' conftest.er1 >conftest.err
27115
30121
  rm -f conftest.er1
27116
30122
  cat conftest.err >&5
27117
30123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118
30124
  (exit $ac_status); } &&
27119
 
         { ac_try='test -z "$ac_c_werror_flag"
27120
 
                         || test ! -s conftest.err'
27121
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122
 
  (eval $ac_try) 2>&5
 
30125
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30126
  { (case "(($ac_try" in
 
30127
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30128
  *) ac_try_echo=$ac_try;;
 
30129
esac
 
30130
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30131
  (eval "$ac_try") 2>&5
27123
30132
  ac_status=$?
27124
30133
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125
30134
  (exit $ac_status); }; } &&
27126
30135
         { ac_try='test -s conftest.$ac_objext'
27127
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128
 
  (eval $ac_try) 2>&5
 
30136
  { (case "(($ac_try" in
 
30137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30138
  *) ac_try_echo=$ac_try;;
 
30139
esac
 
30140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30141
  (eval "$ac_try") 2>&5
27129
30142
  ac_status=$?
27130
30143
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131
30144
  (exit $ac_status); }; }; then
27134
30147
  echo "$as_me: failed program was:" >&5
27135
30148
sed 's/^/| /' conftest.$ac_ext >&5
27136
30149
 
27137
 
ac_lo=`expr $ac_mid + 1`
27138
 
                    if test $ac_lo -le $ac_mid; then
27139
 
                      ac_lo= ac_hi=
27140
 
                      break
27141
 
                    fi
27142
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
30150
        ac_lo=`expr $ac_mid + 1`
 
30151
                        if test $ac_lo -le $ac_mid; then
 
30152
                          ac_lo= ac_hi=
 
30153
                          break
 
30154
                        fi
 
30155
                        ac_mid=`expr 2 '*' $ac_mid + 1`
27143
30156
fi
27144
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
30157
 
 
30158
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27145
30159
  done
27146
30160
else
27147
30161
  echo "$as_me: failed program was:" >&5
27148
30162
sed 's/^/| /' conftest.$ac_ext >&5
27149
30163
 
27150
 
cat >conftest.$ac_ext <<_ACEOF
 
30164
        cat >conftest.$ac_ext <<_ACEOF
27151
30165
/* confdefs.h.  */
27152
30166
_ACEOF
27153
30167
cat confdefs.h >>conftest.$ac_ext
27154
30168
cat >>conftest.$ac_ext <<_ACEOF
27155
30169
/* end confdefs.h.  */
27156
30170
$ac_includes_default
 
30171
                   typedef unsigned long ac__type_sizeof_;
27157
30172
int
27158
30173
main ()
27159
30174
{
27160
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
 
30175
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27161
30176
test_array [0] = 0
27162
30177
 
27163
30178
  ;
27165
30180
}
27166
30181
_ACEOF
27167
30182
rm -f conftest.$ac_objext
27168
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27169
 
  (eval $ac_compile) 2>conftest.er1
 
30183
if { (ac_try="$ac_compile"
 
30184
case "(($ac_try" in
 
30185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30186
  *) ac_try_echo=$ac_try;;
 
30187
esac
 
30188
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30189
  (eval "$ac_compile") 2>conftest.er1
27170
30190
  ac_status=$?
27171
30191
  grep -v '^ *+' conftest.er1 >conftest.err
27172
30192
  rm -f conftest.er1
27173
30193
  cat conftest.err >&5
27174
30194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175
30195
  (exit $ac_status); } &&
27176
 
         { ac_try='test -z "$ac_c_werror_flag"
27177
 
                         || test ! -s conftest.err'
27178
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27179
 
  (eval $ac_try) 2>&5
 
30196
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30197
  { (case "(($ac_try" in
 
30198
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30199
  *) ac_try_echo=$ac_try;;
 
30200
esac
 
30201
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30202
  (eval "$ac_try") 2>&5
27180
30203
  ac_status=$?
27181
30204
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182
30205
  (exit $ac_status); }; } &&
27183
30206
         { ac_try='test -s conftest.$ac_objext'
27184
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27185
 
  (eval $ac_try) 2>&5
 
30207
  { (case "(($ac_try" in
 
30208
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30209
  *) ac_try_echo=$ac_try;;
 
30210
esac
 
30211
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30212
  (eval "$ac_try") 2>&5
27186
30213
  ac_status=$?
27187
30214
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188
30215
  (exit $ac_status); }; }; then
27195
30222
cat >>conftest.$ac_ext <<_ACEOF
27196
30223
/* end confdefs.h.  */
27197
30224
$ac_includes_default
 
30225
                   typedef unsigned long ac__type_sizeof_;
27198
30226
int
27199
30227
main ()
27200
30228
{
27201
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
 
30229
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27202
30230
test_array [0] = 0
27203
30231
 
27204
30232
  ;
27206
30234
}
27207
30235
_ACEOF
27208
30236
rm -f conftest.$ac_objext
27209
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27210
 
  (eval $ac_compile) 2>conftest.er1
 
30237
if { (ac_try="$ac_compile"
 
30238
case "(($ac_try" in
 
30239
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30240
  *) ac_try_echo=$ac_try;;
 
30241
esac
 
30242
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30243
  (eval "$ac_compile") 2>conftest.er1
27211
30244
  ac_status=$?
27212
30245
  grep -v '^ *+' conftest.er1 >conftest.err
27213
30246
  rm -f conftest.er1
27214
30247
  cat conftest.err >&5
27215
30248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216
30249
  (exit $ac_status); } &&
27217
 
         { ac_try='test -z "$ac_c_werror_flag"
27218
 
                         || test ! -s conftest.err'
27219
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27220
 
  (eval $ac_try) 2>&5
 
30250
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30251
  { (case "(($ac_try" in
 
30252
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30253
  *) ac_try_echo=$ac_try;;
 
30254
esac
 
30255
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30256
  (eval "$ac_try") 2>&5
27221
30257
  ac_status=$?
27222
30258
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223
30259
  (exit $ac_status); }; } &&
27224
30260
         { ac_try='test -s conftest.$ac_objext'
27225
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226
 
  (eval $ac_try) 2>&5
 
30261
  { (case "(($ac_try" in
 
30262
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30263
  *) ac_try_echo=$ac_try;;
 
30264
esac
 
30265
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30266
  (eval "$ac_try") 2>&5
27227
30267
  ac_status=$?
27228
30268
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229
30269
  (exit $ac_status); }; }; then
27232
30272
  echo "$as_me: failed program was:" >&5
27233
30273
sed 's/^/| /' conftest.$ac_ext >&5
27234
30274
 
27235
 
ac_hi=`expr '(' $ac_mid ')' - 1`
27236
 
                       if test $ac_mid -le $ac_hi; then
27237
 
                         ac_lo= ac_hi=
27238
 
                         break
27239
 
                       fi
27240
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
30275
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
30276
                        if test $ac_mid -le $ac_hi; then
 
30277
                          ac_lo= ac_hi=
 
30278
                          break
 
30279
                        fi
 
30280
                        ac_mid=`expr 2 '*' $ac_mid`
27241
30281
fi
27242
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
30282
 
 
30283
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27243
30284
  done
27244
30285
else
27245
30286
  echo "$as_me: failed program was:" >&5
27246
30287
sed 's/^/| /' conftest.$ac_ext >&5
27247
30288
 
27248
 
ac_lo= ac_hi=
27249
 
fi
27250
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27251
 
fi
27252
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
30289
        ac_lo= ac_hi=
 
30290
fi
 
30291
 
 
30292
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
30293
fi
 
30294
 
 
30295
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27253
30296
# Binary search between lo and hi bounds.
27254
30297
while test "x$ac_lo" != "x$ac_hi"; do
27255
30298
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27260
30303
cat >>conftest.$ac_ext <<_ACEOF
27261
30304
/* end confdefs.h.  */
27262
30305
$ac_includes_default
 
30306
                   typedef unsigned long ac__type_sizeof_;
27263
30307
int
27264
30308
main ()
27265
30309
{
27266
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
30310
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27267
30311
test_array [0] = 0
27268
30312
 
27269
30313
  ;
27271
30315
}
27272
30316
_ACEOF
27273
30317
rm -f conftest.$ac_objext
27274
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27275
 
  (eval $ac_compile) 2>conftest.er1
 
30318
if { (ac_try="$ac_compile"
 
30319
case "(($ac_try" in
 
30320
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30321
  *) ac_try_echo=$ac_try;;
 
30322
esac
 
30323
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30324
  (eval "$ac_compile") 2>conftest.er1
27276
30325
  ac_status=$?
27277
30326
  grep -v '^ *+' conftest.er1 >conftest.err
27278
30327
  rm -f conftest.er1
27279
30328
  cat conftest.err >&5
27280
30329
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281
30330
  (exit $ac_status); } &&
27282
 
         { ac_try='test -z "$ac_c_werror_flag"
27283
 
                         || test ! -s conftest.err'
27284
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27285
 
  (eval $ac_try) 2>&5
 
30331
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30332
  { (case "(($ac_try" in
 
30333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30334
  *) ac_try_echo=$ac_try;;
 
30335
esac
 
30336
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30337
  (eval "$ac_try") 2>&5
27286
30338
  ac_status=$?
27287
30339
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288
30340
  (exit $ac_status); }; } &&
27289
30341
         { ac_try='test -s conftest.$ac_objext'
27290
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27291
 
  (eval $ac_try) 2>&5
 
30342
  { (case "(($ac_try" in
 
30343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30344
  *) ac_try_echo=$ac_try;;
 
30345
esac
 
30346
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30347
  (eval "$ac_try") 2>&5
27292
30348
  ac_status=$?
27293
30349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27294
30350
  (exit $ac_status); }; }; then
27297
30353
  echo "$as_me: failed program was:" >&5
27298
30354
sed 's/^/| /' conftest.$ac_ext >&5
27299
30355
 
27300
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
30356
        ac_lo=`expr '(' $ac_mid ')' + 1`
27301
30357
fi
27302
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
30358
 
 
30359
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27303
30360
done
27304
30361
case $ac_lo in
27305
30362
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
27306
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
30363
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
27307
30364
See \`config.log' for more details." >&5
27308
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
30365
echo "$as_me: error: cannot compute sizeof (unsigned long)
27309
30366
See \`config.log' for more details." >&2;}
27310
 
   { (exit 1); exit 1; }; } ;;
 
30367
   { (exit 77); exit 77; }; } ;;
27311
30368
esac
27312
30369
else
27313
 
  if test "$cross_compiling" = yes; then
27314
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27315
 
See \`config.log' for more details." >&5
27316
 
echo "$as_me: error: cannot run test program while cross compiling
27317
 
See \`config.log' for more details." >&2;}
27318
 
   { (exit 1); exit 1; }; }
27319
 
else
27320
30370
  cat >conftest.$ac_ext <<_ACEOF
27321
30371
/* confdefs.h.  */
27322
30372
_ACEOF
27324
30374
cat >>conftest.$ac_ext <<_ACEOF
27325
30375
/* end confdefs.h.  */
27326
30376
$ac_includes_default
27327
 
long longval () { return (long) (sizeof (unsigned long)); }
27328
 
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
 
30377
                   typedef unsigned long ac__type_sizeof_;
 
30378
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
30379
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27329
30380
#include <stdio.h>
27330
30381
#include <stdlib.h>
27331
30382
int
27334
30385
 
27335
30386
  FILE *f = fopen ("conftest.val", "w");
27336
30387
  if (! f)
27337
 
    exit (1);
27338
 
  if (((long) (sizeof (unsigned long))) < 0)
 
30388
    return 1;
 
30389
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27339
30390
    {
27340
 
      long i = longval ();
27341
 
      if (i != ((long) (sizeof (unsigned long))))
27342
 
        exit (1);
 
30391
      long int i = longval ();
 
30392
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
30393
        return 1;
27343
30394
      fprintf (f, "%ld\n", i);
27344
30395
    }
27345
30396
  else
27346
30397
    {
27347
 
      unsigned long i = ulongval ();
27348
 
      if (i != ((long) (sizeof (unsigned long))))
27349
 
        exit (1);
 
30398
      unsigned long int i = ulongval ();
 
30399
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
30400
        return 1;
27350
30401
      fprintf (f, "%lu\n", i);
27351
30402
    }
27352
 
  exit (ferror (f) || fclose (f) != 0);
 
30403
  return ferror (f) || fclose (f) != 0;
27353
30404
 
27354
30405
  ;
27355
30406
  return 0;
27356
30407
}
27357
30408
_ACEOF
27358
30409
rm -f conftest$ac_exeext
27359
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27360
 
  (eval $ac_link) 2>&5
 
30410
if { (ac_try="$ac_link"
 
30411
case "(($ac_try" in
 
30412
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30413
  *) ac_try_echo=$ac_try;;
 
30414
esac
 
30415
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30416
  (eval "$ac_link") 2>&5
27361
30417
  ac_status=$?
27362
30418
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363
30419
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27364
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365
 
  (eval $ac_try) 2>&5
 
30420
  { (case "(($ac_try" in
 
30421
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30422
  *) ac_try_echo=$ac_try;;
 
30423
esac
 
30424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30425
  (eval "$ac_try") 2>&5
27366
30426
  ac_status=$?
27367
30427
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368
30428
  (exit $ac_status); }; }; then
27373
30433
sed 's/^/| /' conftest.$ac_ext >&5
27374
30434
 
27375
30435
( exit $ac_status )
27376
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
30436
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
27377
30437
See \`config.log' for more details." >&5
27378
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
30438
echo "$as_me: error: cannot compute sizeof (unsigned long)
27379
30439
See \`config.log' for more details." >&2;}
27380
 
   { (exit 1); exit 1; }; }
27381
 
fi
27382
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27383
 
fi
 
30440
   { (exit 77); exit 77; }; }
 
30441
fi
 
30442
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27384
30443
fi
27385
30444
rm -f conftest.val
27386
30445
else
27387
30446
  ac_cv_sizeof_unsigned_long=0
27388
30447
fi
27389
30448
fi
27390
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
27391
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
 
30449
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
 
30450
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
27392
30451
cat >>confdefs.h <<_ACEOF
27393
30452
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
27394
30453
_ACEOF
27395
30454
 
27396
30455
 
27397
30456
 
27398
 
  echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
27399
 
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6
 
30457
  { echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
 
30458
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6; }
27400
30459
  cat >conftest.$ac_ext <<_ACEOF
27401
30460
/* confdefs.h.  */
27402
30461
_ACEOF
27417
30476
}
27418
30477
_ACEOF
27419
30478
rm -f conftest.$ac_objext
27420
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27421
 
  (eval $ac_compile) 2>conftest.er1
 
30479
if { (ac_try="$ac_compile"
 
30480
case "(($ac_try" in
 
30481
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30482
  *) ac_try_echo=$ac_try;;
 
30483
esac
 
30484
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30485
  (eval "$ac_compile") 2>conftest.er1
27422
30486
  ac_status=$?
27423
30487
  grep -v '^ *+' conftest.er1 >conftest.err
27424
30488
  rm -f conftest.er1
27425
30489
  cat conftest.err >&5
27426
30490
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427
30491
  (exit $ac_status); } &&
27428
 
         { ac_try='test -z "$ac_c_werror_flag"
27429
 
                         || test ! -s conftest.err'
27430
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27431
 
  (eval $ac_try) 2>&5
 
30492
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30493
  { (case "(($ac_try" in
 
30494
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30495
  *) ac_try_echo=$ac_try;;
 
30496
esac
 
30497
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30498
  (eval "$ac_try") 2>&5
27432
30499
  ac_status=$?
27433
30500
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27434
30501
  (exit $ac_status); }; } &&
27435
30502
         { ac_try='test -s conftest.$ac_objext'
27436
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27437
 
  (eval $ac_try) 2>&5
 
30503
  { (case "(($ac_try" in
 
30504
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30505
  *) ac_try_echo=$ac_try;;
 
30506
esac
 
30507
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30508
  (eval "$ac_try") 2>&5
27438
30509
  ac_status=$?
27439
30510
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440
30511
  (exit $ac_status); }; }; then
27441
 
  echo "$as_me:$LINENO: result: yes" >&5
27442
 
echo "${ECHO_T}yes" >&6
 
30512
  { echo "$as_me:$LINENO: result: yes" >&5
 
30513
echo "${ECHO_T}yes" >&6; }
27443
30514
else
27444
30515
  echo "$as_me: failed program was:" >&5
27445
30516
sed 's/^/| /' conftest.$ac_ext >&5
27446
30517
 
27447
30518
 
27448
 
      echo "$as_me:$LINENO: result: no" >&5
27449
 
echo "${ECHO_T}no" >&6
 
30519
      { echo "$as_me:$LINENO: result: no" >&5
 
30520
echo "${ECHO_T}no" >&6; }
27450
30521
      { { echo "$as_me:$LINENO: error:
27451
30522
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
27452
30523
       does not apply. Please mail kde-devel@kde.org with a description of your system!
27458
30529
   { (exit 1); exit 1; }; }
27459
30530
 
27460
30531
fi
27461
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
30532
 
 
30533
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
30534
 
 
30535
 
 
30536
  { echo "$as_me:$LINENO: checking for PIE support" >&5
 
30537
echo $ECHO_N "checking for PIE support... $ECHO_C" >&6; }
 
30538
if test "${kde_cv_val_pie_support+set}" = set; then
 
30539
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30540
else
 
30541
 
 
30542
 
 
30543
     ac_ext=cpp
 
30544
ac_cpp='$CXXCPP $CPPFLAGS'
 
30545
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
30546
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
30547
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
30548
 
 
30549
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
30550
 
 
30551
 
 
30552
    safe_CXXFLAGS=$CXXFLAGS
 
30553
    safe_LDFLAGS=$LDFLAGS
 
30554
    CXXFLAGS="$CXXFLAGS -fPIE"
 
30555
    LDFLAGS="$LDFLAGS -pie"
 
30556
 
 
30557
    cat >conftest.$ac_ext <<_ACEOF
 
30558
/* confdefs.h.  */
 
30559
_ACEOF
 
30560
cat confdefs.h >>conftest.$ac_ext
 
30561
cat >>conftest.$ac_ext <<_ACEOF
 
30562
/* end confdefs.h.  */
 
30563
int foo;
 
30564
int
 
30565
main ()
 
30566
{
 
30567
 
 
30568
  ;
 
30569
  return 0;
 
30570
}
 
30571
_ACEOF
 
30572
rm -f conftest.$ac_objext conftest$ac_exeext
 
30573
if { (ac_try="$ac_link"
 
30574
case "(($ac_try" in
 
30575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30576
  *) ac_try_echo=$ac_try;;
 
30577
esac
 
30578
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30579
  (eval "$ac_link") 2>conftest.er1
 
30580
  ac_status=$?
 
30581
  grep -v '^ *+' conftest.er1 >conftest.err
 
30582
  rm -f conftest.er1
 
30583
  cat conftest.err >&5
 
30584
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30585
  (exit $ac_status); } &&
 
30586
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
30587
  { (case "(($ac_try" in
 
30588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30589
  *) ac_try_echo=$ac_try;;
 
30590
esac
 
30591
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30592
  (eval "$ac_try") 2>&5
 
30593
  ac_status=$?
 
30594
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30595
  (exit $ac_status); }; } &&
 
30596
         { ac_try='test -s conftest$ac_exeext'
 
30597
  { (case "(($ac_try" in
 
30598
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30599
  *) ac_try_echo=$ac_try;;
 
30600
esac
 
30601
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30602
  (eval "$ac_try") 2>&5
 
30603
  ac_status=$?
 
30604
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30605
  (exit $ac_status); }; }; then
 
30606
  kde_cv_val_pie_support=yes
 
30607
else
 
30608
  echo "$as_me: failed program was:" >&5
 
30609
sed 's/^/| /' conftest.$ac_ext >&5
 
30610
 
 
30611
        kde_cv_val_pie_support=no
 
30612
fi
 
30613
 
 
30614
rm -f core conftest.err conftest.$ac_objext \
 
30615
      conftest$ac_exeext conftest.$ac_ext
 
30616
 
 
30617
    CXXFLAGS=$safe_CXXFLAGS
 
30618
    LDFLAGS=$safe_LDFLAGS
 
30619
    ac_ext=c
 
30620
ac_cpp='$CPP $CPPFLAGS'
 
30621
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
30622
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
30623
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
30624
 
 
30625
 
 
30626
fi
 
30627
{ echo "$as_me:$LINENO: result: $kde_cv_val_pie_support" >&5
 
30628
echo "${ECHO_T}$kde_cv_val_pie_support" >&6; }
 
30629
 
 
30630
  { echo "$as_me:$LINENO: checking if enabling -pie/fPIE support" >&5
 
30631
echo $ECHO_N "checking if enabling -pie/fPIE support... $ECHO_C" >&6; }
 
30632
 
 
30633
  # Check whether --enable-pie was given.
 
30634
if test "${enable_pie+set}" = set; then
 
30635
  enableval=$enable_pie; kde_has_pie_support=$enableval
 
30636
else
 
30637
  kde_has_pie_support=detect
 
30638
fi
 
30639
 
 
30640
 
 
30641
  if test "$kde_has_pie_support" = "detect"; then
 
30642
    kde_has_pie_support=$kde_cv_val_pie_support
 
30643
  fi
 
30644
 
 
30645
  { echo "$as_me:$LINENO: result: $kde_has_pie_support" >&5
 
30646
echo "${ECHO_T}$kde_has_pie_support" >&6; }
 
30647
 
 
30648
  KDE_USE_FPIE=""
 
30649
  KDE_USE_PIE=""
 
30650
 
 
30651
 
 
30652
 
 
30653
 
 
30654
  if test "$kde_has_pie_support" = "yes"; then
 
30655
    KDE_USE_FPIE="-fPIE"
 
30656
    KDE_USE_PIE="-pie"
 
30657
  fi
27462
30658
 
27463
30659
 
27464
30660
# darwin needs this to initialize the environment
27466
30662
for ac_header in crt_externs.h
27467
30663
do
27468
30664
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27469
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27470
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
27471
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27472
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
30665
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
30666
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
30667
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
30668
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27473
30669
  echo $ECHO_N "(cached) $ECHO_C" >&6
27474
30670
fi
27475
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27476
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
30671
ac_res=`eval echo '${'$as_ac_Header'}'`
 
30672
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
30673
echo "${ECHO_T}$ac_res" >&6; }
27477
30674
else
27478
30675
  # Is the header compilable?
27479
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
27480
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
30676
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
30677
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27481
30678
cat >conftest.$ac_ext <<_ACEOF
27482
30679
/* confdefs.h.  */
27483
30680
_ACEOF
27488
30685
#include <$ac_header>
27489
30686
_ACEOF
27490
30687
rm -f conftest.$ac_objext
27491
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27492
 
  (eval $ac_compile) 2>conftest.er1
 
30688
if { (ac_try="$ac_compile"
 
30689
case "(($ac_try" in
 
30690
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30691
  *) ac_try_echo=$ac_try;;
 
30692
esac
 
30693
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30694
  (eval "$ac_compile") 2>conftest.er1
27493
30695
  ac_status=$?
27494
30696
  grep -v '^ *+' conftest.er1 >conftest.err
27495
30697
  rm -f conftest.er1
27496
30698
  cat conftest.err >&5
27497
30699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498
30700
  (exit $ac_status); } &&
27499
 
         { ac_try='test -z "$ac_c_werror_flag"
27500
 
                         || test ! -s conftest.err'
27501
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27502
 
  (eval $ac_try) 2>&5
 
30701
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30702
  { (case "(($ac_try" in
 
30703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30704
  *) ac_try_echo=$ac_try;;
 
30705
esac
 
30706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30707
  (eval "$ac_try") 2>&5
27503
30708
  ac_status=$?
27504
30709
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505
30710
  (exit $ac_status); }; } &&
27506
30711
         { ac_try='test -s conftest.$ac_objext'
27507
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27508
 
  (eval $ac_try) 2>&5
 
30712
  { (case "(($ac_try" in
 
30713
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30714
  *) ac_try_echo=$ac_try;;
 
30715
esac
 
30716
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30717
  (eval "$ac_try") 2>&5
27509
30718
  ac_status=$?
27510
30719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511
30720
  (exit $ac_status); }; }; then
27514
30723
  echo "$as_me: failed program was:" >&5
27515
30724
sed 's/^/| /' conftest.$ac_ext >&5
27516
30725
 
27517
 
ac_header_compiler=no
 
30726
        ac_header_compiler=no
27518
30727
fi
27519
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27520
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27521
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
30728
 
 
30729
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
30730
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
30731
echo "${ECHO_T}$ac_header_compiler" >&6; }
27522
30732
 
27523
30733
# Is the header present?
27524
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
27525
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
30734
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
30735
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27526
30736
cat >conftest.$ac_ext <<_ACEOF
27527
30737
/* confdefs.h.  */
27528
30738
_ACEOF
27531
30741
/* end confdefs.h.  */
27532
30742
#include <$ac_header>
27533
30743
_ACEOF
27534
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27535
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
30744
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
30745
case "(($ac_try" in
 
30746
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30747
  *) ac_try_echo=$ac_try;;
 
30748
esac
 
30749
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30750
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27536
30751
  ac_status=$?
27537
30752
  grep -v '^ *+' conftest.er1 >conftest.err
27538
30753
  rm -f conftest.er1
27556
30771
 
27557
30772
  ac_header_preproc=no
27558
30773
fi
 
30774
 
27559
30775
rm -f conftest.err conftest.$ac_ext
27560
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27561
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
30776
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
30777
echo "${ECHO_T}$ac_header_preproc" >&6; }
27562
30778
 
27563
30779
# So?  What about this header?
27564
30780
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27582
30798
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27583
30799
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27584
30800
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27585
 
    (
27586
 
      cat <<\_ASBOX
27587
 
## ------------------------------------------ ##
27588
 
## Report this to the AC_PACKAGE_NAME lists.  ##
27589
 
## ------------------------------------------ ##
27590
 
_ASBOX
27591
 
    ) |
27592
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
30801
 
27593
30802
    ;;
27594
30803
esac
27595
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
27596
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27597
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
30804
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
30805
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
30806
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27598
30807
  echo $ECHO_N "(cached) $ECHO_C" >&6
27599
30808
else
27600
30809
  eval "$as_ac_Header=\$ac_header_preproc"
27601
30810
fi
27602
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27603
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
30811
ac_res=`eval echo '${'$as_ac_Header'}'`
 
30812
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
30813
echo "${ECHO_T}$ac_res" >&6; }
27604
30814
 
27605
30815
fi
27606
30816
if test `eval echo '${'$as_ac_Header'}'` = yes; then
27612
30822
 
27613
30823
done
27614
30824
 
27615
 
echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
27616
 
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6
 
30825
{ echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
 
30826
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6; }
27617
30827
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
27618
30828
  echo $ECHO_N "(cached) $ECHO_C" >&6
27619
30829
else
27640
30850
 
27641
30851
#undef _NSGetEnviron
27642
30852
 
27643
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
30853
/* Override any GCC internal prototype to avoid an error.
 
30854
   Use char because int might match the return type of a GCC
 
30855
   builtin and then its argument prototype would still apply.  */
27644
30856
#ifdef __cplusplus
27645
30857
extern "C"
27646
 
{
27647
30858
#endif
27648
 
/* We use char because int might match the return type of a gcc2
27649
 
   builtin and then its argument prototype would still apply.  */
27650
30859
char _NSGetEnviron ();
27651
30860
/* The GNU C library defines this for functions which it implements
27652
30861
    to always fail with ENOSYS.  Some functions are actually named
27653
30862
    something starting with __ and the normal name is an alias.  */
27654
 
#if defined (__stub__NSGetEnviron) || defined (__stub____NSGetEnviron)
 
30863
#if defined __stub__NSGetEnviron || defined __stub____NSGetEnviron
27655
30864
choke me
27656
 
#else
27657
 
char (*f) () = _NSGetEnviron;
27658
 
#endif
27659
 
#ifdef __cplusplus
27660
 
}
27661
30865
#endif
27662
30866
 
27663
30867
int
27664
30868
main ()
27665
30869
{
27666
 
return f != _NSGetEnviron;
 
30870
return _NSGetEnviron ();
27667
30871
  ;
27668
30872
  return 0;
27669
30873
}
27670
30874
_ACEOF
27671
30875
rm -f conftest.$ac_objext conftest$ac_exeext
27672
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27673
 
  (eval $ac_link) 2>conftest.er1
 
30876
if { (ac_try="$ac_link"
 
30877
case "(($ac_try" in
 
30878
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30879
  *) ac_try_echo=$ac_try;;
 
30880
esac
 
30881
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30882
  (eval "$ac_link") 2>conftest.er1
27674
30883
  ac_status=$?
27675
30884
  grep -v '^ *+' conftest.er1 >conftest.err
27676
30885
  rm -f conftest.er1
27677
30886
  cat conftest.err >&5
27678
30887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679
30888
  (exit $ac_status); } &&
27680
 
         { ac_try='test -z "$ac_c_werror_flag"
27681
 
                         || test ! -s conftest.err'
27682
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27683
 
  (eval $ac_try) 2>&5
 
30889
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
30890
  { (case "(($ac_try" in
 
30891
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30892
  *) ac_try_echo=$ac_try;;
 
30893
esac
 
30894
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30895
  (eval "$ac_try") 2>&5
27684
30896
  ac_status=$?
27685
30897
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27686
30898
  (exit $ac_status); }; } &&
27687
30899
         { ac_try='test -s conftest$ac_exeext'
27688
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27689
 
  (eval $ac_try) 2>&5
 
30900
  { (case "(($ac_try" in
 
30901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30902
  *) ac_try_echo=$ac_try;;
 
30903
esac
 
30904
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30905
  (eval "$ac_try") 2>&5
27690
30906
  ac_status=$?
27691
30907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27692
30908
  (exit $ac_status); }; }; then
27695
30911
  echo "$as_me: failed program was:" >&5
27696
30912
sed 's/^/| /' conftest.$ac_ext >&5
27697
30913
 
27698
 
ac_cv_func__NSGetEnviron=no
 
30914
        ac_cv_func__NSGetEnviron=no
27699
30915
fi
27700
 
rm -f conftest.err conftest.$ac_objext \
 
30916
 
 
30917
rm -f core conftest.err conftest.$ac_objext \
27701
30918
      conftest$ac_exeext conftest.$ac_ext
27702
30919
fi
27703
 
echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
27704
 
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6
 
30920
{ echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
 
30921
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6; }
27705
30922
if test $ac_cv_func__NSGetEnviron = yes; then
27706
30923
 
27707
30924
cat >>confdefs.h <<\_ACEOF
27722
30939
for ac_func in vsnprintf snprintf
27723
30940
do
27724
30941
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27725
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
27726
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27727
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
30942
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
30943
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
30944
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27728
30945
  echo $ECHO_N "(cached) $ECHO_C" >&6
27729
30946
else
27730
30947
  cat >conftest.$ac_ext <<_ACEOF
27750
30967
 
27751
30968
#undef $ac_func
27752
30969
 
27753
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
30970
/* Override any GCC internal prototype to avoid an error.
 
30971
   Use char because int might match the return type of a GCC
 
30972
   builtin and then its argument prototype would still apply.  */
27754
30973
#ifdef __cplusplus
27755
30974
extern "C"
27756
 
{
27757
30975
#endif
27758
 
/* We use char because int might match the return type of a gcc2
27759
 
   builtin and then its argument prototype would still apply.  */
27760
30976
char $ac_func ();
27761
30977
/* The GNU C library defines this for functions which it implements
27762
30978
    to always fail with ENOSYS.  Some functions are actually named
27763
30979
    something starting with __ and the normal name is an alias.  */
27764
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
30980
#if defined __stub_$ac_func || defined __stub___$ac_func
27765
30981
choke me
27766
 
#else
27767
 
char (*f) () = $ac_func;
27768
 
#endif
27769
 
#ifdef __cplusplus
27770
 
}
27771
30982
#endif
27772
30983
 
27773
30984
int
27774
30985
main ()
27775
30986
{
27776
 
return f != $ac_func;
 
30987
return $ac_func ();
27777
30988
  ;
27778
30989
  return 0;
27779
30990
}
27780
30991
_ACEOF
27781
30992
rm -f conftest.$ac_objext conftest$ac_exeext
27782
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27783
 
  (eval $ac_link) 2>conftest.er1
 
30993
if { (ac_try="$ac_link"
 
30994
case "(($ac_try" in
 
30995
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30996
  *) ac_try_echo=$ac_try;;
 
30997
esac
 
30998
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30999
  (eval "$ac_link") 2>conftest.er1
27784
31000
  ac_status=$?
27785
31001
  grep -v '^ *+' conftest.er1 >conftest.err
27786
31002
  rm -f conftest.er1
27787
31003
  cat conftest.err >&5
27788
31004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789
31005
  (exit $ac_status); } &&
27790
 
         { ac_try='test -z "$ac_c_werror_flag"
27791
 
                         || test ! -s conftest.err'
27792
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27793
 
  (eval $ac_try) 2>&5
 
31006
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31007
  { (case "(($ac_try" in
 
31008
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31009
  *) ac_try_echo=$ac_try;;
 
31010
esac
 
31011
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31012
  (eval "$ac_try") 2>&5
27794
31013
  ac_status=$?
27795
31014
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27796
31015
  (exit $ac_status); }; } &&
27797
31016
         { ac_try='test -s conftest$ac_exeext'
27798
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27799
 
  (eval $ac_try) 2>&5
 
31017
  { (case "(($ac_try" in
 
31018
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31019
  *) ac_try_echo=$ac_try;;
 
31020
esac
 
31021
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31022
  (eval "$ac_try") 2>&5
27800
31023
  ac_status=$?
27801
31024
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802
31025
  (exit $ac_status); }; }; then
27805
31028
  echo "$as_me: failed program was:" >&5
27806
31029
sed 's/^/| /' conftest.$ac_ext >&5
27807
31030
 
27808
 
eval "$as_ac_var=no"
 
31031
        eval "$as_ac_var=no"
27809
31032
fi
27810
 
rm -f conftest.err conftest.$ac_objext \
 
31033
 
 
31034
rm -f core conftest.err conftest.$ac_objext \
27811
31035
      conftest$ac_exeext conftest.$ac_ext
27812
31036
fi
27813
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27814
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
31037
ac_res=`eval echo '${'$as_ac_var'}'`
 
31038
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
31039
echo "${ECHO_T}$ac_res" >&6; }
27815
31040
if test `eval echo '${'$as_ac_var'}'` = yes; then
27816
31041
  cat >>confdefs.h <<_ACEOF
27817
31042
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27828
31053
 
27829
31054
 
27830
31055
 
27831
 
# Check whether --enable-embedded or --disable-embedded was given.
 
31056
# Check whether --enable-embedded was given.
27832
31057
if test "${enable_embedded+set}" = set; then
27833
 
  enableval="$enable_embedded"
27834
 
  kde_use_qt_emb=$enableval
 
31058
  enableval=$enable_embedded; kde_use_qt_emb=$enableval
27835
31059
else
27836
31060
  kde_use_qt_emb=no
27837
31061
 
27838
 
fi;
27839
 
 
27840
 
# Check whether --enable-qtopia or --disable-qtopia was given.
 
31062
fi
 
31063
 
 
31064
 
 
31065
# Check whether --enable-qtopia was given.
27841
31066
if test "${enable_qtopia+set}" = set; then
27842
 
  enableval="$enable_qtopia"
27843
 
  kde_use_qt_emb_palm=$enableval
 
31067
  enableval=$enable_qtopia; kde_use_qt_emb_palm=$enableval
27844
31068
else
27845
31069
  kde_use_qt_emb_palm=no
27846
31070
 
27847
 
fi;
27848
 
 
27849
 
# Check whether --enable-mac or --disable-mac was given.
 
31071
fi
 
31072
 
 
31073
 
 
31074
# Check whether --enable-mac was given.
27850
31075
if test "${enable_mac+set}" = set; then
27851
 
  enableval="$enable_mac"
27852
 
  kde_use_qt_mac=$enableval
 
31076
  enableval=$enable_mac; kde_use_qt_mac=$enableval
27853
31077
else
27854
31078
  kde_use_qt_mac=no
27855
31079
 
27856
 
fi;
 
31080
fi
 
31081
 
27857
31082
 
27858
31083
# used to disable x11-specific stuff on special platforms
27859
31084
 
27869
31094
 
27870
31095
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
27871
31096
 
27872
 
echo "$as_me:$LINENO: checking for X" >&5
27873
 
echo $ECHO_N "checking for X... $ECHO_C" >&6
 
31097
{ echo "$as_me:$LINENO: checking for X" >&5
 
31098
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
27874
31099
 
27875
31100
if test "${kde_cv_have_x+set}" = set; then
27876
31101
  echo $ECHO_N "(cached) $ECHO_C" >&6
27907
31132
/* end confdefs.h.  */
27908
31133
#include <$x_direct_test_include>
27909
31134
_ACEOF
27910
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27911
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
31135
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
31136
case "(($ac_try" in
 
31137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31138
  *) ac_try_echo=$ac_try;;
 
31139
esac
 
31140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31141
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27912
31142
  ac_status=$?
27913
31143
  grep -v '^ *+' conftest.er1 >conftest.err
27914
31144
  rm -f conftest.er1
27975
31205
    fi
27976
31206
  done
27977
31207
fi
 
31208
 
27978
31209
rm -f conftest.err conftest.$ac_ext
27979
31210
fi # $ac_x_includes = NO
27980
31211
 
28004
31235
}
28005
31236
_ACEOF
28006
31237
rm -f conftest.$ac_objext conftest$ac_exeext
28007
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28008
 
  (eval $ac_link) 2>conftest.er1
 
31238
if { (ac_try="$ac_link"
 
31239
case "(($ac_try" in
 
31240
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31241
  *) ac_try_echo=$ac_try;;
 
31242
esac
 
31243
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31244
  (eval "$ac_link") 2>conftest.er1
28009
31245
  ac_status=$?
28010
31246
  grep -v '^ *+' conftest.er1 >conftest.err
28011
31247
  rm -f conftest.er1
28012
31248
  cat conftest.err >&5
28013
31249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28014
31250
  (exit $ac_status); } &&
28015
 
         { ac_try='test -z "$ac_c_werror_flag"
28016
 
                         || test ! -s conftest.err'
28017
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28018
 
  (eval $ac_try) 2>&5
 
31251
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31252
  { (case "(($ac_try" in
 
31253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31254
  *) ac_try_echo=$ac_try;;
 
31255
esac
 
31256
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31257
  (eval "$ac_try") 2>&5
28019
31258
  ac_status=$?
28020
31259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021
31260
  (exit $ac_status); }; } &&
28022
31261
         { ac_try='test -s conftest$ac_exeext'
28023
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28024
 
  (eval $ac_try) 2>&5
 
31262
  { (case "(($ac_try" in
 
31263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31264
  *) ac_try_echo=$ac_try;;
 
31265
esac
 
31266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31267
  (eval "$ac_try") 2>&5
28025
31268
  ac_status=$?
28026
31269
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027
31270
  (exit $ac_status); }; }; then
28032
31275
  echo "$as_me: failed program was:" >&5
28033
31276
sed 's/^/| /' conftest.$ac_ext >&5
28034
31277
 
28035
 
LIBS="$ac_save_LIBS"
 
31278
        LIBS="$ac_save_LIBS"
28036
31279
# First see if replacing the include by lib works.
28037
31280
# Check X11 before X11Rn because it is often a symlink to the current release.
28038
31281
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
28080
31323
  done
28081
31324
done
28082
31325
fi
28083
 
rm -f conftest.err conftest.$ac_objext \
 
31326
 
 
31327
rm -f core conftest.err conftest.$ac_objext \
28084
31328
      conftest$ac_exeext conftest.$ac_ext
28085
31329
fi # $ac_x_libraries = NO
28086
31330
 
28090
31334
*-*-solaris*)
28091
31335
  ;;
28092
31336
*)
28093
 
  rm -fr conftest.dir
 
31337
  rm -f -r conftest.dir
28094
31338
if mkdir conftest.dir; then
28095
31339
  cd conftest.dir
28096
 
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28097
31340
  cat >Imakefile <<'_ACEOF'
28098
 
acfindx:
28099
 
        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
 
31341
incroot:
 
31342
        @echo incroot='${INCROOT}'
 
31343
usrlibdir:
 
31344
        @echo usrlibdir='${USRLIBDIR}'
 
31345
libdir:
 
31346
        @echo libdir='${LIBDIR}'
28100
31347
_ACEOF
28101
 
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
 
31348
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28102
31349
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28103
 
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
 
31350
    for ac_var in incroot usrlibdir libdir; do
 
31351
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 
31352
    done
28104
31353
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28105
31354
    for ac_extension in a so sl; do
28106
 
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28107
 
         test -f $ac_im_libdir/libX11.$ac_extension; then
 
31355
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 
31356
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
28108
31357
        ac_im_usrlibdir=$ac_im_libdir; break
28109
31358
      fi
28110
31359
    done
28112
31361
    # bogus both because they are the default anyway, and because
28113
31362
    # using them would break gcc on systems where it needs fixed includes.
28114
31363
    case $ac_im_incroot in
28115
 
        /usr/include) ;;
 
31364
        /usr/include) ac_x_includes= ;;
28116
31365
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28117
31366
    esac
28118
31367
    case $ac_im_usrlibdir in
28121
31370
    esac
28122
31371
  fi
28123
31372
  cd ..
28124
 
  rm -fr conftest.dir
 
31373
  rm -f -r conftest.dir
28125
31374
fi
28126
31375
 
28127
31376
  if test -z "$ac_x_includes"; then
28165
31414
eval "$kde_cv_have_x"
28166
31415
 
28167
31416
if test "$have_x" != yes; then
28168
 
  echo "$as_me:$LINENO: result: $have_x" >&5
28169
 
echo "${ECHO_T}$have_x" >&6
 
31417
  { echo "$as_me:$LINENO: result: $have_x" >&5
 
31418
echo "${ECHO_T}$have_x" >&6; }
28170
31419
  no_x=yes
28171
31420
else
28172
 
  echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
28173
 
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6
 
31421
  { echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
 
31422
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6; }
28174
31423
fi
28175
31424
 
28176
31425
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
28198
31447
# These have to be linked with before -lX11, unlike the other
28199
31448
# libraries we check for below, so use a different variable.
28200
31449
#  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
28201
 
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28202
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
 
31450
{ echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
31451
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
28203
31452
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28204
31453
  echo $ECHO_N "(cached) $ECHO_C" >&6
28205
31454
else
28212
31461
cat >>conftest.$ac_ext <<_ACEOF
28213
31462
/* end confdefs.h.  */
28214
31463
 
28215
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
31464
/* Override any GCC internal prototype to avoid an error.
 
31465
   Use char because int might match the return type of a GCC
 
31466
   builtin and then its argument prototype would still apply.  */
28216
31467
#ifdef __cplusplus
28217
31468
extern "C"
28218
31469
#endif
28219
 
/* We use char because int might match the return type of a gcc2
28220
 
   builtin and then its argument prototype would still apply.  */
28221
31470
char IceConnectionNumber ();
28222
31471
int
28223
31472
main ()
28224
31473
{
28225
 
IceConnectionNumber ();
 
31474
return IceConnectionNumber ();
28226
31475
  ;
28227
31476
  return 0;
28228
31477
}
28229
31478
_ACEOF
28230
31479
rm -f conftest.$ac_objext conftest$ac_exeext
28231
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28232
 
  (eval $ac_link) 2>conftest.er1
 
31480
if { (ac_try="$ac_link"
 
31481
case "(($ac_try" in
 
31482
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31483
  *) ac_try_echo=$ac_try;;
 
31484
esac
 
31485
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31486
  (eval "$ac_link") 2>conftest.er1
28233
31487
  ac_status=$?
28234
31488
  grep -v '^ *+' conftest.er1 >conftest.err
28235
31489
  rm -f conftest.er1
28236
31490
  cat conftest.err >&5
28237
31491
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238
31492
  (exit $ac_status); } &&
28239
 
         { ac_try='test -z "$ac_c_werror_flag"
28240
 
                         || test ! -s conftest.err'
28241
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28242
 
  (eval $ac_try) 2>&5
 
31493
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31494
  { (case "(($ac_try" in
 
31495
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31496
  *) ac_try_echo=$ac_try;;
 
31497
esac
 
31498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31499
  (eval "$ac_try") 2>&5
28243
31500
  ac_status=$?
28244
31501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245
31502
  (exit $ac_status); }; } &&
28246
31503
         { ac_try='test -s conftest$ac_exeext'
28247
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248
 
  (eval $ac_try) 2>&5
 
31504
  { (case "(($ac_try" in
 
31505
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31506
  *) ac_try_echo=$ac_try;;
 
31507
esac
 
31508
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31509
  (eval "$ac_try") 2>&5
28249
31510
  ac_status=$?
28250
31511
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251
31512
  (exit $ac_status); }; }; then
28254
31515
  echo "$as_me: failed program was:" >&5
28255
31516
sed 's/^/| /' conftest.$ac_ext >&5
28256
31517
 
28257
 
ac_cv_lib_ICE_IceConnectionNumber=no
 
31518
        ac_cv_lib_ICE_IceConnectionNumber=no
28258
31519
fi
28259
 
rm -f conftest.err conftest.$ac_objext \
 
31520
 
 
31521
rm -f core conftest.err conftest.$ac_objext \
28260
31522
      conftest$ac_exeext conftest.$ac_ext
28261
31523
LIBS=$ac_check_lib_save_LIBS
28262
31524
fi
28263
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28264
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
 
31525
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
31526
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
28265
31527
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28266
31528
  LIBSM="-lSM -lICE"
28267
31529
fi
28270
31532
 
28271
31533
LIB_X11='-lX11 $(LIBSOCKET)'
28272
31534
 
28273
 
echo "$as_me:$LINENO: checking for libXext" >&5
28274
 
echo $ECHO_N "checking for libXext... $ECHO_C" >&6
 
31535
{ echo "$as_me:$LINENO: checking for libXext" >&5
 
31536
echo $ECHO_N "checking for libXext... $ECHO_C" >&6; }
28275
31537
if test "${kde_cv_have_libXext+set}" = set; then
28276
31538
  echo $ECHO_N "(cached) $ECHO_C" >&6
28277
31539
else
28305
31567
}
28306
31568
_ACEOF
28307
31569
rm -f conftest.$ac_objext conftest$ac_exeext
28308
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28309
 
  (eval $ac_link) 2>conftest.er1
 
31570
if { (ac_try="$ac_link"
 
31571
case "(($ac_try" in
 
31572
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31573
  *) ac_try_echo=$ac_try;;
 
31574
esac
 
31575
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31576
  (eval "$ac_link") 2>conftest.er1
28310
31577
  ac_status=$?
28311
31578
  grep -v '^ *+' conftest.er1 >conftest.err
28312
31579
  rm -f conftest.er1
28313
31580
  cat conftest.err >&5
28314
31581
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315
31582
  (exit $ac_status); } &&
28316
 
         { ac_try='test -z "$ac_c_werror_flag"
28317
 
                         || test ! -s conftest.err'
28318
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28319
 
  (eval $ac_try) 2>&5
 
31583
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31584
  { (case "(($ac_try" in
 
31585
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31586
  *) ac_try_echo=$ac_try;;
 
31587
esac
 
31588
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31589
  (eval "$ac_try") 2>&5
28320
31590
  ac_status=$?
28321
31591
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322
31592
  (exit $ac_status); }; } &&
28323
31593
         { ac_try='test -s conftest$ac_exeext'
28324
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28325
 
  (eval $ac_try) 2>&5
 
31594
  { (case "(($ac_try" in
 
31595
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31596
  *) ac_try_echo=$ac_try;;
 
31597
esac
 
31598
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31599
  (eval "$ac_try") 2>&5
28326
31600
  ac_status=$?
28327
31601
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28328
31602
  (exit $ac_status); }; }; then
28331
31605
  echo "$as_me: failed program was:" >&5
28332
31606
sed 's/^/| /' conftest.$ac_ext >&5
28333
31607
 
28334
 
kde_cv_have_libXext=no
 
31608
        kde_cv_have_libXext=no
28335
31609
 
28336
31610
fi
28337
 
rm -f conftest.err conftest.$ac_objext \
 
31611
 
 
31612
rm -f core conftest.err conftest.$ac_objext \
28338
31613
      conftest$ac_exeext conftest.$ac_ext
28339
31614
 
28340
31615
LDFLAGS=$kde_ldflags_safe
28343
31618
fi
28344
31619
 
28345
31620
 
28346
 
echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
28347
 
echo "${ECHO_T}$kde_cv_have_libXext" >&6
 
31621
{ echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
 
31622
echo "${ECHO_T}$kde_cv_have_libXext" >&6; }
28348
31623
 
28349
31624
if test "$kde_cv_have_libXext" = "no"; then
28350
31625
  { { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
28406
31681
    else
28407
31682
      PTHREAD_LIBS_save="$PTHREAD_LIBS"
28408
31683
      PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
28409
 
      echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
28410
 
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6
 
31684
      { echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
 
31685
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6; }
28411
31686
 
28412
31687
     kde_save_LDFLAGS="$LDFLAGS"
28413
31688
          kde_save_LIBS="$LIBS"
28418
31693
        ;;
28419
31694
     esac
28420
31695
     as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
28421
 
echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
28422
 
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6
28423
 
if eval "test \"\${$as_ac_Lib+set}\" = set"; then
 
31696
{ echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
 
31697
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6; }
 
31698
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
28424
31699
  echo $ECHO_N "(cached) $ECHO_C" >&6
28425
31700
else
28426
31701
  ac_check_lib_save_LIBS=$LIBS
28432
31707
cat >>conftest.$ac_ext <<_ACEOF
28433
31708
/* end confdefs.h.  */
28434
31709
 
28435
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
31710
/* Override any GCC internal prototype to avoid an error.
 
31711
   Use char because int might match the return type of a GCC
 
31712
   builtin and then its argument prototype would still apply.  */
28436
31713
#ifdef __cplusplus
28437
31714
extern "C"
28438
31715
#endif
28439
 
/* We use char because int might match the return type of a gcc2
28440
 
   builtin and then its argument prototype would still apply.  */
28441
31716
char pthread_create ();
28442
31717
int
28443
31718
main ()
28444
31719
{
28445
 
pthread_create ();
 
31720
return pthread_create ();
28446
31721
  ;
28447
31722
  return 0;
28448
31723
}
28449
31724
_ACEOF
28450
31725
rm -f conftest.$ac_objext conftest$ac_exeext
28451
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28452
 
  (eval $ac_link) 2>conftest.er1
 
31726
if { (ac_try="$ac_link"
 
31727
case "(($ac_try" in
 
31728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31729
  *) ac_try_echo=$ac_try;;
 
31730
esac
 
31731
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31732
  (eval "$ac_link") 2>conftest.er1
28453
31733
  ac_status=$?
28454
31734
  grep -v '^ *+' conftest.er1 >conftest.err
28455
31735
  rm -f conftest.er1
28456
31736
  cat conftest.err >&5
28457
31737
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458
31738
  (exit $ac_status); } &&
28459
 
         { ac_try='test -z "$ac_c_werror_flag"
28460
 
                         || test ! -s conftest.err'
28461
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28462
 
  (eval $ac_try) 2>&5
 
31739
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31740
  { (case "(($ac_try" in
 
31741
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31742
  *) ac_try_echo=$ac_try;;
 
31743
esac
 
31744
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31745
  (eval "$ac_try") 2>&5
28463
31746
  ac_status=$?
28464
31747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465
31748
  (exit $ac_status); }; } &&
28466
31749
         { ac_try='test -s conftest$ac_exeext'
28467
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28468
 
  (eval $ac_try) 2>&5
 
31750
  { (case "(($ac_try" in
 
31751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31752
  *) ac_try_echo=$ac_try;;
 
31753
esac
 
31754
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31755
  (eval "$ac_try") 2>&5
28469
31756
  ac_status=$?
28470
31757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471
31758
  (exit $ac_status); }; }; then
28474
31761
  echo "$as_me: failed program was:" >&5
28475
31762
sed 's/^/| /' conftest.$ac_ext >&5
28476
31763
 
28477
 
eval "$as_ac_Lib=no"
 
31764
        eval "$as_ac_Lib=no"
28478
31765
fi
28479
 
rm -f conftest.err conftest.$ac_objext \
 
31766
 
 
31767
rm -f core conftest.err conftest.$ac_objext \
28480
31768
      conftest$ac_exeext conftest.$ac_ext
28481
31769
LIBS=$ac_check_lib_save_LIBS
28482
31770
fi
28483
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28484
 
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
 
31771
ac_res=`eval echo '${'$as_ac_Lib'}'`
 
31772
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
31773
echo "${ECHO_T}$ac_res" >&6; }
28485
31774
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28486
31775
  LIBPTHREAD="$PTHREAD_LIBS_save"
28487
31776
fi
28494
31783
  fi
28495
31784
 
28496
31785
    if test -z "$LIBPTHREAD"; then
28497
 
    echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
28498
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
 
31786
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
 
31787
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
28499
31788
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
28500
31789
  echo $ECHO_N "(cached) $ECHO_C" >&6
28501
31790
else
28508
31797
cat >>conftest.$ac_ext <<_ACEOF
28509
31798
/* end confdefs.h.  */
28510
31799
 
28511
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
31800
/* Override any GCC internal prototype to avoid an error.
 
31801
   Use char because int might match the return type of a GCC
 
31802
   builtin and then its argument prototype would still apply.  */
28512
31803
#ifdef __cplusplus
28513
31804
extern "C"
28514
31805
#endif
28515
 
/* We use char because int might match the return type of a gcc2
28516
 
   builtin and then its argument prototype would still apply.  */
28517
31806
char pthread_create ();
28518
31807
int
28519
31808
main ()
28520
31809
{
28521
 
pthread_create ();
 
31810
return pthread_create ();
28522
31811
  ;
28523
31812
  return 0;
28524
31813
}
28525
31814
_ACEOF
28526
31815
rm -f conftest.$ac_objext conftest$ac_exeext
28527
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28528
 
  (eval $ac_link) 2>conftest.er1
 
31816
if { (ac_try="$ac_link"
 
31817
case "(($ac_try" in
 
31818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31819
  *) ac_try_echo=$ac_try;;
 
31820
esac
 
31821
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31822
  (eval "$ac_link") 2>conftest.er1
28529
31823
  ac_status=$?
28530
31824
  grep -v '^ *+' conftest.er1 >conftest.err
28531
31825
  rm -f conftest.er1
28532
31826
  cat conftest.err >&5
28533
31827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534
31828
  (exit $ac_status); } &&
28535
 
         { ac_try='test -z "$ac_c_werror_flag"
28536
 
                         || test ! -s conftest.err'
28537
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28538
 
  (eval $ac_try) 2>&5
 
31829
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31830
  { (case "(($ac_try" in
 
31831
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31832
  *) ac_try_echo=$ac_try;;
 
31833
esac
 
31834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31835
  (eval "$ac_try") 2>&5
28539
31836
  ac_status=$?
28540
31837
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541
31838
  (exit $ac_status); }; } &&
28542
31839
         { ac_try='test -s conftest$ac_exeext'
28543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28544
 
  (eval $ac_try) 2>&5
 
31840
  { (case "(($ac_try" in
 
31841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31842
  *) ac_try_echo=$ac_try;;
 
31843
esac
 
31844
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31845
  (eval "$ac_try") 2>&5
28545
31846
  ac_status=$?
28546
31847
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547
31848
  (exit $ac_status); }; }; then
28550
31851
  echo "$as_me: failed program was:" >&5
28551
31852
sed 's/^/| /' conftest.$ac_ext >&5
28552
31853
 
28553
 
ac_cv_lib_pthread_pthread_create=no
 
31854
        ac_cv_lib_pthread_pthread_create=no
28554
31855
fi
28555
 
rm -f conftest.err conftest.$ac_objext \
 
31856
 
 
31857
rm -f core conftest.err conftest.$ac_objext \
28556
31858
      conftest$ac_exeext conftest.$ac_ext
28557
31859
LIBS=$ac_check_lib_save_LIBS
28558
31860
fi
28559
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
28560
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
 
31861
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
 
31862
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
28561
31863
if test $ac_cv_lib_pthread_pthread_create = yes; then
28562
31864
  LIBPTHREAD="-lpthread"
28563
31865
fi
28565
31867
  fi
28566
31868
 
28567
31869
    if test -z "$LIBPTHREAD" ; then
28568
 
    echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
28569
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
 
31870
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
 
31871
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
28570
31872
    kde_safe_libs=$LIBS
28571
31873
    LIBS="$LIBS -lpthread"
28572
31874
    cat >conftest.$ac_ext <<_ACEOF
28585
31887
}
28586
31888
_ACEOF
28587
31889
rm -f conftest.$ac_objext conftest$ac_exeext
28588
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28589
 
  (eval $ac_link) 2>conftest.er1
 
31890
if { (ac_try="$ac_link"
 
31891
case "(($ac_try" in
 
31892
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31893
  *) ac_try_echo=$ac_try;;
 
31894
esac
 
31895
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31896
  (eval "$ac_link") 2>conftest.er1
28590
31897
  ac_status=$?
28591
31898
  grep -v '^ *+' conftest.er1 >conftest.err
28592
31899
  rm -f conftest.er1
28593
31900
  cat conftest.err >&5
28594
31901
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595
31902
  (exit $ac_status); } &&
28596
 
         { ac_try='test -z "$ac_c_werror_flag"
28597
 
                         || test ! -s conftest.err'
28598
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28599
 
  (eval $ac_try) 2>&5
 
31903
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
31904
  { (case "(($ac_try" in
 
31905
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31906
  *) ac_try_echo=$ac_try;;
 
31907
esac
 
31908
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31909
  (eval "$ac_try") 2>&5
28600
31910
  ac_status=$?
28601
31911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602
31912
  (exit $ac_status); }; } &&
28603
31913
         { ac_try='test -s conftest$ac_exeext'
28604
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28605
 
  (eval $ac_try) 2>&5
 
31914
  { (case "(($ac_try" in
 
31915
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31916
  *) ac_try_echo=$ac_try;;
 
31917
esac
 
31918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31919
  (eval "$ac_try") 2>&5
28606
31920
  ac_status=$?
28607
31921
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608
31922
  (exit $ac_status); }; }; then
28609
31923
 
28610
 
        echo "$as_me:$LINENO: result: yes" >&5
28611
 
echo "${ECHO_T}yes" >&6
 
31924
        { echo "$as_me:$LINENO: result: yes" >&5
 
31925
echo "${ECHO_T}yes" >&6; }
28612
31926
        LIBPTHREAD="-lpthread"
28613
31927
else
28614
31928
  echo "$as_me: failed program was:" >&5
28615
31929
sed 's/^/| /' conftest.$ac_ext >&5
28616
31930
 
28617
31931
 
28618
 
        echo "$as_me:$LINENO: result: no" >&5
28619
 
echo "${ECHO_T}no" >&6
 
31932
        { echo "$as_me:$LINENO: result: no" >&5
 
31933
echo "${ECHO_T}no" >&6; }
28620
31934
fi
28621
 
rm -f conftest.err conftest.$ac_objext \
 
31935
 
 
31936
rm -f core conftest.err conftest.$ac_objext \
28622
31937
      conftest$ac_exeext conftest.$ac_ext
28623
31938
    LIBS=$kde_safe_libs
28624
31939
  fi
28633
31948
      USE_THREADS=""
28634
31949
      if test -z "$LIBPTHREAD"; then
28635
31950
 
28636
 
echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
28637
 
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6
 
31951
{ echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
 
31952
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6; }
28638
31953
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
28639
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
31954
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
28640
31955
  echo $ECHO_N "(cached) $ECHO_C" >&6
28641
31956
else
28642
31957
 
28643
31958
 
28644
 
 
28645
 
   ac_ext=cc
 
31959
   ac_ext=cpp
28646
31960
ac_cpp='$CXXCPP $CPPFLAGS'
28647
31961
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28648
31962
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28669
31983
}
28670
31984
_ACEOF
28671
31985
rm -f conftest.$ac_objext conftest$ac_exeext
28672
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28673
 
  (eval $ac_link) 2>conftest.er1
 
31986
if { (ac_try="$ac_link"
 
31987
case "(($ac_try" in
 
31988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31989
  *) ac_try_echo=$ac_try;;
 
31990
esac
 
31991
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31992
  (eval "$ac_link") 2>conftest.er1
28674
31993
  ac_status=$?
28675
31994
  grep -v '^ *+' conftest.er1 >conftest.err
28676
31995
  rm -f conftest.er1
28677
31996
  cat conftest.err >&5
28678
31997
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679
31998
  (exit $ac_status); } &&
28680
 
         { ac_try='test -z "$ac_cxx_werror_flag"
28681
 
                         || test ! -s conftest.err'
28682
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28683
 
  (eval $ac_try) 2>&5
 
31999
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
32000
  { (case "(($ac_try" in
 
32001
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32002
  *) ac_try_echo=$ac_try;;
 
32003
esac
 
32004
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32005
  (eval "$ac_try") 2>&5
28684
32006
  ac_status=$?
28685
32007
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686
32008
  (exit $ac_status); }; } &&
28687
32009
         { ac_try='test -s conftest$ac_exeext'
28688
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689
 
  (eval $ac_try) 2>&5
 
32010
  { (case "(($ac_try" in
 
32011
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32012
  *) ac_try_echo=$ac_try;;
 
32013
esac
 
32014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32015
  (eval "$ac_try") 2>&5
28690
32016
  ac_status=$?
28691
32017
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692
32018
  (exit $ac_status); }; }; then
28695
32021
  echo "$as_me: failed program was:" >&5
28696
32022
sed 's/^/| /' conftest.$ac_ext >&5
28697
32023
 
 
32024
 
28698
32025
fi
28699
 
rm -f conftest.err conftest.$ac_objext \
 
32026
 
 
32027
rm -f core conftest.err conftest.$ac_objext \
28700
32028
      conftest$ac_exeext conftest.$ac_ext
28701
32029
  CXXFLAGS="$save_CXXFLAGS"
28702
32030
  ac_ext=c
28709
32037
fi
28710
32038
 
28711
32039
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
28712
 
 echo "$as_me:$LINENO: result: yes" >&5
28713
 
echo "${ECHO_T}yes" >&6
 
32040
 { echo "$as_me:$LINENO: result: yes" >&5
 
32041
echo "${ECHO_T}yes" >&6; }
28714
32042
 :
28715
32043
 USE_THREADS="-D_THREAD_SAFE -pthread"
28716
32044
else
28717
 
 echo "$as_me:$LINENO: result: no" >&5
28718
 
echo "${ECHO_T}no" >&6
 
32045
 { echo "$as_me:$LINENO: result: no" >&5
 
32046
echo "${ECHO_T}no" >&6; }
28719
32047
 :
28720
32048
 
28721
32049
fi
28727
32055
    case $host_os in
28728
32056
        solaris*)
28729
32057
 
28730
 
echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
28731
 
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6
 
32058
{ echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
 
32059
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6; }
28732
32060
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
28733
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
32061
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
28734
32062
  echo $ECHO_N "(cached) $ECHO_C" >&6
28735
32063
else
28736
32064
 
28737
32065
 
28738
 
 
28739
 
   ac_ext=cc
 
32066
   ac_ext=cpp
28740
32067
ac_cpp='$CXXCPP $CPPFLAGS'
28741
32068
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28742
32069
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763
32090
}
28764
32091
_ACEOF
28765
32092
rm -f conftest.$ac_objext conftest$ac_exeext
28766
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28767
 
  (eval $ac_link) 2>conftest.er1
 
32093
if { (ac_try="$ac_link"
 
32094
case "(($ac_try" in
 
32095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32096
  *) ac_try_echo=$ac_try;;
 
32097
esac
 
32098
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32099
  (eval "$ac_link") 2>conftest.er1
28768
32100
  ac_status=$?
28769
32101
  grep -v '^ *+' conftest.er1 >conftest.err
28770
32102
  rm -f conftest.er1
28771
32103
  cat conftest.err >&5
28772
32104
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773
32105
  (exit $ac_status); } &&
28774
 
         { ac_try='test -z "$ac_cxx_werror_flag"
28775
 
                         || test ! -s conftest.err'
28776
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777
 
  (eval $ac_try) 2>&5
 
32106
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
32107
  { (case "(($ac_try" in
 
32108
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32109
  *) ac_try_echo=$ac_try;;
 
32110
esac
 
32111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32112
  (eval "$ac_try") 2>&5
28778
32113
  ac_status=$?
28779
32114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780
32115
  (exit $ac_status); }; } &&
28781
32116
         { ac_try='test -s conftest$ac_exeext'
28782
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28783
 
  (eval $ac_try) 2>&5
 
32117
  { (case "(($ac_try" in
 
32118
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32119
  *) ac_try_echo=$ac_try;;
 
32120
esac
 
32121
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32122
  (eval "$ac_try") 2>&5
28784
32123
  ac_status=$?
28785
32124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786
32125
  (exit $ac_status); }; }; then
28789
32128
  echo "$as_me: failed program was:" >&5
28790
32129
sed 's/^/| /' conftest.$ac_ext >&5
28791
32130
 
 
32131
 
28792
32132
fi
28793
 
rm -f conftest.err conftest.$ac_objext \
 
32133
 
 
32134
rm -f core conftest.err conftest.$ac_objext \
28794
32135
      conftest$ac_exeext conftest.$ac_ext
28795
32136
  CXXFLAGS="$save_CXXFLAGS"
28796
32137
  ac_ext=c
28803
32144
fi
28804
32145
 
28805
32146
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
28806
 
 echo "$as_me:$LINENO: result: yes" >&5
28807
 
echo "${ECHO_T}yes" >&6
 
32147
 { echo "$as_me:$LINENO: result: yes" >&5
 
32148
echo "${ECHO_T}yes" >&6; }
28808
32149
 :
28809
32150
 USE_THREADS="-mt"
28810
32151
else
28811
 
 echo "$as_me:$LINENO: result: no" >&5
28812
 
echo "${ECHO_T}no" >&6
 
32152
 { echo "$as_me:$LINENO: result: no" >&5
 
32153
echo "${ECHO_T}no" >&6; }
28813
32154
 :
28814
32155
 
28815
32156
fi
28836
32177
 
28837
32178
 
28838
32179
 
28839
 
echo "$as_me:$LINENO: checking for extra includes" >&5
28840
 
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6
 
32180
{ echo "$as_me:$LINENO: checking for extra includes" >&5
 
32181
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6; }
28841
32182
 
28842
 
# Check whether --with-extra-includes or --without-extra-includes was given.
 
32183
# Check whether --with-extra-includes was given.
28843
32184
if test "${with_extra_includes+set}" = set; then
28844
 
  withval="$with_extra_includes"
28845
 
  kde_use_extra_includes="$withval"
 
32185
  withval=$with_extra_includes; kde_use_extra_includes="$withval"
28846
32186
else
28847
32187
  kde_use_extra_includes=NONE
28848
32188
 
28849
 
fi;
 
32189
fi
 
32190
 
28850
32191
kde_extra_includes=
28851
32192
if test -n "$kde_use_extra_includes" && \
28852
32193
   test "$kde_use_extra_includes" != "NONE"; then
28864
32205
fi
28865
32206
 
28866
32207
 
28867
 
echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
28868
 
echo "${ECHO_T}$kde_use_extra_includes" >&6
 
32208
{ echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
 
32209
echo "${ECHO_T}$kde_use_extra_includes" >&6; }
28869
32210
 
28870
32211
kde_extra_libs=
28871
 
echo "$as_me:$LINENO: checking for extra libs" >&5
28872
 
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6
 
32212
{ echo "$as_me:$LINENO: checking for extra libs" >&5
 
32213
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6; }
28873
32214
 
28874
 
# Check whether --with-extra-libs or --without-extra-libs was given.
 
32215
# Check whether --with-extra-libs was given.
28875
32216
if test "${with_extra_libs+set}" = set; then
28876
 
  withval="$with_extra_libs"
28877
 
  kde_use_extra_libs=$withval
 
32217
  withval=$with_extra_libs; kde_use_extra_libs=$withval
28878
32218
else
28879
32219
  kde_use_extra_libs=NONE
28880
32220
 
28881
 
fi;
 
32221
fi
 
32222
 
28882
32223
if test -n "$kde_use_extra_libs" && \
28883
32224
   test "$kde_use_extra_libs" != "NONE"; then
28884
32225
 
28897
32238
 
28898
32239
 
28899
32240
 
28900
 
echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
28901
 
echo "${ECHO_T}$kde_use_extra_libs" >&6
28902
 
 
28903
 
 
28904
 
 
28905
 
 
28906
 
echo "$as_me:$LINENO: checking for libz" >&5
28907
 
echo $ECHO_N "checking for libz... $ECHO_C" >&6
 
32241
{ echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
 
32242
echo "${ECHO_T}$kde_use_extra_libs" >&6; }
 
32243
 
 
32244
 
 
32245
 
 
32246
 
 
32247
{ echo "$as_me:$LINENO: checking for libz" >&5
 
32248
echo $ECHO_N "checking for libz... $ECHO_C" >&6; }
28908
32249
if test "${ac_cv_lib_z+set}" = set; then
28909
32250
  echo $ECHO_N "(cached) $ECHO_C" >&6
28910
32251
else
28938
32279
}
28939
32280
_ACEOF
28940
32281
rm -f conftest.$ac_objext conftest$ac_exeext
28941
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28942
 
  (eval $ac_link) 2>conftest.er1
 
32282
if { (ac_try="$ac_link"
 
32283
case "(($ac_try" in
 
32284
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32285
  *) ac_try_echo=$ac_try;;
 
32286
esac
 
32287
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32288
  (eval "$ac_link") 2>conftest.er1
28943
32289
  ac_status=$?
28944
32290
  grep -v '^ *+' conftest.er1 >conftest.err
28945
32291
  rm -f conftest.er1
28946
32292
  cat conftest.err >&5
28947
32293
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948
32294
  (exit $ac_status); } &&
28949
 
         { ac_try='test -z "$ac_c_werror_flag"
28950
 
                         || test ! -s conftest.err'
28951
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28952
 
  (eval $ac_try) 2>&5
 
32295
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32296
  { (case "(($ac_try" in
 
32297
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32298
  *) ac_try_echo=$ac_try;;
 
32299
esac
 
32300
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32301
  (eval "$ac_try") 2>&5
28953
32302
  ac_status=$?
28954
32303
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28955
32304
  (exit $ac_status); }; } &&
28956
32305
         { ac_try='test -s conftest$ac_exeext'
28957
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28958
 
  (eval $ac_try) 2>&5
 
32306
  { (case "(($ac_try" in
 
32307
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32308
  *) ac_try_echo=$ac_try;;
 
32309
esac
 
32310
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32311
  (eval "$ac_try") 2>&5
28959
32312
  ac_status=$?
28960
32313
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28961
32314
  (exit $ac_status); }; }; then
28964
32317
  echo "$as_me: failed program was:" >&5
28965
32318
sed 's/^/| /' conftest.$ac_ext >&5
28966
32319
 
28967
 
eval "ac_cv_lib_z=no"
 
32320
        eval "ac_cv_lib_z=no"
28968
32321
fi
28969
 
rm -f conftest.err conftest.$ac_objext \
 
32322
 
 
32323
rm -f core conftest.err conftest.$ac_objext \
28970
32324
      conftest$ac_exeext conftest.$ac_ext
28971
32325
LIBS="$kde_save_LIBS"
28972
32326
CFLAGS="$kde_save_CFLAGS"
28979
32333
_ACEOF
28980
32334
 
28981
32335
  LIBZ="$ac_cv_lib_z"
28982
 
  echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
28983
 
echo "${ECHO_T}$ac_cv_lib_z" >&6
 
32336
  { echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
 
32337
echo "${ECHO_T}$ac_cv_lib_z" >&6; }
28984
32338
else
28985
32339
  { { echo "$as_me:$LINENO: error: not found.
28986
32340
          Possibly configure picks up an outdated version
29000
32354
 
29001
32355
 
29002
32356
 
29003
 
echo "$as_me:$LINENO: checking for libpng" >&5
29004
 
echo $ECHO_N "checking for libpng... $ECHO_C" >&6
 
32357
{ echo "$as_me:$LINENO: checking for libpng" >&5
 
32358
echo $ECHO_N "checking for libpng... $ECHO_C" >&6; }
29005
32359
if test "${ac_cv_lib_png+set}" = set; then
29006
32360
  echo $ECHO_N "(cached) $ECHO_C" >&6
29007
32361
else
29037
32391
}
29038
32392
_ACEOF
29039
32393
rm -f conftest.$ac_objext conftest$ac_exeext
29040
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29041
 
  (eval $ac_link) 2>conftest.er1
 
32394
if { (ac_try="$ac_link"
 
32395
case "(($ac_try" in
 
32396
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32397
  *) ac_try_echo=$ac_try;;
 
32398
esac
 
32399
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32400
  (eval "$ac_link") 2>conftest.er1
29042
32401
  ac_status=$?
29043
32402
  grep -v '^ *+' conftest.er1 >conftest.err
29044
32403
  rm -f conftest.er1
29045
32404
  cat conftest.err >&5
29046
32405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29047
32406
  (exit $ac_status); } &&
29048
 
         { ac_try='test -z "$ac_c_werror_flag"
29049
 
                         || test ! -s conftest.err'
29050
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29051
 
  (eval $ac_try) 2>&5
 
32407
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32408
  { (case "(($ac_try" in
 
32409
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32410
  *) ac_try_echo=$ac_try;;
 
32411
esac
 
32412
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32413
  (eval "$ac_try") 2>&5
29052
32414
  ac_status=$?
29053
32415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054
32416
  (exit $ac_status); }; } &&
29055
32417
         { ac_try='test -s conftest$ac_exeext'
29056
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29057
 
  (eval $ac_try) 2>&5
 
32418
  { (case "(($ac_try" in
 
32419
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32420
  *) ac_try_echo=$ac_try;;
 
32421
esac
 
32422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32423
  (eval "$ac_try") 2>&5
29058
32424
  ac_status=$?
29059
32425
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060
32426
  (exit $ac_status); }; }; then
29063
32429
  echo "$as_me: failed program was:" >&5
29064
32430
sed 's/^/| /' conftest.$ac_ext >&5
29065
32431
 
29066
 
eval "ac_cv_lib_png=no"
 
32432
        eval "ac_cv_lib_png=no"
29067
32433
 
29068
32434
fi
29069
 
rm -f conftest.err conftest.$ac_objext \
 
32435
 
 
32436
rm -f core conftest.err conftest.$ac_objext \
29070
32437
      conftest$ac_exeext conftest.$ac_ext
29071
32438
LIBS="$kde_save_LIBS"
29072
32439
CFLAGS="$kde_save_CFLAGS"
29080
32447
 
29081
32448
  LIBPNG="$ac_cv_lib_png"
29082
32449
 
29083
 
  echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
29084
 
echo "${ECHO_T}$ac_cv_lib_png" >&6
 
32450
  { echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
 
32451
echo "${ECHO_T}$ac_cv_lib_png" >&6; }
29085
32452
else
29086
 
  echo "$as_me:$LINENO: result: no" >&5
29087
 
echo "${ECHO_T}no" >&6
 
32453
  { echo "$as_me:$LINENO: result: no" >&5
 
32454
echo "${ECHO_T}no" >&6; }
29088
32455
  LIBPNG=""
29089
32456
 
29090
32457
fi
29091
32458
 
29092
32459
 
29093
32460
 
29094
 
echo "$as_me:$LINENO: checking for libjpeg6b" >&5
29095
 
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6
 
32461
{ echo "$as_me:$LINENO: checking for libjpeg6b" >&5
 
32462
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6; }
29096
32463
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
29097
32464
  echo $ECHO_N "(cached) $ECHO_C" >&6
29098
32465
else
29107
32474
cat confdefs.h >>conftest.$ac_ext
29108
32475
cat >>conftest.$ac_ext <<_ACEOF
29109
32476
/* end confdefs.h.  */
29110
 
/* Override any gcc2 internal prototype to avoid an error.  */
29111
 
struct jpeg_decompress_struct;
29112
 
typedef struct jpeg_decompress_struct * j_decompress_ptr;
29113
 
typedef int size_t;
 
32477
 
29114
32478
#ifdef __cplusplus
29115
32479
extern "C" {
29116
32480
#endif
29117
 
    void jpeg_CreateDecompress(j_decompress_ptr cinfo,
29118
 
                                    int version, size_t structsize);
 
32481
void jpeg_CreateDecompress();
29119
32482
#ifdef __cplusplus
29120
32483
}
29121
32484
#endif
29122
 
/* We use char because int might match the return type of a gcc2
29123
 
    builtin and then its argument prototype would still apply.  */
29124
32485
 
29125
32486
int
29126
32487
main ()
29127
32488
{
29128
 
jpeg_CreateDecompress(0L, 0, 0);
 
32489
jpeg_CreateDecompress();
29129
32490
  ;
29130
32491
  return 0;
29131
32492
}
29132
32493
_ACEOF
29133
32494
rm -f conftest.$ac_objext conftest$ac_exeext
29134
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29135
 
  (eval $ac_link) 2>conftest.er1
 
32495
if { (ac_try="$ac_link"
 
32496
case "(($ac_try" in
 
32497
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32498
  *) ac_try_echo=$ac_try;;
 
32499
esac
 
32500
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32501
  (eval "$ac_link") 2>conftest.er1
29136
32502
  ac_status=$?
29137
32503
  grep -v '^ *+' conftest.er1 >conftest.err
29138
32504
  rm -f conftest.er1
29139
32505
  cat conftest.err >&5
29140
32506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141
32507
  (exit $ac_status); } &&
29142
 
         { ac_try='test -z "$ac_c_werror_flag"
29143
 
                         || test ! -s conftest.err'
29144
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145
 
  (eval $ac_try) 2>&5
 
32508
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32509
  { (case "(($ac_try" in
 
32510
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32511
  *) ac_try_echo=$ac_try;;
 
32512
esac
 
32513
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32514
  (eval "$ac_try") 2>&5
29146
32515
  ac_status=$?
29147
32516
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148
32517
  (exit $ac_status); }; } &&
29149
32518
         { ac_try='test -s conftest$ac_exeext'
29150
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29151
 
  (eval $ac_try) 2>&5
 
32519
  { (case "(($ac_try" in
 
32520
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32521
  *) ac_try_echo=$ac_try;;
 
32522
esac
 
32523
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32524
  (eval "$ac_try") 2>&5
29152
32525
  ac_status=$?
29153
32526
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154
32527
  (exit $ac_status); }; }; then
29157
32530
  echo "$as_me: failed program was:" >&5
29158
32531
sed 's/^/| /' conftest.$ac_ext >&5
29159
32532
 
29160
 
eval "ac_cv_lib_jpeg_6b=no"
 
32533
        eval "ac_cv_lib_jpeg_6b=no"
29161
32534
fi
29162
 
rm -f conftest.err conftest.$ac_objext \
 
32535
 
 
32536
rm -f core conftest.err conftest.$ac_objext \
29163
32537
      conftest$ac_exeext conftest.$ac_ext
29164
32538
LIBS="$ac_save_LIBS"
29165
32539
CFLAGS="$ac_save_CFLAGS"
29169
32543
 
29170
32544
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
29171
32545
  LIBJPEG="$ac_cv_lib_jpeg_6b"
29172
 
  echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
29173
 
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6
 
32546
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
 
32547
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6; }
29174
32548
else
29175
 
  echo "$as_me:$LINENO: result: no" >&5
29176
 
echo "${ECHO_T}no" >&6
 
32549
  { echo "$as_me:$LINENO: result: no" >&5
 
32550
echo "${ECHO_T}no" >&6; }
29177
32551
 
29178
 
echo "$as_me:$LINENO: checking for libjpeg" >&5
29179
 
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6
 
32552
{ echo "$as_me:$LINENO: checking for libjpeg" >&5
 
32553
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6; }
29180
32554
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
29181
32555
  echo $ECHO_N "(cached) $ECHO_C" >&6
29182
32556
else
29191
32565
cat confdefs.h >>conftest.$ac_ext
29192
32566
cat >>conftest.$ac_ext <<_ACEOF
29193
32567
/* end confdefs.h.  */
29194
 
/* Override any gcc2 internal prototype to avoid an error.  */
29195
 
struct jpeg_decompress_struct;
29196
 
typedef struct jpeg_decompress_struct * j_decompress_ptr;
29197
 
typedef int size_t;
 
32568
 
29198
32569
#ifdef __cplusplus
29199
32570
extern "C" {
29200
32571
#endif
29201
 
    void jpeg_CreateDecompress(j_decompress_ptr cinfo,
29202
 
                                    int version, size_t structsize);
 
32572
void jpeg_CreateDecompress();
29203
32573
#ifdef __cplusplus
29204
32574
}
29205
32575
#endif
29206
 
/* We use char because int might match the return type of a gcc2
29207
 
    builtin and then its argument prototype would still apply.  */
29208
32576
 
29209
32577
int
29210
32578
main ()
29211
32579
{
29212
 
jpeg_CreateDecompress(0L, 0, 0);
 
32580
jpeg_CreateDecompress();
29213
32581
  ;
29214
32582
  return 0;
29215
32583
}
29216
32584
_ACEOF
29217
32585
rm -f conftest.$ac_objext conftest$ac_exeext
29218
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29219
 
  (eval $ac_link) 2>conftest.er1
 
32586
if { (ac_try="$ac_link"
 
32587
case "(($ac_try" in
 
32588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32589
  *) ac_try_echo=$ac_try;;
 
32590
esac
 
32591
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32592
  (eval "$ac_link") 2>conftest.er1
29220
32593
  ac_status=$?
29221
32594
  grep -v '^ *+' conftest.er1 >conftest.err
29222
32595
  rm -f conftest.er1
29223
32596
  cat conftest.err >&5
29224
32597
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225
32598
  (exit $ac_status); } &&
29226
 
         { ac_try='test -z "$ac_c_werror_flag"
29227
 
                         || test ! -s conftest.err'
29228
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29229
 
  (eval $ac_try) 2>&5
 
32599
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
32600
  { (case "(($ac_try" in
 
32601
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32602
  *) ac_try_echo=$ac_try;;
 
32603
esac
 
32604
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32605
  (eval "$ac_try") 2>&5
29230
32606
  ac_status=$?
29231
32607
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29232
32608
  (exit $ac_status); }; } &&
29233
32609
         { ac_try='test -s conftest$ac_exeext'
29234
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29235
 
  (eval $ac_try) 2>&5
 
32610
  { (case "(($ac_try" in
 
32611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
32612
  *) ac_try_echo=$ac_try;;
 
32613
esac
 
32614
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
32615
  (eval "$ac_try") 2>&5
29236
32616
  ac_status=$?
29237
32617
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238
32618
  (exit $ac_status); }; }; then
29241
32621
  echo "$as_me: failed program was:" >&5
29242
32622
sed 's/^/| /' conftest.$ac_ext >&5
29243
32623
 
29244
 
eval "ac_cv_lib_jpeg_normal=no"
 
32624
        eval "ac_cv_lib_jpeg_normal=no"
29245
32625
fi
29246
 
rm -f conftest.err conftest.$ac_objext \
 
32626
 
 
32627
rm -f core conftest.err conftest.$ac_objext \
29247
32628
      conftest$ac_exeext conftest.$ac_ext
29248
32629
LIBS="$ac_save_LIBS"
29249
32630
CFLAGS="$ac_save_CFLAGS"
29253
32634
 
29254
32635
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
29255
32636
  LIBJPEG="$ac_cv_lib_jpeg_normal"
29256
 
  echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
29257
 
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6
 
32637
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
 
32638
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6; }
29258
32639
else
29259
 
  echo "$as_me:$LINENO: result: no" >&5
29260
 
echo "${ECHO_T}no" >&6
 
32640
  { echo "$as_me:$LINENO: result: no" >&5
 
32641
echo "${ECHO_T}no" >&6; }
29261
32642
 
29262
32643
       LIBJPEG=
29263
32644
 
29277
32658
do
29278
32659
  for j in jpeglib.h;
29279
32660
  do
29280
 
    echo "configure: 29280: $i/$j" >&5
 
32661
    echo "configure: 32661: $i/$j" >&5
29281
32662
    if test -r "$i/$j"; then
29282
32663
      echo "taking that" >&5
29283
32664
      jpeg_incdir=$i
29324
32705
 
29325
32706
 
29326
32707
 
29327
 
   echo "$as_me:$LINENO: checking for perl" >&5
29328
 
echo $ECHO_N "checking for perl... $ECHO_C" >&6
 
32708
   { echo "$as_me:$LINENO: checking for perl" >&5
 
32709
echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
29329
32710
   if test -n "$PERL"; then
29330
32711
        kde_cv_path="$PERL";
29331
32712
   else
29332
32713
        kde_cache=`echo perl | sed 'y%./+-%__p_%'`
29333
32714
 
29334
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
32715
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29335
32716
  echo $ECHO_N "(cached) $ECHO_C" >&6
29336
32717
else
29337
32718
 
29374
32755
   fi
29375
32756
 
29376
32757
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
29377
 
      echo "$as_me:$LINENO: result: not found" >&5
29378
 
echo "${ECHO_T}not found" >&6
 
32758
      { echo "$as_me:$LINENO: result: not found" >&5
 
32759
echo "${ECHO_T}not found" >&6; }
29379
32760
 
29380
32761
                    { { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
29381
32762
We need perl to generate some code." >&5
29384
32765
   { (exit 1); exit 1; }; }
29385
32766
 
29386
32767
   else
29387
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
29388
 
echo "${ECHO_T}$kde_cv_path" >&6
 
32768
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
32769
echo "${ECHO_T}$kde_cv_path" >&6; }
29389
32770
      PERL=$kde_cv_path
29390
32771
 
29391
32772
   fi
29399
32780
 
29400
32781
 
29401
32782
 
29402
 
# Check whether --enable-mt or --disable-mt was given.
 
32783
# Check whether --enable-mt was given.
29403
32784
if test "${enable_mt+set}" = set; then
29404
 
  enableval="$enable_mt"
29405
 
  kde_use_qt_mt=$enableval
 
32785
  enableval=$enable_mt; kde_use_qt_mt=$enableval
29406
32786
else
29407
32787
 
29408
32788
    if test $kde_qtver = 3; then
29412
32792
    fi
29413
32793
 
29414
32794
 
29415
 
fi;
 
32795
fi
 
32796
 
29416
32797
 
29417
32798
USING_QT_MT=""
29418
32799
 
29432
32813
  else
29433
32814
    kde_check_threading_default=yes
29434
32815
  fi
29435
 
  # Check whether --enable-threading or --disable-threading was given.
 
32816
  # Check whether --enable-threading was given.
29436
32817
if test "${enable_threading+set}" = set; then
29437
 
  enableval="$enable_threading"
29438
 
  kde_use_threading=$enableval
 
32818
  enableval=$enable_threading; kde_use_threading=$enableval
29439
32819
else
29440
32820
  kde_use_threading=$kde_check_threading_default
29441
 
fi;
 
32821
fi
 
32822
 
29442
32823
  if test "x$kde_use_threading" = "xyes"; then
29443
32824
 
29444
32825
cat >>confdefs.h <<\_ACEOF
29468
32849
  fi
29469
32850
fi
29470
32851
 
29471
 
if test -z "$LIBQT"; then
29472
 
  if test "x$kde_use_qt_emb" = "xyes"; then
29473
 
    qtlib="qte"
29474
 
  else
29475
 
    qtlib="qt"
29476
 
  fi
29477
 
 
29478
 
  kde_int_qt="-l$qtlib"
 
32852
if test "x$kde_use_qt_emb" = "xyes"; then
 
32853
  qtlib="qte"
29479
32854
else
29480
 
  kde_int_qt="$LIBQT"
29481
 
  kde_lib_qt_set=yes
 
32855
  qtlib="qt"
29482
32856
fi
29483
32857
 
 
32858
kde_int_qt="-l$qtlib"
 
32859
 
29484
32860
if test -z "$LIBQPE"; then
29485
32861
  if test "x$kde_use_qt_emb" = "xyes"; then
29486
32862
    if test "x$kde_use_qt_emb_palm" = "xyes"; then
29495
32871
 
29496
32872
 
29497
32873
if test "x$kde_use_qt_mt" = "xyes"; then
29498
 
  if test -z "$LIBQT"; then
29499
 
    LIBQT="-l$qtlib-mt"
29500
 
    kde_int_qt="-l$qtlib-mt"
29501
 
  else
29502
 
    LIBQT="$qtlib-mt"
29503
 
    kde_int_qt="$qtlib-mt"
29504
 
  fi
 
32874
  LIBQT="-l$qtlib-mt"
 
32875
  kde_int_qt="-l$qtlib-mt"
29505
32876
  LIBQT_GLOB="lib$qtlib-mt.*"
29506
32877
  USING_QT_MT="using -mt"
29507
32878
else
29520
32891
  LIBQT="$LIBQT $LIBDL"
29521
32892
fi
29522
32893
 
29523
 
echo "$as_me:$LINENO: checking for Qt" >&5
29524
 
echo $ECHO_N "checking for Qt... $ECHO_C" >&6
 
32894
{ echo "$as_me:$LINENO: checking for Qt" >&5
 
32895
echo $ECHO_N "checking for Qt... $ECHO_C" >&6; }
29525
32896
 
29526
32897
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29527
32898
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
29530
32901
qt_libraries=""
29531
32902
qt_includes=""
29532
32903
 
29533
 
# Check whether --with-qt-dir or --without-qt-dir was given.
 
32904
# Check whether --with-qt-dir was given.
29534
32905
if test "${with_qt_dir+set}" = set; then
29535
 
  withval="$with_qt_dir"
29536
 
    ac_qt_includes="$withval"/include
 
32906
  withval=$with_qt_dir;   ac_qt_includes="$withval"/include
29537
32907
       ac_qt_libraries="$withval"/lib${kdelibsuff}
29538
32908
       ac_qt_bindir="$withval"/bin
29539
32909
 
29540
 
fi;
29541
 
 
29542
 
 
29543
 
# Check whether --with-qt-includes or --without-qt-includes was given.
 
32910
fi
 
32911
 
 
32912
 
 
32913
 
 
32914
# Check whether --with-qt-includes was given.
29544
32915
if test "${with_qt_includes+set}" = set; then
29545
 
  withval="$with_qt_includes"
29546
 
 
 
32916
  withval=$with_qt_includes;
29547
32917
       ac_qt_includes="$withval"
29548
32918
 
29549
 
fi;
 
32919
fi
 
32920
 
29550
32921
 
29551
32922
kde_qt_libs_given=no
29552
32923
 
29553
32924
 
29554
 
# Check whether --with-qt-libraries or --without-qt-libraries was given.
 
32925
# Check whether --with-qt-libraries was given.
29555
32926
if test "${with_qt_libraries+set}" = set; then
29556
 
  withval="$with_qt_libraries"
29557
 
    ac_qt_libraries="$withval"
 
32927
  withval=$with_qt_libraries;   ac_qt_libraries="$withval"
29558
32928
       kde_qt_libs_given=yes
29559
32929
 
29560
 
fi;
 
32930
fi
 
32931
 
29561
32932
 
29562
32933
if test "${ac_cv_have_qt+set}" = set; then
29563
32934
  echo $ECHO_N "(cached) $ECHO_C" >&6
29585
32956
do
29586
32957
  for j in $kde_qt_header;
29587
32958
  do
29588
 
    echo "configure: 29588: $i/$j" >&5
 
32959
    echo "configure: 32959: $i/$j" >&5
29589
32960
    if test -r "$i/$j"; then
29590
32961
      echo "taking that" >&5
29591
32962
      qt_incdir=$i
29622
32993
ac_qt_libraries="$qt_libdir"
29623
32994
 
29624
32995
 
29625
 
 
29626
 
 ac_ext=cc
 
32996
 ac_ext=cpp
29627
32997
ac_cpp='$CXXCPP $CPPFLAGS'
29628
32998
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29629
32999
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29760
33130
eval "$ac_cv_have_qt"
29761
33131
 
29762
33132
if test "$have_qt" != yes; then
29763
 
  echo "$as_me:$LINENO: result: $have_qt" >&5
29764
 
echo "${ECHO_T}$have_qt" >&6;
 
33133
  { echo "$as_me:$LINENO: result: $have_qt" >&5
 
33134
echo "${ECHO_T}$have_qt" >&6; };
29765
33135
else
29766
33136
  ac_cv_have_qt="have_qt=yes \
29767
33137
    ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
29768
 
  echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
29769
 
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6
 
33138
  { echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
 
33139
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6; }
29770
33140
 
29771
33141
  qt_libraries="$ac_qt_libraries"
29772
33142
  qt_includes="$ac_qt_includes"
29775
33145
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
29776
33146
 
29777
33147
 
29778
 
echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
29779
 
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6
 
33148
{ echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
 
33149
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6; }
29780
33150
if test "${kde_cv_qt_direct+set}" = set; then
29781
33151
  echo $ECHO_N "(cached) $ECHO_C" >&6
29782
33152
else
29783
33153
 
29784
33154
 
29785
 
 
29786
 
 ac_ext=cc
 
33155
 ac_ext=cpp
29787
33156
ac_cpp='$CXXCPP $CPPFLAGS'
29788
33157
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789
33158
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29904
33273
 
29905
33274
 
29906
33275
if test "$kde_cv_qt_direct" = "yes"; then
29907
 
  echo "$as_me:$LINENO: result: yes" >&5
29908
 
echo "${ECHO_T}yes" >&6
 
33276
  { echo "$as_me:$LINENO: result: yes" >&5
 
33277
echo "${ECHO_T}yes" >&6; }
29909
33278
  qt_libraries=
29910
33279
else
29911
 
  echo "$as_me:$LINENO: result: no" >&5
29912
 
echo "${ECHO_T}no" >&6
 
33280
  { echo "$as_me:$LINENO: result: no" >&5
 
33281
echo "${ECHO_T}no" >&6; }
29913
33282
 
29914
33283
fi
29915
33284
 
29947
33316
   fi
29948
33317
 
29949
33318
 
29950
 
   echo "$as_me:$LINENO: checking for moc" >&5
29951
 
echo $ECHO_N "checking for moc... $ECHO_C" >&6
 
33319
   { echo "$as_me:$LINENO: checking for moc" >&5
 
33320
echo $ECHO_N "checking for moc... $ECHO_C" >&6; }
29952
33321
   if test -n "$MOC"; then
29953
33322
        kde_cv_path="$MOC";
29954
33323
   else
29955
33324
        kde_cache=`echo moc | sed 'y%./+-%__p_%'`
29956
33325
 
29957
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
33326
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29958
33327
  echo $ECHO_N "(cached) $ECHO_C" >&6
29959
33328
else
29960
33329
 
29997
33366
   fi
29998
33367
 
29999
33368
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30000
 
      echo "$as_me:$LINENO: result: not found" >&5
30001
 
echo "${ECHO_T}not found" >&6
 
33369
      { echo "$as_me:$LINENO: result: not found" >&5
 
33370
echo "${ECHO_T}not found" >&6; }
30002
33371
 
30003
33372
    { { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
30004
33373
Please check whether you installed Qt correctly.
30019
33388
   { (exit 1); exit 1; }; }
30020
33389
 
30021
33390
   else
30022
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30023
 
echo "${ECHO_T}$kde_cv_path" >&6
 
33391
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
33392
echo "${ECHO_T}$kde_cv_path" >&6; }
30024
33393
      MOC=$kde_cv_path
30025
33394
 
30026
33395
   fi
30027
33396
 
30028
33397
   if test -z "$UIC_NOT_NEEDED"; then
30029
33398
 
30030
 
   echo "$as_me:$LINENO: checking for uic" >&5
30031
 
echo $ECHO_N "checking for uic... $ECHO_C" >&6
 
33399
   { echo "$as_me:$LINENO: checking for uic" >&5
 
33400
echo $ECHO_N "checking for uic... $ECHO_C" >&6; }
30032
33401
   if test -n "$UIC_PATH"; then
30033
33402
        kde_cv_path="$UIC_PATH";
30034
33403
   else
30035
33404
        kde_cache=`echo uic | sed 'y%./+-%__p_%'`
30036
33405
 
30037
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
33406
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30038
33407
  echo $ECHO_N "(cached) $ECHO_C" >&6
30039
33408
else
30040
33409
 
30077
33446
   fi
30078
33447
 
30079
33448
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30080
 
      echo "$as_me:$LINENO: result: not found" >&5
30081
 
echo "${ECHO_T}not found" >&6
 
33449
      { echo "$as_me:$LINENO: result: not found" >&5
 
33450
echo "${ECHO_T}not found" >&6; }
30082
33451
      UIC_PATH=""
30083
33452
   else
30084
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30085
 
echo "${ECHO_T}$kde_cv_path" >&6
 
33453
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
33454
echo "${ECHO_T}$kde_cv_path" >&6; }
30086
33455
      UIC_PATH=$kde_cv_path
30087
33456
 
30088
33457
   fi
30112
33481
 
30113
33482
       if test $kde_qtver = 3; then
30114
33483
 
30115
 
    echo "$as_me:$LINENO: checking whether uic supports -L " >&5
30116
 
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6
 
33484
    { echo "$as_me:$LINENO: checking whether uic supports -L " >&5
 
33485
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6; }
30117
33486
    kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
30118
 
    if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
 
33487
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30119
33488
  echo $ECHO_N "(cached) $ECHO_C" >&6
30120
33489
else
30121
33490
 
30138
33507
 
30139
33508
 
30140
33509
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30141
 
        echo "$as_me:$LINENO: result: yes" >&5
30142
 
echo "${ECHO_T}yes" >&6
 
33510
        { echo "$as_me:$LINENO: result: yes" >&5
 
33511
echo "${ECHO_T}yes" >&6; }
30143
33512
        :
30144
33513
        ac_uic_supports_libpath=yes
30145
33514
    else
30146
 
        echo "$as_me:$LINENO: result: no" >&5
30147
 
echo "${ECHO_T}no" >&6
 
33515
        { echo "$as_me:$LINENO: result: no" >&5
 
33516
echo "${ECHO_T}no" >&6; }
30148
33517
        :
30149
33518
        ac_uic_supports_libpath=no
30150
33519
    fi
30151
33520
 
30152
33521
 
30153
 
    echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
30154
 
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6
 
33522
    { echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
 
33523
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6; }
30155
33524
    kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
30156
 
    if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
 
33525
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30157
33526
  echo $ECHO_N "(cached) $ECHO_C" >&6
30158
33527
else
30159
33528
 
30176
33545
 
30177
33546
 
30178
33547
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30179
 
        echo "$as_me:$LINENO: result: yes" >&5
30180
 
echo "${ECHO_T}yes" >&6
 
33548
        { echo "$as_me:$LINENO: result: yes" >&5
 
33549
echo "${ECHO_T}yes" >&6; }
30181
33550
        :
30182
33551
        ac_uic_supports_nounload=yes
30183
33552
    else
30184
 
        echo "$as_me:$LINENO: result: no" >&5
30185
 
echo "${ECHO_T}no" >&6
 
33553
        { echo "$as_me:$LINENO: result: no" >&5
 
33554
echo "${ECHO_T}no" >&6; }
30186
33555
        :
30187
33556
        ac_uic_supports_nounload=no
30188
33557
    fi
30213
33582
 
30214
33583
 
30215
33584
if test -n "$LIBJPEG"; then
30216
 
echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
30217
 
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6
 
33585
{ echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
 
33586
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6; }
30218
33587
if test "${kde_cv_qt_jpeg+set}" = set; then
30219
33588
  echo $ECHO_N "(cached) $ECHO_C" >&6
30220
33589
else
30221
33590
 
30222
33591
 
30223
 
 
30224
 
 ac_ext=cc
 
33592
 ac_ext=cpp
30225
33593
ac_cpp='$CXXCPP $CPPFLAGS'
30226
33594
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30227
33595
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30254
33622
}
30255
33623
_ACEOF
30256
33624
rm -f conftest.$ac_objext conftest$ac_exeext
30257
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30258
 
  (eval $ac_link) 2>conftest.er1
 
33625
if { (ac_try="$ac_link"
 
33626
case "(($ac_try" in
 
33627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33628
  *) ac_try_echo=$ac_try;;
 
33629
esac
 
33630
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33631
  (eval "$ac_link") 2>conftest.er1
30259
33632
  ac_status=$?
30260
33633
  grep -v '^ *+' conftest.er1 >conftest.err
30261
33634
  rm -f conftest.er1
30262
33635
  cat conftest.err >&5
30263
33636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264
33637
  (exit $ac_status); } &&
30265
 
         { ac_try='test -z "$ac_cxx_werror_flag"
30266
 
                         || test ! -s conftest.err'
30267
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30268
 
  (eval $ac_try) 2>&5
 
33638
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
33639
  { (case "(($ac_try" in
 
33640
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33641
  *) ac_try_echo=$ac_try;;
 
33642
esac
 
33643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33644
  (eval "$ac_try") 2>&5
30269
33645
  ac_status=$?
30270
33646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271
33647
  (exit $ac_status); }; } &&
30272
33648
         { ac_try='test -s conftest$ac_exeext'
30273
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30274
 
  (eval $ac_try) 2>&5
 
33649
  { (case "(($ac_try" in
 
33650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33651
  *) ac_try_echo=$ac_try;;
 
33652
esac
 
33653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33654
  (eval "$ac_try") 2>&5
30275
33655
  ac_status=$?
30276
33656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277
33657
  (exit $ac_status); }; }; then
30280
33660
  echo "$as_me: failed program was:" >&5
30281
33661
sed 's/^/| /' conftest.$ac_ext >&5
30282
33662
 
30283
 
eval "kde_cv_qt_jpeg=yes"
 
33663
        eval "kde_cv_qt_jpeg=yes"
30284
33664
fi
30285
 
rm -f conftest.err conftest.$ac_objext \
 
33665
 
 
33666
rm -f core conftest.err conftest.$ac_objext \
30286
33667
      conftest$ac_exeext conftest.$ac_ext
30287
33668
LIBS="$ac_save_LIBS"
30288
33669
CXXFLAGS="$ac_save_CXXFLAGS"
30298
33679
 
30299
33680
 
30300
33681
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
30301
 
  echo "$as_me:$LINENO: result: yes" >&5
30302
 
echo "${ECHO_T}yes" >&6
 
33682
  { echo "$as_me:$LINENO: result: yes" >&5
 
33683
echo "${ECHO_T}yes" >&6; }
30303
33684
  LIBJPEG_QT='$(LIBJPEG)'
30304
33685
else
30305
 
  echo "$as_me:$LINENO: result: no" >&5
30306
 
echo "${ECHO_T}no" >&6
 
33686
  { echo "$as_me:$LINENO: result: no" >&5
 
33687
echo "${ECHO_T}no" >&6; }
30307
33688
  LIBJPEG_QT=
30308
33689
fi
30309
33690
 
30334
33715
 
30335
33716
 
30336
33717
 
30337
 
echo "$as_me:$LINENO: checking for rpath" >&5
30338
 
echo $ECHO_N "checking for rpath... $ECHO_C" >&6
30339
 
# Check whether --enable-rpath or --disable-rpath was given.
 
33718
{ echo "$as_me:$LINENO: checking for rpath" >&5
 
33719
echo $ECHO_N "checking for rpath... $ECHO_C" >&6; }
 
33720
# Check whether --enable-rpath was given.
30340
33721
if test "${enable_rpath+set}" = set; then
30341
 
  enableval="$enable_rpath"
30342
 
  USE_RPATH=$enableval
 
33722
  enableval=$enable_rpath; USE_RPATH=$enableval
30343
33723
else
30344
33724
  USE_RPATH=yes
30345
 
fi;
 
33725
fi
 
33726
 
30346
33727
 
30347
33728
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
30348
33729
 
30366
33747
 
30367
33748
 
30368
33749
 
30369
 
echo "$as_me:$LINENO: result: $USE_RPATH" >&5
30370
 
echo "${ECHO_T}$USE_RPATH" >&6
 
33750
{ echo "$as_me:$LINENO: result: $USE_RPATH" >&5
 
33751
echo "${ECHO_T}$USE_RPATH" >&6; }
30371
33752
 
30372
 
echo "$as_me:$LINENO: checking for KDE" >&5
30373
 
echo $ECHO_N "checking for KDE... $ECHO_C" >&6
 
33753
{ echo "$as_me:$LINENO: checking for KDE" >&5
 
33754
echo $ECHO_N "checking for KDE... $ECHO_C" >&6; }
30374
33755
 
30375
33756
if test "${prefix}" != NONE; then
30376
33757
  kde_includes=${includedir}
30422
33803
do
30423
33804
  for j in $kde_check_header;
30424
33805
  do
30425
 
    echo "configure: 30425: $i/$j" >&5
 
33806
    echo "configure: 33806: $i/$j" >&5
30426
33807
    if test -r "$i/$j"; then
30427
33808
      echo "taking that" >&5
30428
33809
      kde_incdir=$i
30452
33833
do
30453
33834
  for j in $kde_check_lib;
30454
33835
  do
30455
 
    echo "configure: 30455: $i/$j" >&5
 
33836
    echo "configure: 33836: $i/$j" >&5
30456
33837
    if test -r "$i/$j"; then
30457
33838
      echo "taking that" >&5
30458
33839
      kde_libdir=$i
30470
33851
do
30471
33852
  for j in "kde3/plugins/designer/kdewidgets.la";
30472
33853
  do
30473
 
    echo "configure: 30473: $i/$j" >&5
 
33854
    echo "configure: 33854: $i/$j" >&5
30474
33855
    if test -r "$i/$j"; then
30475
33856
      echo "taking that" >&5
30476
33857
      kde_widgetdir=$i
30529
33910
 fi
30530
33911
 if test "$exec_prefix" = NONE; then
30531
33912
  ac_kde_exec_prefix="$ac_kde_prefix"
30532
 
  echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
30533
 
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6
 
33913
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
 
33914
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6; }
30534
33915
 else
30535
33916
  ac_kde_exec_prefix="$exec_prefix"
30536
 
  echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
30537
 
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6
 
33917
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
 
33918
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6; }
30538
33919
 fi
30539
33920
 
30540
33921
 kde_libraries="${libdir}"
30543
33924
else
30544
33925
  ac_cv_have_kde="have_kde=yes \
30545
33926
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
30546
 
  echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
30547
 
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6
 
33927
  { echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
 
33928
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6; }
30548
33929
 
30549
33930
  kde_libraries="$ac_kde_libraries"
30550
33931
  kde_includes="$ac_kde_includes"
30582
33963
 
30583
33964
if test x$ac_uic_supports_libpath = xyes; then
30584
33965
 
30585
 
echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
30586
 
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6
 
33966
{ echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
 
33967
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6; }
30587
33968
if test "${kde_cv_uic_plugins+set}" = set; then
30588
33969
  echo $ECHO_N "(cached) $ECHO_C" >&6
30589
33970
else
30626
34007
fi
30627
34008
 
30628
34009
 
30629
 
echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
30630
 
echo "${ECHO_T}$kde_cv_uic_plugins" >&6
 
34010
{ echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
 
34011
echo "${ECHO_T}$kde_cv_uic_plugins" >&6; }
30631
34012
if test "$kde_cv_uic_plugins" != yes; then
30632
34013
        { { echo "$as_me:$LINENO: error:
30633
34014
you need to install kdelibs first.
30634
34015
 
30635
34016
If you did install kdelibs, then the Qt version that is picked up by
30636
34017
this configure is not the same version you used to compile kdelibs.
30637
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if its the
30638
 
same Qt version, compiled with the same compiler and the same Qt
 
34018
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
 
34019
_same Qt version_, compiled with the _same compiler_ and the same Qt
30639
34020
configuration settings.
30640
34021
" >&5
30641
34022
echo "$as_me: error:
30643
34024
 
30644
34025
If you did install kdelibs, then the Qt version that is picked up by
30645
34026
this configure is not the same version you used to compile kdelibs.
30646
 
The Qt Plugin installed by kdelibs is *ONLY* loadable if its the
30647
 
same Qt version, compiled with the same compiler and the same Qt
 
34027
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
 
34028
_same Qt version_, compiled with the _same compiler_ and the same Qt
30648
34029
configuration settings.
30649
34030
" >&2;}
30650
34031
   { (exit 1); exit 1; }; }
30659
34040
 
30660
34041
 
30661
34042
 
30662
 
  # Check whether --enable-path-check or --disable-path-check was given.
 
34043
  # Check whether --enable-path-check was given.
30663
34044
if test "${enable_path_check+set}" = set; then
30664
 
  enableval="$enable_path_check"
30665
 
 
 
34045
  enableval=$enable_path_check;
30666
34046
  if test "$enableval" = "no";
30667
34047
    then ac_use_path_checking="default"
30668
34048
    else ac_use_path_checking=""
30676
34056
  fi
30677
34057
 
30678
34058
 
30679
 
fi;
30680
 
 
30681
 
 
30682
 
 
30683
 
 
30684
 
echo "$as_me:$LINENO: checking for KDE paths" >&5
30685
 
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6
 
34059
fi
 
34060
 
 
34061
 
 
34062
 
 
34063
 
 
34064
 
 
34065
{ echo "$as_me:$LINENO: checking for KDE paths" >&5
 
34066
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6; }
30686
34067
kde_result=""
30687
34068
kde_cached_paths=yes
30688
34069
if test "${kde_cv_all_paths+set}" = set; then
30793
34174
else
30794
34175
 
30795
34176
  if test $kde_qtver = 1; then
30796
 
     echo "$as_me:$LINENO: result: compiling" >&5
30797
 
echo "${ECHO_T}compiling" >&6
30798
 
 
30799
 
 
30800
 
    echo "$as_me:$LINENO: checking for KDE headers installed" >&5
30801
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
30802
 
 
30803
 
 
30804
 
     ac_ext=cc
 
34177
     { echo "$as_me:$LINENO: result: compiling" >&5
 
34178
echo "${ECHO_T}compiling" >&6; }
 
34179
 
 
34180
 
 
34181
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
 
34182
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
 
34183
 
 
34184
     ac_ext=cpp
30805
34185
ac_cpp='$CXXCPP $CPPFLAGS'
30806
34186
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807
34187
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30853
34233
  ac_status=$?
30854
34234
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855
34235
  (exit $ac_status); }; then
30856
 
   echo "$as_me:$LINENO: result: yes" >&5
30857
 
echo "${ECHO_T}yes" >&6
 
34236
   { echo "$as_me:$LINENO: result: yes" >&5
 
34237
echo "${ECHO_T}yes" >&6; }
30858
34238
 else
30859
34239
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
30860
34240
Check, if you installed the KDE header files correctly.
30893
34273
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
30894
34274
  fi
30895
34275
 
30896
 
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
30897
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
 
34276
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
 
34277
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
30898
34278
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'
30899
34279
 
30900
34280
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30902
34282
  ac_status=$?
30903
34283
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904
34284
  (exit $ac_status); } && test -s conftest; then
30905
 
  echo "$as_me:$LINENO: result: yes" >&5
30906
 
echo "${ECHO_T}yes" >&6
 
34285
  { echo "$as_me:$LINENO: result: yes" >&5
 
34286
echo "${ECHO_T}yes" >&6; }
30907
34287
else
30908
34288
  { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
30909
34289
Check, if your compiler is installed correctly and if you have used the
31096
34476
else
31097
34477
 
31098
34478
  if test $kde_qtver = 1; then
31099
 
     echo "$as_me:$LINENO: result: compiling" >&5
31100
 
echo "${ECHO_T}compiling" >&6
31101
 
 
31102
 
 
31103
 
    echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31104
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
31105
 
 
31106
 
 
31107
 
     ac_ext=cc
 
34479
     { echo "$as_me:$LINENO: result: compiling" >&5
 
34480
echo "${ECHO_T}compiling" >&6; }
 
34481
 
 
34482
 
 
34483
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
 
34484
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
 
34485
 
 
34486
     ac_ext=cpp
31108
34487
ac_cpp='$CXXCPP $CPPFLAGS'
31109
34488
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31110
34489
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31156
34535
  ac_status=$?
31157
34536
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158
34537
  (exit $ac_status); }; then
31159
 
   echo "$as_me:$LINENO: result: yes" >&5
31160
 
echo "${ECHO_T}yes" >&6
 
34538
   { echo "$as_me:$LINENO: result: yes" >&5
 
34539
echo "${ECHO_T}yes" >&6; }
31161
34540
 else
31162
34541
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31163
34542
Check, if you installed the KDE header files correctly.
31196
34575
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31197
34576
  fi
31198
34577
 
31199
 
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31200
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
 
34578
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
 
34579
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31201
34580
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'
31202
34581
 
31203
34582
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31205
34584
  ac_status=$?
31206
34585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207
34586
  (exit $ac_status); } && test -s conftest; then
31208
 
  echo "$as_me:$LINENO: result: yes" >&5
31209
 
echo "${ECHO_T}yes" >&6
 
34587
  { echo "$as_me:$LINENO: result: yes" >&5
 
34588
echo "${ECHO_T}yes" >&6; }
31210
34589
else
31211
34590
  { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31212
34591
Check, if your compiler is installed correctly and if you have used the
31298
34677
   { (exit 1); exit 1; }; }
31299
34678
else
31300
34679
  rm -f conftest*
31301
 
  echo "$as_me:$LINENO: result: $kde_result" >&5
31302
 
echo "${ECHO_T}$kde_result" >&6
 
34680
  { echo "$as_me:$LINENO: result: $kde_result" >&5
 
34681
echo "${ECHO_T}$kde_result" >&6; }
31303
34682
fi
31304
34683
 
31305
34684
bindir=$kde_bindir
31306
34685
 
31307
34686
 
31308
34687
 
31309
 
# Check whether --with-arts or --without-arts was given.
 
34688
# Check whether --with-arts was given.
31310
34689
if test "${with_arts+set}" = set; then
31311
 
  withval="$with_arts"
31312
 
  build_arts=$withval
 
34690
  withval=$with_arts; build_arts=$withval
31313
34691
else
31314
34692
  build_arts=yes
31315
34693
 
31316
 
fi;
 
34694
fi
 
34695
 
31317
34696
 
31318
34697
 
31319
34698
if test "$build_arts" '!=' "no"; then
31346
34725
 
31347
34726
        kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
31348
34727
 
31349
 
   echo "$as_me:$LINENO: checking for dcopidl" >&5
31350
 
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6
 
34728
   { echo "$as_me:$LINENO: checking for dcopidl" >&5
 
34729
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6; }
31351
34730
   if test -n "$DCOPIDL"; then
31352
34731
        kde_cv_path="$DCOPIDL";
31353
34732
   else
31354
34733
        kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
31355
34734
 
31356
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
34735
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31357
34736
  echo $ECHO_N "(cached) $ECHO_C" >&6
31358
34737
else
31359
34738
 
31396
34775
   fi
31397
34776
 
31398
34777
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31399
 
      echo "$as_me:$LINENO: result: not found" >&5
31400
 
echo "${ECHO_T}not found" >&6
 
34778
      { echo "$as_me:$LINENO: result: not found" >&5
 
34779
echo "${ECHO_T}not found" >&6; }
31401
34780
 
31402
34781
    { { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
31403
34782
Please check whether you installed KDE correctly.
31408
34787
   { (exit 1); exit 1; }; }
31409
34788
 
31410
34789
   else
31411
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31412
 
echo "${ECHO_T}$kde_cv_path" >&6
 
34790
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
34791
echo "${ECHO_T}$kde_cv_path" >&6; }
31413
34792
      DCOPIDL=$kde_cv_path
31414
34793
 
31415
34794
   fi
31416
34795
 
31417
34796
 
31418
 
   echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
31419
 
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6
 
34797
   { echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
 
34798
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6; }
31420
34799
   if test -n "$DCOPIDL2CPP"; then
31421
34800
        kde_cv_path="$DCOPIDL2CPP";
31422
34801
   else
31423
34802
        kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
31424
34803
 
31425
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
34804
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31426
34805
  echo $ECHO_N "(cached) $ECHO_C" >&6
31427
34806
else
31428
34807
 
31465
34844
   fi
31466
34845
 
31467
34846
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31468
 
      echo "$as_me:$LINENO: result: not found" >&5
31469
 
echo "${ECHO_T}not found" >&6
 
34847
      { echo "$as_me:$LINENO: result: not found" >&5
 
34848
echo "${ECHO_T}not found" >&6; }
31470
34849
 
31471
34850
    { { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
31472
34851
Please check whether you installed KDE correctly.
31477
34856
   { (exit 1); exit 1; }; }
31478
34857
 
31479
34858
   else
31480
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31481
 
echo "${ECHO_T}$kde_cv_path" >&6
 
34859
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
34860
echo "${ECHO_T}$kde_cv_path" >&6; }
31482
34861
      DCOPIDL2CPP=$kde_cv_path
31483
34862
 
31484
34863
   fi
31485
34864
 
31486
34865
        if test "$build_arts" '!=' "no"; then
31487
34866
 
31488
 
   echo "$as_me:$LINENO: checking for mcopidl" >&5
31489
 
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
 
34867
   { echo "$as_me:$LINENO: checking for mcopidl" >&5
 
34868
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6; }
31490
34869
   if test -n "$MCOPIDL"; then
31491
34870
        kde_cv_path="$MCOPIDL";
31492
34871
   else
31493
34872
        kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
31494
34873
 
31495
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
34874
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31496
34875
  echo $ECHO_N "(cached) $ECHO_C" >&6
31497
34876
else
31498
34877
 
31535
34914
   fi
31536
34915
 
31537
34916
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31538
 
      echo "$as_me:$LINENO: result: not found" >&5
31539
 
echo "${ECHO_T}not found" >&6
 
34917
      { echo "$as_me:$LINENO: result: not found" >&5
 
34918
echo "${ECHO_T}not found" >&6; }
31540
34919
 
31541
34920
    { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
31542
34921
Please check whether you installed aRts correctly or use
31549
34928
   { (exit 1); exit 1; }; }
31550
34929
 
31551
34930
   else
31552
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31553
 
echo "${ECHO_T}$kde_cv_path" >&6
 
34931
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
34932
echo "${ECHO_T}$kde_cv_path" >&6; }
31554
34933
      MCOPIDL=$kde_cv_path
31555
34934
 
31556
34935
   fi
31557
34936
 
31558
34937
 
31559
 
   echo "$as_me:$LINENO: checking for artsc-config" >&5
31560
 
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
 
34938
   { echo "$as_me:$LINENO: checking for artsc-config" >&5
 
34939
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6; }
31561
34940
   if test -n "$ARTSCCONFIG"; then
31562
34941
        kde_cv_path="$ARTSCCONFIG";
31563
34942
   else
31564
34943
        kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
31565
34944
 
31566
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
34945
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31567
34946
  echo $ECHO_N "(cached) $ECHO_C" >&6
31568
34947
else
31569
34948
 
31606
34985
   fi
31607
34986
 
31608
34987
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31609
 
      echo "$as_me:$LINENO: result: not found" >&5
31610
 
echo "${ECHO_T}not found" >&6
 
34988
      { echo "$as_me:$LINENO: result: not found" >&5
 
34989
echo "${ECHO_T}not found" >&6; }
31611
34990
 
31612
34991
    { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
31613
34992
Please check whether you installed aRts correctly or use
31620
34999
   { (exit 1); exit 1; }; }
31621
35000
 
31622
35001
   else
31623
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31624
 
echo "${ECHO_T}$kde_cv_path" >&6
 
35002
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
35003
echo "${ECHO_T}$kde_cv_path" >&6; }
31625
35004
      ARTSCCONFIG=$kde_cv_path
31626
35005
 
31627
35006
   fi
31628
35007
 
31629
35008
        fi
31630
35009
 
31631
 
   echo "$as_me:$LINENO: checking for meinproc" >&5
31632
 
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6
 
35010
   { echo "$as_me:$LINENO: checking for meinproc" >&5
 
35011
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6; }
31633
35012
   if test -n "$MEINPROC"; then
31634
35013
        kde_cv_path="$MEINPROC";
31635
35014
   else
31636
35015
        kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
31637
35016
 
31638
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
35017
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31639
35018
  echo $ECHO_N "(cached) $ECHO_C" >&6
31640
35019
else
31641
35020
 
31678
35057
   fi
31679
35058
 
31680
35059
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31681
 
      echo "$as_me:$LINENO: result: not found" >&5
31682
 
echo "${ECHO_T}not found" >&6
 
35060
      { echo "$as_me:$LINENO: result: not found" >&5
 
35061
echo "${ECHO_T}not found" >&6; }
31683
35062
 
31684
35063
   else
31685
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31686
 
echo "${ECHO_T}$kde_cv_path" >&6
 
35064
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
35065
echo "${ECHO_T}$kde_cv_path" >&6; }
31687
35066
      MEINPROC=$kde_cv_path
31688
35067
 
31689
35068
   fi
31699
35078
              if test "$kde_qtsubver" -le 1; then
31700
35079
                kde32ornewer=
31701
35080
              fi
31702
 
              if test "$kde_qtsubver" -le 2 -o `kde-config --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` == 3.2; then
 
35081
              if test "$kde_qtsubver" -le 2; then
31703
35082
                kde33ornewer=
31704
35083
              fi
 
35084
              if test "$KDECONFIG" != "compiled"; then
 
35085
                if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
 
35086
                  kde33ornewer=
 
35087
                fi
 
35088
              fi
31705
35089
            fi
31706
35090
        fi
31707
35091
 
31708
35092
        if test -n "$kde32ornewer"; then
31709
35093
 
31710
 
   echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
31711
 
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6
 
35094
   { echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
 
35095
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6; }
31712
35096
   if test -n "$KCONFIG_COMPILER"; then
31713
35097
        kde_cv_path="$KCONFIG_COMPILER";
31714
35098
   else
31715
35099
        kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
31716
35100
 
31717
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
35101
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31718
35102
  echo $ECHO_N "(cached) $ECHO_C" >&6
31719
35103
else
31720
35104
 
31757
35141
   fi
31758
35142
 
31759
35143
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31760
 
      echo "$as_me:$LINENO: result: not found" >&5
31761
 
echo "${ECHO_T}not found" >&6
 
35144
      { echo "$as_me:$LINENO: result: not found" >&5
 
35145
echo "${ECHO_T}not found" >&6; }
31762
35146
 
31763
35147
    { { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
31764
35148
Please check whether you installed KDE correctly.
31769
35153
   { (exit 1); exit 1; }; }
31770
35154
 
31771
35155
   else
31772
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31773
 
echo "${ECHO_T}$kde_cv_path" >&6
 
35156
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
35157
echo "${ECHO_T}$kde_cv_path" >&6; }
31774
35158
      KCONFIG_COMPILER=$kde_cv_path
31775
35159
 
31776
35160
   fi
31777
35161
 
31778
35162
 
31779
 
   echo "$as_me:$LINENO: checking for dcopidlng" >&5
31780
 
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6
 
35163
   { echo "$as_me:$LINENO: checking for dcopidlng" >&5
 
35164
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6; }
31781
35165
   if test -n "$DCOPIDLNG"; then
31782
35166
        kde_cv_path="$DCOPIDLNG";
31783
35167
   else
31784
35168
        kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
31785
35169
 
31786
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
35170
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31787
35171
  echo $ECHO_N "(cached) $ECHO_C" >&6
31788
35172
else
31789
35173
 
31826
35210
   fi
31827
35211
 
31828
35212
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31829
 
      echo "$as_me:$LINENO: result: not found" >&5
31830
 
echo "${ECHO_T}not found" >&6
 
35213
      { echo "$as_me:$LINENO: result: not found" >&5
 
35214
echo "${ECHO_T}not found" >&6; }
31831
35215
 
31832
35216
    { { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
31833
35217
Please check whether you installed KDE correctly.
31838
35222
   { (exit 1); exit 1; }; }
31839
35223
 
31840
35224
   else
31841
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31842
 
echo "${ECHO_T}$kde_cv_path" >&6
 
35225
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
35226
echo "${ECHO_T}$kde_cv_path" >&6; }
31843
35227
      DCOPIDLNG=$kde_cv_path
31844
35228
 
31845
35229
   fi
31847
35231
        fi
31848
35232
        if test -n "$kde33ornewer"; then
31849
35233
 
31850
 
   echo "$as_me:$LINENO: checking for makekdewidgets" >&5
31851
 
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6
 
35234
   { echo "$as_me:$LINENO: checking for makekdewidgets" >&5
 
35235
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6; }
31852
35236
   if test -n "$MAKEKDEWIDGETS"; then
31853
35237
        kde_cv_path="$MAKEKDEWIDGETS";
31854
35238
   else
31855
35239
        kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
31856
35240
 
31857
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
35241
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31858
35242
  echo $ECHO_N "(cached) $ECHO_C" >&6
31859
35243
else
31860
35244
 
31897
35281
   fi
31898
35282
 
31899
35283
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31900
 
      echo "$as_me:$LINENO: result: not found" >&5
31901
 
echo "${ECHO_T}not found" >&6
 
35284
      { echo "$as_me:$LINENO: result: not found" >&5
 
35285
echo "${ECHO_T}not found" >&6; }
31902
35286
 
31903
35287
    { { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
31904
35288
Please check whether you installed KDE correctly.
31909
35293
   { (exit 1); exit 1; }; }
31910
35294
 
31911
35295
   else
31912
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31913
 
echo "${ECHO_T}$kde_cv_path" >&6
 
35296
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
35297
echo "${ECHO_T}$kde_cv_path" >&6; }
31914
35298
      MAKEKDEWIDGETS=$kde_cv_path
31915
35299
 
31916
35300
   fi
31918
35302
 
31919
35303
        fi
31920
35304
 
31921
 
   echo "$as_me:$LINENO: checking for xmllint" >&5
31922
 
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6
 
35305
   { echo "$as_me:$LINENO: checking for xmllint" >&5
 
35306
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6; }
31923
35307
   if test -n "$XMLLINT"; then
31924
35308
        kde_cv_path="$XMLLINT";
31925
35309
   else
31926
35310
        kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
31927
35311
 
31928
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
35312
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31929
35313
  echo $ECHO_N "(cached) $ECHO_C" >&6
31930
35314
else
31931
35315
 
31968
35352
   fi
31969
35353
 
31970
35354
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31971
 
      echo "$as_me:$LINENO: result: not found" >&5
31972
 
echo "${ECHO_T}not found" >&6
 
35355
      { echo "$as_me:$LINENO: result: not found" >&5
 
35356
echo "${ECHO_T}not found" >&6; }
31973
35357
      XMLLINT=""
31974
35358
   else
31975
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31976
 
echo "${ECHO_T}$kde_cv_path" >&6
 
35359
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
35360
echo "${ECHO_T}$kde_cv_path" >&6; }
31977
35361
      XMLLINT=$kde_cv_path
31978
35362
 
31979
35363
   fi
31980
35364
 
31981
35365
 
31982
 
        if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then
 
35366
        if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
31983
35367
            kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
31984
35368
            test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
31985
35369
 
31988
35372
do
31989
35373
  for j in apps/ksgmltools2/customization/kde-chunk.xsl;
31990
35374
  do
31991
 
    echo "configure: 31991: $i/$j" >&5
 
35375
    echo "configure: 35375: $i/$j" >&5
31992
35376
    if test -r "$i/$j"; then
31993
35377
      echo "taking that" >&5
31994
35378
      KDE_XSL_STYLESHEET=$i
32146
35530
 
32147
35531
#MIN_CONFIG(3.0.0)
32148
35532
 
32149
 
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
32150
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 
35533
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
35534
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
32151
35535
if test "${ac_cv_c_bigendian+set}" = set; then
32152
35536
  echo $ECHO_N "(cached) $ECHO_C" >&6
32153
35537
else
32173
35557
}
32174
35558
_ACEOF
32175
35559
rm -f conftest.$ac_objext
32176
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32177
 
  (eval $ac_compile) 2>conftest.er1
 
35560
if { (ac_try="$ac_compile"
 
35561
case "(($ac_try" in
 
35562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35563
  *) ac_try_echo=$ac_try;;
 
35564
esac
 
35565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35566
  (eval "$ac_compile") 2>conftest.er1
32178
35567
  ac_status=$?
32179
35568
  grep -v '^ *+' conftest.er1 >conftest.err
32180
35569
  rm -f conftest.er1
32181
35570
  cat conftest.err >&5
32182
35571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183
35572
  (exit $ac_status); } &&
32184
 
         { ac_try='test -z "$ac_c_werror_flag"
32185
 
                         || test ! -s conftest.err'
32186
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187
 
  (eval $ac_try) 2>&5
 
35573
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35574
  { (case "(($ac_try" in
 
35575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35576
  *) ac_try_echo=$ac_try;;
 
35577
esac
 
35578
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35579
  (eval "$ac_try") 2>&5
32188
35580
  ac_status=$?
32189
35581
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190
35582
  (exit $ac_status); }; } &&
32191
35583
         { ac_try='test -s conftest.$ac_objext'
32192
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32193
 
  (eval $ac_try) 2>&5
 
35584
  { (case "(($ac_try" in
 
35585
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35586
  *) ac_try_echo=$ac_try;;
 
35587
esac
 
35588
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35589
  (eval "$ac_try") 2>&5
32194
35590
  ac_status=$?
32195
35591
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196
35592
  (exit $ac_status); }; }; then
32216
35612
}
32217
35613
_ACEOF
32218
35614
rm -f conftest.$ac_objext
32219
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32220
 
  (eval $ac_compile) 2>conftest.er1
 
35615
if { (ac_try="$ac_compile"
 
35616
case "(($ac_try" in
 
35617
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35618
  *) ac_try_echo=$ac_try;;
 
35619
esac
 
35620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35621
  (eval "$ac_compile") 2>conftest.er1
32221
35622
  ac_status=$?
32222
35623
  grep -v '^ *+' conftest.er1 >conftest.err
32223
35624
  rm -f conftest.er1
32224
35625
  cat conftest.err >&5
32225
35626
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226
35627
  (exit $ac_status); } &&
32227
 
         { ac_try='test -z "$ac_c_werror_flag"
32228
 
                         || test ! -s conftest.err'
32229
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32230
 
  (eval $ac_try) 2>&5
 
35628
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35629
  { (case "(($ac_try" in
 
35630
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35631
  *) ac_try_echo=$ac_try;;
 
35632
esac
 
35633
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35634
  (eval "$ac_try") 2>&5
32231
35635
  ac_status=$?
32232
35636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32233
35637
  (exit $ac_status); }; } &&
32234
35638
         { ac_try='test -s conftest.$ac_objext'
32235
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32236
 
  (eval $ac_try) 2>&5
 
35639
  { (case "(($ac_try" in
 
35640
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35641
  *) ac_try_echo=$ac_try;;
 
35642
esac
 
35643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35644
  (eval "$ac_try") 2>&5
32237
35645
  ac_status=$?
32238
35646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239
35647
  (exit $ac_status); }; }; then
32242
35650
  echo "$as_me: failed program was:" >&5
32243
35651
sed 's/^/| /' conftest.$ac_ext >&5
32244
35652
 
32245
 
ac_cv_c_bigendian=no
 
35653
        ac_cv_c_bigendian=no
32246
35654
fi
32247
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
35655
 
 
35656
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32248
35657
else
32249
35658
  echo "$as_me: failed program was:" >&5
32250
35659
sed 's/^/| /' conftest.$ac_ext >&5
32251
35660
 
32252
 
# It does not; compile a test program.
 
35661
        # It does not; compile a test program.
32253
35662
if test "$cross_compiling" = yes; then
32254
35663
  # try to guess the endianness by grepping values into an object file
32255
35664
  ac_cv_c_bigendian=unknown
32259
35668
cat confdefs.h >>conftest.$ac_ext
32260
35669
cat >>conftest.$ac_ext <<_ACEOF
32261
35670
/* end confdefs.h.  */
32262
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
32263
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
35671
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
35672
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
32264
35673
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
32265
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
32266
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
35674
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
35675
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
32267
35676
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
32268
35677
int
32269
35678
main ()
32274
35683
}
32275
35684
_ACEOF
32276
35685
rm -f conftest.$ac_objext
32277
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32278
 
  (eval $ac_compile) 2>conftest.er1
 
35686
if { (ac_try="$ac_compile"
 
35687
case "(($ac_try" in
 
35688
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35689
  *) ac_try_echo=$ac_try;;
 
35690
esac
 
35691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35692
  (eval "$ac_compile") 2>conftest.er1
32279
35693
  ac_status=$?
32280
35694
  grep -v '^ *+' conftest.er1 >conftest.err
32281
35695
  rm -f conftest.er1
32282
35696
  cat conftest.err >&5
32283
35697
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284
35698
  (exit $ac_status); } &&
32285
 
         { ac_try='test -z "$ac_c_werror_flag"
32286
 
                         || test ! -s conftest.err'
32287
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32288
 
  (eval $ac_try) 2>&5
 
35699
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
35700
  { (case "(($ac_try" in
 
35701
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35702
  *) ac_try_echo=$ac_try;;
 
35703
esac
 
35704
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35705
  (eval "$ac_try") 2>&5
32289
35706
  ac_status=$?
32290
35707
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291
35708
  (exit $ac_status); }; } &&
32292
35709
         { ac_try='test -s conftest.$ac_objext'
32293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294
 
  (eval $ac_try) 2>&5
 
35710
  { (case "(($ac_try" in
 
35711
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35712
  *) ac_try_echo=$ac_try;;
 
35713
esac
 
35714
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35715
  (eval "$ac_try") 2>&5
32295
35716
  ac_status=$?
32296
35717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297
35718
  (exit $ac_status); }; }; then
32310
35731
  echo "$as_me: failed program was:" >&5
32311
35732
sed 's/^/| /' conftest.$ac_ext >&5
32312
35733
 
 
35734
 
32313
35735
fi
32314
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
35736
 
 
35737
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32315
35738
else
32316
35739
  cat >conftest.$ac_ext <<_ACEOF
32317
35740
/* confdefs.h.  */
32319
35742
cat confdefs.h >>conftest.$ac_ext
32320
35743
cat >>conftest.$ac_ext <<_ACEOF
32321
35744
/* end confdefs.h.  */
 
35745
$ac_includes_default
32322
35746
int
32323
35747
main ()
32324
35748
{
 
35749
 
32325
35750
  /* Are we little or big endian?  From Harbison&Steele.  */
32326
35751
  union
32327
35752
  {
32328
 
    long l;
32329
 
    char c[sizeof (long)];
 
35753
    long int l;
 
35754
    char c[sizeof (long int)];
32330
35755
  } u;
32331
35756
  u.l = 1;
32332
 
  exit (u.c[sizeof (long) - 1] == 1);
 
35757
  return u.c[sizeof (long int) - 1] == 1;
 
35758
 
 
35759
  ;
 
35760
  return 0;
32333
35761
}
32334
35762
_ACEOF
32335
35763
rm -f conftest$ac_exeext
32336
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32337
 
  (eval $ac_link) 2>&5
 
35764
if { (ac_try="$ac_link"
 
35765
case "(($ac_try" in
 
35766
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35767
  *) ac_try_echo=$ac_try;;
 
35768
esac
 
35769
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35770
  (eval "$ac_link") 2>&5
32338
35771
  ac_status=$?
32339
35772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340
35773
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32341
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32342
 
  (eval $ac_try) 2>&5
 
35774
  { (case "(($ac_try" in
 
35775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
35776
  *) ac_try_echo=$ac_try;;
 
35777
esac
 
35778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
35779
  (eval "$ac_try") 2>&5
32343
35780
  ac_status=$?
32344
35781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345
35782
  (exit $ac_status); }; }; then
32352
35789
( exit $ac_status )
32353
35790
ac_cv_c_bigendian=yes
32354
35791
fi
32355
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32356
 
fi
32357
 
fi
32358
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32359
 
fi
32360
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
32361
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 
35792
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
35793
fi
 
35794
 
 
35795
 
 
35796
fi
 
35797
 
 
35798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
35799
fi
 
35800
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
35801
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
32362
35802
case $ac_cv_c_bigendian in
32363
35803
  yes)
32364
35804
 
32377
35817
esac
32378
35818
 
32379
35819
 
32380
 
echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
32381
 
echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6
 
35820
{ echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
 
35821
echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6; }
32382
35822
if test "${ac_cv_maxpathlen+set}" = set; then
32383
35823
  echo $ECHO_N "(cached) $ECHO_C" >&6
32384
35824
else
32414
35854
 
32415
35855
fi
32416
35856
 
32417
 
echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
32418
 
echo "${ECHO_T}$ac_cv_maxpathlen" >&6
 
35857
{ echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
 
35858
echo "${ECHO_T}$ac_cv_maxpathlen" >&6; }
32419
35859
 
32420
35860
cat >>confdefs.h <<_ACEOF
32421
35861
#define KDEMAXPATHLEN $ac_cv_maxpathlen
32444
35884
fi
32445
35885
 
32446
35886
for i in $ac_topsubdirs; do
32447
 
  echo "$as_me:$LINENO: checking if $i should be compiled" >&5
32448
 
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6
 
35887
  { echo "$as_me:$LINENO: checking if $i should be compiled" >&5
 
35888
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6; }
32449
35889
  if test -d $srcdir/$i; then
32450
35890
    install_it="yes"
32451
35891
    for j in $DO_NOT_COMPILE; do
32456
35896
  else
32457
35897
    install_it="no"
32458
35898
  fi
32459
 
  echo "$as_me:$LINENO: result: $install_it" >&5
32460
 
echo "${ECHO_T}$install_it" >&6
 
35899
  { echo "$as_me:$LINENO: result: $install_it" >&5
 
35900
echo "${ECHO_T}$install_it" >&6; }
32461
35901
  vari=`echo $i | sed -e 's,[-+.@],_,g'`
32462
35902
  if test $install_it = "yes"; then
32463
35903
    TOPSUBDIRS="$TOPSUBDIRS $i"
32469
35909
 
32470
35910
 
32471
35911
 
32472
 
          ac_config_files="$ac_config_files Makefile"
32473
 
 
32474
 
          ac_config_files="$ac_config_files doc/Makefile"
32475
 
 
32476
 
          ac_config_files="$ac_config_files doc/en/Makefile"
32477
 
 
32478
 
          ac_config_files="$ac_config_files doc/es/Makefile"
32479
 
 
32480
 
          ac_config_files="$ac_config_files kde/Makefile"
32481
 
 
32482
 
          ac_config_files="$ac_config_files po/Makefile"
32483
 
 
32484
 
          ac_config_files="$ac_config_files protocoldb/Makefile"
32485
 
 
32486
 
          ac_config_files="$ac_config_files src/Makefile"
 
35912
ac_config_files="$ac_config_files Makefile"
 
35913
 
 
35914
ac_config_files="$ac_config_files admin/Makefile"
 
35915
 
 
35916
ac_config_files="$ac_config_files doc/Makefile"
 
35917
 
 
35918
ac_config_files="$ac_config_files doc/en/Makefile"
 
35919
 
 
35920
ac_config_files="$ac_config_files doc/es/Makefile"
 
35921
 
 
35922
ac_config_files="$ac_config_files kde/Makefile"
 
35923
 
 
35924
ac_config_files="$ac_config_files po/Makefile"
 
35925
 
 
35926
ac_config_files="$ac_config_files protocoldb/Makefile"
 
35927
 
 
35928
ac_config_files="$ac_config_files src/Makefile"
32487
35929
 
32488
35930
cat >confcache <<\_ACEOF
32489
35931
# This file is a shell script that caches the results of configure
32503
35945
 
32504
35946
# The following way of writing the cache mishandles newlines in values,
32505
35947
# but we know of no workaround that is simple, portable, and efficient.
32506
 
# So, don't put newlines in cache variables' values.
 
35948
# So, we kill variables containing newlines.
32507
35949
# Ultrix sh set writes to stderr and can't be redirected directly,
32508
35950
# and sets the high bit in the cache file unless we assign to the vars.
32509
 
{
 
35951
(
 
35952
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
35953
    eval ac_val=\$$ac_var
 
35954
    case $ac_val in #(
 
35955
    *${as_nl}*)
 
35956
      case $ac_var in #(
 
35957
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
35958
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
35959
      esac
 
35960
      case $ac_var in #(
 
35961
      _ | IFS | as_nl) ;; #(
 
35962
      *) $as_unset $ac_var ;;
 
35963
      esac ;;
 
35964
    esac
 
35965
  done
 
35966
 
32510
35967
  (set) 2>&1 |
32511
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
32512
 
    *ac_space=\ *)
 
35968
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
35969
    *${as_nl}ac_space=\ *)
32513
35970
      # `set' does not quote correctly, so add quotes (double-quote
32514
35971
      # substitution turns \\\\ into \\, and sed turns \\ into \).
32515
35972
      sed -n \
32516
35973
        "s/'/'\\\\''/g;
32517
35974
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32518
 
      ;;
 
35975
      ;; #(
32519
35976
    *)
32520
35977
      # `set' quotes correctly as required by POSIX, so do not add quotes.
32521
 
      sed -n \
32522
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
35978
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
32523
35979
      ;;
32524
 
    esac;
32525
 
} |
 
35980
    esac |
 
35981
    sort
 
35982
) |
32526
35983
  sed '
 
35984
     /^ac_cv_env_/b end
32527
35985
     t clear
32528
 
     : clear
 
35986
     :clear
32529
35987
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32530
35988
     t end
32531
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32532
 
     : end' >>confcache
32533
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
32534
 
  if test -w $cache_file; then
32535
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
35989
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
35990
     :end' >>confcache
 
35991
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
35992
  if test -w "$cache_file"; then
 
35993
    test "x$cache_file" != "x/dev/null" &&
 
35994
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
35995
echo "$as_me: updating cache $cache_file" >&6;}
32536
35996
    cat confcache >$cache_file
32537
35997
  else
32538
 
    echo "not updating unwritable cache $cache_file"
 
35998
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
35999
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
32539
36000
  fi
32540
36001
fi
32541
36002
rm -f confcache
32544
36005
# Let make expand exec_prefix.
32545
36006
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32546
36007
 
32547
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
32548
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32549
 
# trailing colons and then remove the whole line if VPATH becomes empty
32550
 
# (actually we leave an empty line to preserve line numbers).
32551
 
if test "x$srcdir" = x.; then
32552
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
32553
 
s/:*\$(srcdir):*/:/;
32554
 
s/:*\${srcdir}:*/:/;
32555
 
s/:*@srcdir@:*/:/;
32556
 
s/^\([^=]*=[     ]*\):*/\1/;
32557
 
s/:*$//;
32558
 
s/^[^=]*=[       ]*$//;
32559
 
}'
32560
 
fi
32561
 
 
32562
36008
DEFS=-DHAVE_CONFIG_H
32563
36009
 
32564
36010
ac_libobjs=
32565
36011
ac_ltlibobjs=
32566
36012
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32567
36013
  # 1. Remove the extension, and $U if already installed.
32568
 
  ac_i=`echo "$ac_i" |
32569
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
32570
 
  # 2. Add them.
32571
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
32572
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
36014
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
36015
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
36016
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
36017
  #    will be set to the directory where LIBOBJS objects are built.
 
36018
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
36019
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
32573
36020
done
32574
36021
LIBOBJS=$ac_libobjs
32575
36022
 
32583
36030
Usually this means the macro was only invoked conditionally." >&2;}
32584
36031
   { (exit 1); exit 1; }; }
32585
36032
fi
 
36033
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
36034
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
36035
Usually this means the macro was only invoked conditionally." >&5
 
36036
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
36037
Usually this means the macro was only invoked conditionally." >&2;}
 
36038
   { (exit 1); exit 1; }; }
 
36039
fi
 
36040
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
36041
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
36042
Usually this means the macro was only invoked conditionally." >&5
 
36043
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
36044
Usually this means the macro was only invoked conditionally." >&2;}
 
36045
   { (exit 1); exit 1; }; }
 
36046
fi
32586
36047
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
32587
36048
  { { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
32588
36049
Usually this means the macro was only invoked conditionally." >&5
32635
36096
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
32636
36097
  # is contrary to our usage.  Disable this feature.
32637
36098
  alias -g '${1+"$@"}'='"$@"'
32638
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
32639
 
  set -o posix
 
36099
  setopt NO_GLOB_SUBST
 
36100
else
 
36101
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
32640
36102
fi
 
36103
BIN_SH=xpg4; export BIN_SH # for Tru64
32641
36104
DUALCASE=1; export DUALCASE # for MKS sh
32642
36105
 
 
36106
 
 
36107
# PATH needs CR
 
36108
# Avoid depending upon Character Ranges.
 
36109
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
36110
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36111
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
36112
as_cr_digits='0123456789'
 
36113
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
36114
 
 
36115
# The user is always right.
 
36116
if test "${PATH_SEPARATOR+set}" != set; then
 
36117
  echo "#! /bin/sh" >conf$$.sh
 
36118
  echo  "exit 0"   >>conf$$.sh
 
36119
  chmod +x conf$$.sh
 
36120
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
36121
    PATH_SEPARATOR=';'
 
36122
  else
 
36123
    PATH_SEPARATOR=:
 
36124
  fi
 
36125
  rm -f conf$$.sh
 
36126
fi
 
36127
 
32643
36128
# Support unset when possible.
32644
36129
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32645
36130
  as_unset=unset
32648
36133
fi
32649
36134
 
32650
36135
 
 
36136
# IFS
 
36137
# We need space, tab and new line, in precisely that order.  Quoting is
 
36138
# there to prevent editors from complaining about space-tab.
 
36139
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
36140
# splitting by setting IFS to empty value.)
 
36141
as_nl='
 
36142
'
 
36143
IFS=" ""        $as_nl"
 
36144
 
 
36145
# Find who we are.  Look in the path if we contain no directory separator.
 
36146
case $0 in
 
36147
  *[\\/]* ) as_myself=$0 ;;
 
36148
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
36149
for as_dir in $PATH
 
36150
do
 
36151
  IFS=$as_save_IFS
 
36152
  test -z "$as_dir" && as_dir=.
 
36153
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
36154
done
 
36155
IFS=$as_save_IFS
 
36156
 
 
36157
     ;;
 
36158
esac
 
36159
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
36160
# in which case we are not to be found in the path.
 
36161
if test "x$as_myself" = x; then
 
36162
  as_myself=$0
 
36163
fi
 
36164
if test ! -f "$as_myself"; then
 
36165
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
36166
  { (exit 1); exit 1; }
 
36167
fi
 
36168
 
32651
36169
# Work around bugs in pre-3.0 UWIN ksh.
32652
 
$as_unset ENV MAIL MAILPATH
 
36170
for as_var in ENV MAIL MAILPATH
 
36171
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
36172
done
32653
36173
PS1='$ '
32654
36174
PS2='> '
32655
36175
PS4='+ '
32663
36183
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
32664
36184
    eval $as_var=C; export $as_var
32665
36185
  else
32666
 
    $as_unset $as_var
 
36186
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
32667
36187
  fi
32668
36188
done
32669
36189
 
32670
36190
# Required to use basename.
32671
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
36191
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
36192
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
32672
36193
  as_expr=expr
32673
36194
else
32674
36195
  as_expr=false
32675
36196
fi
32676
36197
 
32677
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
36198
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
32678
36199
  as_basename=basename
32679
36200
else
32680
36201
  as_basename=false
32682
36203
 
32683
36204
 
32684
36205
# Name of the executable.
32685
 
as_me=`$as_basename "$0" ||
 
36206
as_me=`$as_basename -- "$0" ||
32686
36207
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
32687
36208
         X"$0" : 'X\(//\)$' \| \
32688
 
         X"$0" : 'X\(/\)$' \| \
32689
 
         .     : '\(.\)' 2>/dev/null ||
 
36209
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
32690
36210
echo X/"$0" |
32691
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
32692
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
32693
 
          /^X\/\(\/\).*/{ s//\1/; q; }
32694
 
          s/.*/./; q'`
32695
 
 
32696
 
 
32697
 
# PATH needs CR, and LINENO needs CR and PATH.
32698
 
# Avoid depending upon Character Ranges.
32699
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32700
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32701
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32702
 
as_cr_digits='0123456789'
32703
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
32704
 
 
32705
 
# The user is always right.
32706
 
if test "${PATH_SEPARATOR+set}" != set; then
32707
 
  echo "#! /bin/sh" >conf$$.sh
32708
 
  echo  "exit 0"   >>conf$$.sh
32709
 
  chmod +x conf$$.sh
32710
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
32711
 
    PATH_SEPARATOR=';'
32712
 
  else
32713
 
    PATH_SEPARATOR=:
32714
 
  fi
32715
 
  rm -f conf$$.sh
32716
 
fi
32717
 
 
32718
 
 
32719
 
  as_lineno_1=$LINENO
32720
 
  as_lineno_2=$LINENO
32721
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
32722
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
32723
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
32724
 
  # Find who we are.  Look in the path if we contain no path at all
32725
 
  # relative or not.
32726
 
  case $0 in
32727
 
    *[\\/]* ) as_myself=$0 ;;
32728
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32729
 
for as_dir in $PATH
32730
 
do
32731
 
  IFS=$as_save_IFS
32732
 
  test -z "$as_dir" && as_dir=.
32733
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32734
 
done
32735
 
 
32736
 
       ;;
32737
 
  esac
32738
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
32739
 
  # in which case we are not to be found in the path.
32740
 
  if test "x$as_myself" = x; then
32741
 
    as_myself=$0
32742
 
  fi
32743
 
  if test ! -f "$as_myself"; then
32744
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
32745
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
32746
 
   { (exit 1); exit 1; }; }
32747
 
  fi
32748
 
  case $CONFIG_SHELL in
32749
 
  '')
32750
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32751
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
32752
 
do
32753
 
  IFS=$as_save_IFS
32754
 
  test -z "$as_dir" && as_dir=.
32755
 
  for as_base in sh bash ksh sh5; do
32756
 
         case $as_dir in
32757
 
         /*)
32758
 
           if ("$as_dir/$as_base" -c '
32759
 
  as_lineno_1=$LINENO
32760
 
  as_lineno_2=$LINENO
32761
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
32762
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
32763
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
32764
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
32765
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
32766
 
             CONFIG_SHELL=$as_dir/$as_base
32767
 
             export CONFIG_SHELL
32768
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
32769
 
           fi;;
32770
 
         esac
32771
 
       done
32772
 
done
32773
 
;;
32774
 
  esac
 
36211
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
36212
            s//\1/
 
36213
            q
 
36214
          }
 
36215
          /^X\/\(\/\/\)$/{
 
36216
            s//\1/
 
36217
            q
 
36218
          }
 
36219
          /^X\/\(\/\).*/{
 
36220
            s//\1/
 
36221
            q
 
36222
          }
 
36223
          s/.*/./; q'`
 
36224
 
 
36225
# CDPATH.
 
36226
$as_unset CDPATH
 
36227
 
 
36228
 
 
36229
 
 
36230
  as_lineno_1=$LINENO
 
36231
  as_lineno_2=$LINENO
 
36232
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
36233
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
32775
36234
 
32776
36235
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
32777
36236
  # uniformly replaced by the line number.  The first 'sed' inserts a
32778
 
  # line-number line before each line; the second 'sed' does the real
32779
 
  # work.  The second script uses 'N' to pair each line-number line
32780
 
  # with the numbered line, and appends trailing '-' during
32781
 
  # substitution so that $LINENO is not a special case at line end.
 
36237
  # line-number line after each line using $LINENO; the second 'sed'
 
36238
  # does the real work.  The second script uses 'N' to pair each
 
36239
  # line-number line with the line containing $LINENO, and appends
 
36240
  # trailing '-' during substitution so that $LINENO is not a special
 
36241
  # case at line end.
32782
36242
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
32783
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
32784
 
  sed '=' <$as_myself |
 
36243
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
36244
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
36245
  sed -n '
 
36246
    p
 
36247
    /[$]LINENO/=
 
36248
  ' <$as_myself |
32785
36249
    sed '
 
36250
      s/[$]LINENO.*/&-/
 
36251
      t lineno
 
36252
      b
 
36253
      :lineno
32786
36254
      N
32787
 
      s,$,-,
32788
 
      : loop
32789
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
36255
      :loop
 
36256
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
32790
36257
      t loop
32791
 
      s,-$,,
32792
 
      s,^['$as_cr_digits']*\n,,
 
36258
      s/-\n.*//
32793
36259
    ' >$as_me.lineno &&
32794
 
  chmod +x $as_me.lineno ||
32795
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
32796
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
36260
  chmod +x "$as_me.lineno" ||
 
36261
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
32797
36262
   { (exit 1); exit 1; }; }
32798
36263
 
32799
36264
  # Don't try to exec as it changes $[0], causing all sort of problems
32800
36265
  # (the dirname of $[0] is not the place where we might find the
32801
 
  # original and so on.  Autoconf is especially sensible to this).
32802
 
  . ./$as_me.lineno
 
36266
  # original and so on.  Autoconf is especially sensitive to this).
 
36267
  . "./$as_me.lineno"
32803
36268
  # Exit status is that of the last command.
32804
36269
  exit
32805
36270
}
32806
36271
 
32807
36272
 
32808
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
32809
 
  *c*,-n*) ECHO_N= ECHO_C='
32810
 
' ECHO_T='      ' ;;
32811
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
32812
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
36273
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
36274
  as_dirname=dirname
 
36275
else
 
36276
  as_dirname=false
 
36277
fi
 
36278
 
 
36279
ECHO_C= ECHO_N= ECHO_T=
 
36280
case `echo -n x` in
 
36281
-n*)
 
36282
  case `echo 'x\c'` in
 
36283
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
36284
  *)   ECHO_C='\c';;
 
36285
  esac;;
 
36286
*)
 
36287
  ECHO_N='-n';;
32813
36288
esac
32814
36289
 
32815
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
36290
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
36291
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
32816
36292
  as_expr=expr
32817
36293
else
32818
36294
  as_expr=false
32819
36295
fi
32820
36296
 
32821
36297
rm -f conf$$ conf$$.exe conf$$.file
 
36298
if test -d conf$$.dir; then
 
36299
  rm -f conf$$.dir/conf$$.file
 
36300
else
 
36301
  rm -f conf$$.dir
 
36302
  mkdir conf$$.dir
 
36303
fi
32822
36304
echo >conf$$.file
32823
36305
if ln -s conf$$.file conf$$ 2>/dev/null; then
32824
 
  # We could just check for DJGPP; but this test a) works b) is more generic
32825
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
32826
 
  if test -f conf$$.exe; then
32827
 
    # Don't use ln at all; we don't have any links
 
36306
  as_ln_s='ln -s'
 
36307
  # ... but there are two gotchas:
 
36308
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
36309
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
36310
  # In both cases, we have to default to `cp -p'.
 
36311
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32828
36312
    as_ln_s='cp -p'
32829
 
  else
32830
 
    as_ln_s='ln -s'
32831
 
  fi
32832
36313
elif ln conf$$.file conf$$ 2>/dev/null; then
32833
36314
  as_ln_s=ln
32834
36315
else
32835
36316
  as_ln_s='cp -p'
32836
36317
fi
32837
 
rm -f conf$$ conf$$.exe conf$$.file
 
36318
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
36319
rmdir conf$$.dir 2>/dev/null
32838
36320
 
32839
36321
if mkdir -p . 2>/dev/null; then
32840
36322
  as_mkdir_p=:
32843
36325
  as_mkdir_p=false
32844
36326
fi
32845
36327
 
32846
 
as_executable_p="test -f"
 
36328
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
36329
# systems may use methods other than mode bits to determine executability.
 
36330
cat >conf$$.file <<_ASEOF
 
36331
#! /bin/sh
 
36332
exit 0
 
36333
_ASEOF
 
36334
chmod +x conf$$.file
 
36335
if test -x conf$$.file >/dev/null 2>&1; then
 
36336
  as_executable_p="test -x"
 
36337
else
 
36338
  as_executable_p=:
 
36339
fi
 
36340
rm -f conf$$.file
32847
36341
 
32848
36342
# Sed expression to map a string onto a valid CPP name.
32849
36343
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32852
36346
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32853
36347
 
32854
36348
 
32855
 
# IFS
32856
 
# We need space, tab and new line, in precisely that order.
32857
 
as_nl='
32858
 
'
32859
 
IFS="   $as_nl"
32860
 
 
32861
 
# CDPATH.
32862
 
$as_unset CDPATH
32863
 
 
32864
36349
exec 6>&1
32865
36350
 
32866
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
36351
# Save the log message, to keep $[0] and so on meaningful, and to
32867
36352
# report actual input values of CONFIG_FILES etc. instead of their
32868
 
# values after options handling.  Logging --version etc. is OK.
32869
 
exec 5>>config.log
32870
 
{
32871
 
  echo
32872
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32873
 
## Running $as_me. ##
32874
 
_ASBOX
32875
 
} >&5
32876
 
cat >&5 <<_CSEOF
32877
 
 
 
36353
# values after options handling.
 
36354
ac_log="
32878
36355
This file was extended by $as_me, which was
32879
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
36356
generated by GNU Autoconf 2.60.  Invocation command line was
32880
36357
 
32881
36358
  CONFIG_FILES    = $CONFIG_FILES
32882
36359
  CONFIG_HEADERS  = $CONFIG_HEADERS
32884
36361
  CONFIG_COMMANDS = $CONFIG_COMMANDS
32885
36362
  $ $0 $@
32886
36363
 
32887
 
_CSEOF
32888
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
32889
 
echo >&5
 
36364
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
36365
"
 
36366
 
32890
36367
_ACEOF
32891
36368
 
 
36369
cat >>$CONFIG_STATUS <<_ACEOF
32892
36370
# Files that config.status was made for.
32893
 
if test -n "$ac_config_files"; then
32894
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
32895
 
fi
32896
 
 
32897
 
if test -n "$ac_config_headers"; then
32898
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
32899
 
fi
32900
 
 
32901
 
if test -n "$ac_config_links"; then
32902
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
32903
 
fi
32904
 
 
32905
 
if test -n "$ac_config_commands"; then
32906
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
32907
 
fi
 
36371
config_files="$ac_config_files"
 
36372
config_headers="$ac_config_headers"
 
36373
config_commands="$ac_config_commands"
 
36374
 
 
36375
_ACEOF
32908
36376
 
32909
36377
cat >>$CONFIG_STATUS <<\_ACEOF
32910
 
 
32911
36378
ac_cs_usage="\
32912
36379
\`$as_me' instantiates files from templates according to the
32913
36380
current configuration.
32934
36401
$config_commands
32935
36402
 
32936
36403
Report bugs to <bug-autoconf@gnu.org>."
 
36404
 
32937
36405
_ACEOF
32938
 
 
32939
36406
cat >>$CONFIG_STATUS <<_ACEOF
32940
36407
ac_cs_version="\\
32941
36408
config.status
32942
 
configured by $0, generated by GNU Autoconf 2.59,
32943
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
36409
configured by $0, generated by GNU Autoconf 2.60,
 
36410
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
32944
36411
 
32945
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
36412
Copyright (C) 2006 Free Software Foundation, Inc.
32946
36413
This config.status script is free software; the Free Software Foundation
32947
36414
gives unlimited permission to copy, distribute and modify it."
32948
 
srcdir=$srcdir
32949
 
INSTALL="$INSTALL"
 
36415
 
 
36416
ac_pwd='$ac_pwd'
 
36417
srcdir='$srcdir'
 
36418
INSTALL='$INSTALL'
32950
36419
_ACEOF
32951
36420
 
32952
36421
cat >>$CONFIG_STATUS <<\_ACEOF
32957
36426
do
32958
36427
  case $1 in
32959
36428
  --*=*)
32960
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
32961
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
36429
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
36430
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32962
36431
    ac_shift=:
32963
36432
    ;;
32964
 
  -*)
 
36433
  *)
32965
36434
    ac_option=$1
32966
36435
    ac_optarg=$2
32967
36436
    ac_shift=shift
32968
36437
    ;;
32969
 
  *) # This is not an option, so the user has probably given explicit
32970
 
     # arguments.
32971
 
     ac_option=$1
32972
 
     ac_need_defaults=false;;
32973
36438
  esac
32974
36439
 
32975
36440
  case $ac_option in
32976
36441
  # Handling of the options.
32977
 
_ACEOF
32978
 
cat >>$CONFIG_STATUS <<\_ACEOF
32979
36442
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32980
36443
    ac_cs_recheck=: ;;
32981
 
  --version | --vers* | -V )
32982
 
    echo "$ac_cs_version"; exit 0 ;;
32983
 
  --he | --h)
32984
 
    # Conflict between --help and --header
32985
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
32986
 
Try \`$0 --help' for more information." >&5
32987
 
echo "$as_me: error: ambiguous option: $1
32988
 
Try \`$0 --help' for more information." >&2;}
32989
 
   { (exit 1); exit 1; }; };;
32990
 
  --help | --hel | -h )
32991
 
    echo "$ac_cs_usage"; exit 0 ;;
32992
 
  --debug | --d* | -d )
 
36444
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
36445
    echo "$ac_cs_version"; exit ;;
 
36446
  --debug | --debu | --deb | --de | --d | -d )
32993
36447
    debug=: ;;
32994
36448
  --file | --fil | --fi | --f )
32995
36449
    $ac_shift
32999
36453
    $ac_shift
33000
36454
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33001
36455
    ac_need_defaults=false;;
 
36456
  --he | --h)
 
36457
    # Conflict between --help and --header
 
36458
    { echo "$as_me: error: ambiguous option: $1
 
36459
Try \`$0 --help' for more information." >&2
 
36460
   { (exit 1); exit 1; }; };;
 
36461
  --help | --hel | -h )
 
36462
    echo "$ac_cs_usage"; exit ;;
33002
36463
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33003
36464
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
33004
36465
    ac_cs_silent=: ;;
33005
36466
 
33006
36467
  # This is an error.
33007
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33008
 
Try \`$0 --help' for more information." >&5
33009
 
echo "$as_me: error: unrecognized option: $1
33010
 
Try \`$0 --help' for more information." >&2;}
 
36468
  -*) { echo "$as_me: error: unrecognized option: $1
 
36469
Try \`$0 --help' for more information." >&2
33011
36470
   { (exit 1); exit 1; }; } ;;
33012
36471
 
33013
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
36472
  *) ac_config_targets="$ac_config_targets $1"
 
36473
     ac_need_defaults=false ;;
33014
36474
 
33015
36475
  esac
33016
36476
  shift
33026
36486
_ACEOF
33027
36487
cat >>$CONFIG_STATUS <<_ACEOF
33028
36488
if \$ac_cs_recheck; then
33029
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33030
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
36489
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
36490
  CONFIG_SHELL=$SHELL
 
36491
  export CONFIG_SHELL
 
36492
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33031
36493
fi
33032
36494
 
33033
36495
_ACEOF
 
36496
cat >>$CONFIG_STATUS <<\_ACEOF
 
36497
exec 5>>config.log
 
36498
{
 
36499
  echo
 
36500
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
36501
## Running $as_me. ##
 
36502
_ASBOX
 
36503
  echo "$ac_log"
 
36504
} >&5
33034
36505
 
 
36506
_ACEOF
33035
36507
cat >>$CONFIG_STATUS <<_ACEOF
33036
36508
#
33037
 
# INIT-COMMANDS section.
 
36509
# INIT-COMMANDS
33038
36510
#
33039
 
 
33040
36511
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33041
36512
 
33042
36513
_ACEOF
33043
36514
 
33044
 
 
33045
 
 
33046
36515
cat >>$CONFIG_STATUS <<\_ACEOF
 
36516
 
 
36517
# Handling of arguments.
33047
36518
for ac_config_target in $ac_config_targets
33048
36519
do
33049
 
  case "$ac_config_target" in
33050
 
  # Handling of arguments.
33051
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33052
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33053
 
  "doc/en/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
33054
 
  "doc/es/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/es/Makefile" ;;
33055
 
  "kde/Makefile" ) CONFIG_FILES="$CONFIG_FILES kde/Makefile" ;;
33056
 
  "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
33057
 
  "protocoldb/Makefile" ) CONFIG_FILES="$CONFIG_FILES protocoldb/Makefile" ;;
33058
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
33059
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33060
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
36520
  case $ac_config_target in
 
36521
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
36522
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
36523
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
36524
    "admin/Makefile") CONFIG_FILES="$CONFIG_FILES admin/Makefile" ;;
 
36525
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
36526
    "doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
 
36527
    "doc/es/Makefile") CONFIG_FILES="$CONFIG_FILES doc/es/Makefile" ;;
 
36528
    "kde/Makefile") CONFIG_FILES="$CONFIG_FILES kde/Makefile" ;;
 
36529
    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
 
36530
    "protocoldb/Makefile") CONFIG_FILES="$CONFIG_FILES protocoldb/Makefile" ;;
 
36531
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
36532
 
33061
36533
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33062
36534
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33063
36535
   { (exit 1); exit 1; }; };;
33064
36536
  esac
33065
36537
done
33066
36538
 
 
36539
 
33067
36540
# If the user did not use the arguments to specify the items to instantiate,
33068
36541
# then the envvar interface is used.  Set only those that are not.
33069
36542
# We use the long form for the default assignment because of an extremely
33075
36548
fi
33076
36549
 
33077
36550
# Have a temporary directory for convenience.  Make it in the build tree
33078
 
# simply because there is no reason to put it here, and in addition,
 
36551
# simply because there is no reason against having it here, and in addition,
33079
36552
# creating and moving files from /tmp can sometimes cause problems.
33080
 
# Create a temporary directory, and hook for its removal unless debugging.
 
36553
# Hook for its removal unless debugging.
 
36554
# Note that there is a small window in which the directory will not be cleaned:
 
36555
# after its creation but before its name has been assigned to `$tmp'.
33081
36556
$debug ||
33082
36557
{
33083
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
36558
  tmp=
 
36559
  trap 'exit_status=$?
 
36560
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
36561
' 0
33084
36562
  trap '{ (exit 1); exit 1; }' 1 2 13 15
33085
36563
}
33086
 
 
33087
36564
# Create a (secure) tmp directory for tmp files.
33088
36565
 
33089
36566
{
33090
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
36567
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33091
36568
  test -n "$tmp" && test -d "$tmp"
33092
36569
}  ||
33093
36570
{
33094
 
  tmp=./confstat$$-$RANDOM
33095
 
  (umask 077 && mkdir $tmp)
 
36571
  tmp=./conf$$-$RANDOM
 
36572
  (umask 077 && mkdir "$tmp")
33096
36573
} ||
33097
36574
{
33098
36575
   echo "$me: cannot create a temporary directory in ." >&2
33099
36576
   { (exit 1); exit 1; }
33100
36577
}
33101
36578
 
33102
 
_ACEOF
33103
 
 
33104
 
cat >>$CONFIG_STATUS <<_ACEOF
33105
 
 
33106
36579
#
33107
 
# CONFIG_FILES section.
 
36580
# Set up the sed scripts for CONFIG_FILES section.
33108
36581
#
33109
36582
 
33110
36583
# No need to generate the scripts if there are no CONFIG_FILES.
33111
36584
# This happens for instance when ./config.status config.h
33112
 
if test -n "\$CONFIG_FILES"; then
33113
 
  # Protect against being on the right side of a sed subst in config.status.
33114
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
33115
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
33116
 
s,@SHELL@,$SHELL,;t t
33117
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
33118
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
33119
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
33120
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
33121
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
33122
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
33123
 
s,@exec_prefix@,$exec_prefix,;t t
33124
 
s,@prefix@,$prefix,;t t
33125
 
s,@program_transform_name@,$program_transform_name,;t t
33126
 
s,@bindir@,$bindir,;t t
33127
 
s,@sbindir@,$sbindir,;t t
33128
 
s,@libexecdir@,$libexecdir,;t t
33129
 
s,@datadir@,$datadir,;t t
33130
 
s,@sysconfdir@,$sysconfdir,;t t
33131
 
s,@sharedstatedir@,$sharedstatedir,;t t
33132
 
s,@localstatedir@,$localstatedir,;t t
33133
 
s,@libdir@,$libdir,;t t
33134
 
s,@includedir@,$includedir,;t t
33135
 
s,@oldincludedir@,$oldincludedir,;t t
33136
 
s,@infodir@,$infodir,;t t
33137
 
s,@mandir@,$mandir,;t t
33138
 
s,@build_alias@,$build_alias,;t t
33139
 
s,@host_alias@,$host_alias,;t t
33140
 
s,@target_alias@,$target_alias,;t t
33141
 
s,@DEFS@,$DEFS,;t t
33142
 
s,@ECHO_C@,$ECHO_C,;t t
33143
 
s,@ECHO_N@,$ECHO_N,;t t
33144
 
s,@ECHO_T@,$ECHO_T,;t t
33145
 
s,@LIBS@,$LIBS,;t t
33146
 
s,@build@,$build,;t t
33147
 
s,@build_cpu@,$build_cpu,;t t
33148
 
s,@build_vendor@,$build_vendor,;t t
33149
 
s,@build_os@,$build_os,;t t
33150
 
s,@host@,$host,;t t
33151
 
s,@host_cpu@,$host_cpu,;t t
33152
 
s,@host_vendor@,$host_vendor,;t t
33153
 
s,@host_os@,$host_os,;t t
33154
 
s,@target@,$target,;t t
33155
 
s,@target_cpu@,$target_cpu,;t t
33156
 
s,@target_vendor@,$target_vendor,;t t
33157
 
s,@target_os@,$target_os,;t t
33158
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
33159
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
33160
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
33161
 
s,@PACKAGE@,$PACKAGE,;t t
33162
 
s,@VERSION@,$VERSION,;t t
33163
 
s,@ACLOCAL@,$ACLOCAL,;t t
33164
 
s,@AUTOCONF@,$AUTOCONF,;t t
33165
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
33166
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
33167
 
s,@MAKEINFO@,$MAKEINFO,;t t
33168
 
s,@AMTAR@,$AMTAR,;t t
33169
 
s,@install_sh@,$install_sh,;t t
33170
 
s,@STRIP@,$STRIP,;t t
33171
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
33172
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
33173
 
s,@AWK@,$AWK,;t t
33174
 
s,@SET_MAKE@,$SET_MAKE,;t t
33175
 
s,@KDECONFIG@,$KDECONFIG,;t t
33176
 
s,@kde_libs_prefix@,$kde_libs_prefix,;t t
33177
 
s,@kde_libs_htmldir@,$kde_libs_htmldir,;t t
33178
 
s,@CONF_FILES@,$CONF_FILES,;t t
33179
 
s,@CC@,$CC,;t t
33180
 
s,@CFLAGS@,$CFLAGS,;t t
33181
 
s,@LDFLAGS@,$LDFLAGS,;t t
33182
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
33183
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
33184
 
s,@EXEEXT@,$EXEEXT,;t t
33185
 
s,@OBJEXT@,$OBJEXT,;t t
33186
 
s,@DEPDIR@,$DEPDIR,;t t
33187
 
s,@am__include@,$am__include,;t t
33188
 
s,@am__quote@,$am__quote,;t t
33189
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
33190
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
33191
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
33192
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
33193
 
s,@CPP@,$CPP,;t t
33194
 
s,@CXX@,$CXX,;t t
33195
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
33196
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
33197
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
33198
 
s,@WOVERLOADED_VIRTUAL@,$WOVERLOADED_VIRTUAL,;t t
33199
 
s,@HAVE_GCC_VISIBILITY@,$HAVE_GCC_VISIBILITY,;t t
33200
 
s,@unsermake_enable_pch_TRUE@,$unsermake_enable_pch_TRUE,;t t
33201
 
s,@unsermake_enable_pch_FALSE@,$unsermake_enable_pch_FALSE,;t t
33202
 
s,@USE_EXCEPTIONS@,$USE_EXCEPTIONS,;t t
33203
 
s,@USE_RTTI@,$USE_RTTI,;t t
33204
 
s,@CXXCPP@,$CXXCPP,;t t
33205
 
s,@NOOPT_CXXFLAGS@,$NOOPT_CXXFLAGS,;t t
33206
 
s,@NOOPT_CFLAGS@,$NOOPT_CFLAGS,;t t
33207
 
s,@ENABLE_PERMISSIVE_FLAG@,$ENABLE_PERMISSIVE_FLAG,;t t
33208
 
s,@LDFLAGS_AS_NEEDED@,$LDFLAGS_AS_NEEDED,;t t
33209
 
s,@LDFLAGS_NEW_DTAGS@,$LDFLAGS_NEW_DTAGS,;t t
33210
 
s,@KDE_USE_FINAL_TRUE@,$KDE_USE_FINAL_TRUE,;t t
33211
 
s,@KDE_USE_FINAL_FALSE@,$KDE_USE_FINAL_FALSE,;t t
33212
 
s,@KDE_USE_CLOSURE_TRUE@,$KDE_USE_CLOSURE_TRUE,;t t
33213
 
s,@KDE_USE_CLOSURE_FALSE@,$KDE_USE_CLOSURE_FALSE,;t t
33214
 
s,@KDE_NO_UNDEFINED@,$KDE_NO_UNDEFINED,;t t
33215
 
s,@KDE_USE_NMCHECK_TRUE@,$KDE_USE_NMCHECK_TRUE,;t t
33216
 
s,@KDE_USE_NMCHECK_FALSE@,$KDE_USE_NMCHECK_FALSE,;t t
33217
 
s,@EGREP@,$EGREP,;t t
33218
 
s,@LN_S@,$LN_S,;t t
33219
 
s,@ECHO@,$ECHO,;t t
33220
 
s,@AR@,$AR,;t t
33221
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
33222
 
s,@RANLIB@,$RANLIB,;t t
33223
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
33224
 
s,@F77@,$F77,;t t
33225
 
s,@FFLAGS@,$FFLAGS,;t t
33226
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
33227
 
s,@LIBTOOL@,$LIBTOOL,;t t
33228
 
s,@KDE_PLUGIN@,$KDE_PLUGIN,;t t
33229
 
s,@KDE_CHECK_PLUGIN@,$KDE_CHECK_PLUGIN,;t t
33230
 
s,@MSGFMT@,$MSGFMT,;t t
33231
 
s,@GMSGFMT@,$GMSGFMT,;t t
33232
 
s,@XGETTEXT@,$XGETTEXT,;t t
33233
 
s,@LIBUTIL@,$LIBUTIL,;t t
33234
 
s,@LIBCOMPAT@,$LIBCOMPAT,;t t
33235
 
s,@LIBCRYPT@,$LIBCRYPT,;t t
33236
 
s,@LIBRESOLV@,$LIBRESOLV,;t t
33237
 
s,@LIB_POLL@,$LIB_POLL,;t t
33238
 
s,@FRAMEWORK_COREAUDIO@,$FRAMEWORK_COREAUDIO,;t t
33239
 
s,@LIBSOCKET@,$LIBSOCKET,;t t
33240
 
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
33241
 
s,@LIBUCB@,$LIBUCB,;t t
33242
 
s,@LIBDL@,$LIBDL,;t t
33243
 
s,@include_x11_TRUE@,$include_x11_TRUE,;t t
33244
 
s,@include_x11_FALSE@,$include_x11_FALSE,;t t
33245
 
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
33246
 
s,@LIB_X11@,$LIB_X11,;t t
33247
 
s,@LIB_XRENDER@,$LIB_XRENDER,;t t
33248
 
s,@LIBSM@,$LIBSM,;t t
33249
 
s,@X_INCLUDES@,$X_INCLUDES,;t t
33250
 
s,@X_LDFLAGS@,$X_LDFLAGS,;t t
33251
 
s,@x_includes@,$x_includes,;t t
33252
 
s,@x_libraries@,$x_libraries,;t t
33253
 
s,@QTE_NORTTI@,$QTE_NORTTI,;t t
33254
 
s,@LIB_XEXT@,$LIB_XEXT,;t t
33255
 
s,@LIBPTHREAD@,$LIBPTHREAD,;t t
33256
 
s,@USE_THREADS@,$USE_THREADS,;t t
33257
 
s,@KDE_MT_LDFLAGS@,$KDE_MT_LDFLAGS,;t t
33258
 
s,@KDE_MT_LIBS@,$KDE_MT_LIBS,;t t
33259
 
s,@USER_INCLUDES@,$USER_INCLUDES,;t t
33260
 
s,@USER_LDFLAGS@,$USER_LDFLAGS,;t t
33261
 
s,@LIBZ@,$LIBZ,;t t
33262
 
s,@LIBPNG@,$LIBPNG,;t t
33263
 
s,@LIBJPEG@,$LIBJPEG,;t t
33264
 
s,@qt_libraries@,$qt_libraries,;t t
33265
 
s,@qt_includes@,$qt_includes,;t t
33266
 
s,@QT_INCLUDES@,$QT_INCLUDES,;t t
33267
 
s,@QT_LDFLAGS@,$QT_LDFLAGS,;t t
33268
 
s,@PERL@,$PERL,;t t
33269
 
s,@MOC@,$MOC,;t t
33270
 
s,@UIC@,$UIC,;t t
33271
 
s,@UIC_TR@,$UIC_TR,;t t
33272
 
s,@LIB_QT@,$LIB_QT,;t t
33273
 
s,@LIB_QPE@,$LIB_QPE,;t t
33274
 
s,@kde_qtver@,$kde_qtver,;t t
33275
 
s,@KDE_EXTRA_RPATH@,$KDE_EXTRA_RPATH,;t t
33276
 
s,@KDE_RPATH@,$KDE_RPATH,;t t
33277
 
s,@X_RPATH@,$X_RPATH,;t t
33278
 
s,@kde_libraries@,$kde_libraries,;t t
33279
 
s,@kde_includes@,$kde_includes,;t t
33280
 
s,@KDE_LDFLAGS@,$KDE_LDFLAGS,;t t
33281
 
s,@KDE_INCLUDES@,$KDE_INCLUDES,;t t
33282
 
s,@all_includes@,$all_includes,;t t
33283
 
s,@all_libraries@,$all_libraries,;t t
33284
 
s,@AUTODIRS@,$AUTODIRS,;t t
33285
 
s,@include_ARTS_TRUE@,$include_ARTS_TRUE,;t t
33286
 
s,@include_ARTS_FALSE@,$include_ARTS_FALSE,;t t
33287
 
s,@MAKEKDEWIDGETS@,$MAKEKDEWIDGETS,;t t
33288
 
s,@KCONFIG_COMPILER@,$KCONFIG_COMPILER,;t t
33289
 
s,@KCFG_DEPENDENCIES@,$KCFG_DEPENDENCIES,;t t
33290
 
s,@DCOPIDLNG@,$DCOPIDLNG,;t t
33291
 
s,@DCOPIDL@,$DCOPIDL,;t t
33292
 
s,@DCOPIDL2CPP@,$DCOPIDL2CPP,;t t
33293
 
s,@DCOP_DEPENDENCIES@,$DCOP_DEPENDENCIES,;t t
33294
 
s,@MCOPIDL@,$MCOPIDL,;t t
33295
 
s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
33296
 
s,@MEINPROC@,$MEINPROC,;t t
33297
 
s,@KDE_XSL_STYLESHEET@,$KDE_XSL_STYLESHEET,;t t
33298
 
s,@XMLLINT@,$XMLLINT,;t t
33299
 
s,@kde_htmldir@,$kde_htmldir,;t t
33300
 
s,@kde_appsdir@,$kde_appsdir,;t t
33301
 
s,@kde_icondir@,$kde_icondir,;t t
33302
 
s,@kde_sounddir@,$kde_sounddir,;t t
33303
 
s,@kde_datadir@,$kde_datadir,;t t
33304
 
s,@kde_locale@,$kde_locale,;t t
33305
 
s,@kde_confdir@,$kde_confdir,;t t
33306
 
s,@kde_kcfgdir@,$kde_kcfgdir,;t t
33307
 
s,@kde_mimedir@,$kde_mimedir,;t t
33308
 
s,@kde_wallpaperdir@,$kde_wallpaperdir,;t t
33309
 
s,@kde_bindir@,$kde_bindir,;t t
33310
 
s,@xdg_appsdir@,$xdg_appsdir,;t t
33311
 
s,@xdg_menudir@,$xdg_menudir,;t t
33312
 
s,@xdg_directorydir@,$xdg_directorydir,;t t
33313
 
s,@kde_templatesdir@,$kde_templatesdir,;t t
33314
 
s,@kde_servicesdir@,$kde_servicesdir,;t t
33315
 
s,@kde_servicetypesdir@,$kde_servicetypesdir,;t t
33316
 
s,@kde_moduledir@,$kde_moduledir,;t t
33317
 
s,@kdeinitdir@,$kdeinitdir,;t t
33318
 
s,@kde_styledir@,$kde_styledir,;t t
33319
 
s,@kde_widgetdir@,$kde_widgetdir,;t t
33320
 
s,@LIB_KDED@,$LIB_KDED,;t t
33321
 
s,@LIB_KDECORE@,$LIB_KDECORE,;t t
33322
 
s,@LIB_KDEUI@,$LIB_KDEUI,;t t
33323
 
s,@LIB_KIO@,$LIB_KIO,;t t
33324
 
s,@LIB_KJS@,$LIB_KJS,;t t
33325
 
s,@LIB_SMB@,$LIB_SMB,;t t
33326
 
s,@LIB_KAB@,$LIB_KAB,;t t
33327
 
s,@LIB_KABC@,$LIB_KABC,;t t
33328
 
s,@LIB_KHTML@,$LIB_KHTML,;t t
33329
 
s,@LIB_KSPELL@,$LIB_KSPELL,;t t
33330
 
s,@LIB_KPARTS@,$LIB_KPARTS,;t t
33331
 
s,@LIB_KDEPRINT@,$LIB_KDEPRINT,;t t
33332
 
s,@LIB_KUTILS@,$LIB_KUTILS,;t t
33333
 
s,@LIB_KDEPIM@,$LIB_KDEPIM,;t t
33334
 
s,@LIB_KIMPROXY@,$LIB_KIMPROXY,;t t
33335
 
s,@LIB_KNEWSTUFF@,$LIB_KNEWSTUFF,;t t
33336
 
s,@LIB_KDNSSD@,$LIB_KDNSSD,;t t
33337
 
s,@LIB_KUNITTEST@,$LIB_KUNITTEST,;t t
33338
 
s,@LIB_KSYCOCA@,$LIB_KSYCOCA,;t t
33339
 
s,@LIB_KFILE@,$LIB_KFILE,;t t
33340
 
s,@LIB_KFM@,$LIB_KFM,;t t
33341
 
s,@TOPSUBDIRS@,$TOPSUBDIRS,;t t
33342
 
s,@LIBOBJS@,$LIBOBJS,;t t
33343
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
33344
 
CEOF
33345
 
 
33346
 
_ACEOF
33347
 
 
33348
 
  cat >>$CONFIG_STATUS <<\_ACEOF
33349
 
  # Split the substitutions into bite-sized pieces for seds with
33350
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
33351
 
  ac_max_sed_lines=48
33352
 
  ac_sed_frag=1 # Number of current file.
33353
 
  ac_beg=1 # First line for current file.
33354
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
33355
 
  ac_more_lines=:
33356
 
  ac_sed_cmds=
33357
 
  while $ac_more_lines; do
33358
 
    if test $ac_beg -gt 1; then
33359
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33360
 
    else
33361
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33362
 
    fi
33363
 
    if test ! -s $tmp/subs.frag; then
33364
 
      ac_more_lines=false
33365
 
    else
33366
 
      # The purpose of the label and of the branching condition is to
33367
 
      # speed up the sed processing (if there are no `@' at all, there
33368
 
      # is no need to browse any of the substitutions).
33369
 
      # These are the two extra sed commands mentioned above.
33370
 
      (echo ':t
33371
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
33372
 
      if test -z "$ac_sed_cmds"; then
33373
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
33374
 
      else
33375
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
33376
 
      fi
33377
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
33378
 
      ac_beg=$ac_end
33379
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
33380
 
    fi
33381
 
  done
33382
 
  if test -z "$ac_sed_cmds"; then
33383
 
    ac_sed_cmds=cat
33384
 
  fi
 
36585
if test -n "$CONFIG_FILES"; then
 
36586
 
 
36587
_ACEOF
 
36588
 
 
36589
 
 
36590
 
 
36591
ac_delim='%!_!# '
 
36592
for ac_last_try in false false false false false :; do
 
36593
  cat >conf$$subs.sed <<_ACEOF
 
36594
SHELL!$SHELL$ac_delim
 
36595
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
36596
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
36597
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
36598
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
36599
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
36600
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
36601
exec_prefix!$exec_prefix$ac_delim
 
36602
prefix!$prefix$ac_delim
 
36603
program_transform_name!$program_transform_name$ac_delim
 
36604
bindir!$bindir$ac_delim
 
36605
sbindir!$sbindir$ac_delim
 
36606
libexecdir!$libexecdir$ac_delim
 
36607
datarootdir!$datarootdir$ac_delim
 
36608
datadir!$datadir$ac_delim
 
36609
sysconfdir!$sysconfdir$ac_delim
 
36610
sharedstatedir!$sharedstatedir$ac_delim
 
36611
localstatedir!$localstatedir$ac_delim
 
36612
includedir!$includedir$ac_delim
 
36613
oldincludedir!$oldincludedir$ac_delim
 
36614
docdir!$docdir$ac_delim
 
36615
infodir!$infodir$ac_delim
 
36616
htmldir!$htmldir$ac_delim
 
36617
dvidir!$dvidir$ac_delim
 
36618
pdfdir!$pdfdir$ac_delim
 
36619
psdir!$psdir$ac_delim
 
36620
libdir!$libdir$ac_delim
 
36621
localedir!$localedir$ac_delim
 
36622
mandir!$mandir$ac_delim
 
36623
DEFS!$DEFS$ac_delim
 
36624
ECHO_C!$ECHO_C$ac_delim
 
36625
ECHO_N!$ECHO_N$ac_delim
 
36626
ECHO_T!$ECHO_T$ac_delim
 
36627
LIBS!$LIBS$ac_delim
 
36628
build_alias!$build_alias$ac_delim
 
36629
host_alias!$host_alias$ac_delim
 
36630
target_alias!$target_alias$ac_delim
 
36631
build!$build$ac_delim
 
36632
build_cpu!$build_cpu$ac_delim
 
36633
build_vendor!$build_vendor$ac_delim
 
36634
build_os!$build_os$ac_delim
 
36635
host!$host$ac_delim
 
36636
host_cpu!$host_cpu$ac_delim
 
36637
host_vendor!$host_vendor$ac_delim
 
36638
host_os!$host_os$ac_delim
 
36639
target!$target$ac_delim
 
36640
target_cpu!$target_cpu$ac_delim
 
36641
target_vendor!$target_vendor$ac_delim
 
36642
target_os!$target_os$ac_delim
 
36643
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
36644
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
36645
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
36646
CYGPATH_W!$CYGPATH_W$ac_delim
 
36647
PACKAGE!$PACKAGE$ac_delim
 
36648
VERSION!$VERSION$ac_delim
 
36649
ACLOCAL!$ACLOCAL$ac_delim
 
36650
AUTOCONF!$AUTOCONF$ac_delim
 
36651
AUTOMAKE!$AUTOMAKE$ac_delim
 
36652
AUTOHEADER!$AUTOHEADER$ac_delim
 
36653
MAKEINFO!$MAKEINFO$ac_delim
 
36654
install_sh!$install_sh$ac_delim
 
36655
STRIP!$STRIP$ac_delim
 
36656
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
36657
mkdir_p!$mkdir_p$ac_delim
 
36658
AWK!$AWK$ac_delim
 
36659
SET_MAKE!$SET_MAKE$ac_delim
 
36660
am__leading_dot!$am__leading_dot$ac_delim
 
36661
AMTAR!$AMTAR$ac_delim
 
36662
am__tar!$am__tar$ac_delim
 
36663
am__untar!$am__untar$ac_delim
 
36664
KDECONFIG!$KDECONFIG$ac_delim
 
36665
kde_libs_prefix!$kde_libs_prefix$ac_delim
 
36666
kde_libs_htmldir!$kde_libs_htmldir$ac_delim
 
36667
CONF_FILES!$CONF_FILES$ac_delim
 
36668
CC!$CC$ac_delim
 
36669
CFLAGS!$CFLAGS$ac_delim
 
36670
LDFLAGS!$LDFLAGS$ac_delim
 
36671
CPPFLAGS!$CPPFLAGS$ac_delim
 
36672
ac_ct_CC!$ac_ct_CC$ac_delim
 
36673
EXEEXT!$EXEEXT$ac_delim
 
36674
OBJEXT!$OBJEXT$ac_delim
 
36675
DEPDIR!$DEPDIR$ac_delim
 
36676
am__include!$am__include$ac_delim
 
36677
am__quote!$am__quote$ac_delim
 
36678
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
36679
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
36680
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
36681
CCDEPMODE!$CCDEPMODE$ac_delim
 
36682
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
36683
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
36684
CPP!$CPP$ac_delim
 
36685
CXX!$CXX$ac_delim
 
36686
CXXFLAGS!$CXXFLAGS$ac_delim
 
36687
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
36688
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
36689
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
36690
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
36691
_ACEOF
 
36692
 
 
36693
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
36694
    break
 
36695
  elif $ac_last_try; then
 
36696
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
36697
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
36698
   { (exit 1); exit 1; }; }
 
36699
  else
 
36700
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
36701
  fi
 
36702
done
 
36703
 
 
36704
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
36705
if test -n "$ac_eof"; then
 
36706
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
36707
  ac_eof=`expr $ac_eof + 1`
 
36708
fi
 
36709
 
 
36710
cat >>$CONFIG_STATUS <<_ACEOF
 
36711
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
36712
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
36713
_ACEOF
 
36714
sed '
 
36715
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
36716
s/^/s,@/; s/!/@,|#_!!_#|/
 
36717
:n
 
36718
t n
 
36719
s/'"$ac_delim"'$/,g/; t
 
36720
s/$/\\/; p
 
36721
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
36722
' >>$CONFIG_STATUS <conf$$subs.sed
 
36723
rm -f conf$$subs.sed
 
36724
cat >>$CONFIG_STATUS <<_ACEOF
 
36725
CEOF$ac_eof
 
36726
_ACEOF
 
36727
 
 
36728
 
 
36729
ac_delim='%!_!# '
 
36730
for ac_last_try in false false false false false :; do
 
36731
  cat >conf$$subs.sed <<_ACEOF
 
36732
WOVERLOADED_VIRTUAL!$WOVERLOADED_VIRTUAL$ac_delim
 
36733
HAVE_GCC_VISIBILITY!$HAVE_GCC_VISIBILITY$ac_delim
 
36734
unsermake_enable_pch_TRUE!$unsermake_enable_pch_TRUE$ac_delim
 
36735
unsermake_enable_pch_FALSE!$unsermake_enable_pch_FALSE$ac_delim
 
36736
USE_EXCEPTIONS!$USE_EXCEPTIONS$ac_delim
 
36737
USE_RTTI!$USE_RTTI$ac_delim
 
36738
CXXCPP!$CXXCPP$ac_delim
 
36739
NOOPT_CXXFLAGS!$NOOPT_CXXFLAGS$ac_delim
 
36740
NOOPT_CFLAGS!$NOOPT_CFLAGS$ac_delim
 
36741
ENABLE_PERMISSIVE_FLAG!$ENABLE_PERMISSIVE_FLAG$ac_delim
 
36742
LDFLAGS_AS_NEEDED!$LDFLAGS_AS_NEEDED$ac_delim
 
36743
LDFLAGS_NEW_DTAGS!$LDFLAGS_NEW_DTAGS$ac_delim
 
36744
KDE_USE_FINAL_TRUE!$KDE_USE_FINAL_TRUE$ac_delim
 
36745
KDE_USE_FINAL_FALSE!$KDE_USE_FINAL_FALSE$ac_delim
 
36746
KDE_USE_CLOSURE_TRUE!$KDE_USE_CLOSURE_TRUE$ac_delim
 
36747
KDE_USE_CLOSURE_FALSE!$KDE_USE_CLOSURE_FALSE$ac_delim
 
36748
KDE_NO_UNDEFINED!$KDE_NO_UNDEFINED$ac_delim
 
36749
KDE_USE_NMCHECK_TRUE!$KDE_USE_NMCHECK_TRUE$ac_delim
 
36750
KDE_USE_NMCHECK_FALSE!$KDE_USE_NMCHECK_FALSE$ac_delim
 
36751
GREP!$GREP$ac_delim
 
36752
EGREP!$EGREP$ac_delim
 
36753
LN_S!$LN_S$ac_delim
 
36754
ECHO!$ECHO$ac_delim
 
36755
AR!$AR$ac_delim
 
36756
RANLIB!$RANLIB$ac_delim
 
36757
F77!$F77$ac_delim
 
36758
FFLAGS!$FFLAGS$ac_delim
 
36759
ac_ct_F77!$ac_ct_F77$ac_delim
 
36760
LIBTOOL!$LIBTOOL$ac_delim
 
36761
KDE_PLUGIN!$KDE_PLUGIN$ac_delim
 
36762
KDE_CHECK_PLUGIN!$KDE_CHECK_PLUGIN$ac_delim
 
36763
MSGFMT!$MSGFMT$ac_delim
 
36764
GMSGFMT!$GMSGFMT$ac_delim
 
36765
XGETTEXT!$XGETTEXT$ac_delim
 
36766
LIBUTIL!$LIBUTIL$ac_delim
 
36767
LIBCOMPAT!$LIBCOMPAT$ac_delim
 
36768
LIBCRYPT!$LIBCRYPT$ac_delim
 
36769
LIBRESOLV!$LIBRESOLV$ac_delim
 
36770
LIB_POLL!$LIB_POLL$ac_delim
 
36771
FRAMEWORK_COREAUDIO!$FRAMEWORK_COREAUDIO$ac_delim
 
36772
LIBSOCKET!$LIBSOCKET$ac_delim
 
36773
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
 
36774
LIBUCB!$LIBUCB$ac_delim
 
36775
LIBDL!$LIBDL$ac_delim
 
36776
KDE_USE_FPIE!$KDE_USE_FPIE$ac_delim
 
36777
KDE_USE_PIE!$KDE_USE_PIE$ac_delim
 
36778
include_x11_TRUE!$include_x11_TRUE$ac_delim
 
36779
include_x11_FALSE!$include_x11_FALSE$ac_delim
 
36780
XMKMF!$XMKMF$ac_delim
 
36781
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
 
36782
LIB_X11!$LIB_X11$ac_delim
 
36783
LIB_XRENDER!$LIB_XRENDER$ac_delim
 
36784
LIBSM!$LIBSM$ac_delim
 
36785
X_INCLUDES!$X_INCLUDES$ac_delim
 
36786
X_LDFLAGS!$X_LDFLAGS$ac_delim
 
36787
x_includes!$x_includes$ac_delim
 
36788
x_libraries!$x_libraries$ac_delim
 
36789
QTE_NORTTI!$QTE_NORTTI$ac_delim
 
36790
LIB_XEXT!$LIB_XEXT$ac_delim
 
36791
LIBPTHREAD!$LIBPTHREAD$ac_delim
 
36792
USE_THREADS!$USE_THREADS$ac_delim
 
36793
KDE_MT_LDFLAGS!$KDE_MT_LDFLAGS$ac_delim
 
36794
KDE_MT_LIBS!$KDE_MT_LIBS$ac_delim
 
36795
USER_INCLUDES!$USER_INCLUDES$ac_delim
 
36796
USER_LDFLAGS!$USER_LDFLAGS$ac_delim
 
36797
LIBZ!$LIBZ$ac_delim
 
36798
LIBPNG!$LIBPNG$ac_delim
 
36799
LIBJPEG!$LIBJPEG$ac_delim
 
36800
qt_libraries!$qt_libraries$ac_delim
 
36801
qt_includes!$qt_includes$ac_delim
 
36802
QT_INCLUDES!$QT_INCLUDES$ac_delim
 
36803
QT_LDFLAGS!$QT_LDFLAGS$ac_delim
 
36804
PERL!$PERL$ac_delim
 
36805
MOC!$MOC$ac_delim
 
36806
UIC!$UIC$ac_delim
 
36807
UIC_TR!$UIC_TR$ac_delim
 
36808
LIB_QT!$LIB_QT$ac_delim
 
36809
LIB_QPE!$LIB_QPE$ac_delim
 
36810
kde_qtver!$kde_qtver$ac_delim
 
36811
KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
 
36812
KDE_RPATH!$KDE_RPATH$ac_delim
 
36813
X_RPATH!$X_RPATH$ac_delim
 
36814
kde_libraries!$kde_libraries$ac_delim
 
36815
kde_includes!$kde_includes$ac_delim
 
36816
KDE_LDFLAGS!$KDE_LDFLAGS$ac_delim
 
36817
KDE_INCLUDES!$KDE_INCLUDES$ac_delim
 
36818
all_includes!$all_includes$ac_delim
 
36819
all_libraries!$all_libraries$ac_delim
 
36820
AUTODIRS!$AUTODIRS$ac_delim
 
36821
include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
 
36822
include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
 
36823
MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
 
36824
KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
 
36825
KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
 
36826
DCOPIDLNG!$DCOPIDLNG$ac_delim
 
36827
DCOPIDL!$DCOPIDL$ac_delim
 
36828
DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
 
36829
_ACEOF
 
36830
 
 
36831
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
36832
    break
 
36833
  elif $ac_last_try; then
 
36834
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
36835
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
36836
   { (exit 1); exit 1; }; }
 
36837
  else
 
36838
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
36839
  fi
 
36840
done
 
36841
 
 
36842
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
36843
if test -n "$ac_eof"; then
 
36844
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
36845
  ac_eof=`expr $ac_eof + 1`
 
36846
fi
 
36847
 
 
36848
cat >>$CONFIG_STATUS <<_ACEOF
 
36849
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
36850
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
36851
_ACEOF
 
36852
sed '
 
36853
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
36854
s/^/s,@/; s/!/@,|#_!!_#|/
 
36855
:n
 
36856
t n
 
36857
s/'"$ac_delim"'$/,g/; t
 
36858
s/$/\\/; p
 
36859
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
36860
' >>$CONFIG_STATUS <conf$$subs.sed
 
36861
rm -f conf$$subs.sed
 
36862
cat >>$CONFIG_STATUS <<_ACEOF
 
36863
CEOF$ac_eof
 
36864
_ACEOF
 
36865
 
 
36866
 
 
36867
ac_delim='%!_!# '
 
36868
for ac_last_try in false false false false false :; do
 
36869
  cat >conf$$subs.sed <<_ACEOF
 
36870
DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
 
36871
MCOPIDL!$MCOPIDL$ac_delim
 
36872
ARTSCCONFIG!$ARTSCCONFIG$ac_delim
 
36873
MEINPROC!$MEINPROC$ac_delim
 
36874
KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
 
36875
XMLLINT!$XMLLINT$ac_delim
 
36876
kde_htmldir!$kde_htmldir$ac_delim
 
36877
kde_appsdir!$kde_appsdir$ac_delim
 
36878
kde_icondir!$kde_icondir$ac_delim
 
36879
kde_sounddir!$kde_sounddir$ac_delim
 
36880
kde_datadir!$kde_datadir$ac_delim
 
36881
kde_locale!$kde_locale$ac_delim
 
36882
kde_confdir!$kde_confdir$ac_delim
 
36883
kde_kcfgdir!$kde_kcfgdir$ac_delim
 
36884
kde_mimedir!$kde_mimedir$ac_delim
 
36885
kde_wallpaperdir!$kde_wallpaperdir$ac_delim
 
36886
kde_bindir!$kde_bindir$ac_delim
 
36887
xdg_appsdir!$xdg_appsdir$ac_delim
 
36888
xdg_menudir!$xdg_menudir$ac_delim
 
36889
xdg_directorydir!$xdg_directorydir$ac_delim
 
36890
kde_templatesdir!$kde_templatesdir$ac_delim
 
36891
kde_servicesdir!$kde_servicesdir$ac_delim
 
36892
kde_servicetypesdir!$kde_servicetypesdir$ac_delim
 
36893
kde_moduledir!$kde_moduledir$ac_delim
 
36894
kdeinitdir!$kdeinitdir$ac_delim
 
36895
kde_styledir!$kde_styledir$ac_delim
 
36896
kde_widgetdir!$kde_widgetdir$ac_delim
 
36897
LIB_KDED!$LIB_KDED$ac_delim
 
36898
LIB_KDECORE!$LIB_KDECORE$ac_delim
 
36899
LIB_KDEUI!$LIB_KDEUI$ac_delim
 
36900
LIB_KIO!$LIB_KIO$ac_delim
 
36901
LIB_KJS!$LIB_KJS$ac_delim
 
36902
LIB_SMB!$LIB_SMB$ac_delim
 
36903
LIB_KAB!$LIB_KAB$ac_delim
 
36904
LIB_KABC!$LIB_KABC$ac_delim
 
36905
LIB_KHTML!$LIB_KHTML$ac_delim
 
36906
LIB_KSPELL!$LIB_KSPELL$ac_delim
 
36907
LIB_KPARTS!$LIB_KPARTS$ac_delim
 
36908
LIB_KDEPRINT!$LIB_KDEPRINT$ac_delim
 
36909
LIB_KUTILS!$LIB_KUTILS$ac_delim
 
36910
LIB_KDEPIM!$LIB_KDEPIM$ac_delim
 
36911
LIB_KIMPROXY!$LIB_KIMPROXY$ac_delim
 
36912
LIB_KNEWSTUFF!$LIB_KNEWSTUFF$ac_delim
 
36913
LIB_KDNSSD!$LIB_KDNSSD$ac_delim
 
36914
LIB_KUNITTEST!$LIB_KUNITTEST$ac_delim
 
36915
LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim
 
36916
LIB_KFILE!$LIB_KFILE$ac_delim
 
36917
LIB_KFM!$LIB_KFM$ac_delim
 
36918
TOPSUBDIRS!$TOPSUBDIRS$ac_delim
 
36919
LIBOBJS!$LIBOBJS$ac_delim
 
36920
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
36921
_ACEOF
 
36922
 
 
36923
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
 
36924
    break
 
36925
  elif $ac_last_try; then
 
36926
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
36927
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
36928
   { (exit 1); exit 1; }; }
 
36929
  else
 
36930
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
36931
  fi
 
36932
done
 
36933
 
 
36934
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
36935
if test -n "$ac_eof"; then
 
36936
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
36937
  ac_eof=`expr $ac_eof + 1`
 
36938
fi
 
36939
 
 
36940
cat >>$CONFIG_STATUS <<_ACEOF
 
36941
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
 
36942
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
36943
_ACEOF
 
36944
sed '
 
36945
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
36946
s/^/s,@/; s/!/@,|#_!!_#|/
 
36947
:n
 
36948
t n
 
36949
s/'"$ac_delim"'$/,g/; t
 
36950
s/$/\\/; p
 
36951
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
36952
' >>$CONFIG_STATUS <conf$$subs.sed
 
36953
rm -f conf$$subs.sed
 
36954
cat >>$CONFIG_STATUS <<_ACEOF
 
36955
:end
 
36956
s/|#_!!_#|//g
 
36957
CEOF$ac_eof
 
36958
_ACEOF
 
36959
 
 
36960
 
 
36961
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
36962
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
36963
# trailing colons and then remove the whole line if VPATH becomes empty
 
36964
# (actually we leave an empty line to preserve line numbers).
 
36965
if test "x$srcdir" = x.; then
 
36966
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
36967
s/:*\$(srcdir):*/:/
 
36968
s/:*\${srcdir}:*/:/
 
36969
s/:*@srcdir@:*/:/
 
36970
s/^\([^=]*=[     ]*\):*/\1/
 
36971
s/:*$//
 
36972
s/^[^=]*=[       ]*$//
 
36973
}'
 
36974
fi
 
36975
 
 
36976
cat >>$CONFIG_STATUS <<\_ACEOF
33385
36977
fi # test -n "$CONFIG_FILES"
33386
36978
 
33387
 
_ACEOF
33388
 
cat >>$CONFIG_STATUS <<\_ACEOF
33389
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
33390
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
33391
 
  case $ac_file in
33392
 
  - | *:- | *:-:* ) # input from stdin
33393
 
        cat >$tmp/stdin
33394
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33395
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33396
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33397
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33398
 
  * )   ac_file_in=$ac_file.in ;;
33399
 
  esac
33400
 
 
33401
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
33402
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
36979
 
 
36980
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
36981
do
 
36982
  case $ac_tag in
 
36983
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
36984
  esac
 
36985
  case $ac_mode$ac_tag in
 
36986
  :[FHL]*:*);;
 
36987
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
36988
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
36989
   { (exit 1); exit 1; }; };;
 
36990
  :[FH]-) ac_tag=-:-;;
 
36991
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
36992
  esac
 
36993
  ac_save_IFS=$IFS
 
36994
  IFS=:
 
36995
  set x $ac_tag
 
36996
  IFS=$ac_save_IFS
 
36997
  shift
 
36998
  ac_file=$1
 
36999
  shift
 
37000
 
 
37001
  case $ac_mode in
 
37002
  :L) ac_source=$1;;
 
37003
  :[FH])
 
37004
    ac_file_inputs=
 
37005
    for ac_f
 
37006
    do
 
37007
      case $ac_f in
 
37008
      -) ac_f="$tmp/stdin";;
 
37009
      *) # Look for the file first in the build tree, then in the source tree
 
37010
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
37011
         # because $ac_f cannot contain `:'.
 
37012
         test -f "$ac_f" ||
 
37013
           case $ac_f in
 
37014
           [\\/$]*) false;;
 
37015
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
37016
           esac ||
 
37017
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
37018
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
37019
   { (exit 1); exit 1; }; };;
 
37020
      esac
 
37021
      ac_file_inputs="$ac_file_inputs $ac_f"
 
37022
    done
 
37023
 
 
37024
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
37025
    # use $as_me), people would be surprised to read:
 
37026
    #    /* config.h.  Generated by config.status.  */
 
37027
    configure_input="Generated from "`IFS=:
 
37028
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
37029
    if test x"$ac_file" != x-; then
 
37030
      configure_input="$ac_file.  $configure_input"
 
37031
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
37032
echo "$as_me: creating $ac_file" >&6;}
 
37033
    fi
 
37034
 
 
37035
    case $ac_tag in
 
37036
    *:-:* | *:-) cat >"$tmp/stdin";;
 
37037
    esac
 
37038
    ;;
 
37039
  esac
 
37040
 
 
37041
  ac_dir=`$as_dirname -- "$ac_file" ||
33403
37042
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33404
37043
         X"$ac_file" : 'X\(//\)[^/]' \| \
33405
37044
         X"$ac_file" : 'X\(//\)$' \| \
33406
 
         X"$ac_file" : 'X\(/\)' \| \
33407
 
         .     : '\(.\)' 2>/dev/null ||
 
37045
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33408
37046
echo X"$ac_file" |
33409
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33410
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33411
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33412
 
          /^X\(\/\).*/{ s//\1/; q; }
33413
 
          s/.*/./; q'`
33414
 
  { if $as_mkdir_p; then
33415
 
    mkdir -p "$ac_dir"
33416
 
  else
33417
 
    as_dir="$ac_dir"
 
37047
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
37048
            s//\1/
 
37049
            q
 
37050
          }
 
37051
          /^X\(\/\/\)[^/].*/{
 
37052
            s//\1/
 
37053
            q
 
37054
          }
 
37055
          /^X\(\/\/\)$/{
 
37056
            s//\1/
 
37057
            q
 
37058
          }
 
37059
          /^X\(\/\).*/{
 
37060
            s//\1/
 
37061
            q
 
37062
          }
 
37063
          s/.*/./; q'`
 
37064
  { as_dir="$ac_dir"
 
37065
  case $as_dir in #(
 
37066
  -*) as_dir=./$as_dir;;
 
37067
  esac
 
37068
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
33418
37069
    as_dirs=
33419
 
    while test ! -d "$as_dir"; do
33420
 
      as_dirs="$as_dir $as_dirs"
33421
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
37070
    while :; do
 
37071
      case $as_dir in #(
 
37072
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
37073
      *) as_qdir=$as_dir;;
 
37074
      esac
 
37075
      as_dirs="'$as_qdir' $as_dirs"
 
37076
      as_dir=`$as_dirname -- "$as_dir" ||
33422
37077
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33423
37078
         X"$as_dir" : 'X\(//\)[^/]' \| \
33424
37079
         X"$as_dir" : 'X\(//\)$' \| \
33425
 
         X"$as_dir" : 'X\(/\)' \| \
33426
 
         .     : '\(.\)' 2>/dev/null ||
 
37080
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
33427
37081
echo X"$as_dir" |
33428
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33429
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33430
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33431
 
          /^X\(\/\).*/{ s//\1/; q; }
33432
 
          s/.*/./; q'`
 
37082
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
37083
            s//\1/
 
37084
            q
 
37085
          }
 
37086
          /^X\(\/\/\)[^/].*/{
 
37087
            s//\1/
 
37088
            q
 
37089
          }
 
37090
          /^X\(\/\/\)$/{
 
37091
            s//\1/
 
37092
            q
 
37093
          }
 
37094
          /^X\(\/\).*/{
 
37095
            s//\1/
 
37096
            q
 
37097
          }
 
37098
          s/.*/./; q'`
 
37099
      test -d "$as_dir" && break
33433
37100
    done
33434
 
    test ! -n "$as_dirs" || mkdir $as_dirs
33435
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33436
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
37101
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
37102
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
37103
echo "$as_me: error: cannot create directory $as_dir" >&2;}
33437
37104
   { (exit 1); exit 1; }; }; }
33438
 
 
33439
37105
  ac_builddir=.
33440
37106
 
33441
 
if test "$ac_dir" != .; then
 
37107
case "$ac_dir" in
 
37108
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
37109
*)
33442
37110
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
33443
 
  # A "../" for each directory in $ac_dir_suffix.
33444
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
33445
 
else
33446
 
  ac_dir_suffix= ac_top_builddir=
33447
 
fi
 
37111
  # A ".." for each directory in $ac_dir_suffix.
 
37112
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
37113
  case $ac_top_builddir_sub in
 
37114
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
37115
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
37116
  esac ;;
 
37117
esac
 
37118
ac_abs_top_builddir=$ac_pwd
 
37119
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
37120
# for backward compatibility:
 
37121
ac_top_builddir=$ac_top_build_prefix
33448
37122
 
33449
37123
case $srcdir in
33450
 
  .)  # No --srcdir option.  We are building in place.
 
37124
  .)  # We are building in place.
33451
37125
    ac_srcdir=.
33452
 
    if test -z "$ac_top_builddir"; then
33453
 
       ac_top_srcdir=.
33454
 
    else
33455
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
33456
 
    fi ;;
33457
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
37126
    ac_top_srcdir=$ac_top_builddir_sub
 
37127
    ac_abs_top_srcdir=$ac_pwd ;;
 
37128
  [\\/]* | ?:[\\/]* )  # Absolute name.
33458
37129
    ac_srcdir=$srcdir$ac_dir_suffix;
33459
 
    ac_top_srcdir=$srcdir ;;
33460
 
  *) # Relative path.
33461
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
33462
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
33463
 
esac
33464
 
 
33465
 
# Do not use `cd foo && pwd` to compute absolute paths, because
33466
 
# the directories may not exist.
33467
 
case `pwd` in
33468
 
.) ac_abs_builddir="$ac_dir";;
33469
 
*)
33470
 
  case "$ac_dir" in
33471
 
  .) ac_abs_builddir=`pwd`;;
33472
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
33473
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
33474
 
  esac;;
33475
 
esac
33476
 
case $ac_abs_builddir in
33477
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
33478
 
*)
33479
 
  case ${ac_top_builddir}. in
33480
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
33481
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
33482
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
33483
 
  esac;;
33484
 
esac
33485
 
case $ac_abs_builddir in
33486
 
.) ac_abs_srcdir=$ac_srcdir;;
33487
 
*)
33488
 
  case $ac_srcdir in
33489
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
33490
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
33491
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
33492
 
  esac;;
33493
 
esac
33494
 
case $ac_abs_builddir in
33495
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
33496
 
*)
33497
 
  case $ac_top_srcdir in
33498
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
33499
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
33500
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
33501
 
  esac;;
33502
 
esac
33503
 
 
 
37130
    ac_top_srcdir=$srcdir
 
37131
    ac_abs_top_srcdir=$srcdir ;;
 
37132
  *) # Relative name.
 
37133
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
37134
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
37135
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
37136
esac
 
37137
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
37138
 
 
37139
 
 
37140
  case $ac_mode in
 
37141
  :F)
 
37142
  #
 
37143
  # CONFIG_FILE
 
37144
  #
33504
37145
 
33505
37146
  case $INSTALL in
33506
37147
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33507
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
37148
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33508
37149
  esac
33509
 
 
33510
 
  if test x"$ac_file" != x-; then
33511
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
33512
 
echo "$as_me: creating $ac_file" >&6;}
33513
 
    rm -f "$ac_file"
33514
 
  fi
33515
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
33516
 
  # use $as_me), people would be surprised to read:
33517
 
  #    /* config.h.  Generated by config.status.  */
33518
 
  if test x"$ac_file" = x-; then
33519
 
    configure_input=
33520
 
  else
33521
 
    configure_input="$ac_file.  "
33522
 
  fi
33523
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
33524
 
                                     sed 's,.*/,,'` by configure."
33525
 
 
33526
 
  # First look for the input files in the build tree, otherwise in the
33527
 
  # src tree.
33528
 
  ac_file_inputs=`IFS=:
33529
 
    for f in $ac_file_in; do
33530
 
      case $f in
33531
 
      -) echo $tmp/stdin ;;
33532
 
      [\\/$]*)
33533
 
         # Absolute (can't be DOS-style, as IFS=:)
33534
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33535
 
echo "$as_me: error: cannot find input file: $f" >&2;}
33536
 
   { (exit 1); exit 1; }; }
33537
 
         echo "$f";;
33538
 
      *) # Relative
33539
 
         if test -f "$f"; then
33540
 
           # Build tree
33541
 
           echo "$f"
33542
 
         elif test -f "$srcdir/$f"; then
33543
 
           # Source tree
33544
 
           echo "$srcdir/$f"
33545
 
         else
33546
 
           # /dev/null tree
33547
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33548
 
echo "$as_me: error: cannot find input file: $f" >&2;}
33549
 
   { (exit 1); exit 1; }; }
33550
 
         fi;;
33551
 
      esac
33552
 
    done` || { (exit 1); exit 1; }
33553
 
_ACEOF
 
37150
_ACEOF
 
37151
 
 
37152
cat >>$CONFIG_STATUS <<\_ACEOF
 
37153
# If the template does not know about datarootdir, expand it.
 
37154
# FIXME: This hack should be removed a few years after 2.60.
 
37155
ac_datarootdir_hack=; ac_datarootdir_seen=
 
37156
 
 
37157
case `sed -n '/datarootdir/ {
 
37158
  p
 
37159
  q
 
37160
}
 
37161
/@datadir@/p
 
37162
/@docdir@/p
 
37163
/@infodir@/p
 
37164
/@localedir@/p
 
37165
/@mandir@/p
 
37166
' $ac_file_inputs` in
 
37167
*datarootdir*) ac_datarootdir_seen=yes;;
 
37168
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
37169
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
37170
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
37171
_ACEOF
 
37172
cat >>$CONFIG_STATUS <<_ACEOF
 
37173
  ac_datarootdir_hack='
 
37174
  s&@datadir@&$datadir&g
 
37175
  s&@docdir@&$docdir&g
 
37176
  s&@infodir@&$infodir&g
 
37177
  s&@localedir@&$localedir&g
 
37178
  s&@mandir@&$mandir&g
 
37179
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
37180
esac
 
37181
_ACEOF
 
37182
 
 
37183
# Neutralize VPATH when `$srcdir' = `.'.
 
37184
# Shell code in configure.ac might set extrasub.
 
37185
# FIXME: do we really want to maintain this feature?
33554
37186
cat >>$CONFIG_STATUS <<_ACEOF
33555
37187
  sed "$ac_vpsub
33556
37188
$extrasub
33558
37190
cat >>$CONFIG_STATUS <<\_ACEOF
33559
37191
:t
33560
37192
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33561
 
s,@configure_input@,$configure_input,;t t
33562
 
s,@srcdir@,$ac_srcdir,;t t
33563
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
33564
 
s,@top_srcdir@,$ac_top_srcdir,;t t
33565
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
33566
 
s,@builddir@,$ac_builddir,;t t
33567
 
s,@abs_builddir@,$ac_abs_builddir,;t t
33568
 
s,@top_builddir@,$ac_top_builddir,;t t
33569
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
33570
 
s,@INSTALL@,$ac_INSTALL,;t t
33571
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
33572
 
  rm -f $tmp/stdin
33573
 
  if test x"$ac_file" != x-; then
33574
 
    mv $tmp/out $ac_file
33575
 
  else
33576
 
    cat $tmp/out
33577
 
    rm -f $tmp/out
33578
 
  fi
33579
 
 
33580
 
done
 
37193
s&@configure_input@&$configure_input&;t t
 
37194
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
37195
s&@srcdir@&$ac_srcdir&;t t
 
37196
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
37197
s&@top_srcdir@&$ac_top_srcdir&;t t
 
37198
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
37199
s&@builddir@&$ac_builddir&;t t
 
37200
s&@abs_builddir@&$ac_abs_builddir&;t t
 
37201
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
37202
s&@INSTALL@&$ac_INSTALL&;t t
 
37203
$ac_datarootdir_hack
 
37204
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 
37205
 
 
37206
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
37207
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
37208
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
37209
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
37210
which seems to be undefined.  Please make sure it is defined." >&5
 
37211
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
37212
which seems to be undefined.  Please make sure it is defined." >&2;}
 
37213
 
 
37214
  rm -f "$tmp/stdin"
 
37215
  case $ac_file in
 
37216
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
37217
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
37218
  esac
 
37219
 ;;
 
37220
  :H)
 
37221
  #
 
37222
  # CONFIG_HEADER
 
37223
  #
33581
37224
_ACEOF
33582
 
cat >>$CONFIG_STATUS <<\_ACEOF
33583
 
 
33584
 
#
33585
 
# CONFIG_HEADER section.
33586
 
#
33587
 
 
33588
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
33589
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
33590
 
#
33591
 
# ac_d sets the value in "#define NAME VALUE" lines.
33592
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
33593
 
ac_dB='[         ].*$,\1#\2'
 
37225
 
 
37226
# Transform confdefs.h into a sed script `conftest.defines', that
 
37227
# substitutes the proper values into config.h.in to produce config.h.
 
37228
rm -f conftest.defines conftest.tail
 
37229
# First, append a space to every undef/define line, to ease matching.
 
37230
echo 's/$/ /' >conftest.defines
 
37231
# Then, protect against being on the right side of a sed subst, or in
 
37232
# an unquoted here document, in config.status.  If some macros were
 
37233
# called several times there might be several #defines for the same
 
37234
# symbol, which is useless.  But do not sort them, since the last
 
37235
# AC_DEFINE must be honored.
 
37236
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
37237
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
37238
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
37239
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
37240
# just an empty string.
 
37241
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
37242
ac_dB='\\)[      (].*,\\1define\\2'
33594
37243
ac_dC=' '
33595
 
ac_dD=',;t'
33596
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
33597
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
33598
 
ac_uB='$,\1#\2define\3'
33599
 
ac_uC=' '
33600
 
ac_uD=',;t'
33601
 
 
33602
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
33603
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
33604
 
  case $ac_file in
33605
 
  - | *:- | *:-:* ) # input from stdin
33606
 
        cat >$tmp/stdin
33607
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33608
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33609
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33610
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33611
 
  * )   ac_file_in=$ac_file.in ;;
33612
 
  esac
33613
 
 
33614
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
33615
 
echo "$as_me: creating $ac_file" >&6;}
33616
 
 
33617
 
  # First look for the input files in the build tree, otherwise in the
33618
 
  # src tree.
33619
 
  ac_file_inputs=`IFS=:
33620
 
    for f in $ac_file_in; do
33621
 
      case $f in
33622
 
      -) echo $tmp/stdin ;;
33623
 
      [\\/$]*)
33624
 
         # Absolute (can't be DOS-style, as IFS=:)
33625
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33626
 
echo "$as_me: error: cannot find input file: $f" >&2;}
33627
 
   { (exit 1); exit 1; }; }
33628
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
33629
 
         echo "$f";;
33630
 
      *) # Relative
33631
 
         if test -f "$f"; then
33632
 
           # Build tree
33633
 
           echo "$f"
33634
 
         elif test -f "$srcdir/$f"; then
33635
 
           # Source tree
33636
 
           echo "$srcdir/$f"
33637
 
         else
33638
 
           # /dev/null tree
33639
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33640
 
echo "$as_me: error: cannot find input file: $f" >&2;}
33641
 
   { (exit 1); exit 1; }; }
33642
 
         fi;;
33643
 
      esac
33644
 
    done` || { (exit 1); exit 1; }
33645
 
  # Remove the trailing spaces.
33646
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
33647
 
 
33648
 
_ACEOF
33649
 
 
33650
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
33651
 
# `conftest.undefs', that substitutes the proper values into
33652
 
# config.h.in to produce config.h.  The first handles `#define'
33653
 
# templates, and the second `#undef' templates.
33654
 
# And first: Protect against being on the right side of a sed subst in
33655
 
# config.status.  Protect against being in an unquoted here document
33656
 
# in config.status.
33657
 
rm -f conftest.defines conftest.undefs
33658
 
# Using a here document instead of a string reduces the quoting nightmare.
33659
 
# Putting comments in sed scripts is not portable.
33660
 
#
33661
 
# `end' is used to avoid that the second main sed command (meant for
33662
 
# 0-ary CPP macros) applies to n-ary macro definitions.
33663
 
# See the Autoconf documentation for `clear'.
33664
 
cat >confdef2sed.sed <<\_ACEOF
33665
 
s/[\\&,]/\\&/g
33666
 
s,[\\$`],\\&,g
33667
 
t clear
33668
 
: clear
33669
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
33670
 
t end
33671
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
33672
 
: end
33673
 
_ACEOF
33674
 
# If some macros were called several times there might be several times
33675
 
# the same #defines, which is useless.  Nevertheless, we may not want to
33676
 
# sort them, since we want the *last* AC-DEFINE to be honored.
33677
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
33678
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
33679
 
rm -f confdef2sed.sed
33680
 
 
33681
 
# This sed command replaces #undef with comments.  This is necessary, for
 
37244
ac_dD=' ,'
 
37245
 
 
37246
uniq confdefs.h |
 
37247
  sed -n '
 
37248
        t rset
 
37249
        :rset
 
37250
        s/^[     ]*#[    ]*define[       ][      ]*//
 
37251
        t ok
 
37252
        d
 
37253
        :ok
 
37254
        s/[\\&,]/\\&/g
 
37255
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
37256
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
37257
  ' >>conftest.defines
 
37258
 
 
37259
# Remove the space that was appended to ease matching.
 
37260
# Then replace #undef with comments.  This is necessary, for
33682
37261
# example, in the case of _POSIX_SOURCE, which is predefined and required
33683
37262
# on some systems where configure will not decide to define it.
33684
 
cat >>conftest.undefs <<\_ACEOF
33685
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
37263
# (The regexp can be short, since the line contains either #define or #undef.)
 
37264
echo 's/ $//
 
37265
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
37266
 
 
37267
# Break up conftest.defines:
 
37268
ac_max_sed_lines=50
 
37269
 
 
37270
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
37271
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
37272
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
37273
# et cetera.
 
37274
ac_in='$ac_file_inputs'
 
37275
ac_out='"$tmp/out1"'
 
37276
ac_nxt='"$tmp/out2"'
 
37277
 
 
37278
while :
 
37279
do
 
37280
  # Write a here document:
 
37281
    cat >>$CONFIG_STATUS <<_ACEOF
 
37282
    # First, check the format of the line:
 
37283
    cat >"\$tmp/defines.sed" <<\\CEOF
 
37284
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
37285
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
37286
b
 
37287
:def
33686
37288
_ACEOF
33687
 
 
33688
 
# Break up conftest.defines because some shells have a limit on the size
33689
 
# of here documents, and old seds have small limits too (100 cmds).
33690
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
33691
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
33692
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
33693
 
echo '  :' >>$CONFIG_STATUS
33694
 
rm -f conftest.tail
33695
 
while grep . conftest.defines >/dev/null
33696
 
do
33697
 
  # Write a limited-size here document to $tmp/defines.sed.
33698
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
33699
 
  # Speed up: don't consider the non `#define' lines.
33700
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
33701
 
  # Work around the forget-to-reset-the-flag bug.
33702
 
  echo 't clr' >>$CONFIG_STATUS
33703
 
  echo ': clr' >>$CONFIG_STATUS
33704
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
37289
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
33705
37290
  echo 'CEOF
33706
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
33707
 
  rm -f $tmp/in
33708
 
  mv $tmp/out $tmp/in
33709
 
' >>$CONFIG_STATUS
33710
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
37291
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
37292
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
37293
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
37294
  grep . conftest.tail >/dev/null || break
33711
37295
  rm -f conftest.defines
33712
37296
  mv conftest.tail conftest.defines
33713
37297
done
33714
 
rm -f conftest.defines
33715
 
echo '  fi # grep' >>$CONFIG_STATUS
33716
 
echo >>$CONFIG_STATUS
33717
 
 
33718
 
# Break up conftest.undefs because some shells have a limit on the size
33719
 
# of here documents, and old seds have small limits too (100 cmds).
33720
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
33721
 
rm -f conftest.tail
33722
 
while grep . conftest.undefs >/dev/null
33723
 
do
33724
 
  # Write a limited-size here document to $tmp/undefs.sed.
33725
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
33726
 
  # Speed up: don't consider the non `#undef'
33727
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
33728
 
  # Work around the forget-to-reset-the-flag bug.
33729
 
  echo 't clr' >>$CONFIG_STATUS
33730
 
  echo ': clr' >>$CONFIG_STATUS
33731
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
33732
 
  echo 'CEOF
33733
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
33734
 
  rm -f $tmp/in
33735
 
  mv $tmp/out $tmp/in
33736
 
' >>$CONFIG_STATUS
33737
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
33738
 
  rm -f conftest.undefs
33739
 
  mv conftest.tail conftest.undefs
33740
 
done
33741
 
rm -f conftest.undefs
33742
 
 
 
37298
rm -f conftest.defines conftest.tail
 
37299
 
 
37300
echo "ac_result=$ac_in" >>$CONFIG_STATUS
33743
37301
cat >>$CONFIG_STATUS <<\_ACEOF
33744
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
33745
 
  # use $as_me), people would be surprised to read:
33746
 
  #    /* config.h.  Generated by config.status.  */
33747
 
  if test x"$ac_file" = x-; then
33748
 
    echo "/* Generated by configure.  */" >$tmp/config.h
33749
 
  else
33750
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
33751
 
  fi
33752
 
  cat $tmp/in >>$tmp/config.h
33753
 
  rm -f $tmp/in
33754
37302
  if test x"$ac_file" != x-; then
33755
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
37303
    echo "/* $configure_input  */" >"$tmp/config.h"
 
37304
    cat "$ac_result" >>"$tmp/config.h"
 
37305
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
33756
37306
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
33757
37307
echo "$as_me: $ac_file is unchanged" >&6;}
33758
37308
    else
33759
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
33760
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33761
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
33762
 
         X"$ac_file" : 'X\(//\)$' \| \
33763
 
         X"$ac_file" : 'X\(/\)' \| \
33764
 
         .     : '\(.\)' 2>/dev/null ||
33765
 
echo X"$ac_file" |
33766
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33767
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33768
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33769
 
          /^X\(\/\).*/{ s//\1/; q; }
33770
 
          s/.*/./; q'`
33771
 
      { if $as_mkdir_p; then
33772
 
    mkdir -p "$ac_dir"
33773
 
  else
33774
 
    as_dir="$ac_dir"
33775
 
    as_dirs=
33776
 
    while test ! -d "$as_dir"; do
33777
 
      as_dirs="$as_dir $as_dirs"
33778
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
33779
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33780
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
33781
 
         X"$as_dir" : 'X\(//\)$' \| \
33782
 
         X"$as_dir" : 'X\(/\)' \| \
33783
 
         .     : '\(.\)' 2>/dev/null ||
33784
 
echo X"$as_dir" |
33785
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33786
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33787
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33788
 
          /^X\(\/\).*/{ s//\1/; q; }
33789
 
          s/.*/./; q'`
33790
 
    done
33791
 
    test ! -n "$as_dirs" || mkdir $as_dirs
33792
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33793
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33794
 
   { (exit 1); exit 1; }; }; }
33795
 
 
33796
37309
      rm -f $ac_file
33797
 
      mv $tmp/config.h $ac_file
 
37310
      mv "$tmp/config.h" $ac_file
33798
37311
    fi
33799
37312
  else
33800
 
    cat $tmp/config.h
33801
 
    rm -f $tmp/config.h
 
37313
    echo "/* $configure_input  */"
 
37314
    cat "$ac_result"
33802
37315
  fi
33803
 
  # Run the commands associated with the file.
33804
 
  case $ac_file in
33805
 
    config.h ) # update the timestamp
33806
 
echo 'timestamp for config.h' >"./stamp-h1"
33807
 
 ;;
 
37316
  rm -f "$tmp/out12"
 
37317
# Compute $ac_file's index in $config_headers.
 
37318
_am_stamp_count=1
 
37319
for _am_header in $config_headers :; do
 
37320
  case $_am_header in
 
37321
    $ac_file | $ac_file:* )
 
37322
      break ;;
 
37323
    * )
 
37324
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33808
37325
  esac
33809
37326
done
33810
 
_ACEOF
33811
 
cat >>$CONFIG_STATUS <<\_ACEOF
33812
 
 
33813
 
#
33814
 
# CONFIG_COMMANDS section.
33815
 
#
33816
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
33817
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
33818
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
33819
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
33820
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33821
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
33822
 
         X"$ac_dest" : 'X\(//\)$' \| \
33823
 
         X"$ac_dest" : 'X\(/\)' \| \
33824
 
         .     : '\(.\)' 2>/dev/null ||
33825
 
echo X"$ac_dest" |
33826
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33827
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33828
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33829
 
          /^X\(\/\).*/{ s//\1/; q; }
33830
 
          s/.*/./; q'`
33831
 
  { if $as_mkdir_p; then
33832
 
    mkdir -p "$ac_dir"
33833
 
  else
33834
 
    as_dir="$ac_dir"
33835
 
    as_dirs=
33836
 
    while test ! -d "$as_dir"; do
33837
 
      as_dirs="$as_dir $as_dirs"
33838
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
33839
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33840
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
33841
 
         X"$as_dir" : 'X\(//\)$' \| \
33842
 
         X"$as_dir" : 'X\(/\)' \| \
33843
 
         .     : '\(.\)' 2>/dev/null ||
33844
 
echo X"$as_dir" |
33845
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33846
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33847
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33848
 
          /^X\(\/\).*/{ s//\1/; q; }
33849
 
          s/.*/./; q'`
33850
 
    done
33851
 
    test ! -n "$as_dirs" || mkdir $as_dirs
33852
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33853
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33854
 
   { (exit 1); exit 1; }; }; }
33855
 
 
33856
 
  ac_builddir=.
33857
 
 
33858
 
if test "$ac_dir" != .; then
33859
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
33860
 
  # A "../" for each directory in $ac_dir_suffix.
33861
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
33862
 
else
33863
 
  ac_dir_suffix= ac_top_builddir=
33864
 
fi
33865
 
 
33866
 
case $srcdir in
33867
 
  .)  # No --srcdir option.  We are building in place.
33868
 
    ac_srcdir=.
33869
 
    if test -z "$ac_top_builddir"; then
33870
 
       ac_top_srcdir=.
33871
 
    else
33872
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
33873
 
    fi ;;
33874
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
33875
 
    ac_srcdir=$srcdir$ac_dir_suffix;
33876
 
    ac_top_srcdir=$srcdir ;;
33877
 
  *) # Relative path.
33878
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
33879
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
33880
 
esac
33881
 
 
33882
 
# Do not use `cd foo && pwd` to compute absolute paths, because
33883
 
# the directories may not exist.
33884
 
case `pwd` in
33885
 
.) ac_abs_builddir="$ac_dir";;
33886
 
*)
33887
 
  case "$ac_dir" in
33888
 
  .) ac_abs_builddir=`pwd`;;
33889
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
33890
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
33891
 
  esac;;
33892
 
esac
33893
 
case $ac_abs_builddir in
33894
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
33895
 
*)
33896
 
  case ${ac_top_builddir}. in
33897
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
33898
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
33899
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
33900
 
  esac;;
33901
 
esac
33902
 
case $ac_abs_builddir in
33903
 
.) ac_abs_srcdir=$ac_srcdir;;
33904
 
*)
33905
 
  case $ac_srcdir in
33906
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
33907
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
33908
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
33909
 
  esac;;
33910
 
esac
33911
 
case $ac_abs_builddir in
33912
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
33913
 
*)
33914
 
  case $ac_top_srcdir in
33915
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
33916
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
33917
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
33918
 
  esac;;
33919
 
esac
33920
 
 
33921
 
 
33922
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
33923
 
echo "$as_me: executing $ac_dest commands" >&6;}
33924
 
  case $ac_dest in
33925
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
37327
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
 
37328
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
37329
         X$ac_file : 'X\(//\)[^/]' \| \
 
37330
         X$ac_file : 'X\(//\)$' \| \
 
37331
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
 
37332
echo X$ac_file |
 
37333
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
37334
            s//\1/
 
37335
            q
 
37336
          }
 
37337
          /^X\(\/\/\)[^/].*/{
 
37338
            s//\1/
 
37339
            q
 
37340
          }
 
37341
          /^X\(\/\/\)$/{
 
37342
            s//\1/
 
37343
            q
 
37344
          }
 
37345
          /^X\(\/\).*/{
 
37346
            s//\1/
 
37347
            q
 
37348
          }
 
37349
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
37350
 ;;
 
37351
 
 
37352
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
37353
echo "$as_me: executing $ac_file commands" >&6;}
 
37354
 ;;
 
37355
  esac
 
37356
 
 
37357
 
 
37358
  case $ac_file$ac_mode in
 
37359
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
33926
37360
  # Strip MF so we end up with the name of the file.
33927
37361
  mf=`echo "$mf" | sed -e 's/:.*$//'`
33928
37362
  # Check whether this is an Automake generated Makefile or not.
33932
37366
  # each Makefile.in and add a new line on top of each file to say so.
33933
37367
  # So let's grep whole file.
33934
37368
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
33935
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
37369
    dirpart=`$as_dirname -- "$mf" ||
33936
37370
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33937
37371
         X"$mf" : 'X\(//\)[^/]' \| \
33938
37372
         X"$mf" : 'X\(//\)$' \| \
33939
 
         X"$mf" : 'X\(/\)' \| \
33940
 
         .     : '\(.\)' 2>/dev/null ||
 
37373
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33941
37374
echo X"$mf" |
33942
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33943
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33944
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33945
 
          /^X\(\/\).*/{ s//\1/; q; }
33946
 
          s/.*/./; q'`
 
37375
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
37376
            s//\1/
 
37377
            q
 
37378
          }
 
37379
          /^X\(\/\/\)[^/].*/{
 
37380
            s//\1/
 
37381
            q
 
37382
          }
 
37383
          /^X\(\/\/\)$/{
 
37384
            s//\1/
 
37385
            q
 
37386
          }
 
37387
          /^X\(\/\).*/{
 
37388
            s//\1/
 
37389
            q
 
37390
          }
 
37391
          s/.*/./; q'`
33947
37392
  else
33948
37393
    continue
33949
37394
  fi
33950
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
33951
 
  # Extract the definition of DEP_FILES from the Makefile without
33952
 
  # running `make'.
33953
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
37395
  # Extract the definition of DEPDIR, am__include, and am__quote
 
37396
  # from the Makefile without running `make'.
 
37397
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33954
37398
  test -z "$DEPDIR" && continue
 
37399
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
37400
  test -z "am__include" && continue
 
37401
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33955
37402
  # When using ansi2knr, U may be empty or an underscore; expand it
33956
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
33957
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
33958
 
  # We invoke sed twice because it is the simplest approach to
33959
 
  # changing $(DEPDIR) to its actual value in the expansion.
33960
 
  for file in `sed -n -e '
33961
 
    /^DEP_FILES = .*\\\\$/ {
33962
 
      s/^DEP_FILES = //
33963
 
      :loop
33964
 
        s/\\\\$//
33965
 
        p
33966
 
        n
33967
 
        /\\\\$/ b loop
33968
 
      p
33969
 
    }
33970
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
37403
  U=`sed -n 's/^U = //p' < "$mf"`
 
37404
  # Find all dependency output files, they are included files with
 
37405
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
37406
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
37407
  # expansion.
 
37408
  for file in `sed -n "
 
37409
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33971
37410
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
33972
37411
    # Make sure the directory exists.
33973
37412
    test -f "$dirpart/$file" && continue
33974
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
37413
    fdir=`$as_dirname -- "$file" ||
33975
37414
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33976
37415
         X"$file" : 'X\(//\)[^/]' \| \
33977
37416
         X"$file" : 'X\(//\)$' \| \
33978
 
         X"$file" : 'X\(/\)' \| \
33979
 
         .     : '\(.\)' 2>/dev/null ||
 
37417
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33980
37418
echo X"$file" |
33981
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33982
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33983
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33984
 
          /^X\(\/\).*/{ s//\1/; q; }
33985
 
          s/.*/./; q'`
33986
 
    { if $as_mkdir_p; then
33987
 
    mkdir -p $dirpart/$fdir
33988
 
  else
33989
 
    as_dir=$dirpart/$fdir
 
37419
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
37420
            s//\1/
 
37421
            q
 
37422
          }
 
37423
          /^X\(\/\/\)[^/].*/{
 
37424
            s//\1/
 
37425
            q
 
37426
          }
 
37427
          /^X\(\/\/\)$/{
 
37428
            s//\1/
 
37429
            q
 
37430
          }
 
37431
          /^X\(\/\).*/{
 
37432
            s//\1/
 
37433
            q
 
37434
          }
 
37435
          s/.*/./; q'`
 
37436
    { as_dir=$dirpart/$fdir
 
37437
  case $as_dir in #(
 
37438
  -*) as_dir=./$as_dir;;
 
37439
  esac
 
37440
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
33990
37441
    as_dirs=
33991
 
    while test ! -d "$as_dir"; do
33992
 
      as_dirs="$as_dir $as_dirs"
33993
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
37442
    while :; do
 
37443
      case $as_dir in #(
 
37444
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
37445
      *) as_qdir=$as_dir;;
 
37446
      esac
 
37447
      as_dirs="'$as_qdir' $as_dirs"
 
37448
      as_dir=`$as_dirname -- "$as_dir" ||
33994
37449
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33995
37450
         X"$as_dir" : 'X\(//\)[^/]' \| \
33996
37451
         X"$as_dir" : 'X\(//\)$' \| \
33997
 
         X"$as_dir" : 'X\(/\)' \| \
33998
 
         .     : '\(.\)' 2>/dev/null ||
 
37452
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
33999
37453
echo X"$as_dir" |
34000
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34001
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34002
 
          /^X\(\/\/\)$/{ s//\1/; q; }
34003
 
          /^X\(\/\).*/{ s//\1/; q; }
34004
 
          s/.*/./; q'`
 
37454
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
37455
            s//\1/
 
37456
            q
 
37457
          }
 
37458
          /^X\(\/\/\)[^/].*/{
 
37459
            s//\1/
 
37460
            q
 
37461
          }
 
37462
          /^X\(\/\/\)$/{
 
37463
            s//\1/
 
37464
            q
 
37465
          }
 
37466
          /^X\(\/\).*/{
 
37467
            s//\1/
 
37468
            q
 
37469
          }
 
37470
          s/.*/./; q'`
 
37471
      test -d "$as_dir" && break
34005
37472
    done
34006
 
    test ! -n "$as_dirs" || mkdir $as_dirs
34007
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
34008
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
37473
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
37474
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
37475
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34009
37476
   { (exit 1); exit 1; }; }; }
34010
 
 
34011
37477
    # echo "creating $dirpart/$file"
34012
37478
    echo '# dummy' > "$dirpart/$file"
34013
37479
  done
34014
37480
done
34015
37481
 ;;
 
37482
 
34016
37483
  esac
34017
 
done
34018
 
_ACEOF
 
37484
done # for ac_tag
34019
37485
 
34020
 
cat >>$CONFIG_STATUS <<\_ACEOF
34021
37486
 
34022
37487
{ (exit 0); exit 0; }
34023
37488
_ACEOF
34069
37534
  fi
34070
37535
fi
34071
37536
 
 
37537
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
 
37538
  echo ""
 
37539
  echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
 
37540
  echo "was not included. Therefore, GCC symbol visibility support remains disabled."
 
37541
  echo ""
 
37542
  echo "For better performance, consider including the Qt visibility supporting patch"
 
37543
  echo "located at:"
 
37544
  echo ""
 
37545
  echo "http://bugs.kde.org/show_bug.cgi?id=109386"
 
37546
  echo ""
 
37547
  echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
 
37548
  echo "everything will continue to work just fine without it."
 
37549
  echo ""
 
37550
fi
 
37551
 
34072
37552
if test "$all_tests" = "bad"; then
34073
37553
  if test ! "$cache_file" = "/dev/null"; then
34074
37554
    echo ""