~ubuntu-branches/ubuntu/lucid/kmess/lucid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter, Sven Boden, Harald Sitter
  • Date: 2008-02-11 23:32:07 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080211233207-zdif7j0ikcnzvbbm
Tags: 1.5-0ubuntu1
[ Sven Boden ]
* Upgrade kmess from v1.4.3 to v1.5 (LP: #191092)

[ Harald Sitter ]
* Raised Standards-Version to 3.7.3
* Outsourced the Homepage to an own entry
* Fixed debian/watch

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.61.
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
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
 
13
# Be more Bourne compatible
22
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
23
52
 
24
53
# Support unset when possible.
25
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
58
fi
30
59
 
31
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
32
94
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
34
98
PS1='$ '
35
99
PS2='> '
36
100
PS4='+ '
44
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
109
    eval $as_var=C; export $as_var
46
110
  else
47
 
    $as_unset $as_var
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
112
  fi
49
113
done
50
114
 
51
115
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
118
  as_expr=expr
54
119
else
55
120
  as_expr=false
56
121
fi
57
122
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
124
  as_basename=basename
60
125
else
61
126
  as_basename=false
63
128
 
64
129
 
65
130
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
135
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
 
  '')
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
130
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
223
do
133
224
  IFS=$as_save_IFS
134
225
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
226
  case $as_dir in
137
227
         /*)
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
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
152
232
done
153
 
;;
154
 
  esac
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
 
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
427
 
156
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
  # 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.
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
162
435
  # (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 |
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
165
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
166
447
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
450
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
173
452
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
175
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
   { (exit 1); exit 1; }; }
177
456
 
178
457
  # Don't try to exec as it changes $[0], causing all sort of problems
179
458
  # (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
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
182
461
  # Exit status is that of the last command.
183
462
  exit
184
463
}
185
464
 
186
465
 
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= ;;
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
192
481
esac
193
482
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
485
  as_expr=expr
196
486
else
197
487
  as_expr=false
198
488
fi
199
489
 
200
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
201
497
echo >conf$$.file
202
498
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
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
505
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
212
507
  as_ln_s=ln
213
508
else
214
509
  as_ln_s='cp -p'
215
510
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
217
513
 
218
514
if mkdir -p . 2>/dev/null; then
219
515
  as_mkdir_p=:
222
518
  as_mkdir_p=false
223
519
fi
224
520
 
225
 
as_executable_p="test -f"
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
226
543
 
227
544
# Sed expression to map a string onto a valid CPP name.
228
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
549
 
233
550
 
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
551
 
244
552
 
245
553
# Check that we are running under the correct shell.
395
703
 
396
704
tagnames=${tagnames+${tagnames},}F77
397
705
 
 
706
exec 7<&0 </dev/null 6>&1
 
707
 
398
708
# Name of the host.
399
709
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
710
# so uname gets run too.
401
711
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
712
 
403
 
exec 6>&1
404
 
 
405
713
#
406
714
# Initializations.
407
715
#
408
716
ac_default_prefix=/usr/local
 
717
ac_clean_files=
409
718
ac_config_libobj_dir=.
 
719
LIBOBJS=
410
720
cross_compiling=no
411
721
subdirs=
412
722
MFLAGS=
413
723
MAKEFLAGS=
414
724
SHELL=${CONFIG_SHELL-/bin/sh}
415
725
 
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
726
# Identity of this package.
422
727
PACKAGE_NAME=
423
728
PACKAGE_TARNAME=
430
735
# Factoring default headers for most tests.
431
736
ac_includes_default="\
432
737
#include <stdio.h>
433
 
#if HAVE_SYS_TYPES_H
 
738
#ifdef HAVE_SYS_TYPES_H
434
739
# include <sys/types.h>
435
740
#endif
436
 
#if HAVE_SYS_STAT_H
 
741
#ifdef HAVE_SYS_STAT_H
437
742
# include <sys/stat.h>
438
743
#endif
439
 
#if STDC_HEADERS
 
744
#ifdef STDC_HEADERS
440
745
# include <stdlib.h>
441
746
# include <stddef.h>
442
747
#else
443
 
# if HAVE_STDLIB_H
 
748
# ifdef HAVE_STDLIB_H
444
749
#  include <stdlib.h>
445
750
# endif
446
751
#endif
447
 
#if HAVE_STRING_H
448
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
752
#ifdef HAVE_STRING_H
 
753
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
449
754
#  include <memory.h>
450
755
# endif
451
756
# include <string.h>
452
757
#endif
453
 
#if HAVE_STRINGS_H
 
758
#ifdef HAVE_STRINGS_H
454
759
# include <strings.h>
455
760
#endif
456
 
#if HAVE_INTTYPES_H
 
761
#ifdef HAVE_INTTYPES_H
457
762
# include <inttypes.h>
458
 
#else
459
 
# if HAVE_STDINT_H
460
 
#  include <stdint.h>
461
 
# endif
462
 
#endif
463
 
#if HAVE_UNISTD_H
 
763
#endif
 
764
#ifdef HAVE_STDINT_H
 
765
# include <stdint.h>
 
766
#endif
 
767
#ifdef HAVE_UNISTD_H
464
768
# include <unistd.h>
465
769
#endif"
466
770
 
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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE WOVERLOADED_VIRTUAL USE_EXCEPTIONS USE_RTTI CXXCPP NOOPT_CXXFLAGS NOOPT_CFLAGS ENABLE_PERMISSIVE_FLAG 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 MSGFMT GMSGFMT XGETTEXT LIBUTIL LIBCOMPAT LIBCRYPT LIBRESOLV LIB_POLL FRAMEWORK_COREAUDIO LIBSOCKET X_EXTRA_LIBS LIBUCB LIBDL 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 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_KDECORE LIB_KDEUI LIB_KIO LIB_SMB LIB_KAB LIB_KABC LIB_KHTML LIB_KSPELL LIB_KPARTS LIB_KDEPRINT LIB_KUTILS LIB_KDEPIM LIB_KSYCOCA LIB_KFILE LIB_KFM LIB_XSCREENSAVER BINRELOC_CFLAGS BINRELOC_LIBS KPHONE_G711_OBJ KPHONE_DTMFGENERATOR_OBJ KPHONE_DSPOUTRTP_OBJ KPHONE_DSPOUTOSS_OBJ KPHONE_DSPOUT_OBJ KPHONE_DSPAUDIO_OBJ KPHONE_DSPAUDIOIN_OBJ KPHONE_DSPAUDIOOUT_OBJ KPHONE_CALLAUDIO_OBJ KPHONE_CALLAUDIO_MOC_OBJ KPHONE_AUDIOBUFFER_OBJ KPHONE_DISSIPATE2_LIB KPHONE_ILBC_LIB KPHONE_GSM_LIB KPHONEDIR TOPSUBDIRS LIBOBJS LTLIBOBJS'
 
771
ac_subst_vars='SHELL
 
772
PATH_SEPARATOR
 
773
PACKAGE_NAME
 
774
PACKAGE_TARNAME
 
775
PACKAGE_VERSION
 
776
PACKAGE_STRING
 
777
PACKAGE_BUGREPORT
 
778
exec_prefix
 
779
prefix
 
780
program_transform_name
 
781
bindir
 
782
sbindir
 
783
libexecdir
 
784
datarootdir
 
785
datadir
 
786
sysconfdir
 
787
sharedstatedir
 
788
localstatedir
 
789
includedir
 
790
oldincludedir
 
791
docdir
 
792
infodir
 
793
htmldir
 
794
dvidir
 
795
pdfdir
 
796
psdir
 
797
libdir
 
798
localedir
 
799
mandir
 
800
DEFS
 
801
ECHO_C
 
802
ECHO_N
 
803
ECHO_T
 
804
LIBS
 
805
build_alias
 
806
host_alias
 
807
target_alias
 
808
build
 
809
build_cpu
 
810
build_vendor
 
811
build_os
 
812
host
 
813
host_cpu
 
814
host_vendor
 
815
host_os
 
816
target
 
817
target_cpu
 
818
target_vendor
 
819
target_os
 
820
INSTALL_PROGRAM
 
821
INSTALL_SCRIPT
 
822
INSTALL_DATA
 
823
am__isrc
 
824
CYGPATH_W
 
825
PACKAGE
 
826
VERSION
 
827
ACLOCAL
 
828
AUTOCONF
 
829
AUTOMAKE
 
830
AUTOHEADER
 
831
MAKEINFO
 
832
install_sh
 
833
STRIP
 
834
INSTALL_STRIP_PROGRAM
 
835
mkdir_p
 
836
AWK
 
837
SET_MAKE
 
838
am__leading_dot
 
839
AMTAR
 
840
am__tar
 
841
am__untar
 
842
KDECONFIG
 
843
kde_libs_prefix
 
844
kde_libs_htmldir
 
845
CONF_FILES
 
846
CC
 
847
CFLAGS
 
848
LDFLAGS
 
849
CPPFLAGS
 
850
ac_ct_CC
 
851
EXEEXT
 
852
OBJEXT
 
853
DEPDIR
 
854
am__include
 
855
am__quote
 
856
AMDEP_TRUE
 
857
AMDEP_FALSE
 
858
AMDEPBACKSLASH
 
859
CCDEPMODE
 
860
am__fastdepCC_TRUE
 
861
am__fastdepCC_FALSE
 
862
CPP
 
863
CXX
 
864
CXXFLAGS
 
865
ac_ct_CXX
 
866
CXXDEPMODE
 
867
am__fastdepCXX_TRUE
 
868
am__fastdepCXX_FALSE
 
869
WOVERLOADED_VIRTUAL
 
870
HAVE_GCC_VISIBILITY
 
871
unsermake_enable_pch_TRUE
 
872
unsermake_enable_pch_FALSE
 
873
USE_EXCEPTIONS
 
874
USE_RTTI
 
875
CXXCPP
 
876
NOOPT_CXXFLAGS
 
877
NOOPT_CFLAGS
 
878
ENABLE_PERMISSIVE_FLAG
 
879
LDFLAGS_AS_NEEDED
 
880
LDFLAGS_NEW_DTAGS
 
881
KDE_USE_FINAL_TRUE
 
882
KDE_USE_FINAL_FALSE
 
883
KDE_USE_CLOSURE_TRUE
 
884
KDE_USE_CLOSURE_FALSE
 
885
KDE_NO_UNDEFINED
 
886
KDE_USE_NMCHECK_TRUE
 
887
KDE_USE_NMCHECK_FALSE
 
888
GREP
 
889
EGREP
 
890
LN_S
 
891
ECHO
 
892
AR
 
893
RANLIB
 
894
F77
 
895
FFLAGS
 
896
ac_ct_F77
 
897
LIBTOOL
 
898
KDE_PLUGIN
 
899
KDE_CHECK_PLUGIN
 
900
MSGFMT
 
901
GMSGFMT
 
902
XGETTEXT
 
903
LIBUTIL
 
904
LIBCOMPAT
 
905
LIBCRYPT
 
906
LIBRESOLV
 
907
LIB_POLL
 
908
FRAMEWORK_COREAUDIO
 
909
LIBSOCKET
 
910
X_EXTRA_LIBS
 
911
LIBUCB
 
912
LIBDL
 
913
KDE_USE_FPIE
 
914
KDE_USE_PIE
 
915
include_x11_TRUE
 
916
include_x11_FALSE
 
917
XMKMF
 
918
X_PRE_LIBS
 
919
LIB_X11
 
920
LIB_XRENDER
 
921
LIBSM
 
922
X_INCLUDES
 
923
X_LDFLAGS
 
924
x_includes
 
925
x_libraries
 
926
QTE_NORTTI
 
927
LIB_XEXT
 
928
LIBPTHREAD
 
929
USE_THREADS
 
930
KDE_MT_LDFLAGS
 
931
KDE_MT_LIBS
 
932
USER_INCLUDES
 
933
USER_LDFLAGS
 
934
LIBZ
 
935
LIBPNG
 
936
LIBJPEG
 
937
qt_libraries
 
938
qt_includes
 
939
QT_INCLUDES
 
940
QT_LDFLAGS
 
941
PERL
 
942
MOC
 
943
UIC
 
944
UIC_TR
 
945
LIB_QT
 
946
LIB_QPE
 
947
kde_qtver
 
948
KDE_EXTRA_RPATH
 
949
KDE_RPATH
 
950
X_RPATH
 
951
kde_libraries
 
952
kde_includes
 
953
KDE_LDFLAGS
 
954
KDE_INCLUDES
 
955
all_includes
 
956
all_libraries
 
957
AUTODIRS
 
958
include_ARTS_TRUE
 
959
include_ARTS_FALSE
 
960
MAKEKDEWIDGETS
 
961
KCONFIG_COMPILER
 
962
KCFG_DEPENDENCIES
 
963
DCOPIDLNG
 
964
DCOPIDL
 
965
DCOPIDL2CPP
 
966
DCOP_DEPENDENCIES
 
967
MCOPIDL
 
968
ARTSCCONFIG
 
969
MEINPROC
 
970
KDE_XSL_STYLESHEET
 
971
XMLLINT
 
972
kde_htmldir
 
973
kde_appsdir
 
974
kde_icondir
 
975
kde_sounddir
 
976
kde_datadir
 
977
kde_locale
 
978
kde_confdir
 
979
kde_kcfgdir
 
980
kde_mimedir
 
981
kde_wallpaperdir
 
982
kde_bindir
 
983
xdg_appsdir
 
984
xdg_menudir
 
985
xdg_directorydir
 
986
kde_templatesdir
 
987
kde_servicesdir
 
988
kde_servicetypesdir
 
989
kde_moduledir
 
990
kdeinitdir
 
991
kde_styledir
 
992
kde_widgetdir
 
993
LIB_KDED
 
994
LIB_KDECORE
 
995
LIB_KDEUI
 
996
LIB_KIO
 
997
LIB_KJS
 
998
LIB_SMB
 
999
LIB_KAB
 
1000
LIB_KABC
 
1001
LIB_KHTML
 
1002
LIB_KSPELL
 
1003
LIB_KPARTS
 
1004
LIB_KDEPRINT
 
1005
LIB_KUTILS
 
1006
LIB_KDEPIM
 
1007
LIB_KIMPROXY
 
1008
LIB_KNEWSTUFF
 
1009
LIB_KDNSSD
 
1010
LIB_KUNITTEST
 
1011
LIB_KSYCOCA
 
1012
LIB_KFILE
 
1013
LIB_KFM
 
1014
LIB_XSCREENSAVER
 
1015
BINRELOC_CFLAGS
 
1016
BINRELOC_LIBS
 
1017
LIBXML_LIBS
 
1018
LIBXML_CFLAGS
 
1019
LIBXML_RPATH
 
1020
LIBXSLT_LIBS
 
1021
LIBXSLT_CFLAGS
 
1022
LIBXSLT_RPATH
 
1023
KPHONE_G711_OBJ
 
1024
KPHONE_DTMFGENERATOR_OBJ
 
1025
KPHONE_DSPOUTRTP_OBJ
 
1026
KPHONE_DSPOUTOSS_OBJ
 
1027
KPHONE_DSPOUT_OBJ
 
1028
KPHONE_DSPAUDIO_OBJ
 
1029
KPHONE_DSPAUDIOIN_OBJ
 
1030
KPHONE_DSPAUDIOOUT_OBJ
 
1031
KPHONE_CALLAUDIO_OBJ
 
1032
KPHONE_CALLAUDIO_MOC_OBJ
 
1033
KPHONE_AUDIOBUFFER_OBJ
 
1034
KPHONE_DISSIPATE2_LIB
 
1035
KPHONE_ILBC_LIB
 
1036
KPHONE_GSM_LIB
 
1037
KPHONEDIR
 
1038
TOPSUBDIRS
 
1039
LIBOBJS
 
1040
LTLIBOBJS'
468
1041
ac_subst_files=''
 
1042
      ac_precious_vars='build_alias
 
1043
host_alias
 
1044
target_alias
 
1045
CC
 
1046
CFLAGS
 
1047
LDFLAGS
 
1048
LIBS
 
1049
CPPFLAGS
 
1050
CPP
 
1051
CXX
 
1052
CXXFLAGS
 
1053
CCC
 
1054
CXXCPP
 
1055
F77
 
1056
FFLAGS
 
1057
XMKMF'
 
1058
 
469
1059
 
470
1060
# Initialize some variables set by options.
471
1061
ac_init_help=
492
1082
# and all the variables that are supposed to be based on exec_prefix
493
1083
# by default will actually change.
494
1084
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1085
# (The list follows the same order as the GNU Coding Standards.)
495
1086
bindir='${exec_prefix}/bin'
496
1087
sbindir='${exec_prefix}/sbin'
497
1088
libexecdir='${exec_prefix}/libexec'
498
 
datadir='${prefix}/share'
 
1089
datarootdir='${prefix}/share'
 
1090
datadir='${datarootdir}'
499
1091
sysconfdir='${prefix}/etc'
500
1092
sharedstatedir='${prefix}/com'
501
1093
localstatedir='${prefix}/var'
502
 
libdir='${exec_prefix}/lib'
503
1094
includedir='${prefix}/include'
504
1095
oldincludedir='/usr/include'
505
 
infodir='${prefix}/info'
506
 
mandir='${prefix}/man'
 
1096
docdir='${datarootdir}/doc/${PACKAGE}'
 
1097
infodir='${datarootdir}/info'
 
1098
htmldir='${docdir}'
 
1099
dvidir='${docdir}'
 
1100
pdfdir='${docdir}'
 
1101
psdir='${docdir}'
 
1102
libdir='${exec_prefix}/lib'
 
1103
localedir='${datarootdir}/locale'
 
1104
mandir='${datarootdir}/man'
507
1105
 
508
1106
ac_prev=
 
1107
ac_dashdash=
509
1108
for ac_option
510
1109
do
511
1110
  # If the previous option needs an argument, assign it.
512
1111
  if test -n "$ac_prev"; then
513
 
    eval "$ac_prev=\$ac_option"
 
1112
    eval $ac_prev=\$ac_option
514
1113
    ac_prev=
515
1114
    continue
516
1115
  fi
517
1116
 
518
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1117
  case $ac_option in
 
1118
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1119
  *)    ac_optarg=yes ;;
 
1120
  esac
519
1121
 
520
1122
  # Accept the important Cygnus configure options, so we can diagnose typos.
521
1123
 
522
 
  case $ac_option in
 
1124
  case $ac_dashdash$ac_option in
 
1125
  --)
 
1126
    ac_dashdash=yes ;;
523
1127
 
524
1128
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
525
1129
    ac_prev=bindir ;;
541
1145
  --config-cache | -C)
542
1146
    cache_file=config.cache ;;
543
1147
 
544
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1148
  -datadir | --datadir | --datadi | --datad)
545
1149
    ac_prev=datadir ;;
546
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547
 
  | --da=*)
 
1150
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
548
1151
    datadir=$ac_optarg ;;
549
1152
 
 
1153
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1154
  | --dataroo | --dataro | --datar)
 
1155
    ac_prev=datarootdir ;;
 
1156
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1157
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1158
    datarootdir=$ac_optarg ;;
 
1159
 
550
1160
  -disable-* | --disable-*)
551
1161
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
1162
    # Reject names that are not valid shell variable names.
553
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1163
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
554
1164
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
1165
   { (exit 1); exit 1; }; }
556
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
 
    eval "enable_$ac_feature=no" ;;
 
1166
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1167
    eval enable_$ac_feature=no ;;
 
1168
 
 
1169
  -docdir | --docdir | --docdi | --doc | --do)
 
1170
    ac_prev=docdir ;;
 
1171
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1172
    docdir=$ac_optarg ;;
 
1173
 
 
1174
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1175
    ac_prev=dvidir ;;
 
1176
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1177
    dvidir=$ac_optarg ;;
558
1178
 
559
1179
  -enable-* | --enable-*)
560
1180
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561
1181
    # Reject names that are not valid shell variable names.
562
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1182
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
563
1183
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
1184
   { (exit 1); exit 1; }; }
565
 
    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'" ;;
 
1185
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1186
    eval enable_$ac_feature=\$ac_optarg ;;
571
1187
 
572
1188
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
1189
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
594
1210
  -host=* | --host=* | --hos=* | --ho=*)
595
1211
    host_alias=$ac_optarg ;;
596
1212
 
 
1213
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1214
    ac_prev=htmldir ;;
 
1215
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1216
  | --ht=*)
 
1217
    htmldir=$ac_optarg ;;
 
1218
 
597
1219
  -includedir | --includedir | --includedi | --included | --include \
598
1220
  | --includ | --inclu | --incl | --inc)
599
1221
    ac_prev=includedir ;;
618
1240
  | --libexe=* | --libex=* | --libe=*)
619
1241
    libexecdir=$ac_optarg ;;
620
1242
 
 
1243
  -localedir | --localedir | --localedi | --localed | --locale)
 
1244
    ac_prev=localedir ;;
 
1245
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1246
    localedir=$ac_optarg ;;
 
1247
 
621
1248
  -localstatedir | --localstatedir | --localstatedi | --localstated \
622
 
  | --localstate | --localstat | --localsta | --localst \
623
 
  | --locals | --local | --loca | --loc | --lo)
 
1249
  | --localstate | --localstat | --localsta | --localst | --locals)
624
1250
    ac_prev=localstatedir ;;
625
1251
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1252
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
628
1253
    localstatedir=$ac_optarg ;;
629
1254
 
630
1255
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
689
1314
  | --progr-tra=* | --program-tr=* | --program-t=*)
690
1315
    program_transform_name=$ac_optarg ;;
691
1316
 
 
1317
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1318
    ac_prev=pdfdir ;;
 
1319
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1320
    pdfdir=$ac_optarg ;;
 
1321
 
 
1322
  -psdir | --psdir | --psdi | --psd | --ps)
 
1323
    ac_prev=psdir ;;
 
1324
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1325
    psdir=$ac_optarg ;;
 
1326
 
692
1327
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
1328
  | -silent | --silent | --silen | --sile | --sil)
694
1329
    silent=yes ;;
741
1376
  -with-* | --with-*)
742
1377
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743
1378
    # Reject names that are not valid shell variable names.
744
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1379
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
745
1380
      { echo "$as_me: error: invalid package name: $ac_package" >&2
746
1381
   { (exit 1); exit 1; }; }
747
 
    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'" ;;
 
1382
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1383
    eval with_$ac_package=\$ac_optarg ;;
753
1384
 
754
1385
  -without-* | --without-*)
755
1386
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756
1387
    # Reject names that are not valid shell variable names.
757
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1388
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
758
1389
      { echo "$as_me: error: invalid package name: $ac_package" >&2
759
1390
   { (exit 1); exit 1; }; }
760
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
761
 
    eval "with_$ac_package=no" ;;
 
1391
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1392
    eval with_$ac_package=no ;;
762
1393
 
763
1394
  --x)
764
1395
    # Obsolete; use --with-x.
789
1420
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
1421
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
1422
   { (exit 1); exit 1; }; }
792
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
 
    eval "$ac_envvar='$ac_optarg'"
 
1423
    eval $ac_envvar=\$ac_optarg
794
1424
    export $ac_envvar ;;
795
1425
 
796
1426
  *)
810
1440
   { (exit 1); exit 1; }; }
811
1441
fi
812
1442
 
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
 
1443
# Be sure to have absolute directory names.
 
1444
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1445
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1446
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1447
                libdir localedir mandir
 
1448
do
 
1449
  eval ac_val=\$$ac_var
 
1450
  case $ac_val in
 
1451
    [\\/$]* | ?:[\\/]* )  continue;;
 
1452
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1453
  esac
 
1454
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1455
   { (exit 1); exit 1; }; }
834
1456
done
835
1457
 
836
1458
# There might be people who depend on the old broken behavior: `$host'
857
1479
test "$silent" = yes && exec 6>/dev/null
858
1480
 
859
1481
 
 
1482
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1483
ac_ls_di=`ls -di .` &&
 
1484
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1485
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1486
   { (exit 1); exit 1; }; }
 
1487
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1488
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1489
   { (exit 1); exit 1; }; }
 
1490
 
 
1491
 
860
1492
# Find the source files, if location was not specified.
861
1493
if test -z "$srcdir"; then
862
1494
  ac_srcdir_defaulted=yes
863
 
  # Try the directory containing this script, then its parent.
864
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1495
  # Try the directory containing this script, then the parent directory.
 
1496
  ac_confdir=`$as_dirname -- "$0" ||
865
1497
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
1498
         X"$0" : 'X\(//\)[^/]' \| \
867
1499
         X"$0" : 'X\(//\)$' \| \
868
 
         X"$0" : 'X\(/\)' \| \
869
 
         .     : '\(.\)' 2>/dev/null ||
 
1500
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
870
1501
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'`
 
1502
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1503
            s//\1/
 
1504
            q
 
1505
          }
 
1506
          /^X\(\/\/\)[^/].*/{
 
1507
            s//\1/
 
1508
            q
 
1509
          }
 
1510
          /^X\(\/\/\)$/{
 
1511
            s//\1/
 
1512
            q
 
1513
          }
 
1514
          /^X\(\/\).*/{
 
1515
            s//\1/
 
1516
            q
 
1517
          }
 
1518
          s/.*/./; q'`
876
1519
  srcdir=$ac_confdir
877
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1520
  if test ! -r "$srcdir/$ac_unique_file"; then
878
1521
    srcdir=..
879
1522
  fi
880
1523
else
881
1524
  ac_srcdir_defaulted=no
882
1525
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
 
1526
if test ! -r "$srcdir/$ac_unique_file"; then
 
1527
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1528
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1529
   { (exit 1); exit 1; }; }
 
1530
fi
 
1531
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1532
ac_abs_confdir=`(
 
1533
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1534
   { (exit 1); exit 1; }; }
 
1535
        pwd)`
 
1536
# When building in place, set srcdir=.
 
1537
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1538
  srcdir=.
 
1539
fi
 
1540
# Remove unnecessary trailing slashes from srcdir.
 
1541
# Double slashes in file names in object file debugging info
 
1542
# mess up M-x gdb in Emacs.
 
1543
case $srcdir in
 
1544
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1545
esac
 
1546
for ac_var in $ac_precious_vars; do
 
1547
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1548
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1549
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1550
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1551
done
948
1552
 
949
1553
#
950
1554
# Report the --help message.
973
1577
  -n, --no-create         do not create output files
974
1578
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
975
1579
 
976
 
_ACEOF
977
 
 
978
 
  cat <<_ACEOF
979
1580
Installation directories:
980
1581
  --prefix=PREFIX         install architecture-independent files in PREFIX
981
1582
                          [$ac_default_prefix]
993
1594
  --bindir=DIR           user executables [EPREFIX/bin]
994
1595
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
995
1596
  --libexecdir=DIR       program executables [EPREFIX/libexec]
996
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
997
1597
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
998
1598
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
999
1599
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1000
1600
  --libdir=DIR           object code libraries [EPREFIX/lib]
1001
1601
  --includedir=DIR       C header files [PREFIX/include]
1002
1602
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1003
 
  --infodir=DIR          info documentation [PREFIX/info]
1004
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1603
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1604
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1605
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1606
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1607
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1608
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
 
1609
  --htmldir=DIR          html documentation [DOCDIR]
 
1610
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1611
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1612
  --psdir=DIR            ps documentation [DOCDIR]
1005
1613
_ACEOF
1006
1614
 
1007
1615
  cat <<\_ACEOF
1030
1638
  --disable-debug         disables debug output and debug symbols default=no
1031
1639
  --enable-strict         compiles with strict compiler options (may not
1032
1640
                          work!)
1033
 
  --disable-warnings      disables compilation with -Wall and similiar
 
1641
  --disable-warnings      disables compilation with -Wall and similar
1034
1642
  --enable-profile        creates profiling infos default=no
1035
1643
  --disable-dependency-tracking  speeds up one-time build
1036
1644
  --enable-dependency-tracking   do not reject slow dependency extractors
1037
1645
  --enable-pch            enables precompiled header support (currently only
1038
 
                          KCC) default=no
 
1646
                          KCC or gcc >=3.4+unsermake) default=no
 
1647
  --enable-coverage       use gcc coverage testing
 
1648
  --enable-new-ldflags    enable the new linker flags
1039
1649
  --enable-final          build size optimized apps (experimental - needs lots
1040
1650
                          of memory)
1041
1651
  --enable-closure        delay template instantiation
1042
1652
  --enable-nmcheck        enable automatic namespace cleanness check
1043
 
  --enable-shared[=PKGS]
1044
 
                          build shared libraries [default=yes]
1045
 
  --enable-static[=PKGS]
1046
 
                          build static libraries [default=no]
1047
 
  --enable-libsuffix      /lib directory suffix (64,32,none=default)
 
1653
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1654
  --enable-static[=PKGS]  build static libraries [default=no]
 
1655
  --enable-libsuffix      /lib directory suffix (64,32,none,auto=default)
1048
1656
  --enable-fast-install[=PKGS]
1049
1657
                          optimize for fast installation [default=yes]
1050
1658
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1659
  --enable-pie            platform supports PIE linking default=detect
1051
1660
  --enable-embedded       link to Qt-embedded, don't use X
1052
1661
  --enable-qtopia         link to Qt-embedded, link to the Qtopia Environment
1053
1662
  --enable-mac            link to Qt/Mac (don't use X)
1067
1676
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1068
1677
  --with-pic              try to use only PIC/non-PIC objects [default=use
1069
1678
                          both]
1070
 
  --with-tags[=TAGS]
1071
 
                          include additional configurations [automatic]
 
1679
  --with-tags[=TAGS]      include additional configurations [automatic]
1072
1680
  --with-extra-includes=DIR
1073
1681
                          adds non standard include paths
1074
1682
  --with-extra-libs=DIR   adds non standard library paths
1082
1690
  CFLAGS      C compiler flags
1083
1691
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1084
1692
              nonstandard directory <lib dir>
1085
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1086
 
              headers in a nonstandard directory <include dir>
 
1693
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1694
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1695
              you have headers in a nonstandard directory <include dir>
1087
1696
  CPP         C preprocessor
1088
1697
  CXX         C++ compiler command
1089
1698
  CXXFLAGS    C++ compiler flags
1090
1699
  CXXCPP      C++ preprocessor
1091
1700
  F77         Fortran 77 compiler command
1092
1701
  FFLAGS      Fortran 77 compiler flags
 
1702
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1093
1703
 
1094
1704
Use these variables to override the choices made by `configure' or to help
1095
1705
it to find libraries and programs with nonstandard names/locations.
1096
1706
 
1097
1707
_ACEOF
 
1708
ac_status=$?
1098
1709
fi
1099
1710
 
1100
1711
if test "$ac_init_help" = "recursive"; then
1101
1712
  # If there are subdirs, report their specific --help.
1102
 
  ac_popdir=`pwd`
1103
1713
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1104
 
    test -d $ac_dir || continue
 
1714
    test -d "$ac_dir" || continue
1105
1715
    ac_builddir=.
1106
1716
 
1107
 
if test "$ac_dir" != .; then
 
1717
case "$ac_dir" in
 
1718
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1719
*)
1108
1720
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1109
 
  # A "../" for each directory in $ac_dir_suffix.
1110
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1111
 
else
1112
 
  ac_dir_suffix= ac_top_builddir=
1113
 
fi
 
1721
  # A ".." for each directory in $ac_dir_suffix.
 
1722
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1723
  case $ac_top_builddir_sub in
 
1724
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1725
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1726
  esac ;;
 
1727
esac
 
1728
ac_abs_top_builddir=$ac_pwd
 
1729
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1730
# for backward compatibility:
 
1731
ac_top_builddir=$ac_top_build_prefix
1114
1732
 
1115
1733
case $srcdir in
1116
 
  .)  # No --srcdir option.  We are building in place.
 
1734
  .)  # We are building in place.
1117
1735
    ac_srcdir=.
1118
 
    if test -z "$ac_top_builddir"; then
1119
 
       ac_top_srcdir=.
1120
 
    else
1121
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1122
 
    fi ;;
1123
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1736
    ac_top_srcdir=$ac_top_builddir_sub
 
1737
    ac_abs_top_srcdir=$ac_pwd ;;
 
1738
  [\\/]* | ?:[\\/]* )  # Absolute name.
1124
1739
    ac_srcdir=$srcdir$ac_dir_suffix;
1125
 
    ac_top_srcdir=$srcdir ;;
1126
 
  *) # Relative path.
1127
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1128
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1129
 
esac
1130
 
 
1131
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1132
 
# the directories may not exist.
1133
 
case `pwd` in
1134
 
.) ac_abs_builddir="$ac_dir";;
1135
 
*)
1136
 
  case "$ac_dir" in
1137
 
  .) ac_abs_builddir=`pwd`;;
1138
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1139
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1140
 
  esac;;
1141
 
esac
1142
 
case $ac_abs_builddir in
1143
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1144
 
*)
1145
 
  case ${ac_top_builddir}. in
1146
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1147
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1148
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1149
 
  esac;;
1150
 
esac
1151
 
case $ac_abs_builddir in
1152
 
.) ac_abs_srcdir=$ac_srcdir;;
1153
 
*)
1154
 
  case $ac_srcdir in
1155
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1156
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1157
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1158
 
  esac;;
1159
 
esac
1160
 
case $ac_abs_builddir in
1161
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1162
 
*)
1163
 
  case $ac_top_srcdir in
1164
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1165
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1166
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1167
 
  esac;;
1168
 
esac
1169
 
 
1170
 
    cd $ac_dir
1171
 
    # Check for guested configure; otherwise get Cygnus style configure.
1172
 
    if test -f $ac_srcdir/configure.gnu; then
1173
 
      echo
1174
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1175
 
    elif test -f $ac_srcdir/configure; then
1176
 
      echo
1177
 
      $SHELL $ac_srcdir/configure  --help=recursive
1178
 
    elif test -f $ac_srcdir/configure.ac ||
1179
 
           test -f $ac_srcdir/configure.in; then
1180
 
      echo
1181
 
      $ac_configure --help
 
1740
    ac_top_srcdir=$srcdir
 
1741
    ac_abs_top_srcdir=$srcdir ;;
 
1742
  *) # Relative name.
 
1743
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1744
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1745
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1746
esac
 
1747
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1748
 
 
1749
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1750
    # Check for guested configure.
 
1751
    if test -f "$ac_srcdir/configure.gnu"; then
 
1752
      echo &&
 
1753
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1754
    elif test -f "$ac_srcdir/configure"; then
 
1755
      echo &&
 
1756
      $SHELL "$ac_srcdir/configure" --help=recursive
1182
1757
    else
1183
1758
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184
 
    fi
1185
 
    cd $ac_popdir
 
1759
    fi || ac_status=$?
 
1760
    cd "$ac_pwd" || { ac_status=$?; break; }
1186
1761
  done
1187
1762
fi
1188
1763
 
1189
 
test -n "$ac_init_help" && exit 0
 
1764
test -n "$ac_init_help" && exit $ac_status
1190
1765
if $ac_init_version; then
1191
1766
  cat <<\_ACEOF
 
1767
configure
 
1768
generated by GNU Autoconf 2.61
1192
1769
 
1193
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1770
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1771
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1194
1772
This configure script is free software; the Free Software Foundation
1195
1773
gives unlimited permission to copy, distribute and modify it.
1196
1774
_ACEOF
1197
 
  exit 0
 
1775
  exit
1198
1776
fi
1199
 
exec 5>config.log
1200
 
cat >&5 <<_ACEOF
 
1777
cat >config.log <<_ACEOF
1201
1778
This file contains any messages produced by compilers while
1202
1779
running configure, to aid debugging if configure makes a mistake.
1203
1780
 
1204
1781
It was created by $as_me, which was
1205
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1782
generated by GNU Autoconf 2.61.  Invocation command line was
1206
1783
 
1207
1784
  $ $0 $@
1208
1785
 
1209
1786
_ACEOF
 
1787
exec 5>>config.log
1210
1788
{
1211
1789
cat <<_ASUNAME
1212
1790
## --------- ##
1225
1803
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1226
1804
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1227
1805
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1228
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1806
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1229
1807
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1230
1808
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1231
1809
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1239
1817
  test -z "$as_dir" && as_dir=.
1240
1818
  echo "PATH: $as_dir"
1241
1819
done
 
1820
IFS=$as_save_IFS
1242
1821
 
1243
1822
} >&5
1244
1823
 
1260
1839
ac_configure_args=
1261
1840
ac_configure_args0=
1262
1841
ac_configure_args1=
1263
 
ac_sep=
1264
1842
ac_must_keep_next=false
1265
1843
for ac_pass in 1 2
1266
1844
do
1271
1849
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1272
1850
    | -silent | --silent | --silen | --sile | --sil)
1273
1851
      continue ;;
1274
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1852
    *\'*)
1275
1853
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1276
1854
    esac
1277
1855
    case $ac_pass in
1293
1871
          -* ) ac_must_keep_next=true ;;
1294
1872
        esac
1295
1873
      fi
1296
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1297
 
      # Get rid of the leading space.
1298
 
      ac_sep=" "
 
1874
      ac_configure_args="$ac_configure_args '$ac_arg'"
1299
1875
      ;;
1300
1876
    esac
1301
1877
  done
1306
1882
# When interrupted or exit'd, cleanup temporary files, and complete
1307
1883
# config.log.  We remove comments because anyway the quotes in there
1308
1884
# would cause problems or look ugly.
1309
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1310
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1885
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1886
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1311
1887
trap 'exit_status=$?
1312
1888
  # Save into config.log some information that might help in debugging.
1313
1889
  {
1320
1896
_ASBOX
1321
1897
    echo
1322
1898
    # The following way of writing the cache mishandles newlines in values,
1323
 
{
 
1899
(
 
1900
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1901
    eval ac_val=\$$ac_var
 
1902
    case $ac_val in #(
 
1903
    *${as_nl}*)
 
1904
      case $ac_var in #(
 
1905
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1906
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1907
      esac
 
1908
      case $ac_var in #(
 
1909
      _ | IFS | as_nl) ;; #(
 
1910
      *) $as_unset $ac_var ;;
 
1911
      esac ;;
 
1912
    esac
 
1913
  done
1324
1914
  (set) 2>&1 |
1325
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1326
 
    *ac_space=\ *)
 
1915
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1916
    *${as_nl}ac_space=\ *)
1327
1917
      sed -n \
1328
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1329
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1330
 
      ;;
 
1918
        "s/'\''/'\''\\\\'\'''\''/g;
 
1919
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1920
      ;; #(
1331
1921
    *)
1332
 
      sed -n \
1333
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1922
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1334
1923
      ;;
1335
 
    esac;
1336
 
}
 
1924
    esac |
 
1925
    sort
 
1926
)
1337
1927
    echo
1338
1928
 
1339
1929
    cat <<\_ASBOX
1344
1934
    echo
1345
1935
    for ac_var in $ac_subst_vars
1346
1936
    do
1347
 
      eval ac_val=$`echo $ac_var`
1348
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1937
      eval ac_val=\$$ac_var
 
1938
      case $ac_val in
 
1939
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1940
      esac
 
1941
      echo "$ac_var='\''$ac_val'\''"
1349
1942
    done | sort
1350
1943
    echo
1351
1944
 
1352
1945
    if test -n "$ac_subst_files"; then
1353
1946
      cat <<\_ASBOX
1354
 
## ------------- ##
1355
 
## Output files. ##
1356
 
## ------------- ##
 
1947
## ------------------- ##
 
1948
## File substitutions. ##
 
1949
## ------------------- ##
1357
1950
_ASBOX
1358
1951
      echo
1359
1952
      for ac_var in $ac_subst_files
1360
1953
      do
1361
 
        eval ac_val=$`echo $ac_var`
1362
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1954
        eval ac_val=\$$ac_var
 
1955
        case $ac_val in
 
1956
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1957
        esac
 
1958
        echo "$ac_var='\''$ac_val'\''"
1363
1959
      done | sort
1364
1960
      echo
1365
1961
    fi
1371
1967
## ----------- ##
1372
1968
_ASBOX
1373
1969
      echo
1374
 
      sed "/^$/d" confdefs.h | sort
 
1970
      cat confdefs.h
1375
1971
      echo
1376
1972
    fi
1377
1973
    test "$ac_signal" != 0 &&
1378
1974
      echo "$as_me: caught signal $ac_signal"
1379
1975
    echo "$as_me: exit $exit_status"
1380
1976
  } >&5
1381
 
  rm -f core *.core &&
1382
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1977
  rm -f core *.core core.conftest.* &&
 
1978
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1383
1979
    exit $exit_status
1384
 
     ' 0
 
1980
' 0
1385
1981
for ac_signal in 1 2 13 15; do
1386
1982
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1387
1983
done
1388
1984
ac_signal=0
1389
1985
 
1390
1986
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1391
 
rm -rf conftest* confdefs.h
1392
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1393
 
echo >confdefs.h
 
1987
rm -f -r conftest* confdefs.h
1394
1988
 
1395
1989
# Predefined preprocessor variables.
1396
1990
 
1421
2015
 
1422
2016
# Let the site file select an alternate cache file if it wants to.
1423
2017
# Prefer explicitly selected file to automatically selected ones.
1424
 
if test -z "$CONFIG_SITE"; then
1425
 
  if test "x$prefix" != xNONE; then
1426
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1427
 
  else
1428
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1429
 
  fi
 
2018
if test -n "$CONFIG_SITE"; then
 
2019
  set x "$CONFIG_SITE"
 
2020
elif test "x$prefix" != xNONE; then
 
2021
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2022
else
 
2023
  set x "$ac_default_prefix/share/config.site" \
 
2024
        "$ac_default_prefix/etc/config.site"
1430
2025
fi
1431
 
for ac_site_file in $CONFIG_SITE; do
 
2026
shift
 
2027
for ac_site_file
 
2028
do
1432
2029
  if test -r "$ac_site_file"; then
1433
2030
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1434
2031
echo "$as_me: loading site script $ac_site_file" >&6;}
1444
2041
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1445
2042
echo "$as_me: loading cache $cache_file" >&6;}
1446
2043
    case $cache_file in
1447
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1448
 
      *)                      . ./$cache_file;;
 
2044
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2045
      *)                      . "./$cache_file";;
1449
2046
    esac
1450
2047
  fi
1451
2048
else
1457
2054
# Check that the precious variables saved in the cache have kept the same
1458
2055
# value.
1459
2056
ac_cache_corrupted=false
1460
 
for ac_var in `(set) 2>&1 |
1461
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2057
for ac_var in $ac_precious_vars; do
1462
2058
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1463
2059
  eval ac_new_set=\$ac_env_${ac_var}_set
1464
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1465
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2060
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2061
  eval ac_new_val=\$ac_env_${ac_var}_value
1466
2062
  case $ac_old_set,$ac_new_set in
1467
2063
    set,)
1468
2064
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1487
2083
  # Pass precious variables to config.status.
1488
2084
  if test "$ac_new_set" = set; then
1489
2085
    case $ac_new_val in
1490
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1491
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2086
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1492
2087
    *) ac_arg=$ac_var=$ac_new_val ;;
1493
2088
    esac
1494
2089
    case " $ac_configure_args " in
1505
2100
   { (exit 1); exit 1; }; }
1506
2101
fi
1507
2102
 
 
2103
 
 
2104
 
 
2105
 
 
2106
 
 
2107
 
 
2108
 
 
2109
 
 
2110
 
 
2111
 
 
2112
 
 
2113
 
 
2114
 
 
2115
 
 
2116
 
 
2117
 
 
2118
 
1508
2119
ac_ext=c
1509
2120
ac_cpp='$CPP $CPPFLAGS'
1510
2121
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512
2123
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1513
2124
 
1514
2125
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
 
 
1524
 
 
1525
 
 
1526
 
 
1527
 
 
1528
 
 
1529
 
 
1530
 
 
1531
 
 
1532
2126
ac_aux_dir=
1533
 
for ac_dir in admin $srcdir/admin; do
1534
 
  if test -f $ac_dir/install-sh; then
 
2127
for ac_dir in admin "$srcdir"/admin; do
 
2128
  if test -f "$ac_dir/install-sh"; then
1535
2129
    ac_aux_dir=$ac_dir
1536
2130
    ac_install_sh="$ac_aux_dir/install-sh -c"
1537
2131
    break
1538
 
  elif test -f $ac_dir/install.sh; then
 
2132
  elif test -f "$ac_dir/install.sh"; then
1539
2133
    ac_aux_dir=$ac_dir
1540
2134
    ac_install_sh="$ac_aux_dir/install.sh -c"
1541
2135
    break
1542
 
  elif test -f $ac_dir/shtool; then
 
2136
  elif test -f "$ac_dir/shtool"; then
1543
2137
    ac_aux_dir=$ac_dir
1544
2138
    ac_install_sh="$ac_aux_dir/shtool install -c"
1545
2139
    break
1546
2140
  fi
1547
2141
done
1548
2142
if test -z "$ac_aux_dir"; then
1549
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1550
 
echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
 
2143
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5
 
2144
echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;}
1551
2145
   { (exit 1); exit 1; }; }
1552
2146
fi
1553
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1554
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1555
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2147
 
 
2148
# These three variables are undocumented and unsupported,
 
2149
# and are intended to be withdrawn in a future Autoconf release.
 
2150
# They can cause serious problems if a builder's source tree is in a directory
 
2151
# whose full name contains unusual characters.
 
2152
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2153
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2154
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2155
 
1556
2156
 
1557
2157
 
1558
2158
unset CDPATH
1559
2159
 
1560
2160
# Make sure we can run config.sub.
1561
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1562
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1563
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2161
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2162
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2163
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1564
2164
   { (exit 1); exit 1; }; }
1565
2165
 
1566
 
echo "$as_me:$LINENO: checking build system type" >&5
1567
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2166
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2167
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1568
2168
if test "${ac_cv_build+set}" = set; then
1569
2169
  echo $ECHO_N "(cached) $ECHO_C" >&6
1570
2170
else
1571
 
  ac_cv_build_alias=$build_alias
1572
 
test -z "$ac_cv_build_alias" &&
1573
 
  ac_cv_build_alias=`$ac_config_guess`
1574
 
test -z "$ac_cv_build_alias" &&
 
2171
  ac_build_alias=$build_alias
 
2172
test "x$ac_build_alias" = x &&
 
2173
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2174
test "x$ac_build_alias" = x &&
1575
2175
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1576
2176
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1577
2177
   { (exit 1); exit 1; }; }
1578
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1579
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1580
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2178
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2179
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2180
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1581
2181
   { (exit 1); exit 1; }; }
1582
2182
 
1583
2183
fi
1584
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1585
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2184
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2185
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2186
case $ac_cv_build in
 
2187
*-*-*) ;;
 
2188
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2189
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2190
   { (exit 1); exit 1; }; };;
 
2191
esac
1586
2192
build=$ac_cv_build
1587
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1588
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1589
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1590
 
 
1591
 
 
1592
 
echo "$as_me:$LINENO: checking host system type" >&5
1593
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2193
ac_save_IFS=$IFS; IFS='-'
 
2194
set x $ac_cv_build
 
2195
shift
 
2196
build_cpu=$1
 
2197
build_vendor=$2
 
2198
shift; shift
 
2199
# Remember, the first character of IFS is used to create $*,
 
2200
# except with old shells:
 
2201
build_os=$*
 
2202
IFS=$ac_save_IFS
 
2203
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2204
 
 
2205
 
 
2206
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2207
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1594
2208
if test "${ac_cv_host+set}" = set; then
1595
2209
  echo $ECHO_N "(cached) $ECHO_C" >&6
1596
2210
else
1597
 
  ac_cv_host_alias=$host_alias
1598
 
test -z "$ac_cv_host_alias" &&
1599
 
  ac_cv_host_alias=$ac_cv_build_alias
1600
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1601
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1602
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2211
  if test "x$host_alias" = x; then
 
2212
  ac_cv_host=$ac_cv_build
 
2213
else
 
2214
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2215
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2216
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1603
2217
   { (exit 1); exit 1; }; }
 
2218
fi
1604
2219
 
1605
2220
fi
1606
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1607
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2221
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2222
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2223
case $ac_cv_host in
 
2224
*-*-*) ;;
 
2225
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2226
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2227
   { (exit 1); exit 1; }; };;
 
2228
esac
1608
2229
host=$ac_cv_host
1609
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1610
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1611
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1612
 
 
1613
 
 
1614
 
echo "$as_me:$LINENO: checking target system type" >&5
1615
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
 
2230
ac_save_IFS=$IFS; IFS='-'
 
2231
set x $ac_cv_host
 
2232
shift
 
2233
host_cpu=$1
 
2234
host_vendor=$2
 
2235
shift; shift
 
2236
# Remember, the first character of IFS is used to create $*,
 
2237
# except with old shells:
 
2238
host_os=$*
 
2239
IFS=$ac_save_IFS
 
2240
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2241
 
 
2242
 
 
2243
{ echo "$as_me:$LINENO: checking target system type" >&5
 
2244
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1616
2245
if test "${ac_cv_target+set}" = set; then
1617
2246
  echo $ECHO_N "(cached) $ECHO_C" >&6
1618
2247
else
1619
 
  ac_cv_target_alias=$target_alias
1620
 
test "x$ac_cv_target_alias" = "x" &&
1621
 
  ac_cv_target_alias=$ac_cv_host_alias
1622
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1623
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1624
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 
2248
  if test "x$target_alias" = x; then
 
2249
  ac_cv_target=$ac_cv_host
 
2250
else
 
2251
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2252
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
2253
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1625
2254
   { (exit 1); exit 1; }; }
 
2255
fi
1626
2256
 
1627
2257
fi
1628
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1629
 
echo "${ECHO_T}$ac_cv_target" >&6
 
2258
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2259
echo "${ECHO_T}$ac_cv_target" >&6; }
 
2260
case $ac_cv_target in
 
2261
*-*-*) ;;
 
2262
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
2263
echo "$as_me: error: invalid value of canonical target" >&2;}
 
2264
   { (exit 1); exit 1; }; };;
 
2265
esac
1630
2266
target=$ac_cv_target
1631
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1632
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1633
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2267
ac_save_IFS=$IFS; IFS='-'
 
2268
set x $ac_cv_target
 
2269
shift
 
2270
target_cpu=$1
 
2271
target_vendor=$2
 
2272
shift; shift
 
2273
# Remember, the first character of IFS is used to create $*,
 
2274
# except with old shells:
 
2275
target_os=$*
 
2276
IFS=$ac_save_IFS
 
2277
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1634
2278
 
1635
2279
 
1636
2280
# The aliases save the names the user supplied, while $host etc.
1640
2284
    NONENONEs,x,x, &&
1641
2285
  program_prefix=${target_alias}-
1642
2286
test "$program_prefix" != NONE &&
1643
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2287
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1644
2288
# Use a double $ so make ignores it.
1645
2289
test "$program_suffix" != NONE &&
1646
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2290
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1647
2291
# Double any \ or $.  echo might interpret backslashes.
1648
2292
# By default was `s,x,x', remove it if useless.
1649
2293
cat <<\_ACEOF >conftest.sed
1650
2294
s/[\\$]/&&/g;s/;s,x,x,$//
1651
2295
_ACEOF
1652
2296
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1653
 
rm conftest.sed
1654
 
 
1655
 
 
1656
 
am__api_version="1.9"
 
2297
rm -f conftest.sed
 
2298
 
 
2299
 
 
2300
am__api_version='1.10'
 
2301
 
1657
2302
 
1658
2303
 
1659
2304
          test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
1672
2317
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1673
2318
# OS/2's system install, which has a completely different semantic
1674
2319
# ./install, which can be erroneously created by make from ./install.sh.
1675
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1676
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2320
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2321
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1677
2322
if test -z "$INSTALL"; then
1678
2323
if test "${ac_cv_path_install+set}" = set; then
1679
2324
  echo $ECHO_N "(cached) $ECHO_C" >&6
1695
2340
    # by default.
1696
2341
    for ac_prog in ginstall scoinst install; do
1697
2342
      for ac_exec_ext in '' $ac_executable_extensions; do
1698
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2343
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1699
2344
          if test $ac_prog = install &&
1700
2345
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1701
2346
            # AIX install.  It has an incompatible calling convention.
1714
2359
    ;;
1715
2360
esac
1716
2361
done
 
2362
IFS=$as_save_IFS
1717
2363
 
1718
2364
 
1719
2365
fi
1720
2366
  if test "${ac_cv_path_install+set}" = set; then
1721
2367
    INSTALL=$ac_cv_path_install
1722
2368
  else
1723
 
    # As a last resort, use the slow shell script.  We don't cache a
1724
 
    # path for INSTALL within a source directory, because that will
 
2369
    # As a last resort, use the slow shell script.  Don't cache a
 
2370
    # value for INSTALL within a source directory, because that will
1725
2371
    # break other packages using the cache if that directory is
1726
 
    # removed, or if the path is relative.
 
2372
    # removed, or if the value is a relative name.
1727
2373
    INSTALL=$ac_install_sh
1728
2374
  fi
1729
2375
fi
1730
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1731
 
echo "${ECHO_T}$INSTALL" >&6
 
2376
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2377
echo "${ECHO_T}$INSTALL" >&6; }
1732
2378
 
1733
2379
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1734
2380
# It thinks the first close brace ends the variable substitution.
1742
2388
  if test -z "$kde_save_INSTALL_given" ; then
1743
2389
    # OK, user hasn't given any INSTALL, autoconf found one for us
1744
2390
    # now we test, if it supports the -p flag
1745
 
    echo "$as_me:$LINENO: checking for -p flag to install" >&5
1746
 
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6
 
2391
    { echo "$as_me:$LINENO: checking for -p flag to install" >&5
 
2392
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6; }
1747
2393
    rm -f confinst.$$.* > /dev/null 2>&1
1748
2394
    echo "Testtest" > confinst.$$.orig
1749
2395
    ac_res=no
1755
2401
      fi
1756
2402
    fi
1757
2403
    rm -f confinst.$$.*
1758
 
    echo "$as_me:$LINENO: result: $ac_res" >&5
1759
 
echo "${ECHO_T}$ac_res" >&6
 
2404
    { echo "$as_me:$LINENO: result: $ac_res" >&5
 
2405
echo "${ECHO_T}$ac_res" >&6; }
1760
2406
  fi
1761
2407
 
1762
2408
  if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
1766
2412
    INSTALL_SCRIPT='${INSTALL}'
1767
2413
  fi
1768
2414
 
1769
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1770
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2415
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2416
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1771
2417
# Just in case
1772
2418
sleep 1
1773
2419
echo timestamp > conftest.file
1809
2455
Check your system clock" >&2;}
1810
2456
   { (exit 1); exit 1; }; }
1811
2457
fi
1812
 
echo "$as_me:$LINENO: result: yes" >&5
1813
 
echo "${ECHO_T}yes" >&6
 
2458
{ echo "$as_me:$LINENO: result: yes" >&5
 
2459
echo "${ECHO_T}yes" >&6; }
1814
2460
# expand $ac_aux_dir to an absolute path
1815
2461
am_aux_dir=`cd $ac_aux_dir && pwd`
1816
2462
 
1824
2470
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1825
2471
fi
1826
2472
 
1827
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1828
 
  # We used to keeping the `.' as first argument, in order to
1829
 
  # allow $(mkdir_p) to be used without argument.  As in
1830
 
  #   $(mkdir_p) $(somedir)
1831
 
  # where $(somedir) is conditionally defined.  However this is wrong
1832
 
  # for two reasons:
1833
 
  #  1. if the package is installed by a user who cannot write `.'
1834
 
  #     make install will fail,
1835
 
  #  2. the above comment should most certainly read
1836
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1837
 
  #     so it does not work when $(somedir) is undefined and
1838
 
  #     $(DESTDIR) is not.
1839
 
  #  To support the latter case, we have to write
1840
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1841
 
  #  so the `.' trick is pointless.
1842
 
  mkdir_p='mkdir -p --'
 
2473
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2474
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2475
if test -z "$MKDIR_P"; then
 
2476
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2477
  echo $ECHO_N "(cached) $ECHO_C" >&6
1843
2478
else
1844
 
  # On NextStep and OpenStep, the `mkdir' command does not
1845
 
  # recognize any option.  It will interpret all options as
1846
 
  # directories to create, and then abort because `.' already
1847
 
  # exists.
1848
 
  for d in ./-p ./--version;
1849
 
  do
1850
 
    test -d $d && rmdir $d
1851
 
  done
1852
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1853
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1854
 
    mkdir_p='$(mkinstalldirs)'
 
2479
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2480
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2481
do
 
2482
  IFS=$as_save_IFS
 
2483
  test -z "$as_dir" && as_dir=.
 
2484
  for ac_prog in mkdir gmkdir; do
 
2485
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2486
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2487
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2488
             'mkdir (GNU coreutils) '* | \
 
2489
             'mkdir (coreutils) '* | \
 
2490
             'mkdir (fileutils) '4.1*)
 
2491
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2492
               break 3;;
 
2493
           esac
 
2494
         done
 
2495
       done
 
2496
done
 
2497
IFS=$as_save_IFS
 
2498
 
 
2499
fi
 
2500
 
 
2501
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2502
    MKDIR_P="$ac_cv_path_mkdir -p"
1855
2503
  else
1856
 
    mkdir_p='$(install_sh) -d'
 
2504
    # As a last resort, use the slow shell script.  Don't cache a
 
2505
    # value for MKDIR_P within a source directory, because that will
 
2506
    # break other packages using the cache if that directory is
 
2507
    # removed, or if the value is a relative name.
 
2508
    test -d ./--version && rmdir ./--version
 
2509
    MKDIR_P="$ac_install_sh -d"
1857
2510
  fi
1858
2511
fi
 
2512
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2513
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2514
 
 
2515
mkdir_p="$MKDIR_P"
 
2516
case $mkdir_p in
 
2517
  [\\/$]* | ?:[\\/]*) ;;
 
2518
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2519
esac
1859
2520
 
1860
2521
for ac_prog in gawk mawk nawk awk
1861
2522
do
1862
2523
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1863
2524
set dummy $ac_prog; ac_word=$2
1864
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1865
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2525
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2526
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1866
2527
if test "${ac_cv_prog_AWK+set}" = set; then
1867
2528
  echo $ECHO_N "(cached) $ECHO_C" >&6
1868
2529
else
1875
2536
  IFS=$as_save_IFS
1876
2537
  test -z "$as_dir" && as_dir=.
1877
2538
  for ac_exec_ext in '' $ac_executable_extensions; do
1878
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2539
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1879
2540
    ac_cv_prog_AWK="$ac_prog"
1880
2541
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1881
2542
    break 2
1882
2543
  fi
1883
2544
done
1884
2545
done
 
2546
IFS=$as_save_IFS
1885
2547
 
1886
2548
fi
1887
2549
fi
1888
2550
AWK=$ac_cv_prog_AWK
1889
2551
if test -n "$AWK"; then
1890
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1891
 
echo "${ECHO_T}$AWK" >&6
 
2552
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2553
echo "${ECHO_T}$AWK" >&6; }
1892
2554
else
1893
 
  echo "$as_me:$LINENO: result: no" >&5
1894
 
echo "${ECHO_T}no" >&6
 
2555
  { echo "$as_me:$LINENO: result: no" >&5
 
2556
echo "${ECHO_T}no" >&6; }
1895
2557
fi
1896
2558
 
 
2559
 
1897
2560
  test -n "$AWK" && break
1898
2561
done
1899
2562
 
1900
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1901
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1902
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1903
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2563
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2564
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2565
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2566
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1904
2567
  echo $ECHO_N "(cached) $ECHO_C" >&6
1905
2568
else
1906
2569
  cat >conftest.make <<\_ACEOF
 
2570
SHELL = /bin/sh
1907
2571
all:
1908
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2572
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1909
2573
_ACEOF
1910
2574
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1911
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1912
 
if test -n "$ac_maketemp"; then
1913
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1914
 
else
1915
 
  eval ac_cv_prog_make_${ac_make}_set=no
1916
 
fi
 
2575
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2576
  *@@@%%%=?*=@@@%%%*)
 
2577
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2578
  *)
 
2579
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2580
esac
1917
2581
rm -f conftest.make
1918
2582
fi
1919
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1920
 
  echo "$as_me:$LINENO: result: yes" >&5
1921
 
echo "${ECHO_T}yes" >&6
 
2583
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2584
  { echo "$as_me:$LINENO: result: yes" >&5
 
2585
echo "${ECHO_T}yes" >&6; }
1922
2586
  SET_MAKE=
1923
2587
else
1924
 
  echo "$as_me:$LINENO: result: no" >&5
1925
 
echo "${ECHO_T}no" >&6
 
2588
  { echo "$as_me:$LINENO: result: no" >&5
 
2589
echo "${ECHO_T}no" >&6; }
1926
2590
  SET_MAKE="MAKE=${MAKE-make}"
1927
2591
fi
1928
2592
 
1935
2599
fi
1936
2600
rmdir .tst 2>/dev/null
1937
2601
 
1938
 
# test to see if srcdir already configured
1939
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1940
 
   test -f $srcdir/config.status; then
1941
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2602
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2603
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2604
  # is not polluted with repeated "-I."
 
2605
  am__isrc=' -I$(srcdir)'
 
2606
  # test to see if srcdir already configured
 
2607
  if test -f $srcdir/config.status; then
 
2608
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1942
2609
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1943
2610
   { (exit 1); exit 1; }; }
 
2611
  fi
1944
2612
fi
1945
2613
 
1946
2614
# test whether we have cygpath
1955
2623
 
1956
2624
# Define the identity of the package.
1957
2625
 PACKAGE=kmess
1958
 
 VERSION=1.4.3
 
2626
 VERSION="1.5"
1959
2627
 
1960
2628
 
1961
2629
cat >>confdefs.h <<_ACEOF
1983
2651
 
1984
2652
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1985
2653
 
1986
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2654
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1987
2655
 
1988
2656
# Installed binaries are usually stripped using `strip' when the user
1989
2657
# run `make install-strip'.  However `strip' might not be the right
1993
2661
  if test -n "$ac_tool_prefix"; then
1994
2662
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1995
2663
set dummy ${ac_tool_prefix}strip; ac_word=$2
1996
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1997
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2664
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2665
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1998
2666
if test "${ac_cv_prog_STRIP+set}" = set; then
1999
2667
  echo $ECHO_N "(cached) $ECHO_C" >&6
2000
2668
else
2007
2675
  IFS=$as_save_IFS
2008
2676
  test -z "$as_dir" && as_dir=.
2009
2677
  for ac_exec_ext in '' $ac_executable_extensions; do
2010
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2678
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2011
2679
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2012
2680
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013
2681
    break 2
2014
2682
  fi
2015
2683
done
2016
2684
done
 
2685
IFS=$as_save_IFS
2017
2686
 
2018
2687
fi
2019
2688
fi
2020
2689
STRIP=$ac_cv_prog_STRIP
2021
2690
if test -n "$STRIP"; then
2022
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
2023
 
echo "${ECHO_T}$STRIP" >&6
 
2691
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2692
echo "${ECHO_T}$STRIP" >&6; }
2024
2693
else
2025
 
  echo "$as_me:$LINENO: result: no" >&5
2026
 
echo "${ECHO_T}no" >&6
 
2694
  { echo "$as_me:$LINENO: result: no" >&5
 
2695
echo "${ECHO_T}no" >&6; }
2027
2696
fi
 
2697
 
2028
2698
 
2029
2699
fi
2030
2700
if test -z "$ac_cv_prog_STRIP"; then
2031
2701
  ac_ct_STRIP=$STRIP
2032
2702
  # Extract the first word of "strip", so it can be a program name with args.
2033
2703
set dummy strip; ac_word=$2
2034
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2035
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2704
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2705
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2036
2706
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2037
2707
  echo $ECHO_N "(cached) $ECHO_C" >&6
2038
2708
else
2045
2715
  IFS=$as_save_IFS
2046
2716
  test -z "$as_dir" && as_dir=.
2047
2717
  for ac_exec_ext in '' $ac_executable_extensions; do
2048
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2718
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2049
2719
    ac_cv_prog_ac_ct_STRIP="strip"
2050
2720
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051
2721
    break 2
2052
2722
  fi
2053
2723
done
2054
2724
done
 
2725
IFS=$as_save_IFS
2055
2726
 
2056
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2057
2727
fi
2058
2728
fi
2059
2729
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2060
2730
if test -n "$ac_ct_STRIP"; then
2061
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2062
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2731
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2732
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2063
2733
else
2064
 
  echo "$as_me:$LINENO: result: no" >&5
2065
 
echo "${ECHO_T}no" >&6
 
2734
  { echo "$as_me:$LINENO: result: no" >&5
 
2735
echo "${ECHO_T}no" >&6; }
2066
2736
fi
2067
2737
 
2068
 
  STRIP=$ac_ct_STRIP
 
2738
  if test "x$ac_ct_STRIP" = x; then
 
2739
    STRIP=":"
 
2740
  else
 
2741
    case $cross_compiling:$ac_tool_warned in
 
2742
yes:)
 
2743
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2744
whose name does not start with the host triplet.  If you think this
 
2745
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2746
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2747
whose name does not start with the host triplet.  If you think this
 
2748
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2749
ac_tool_warned=yes ;;
 
2750
esac
 
2751
    STRIP=$ac_ct_STRIP
 
2752
  fi
2069
2753
else
2070
2754
  STRIP="$ac_cv_prog_STRIP"
2071
2755
fi
2072
2756
 
2073
2757
fi
2074
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2758
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2075
2759
 
2076
2760
# We need awk for the "check" target.  The system "awk" is bad on
2077
2761
# some platforms.
2103
2787
 
2104
2788
  if test "x$prefix" = "xNONE"; then
2105
2789
 
2106
 
   echo "$as_me:$LINENO: checking for kde-config" >&5
2107
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
 
2790
   { echo "$as_me:$LINENO: checking for kde-config" >&5
 
2791
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2108
2792
   if test -n "$KDECONFIG"; then
2109
2793
        kde_cv_path="$KDECONFIG";
2110
2794
   else
2111
2795
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2112
2796
 
2113
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
2797
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2114
2798
  echo $ECHO_N "(cached) $ECHO_C" >&6
2115
2799
else
2116
2800
 
2153
2837
   fi
2154
2838
 
2155
2839
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2156
 
      echo "$as_me:$LINENO: result: not found" >&5
2157
 
echo "${ECHO_T}not found" >&6
 
2840
      { echo "$as_me:$LINENO: result: not found" >&5
 
2841
echo "${ECHO_T}not found" >&6; }
2158
2842
 
2159
2843
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2160
2844
Please check whether you installed KDE correctly.
2165
2849
   { (exit 1); exit 1; }; }
2166
2850
 
2167
2851
   else
2168
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2169
 
echo "${ECHO_T}$kde_cv_path" >&6
 
2852
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
2853
echo "${ECHO_T}$kde_cv_path" >&6; }
2170
2854
      KDECONFIG=$kde_cv_path
2171
2855
 
2172
2856
   fi
2175
2859
        kde_save_PATH="$PATH"
2176
2860
    PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2177
2861
 
2178
 
   echo "$as_me:$LINENO: checking for kde-config" >&5
2179
 
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
 
2862
   { echo "$as_me:$LINENO: checking for kde-config" >&5
 
2863
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2180
2864
   if test -n "$KDECONFIG"; then
2181
2865
        kde_cv_path="$KDECONFIG";
2182
2866
   else
2183
2867
        kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2184
2868
 
2185
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
2869
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2186
2870
  echo $ECHO_N "(cached) $ECHO_C" >&6
2187
2871
else
2188
2872
 
2225
2909
   fi
2226
2910
 
2227
2911
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2228
 
      echo "$as_me:$LINENO: result: not found" >&5
2229
 
echo "${ECHO_T}not found" >&6
 
2912
      { echo "$as_me:$LINENO: result: not found" >&5
 
2913
echo "${ECHO_T}not found" >&6; }
2230
2914
 
2231
2915
    { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2232
2916
Please check whether you installed KDE correctly.
2237
2921
   { (exit 1); exit 1; }; }
2238
2922
 
2239
2923
   else
2240
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2241
 
echo "${ECHO_T}$kde_cv_path" >&6
 
2924
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
2925
echo "${ECHO_T}$kde_cv_path" >&6; }
2242
2926
      KDECONFIG=$kde_cv_path
2243
2927
 
2244
2928
   fi
2259
2943
   { (exit 1); exit 1; }; }
2260
2944
  fi
2261
2945
  kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2262
 
  kde_libs_suffix=`$KDECONFIG --libsuffix`
2263
2946
 
2264
 
  echo "$as_me:$LINENO: checking where to install" >&5
2265
 
echo $ECHO_N "checking where to install... $ECHO_C" >&6
 
2947
  { echo "$as_me:$LINENO: checking where to install" >&5
 
2948
echo $ECHO_N "checking where to install... $ECHO_C" >&6; }
2266
2949
  if test "x$prefix" = "xNONE"; then
2267
2950
    prefix=$kde_libs_prefix
2268
 
    echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2269
 
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6
 
2951
    { echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
 
2952
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6; }
2270
2953
  else
2271
2954
        given_prefix=$prefix
2272
 
    echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2273
 
echo "${ECHO_T}$prefix (as requested)" >&6
 
2955
    { echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
 
2956
echo "${ECHO_T}$prefix (as requested)" >&6; }
2274
2957
  fi
2275
2958
 
2276
2959
  # And delete superfluous '/' to make compares easier
2283
2966
 
2284
2967
 
2285
2968
 
2286
 
    # Check whether --enable-fast-perl or --disable-fast-perl was given.
 
2969
    # Check whether --enable-fast-perl was given.
2287
2970
if test "${enable_fast_perl+set}" = set; then
2288
 
  enableval="$enable_fast_perl"
2289
 
  with_fast_perl=$enableval
 
2971
  enableval=$enable_fast_perl; with_fast_perl=$enableval
2290
2972
else
2291
2973
  with_fast_perl=yes
2292
 
fi;
 
2974
fi
 
2975
 
2293
2976
 
2294
2977
 
2295
2978
  val=
2306
2989
 
2307
2990
 
2308
2991
 
2309
 
          ac_config_headers="$ac_config_headers config.h"
 
2992
ac_config_headers="$ac_config_headers config.h"
2310
2993
 
2311
2994
DEPDIR="${am__leading_dot}deps"
2312
2995
 
2313
 
          ac_config_commands="$ac_config_commands depfiles"
 
2996
ac_config_commands="$ac_config_commands depfiles"
2314
2997
 
2315
2998
 
2316
2999
am_make=${MAKE-make}
2320
3003
.PHONY: am__doit
2321
3004
END
2322
3005
# If we don't find an include directive, just comment out the code.
2323
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2324
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3006
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3007
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2325
3008
am__include="#"
2326
3009
am__quote=
2327
3010
_am_result=none
2348
3031
fi
2349
3032
 
2350
3033
 
2351
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2352
 
echo "${ECHO_T}$_am_result" >&6
 
3034
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3035
echo "${ECHO_T}$_am_result" >&6; }
2353
3036
rm -f confinc confmf
2354
3037
 
2355
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3038
# Check whether --enable-dependency-tracking was given.
2356
3039
if test "${enable_dependency_tracking+set}" = set; then
2357
 
  enableval="$enable_dependency_tracking"
 
3040
  enableval=$enable_dependency_tracking;
 
3041
fi
2358
3042
 
2359
 
fi;
2360
3043
if test "x$enable_dependency_tracking" != xno; then
2361
3044
  am_depcomp="$ac_aux_dir/depcomp"
2362
3045
  AMDEPBACKSLASH='\'
2363
3046
fi
2364
 
 
2365
 
 
2366
 
if test "x$enable_dependency_tracking" != xno; then
 
3047
 if test "x$enable_dependency_tracking" != xno; then
2367
3048
  AMDEP_TRUE=
2368
3049
  AMDEP_FALSE='#'
2369
3050
else
2375
3056
 
2376
3057
 
2377
3058
 
2378
 
 
2379
 
  # Check whether --enable-debug or --disable-debug was given.
 
3059
  # Check whether --enable-debug was given.
2380
3060
if test "${enable_debug+set}" = set; then
2381
 
  enableval="$enable_debug"
2382
 
 
 
3061
  enableval=$enable_debug;
2383
3062
    case $enableval in
2384
3063
      yes)
2385
3064
        kde_use_debug_code="yes"
2399
3078
  kde_use_debug_code="no"
2400
3079
      kde_use_debug_define=no
2401
3080
 
2402
 
fi;
2403
 
 
2404
 
    # Check whether --enable-dummyoption or --disable-dummyoption was given.
 
3081
fi
 
3082
 
 
3083
 
 
3084
    # Check whether --enable-dummyoption was given.
2405
3085
if test "${enable_dummyoption+set}" = set; then
2406
 
  enableval="$enable_dummyoption"
2407
 
 
2408
 
fi;
2409
 
 
2410
 
  # Check whether --enable-strict or --disable-strict was given.
 
3086
  enableval=$enable_dummyoption;
 
3087
fi
 
3088
 
 
3089
 
 
3090
  # Check whether --enable-strict was given.
2411
3091
if test "${enable_strict+set}" = set; then
2412
 
  enableval="$enable_strict"
2413
 
 
 
3092
  enableval=$enable_strict;
2414
3093
    if test $enableval = "no"; then
2415
3094
         kde_use_strict_options="no"
2416
3095
       else
2419
3098
 
2420
3099
else
2421
3100
  kde_use_strict_options="no"
2422
 
fi;
2423
 
 
2424
 
  # Check whether --enable-warnings or --disable-warnings was given.
 
3101
fi
 
3102
 
 
3103
 
 
3104
  # Check whether --enable-warnings was given.
2425
3105
if test "${enable_warnings+set}" = set; then
2426
 
  enableval="$enable_warnings"
2427
 
 
 
3106
  enableval=$enable_warnings;
2428
3107
    if test $enableval = "no"; then
2429
3108
         kde_use_warnings="no"
2430
3109
       else
2433
3112
 
2434
3113
else
2435
3114
  kde_use_warnings="yes"
2436
 
fi;
 
3115
fi
 
3116
 
2437
3117
 
2438
3118
    if test "$kde_use_debug_code" != "no"; then
2439
3119
    kde_use_warnings=yes
2440
3120
  fi
2441
3121
 
2442
 
  # Check whether --enable-profile or --disable-profile was given.
 
3122
  # Check whether --enable-profile was given.
2443
3123
if test "${enable_profile+set}" = set; then
2444
 
  enableval="$enable_profile"
2445
 
  kde_use_profiling=$enableval
 
3124
  enableval=$enable_profile; kde_use_profiling=$enableval
2446
3125
else
2447
3126
  kde_use_profiling="no"
2448
3127
 
2449
 
fi;
 
3128
fi
 
3129
 
2450
3130
 
2451
3131
    CFLAGS=" $CFLAGS"
2452
3132
 
2458
3138
if test -n "$ac_tool_prefix"; then
2459
3139
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2460
3140
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2461
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2462
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3141
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3142
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2463
3143
if test "${ac_cv_prog_CC+set}" = set; then
2464
3144
  echo $ECHO_N "(cached) $ECHO_C" >&6
2465
3145
else
2472
3152
  IFS=$as_save_IFS
2473
3153
  test -z "$as_dir" && as_dir=.
2474
3154
  for ac_exec_ext in '' $ac_executable_extensions; do
2475
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3155
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476
3156
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2477
3157
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2478
3158
    break 2
2479
3159
  fi
2480
3160
done
2481
3161
done
 
3162
IFS=$as_save_IFS
2482
3163
 
2483
3164
fi
2484
3165
fi
2485
3166
CC=$ac_cv_prog_CC
2486
3167
if test -n "$CC"; then
2487
 
  echo "$as_me:$LINENO: result: $CC" >&5
2488
 
echo "${ECHO_T}$CC" >&6
 
3168
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3169
echo "${ECHO_T}$CC" >&6; }
2489
3170
else
2490
 
  echo "$as_me:$LINENO: result: no" >&5
2491
 
echo "${ECHO_T}no" >&6
 
3171
  { echo "$as_me:$LINENO: result: no" >&5
 
3172
echo "${ECHO_T}no" >&6; }
2492
3173
fi
 
3174
 
2493
3175
 
2494
3176
fi
2495
3177
if test -z "$ac_cv_prog_CC"; then
2496
3178
  ac_ct_CC=$CC
2497
3179
  # Extract the first word of "gcc", so it can be a program name with args.
2498
3180
set dummy gcc; ac_word=$2
2499
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2500
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3181
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3182
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2501
3183
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2502
3184
  echo $ECHO_N "(cached) $ECHO_C" >&6
2503
3185
else
2510
3192
  IFS=$as_save_IFS
2511
3193
  test -z "$as_dir" && as_dir=.
2512
3194
  for ac_exec_ext in '' $ac_executable_extensions; do
2513
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3195
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514
3196
    ac_cv_prog_ac_ct_CC="gcc"
2515
3197
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516
3198
    break 2
2517
3199
  fi
2518
3200
done
2519
3201
done
 
3202
IFS=$as_save_IFS
2520
3203
 
2521
3204
fi
2522
3205
fi
2523
3206
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2524
3207
if test -n "$ac_ct_CC"; then
2525
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2526
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3208
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3209
echo "${ECHO_T}$ac_ct_CC" >&6; }
2527
3210
else
2528
 
  echo "$as_me:$LINENO: result: no" >&5
2529
 
echo "${ECHO_T}no" >&6
 
3211
  { echo "$as_me:$LINENO: result: no" >&5
 
3212
echo "${ECHO_T}no" >&6; }
2530
3213
fi
2531
3214
 
2532
 
  CC=$ac_ct_CC
 
3215
  if test "x$ac_ct_CC" = x; then
 
3216
    CC=""
 
3217
  else
 
3218
    case $cross_compiling:$ac_tool_warned in
 
3219
yes:)
 
3220
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3221
whose name does not start with the host triplet.  If you think this
 
3222
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3223
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3224
whose name does not start with the host triplet.  If you think this
 
3225
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3226
ac_tool_warned=yes ;;
 
3227
esac
 
3228
    CC=$ac_ct_CC
 
3229
  fi
2533
3230
else
2534
3231
  CC="$ac_cv_prog_CC"
2535
3232
fi
2536
3233
 
2537
3234
if test -z "$CC"; then
2538
 
  if test -n "$ac_tool_prefix"; then
2539
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3235
          if test -n "$ac_tool_prefix"; then
 
3236
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2540
3237
set dummy ${ac_tool_prefix}cc; ac_word=$2
2541
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2542
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3238
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3239
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2543
3240
if test "${ac_cv_prog_CC+set}" = set; then
2544
3241
  echo $ECHO_N "(cached) $ECHO_C" >&6
2545
3242
else
2552
3249
  IFS=$as_save_IFS
2553
3250
  test -z "$as_dir" && as_dir=.
2554
3251
  for ac_exec_ext in '' $ac_executable_extensions; do
2555
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3252
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556
3253
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2557
3254
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558
3255
    break 2
2559
3256
  fi
2560
3257
done
2561
3258
done
 
3259
IFS=$as_save_IFS
2562
3260
 
2563
3261
fi
2564
3262
fi
2565
3263
CC=$ac_cv_prog_CC
2566
3264
if test -n "$CC"; then
2567
 
  echo "$as_me:$LINENO: result: $CC" >&5
2568
 
echo "${ECHO_T}$CC" >&6
2569
 
else
2570
 
  echo "$as_me:$LINENO: result: no" >&5
2571
 
echo "${ECHO_T}no" >&6
2572
 
fi
2573
 
 
2574
 
fi
2575
 
if test -z "$ac_cv_prog_CC"; then
2576
 
  ac_ct_CC=$CC
2577
 
  # Extract the first word of "cc", so it can be a program name with args.
2578
 
set dummy cc; ac_word=$2
2579
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2580
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2581
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2582
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2583
 
else
2584
 
  if test -n "$ac_ct_CC"; then
2585
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2586
 
else
2587
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588
 
for as_dir in $PATH
2589
 
do
2590
 
  IFS=$as_save_IFS
2591
 
  test -z "$as_dir" && as_dir=.
2592
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2593
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2594
 
    ac_cv_prog_ac_ct_CC="cc"
2595
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2596
 
    break 2
 
3265
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3266
echo "${ECHO_T}$CC" >&6; }
 
3267
else
 
3268
  { echo "$as_me:$LINENO: result: no" >&5
 
3269
echo "${ECHO_T}no" >&6; }
 
3270
fi
 
3271
 
 
3272
 
2597
3273
  fi
2598
 
done
2599
 
done
2600
 
 
2601
 
fi
2602
 
fi
2603
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2604
 
if test -n "$ac_ct_CC"; then
2605
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2606
 
echo "${ECHO_T}$ac_ct_CC" >&6
2607
 
else
2608
 
  echo "$as_me:$LINENO: result: no" >&5
2609
 
echo "${ECHO_T}no" >&6
2610
 
fi
2611
 
 
2612
 
  CC=$ac_ct_CC
2613
 
else
2614
 
  CC="$ac_cv_prog_CC"
2615
 
fi
2616
 
 
2617
3274
fi
2618
3275
if test -z "$CC"; then
2619
3276
  # Extract the first word of "cc", so it can be a program name with args.
2620
3277
set dummy cc; ac_word=$2
2621
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2622
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3278
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3279
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2623
3280
if test "${ac_cv_prog_CC+set}" = set; then
2624
3281
  echo $ECHO_N "(cached) $ECHO_C" >&6
2625
3282
else
2633
3290
  IFS=$as_save_IFS
2634
3291
  test -z "$as_dir" && as_dir=.
2635
3292
  for ac_exec_ext in '' $ac_executable_extensions; do
2636
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3293
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637
3294
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2638
3295
       ac_prog_rejected=yes
2639
3296
       continue
2644
3301
  fi
2645
3302
done
2646
3303
done
 
3304
IFS=$as_save_IFS
2647
3305
 
2648
3306
if test $ac_prog_rejected = yes; then
2649
3307
  # We found a bogon in the path, so make sure we never use it.
2661
3319
fi
2662
3320
CC=$ac_cv_prog_CC
2663
3321
if test -n "$CC"; then
2664
 
  echo "$as_me:$LINENO: result: $CC" >&5
2665
 
echo "${ECHO_T}$CC" >&6
 
3322
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3323
echo "${ECHO_T}$CC" >&6; }
2666
3324
else
2667
 
  echo "$as_me:$LINENO: result: no" >&5
2668
 
echo "${ECHO_T}no" >&6
 
3325
  { echo "$as_me:$LINENO: result: no" >&5
 
3326
echo "${ECHO_T}no" >&6; }
2669
3327
fi
 
3328
 
2670
3329
 
2671
3330
fi
2672
3331
if test -z "$CC"; then
2673
3332
  if test -n "$ac_tool_prefix"; then
2674
 
  for ac_prog in cl
 
3333
  for ac_prog in cl.exe
2675
3334
  do
2676
3335
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2677
3336
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2678
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2679
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3337
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3338
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2680
3339
if test "${ac_cv_prog_CC+set}" = set; then
2681
3340
  echo $ECHO_N "(cached) $ECHO_C" >&6
2682
3341
else
2689
3348
  IFS=$as_save_IFS
2690
3349
  test -z "$as_dir" && as_dir=.
2691
3350
  for ac_exec_ext in '' $ac_executable_extensions; do
2692
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3351
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2693
3352
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2694
3353
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2695
3354
    break 2
2696
3355
  fi
2697
3356
done
2698
3357
done
 
3358
IFS=$as_save_IFS
2699
3359
 
2700
3360
fi
2701
3361
fi
2702
3362
CC=$ac_cv_prog_CC
2703
3363
if test -n "$CC"; then
2704
 
  echo "$as_me:$LINENO: result: $CC" >&5
2705
 
echo "${ECHO_T}$CC" >&6
 
3364
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3365
echo "${ECHO_T}$CC" >&6; }
2706
3366
else
2707
 
  echo "$as_me:$LINENO: result: no" >&5
2708
 
echo "${ECHO_T}no" >&6
 
3367
  { echo "$as_me:$LINENO: result: no" >&5
 
3368
echo "${ECHO_T}no" >&6; }
2709
3369
fi
2710
3370
 
 
3371
 
2711
3372
    test -n "$CC" && break
2712
3373
  done
2713
3374
fi
2714
3375
if test -z "$CC"; then
2715
3376
  ac_ct_CC=$CC
2716
 
  for ac_prog in cl
 
3377
  for ac_prog in cl.exe
2717
3378
do
2718
3379
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2719
3380
set dummy $ac_prog; ac_word=$2
2720
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2721
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3381
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3382
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2722
3383
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2723
3384
  echo $ECHO_N "(cached) $ECHO_C" >&6
2724
3385
else
2731
3392
  IFS=$as_save_IFS
2732
3393
  test -z "$as_dir" && as_dir=.
2733
3394
  for ac_exec_ext in '' $ac_executable_extensions; do
2734
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3395
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735
3396
    ac_cv_prog_ac_ct_CC="$ac_prog"
2736
3397
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737
3398
    break 2
2738
3399
  fi
2739
3400
done
2740
3401
done
 
3402
IFS=$as_save_IFS
2741
3403
 
2742
3404
fi
2743
3405
fi
2744
3406
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2745
3407
if test -n "$ac_ct_CC"; then
2746
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2747
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3408
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3409
echo "${ECHO_T}$ac_ct_CC" >&6; }
2748
3410
else
2749
 
  echo "$as_me:$LINENO: result: no" >&5
2750
 
echo "${ECHO_T}no" >&6
 
3411
  { echo "$as_me:$LINENO: result: no" >&5
 
3412
echo "${ECHO_T}no" >&6; }
2751
3413
fi
2752
3414
 
 
3415
 
2753
3416
  test -n "$ac_ct_CC" && break
2754
3417
done
2755
3418
 
2756
 
  CC=$ac_ct_CC
 
3419
  if test "x$ac_ct_CC" = x; then
 
3420
    CC=""
 
3421
  else
 
3422
    case $cross_compiling:$ac_tool_warned in
 
3423
yes:)
 
3424
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3425
whose name does not start with the host triplet.  If you think this
 
3426
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3427
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3428
whose name does not start with the host triplet.  If you think this
 
3429
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3430
ac_tool_warned=yes ;;
 
3431
esac
 
3432
    CC=$ac_ct_CC
 
3433
  fi
2757
3434
fi
2758
3435
 
2759
3436
fi
2766
3443
   { (exit 1); exit 1; }; }
2767
3444
 
2768
3445
# Provide some information about the compiler.
2769
 
echo "$as_me:$LINENO:" \
2770
 
     "checking for C compiler version" >&5
 
3446
echo "$as_me:$LINENO: checking for C compiler version" >&5
2771
3447
ac_compiler=`set X $ac_compile; echo $2`
2772
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2773
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2774
 
  ac_status=$?
2775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776
 
  (exit $ac_status); }
2777
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2778
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2779
 
  ac_status=$?
2780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781
 
  (exit $ac_status); }
2782
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2783
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3448
{ (ac_try="$ac_compiler --version >&5"
 
3449
case "(($ac_try" in
 
3450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3451
  *) ac_try_echo=$ac_try;;
 
3452
esac
 
3453
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3454
  (eval "$ac_compiler --version >&5") 2>&5
 
3455
  ac_status=$?
 
3456
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3457
  (exit $ac_status); }
 
3458
{ (ac_try="$ac_compiler -v >&5"
 
3459
case "(($ac_try" in
 
3460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3461
  *) ac_try_echo=$ac_try;;
 
3462
esac
 
3463
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3464
  (eval "$ac_compiler -v >&5") 2>&5
 
3465
  ac_status=$?
 
3466
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3467
  (exit $ac_status); }
 
3468
{ (ac_try="$ac_compiler -V >&5"
 
3469
case "(($ac_try" in
 
3470
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3471
  *) ac_try_echo=$ac_try;;
 
3472
esac
 
3473
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3474
  (eval "$ac_compiler -V >&5") 2>&5
2784
3475
  ac_status=$?
2785
3476
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786
3477
  (exit $ac_status); }
2805
3496
# Try to create an executable without -o first, disregard a.out.
2806
3497
# It will help us diagnose broken compilers, and finding out an intuition
2807
3498
# of exeext.
2808
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2809
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
3499
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3500
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2810
3501
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2811
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2812
 
  (eval $ac_link_default) 2>&5
 
3502
#
 
3503
# List of possible output files, starting from the most likely.
 
3504
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3505
# only as a last resort.  b.out is created by i960 compilers.
 
3506
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3507
#
 
3508
# The IRIX 6 linker writes into existing files which may not be
 
3509
# executable, retaining their permissions.  Remove them first so a
 
3510
# subsequent execution test works.
 
3511
ac_rmfiles=
 
3512
for ac_file in $ac_files
 
3513
do
 
3514
  case $ac_file in
 
3515
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3516
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3517
  esac
 
3518
done
 
3519
rm -f $ac_rmfiles
 
3520
 
 
3521
if { (ac_try="$ac_link_default"
 
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_link_default") 2>&5
2813
3528
  ac_status=$?
2814
3529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815
3530
  (exit $ac_status); }; then
2816
 
  # Find the output, starting from the most likely.  This scheme is
2817
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2818
 
# resort.
2819
 
 
2820
 
# Be careful to initialize this variable, since it used to be cached.
2821
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2822
 
ac_cv_exeext=
2823
 
# b.out is created by i960 compilers.
2824
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3531
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3532
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3533
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3534
# so that the user can short-circuit this test for compilers unknown to
 
3535
# Autoconf.
 
3536
for ac_file in $ac_files ''
2825
3537
do
2826
3538
  test -f "$ac_file" || continue
2827
3539
  case $ac_file in
2828
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2829
 
        ;;
2830
 
    conftest.$ac_ext )
2831
 
        # This is the source file.
 
3540
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2832
3541
        ;;
2833
3542
    [ab].out )
2834
3543
        # We found the default executable, but exeext='' is most
2835
3544
        # certainly right.
2836
3545
        break;;
2837
3546
    *.* )
2838
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2839
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2840
 
        # but it would be cool to find out if it's true.  Does anybody
2841
 
        # maintain Libtool? --akim.
2842
 
        export ac_cv_exeext
 
3547
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3548
        then :; else
 
3549
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3550
        fi
 
3551
        # We set ac_cv_exeext here because the later test for it is not
 
3552
        # safe: cross compilers may not add the suffix if given an `-o'
 
3553
        # argument, so we may need to know it at that point already.
 
3554
        # Even if this section looks crufty: it has the advantage of
 
3555
        # actually working.
2843
3556
        break;;
2844
3557
    * )
2845
3558
        break;;
2846
3559
  esac
2847
3560
done
 
3561
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3562
 
2848
3563
else
 
3564
  ac_file=''
 
3565
fi
 
3566
 
 
3567
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3568
echo "${ECHO_T}$ac_file" >&6; }
 
3569
if test -z "$ac_file"; then
2849
3570
  echo "$as_me: failed program was:" >&5
2850
3571
sed 's/^/| /' conftest.$ac_ext >&5
2851
3572
 
2857
3578
fi
2858
3579
 
2859
3580
ac_exeext=$ac_cv_exeext
2860
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2861
 
echo "${ECHO_T}$ac_file" >&6
2862
3581
 
2863
 
# Check the compiler produces executables we can run.  If not, either
 
3582
# Check that the compiler produces executables we can run.  If not, either
2864
3583
# the compiler is broken, or we cross compile.
2865
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2866
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3584
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3585
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2867
3586
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2868
3587
# If not cross compiling, check that we can run a simple program.
2869
3588
if test "$cross_compiling" != yes; then
2870
3589
  if { ac_try='./$ac_file'
2871
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872
 
  (eval $ac_try) 2>&5
 
3590
  { (case "(($ac_try" in
 
3591
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3592
  *) ac_try_echo=$ac_try;;
 
3593
esac
 
3594
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3595
  (eval "$ac_try") 2>&5
2873
3596
  ac_status=$?
2874
3597
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875
3598
  (exit $ac_status); }; }; then
2888
3611
    fi
2889
3612
  fi
2890
3613
fi
2891
 
echo "$as_me:$LINENO: result: yes" >&5
2892
 
echo "${ECHO_T}yes" >&6
 
3614
{ echo "$as_me:$LINENO: result: yes" >&5
 
3615
echo "${ECHO_T}yes" >&6; }
2893
3616
 
2894
3617
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2895
3618
ac_clean_files=$ac_clean_files_save
2896
 
# Check the compiler produces executables we can run.  If not, either
 
3619
# Check that the compiler produces executables we can run.  If not, either
2897
3620
# the compiler is broken, or we cross compile.
2898
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2899
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2900
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2901
 
echo "${ECHO_T}$cross_compiling" >&6
 
3621
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3622
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3623
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3624
echo "${ECHO_T}$cross_compiling" >&6; }
2902
3625
 
2903
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2904
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2905
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2906
 
  (eval $ac_link) 2>&5
 
3626
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3627
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3628
if { (ac_try="$ac_link"
 
3629
case "(($ac_try" in
 
3630
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3631
  *) ac_try_echo=$ac_try;;
 
3632
esac
 
3633
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3634
  (eval "$ac_link") 2>&5
2907
3635
  ac_status=$?
2908
3636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909
3637
  (exit $ac_status); }; then
2914
3642
for ac_file in conftest.exe conftest conftest.*; do
2915
3643
  test -f "$ac_file" || continue
2916
3644
  case $ac_file in
2917
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3645
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2918
3646
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2919
 
          export ac_cv_exeext
2920
3647
          break;;
2921
3648
    * ) break;;
2922
3649
  esac
2930
3657
fi
2931
3658
 
2932
3659
rm -f conftest$ac_cv_exeext
2933
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2934
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3660
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3661
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2935
3662
 
2936
3663
rm -f conftest.$ac_ext
2937
3664
EXEEXT=$ac_cv_exeext
2938
3665
ac_exeext=$EXEEXT
2939
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2940
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3666
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3667
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2941
3668
if test "${ac_cv_objext+set}" = set; then
2942
3669
  echo $ECHO_N "(cached) $ECHO_C" >&6
2943
3670
else
2957
3684
}
2958
3685
_ACEOF
2959
3686
rm -f conftest.o conftest.obj
2960
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2961
 
  (eval $ac_compile) 2>&5
 
3687
if { (ac_try="$ac_compile"
 
3688
case "(($ac_try" in
 
3689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3690
  *) ac_try_echo=$ac_try;;
 
3691
esac
 
3692
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3693
  (eval "$ac_compile") 2>&5
2962
3694
  ac_status=$?
2963
3695
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964
3696
  (exit $ac_status); }; then
2965
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3697
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3698
  test -f "$ac_file" || continue;
2966
3699
  case $ac_file in
2967
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3700
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2968
3701
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2969
3702
       break;;
2970
3703
  esac
2982
3715
 
2983
3716
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2984
3717
fi
2985
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2986
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3718
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3719
echo "${ECHO_T}$ac_cv_objext" >&6; }
2987
3720
OBJEXT=$ac_cv_objext
2988
3721
ac_objext=$OBJEXT
2989
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2990
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3722
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3723
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2991
3724
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2992
3725
  echo $ECHO_N "(cached) $ECHO_C" >&6
2993
3726
else
3010
3743
}
3011
3744
_ACEOF
3012
3745
rm -f conftest.$ac_objext
3013
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3014
 
  (eval $ac_compile) 2>conftest.er1
 
3746
if { (ac_try="$ac_compile"
 
3747
case "(($ac_try" in
 
3748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3749
  *) ac_try_echo=$ac_try;;
 
3750
esac
 
3751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3752
  (eval "$ac_compile") 2>conftest.er1
3015
3753
  ac_status=$?
3016
3754
  grep -v '^ *+' conftest.er1 >conftest.err
3017
3755
  rm -f conftest.er1
3018
3756
  cat conftest.err >&5
3019
3757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020
 
  (exit $ac_status); } &&
3021
 
         { ac_try='test -z "$ac_c_werror_flag"
3022
 
                         || test ! -s conftest.err'
3023
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024
 
  (eval $ac_try) 2>&5
3025
 
  ac_status=$?
3026
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027
 
  (exit $ac_status); }; } &&
3028
 
         { ac_try='test -s conftest.$ac_objext'
3029
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030
 
  (eval $ac_try) 2>&5
3031
 
  ac_status=$?
3032
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033
 
  (exit $ac_status); }; }; then
 
3758
  (exit $ac_status); } && {
 
3759
         test -z "$ac_c_werror_flag" ||
 
3760
         test ! -s conftest.err
 
3761
       } && test -s conftest.$ac_objext; then
3034
3762
  ac_compiler_gnu=yes
3035
3763
else
3036
3764
  echo "$as_me: failed program was:" >&5
3037
3765
sed 's/^/| /' conftest.$ac_ext >&5
3038
3766
 
3039
 
ac_compiler_gnu=no
 
3767
        ac_compiler_gnu=no
3040
3768
fi
3041
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3769
 
 
3770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042
3771
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3043
3772
 
3044
3773
fi
3045
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3046
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3774
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3775
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3047
3776
GCC=`test $ac_compiler_gnu = yes && echo yes`
3048
3777
ac_test_CFLAGS=${CFLAGS+set}
3049
3778
ac_save_CFLAGS=$CFLAGS
3050
 
CFLAGS="-g"
3051
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3052
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3779
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3780
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3053
3781
if test "${ac_cv_prog_cc_g+set}" = set; then
3054
3782
  echo $ECHO_N "(cached) $ECHO_C" >&6
3055
3783
else
3056
 
  cat >conftest.$ac_ext <<_ACEOF
3057
 
/* confdefs.h.  */
3058
 
_ACEOF
3059
 
cat confdefs.h >>conftest.$ac_ext
3060
 
cat >>conftest.$ac_ext <<_ACEOF
3061
 
/* end confdefs.h.  */
3062
 
 
3063
 
int
3064
 
main ()
3065
 
{
3066
 
 
3067
 
  ;
3068
 
  return 0;
3069
 
}
3070
 
_ACEOF
3071
 
rm -f conftest.$ac_objext
3072
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3073
 
  (eval $ac_compile) 2>conftest.er1
3074
 
  ac_status=$?
3075
 
  grep -v '^ *+' conftest.er1 >conftest.err
3076
 
  rm -f conftest.er1
3077
 
  cat conftest.err >&5
3078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079
 
  (exit $ac_status); } &&
3080
 
         { ac_try='test -z "$ac_c_werror_flag"
3081
 
                         || test ! -s conftest.err'
3082
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3083
 
  (eval $ac_try) 2>&5
3084
 
  ac_status=$?
3085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086
 
  (exit $ac_status); }; } &&
3087
 
         { ac_try='test -s conftest.$ac_objext'
3088
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089
 
  (eval $ac_try) 2>&5
3090
 
  ac_status=$?
3091
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092
 
  (exit $ac_status); }; }; then
3093
 
  ac_cv_prog_cc_g=yes
3094
 
else
3095
 
  echo "$as_me: failed program was:" >&5
3096
 
sed 's/^/| /' conftest.$ac_ext >&5
3097
 
 
3098
 
ac_cv_prog_cc_g=no
3099
 
fi
3100
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3101
 
fi
3102
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3103
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3784
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3785
   ac_c_werror_flag=yes
 
3786
   ac_cv_prog_cc_g=no
 
3787
   CFLAGS="-g"
 
3788
   cat >conftest.$ac_ext <<_ACEOF
 
3789
/* confdefs.h.  */
 
3790
_ACEOF
 
3791
cat confdefs.h >>conftest.$ac_ext
 
3792
cat >>conftest.$ac_ext <<_ACEOF
 
3793
/* end confdefs.h.  */
 
3794
 
 
3795
int
 
3796
main ()
 
3797
{
 
3798
 
 
3799
  ;
 
3800
  return 0;
 
3801
}
 
3802
_ACEOF
 
3803
rm -f conftest.$ac_objext
 
3804
if { (ac_try="$ac_compile"
 
3805
case "(($ac_try" in
 
3806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3807
  *) ac_try_echo=$ac_try;;
 
3808
esac
 
3809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3810
  (eval "$ac_compile") 2>conftest.er1
 
3811
  ac_status=$?
 
3812
  grep -v '^ *+' conftest.er1 >conftest.err
 
3813
  rm -f conftest.er1
 
3814
  cat conftest.err >&5
 
3815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3816
  (exit $ac_status); } && {
 
3817
         test -z "$ac_c_werror_flag" ||
 
3818
         test ! -s conftest.err
 
3819
       } && test -s conftest.$ac_objext; then
 
3820
  ac_cv_prog_cc_g=yes
 
3821
else
 
3822
  echo "$as_me: failed program was:" >&5
 
3823
sed 's/^/| /' conftest.$ac_ext >&5
 
3824
 
 
3825
        CFLAGS=""
 
3826
      cat >conftest.$ac_ext <<_ACEOF
 
3827
/* confdefs.h.  */
 
3828
_ACEOF
 
3829
cat confdefs.h >>conftest.$ac_ext
 
3830
cat >>conftest.$ac_ext <<_ACEOF
 
3831
/* end confdefs.h.  */
 
3832
 
 
3833
int
 
3834
main ()
 
3835
{
 
3836
 
 
3837
  ;
 
3838
  return 0;
 
3839
}
 
3840
_ACEOF
 
3841
rm -f conftest.$ac_objext
 
3842
if { (ac_try="$ac_compile"
 
3843
case "(($ac_try" in
 
3844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3845
  *) ac_try_echo=$ac_try;;
 
3846
esac
 
3847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3848
  (eval "$ac_compile") 2>conftest.er1
 
3849
  ac_status=$?
 
3850
  grep -v '^ *+' conftest.er1 >conftest.err
 
3851
  rm -f conftest.er1
 
3852
  cat conftest.err >&5
 
3853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3854
  (exit $ac_status); } && {
 
3855
         test -z "$ac_c_werror_flag" ||
 
3856
         test ! -s conftest.err
 
3857
       } && test -s conftest.$ac_objext; then
 
3858
  :
 
3859
else
 
3860
  echo "$as_me: failed program was:" >&5
 
3861
sed 's/^/| /' conftest.$ac_ext >&5
 
3862
 
 
3863
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3864
         CFLAGS="-g"
 
3865
         cat >conftest.$ac_ext <<_ACEOF
 
3866
/* confdefs.h.  */
 
3867
_ACEOF
 
3868
cat confdefs.h >>conftest.$ac_ext
 
3869
cat >>conftest.$ac_ext <<_ACEOF
 
3870
/* end confdefs.h.  */
 
3871
 
 
3872
int
 
3873
main ()
 
3874
{
 
3875
 
 
3876
  ;
 
3877
  return 0;
 
3878
}
 
3879
_ACEOF
 
3880
rm -f conftest.$ac_objext
 
3881
if { (ac_try="$ac_compile"
 
3882
case "(($ac_try" in
 
3883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3884
  *) ac_try_echo=$ac_try;;
 
3885
esac
 
3886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3887
  (eval "$ac_compile") 2>conftest.er1
 
3888
  ac_status=$?
 
3889
  grep -v '^ *+' conftest.er1 >conftest.err
 
3890
  rm -f conftest.er1
 
3891
  cat conftest.err >&5
 
3892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3893
  (exit $ac_status); } && {
 
3894
         test -z "$ac_c_werror_flag" ||
 
3895
         test ! -s conftest.err
 
3896
       } && test -s conftest.$ac_objext; 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; }
3104
3916
if test "$ac_test_CFLAGS" = set; then
3105
3917
  CFLAGS=$ac_save_CFLAGS
3106
3918
elif test $ac_cv_prog_cc_g = yes; then
3116
3928
    CFLAGS=
3117
3929
  fi
3118
3930
fi
3119
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3120
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3121
 
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
3122
3934
  echo $ECHO_N "(cached) $ECHO_C" >&6
3123
3935
else
3124
 
  ac_cv_prog_cc_stdc=no
 
3936
  ac_cv_prog_cc_c89=no
3125
3937
ac_save_CC=$CC
3126
3938
cat >conftest.$ac_ext <<_ACEOF
3127
3939
/* confdefs.h.  */
3155
3967
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3156
3968
   function prototypes and stuff, but not '\xHH' hex character constants.
3157
3969
   These don't provoke an error unfortunately, instead are silently treated
3158
 
   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
3159
3971
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3160
3972
   array size at least.  It's necessary to write '\x00'==0 to get something
3161
 
   that's true only with -std1.  */
 
3973
   that's true only with -std.  */
3162
3974
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3163
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
 
3164
3981
int test (int i, double x);
3165
3982
struct s1 {int (*f) (int a);};
3166
3983
struct s2 {int (*f) (double a);};
3175
3992
  return 0;
3176
3993
}
3177
3994
_ACEOF
3178
 
# Don't try gcc -ansi; that turns off useful extensions and
3179
 
# breaks some systems' header files.
3180
 
# AIX                   -qlanglvl=ansi
3181
 
# Ultrix and OSF/1      -std1
3182
 
# HP-UX 10.20 and later -Ae
3183
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
3184
 
# SVR4                  -Xc -D__EXTENSIONS__
3185
 
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__"
3186
3997
do
3187
3998
  CC="$ac_save_CC $ac_arg"
3188
3999
  rm -f conftest.$ac_objext
3189
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190
 
  (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
3191
4007
  ac_status=$?
3192
4008
  grep -v '^ *+' conftest.er1 >conftest.err
3193
4009
  rm -f conftest.er1
3194
4010
  cat conftest.err >&5
3195
4011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196
 
  (exit $ac_status); } &&
3197
 
         { ac_try='test -z "$ac_c_werror_flag"
3198
 
                         || test ! -s conftest.err'
3199
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200
 
  (eval $ac_try) 2>&5
3201
 
  ac_status=$?
3202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203
 
  (exit $ac_status); }; } &&
3204
 
         { ac_try='test -s conftest.$ac_objext'
3205
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206
 
  (eval $ac_try) 2>&5
3207
 
  ac_status=$?
3208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209
 
  (exit $ac_status); }; }; then
3210
 
  ac_cv_prog_cc_stdc=$ac_arg
3211
 
break
 
4012
  (exit $ac_status); } && {
 
4013
         test -z "$ac_c_werror_flag" ||
 
4014
         test ! -s conftest.err
 
4015
       } && test -s conftest.$ac_objext; then
 
4016
  ac_cv_prog_cc_c89=$ac_arg
3212
4017
else
3213
4018
  echo "$as_me: failed program was:" >&5
3214
4019
sed 's/^/| /' conftest.$ac_ext >&5
3215
4020
 
 
4021
 
3216
4022
fi
3217
 
rm -f conftest.err conftest.$ac_objext
 
4023
 
 
4024
rm -f core conftest.err conftest.$ac_objext
 
4025
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3218
4026
done
3219
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
4027
rm -f conftest.$ac_ext
3220
4028
CC=$ac_save_CC
3221
4029
 
3222
4030
fi
3223
 
 
3224
 
case "x$ac_cv_prog_cc_stdc" in
3225
 
  x|xno)
3226
 
    echo "$as_me:$LINENO: result: none needed" >&5
3227
 
echo "${ECHO_T}none needed" >&6 ;;
 
4031
# AC_CACHE_VAL
 
4032
case "x$ac_cv_prog_cc_c89" in
 
4033
  x)
 
4034
    { echo "$as_me:$LINENO: result: none needed" >&5
 
4035
echo "${ECHO_T}none needed" >&6; } ;;
 
4036
  xno)
 
4037
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
4038
echo "${ECHO_T}unsupported" >&6; } ;;
3228
4039
  *)
3229
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3230
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3231
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
4040
    CC="$CC $ac_cv_prog_cc_c89"
 
4041
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4042
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3232
4043
esac
3233
4044
 
3234
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
3235
 
# in C++ we need to declare it.  In case someone uses the same compiler
3236
 
# for both compiling C and C++ we need to have the C++ compiler decide
3237
 
# the declaration of exit, since it's the most demanding environment.
3238
 
cat >conftest.$ac_ext <<_ACEOF
3239
 
#ifndef __cplusplus
3240
 
  choke me
3241
 
#endif
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
 
  for ac_declaration in \
3266
 
   '' \
3267
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3268
 
   'extern "C" void std::exit (int); using std::exit;' \
3269
 
   'extern "C" void exit (int) throw ();' \
3270
 
   'extern "C" void exit (int);' \
3271
 
   'void exit (int);'
3272
 
do
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
 
#include <stdlib.h>
3281
 
int
3282
 
main ()
3283
 
{
3284
 
exit (42);
3285
 
  ;
3286
 
  return 0;
3287
 
}
3288
 
_ACEOF
3289
 
rm -f conftest.$ac_objext
3290
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3291
 
  (eval $ac_compile) 2>conftest.er1
3292
 
  ac_status=$?
3293
 
  grep -v '^ *+' conftest.er1 >conftest.err
3294
 
  rm -f conftest.er1
3295
 
  cat conftest.err >&5
3296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297
 
  (exit $ac_status); } &&
3298
 
         { ac_try='test -z "$ac_c_werror_flag"
3299
 
                         || test ! -s conftest.err'
3300
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301
 
  (eval $ac_try) 2>&5
3302
 
  ac_status=$?
3303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304
 
  (exit $ac_status); }; } &&
3305
 
         { ac_try='test -s conftest.$ac_objext'
3306
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307
 
  (eval $ac_try) 2>&5
3308
 
  ac_status=$?
3309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310
 
  (exit $ac_status); }; }; then
3311
 
  :
3312
 
else
3313
 
  echo "$as_me: failed program was:" >&5
3314
 
sed 's/^/| /' conftest.$ac_ext >&5
3315
 
 
3316
 
continue
3317
 
fi
3318
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3319
 
  cat >conftest.$ac_ext <<_ACEOF
3320
 
/* confdefs.h.  */
3321
 
_ACEOF
3322
 
cat confdefs.h >>conftest.$ac_ext
3323
 
cat >>conftest.$ac_ext <<_ACEOF
3324
 
/* end confdefs.h.  */
3325
 
$ac_declaration
3326
 
int
3327
 
main ()
3328
 
{
3329
 
exit (42);
3330
 
  ;
3331
 
  return 0;
3332
 
}
3333
 
_ACEOF
3334
 
rm -f conftest.$ac_objext
3335
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3336
 
  (eval $ac_compile) 2>conftest.er1
3337
 
  ac_status=$?
3338
 
  grep -v '^ *+' conftest.er1 >conftest.err
3339
 
  rm -f conftest.er1
3340
 
  cat conftest.err >&5
3341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342
 
  (exit $ac_status); } &&
3343
 
         { ac_try='test -z "$ac_c_werror_flag"
3344
 
                         || test ! -s conftest.err'
3345
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3346
 
  (eval $ac_try) 2>&5
3347
 
  ac_status=$?
3348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349
 
  (exit $ac_status); }; } &&
3350
 
         { ac_try='test -s conftest.$ac_objext'
3351
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3352
 
  (eval $ac_try) 2>&5
3353
 
  ac_status=$?
3354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355
 
  (exit $ac_status); }; }; then
3356
 
  break
3357
 
else
3358
 
  echo "$as_me: failed program was:" >&5
3359
 
sed 's/^/| /' conftest.$ac_ext >&5
3360
 
 
3361
 
fi
3362
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3363
 
done
3364
 
rm -f conftest*
3365
 
if test -n "$ac_declaration"; then
3366
 
  echo '#ifdef __cplusplus' >>confdefs.h
3367
 
  echo $ac_declaration      >>confdefs.h
3368
 
  echo '#endif'             >>confdefs.h
3369
 
fi
3370
 
 
3371
 
else
3372
 
  echo "$as_me: failed program was:" >&5
3373
 
sed 's/^/| /' conftest.$ac_ext >&5
3374
 
 
3375
 
fi
3376
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4045
 
3377
4046
ac_ext=c
3378
4047
ac_cpp='$CPP $CPPFLAGS'
3379
4048
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3382
4051
 
3383
4052
depcc="$CC"   am_compiler_list=
3384
4053
 
3385
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3386
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
4054
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4055
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3387
4056
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3388
4057
  echo $ECHO_N "(cached) $ECHO_C" >&6
3389
4058
else
3447
4116
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3448
4117
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3449
4118
         >/dev/null 2>conftest.err &&
 
4119
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3450
4120
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3451
4121
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3452
4122
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3472
4142
fi
3473
4143
 
3474
4144
fi
3475
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3476
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
4145
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4146
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3477
4147
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3478
4148
 
3479
 
 
3480
 
 
3481
 
if
 
4149
 if
3482
4150
  test "x$enable_dependency_tracking" != xno \
3483
4151
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3484
4152
  am__fastdepCC_TRUE=
3495
4163
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3496
4164
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3497
4165
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3498
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3499
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4166
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4167
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3500
4168
# On Suns, sometimes $CPP names a directory.
3501
4169
if test -n "$CPP" && test -d "$CPP"; then
3502
4170
  CPP=
3530
4198
#endif
3531
4199
                     Syntax error
3532
4200
_ACEOF
3533
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3534
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4201
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4202
case "(($ac_try" in
 
4203
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4204
  *) ac_try_echo=$ac_try;;
 
4205
esac
 
4206
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4207
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3535
4208
  ac_status=$?
3536
4209
  grep -v '^ *+' conftest.er1 >conftest.err
3537
4210
  rm -f conftest.er1
3538
4211
  cat conftest.err >&5
3539
4212
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540
 
  (exit $ac_status); } >/dev/null; then
3541
 
  if test -s conftest.err; then
3542
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3543
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3544
 
  else
3545
 
    ac_cpp_err=
3546
 
  fi
3547
 
else
3548
 
  ac_cpp_err=yes
3549
 
fi
3550
 
if test -z "$ac_cpp_err"; then
 
4213
  (exit $ac_status); } >/dev/null && {
 
4214
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4215
         test ! -s conftest.err
 
4216
       }; then
3551
4217
  :
3552
4218
else
3553
4219
  echo "$as_me: failed program was:" >&5
3556
4222
  # Broken: fails on valid input.
3557
4223
continue
3558
4224
fi
 
4225
 
3559
4226
rm -f conftest.err conftest.$ac_ext
3560
4227
 
3561
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4228
  # OK, works on sane cases.  Now check whether nonexistent headers
3562
4229
  # can be detected and how.
3563
4230
  cat >conftest.$ac_ext <<_ACEOF
3564
4231
/* confdefs.h.  */
3568
4235
/* end confdefs.h.  */
3569
4236
#include <ac_nonexistent.h>
3570
4237
_ACEOF
3571
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3572
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4238
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4239
case "(($ac_try" in
 
4240
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4241
  *) ac_try_echo=$ac_try;;
 
4242
esac
 
4243
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4244
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3573
4245
  ac_status=$?
3574
4246
  grep -v '^ *+' conftest.er1 >conftest.err
3575
4247
  rm -f conftest.er1
3576
4248
  cat conftest.err >&5
3577
4249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578
 
  (exit $ac_status); } >/dev/null; then
3579
 
  if test -s conftest.err; then
3580
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3581
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3582
 
  else
3583
 
    ac_cpp_err=
3584
 
  fi
3585
 
else
3586
 
  ac_cpp_err=yes
3587
 
fi
3588
 
if test -z "$ac_cpp_err"; then
 
4250
  (exit $ac_status); } >/dev/null && {
 
4251
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4252
         test ! -s conftest.err
 
4253
       }; then
3589
4254
  # Broken: success on invalid input.
3590
4255
continue
3591
4256
else
3596
4261
ac_preproc_ok=:
3597
4262
break
3598
4263
fi
 
4264
 
3599
4265
rm -f conftest.err conftest.$ac_ext
3600
4266
 
3601
4267
done
3613
4279
else
3614
4280
  ac_cv_prog_CPP=$CPP
3615
4281
fi
3616
 
echo "$as_me:$LINENO: result: $CPP" >&5
3617
 
echo "${ECHO_T}$CPP" >&6
 
4282
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4283
echo "${ECHO_T}$CPP" >&6; }
3618
4284
ac_preproc_ok=false
3619
4285
for ac_c_preproc_warn_flag in '' yes
3620
4286
do
3637
4303
#endif
3638
4304
                     Syntax error
3639
4305
_ACEOF
3640
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3641
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4306
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4307
case "(($ac_try" in
 
4308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4309
  *) ac_try_echo=$ac_try;;
 
4310
esac
 
4311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4312
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3642
4313
  ac_status=$?
3643
4314
  grep -v '^ *+' conftest.er1 >conftest.err
3644
4315
  rm -f conftest.er1
3645
4316
  cat conftest.err >&5
3646
4317
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647
 
  (exit $ac_status); } >/dev/null; then
3648
 
  if test -s conftest.err; then
3649
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3650
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3651
 
  else
3652
 
    ac_cpp_err=
3653
 
  fi
3654
 
else
3655
 
  ac_cpp_err=yes
3656
 
fi
3657
 
if test -z "$ac_cpp_err"; then
 
4318
  (exit $ac_status); } >/dev/null && {
 
4319
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4320
         test ! -s conftest.err
 
4321
       }; then
3658
4322
  :
3659
4323
else
3660
4324
  echo "$as_me: failed program was:" >&5
3663
4327
  # Broken: fails on valid input.
3664
4328
continue
3665
4329
fi
 
4330
 
3666
4331
rm -f conftest.err conftest.$ac_ext
3667
4332
 
3668
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4333
  # OK, works on sane cases.  Now check whether nonexistent headers
3669
4334
  # can be detected and how.
3670
4335
  cat >conftest.$ac_ext <<_ACEOF
3671
4336
/* confdefs.h.  */
3675
4340
/* end confdefs.h.  */
3676
4341
#include <ac_nonexistent.h>
3677
4342
_ACEOF
3678
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3679
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4343
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4344
case "(($ac_try" in
 
4345
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4346
  *) ac_try_echo=$ac_try;;
 
4347
esac
 
4348
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4349
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3680
4350
  ac_status=$?
3681
4351
  grep -v '^ *+' conftest.er1 >conftest.err
3682
4352
  rm -f conftest.er1
3683
4353
  cat conftest.err >&5
3684
4354
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685
 
  (exit $ac_status); } >/dev/null; then
3686
 
  if test -s conftest.err; then
3687
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3688
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3689
 
  else
3690
 
    ac_cpp_err=
3691
 
  fi
3692
 
else
3693
 
  ac_cpp_err=yes
3694
 
fi
3695
 
if test -z "$ac_cpp_err"; then
 
4355
  (exit $ac_status); } >/dev/null && {
 
4356
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4357
         test ! -s conftest.err
 
4358
       }; then
3696
4359
  # Broken: success on invalid input.
3697
4360
continue
3698
4361
else
3703
4366
ac_preproc_ok=:
3704
4367
break
3705
4368
fi
 
4369
 
3706
4370
rm -f conftest.err conftest.$ac_ext
3707
4371
 
3708
4372
done
3730
4394
      if test $kde_use_debug_code = "full"; then
3731
4395
        CFLAGS="-g3 -fno-inline $CFLAGS"
3732
4396
      else
3733
 
        CFLAGS="-g -O2 $CFLAGS"
 
4397
        CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
3734
4398
      fi
3735
4399
    else
3736
4400
      CFLAGS="-O2 $CFLAGS"
3753
4417
 
3754
4418
  CXXFLAGS=" $CXXFLAGS"
3755
4419
 
3756
 
  ac_ext=cc
 
4420
  ac_ext=cpp
3757
4421
ac_cpp='$CXXCPP $CPPFLAGS'
3758
4422
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3759
4423
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3760
4424
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3761
 
if test -n "$ac_tool_prefix"; then
3762
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
4425
if test -z "$CXX"; then
 
4426
  if test -n "$CCC"; then
 
4427
    CXX=$CCC
 
4428
  else
 
4429
    if test -n "$ac_tool_prefix"; then
 
4430
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3763
4431
  do
3764
4432
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3765
4433
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3766
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3767
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4434
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4435
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3768
4436
if test "${ac_cv_prog_CXX+set}" = set; then
3769
4437
  echo $ECHO_N "(cached) $ECHO_C" >&6
3770
4438
else
3777
4445
  IFS=$as_save_IFS
3778
4446
  test -z "$as_dir" && as_dir=.
3779
4447
  for ac_exec_ext in '' $ac_executable_extensions; do
3780
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4448
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3781
4449
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3782
4450
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3783
4451
    break 2
3784
4452
  fi
3785
4453
done
3786
4454
done
 
4455
IFS=$as_save_IFS
3787
4456
 
3788
4457
fi
3789
4458
fi
3790
4459
CXX=$ac_cv_prog_CXX
3791
4460
if test -n "$CXX"; then
3792
 
  echo "$as_me:$LINENO: result: $CXX" >&5
3793
 
echo "${ECHO_T}$CXX" >&6
 
4461
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
4462
echo "${ECHO_T}$CXX" >&6; }
3794
4463
else
3795
 
  echo "$as_me:$LINENO: result: no" >&5
3796
 
echo "${ECHO_T}no" >&6
 
4464
  { echo "$as_me:$LINENO: result: no" >&5
 
4465
echo "${ECHO_T}no" >&6; }
3797
4466
fi
3798
4467
 
 
4468
 
3799
4469
    test -n "$CXX" && break
3800
4470
  done
3801
4471
fi
3802
4472
if test -z "$CXX"; then
3803
4473
  ac_ct_CXX=$CXX
3804
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
4474
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3805
4475
do
3806
4476
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3807
4477
set dummy $ac_prog; ac_word=$2
3808
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3809
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4478
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4479
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3810
4480
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3811
4481
  echo $ECHO_N "(cached) $ECHO_C" >&6
3812
4482
else
3819
4489
  IFS=$as_save_IFS
3820
4490
  test -z "$as_dir" && as_dir=.
3821
4491
  for ac_exec_ext in '' $ac_executable_extensions; do
3822
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4492
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3823
4493
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3824
4494
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3825
4495
    break 2
3826
4496
  fi
3827
4497
done
3828
4498
done
 
4499
IFS=$as_save_IFS
3829
4500
 
3830
4501
fi
3831
4502
fi
3832
4503
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3833
4504
if test -n "$ac_ct_CXX"; then
3834
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3835
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
4505
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
4506
echo "${ECHO_T}$ac_ct_CXX" >&6; }
3836
4507
else
3837
 
  echo "$as_me:$LINENO: result: no" >&5
3838
 
echo "${ECHO_T}no" >&6
 
4508
  { echo "$as_me:$LINENO: result: no" >&5
 
4509
echo "${ECHO_T}no" >&6; }
3839
4510
fi
3840
4511
 
 
4512
 
3841
4513
  test -n "$ac_ct_CXX" && break
3842
4514
done
3843
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3844
 
 
3845
 
  CXX=$ac_ct_CXX
3846
 
fi
3847
 
 
3848
 
 
 
4515
 
 
4516
  if test "x$ac_ct_CXX" = x; then
 
4517
    CXX="g++"
 
4518
  else
 
4519
    case $cross_compiling:$ac_tool_warned in
 
4520
yes:)
 
4521
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4522
whose name does not start with the host triplet.  If you think this
 
4523
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4524
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4525
whose name does not start with the host triplet.  If you think this
 
4526
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4527
ac_tool_warned=yes ;;
 
4528
esac
 
4529
    CXX=$ac_ct_CXX
 
4530
  fi
 
4531
fi
 
4532
 
 
4533
  fi
 
4534
fi
3849
4535
# Provide some information about the compiler.
3850
 
echo "$as_me:$LINENO:" \
3851
 
     "checking for C++ compiler version" >&5
 
4536
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3852
4537
ac_compiler=`set X $ac_compile; echo $2`
3853
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3854
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3855
 
  ac_status=$?
3856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857
 
  (exit $ac_status); }
3858
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3859
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3860
 
  ac_status=$?
3861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862
 
  (exit $ac_status); }
3863
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3864
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
4538
{ (ac_try="$ac_compiler --version >&5"
 
4539
case "(($ac_try" in
 
4540
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4541
  *) ac_try_echo=$ac_try;;
 
4542
esac
 
4543
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4544
  (eval "$ac_compiler --version >&5") 2>&5
 
4545
  ac_status=$?
 
4546
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4547
  (exit $ac_status); }
 
4548
{ (ac_try="$ac_compiler -v >&5"
 
4549
case "(($ac_try" in
 
4550
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4551
  *) ac_try_echo=$ac_try;;
 
4552
esac
 
4553
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4554
  (eval "$ac_compiler -v >&5") 2>&5
 
4555
  ac_status=$?
 
4556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4557
  (exit $ac_status); }
 
4558
{ (ac_try="$ac_compiler -V >&5"
 
4559
case "(($ac_try" in
 
4560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4561
  *) ac_try_echo=$ac_try;;
 
4562
esac
 
4563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4564
  (eval "$ac_compiler -V >&5") 2>&5
3865
4565
  ac_status=$?
3866
4566
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867
4567
  (exit $ac_status); }
3868
4568
 
3869
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3870
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
4569
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
4570
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3871
4571
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3872
4572
  echo $ECHO_N "(cached) $ECHO_C" >&6
3873
4573
else
3890
4590
}
3891
4591
_ACEOF
3892
4592
rm -f conftest.$ac_objext
3893
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3894
 
  (eval $ac_compile) 2>conftest.er1
 
4593
if { (ac_try="$ac_compile"
 
4594
case "(($ac_try" in
 
4595
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4596
  *) ac_try_echo=$ac_try;;
 
4597
esac
 
4598
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4599
  (eval "$ac_compile") 2>conftest.er1
3895
4600
  ac_status=$?
3896
4601
  grep -v '^ *+' conftest.er1 >conftest.err
3897
4602
  rm -f conftest.er1
3898
4603
  cat conftest.err >&5
3899
4604
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900
 
  (exit $ac_status); } &&
3901
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3902
 
                         || test ! -s conftest.err'
3903
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3904
 
  (eval $ac_try) 2>&5
3905
 
  ac_status=$?
3906
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907
 
  (exit $ac_status); }; } &&
3908
 
         { ac_try='test -s conftest.$ac_objext'
3909
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3910
 
  (eval $ac_try) 2>&5
3911
 
  ac_status=$?
3912
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913
 
  (exit $ac_status); }; }; then
 
4605
  (exit $ac_status); } && {
 
4606
         test -z "$ac_cxx_werror_flag" ||
 
4607
         test ! -s conftest.err
 
4608
       } && test -s conftest.$ac_objext; then
3914
4609
  ac_compiler_gnu=yes
3915
4610
else
3916
4611
  echo "$as_me: failed program was:" >&5
3917
4612
sed 's/^/| /' conftest.$ac_ext >&5
3918
4613
 
3919
 
ac_compiler_gnu=no
 
4614
        ac_compiler_gnu=no
3920
4615
fi
3921
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4616
 
 
4617
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3922
4618
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3923
4619
 
3924
4620
fi
3925
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3926
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
4621
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
4622
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3927
4623
GXX=`test $ac_compiler_gnu = yes && echo yes`
3928
4624
ac_test_CXXFLAGS=${CXXFLAGS+set}
3929
4625
ac_save_CXXFLAGS=$CXXFLAGS
3930
 
CXXFLAGS="-g"
3931
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3932
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
4626
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
4627
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3933
4628
if test "${ac_cv_prog_cxx_g+set}" = set; then
3934
4629
  echo $ECHO_N "(cached) $ECHO_C" >&6
3935
4630
else
3936
 
  cat >conftest.$ac_ext <<_ACEOF
3937
 
/* confdefs.h.  */
3938
 
_ACEOF
3939
 
cat confdefs.h >>conftest.$ac_ext
3940
 
cat >>conftest.$ac_ext <<_ACEOF
3941
 
/* end confdefs.h.  */
3942
 
 
3943
 
int
3944
 
main ()
3945
 
{
3946
 
 
3947
 
  ;
3948
 
  return 0;
3949
 
}
3950
 
_ACEOF
3951
 
rm -f conftest.$ac_objext
3952
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3953
 
  (eval $ac_compile) 2>conftest.er1
3954
 
  ac_status=$?
3955
 
  grep -v '^ *+' conftest.er1 >conftest.err
3956
 
  rm -f conftest.er1
3957
 
  cat conftest.err >&5
3958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959
 
  (exit $ac_status); } &&
3960
 
         { ac_try='test -z "$ac_cxx_werror_flag"
3961
 
                         || test ! -s conftest.err'
3962
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3963
 
  (eval $ac_try) 2>&5
3964
 
  ac_status=$?
3965
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966
 
  (exit $ac_status); }; } &&
3967
 
         { ac_try='test -s conftest.$ac_objext'
3968
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3969
 
  (eval $ac_try) 2>&5
3970
 
  ac_status=$?
3971
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972
 
  (exit $ac_status); }; }; then
3973
 
  ac_cv_prog_cxx_g=yes
3974
 
else
3975
 
  echo "$as_me: failed program was:" >&5
3976
 
sed 's/^/| /' conftest.$ac_ext >&5
3977
 
 
3978
 
ac_cv_prog_cxx_g=no
3979
 
fi
3980
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3981
 
fi
3982
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3983
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
4631
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
4632
   ac_cxx_werror_flag=yes
 
4633
   ac_cv_prog_cxx_g=no
 
4634
   CXXFLAGS="-g"
 
4635
   cat >conftest.$ac_ext <<_ACEOF
 
4636
/* confdefs.h.  */
 
4637
_ACEOF
 
4638
cat confdefs.h >>conftest.$ac_ext
 
4639
cat >>conftest.$ac_ext <<_ACEOF
 
4640
/* end confdefs.h.  */
 
4641
 
 
4642
int
 
4643
main ()
 
4644
{
 
4645
 
 
4646
  ;
 
4647
  return 0;
 
4648
}
 
4649
_ACEOF
 
4650
rm -f conftest.$ac_objext
 
4651
if { (ac_try="$ac_compile"
 
4652
case "(($ac_try" in
 
4653
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4654
  *) ac_try_echo=$ac_try;;
 
4655
esac
 
4656
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4657
  (eval "$ac_compile") 2>conftest.er1
 
4658
  ac_status=$?
 
4659
  grep -v '^ *+' conftest.er1 >conftest.err
 
4660
  rm -f conftest.er1
 
4661
  cat conftest.err >&5
 
4662
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4663
  (exit $ac_status); } && {
 
4664
         test -z "$ac_cxx_werror_flag" ||
 
4665
         test ! -s conftest.err
 
4666
       } && test -s conftest.$ac_objext; then
 
4667
  ac_cv_prog_cxx_g=yes
 
4668
else
 
4669
  echo "$as_me: failed program was:" >&5
 
4670
sed 's/^/| /' conftest.$ac_ext >&5
 
4671
 
 
4672
        CXXFLAGS=""
 
4673
      cat >conftest.$ac_ext <<_ACEOF
 
4674
/* confdefs.h.  */
 
4675
_ACEOF
 
4676
cat confdefs.h >>conftest.$ac_ext
 
4677
cat >>conftest.$ac_ext <<_ACEOF
 
4678
/* end confdefs.h.  */
 
4679
 
 
4680
int
 
4681
main ()
 
4682
{
 
4683
 
 
4684
  ;
 
4685
  return 0;
 
4686
}
 
4687
_ACEOF
 
4688
rm -f conftest.$ac_objext
 
4689
if { (ac_try="$ac_compile"
 
4690
case "(($ac_try" in
 
4691
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4692
  *) ac_try_echo=$ac_try;;
 
4693
esac
 
4694
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4695
  (eval "$ac_compile") 2>conftest.er1
 
4696
  ac_status=$?
 
4697
  grep -v '^ *+' conftest.er1 >conftest.err
 
4698
  rm -f conftest.er1
 
4699
  cat conftest.err >&5
 
4700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4701
  (exit $ac_status); } && {
 
4702
         test -z "$ac_cxx_werror_flag" ||
 
4703
         test ! -s conftest.err
 
4704
       } && test -s conftest.$ac_objext; then
 
4705
  :
 
4706
else
 
4707
  echo "$as_me: failed program was:" >&5
 
4708
sed 's/^/| /' conftest.$ac_ext >&5
 
4709
 
 
4710
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4711
         CXXFLAGS="-g"
 
4712
         cat >conftest.$ac_ext <<_ACEOF
 
4713
/* confdefs.h.  */
 
4714
_ACEOF
 
4715
cat confdefs.h >>conftest.$ac_ext
 
4716
cat >>conftest.$ac_ext <<_ACEOF
 
4717
/* end confdefs.h.  */
 
4718
 
 
4719
int
 
4720
main ()
 
4721
{
 
4722
 
 
4723
  ;
 
4724
  return 0;
 
4725
}
 
4726
_ACEOF
 
4727
rm -f conftest.$ac_objext
 
4728
if { (ac_try="$ac_compile"
 
4729
case "(($ac_try" in
 
4730
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4731
  *) ac_try_echo=$ac_try;;
 
4732
esac
 
4733
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4734
  (eval "$ac_compile") 2>conftest.er1
 
4735
  ac_status=$?
 
4736
  grep -v '^ *+' conftest.er1 >conftest.err
 
4737
  rm -f conftest.er1
 
4738
  cat conftest.err >&5
 
4739
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4740
  (exit $ac_status); } && {
 
4741
         test -z "$ac_cxx_werror_flag" ||
 
4742
         test ! -s conftest.err
 
4743
       } && test -s conftest.$ac_objext; then
 
4744
  ac_cv_prog_cxx_g=yes
 
4745
else
 
4746
  echo "$as_me: failed program was:" >&5
 
4747
sed 's/^/| /' conftest.$ac_ext >&5
 
4748
 
 
4749
 
 
4750
fi
 
4751
 
 
4752
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4753
fi
 
4754
 
 
4755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4756
fi
 
4757
 
 
4758
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4759
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4760
fi
 
4761
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
4762
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3984
4763
if test "$ac_test_CXXFLAGS" = set; then
3985
4764
  CXXFLAGS=$ac_save_CXXFLAGS
3986
4765
elif test $ac_cv_prog_cxx_g = yes; then
3996
4775
    CXXFLAGS=
3997
4776
  fi
3998
4777
fi
3999
 
for ac_declaration in \
4000
 
   '' \
4001
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4002
 
   'extern "C" void std::exit (int); using std::exit;' \
4003
 
   'extern "C" void exit (int) throw ();' \
4004
 
   'extern "C" void exit (int);' \
4005
 
   'void exit (int);'
4006
 
do
4007
 
  cat >conftest.$ac_ext <<_ACEOF
4008
 
/* confdefs.h.  */
4009
 
_ACEOF
4010
 
cat confdefs.h >>conftest.$ac_ext
4011
 
cat >>conftest.$ac_ext <<_ACEOF
4012
 
/* end confdefs.h.  */
4013
 
$ac_declaration
4014
 
#include <stdlib.h>
4015
 
int
4016
 
main ()
4017
 
{
4018
 
exit (42);
4019
 
  ;
4020
 
  return 0;
4021
 
}
4022
 
_ACEOF
4023
 
rm -f conftest.$ac_objext
4024
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4025
 
  (eval $ac_compile) 2>conftest.er1
4026
 
  ac_status=$?
4027
 
  grep -v '^ *+' conftest.er1 >conftest.err
4028
 
  rm -f conftest.er1
4029
 
  cat conftest.err >&5
4030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031
 
  (exit $ac_status); } &&
4032
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4033
 
                         || test ! -s conftest.err'
4034
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4035
 
  (eval $ac_try) 2>&5
4036
 
  ac_status=$?
4037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038
 
  (exit $ac_status); }; } &&
4039
 
         { ac_try='test -s conftest.$ac_objext'
4040
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041
 
  (eval $ac_try) 2>&5
4042
 
  ac_status=$?
4043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044
 
  (exit $ac_status); }; }; then
4045
 
  :
4046
 
else
4047
 
  echo "$as_me: failed program was:" >&5
4048
 
sed 's/^/| /' conftest.$ac_ext >&5
4049
 
 
4050
 
continue
4051
 
fi
4052
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4053
 
  cat >conftest.$ac_ext <<_ACEOF
4054
 
/* confdefs.h.  */
4055
 
_ACEOF
4056
 
cat confdefs.h >>conftest.$ac_ext
4057
 
cat >>conftest.$ac_ext <<_ACEOF
4058
 
/* end confdefs.h.  */
4059
 
$ac_declaration
4060
 
int
4061
 
main ()
4062
 
{
4063
 
exit (42);
4064
 
  ;
4065
 
  return 0;
4066
 
}
4067
 
_ACEOF
4068
 
rm -f conftest.$ac_objext
4069
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4070
 
  (eval $ac_compile) 2>conftest.er1
4071
 
  ac_status=$?
4072
 
  grep -v '^ *+' conftest.er1 >conftest.err
4073
 
  rm -f conftest.er1
4074
 
  cat conftest.err >&5
4075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076
 
  (exit $ac_status); } &&
4077
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4078
 
                         || test ! -s conftest.err'
4079
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4080
 
  (eval $ac_try) 2>&5
4081
 
  ac_status=$?
4082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083
 
  (exit $ac_status); }; } &&
4084
 
         { ac_try='test -s conftest.$ac_objext'
4085
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4086
 
  (eval $ac_try) 2>&5
4087
 
  ac_status=$?
4088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089
 
  (exit $ac_status); }; }; then
4090
 
  break
4091
 
else
4092
 
  echo "$as_me: failed program was:" >&5
4093
 
sed 's/^/| /' conftest.$ac_ext >&5
4094
 
 
4095
 
fi
4096
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4097
 
done
4098
 
rm -f conftest*
4099
 
if test -n "$ac_declaration"; then
4100
 
  echo '#ifdef __cplusplus' >>confdefs.h
4101
 
  echo $ac_declaration      >>confdefs.h
4102
 
  echo '#endif'             >>confdefs.h
4103
 
fi
4104
 
 
4105
4778
ac_ext=c
4106
4779
ac_cpp='$CPP $CPPFLAGS'
4107
4780
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4110
4783
 
4111
4784
depcc="$CXX"  am_compiler_list=
4112
4785
 
4113
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4114
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
4786
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4787
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4115
4788
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4116
4789
  echo $ECHO_N "(cached) $ECHO_C" >&6
4117
4790
else
4175
4848
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4176
4849
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4177
4850
         >/dev/null 2>conftest.err &&
 
4851
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4178
4852
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4179
4853
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4180
4854
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4200
4874
fi
4201
4875
 
4202
4876
fi
4203
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4204
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
4877
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4878
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4205
4879
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4206
4880
 
4207
 
 
4208
 
 
4209
 
if
 
4881
 if
4210
4882
  test "x$enable_dependency_tracking" != xno \
4211
4883
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4212
4884
  am__fastdepCXX_TRUE=
4218
4890
 
4219
4891
 
4220
4892
 
 
4893
 
 
4894
  { echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
 
4895
echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6; }
 
4896
 
 
4897
 
 
4898
  cat >conftest.$ac_ext <<_ACEOF
 
4899
/* confdefs.h.  */
 
4900
_ACEOF
 
4901
cat confdefs.h >>conftest.$ac_ext
 
4902
cat >>conftest.$ac_ext <<_ACEOF
 
4903
/* end confdefs.h.  */
 
4904
 
 
4905
#ifdef __GNUC__
 
4906
#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
 
4907
choke me
 
4908
#endif
 
4909
#endif
 
4910
 
 
4911
int
 
4912
main ()
 
4913
{
 
4914
 
 
4915
  ;
 
4916
  return 0;
 
4917
}
 
4918
_ACEOF
 
4919
rm -f conftest.$ac_objext
 
4920
if { (ac_try="$ac_compile"
 
4921
case "(($ac_try" in
 
4922
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4923
  *) ac_try_echo=$ac_try;;
 
4924
esac
 
4925
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4926
  (eval "$ac_compile") 2>conftest.er1
 
4927
  ac_status=$?
 
4928
  grep -v '^ *+' conftest.er1 >conftest.err
 
4929
  rm -f conftest.er1
 
4930
  cat conftest.err >&5
 
4931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4932
  (exit $ac_status); } && {
 
4933
         test -z "$ac_c_werror_flag" ||
 
4934
         test ! -s conftest.err
 
4935
       } && test -s conftest.$ac_objext; then
 
4936
  kde_bad_compiler=no
 
4937
else
 
4938
  echo "$as_me: failed program was:" >&5
 
4939
sed 's/^/| /' conftest.$ac_ext >&5
 
4940
 
 
4941
        kde_bad_compiler=yes
 
4942
 
 
4943
fi
 
4944
 
 
4945
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4946
 
 
4947
  { echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
 
4948
echo "${ECHO_T}$kde_bad_compiler" >&6; }
 
4949
 
 
4950
if test "$kde_bad_compiler" = "yes"; then
 
4951
  { { echo "$as_me:$LINENO: error:
 
4952
 
 
4953
This particular compiler version is blacklisted because it
 
4954
is known to miscompile KDE. Please use a newer version, or
 
4955
if that is not yet available, choose an older version.
 
4956
 
 
4957
Please do not report a bug or bother us reporting this
 
4958
configure error. We know about it, and we introduced
 
4959
it by intention to avoid untraceable bugs or crashes in KDE.
 
4960
 
 
4961
" >&5
 
4962
echo "$as_me: error:
 
4963
 
 
4964
This particular compiler version is blacklisted because it
 
4965
is known to miscompile KDE. Please use a newer version, or
 
4966
if that is not yet available, choose an older version.
 
4967
 
 
4968
Please do not report a bug or bother us reporting this
 
4969
configure error. We know about it, and we introduced
 
4970
it by intention to avoid untraceable bugs or crashes in KDE.
 
4971
 
 
4972
" >&2;}
 
4973
   { (exit 1); exit 1; }; }
 
4974
fi
 
4975
 
 
4976
 
 
4977
 
4221
4978
  if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
4222
4979
    if test "$kde_use_debug_code" != "no"; then
4223
4980
      if test "$CXX" = "KCC"; then
4226
4983
        if test "$kde_use_debug_code" = "full"; then
4227
4984
          CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
4228
4985
        else
4229
 
          CXXFLAGS="-g -O2 $CXXFLAGS"
 
4986
          CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
4230
4987
        fi
4231
4988
      fi
4232
4989
 
4233
 
echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4234
 
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6
 
4990
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
 
4991
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6; }
4235
4992
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4236
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
4993
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4237
4994
  echo $ECHO_N "(cached) $ECHO_C" >&6
4238
4995
else
4239
4996
 
4240
4997
 
4241
4998
 
4242
 
 
4243
 
ac_ext=cc
 
4999
ac_ext=cpp
4244
5000
ac_cpp='$CXXCPP $CPPFLAGS'
4245
5001
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4246
5002
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4268
5024
}
4269
5025
_ACEOF
4270
5026
rm -f conftest.$ac_objext conftest$ac_exeext
4271
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4272
 
  (eval $ac_link) 2>conftest.er1
 
5027
if { (ac_try="$ac_link"
 
5028
case "(($ac_try" in
 
5029
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5030
  *) ac_try_echo=$ac_try;;
 
5031
esac
 
5032
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5033
  (eval "$ac_link") 2>conftest.er1
4273
5034
  ac_status=$?
4274
5035
  grep -v '^ *+' conftest.er1 >conftest.err
4275
5036
  rm -f conftest.er1
4276
5037
  cat conftest.err >&5
4277
5038
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278
 
  (exit $ac_status); } &&
4279
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4280
 
                         || test ! -s conftest.err'
4281
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4282
 
  (eval $ac_try) 2>&5
4283
 
  ac_status=$?
4284
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285
 
  (exit $ac_status); }; } &&
4286
 
         { ac_try='test -s conftest$ac_exeext'
4287
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4288
 
  (eval $ac_try) 2>&5
4289
 
  ac_status=$?
4290
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291
 
  (exit $ac_status); }; }; then
 
5039
  (exit $ac_status); } && {
 
5040
         test -z "$ac_cxx_werror_flag" ||
 
5041
         test ! -s conftest.err
 
5042
       } && test -s conftest$ac_exeext &&
 
5043
       $as_test_x conftest$ac_exeext; then
4292
5044
  eval "kde_cv_prog_cxx_$kde_cache=yes"
4293
5045
else
4294
5046
  echo "$as_me: failed program was:" >&5
4295
5047
sed 's/^/| /' conftest.$ac_ext >&5
4296
5048
 
 
5049
 
4297
5050
fi
4298
 
rm -f conftest.err conftest.$ac_objext \
 
5051
 
 
5052
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4299
5053
      conftest$ac_exeext conftest.$ac_ext
4300
5054
  CXXFLAGS="$save_CXXFLAGS"
4301
5055
  ac_ext=c
4308
5062
fi
4309
5063
 
4310
5064
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4311
 
 echo "$as_me:$LINENO: result: yes" >&5
4312
 
echo "${ECHO_T}yes" >&6
 
5065
 { echo "$as_me:$LINENO: result: yes" >&5
 
5066
echo "${ECHO_T}yes" >&6; }
4313
5067
 :
4314
5068
 CXXFLAGS="-fno-builtin $CXXFLAGS"
4315
5069
else
4316
 
 echo "$as_me:$LINENO: result: no" >&5
4317
 
echo "${ECHO_T}no" >&6
 
5070
 { echo "$as_me:$LINENO: result: no" >&5
 
5071
echo "${ECHO_T}no" >&6; }
4318
5072
 :
4319
5073
 
4320
5074
fi
4321
5075
 
4322
5076
 
4323
5077
 
4324
 
echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
4325
 
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6
 
5078
{ echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
 
5079
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6; }
4326
5080
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
4327
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5081
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4328
5082
  echo $ECHO_N "(cached) $ECHO_C" >&6
4329
5083
else
4330
5084
 
4331
5085
 
4332
 
 
4333
 
   ac_ext=cc
 
5086
   ac_ext=cpp
4334
5087
ac_cpp='$CXXCPP $CPPFLAGS'
4335
5088
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4336
5089
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4357
5110
}
4358
5111
_ACEOF
4359
5112
rm -f conftest.$ac_objext conftest$ac_exeext
4360
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4361
 
  (eval $ac_link) 2>conftest.er1
 
5113
if { (ac_try="$ac_link"
 
5114
case "(($ac_try" in
 
5115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5116
  *) ac_try_echo=$ac_try;;
 
5117
esac
 
5118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5119
  (eval "$ac_link") 2>conftest.er1
4362
5120
  ac_status=$?
4363
5121
  grep -v '^ *+' conftest.er1 >conftest.err
4364
5122
  rm -f conftest.er1
4365
5123
  cat conftest.err >&5
4366
5124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367
 
  (exit $ac_status); } &&
4368
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4369
 
                         || test ! -s conftest.err'
4370
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4371
 
  (eval $ac_try) 2>&5
4372
 
  ac_status=$?
4373
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374
 
  (exit $ac_status); }; } &&
4375
 
         { ac_try='test -s conftest$ac_exeext'
4376
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4377
 
  (eval $ac_try) 2>&5
4378
 
  ac_status=$?
4379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380
 
  (exit $ac_status); }; }; then
 
5125
  (exit $ac_status); } && {
 
5126
         test -z "$ac_cxx_werror_flag" ||
 
5127
         test ! -s conftest.err
 
5128
       } && test -s conftest$ac_exeext &&
 
5129
       $as_test_x conftest$ac_exeext; then
4381
5130
  eval "kde_cv_prog_cxx_$kde_cache=yes"
4382
5131
else
4383
5132
  echo "$as_me: failed program was:" >&5
4384
5133
sed 's/^/| /' conftest.$ac_ext >&5
4385
5134
 
 
5135
 
4386
5136
fi
4387
 
rm -f conftest.err conftest.$ac_objext \
 
5137
 
 
5138
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4388
5139
      conftest$ac_exeext conftest.$ac_ext
4389
5140
  CXXFLAGS="$save_CXXFLAGS"
4390
5141
  ac_ext=c
4397
5148
fi
4398
5149
 
4399
5150
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4400
 
 echo "$as_me:$LINENO: result: yes" >&5
4401
 
echo "${ECHO_T}yes" >&6
 
5151
 { echo "$as_me:$LINENO: result: yes" >&5
 
5152
echo "${ECHO_T}yes" >&6; }
4402
5153
 :
4403
5154
 WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
4404
5155
else
4405
 
 echo "$as_me:$LINENO: result: no" >&5
4406
 
echo "${ECHO_T}no" >&6
 
5156
 { echo "$as_me:$LINENO: result: no" >&5
 
5157
echo "${ECHO_T}no" >&6; }
4407
5158
 :
4408
5159
 WOVERLOADED_VRITUAL=""
4409
5160
fi
4424
5175
 
4425
5176
  if test "$kde_use_profiling" = "yes"; then
4426
5177
 
4427
 
echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
4428
 
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6
 
5178
{ echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
 
5179
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6; }
4429
5180
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
4430
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5181
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4431
5182
  echo $ECHO_N "(cached) $ECHO_C" >&6
4432
5183
else
4433
5184
 
4434
5185
 
4435
 
 
4436
 
   ac_ext=cc
 
5186
   ac_ext=cpp
4437
5187
ac_cpp='$CXXCPP $CPPFLAGS'
4438
5188
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4439
5189
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4460
5210
}
4461
5211
_ACEOF
4462
5212
rm -f conftest.$ac_objext conftest$ac_exeext
4463
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4464
 
  (eval $ac_link) 2>conftest.er1
 
5213
if { (ac_try="$ac_link"
 
5214
case "(($ac_try" in
 
5215
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5216
  *) ac_try_echo=$ac_try;;
 
5217
esac
 
5218
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5219
  (eval "$ac_link") 2>conftest.er1
4465
5220
  ac_status=$?
4466
5221
  grep -v '^ *+' conftest.er1 >conftest.err
4467
5222
  rm -f conftest.er1
4468
5223
  cat conftest.err >&5
4469
5224
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470
 
  (exit $ac_status); } &&
4471
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4472
 
                         || test ! -s conftest.err'
4473
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4474
 
  (eval $ac_try) 2>&5
4475
 
  ac_status=$?
4476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477
 
  (exit $ac_status); }; } &&
4478
 
         { ac_try='test -s conftest$ac_exeext'
4479
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480
 
  (eval $ac_try) 2>&5
4481
 
  ac_status=$?
4482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483
 
  (exit $ac_status); }; }; then
 
5225
  (exit $ac_status); } && {
 
5226
         test -z "$ac_cxx_werror_flag" ||
 
5227
         test ! -s conftest.err
 
5228
       } && test -s conftest$ac_exeext &&
 
5229
       $as_test_x conftest$ac_exeext; then
4484
5230
  eval "kde_cv_prog_cxx_$kde_cache=yes"
4485
5231
else
4486
5232
  echo "$as_me: failed program was:" >&5
4487
5233
sed 's/^/| /' conftest.$ac_ext >&5
4488
5234
 
 
5235
 
4489
5236
fi
4490
 
rm -f conftest.err conftest.$ac_objext \
 
5237
 
 
5238
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4491
5239
      conftest$ac_exeext conftest.$ac_ext
4492
5240
  CXXFLAGS="$save_CXXFLAGS"
4493
5241
  ac_ext=c
4500
5248
fi
4501
5249
 
4502
5250
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4503
 
 echo "$as_me:$LINENO: result: yes" >&5
4504
 
echo "${ECHO_T}yes" >&6
 
5251
 { echo "$as_me:$LINENO: result: yes" >&5
 
5252
echo "${ECHO_T}yes" >&6; }
4505
5253
 :
4506
5254
 
4507
5255
      CFLAGS="-pg $CFLAGS"
4508
5256
      CXXFLAGS="-pg $CXXFLAGS"
4509
5257
 
4510
5258
else
4511
 
 echo "$as_me:$LINENO: result: no" >&5
4512
 
echo "${ECHO_T}no" >&6
 
5259
 { echo "$as_me:$LINENO: result: no" >&5
 
5260
echo "${ECHO_T}no" >&6; }
4513
5261
 :
4514
5262
 
4515
5263
fi
4518
5266
 
4519
5267
  if test "$kde_use_warnings" = "yes"; then
4520
5268
      if test "$GCC" = "yes"; then
4521
 
        CXXFLAGS="-Wall -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
 
5269
        CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
4522
5270
        case $host in
4523
5271
          *-*-linux-gnu)
4524
 
            CFLAGS="-ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
4525
 
            CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
 
5272
            CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
 
5273
            CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS"
4526
5274
 
4527
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
4528
 
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6
 
5275
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
 
5276
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6; }
4529
5277
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
4530
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5278
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4531
5279
  echo $ECHO_N "(cached) $ECHO_C" >&6
4532
5280
else
4533
5281
 
4534
5282
 
4535
 
 
4536
 
   ac_ext=cc
 
5283
   ac_ext=cpp
4537
5284
ac_cpp='$CXXCPP $CPPFLAGS'
4538
5285
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4539
5286
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560
5307
}
4561
5308
_ACEOF
4562
5309
rm -f conftest.$ac_objext conftest$ac_exeext
4563
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4564
 
  (eval $ac_link) 2>conftest.er1
 
5310
if { (ac_try="$ac_link"
 
5311
case "(($ac_try" in
 
5312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5313
  *) ac_try_echo=$ac_try;;
 
5314
esac
 
5315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5316
  (eval "$ac_link") 2>conftest.er1
4565
5317
  ac_status=$?
4566
5318
  grep -v '^ *+' conftest.er1 >conftest.err
4567
5319
  rm -f conftest.er1
4568
5320
  cat conftest.err >&5
4569
5321
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570
 
  (exit $ac_status); } &&
4571
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4572
 
                         || test ! -s conftest.err'
4573
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574
 
  (eval $ac_try) 2>&5
4575
 
  ac_status=$?
4576
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577
 
  (exit $ac_status); }; } &&
4578
 
         { ac_try='test -s conftest$ac_exeext'
4579
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4580
 
  (eval $ac_try) 2>&5
4581
 
  ac_status=$?
4582
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583
 
  (exit $ac_status); }; }; then
 
5322
  (exit $ac_status); } && {
 
5323
         test -z "$ac_cxx_werror_flag" ||
 
5324
         test ! -s conftest.err
 
5325
       } && test -s conftest$ac_exeext &&
 
5326
       $as_test_x conftest$ac_exeext; then
4584
5327
  eval "kde_cv_prog_cxx_$kde_cache=yes"
4585
5328
else
4586
5329
  echo "$as_me: failed program was:" >&5
4587
5330
sed 's/^/| /' conftest.$ac_ext >&5
4588
5331
 
 
5332
 
4589
5333
fi
4590
 
rm -f conftest.err conftest.$ac_objext \
 
5334
 
 
5335
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4591
5336
      conftest$ac_exeext conftest.$ac_ext
4592
5337
  CXXFLAGS="$save_CXXFLAGS"
4593
5338
  ac_ext=c
4600
5345
fi
4601
5346
 
4602
5347
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4603
 
 echo "$as_me:$LINENO: result: yes" >&5
4604
 
echo "${ECHO_T}yes" >&6
 
5348
 { echo "$as_me:$LINENO: result: yes" >&5
 
5349
echo "${ECHO_T}yes" >&6; }
4605
5350
 :
4606
5351
 CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
4607
5352
else
4608
 
 echo "$as_me:$LINENO: result: no" >&5
4609
 
echo "${ECHO_T}no" >&6
 
5353
 { echo "$as_me:$LINENO: result: no" >&5
 
5354
echo "${ECHO_T}no" >&6; }
4610
5355
 :
4611
5356
 
4612
5357
fi
4613
5358
 
4614
5359
 
4615
 
echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
4616
 
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6
 
5360
{ echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
 
5361
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6; }
4617
5362
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
4618
 
if eval "test \"\${kde_cv_prog_cc_$kde_cache+set}\" = set"; then
 
5363
if { as_var=kde_cv_prog_cc_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4619
5364
  echo $ECHO_N "(cached) $ECHO_C" >&6
4620
5365
else
4621
5366
 
4622
5367
 
4623
 
 
4624
5368
  ac_ext=c
4625
5369
ac_cpp='$CPP $CPPFLAGS'
4626
5370
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4645
5389
}
4646
5390
_ACEOF
4647
5391
rm -f conftest.$ac_objext conftest$ac_exeext
4648
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4649
 
  (eval $ac_link) 2>conftest.er1
 
5392
if { (ac_try="$ac_link"
 
5393
case "(($ac_try" in
 
5394
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5395
  *) ac_try_echo=$ac_try;;
 
5396
esac
 
5397
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5398
  (eval "$ac_link") 2>conftest.er1
4650
5399
  ac_status=$?
4651
5400
  grep -v '^ *+' conftest.er1 >conftest.err
4652
5401
  rm -f conftest.er1
4653
5402
  cat conftest.err >&5
4654
5403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655
 
  (exit $ac_status); } &&
4656
 
         { ac_try='test -z "$ac_c_werror_flag"
4657
 
                         || test ! -s conftest.err'
4658
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659
 
  (eval $ac_try) 2>&5
4660
 
  ac_status=$?
4661
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662
 
  (exit $ac_status); }; } &&
4663
 
         { ac_try='test -s conftest$ac_exeext'
4664
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665
 
  (eval $ac_try) 2>&5
4666
 
  ac_status=$?
4667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668
 
  (exit $ac_status); }; }; then
 
5404
  (exit $ac_status); } && {
 
5405
         test -z "$ac_c_werror_flag" ||
 
5406
         test ! -s conftest.err
 
5407
       } && test -s conftest$ac_exeext &&
 
5408
       $as_test_x conftest$ac_exeext; then
4669
5409
  eval "kde_cv_prog_cc_$kde_cache=yes"
4670
5410
else
4671
5411
  echo "$as_me: failed program was:" >&5
4672
5412
sed 's/^/| /' conftest.$ac_ext >&5
4673
5413
 
 
5414
 
4674
5415
fi
4675
 
rm -f conftest.err conftest.$ac_objext \
 
5416
 
 
5417
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4676
5418
      conftest$ac_exeext conftest.$ac_ext
4677
5419
  CFLAGS="$save_CFLAGS"
4678
5420
  ac_ext=c
4685
5427
fi
4686
5428
 
4687
5429
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
4688
 
 echo "$as_me:$LINENO: result: yes" >&5
4689
 
echo "${ECHO_T}yes" >&6
 
5430
 { echo "$as_me:$LINENO: result: yes" >&5
 
5431
echo "${ECHO_T}yes" >&6; }
4690
5432
 :
4691
5433
 CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
4692
5434
else
4693
 
 echo "$as_me:$LINENO: result: no" >&5
4694
 
echo "${ECHO_T}no" >&6
 
5435
 { echo "$as_me:$LINENO: result: no" >&5
 
5436
echo "${ECHO_T}no" >&6; }
4695
5437
 :
4696
5438
 
4697
5439
fi
4699
5441
          ;;
4700
5442
        esac
4701
5443
 
4702
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
4703
 
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6
 
5444
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
 
5445
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6; }
4704
5446
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
4705
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5447
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4706
5448
  echo $ECHO_N "(cached) $ECHO_C" >&6
4707
5449
else
4708
5450
 
4709
5451
 
4710
 
 
4711
 
   ac_ext=cc
 
5452
   ac_ext=cpp
4712
5453
ac_cpp='$CXXCPP $CPPFLAGS'
4713
5454
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4714
5455
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735
5476
}
4736
5477
_ACEOF
4737
5478
rm -f conftest.$ac_objext conftest$ac_exeext
4738
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4739
 
  (eval $ac_link) 2>conftest.er1
 
5479
if { (ac_try="$ac_link"
 
5480
case "(($ac_try" in
 
5481
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5482
  *) ac_try_echo=$ac_try;;
 
5483
esac
 
5484
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5485
  (eval "$ac_link") 2>conftest.er1
4740
5486
  ac_status=$?
4741
5487
  grep -v '^ *+' conftest.er1 >conftest.err
4742
5488
  rm -f conftest.er1
4743
5489
  cat conftest.err >&5
4744
5490
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745
 
  (exit $ac_status); } &&
4746
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4747
 
                         || test ! -s conftest.err'
4748
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749
 
  (eval $ac_try) 2>&5
4750
 
  ac_status=$?
4751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752
 
  (exit $ac_status); }; } &&
4753
 
         { ac_try='test -s conftest$ac_exeext'
4754
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4755
 
  (eval $ac_try) 2>&5
4756
 
  ac_status=$?
4757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758
 
  (exit $ac_status); }; }; then
 
5491
  (exit $ac_status); } && {
 
5492
         test -z "$ac_cxx_werror_flag" ||
 
5493
         test ! -s conftest.err
 
5494
       } && test -s conftest$ac_exeext &&
 
5495
       $as_test_x conftest$ac_exeext; then
4759
5496
  eval "kde_cv_prog_cxx_$kde_cache=yes"
4760
5497
else
4761
5498
  echo "$as_me: failed program was:" >&5
4762
5499
sed 's/^/| /' conftest.$ac_ext >&5
4763
5500
 
 
5501
 
4764
5502
fi
4765
 
rm -f conftest.err conftest.$ac_objext \
 
5503
 
 
5504
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4766
5505
      conftest$ac_exeext conftest.$ac_ext
4767
5506
  CXXFLAGS="$save_CXXFLAGS"
4768
5507
  ac_ext=c
4775
5514
fi
4776
5515
 
4777
5516
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4778
 
 echo "$as_me:$LINENO: result: yes" >&5
4779
 
echo "${ECHO_T}yes" >&6
 
5517
 { echo "$as_me:$LINENO: result: yes" >&5
 
5518
echo "${ECHO_T}yes" >&6; }
4780
5519
 :
4781
5520
 CXXFLAGS="-Wundef $CXXFLAGS"
4782
5521
else
4783
 
 echo "$as_me:$LINENO: result: no" >&5
4784
 
echo "${ECHO_T}no" >&6
 
5522
 { echo "$as_me:$LINENO: result: no" >&5
 
5523
echo "${ECHO_T}no" >&6; }
4785
5524
 :
4786
5525
 
4787
5526
fi
4788
5527
 
4789
5528
 
4790
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
4791
 
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6
 
5529
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
 
5530
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6; }
4792
5531
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
4793
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5532
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4794
5533
  echo $ECHO_N "(cached) $ECHO_C" >&6
4795
5534
else
4796
5535
 
4797
5536
 
4798
 
 
4799
 
   ac_ext=cc
 
5537
   ac_ext=cpp
4800
5538
ac_cpp='$CXXCPP $CPPFLAGS'
4801
5539
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4802
5540
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4823
5561
}
4824
5562
_ACEOF
4825
5563
rm -f conftest.$ac_objext conftest$ac_exeext
4826
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4827
 
  (eval $ac_link) 2>conftest.er1
 
5564
if { (ac_try="$ac_link"
 
5565
case "(($ac_try" in
 
5566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5567
  *) ac_try_echo=$ac_try;;
 
5568
esac
 
5569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5570
  (eval "$ac_link") 2>conftest.er1
4828
5571
  ac_status=$?
4829
5572
  grep -v '^ *+' conftest.er1 >conftest.err
4830
5573
  rm -f conftest.er1
4831
5574
  cat conftest.err >&5
4832
5575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833
 
  (exit $ac_status); } &&
4834
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4835
 
                         || test ! -s conftest.err'
4836
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837
 
  (eval $ac_try) 2>&5
4838
 
  ac_status=$?
4839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840
 
  (exit $ac_status); }; } &&
4841
 
         { ac_try='test -s conftest$ac_exeext'
4842
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4843
 
  (eval $ac_try) 2>&5
4844
 
  ac_status=$?
4845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846
 
  (exit $ac_status); }; }; then
 
5576
  (exit $ac_status); } && {
 
5577
         test -z "$ac_cxx_werror_flag" ||
 
5578
         test ! -s conftest.err
 
5579
       } && test -s conftest$ac_exeext &&
 
5580
       $as_test_x conftest$ac_exeext; then
4847
5581
  eval "kde_cv_prog_cxx_$kde_cache=yes"
4848
5582
else
4849
5583
  echo "$as_me: failed program was:" >&5
4850
5584
sed 's/^/| /' conftest.$ac_ext >&5
4851
5585
 
 
5586
 
4852
5587
fi
4853
 
rm -f conftest.err conftest.$ac_objext \
 
5588
 
 
5589
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4854
5590
      conftest$ac_exeext conftest.$ac_ext
4855
5591
  CXXFLAGS="$save_CXXFLAGS"
4856
5592
  ac_ext=c
4863
5599
fi
4864
5600
 
4865
5601
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4866
 
 echo "$as_me:$LINENO: result: yes" >&5
4867
 
echo "${ECHO_T}yes" >&6
 
5602
 { echo "$as_me:$LINENO: result: yes" >&5
 
5603
echo "${ECHO_T}yes" >&6; }
4868
5604
 :
4869
5605
 CXXFLAGS="-Wno-long-long $CXXFLAGS"
4870
5606
else
4871
 
 echo "$as_me:$LINENO: result: no" >&5
4872
 
echo "${ECHO_T}no" >&6
 
5607
 { echo "$as_me:$LINENO: result: no" >&5
 
5608
echo "${ECHO_T}no" >&6; }
4873
5609
 :
4874
5610
 
4875
5611
fi
4876
5612
 
4877
5613
 
4878
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wnon-virtual-dtor" >&5
4879
 
echo $ECHO_N "checking whether $CXX supports -Wnon-virtual-dtor... $ECHO_C" >&6
4880
 
kde_cache=`echo Wnon-virtual-dtor | sed 'y% .=/+-,%____p__%'`
4881
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5614
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
 
5615
echo $ECHO_N "checking whether $CXX supports -Wno-non-virtual-dtor... $ECHO_C" >&6; }
 
5616
kde_cache=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
 
5617
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4882
5618
  echo $ECHO_N "(cached) $ECHO_C" >&6
4883
5619
else
4884
5620
 
4885
5621
 
4886
 
 
4887
 
   ac_ext=cc
 
5622
   ac_ext=cpp
4888
5623
ac_cpp='$CXXCPP $CPPFLAGS'
4889
5624
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4890
5625
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4894
5629
 
4895
5630
 
4896
5631
  save_CXXFLAGS="$CXXFLAGS"
4897
 
  CXXFLAGS="$CXXFLAGS -Wnon-virtual-dtor"
 
5632
  CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
4898
5633
  cat >conftest.$ac_ext <<_ACEOF
4899
5634
/* confdefs.h.  */
4900
5635
_ACEOF
4911
5646
}
4912
5647
_ACEOF
4913
5648
rm -f conftest.$ac_objext conftest$ac_exeext
4914
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4915
 
  (eval $ac_link) 2>conftest.er1
 
5649
if { (ac_try="$ac_link"
 
5650
case "(($ac_try" in
 
5651
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5652
  *) ac_try_echo=$ac_try;;
 
5653
esac
 
5654
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5655
  (eval "$ac_link") 2>conftest.er1
4916
5656
  ac_status=$?
4917
5657
  grep -v '^ *+' conftest.er1 >conftest.err
4918
5658
  rm -f conftest.er1
4919
5659
  cat conftest.err >&5
4920
5660
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921
 
  (exit $ac_status); } &&
4922
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4923
 
                         || test ! -s conftest.err'
4924
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4925
 
  (eval $ac_try) 2>&5
4926
 
  ac_status=$?
4927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928
 
  (exit $ac_status); }; } &&
4929
 
         { ac_try='test -s conftest$ac_exeext'
4930
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931
 
  (eval $ac_try) 2>&5
4932
 
  ac_status=$?
4933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934
 
  (exit $ac_status); }; }; then
 
5661
  (exit $ac_status); } && {
 
5662
         test -z "$ac_cxx_werror_flag" ||
 
5663
         test ! -s conftest.err
 
5664
       } && test -s conftest$ac_exeext &&
 
5665
       $as_test_x conftest$ac_exeext; then
4935
5666
  eval "kde_cv_prog_cxx_$kde_cache=yes"
4936
5667
else
4937
5668
  echo "$as_me: failed program was:" >&5
4938
5669
sed 's/^/| /' conftest.$ac_ext >&5
4939
5670
 
 
5671
 
4940
5672
fi
4941
 
rm -f conftest.err conftest.$ac_objext \
 
5673
 
 
5674
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4942
5675
      conftest$ac_exeext conftest.$ac_ext
4943
5676
  CXXFLAGS="$save_CXXFLAGS"
4944
5677
  ac_ext=c
4951
5684
fi
4952
5685
 
4953
5686
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4954
 
 echo "$as_me:$LINENO: result: yes" >&5
4955
 
echo "${ECHO_T}yes" >&6
 
5687
 { echo "$as_me:$LINENO: result: yes" >&5
 
5688
echo "${ECHO_T}yes" >&6; }
4956
5689
 :
4957
 
 CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"
 
5690
 CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
4958
5691
else
4959
 
 echo "$as_me:$LINENO: result: no" >&5
4960
 
echo "${ECHO_T}no" >&6
 
5692
 { echo "$as_me:$LINENO: result: no" >&5
 
5693
echo "${ECHO_T}no" >&6; }
4961
5694
 :
4962
5695
 
4963
5696
fi
4969
5702
    CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
4970
5703
  fi
4971
5704
 
 
5705
  # Check whether --enable-pch was given.
 
5706
if test "${enable_pch+set}" = set; then
 
5707
  enableval=$enable_pch;  kde_use_pch=$enableval
 
5708
else
 
5709
   kde_use_pch=no
 
5710
fi
 
5711
 
 
5712
 
 
5713
  HAVE_GCC_VISIBILITY=0
 
5714
 
 
5715
 
4972
5716
  if test "$GXX" = "yes"; then
4973
 
 
4974
 
echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
4975
 
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6
 
5717
    gcc_no_reorder_blocks=NO
 
5718
 
 
5719
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-reorder-blocks" >&5
 
5720
echo $ECHO_N "checking whether $CXX supports -fno-reorder-blocks... $ECHO_C" >&6; }
 
5721
kde_cache=`echo fno-reorder-blocks | sed 'y% .=/+-,%____p__%'`
 
5722
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
 
5723
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5724
else
 
5725
 
 
5726
 
 
5727
   ac_ext=cpp
 
5728
ac_cpp='$CXXCPP $CPPFLAGS'
 
5729
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5730
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5731
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
5732
 
 
5733
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
5734
 
 
5735
 
 
5736
  save_CXXFLAGS="$CXXFLAGS"
 
5737
  CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
 
5738
  cat >conftest.$ac_ext <<_ACEOF
 
5739
/* confdefs.h.  */
 
5740
_ACEOF
 
5741
cat confdefs.h >>conftest.$ac_ext
 
5742
cat >>conftest.$ac_ext <<_ACEOF
 
5743
/* end confdefs.h.  */
 
5744
 
 
5745
int
 
5746
main ()
 
5747
{
 
5748
 return 0;
 
5749
  ;
 
5750
  return 0;
 
5751
}
 
5752
_ACEOF
 
5753
rm -f conftest.$ac_objext conftest$ac_exeext
 
5754
if { (ac_try="$ac_link"
 
5755
case "(($ac_try" in
 
5756
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5757
  *) ac_try_echo=$ac_try;;
 
5758
esac
 
5759
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5760
  (eval "$ac_link") 2>conftest.er1
 
5761
  ac_status=$?
 
5762
  grep -v '^ *+' conftest.er1 >conftest.err
 
5763
  rm -f conftest.er1
 
5764
  cat conftest.err >&5
 
5765
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5766
  (exit $ac_status); } && {
 
5767
         test -z "$ac_cxx_werror_flag" ||
 
5768
         test ! -s conftest.err
 
5769
       } && test -s conftest$ac_exeext &&
 
5770
       $as_test_x conftest$ac_exeext; then
 
5771
  eval "kde_cv_prog_cxx_$kde_cache=yes"
 
5772
else
 
5773
  echo "$as_me: failed program was:" >&5
 
5774
sed 's/^/| /' conftest.$ac_ext >&5
 
5775
 
 
5776
 
 
5777
fi
 
5778
 
 
5779
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5780
      conftest$ac_exeext conftest.$ac_ext
 
5781
  CXXFLAGS="$save_CXXFLAGS"
 
5782
  ac_ext=c
 
5783
ac_cpp='$CPP $CPPFLAGS'
 
5784
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5785
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5786
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5787
 
 
5788
 
 
5789
fi
 
5790
 
 
5791
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
 
5792
 { echo "$as_me:$LINENO: result: yes" >&5
 
5793
echo "${ECHO_T}yes" >&6; }
 
5794
 :
 
5795
 gcc_no_reorder_blocks=YES
 
5796
else
 
5797
 { echo "$as_me:$LINENO: result: no" >&5
 
5798
echo "${ECHO_T}no" >&6; }
 
5799
 :
 
5800
 
 
5801
fi
 
5802
 
 
5803
    if test $kde_use_debug_code != "no" && \
 
5804
       test $kde_use_debug_code != "full" && \
 
5805
       test "YES" = "$gcc_no_reorder_blocks" ; then
 
5806
          CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
 
5807
          CFLAGS="$CFLAGS -fno-reorder-blocks"
 
5808
    fi
 
5809
 
 
5810
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
 
5811
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6; }
4976
5812
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
4977
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5813
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4978
5814
  echo $ECHO_N "(cached) $ECHO_C" >&6
4979
5815
else
4980
5816
 
4981
5817
 
4982
 
 
4983
 
   ac_ext=cc
 
5818
   ac_ext=cpp
4984
5819
ac_cpp='$CXXCPP $CPPFLAGS'
4985
5820
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4986
5821
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5007
5842
}
5008
5843
_ACEOF
5009
5844
rm -f conftest.$ac_objext conftest$ac_exeext
5010
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5011
 
  (eval $ac_link) 2>conftest.er1
 
5845
if { (ac_try="$ac_link"
 
5846
case "(($ac_try" in
 
5847
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5848
  *) ac_try_echo=$ac_try;;
 
5849
esac
 
5850
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5851
  (eval "$ac_link") 2>conftest.er1
5012
5852
  ac_status=$?
5013
5853
  grep -v '^ *+' conftest.er1 >conftest.err
5014
5854
  rm -f conftest.er1
5015
5855
  cat conftest.err >&5
5016
5856
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017
 
  (exit $ac_status); } &&
5018
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5019
 
                         || test ! -s conftest.err'
5020
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021
 
  (eval $ac_try) 2>&5
5022
 
  ac_status=$?
5023
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024
 
  (exit $ac_status); }; } &&
5025
 
         { ac_try='test -s conftest$ac_exeext'
5026
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027
 
  (eval $ac_try) 2>&5
5028
 
  ac_status=$?
5029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030
 
  (exit $ac_status); }; }; then
 
5857
  (exit $ac_status); } && {
 
5858
         test -z "$ac_cxx_werror_flag" ||
 
5859
         test ! -s conftest.err
 
5860
       } && test -s conftest$ac_exeext &&
 
5861
       $as_test_x conftest$ac_exeext; then
5031
5862
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5032
5863
else
5033
5864
  echo "$as_me: failed program was:" >&5
5034
5865
sed 's/^/| /' conftest.$ac_ext >&5
5035
5866
 
 
5867
 
5036
5868
fi
5037
 
rm -f conftest.err conftest.$ac_objext \
 
5869
 
 
5870
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5038
5871
      conftest$ac_exeext conftest.$ac_ext
5039
5872
  CXXFLAGS="$save_CXXFLAGS"
5040
5873
  ac_ext=c
5047
5880
fi
5048
5881
 
5049
5882
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5050
 
 echo "$as_me:$LINENO: result: yes" >&5
5051
 
echo "${ECHO_T}yes" >&6
 
5883
 { echo "$as_me:$LINENO: result: yes" >&5
 
5884
echo "${ECHO_T}yes" >&6; }
5052
5885
 :
5053
5886
 CXXFLAGS="$CXXFLAGS -fno-exceptions"
5054
5887
else
5055
 
 echo "$as_me:$LINENO: result: no" >&5
5056
 
echo "${ECHO_T}no" >&6
 
5888
 { echo "$as_me:$LINENO: result: no" >&5
 
5889
echo "${ECHO_T}no" >&6; }
5057
5890
 :
5058
5891
 
5059
5892
fi
5060
5893
 
5061
5894
 
5062
 
echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5063
 
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6
 
5895
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
 
5896
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6; }
5064
5897
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5065
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5898
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5066
5899
  echo $ECHO_N "(cached) $ECHO_C" >&6
5067
5900
else
5068
5901
 
5069
5902
 
5070
 
 
5071
 
   ac_ext=cc
 
5903
   ac_ext=cpp
5072
5904
ac_cpp='$CXXCPP $CPPFLAGS'
5073
5905
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5074
5906
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5095
5927
}
5096
5928
_ACEOF
5097
5929
rm -f conftest.$ac_objext conftest$ac_exeext
5098
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5099
 
  (eval $ac_link) 2>conftest.er1
 
5930
if { (ac_try="$ac_link"
 
5931
case "(($ac_try" in
 
5932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5933
  *) ac_try_echo=$ac_try;;
 
5934
esac
 
5935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5936
  (eval "$ac_link") 2>conftest.er1
5100
5937
  ac_status=$?
5101
5938
  grep -v '^ *+' conftest.er1 >conftest.err
5102
5939
  rm -f conftest.er1
5103
5940
  cat conftest.err >&5
5104
5941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105
 
  (exit $ac_status); } &&
5106
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5107
 
                         || test ! -s conftest.err'
5108
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5109
 
  (eval $ac_try) 2>&5
5110
 
  ac_status=$?
5111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112
 
  (exit $ac_status); }; } &&
5113
 
         { ac_try='test -s conftest$ac_exeext'
5114
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5115
 
  (eval $ac_try) 2>&5
5116
 
  ac_status=$?
5117
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118
 
  (exit $ac_status); }; }; then
 
5942
  (exit $ac_status); } && {
 
5943
         test -z "$ac_cxx_werror_flag" ||
 
5944
         test ! -s conftest.err
 
5945
       } && test -s conftest$ac_exeext &&
 
5946
       $as_test_x conftest$ac_exeext; then
5119
5947
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5120
5948
else
5121
5949
  echo "$as_me: failed program was:" >&5
5122
5950
sed 's/^/| /' conftest.$ac_ext >&5
5123
5951
 
 
5952
 
5124
5953
fi
5125
 
rm -f conftest.err conftest.$ac_objext \
 
5954
 
 
5955
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5126
5956
      conftest$ac_exeext conftest.$ac_ext
5127
5957
  CXXFLAGS="$save_CXXFLAGS"
5128
5958
  ac_ext=c
5135
5965
fi
5136
5966
 
5137
5967
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5138
 
 echo "$as_me:$LINENO: result: yes" >&5
5139
 
echo "${ECHO_T}yes" >&6
 
5968
 { echo "$as_me:$LINENO: result: yes" >&5
 
5969
echo "${ECHO_T}yes" >&6; }
5140
5970
 :
5141
5971
 CXXFLAGS="$CXXFLAGS -fno-check-new"
5142
5972
else
5143
 
 echo "$as_me:$LINENO: result: no" >&5
5144
 
echo "${ECHO_T}no" >&6
 
5973
 { echo "$as_me:$LINENO: result: no" >&5
 
5974
echo "${ECHO_T}no" >&6; }
5145
5975
 :
5146
5976
 
5147
5977
fi
5148
5978
 
5149
5979
 
5150
 
echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5151
 
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6
 
5980
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
 
5981
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6; }
5152
5982
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5153
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
5983
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5154
5984
  echo $ECHO_N "(cached) $ECHO_C" >&6
5155
5985
else
5156
5986
 
5157
5987
 
5158
 
 
5159
 
   ac_ext=cc
 
5988
   ac_ext=cpp
5160
5989
ac_cpp='$CXXCPP $CPPFLAGS'
5161
5990
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5162
5991
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5183
6012
}
5184
6013
_ACEOF
5185
6014
rm -f conftest.$ac_objext conftest$ac_exeext
5186
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5187
 
  (eval $ac_link) 2>conftest.er1
 
6015
if { (ac_try="$ac_link"
 
6016
case "(($ac_try" in
 
6017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6018
  *) ac_try_echo=$ac_try;;
 
6019
esac
 
6020
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6021
  (eval "$ac_link") 2>conftest.er1
5188
6022
  ac_status=$?
5189
6023
  grep -v '^ *+' conftest.er1 >conftest.err
5190
6024
  rm -f conftest.er1
5191
6025
  cat conftest.err >&5
5192
6026
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193
 
  (exit $ac_status); } &&
5194
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5195
 
                         || test ! -s conftest.err'
5196
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197
 
  (eval $ac_try) 2>&5
5198
 
  ac_status=$?
5199
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200
 
  (exit $ac_status); }; } &&
5201
 
         { ac_try='test -s conftest$ac_exeext'
5202
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5203
 
  (eval $ac_try) 2>&5
5204
 
  ac_status=$?
5205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206
 
  (exit $ac_status); }; }; then
 
6027
  (exit $ac_status); } && {
 
6028
         test -z "$ac_cxx_werror_flag" ||
 
6029
         test ! -s conftest.err
 
6030
       } && test -s conftest$ac_exeext &&
 
6031
       $as_test_x conftest$ac_exeext; then
5207
6032
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5208
6033
else
5209
6034
  echo "$as_me: failed program was:" >&5
5210
6035
sed 's/^/| /' conftest.$ac_ext >&5
5211
6036
 
 
6037
 
5212
6038
fi
5213
 
rm -f conftest.err conftest.$ac_objext \
 
6039
 
 
6040
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5214
6041
      conftest$ac_exeext conftest.$ac_ext
5215
6042
  CXXFLAGS="$save_CXXFLAGS"
5216
6043
  ac_ext=c
5223
6050
fi
5224
6051
 
5225
6052
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5226
 
 echo "$as_me:$LINENO: result: yes" >&5
5227
 
echo "${ECHO_T}yes" >&6
 
6053
 { echo "$as_me:$LINENO: result: yes" >&5
 
6054
echo "${ECHO_T}yes" >&6; }
5228
6055
 :
5229
6056
 CXXFLAGS="$CXXFLAGS -fno-common"
5230
6057
else
5231
 
 echo "$as_me:$LINENO: result: no" >&5
5232
 
echo "${ECHO_T}no" >&6
 
6058
 { echo "$as_me:$LINENO: result: no" >&5
 
6059
echo "${ECHO_T}no" >&6; }
5233
6060
 :
5234
6061
 
5235
6062
fi
5236
6063
 
5237
6064
 
5238
 
echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
5239
 
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6
 
6065
{ echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
 
6066
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6; }
5240
6067
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
5241
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6068
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5242
6069
  echo $ECHO_N "(cached) $ECHO_C" >&6
5243
6070
else
5244
6071
 
5245
6072
 
5246
 
 
5247
 
   ac_ext=cc
 
6073
   ac_ext=cpp
5248
6074
ac_cpp='$CXXCPP $CPPFLAGS'
5249
6075
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5250
6076
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5271
6097
}
5272
6098
_ACEOF
5273
6099
rm -f conftest.$ac_objext conftest$ac_exeext
5274
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5275
 
  (eval $ac_link) 2>conftest.er1
 
6100
if { (ac_try="$ac_link"
 
6101
case "(($ac_try" in
 
6102
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6103
  *) ac_try_echo=$ac_try;;
 
6104
esac
 
6105
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6106
  (eval "$ac_link") 2>conftest.er1
5276
6107
  ac_status=$?
5277
6108
  grep -v '^ *+' conftest.er1 >conftest.err
5278
6109
  rm -f conftest.er1
5279
6110
  cat conftest.err >&5
5280
6111
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281
 
  (exit $ac_status); } &&
5282
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5283
 
                         || test ! -s conftest.err'
5284
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285
 
  (eval $ac_try) 2>&5
5286
 
  ac_status=$?
5287
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288
 
  (exit $ac_status); }; } &&
5289
 
         { ac_try='test -s conftest$ac_exeext'
5290
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5291
 
  (eval $ac_try) 2>&5
5292
 
  ac_status=$?
5293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294
 
  (exit $ac_status); }; }; then
 
6112
  (exit $ac_status); } && {
 
6113
         test -z "$ac_cxx_werror_flag" ||
 
6114
         test ! -s conftest.err
 
6115
       } && test -s conftest$ac_exeext &&
 
6116
       $as_test_x conftest$ac_exeext; then
5295
6117
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5296
6118
else
5297
6119
  echo "$as_me: failed program was:" >&5
5298
6120
sed 's/^/| /' conftest.$ac_ext >&5
5299
6121
 
 
6122
 
5300
6123
fi
5301
 
rm -f conftest.err conftest.$ac_objext \
 
6124
 
 
6125
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5302
6126
      conftest$ac_exeext conftest.$ac_ext
5303
6127
  CXXFLAGS="$save_CXXFLAGS"
5304
6128
  ac_ext=c
5311
6135
fi
5312
6136
 
5313
6137
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5314
 
 echo "$as_me:$LINENO: result: yes" >&5
5315
 
echo "${ECHO_T}yes" >&6
 
6138
 { echo "$as_me:$LINENO: result: yes" >&5
 
6139
echo "${ECHO_T}yes" >&6; }
5316
6140
 :
5317
6141
 USE_EXCEPTIONS="-fexceptions"
5318
6142
else
5319
 
 echo "$as_me:$LINENO: result: no" >&5
5320
 
echo "${ECHO_T}no" >&6
 
6143
 { echo "$as_me:$LINENO: result: no" >&5
 
6144
echo "${ECHO_T}no" >&6; }
5321
6145
 :
5322
6146
 USE_EXCEPTIONS=
5323
6147
fi
5324
6148
 
5325
6149
    ENABLE_PERMISSIVE_FLAG="-fpermissive"
5326
 
  fi
 
6150
 
 
6151
    if test "$kde_use_pch" = "yes"; then
 
6152
        { echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
 
6153
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6; }
 
6154
        echo >conftest.h
 
6155
        if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
 
6156
            kde_gcc_supports_pch=yes
 
6157
            { echo "$as_me:$LINENO: result: yes" >&5
 
6158
echo "${ECHO_T}yes" >&6; }
 
6159
        else
 
6160
            kde_gcc_supports_pch=no
 
6161
            { echo "$as_me:$LINENO: result: no" >&5
 
6162
echo "${ECHO_T}no" >&6; }
 
6163
        fi
 
6164
        if test "$kde_gcc_supports_pch" = "yes"; then
 
6165
            { echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
 
6166
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6; }
 
6167
            if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
 
6168
                kde_gcc_supports_pch=yes
 
6169
                { echo "$as_me:$LINENO: result: yes" >&5
 
6170
echo "${ECHO_T}yes" >&6; }
 
6171
            else
 
6172
                kde_gcc_supports_pch=no
 
6173
                { echo "$as_me:$LINENO: result: no" >&5
 
6174
echo "${ECHO_T}no" >&6; }
 
6175
            fi
 
6176
        fi
 
6177
        rm -f conftest.h conftest.h.gch
 
6178
    fi
 
6179
 
 
6180
 
 
6181
  { echo "$as_me:$LINENO: checking whether system headers can cope with -O2 -fno-inline" >&5
 
6182
echo $ECHO_N "checking whether system headers can cope with -O2 -fno-inline... $ECHO_C" >&6; }
 
6183
if test "${kde_cv_opt_noinline_match+set}" = set; then
 
6184
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6185
else
 
6186
 
 
6187
  kde_cv_opt_noinline_match=irrelevant
 
6188
    if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
 
6189
     && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
 
6190
 
 
6191
    ac_cflags_save="$CFLAGS"
 
6192
    CFLAGS="$CFLAGS -D_USE_GNU"
 
6193
 
 
6194
    cat >conftest.$ac_ext <<_ACEOF
 
6195
/* confdefs.h.  */
 
6196
_ACEOF
 
6197
cat confdefs.h >>conftest.$ac_ext
 
6198
cat >>conftest.$ac_ext <<_ACEOF
 
6199
/* end confdefs.h.  */
 
6200
 
 
6201
  #include <string.h>
 
6202
 
 
6203
int
 
6204
main ()
 
6205
{
 
6206
  const char *pt, *et;
 
6207
  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 ,  ";,"  )); }) ;
 
6208
 
 
6209
  ;
 
6210
  return 0;
 
6211
}
 
6212
_ACEOF
 
6213
rm -f conftest.$ac_objext conftest$ac_exeext
 
6214
if { (ac_try="$ac_link"
 
6215
case "(($ac_try" in
 
6216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6217
  *) ac_try_echo=$ac_try;;
 
6218
esac
 
6219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6220
  (eval "$ac_link") 2>conftest.er1
 
6221
  ac_status=$?
 
6222
  grep -v '^ *+' conftest.er1 >conftest.err
 
6223
  rm -f conftest.er1
 
6224
  cat conftest.err >&5
 
6225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6226
  (exit $ac_status); } && {
 
6227
         test -z "$ac_c_werror_flag" ||
 
6228
         test ! -s conftest.err
 
6229
       } && test -s conftest$ac_exeext &&
 
6230
       $as_test_x conftest$ac_exeext; then
 
6231
  kde_cv_opt_noinline_match=yes
 
6232
else
 
6233
  echo "$as_me: failed program was:" >&5
 
6234
sed 's/^/| /' conftest.$ac_ext >&5
 
6235
 
 
6236
        kde_cv_opt_noinline_match=no
 
6237
 
 
6238
fi
 
6239
 
 
6240
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6241
      conftest$ac_exeext conftest.$ac_ext
 
6242
 
 
6243
    CFLAGS="$ac_cflags_save"
 
6244
  fi
 
6245
 
 
6246
fi
 
6247
{ echo "$as_me:$LINENO: result: $kde_cv_opt_noinline_match" >&5
 
6248
echo "${ECHO_T}$kde_cv_opt_noinline_match" >&6; }
 
6249
 
 
6250
    if test "x$kde_cv_opt_noinline_match" = "xno" ; then
 
6251
       CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
 
6252
    fi
 
6253
  fi
 
6254
   if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
 
6255
  unsermake_enable_pch_TRUE=
 
6256
  unsermake_enable_pch_FALSE='#'
 
6257
else
 
6258
  unsermake_enable_pch_TRUE='#'
 
6259
  unsermake_enable_pch_FALSE=
 
6260
fi
 
6261
 
5327
6262
  if test "$CXX" = "KCC"; then
5328
6263
 
5329
 
    # Check whether --enable-pch or --disable-pch was given.
5330
 
if test "${enable_pch+set}" = set; then
5331
 
  enableval="$enable_pch"
5332
 
 
5333
 
      kde_use_pch=$enableval
5334
 
 
5335
 
else
5336
 
  kde_use_pch=no
5337
 
fi;
5338
 
 
5339
6264
    if test "$kde_use_pch" = "yes"; then
5340
6265
 
5341
 
echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
5342
 
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6
 
6266
{ echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
 
6267
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6; }
5343
6268
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
5344
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6269
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5345
6270
  echo $ECHO_N "(cached) $ECHO_C" >&6
5346
6271
else
5347
6272
 
5348
6273
 
5349
 
 
5350
 
   ac_ext=cc
 
6274
   ac_ext=cpp
5351
6275
ac_cpp='$CXXCPP $CPPFLAGS'
5352
6276
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5353
6277
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5374
6298
}
5375
6299
_ACEOF
5376
6300
rm -f conftest.$ac_objext conftest$ac_exeext
5377
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5378
 
  (eval $ac_link) 2>conftest.er1
 
6301
if { (ac_try="$ac_link"
 
6302
case "(($ac_try" in
 
6303
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6304
  *) ac_try_echo=$ac_try;;
 
6305
esac
 
6306
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6307
  (eval "$ac_link") 2>conftest.er1
5379
6308
  ac_status=$?
5380
6309
  grep -v '^ *+' conftest.er1 >conftest.err
5381
6310
  rm -f conftest.er1
5382
6311
  cat conftest.err >&5
5383
6312
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384
 
  (exit $ac_status); } &&
5385
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5386
 
                         || test ! -s conftest.err'
5387
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5388
 
  (eval $ac_try) 2>&5
5389
 
  ac_status=$?
5390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391
 
  (exit $ac_status); }; } &&
5392
 
         { ac_try='test -s conftest$ac_exeext'
5393
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5394
 
  (eval $ac_try) 2>&5
5395
 
  ac_status=$?
5396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397
 
  (exit $ac_status); }; }; then
 
6313
  (exit $ac_status); } && {
 
6314
         test -z "$ac_cxx_werror_flag" ||
 
6315
         test ! -s conftest.err
 
6316
       } && test -s conftest$ac_exeext &&
 
6317
       $as_test_x conftest$ac_exeext; then
5398
6318
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5399
6319
else
5400
6320
  echo "$as_me: failed program was:" >&5
5401
6321
sed 's/^/| /' conftest.$ac_ext >&5
5402
6322
 
 
6323
 
5403
6324
fi
5404
 
rm -f conftest.err conftest.$ac_objext \
 
6325
 
 
6326
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5405
6327
      conftest$ac_exeext conftest.$ac_ext
5406
6328
  CXXFLAGS="$save_CXXFLAGS"
5407
6329
  ac_ext=c
5414
6336
fi
5415
6337
 
5416
6338
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5417
 
 echo "$as_me:$LINENO: result: yes" >&5
5418
 
echo "${ECHO_T}yes" >&6
 
6339
 { echo "$as_me:$LINENO: result: yes" >&5
 
6340
echo "${ECHO_T}yes" >&6; }
5419
6341
 :
5420
6342
 CXXFLAGS="$CXXFLAGS --pch"
5421
6343
else
5422
 
 echo "$as_me:$LINENO: result: no" >&5
5423
 
echo "${ECHO_T}no" >&6
 
6344
 { echo "$as_me:$LINENO: result: no" >&5
 
6345
echo "${ECHO_T}no" >&6; }
5424
6346
 :
5425
6347
 
5426
6348
fi
5427
6349
 
5428
6350
                                              fi
5429
6351
 
5430
 
echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
5431
 
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6
 
6352
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
 
6353
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6; }
5432
6354
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
5433
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6355
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5434
6356
  echo $ECHO_N "(cached) $ECHO_C" >&6
5435
6357
else
5436
6358
 
5437
6359
 
5438
 
 
5439
 
   ac_ext=cc
 
6360
   ac_ext=cpp
5440
6361
ac_cpp='$CXXCPP $CPPFLAGS'
5441
6362
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5442
6363
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5463
6384
}
5464
6385
_ACEOF
5465
6386
rm -f conftest.$ac_objext conftest$ac_exeext
5466
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5467
 
  (eval $ac_link) 2>conftest.er1
 
6387
if { (ac_try="$ac_link"
 
6388
case "(($ac_try" in
 
6389
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6390
  *) ac_try_echo=$ac_try;;
 
6391
esac
 
6392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6393
  (eval "$ac_link") 2>conftest.er1
5468
6394
  ac_status=$?
5469
6395
  grep -v '^ *+' conftest.er1 >conftest.err
5470
6396
  rm -f conftest.er1
5471
6397
  cat conftest.err >&5
5472
6398
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473
 
  (exit $ac_status); } &&
5474
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5475
 
                         || test ! -s conftest.err'
5476
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5477
 
  (eval $ac_try) 2>&5
5478
 
  ac_status=$?
5479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480
 
  (exit $ac_status); }; } &&
5481
 
         { ac_try='test -s conftest$ac_exeext'
5482
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5483
 
  (eval $ac_try) 2>&5
5484
 
  ac_status=$?
5485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486
 
  (exit $ac_status); }; }; then
 
6399
  (exit $ac_status); } && {
 
6400
         test -z "$ac_cxx_werror_flag" ||
 
6401
         test ! -s conftest.err
 
6402
       } && test -s conftest$ac_exeext &&
 
6403
       $as_test_x conftest$ac_exeext; then
5487
6404
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5488
6405
else
5489
6406
  echo "$as_me: failed program was:" >&5
5490
6407
sed 's/^/| /' conftest.$ac_ext >&5
5491
6408
 
 
6409
 
5492
6410
fi
5493
 
rm -f conftest.err conftest.$ac_objext \
 
6411
 
 
6412
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5494
6413
      conftest$ac_exeext conftest.$ac_ext
5495
6414
  CXXFLAGS="$save_CXXFLAGS"
5496
6415
  ac_ext=c
5503
6422
fi
5504
6423
 
5505
6424
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5506
 
 echo "$as_me:$LINENO: result: yes" >&5
5507
 
echo "${ECHO_T}yes" >&6
 
6425
 { echo "$as_me:$LINENO: result: yes" >&5
 
6426
echo "${ECHO_T}yes" >&6; }
5508
6427
 :
5509
6428
 CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
5510
6429
else
5511
 
 echo "$as_me:$LINENO: result: no" >&5
5512
 
echo "${ECHO_T}no" >&6
 
6430
 { echo "$as_me:$LINENO: result: no" >&5
 
6431
echo "${ECHO_T}no" >&6; }
5513
6432
 :
5514
6433
 
5515
6434
fi
5516
6435
 
5517
6436
 
5518
 
echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
5519
 
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6
 
6437
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
 
6438
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6; }
5520
6439
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
5521
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6440
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5522
6441
  echo $ECHO_N "(cached) $ECHO_C" >&6
5523
6442
else
5524
6443
 
5525
6444
 
5526
 
 
5527
 
   ac_ext=cc
 
6445
   ac_ext=cpp
5528
6446
ac_cpp='$CXXCPP $CPPFLAGS'
5529
6447
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5530
6448
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5551
6469
}
5552
6470
_ACEOF
5553
6471
rm -f conftest.$ac_objext conftest$ac_exeext
5554
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5555
 
  (eval $ac_link) 2>conftest.er1
 
6472
if { (ac_try="$ac_link"
 
6473
case "(($ac_try" in
 
6474
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6475
  *) ac_try_echo=$ac_try;;
 
6476
esac
 
6477
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6478
  (eval "$ac_link") 2>conftest.er1
5556
6479
  ac_status=$?
5557
6480
  grep -v '^ *+' conftest.er1 >conftest.err
5558
6481
  rm -f conftest.er1
5559
6482
  cat conftest.err >&5
5560
6483
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561
 
  (exit $ac_status); } &&
5562
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5563
 
                         || test ! -s conftest.err'
5564
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5565
 
  (eval $ac_try) 2>&5
5566
 
  ac_status=$?
5567
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568
 
  (exit $ac_status); }; } &&
5569
 
         { ac_try='test -s conftest$ac_exeext'
5570
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5571
 
  (eval $ac_try) 2>&5
5572
 
  ac_status=$?
5573
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574
 
  (exit $ac_status); }; }; then
 
6484
  (exit $ac_status); } && {
 
6485
         test -z "$ac_cxx_werror_flag" ||
 
6486
         test ! -s conftest.err
 
6487
       } && test -s conftest$ac_exeext &&
 
6488
       $as_test_x conftest$ac_exeext; then
5575
6489
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5576
6490
else
5577
6491
  echo "$as_me: failed program was:" >&5
5578
6492
sed 's/^/| /' conftest.$ac_ext >&5
5579
6493
 
 
6494
 
5580
6495
fi
5581
 
rm -f conftest.err conftest.$ac_objext \
 
6496
 
 
6497
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5582
6498
      conftest$ac_exeext conftest.$ac_ext
5583
6499
  CXXFLAGS="$save_CXXFLAGS"
5584
6500
  ac_ext=c
5591
6507
fi
5592
6508
 
5593
6509
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5594
 
 echo "$as_me:$LINENO: result: yes" >&5
5595
 
echo "${ECHO_T}yes" >&6
 
6510
 { echo "$as_me:$LINENO: result: yes" >&5
 
6511
echo "${ECHO_T}yes" >&6; }
5596
6512
 :
5597
6513
 CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
5598
6514
else
5599
 
 echo "$as_me:$LINENO: result: no" >&5
5600
 
echo "${ECHO_T}no" >&6
 
6515
 { echo "$as_me:$LINENO: result: no" >&5
 
6516
echo "${ECHO_T}no" >&6; }
5601
6517
 :
5602
6518
 
5603
6519
fi
5604
6520
 
5605
6521
 
5606
 
echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
5607
 
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6
 
6522
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
 
6523
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6; }
5608
6524
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5609
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6525
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5610
6526
  echo $ECHO_N "(cached) $ECHO_C" >&6
5611
6527
else
5612
6528
 
5613
6529
 
5614
 
 
5615
 
   ac_ext=cc
 
6530
   ac_ext=cpp
5616
6531
ac_cpp='$CXXCPP $CPPFLAGS'
5617
6532
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5618
6533
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5639
6554
}
5640
6555
_ACEOF
5641
6556
rm -f conftest.$ac_objext conftest$ac_exeext
5642
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5643
 
  (eval $ac_link) 2>conftest.er1
 
6557
if { (ac_try="$ac_link"
 
6558
case "(($ac_try" in
 
6559
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6560
  *) ac_try_echo=$ac_try;;
 
6561
esac
 
6562
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6563
  (eval "$ac_link") 2>conftest.er1
5644
6564
  ac_status=$?
5645
6565
  grep -v '^ *+' conftest.er1 >conftest.err
5646
6566
  rm -f conftest.er1
5647
6567
  cat conftest.err >&5
5648
6568
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649
 
  (exit $ac_status); } &&
5650
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5651
 
                         || test ! -s conftest.err'
5652
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5653
 
  (eval $ac_try) 2>&5
5654
 
  ac_status=$?
5655
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656
 
  (exit $ac_status); }; } &&
5657
 
         { ac_try='test -s conftest$ac_exeext'
5658
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659
 
  (eval $ac_try) 2>&5
5660
 
  ac_status=$?
5661
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662
 
  (exit $ac_status); }; }; then
 
6569
  (exit $ac_status); } && {
 
6570
         test -z "$ac_cxx_werror_flag" ||
 
6571
         test ! -s conftest.err
 
6572
       } && test -s conftest$ac_exeext &&
 
6573
       $as_test_x conftest$ac_exeext; then
5663
6574
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5664
6575
else
5665
6576
  echo "$as_me: failed program was:" >&5
5666
6577
sed 's/^/| /' conftest.$ac_ext >&5
5667
6578
 
 
6579
 
5668
6580
fi
5669
 
rm -f conftest.err conftest.$ac_objext \
 
6581
 
 
6582
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5670
6583
      conftest$ac_exeext conftest.$ac_ext
5671
6584
  CXXFLAGS="$save_CXXFLAGS"
5672
6585
  ac_ext=c
5679
6592
fi
5680
6593
 
5681
6594
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5682
 
 echo "$as_me:$LINENO: result: yes" >&5
5683
 
echo "${ECHO_T}yes" >&6
 
6595
 { echo "$as_me:$LINENO: result: yes" >&5
 
6596
echo "${ECHO_T}yes" >&6; }
5684
6597
 :
5685
6598
 CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
5686
6599
else
5687
 
 echo "$as_me:$LINENO: result: no" >&5
5688
 
echo "${ECHO_T}no" >&6
 
6600
 { echo "$as_me:$LINENO: result: no" >&5
 
6601
echo "${ECHO_T}no" >&6; }
5689
6602
 :
5690
6603
 
5691
6604
fi
5692
6605
 
5693
6606
 
5694
 
echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
5695
 
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6
 
6607
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
 
6608
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6; }
5696
6609
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5697
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6610
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5698
6611
  echo $ECHO_N "(cached) $ECHO_C" >&6
5699
6612
else
5700
6613
 
5701
6614
 
5702
 
 
5703
 
   ac_ext=cc
 
6615
   ac_ext=cpp
5704
6616
ac_cpp='$CXXCPP $CPPFLAGS'
5705
6617
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5706
6618
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5727
6639
}
5728
6640
_ACEOF
5729
6641
rm -f conftest.$ac_objext conftest$ac_exeext
5730
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5731
 
  (eval $ac_link) 2>conftest.er1
 
6642
if { (ac_try="$ac_link"
 
6643
case "(($ac_try" in
 
6644
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6645
  *) ac_try_echo=$ac_try;;
 
6646
esac
 
6647
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6648
  (eval "$ac_link") 2>conftest.er1
5732
6649
  ac_status=$?
5733
6650
  grep -v '^ *+' conftest.er1 >conftest.err
5734
6651
  rm -f conftest.er1
5735
6652
  cat conftest.err >&5
5736
6653
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737
 
  (exit $ac_status); } &&
5738
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5739
 
                         || test ! -s conftest.err'
5740
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741
 
  (eval $ac_try) 2>&5
5742
 
  ac_status=$?
5743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744
 
  (exit $ac_status); }; } &&
5745
 
         { ac_try='test -s conftest$ac_exeext'
5746
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747
 
  (eval $ac_try) 2>&5
5748
 
  ac_status=$?
5749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750
 
  (exit $ac_status); }; }; then
 
6654
  (exit $ac_status); } && {
 
6655
         test -z "$ac_cxx_werror_flag" ||
 
6656
         test ! -s conftest.err
 
6657
       } && test -s conftest$ac_exeext &&
 
6658
       $as_test_x conftest$ac_exeext; then
5751
6659
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5752
6660
else
5753
6661
  echo "$as_me: failed program was:" >&5
5754
6662
sed 's/^/| /' conftest.$ac_ext >&5
5755
6663
 
 
6664
 
5756
6665
fi
5757
 
rm -f conftest.err conftest.$ac_objext \
 
6666
 
 
6667
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5758
6668
      conftest$ac_exeext conftest.$ac_ext
5759
6669
  CXXFLAGS="$save_CXXFLAGS"
5760
6670
  ac_ext=c
5767
6677
fi
5768
6678
 
5769
6679
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5770
 
 echo "$as_me:$LINENO: result: yes" >&5
5771
 
echo "${ECHO_T}yes" >&6
 
6680
 { echo "$as_me:$LINENO: result: yes" >&5
 
6681
echo "${ECHO_T}yes" >&6; }
5772
6682
 :
5773
6683
 CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
5774
6684
else
5775
 
 echo "$as_me:$LINENO: result: no" >&5
5776
 
echo "${ECHO_T}no" >&6
 
6685
 { echo "$as_me:$LINENO: result: no" >&5
 
6686
echo "${ECHO_T}no" >&6; }
5777
6687
 :
5778
6688
 
5779
6689
fi
5780
6690
 
5781
6691
 
5782
 
echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
5783
 
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6
 
6692
{ echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
 
6693
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6; }
5784
6694
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
5785
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
6695
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5786
6696
  echo $ECHO_N "(cached) $ECHO_C" >&6
5787
6697
else
5788
6698
 
5789
6699
 
5790
 
 
5791
 
   ac_ext=cc
 
6700
   ac_ext=cpp
5792
6701
ac_cpp='$CXXCPP $CPPFLAGS'
5793
6702
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5794
6703
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5815
6724
}
5816
6725
_ACEOF
5817
6726
rm -f conftest.$ac_objext conftest$ac_exeext
5818
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5819
 
  (eval $ac_link) 2>conftest.er1
 
6727
if { (ac_try="$ac_link"
 
6728
case "(($ac_try" in
 
6729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6730
  *) ac_try_echo=$ac_try;;
 
6731
esac
 
6732
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6733
  (eval "$ac_link") 2>conftest.er1
5820
6734
  ac_status=$?
5821
6735
  grep -v '^ *+' conftest.er1 >conftest.err
5822
6736
  rm -f conftest.er1
5823
6737
  cat conftest.err >&5
5824
6738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825
 
  (exit $ac_status); } &&
5826
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5827
 
                         || test ! -s conftest.err'
5828
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5829
 
  (eval $ac_try) 2>&5
5830
 
  ac_status=$?
5831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832
 
  (exit $ac_status); }; } &&
5833
 
         { ac_try='test -s conftest$ac_exeext'
5834
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5835
 
  (eval $ac_try) 2>&5
5836
 
  ac_status=$?
5837
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838
 
  (exit $ac_status); }; }; then
 
6739
  (exit $ac_status); } && {
 
6740
         test -z "$ac_cxx_werror_flag" ||
 
6741
         test ! -s conftest.err
 
6742
       } && test -s conftest$ac_exeext &&
 
6743
       $as_test_x conftest$ac_exeext; then
5839
6744
  eval "kde_cv_prog_cxx_$kde_cache=yes"
5840
6745
else
5841
6746
  echo "$as_me: failed program was:" >&5
5842
6747
sed 's/^/| /' conftest.$ac_ext >&5
5843
6748
 
 
6749
 
5844
6750
fi
5845
 
rm -f conftest.err conftest.$ac_objext \
 
6751
 
 
6752
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5846
6753
      conftest$ac_exeext conftest.$ac_ext
5847
6754
  CXXFLAGS="$save_CXXFLAGS"
5848
6755
  ac_ext=c
5855
6762
fi
5856
6763
 
5857
6764
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5858
 
 echo "$as_me:$LINENO: result: yes" >&5
5859
 
echo "${ECHO_T}yes" >&6
 
6765
 { echo "$as_me:$LINENO: result: yes" >&5
 
6766
echo "${ECHO_T}yes" >&6; }
5860
6767
 :
5861
6768
 CXXFLAGS="$CXXFLAGS --one_per"
5862
6769
else
5863
 
 echo "$as_me:$LINENO: result: no" >&5
5864
 
echo "${ECHO_T}no" >&6
 
6770
 { echo "$as_me:$LINENO: result: no" >&5
 
6771
echo "${ECHO_T}no" >&6; }
5865
6772
 :
5866
6773
 
5867
6774
fi
5968
6875
fi
5969
6876
 
5970
6877
 
5971
 
  ac_ext=cc
 
6878
  ac_ext=cpp
5972
6879
ac_cpp='$CXXCPP $CPPFLAGS'
5973
6880
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5974
6881
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5975
6882
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5976
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5977
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
6883
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6884
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5978
6885
if test -z "$CXXCPP"; then
5979
6886
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5980
6887
  echo $ECHO_N "(cached) $ECHO_C" >&6
6004
6911
#endif
6005
6912
                     Syntax error
6006
6913
_ACEOF
6007
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6008
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6914
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6915
case "(($ac_try" in
 
6916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6917
  *) ac_try_echo=$ac_try;;
 
6918
esac
 
6919
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6920
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6009
6921
  ac_status=$?
6010
6922
  grep -v '^ *+' conftest.er1 >conftest.err
6011
6923
  rm -f conftest.er1
6012
6924
  cat conftest.err >&5
6013
6925
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014
 
  (exit $ac_status); } >/dev/null; then
6015
 
  if test -s conftest.err; then
6016
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6017
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6018
 
  else
6019
 
    ac_cpp_err=
6020
 
  fi
6021
 
else
6022
 
  ac_cpp_err=yes
6023
 
fi
6024
 
if test -z "$ac_cpp_err"; then
 
6926
  (exit $ac_status); } >/dev/null && {
 
6927
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6928
         test ! -s conftest.err
 
6929
       }; then
6025
6930
  :
6026
6931
else
6027
6932
  echo "$as_me: failed program was:" >&5
6030
6935
  # Broken: fails on valid input.
6031
6936
continue
6032
6937
fi
 
6938
 
6033
6939
rm -f conftest.err conftest.$ac_ext
6034
6940
 
6035
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6941
  # OK, works on sane cases.  Now check whether nonexistent headers
6036
6942
  # can be detected and how.
6037
6943
  cat >conftest.$ac_ext <<_ACEOF
6038
6944
/* confdefs.h.  */
6042
6948
/* end confdefs.h.  */
6043
6949
#include <ac_nonexistent.h>
6044
6950
_ACEOF
6045
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6046
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6951
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6952
case "(($ac_try" in
 
6953
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6954
  *) ac_try_echo=$ac_try;;
 
6955
esac
 
6956
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6957
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6047
6958
  ac_status=$?
6048
6959
  grep -v '^ *+' conftest.er1 >conftest.err
6049
6960
  rm -f conftest.er1
6050
6961
  cat conftest.err >&5
6051
6962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052
 
  (exit $ac_status); } >/dev/null; then
6053
 
  if test -s conftest.err; then
6054
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6055
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6056
 
  else
6057
 
    ac_cpp_err=
6058
 
  fi
6059
 
else
6060
 
  ac_cpp_err=yes
6061
 
fi
6062
 
if test -z "$ac_cpp_err"; then
 
6963
  (exit $ac_status); } >/dev/null && {
 
6964
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6965
         test ! -s conftest.err
 
6966
       }; then
6063
6967
  # Broken: success on invalid input.
6064
6968
continue
6065
6969
else
6070
6974
ac_preproc_ok=:
6071
6975
break
6072
6976
fi
 
6977
 
6073
6978
rm -f conftest.err conftest.$ac_ext
6074
6979
 
6075
6980
done
6087
6992
else
6088
6993
  ac_cv_prog_CXXCPP=$CXXCPP
6089
6994
fi
6090
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
6091
 
echo "${ECHO_T}$CXXCPP" >&6
 
6995
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6996
echo "${ECHO_T}$CXXCPP" >&6; }
6092
6997
ac_preproc_ok=false
6093
6998
for ac_cxx_preproc_warn_flag in '' yes
6094
6999
do
6111
7016
#endif
6112
7017
                     Syntax error
6113
7018
_ACEOF
6114
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6115
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7019
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7020
case "(($ac_try" in
 
7021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7022
  *) ac_try_echo=$ac_try;;
 
7023
esac
 
7024
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7025
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6116
7026
  ac_status=$?
6117
7027
  grep -v '^ *+' conftest.er1 >conftest.err
6118
7028
  rm -f conftest.er1
6119
7029
  cat conftest.err >&5
6120
7030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6121
 
  (exit $ac_status); } >/dev/null; then
6122
 
  if test -s conftest.err; then
6123
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6124
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6125
 
  else
6126
 
    ac_cpp_err=
6127
 
  fi
6128
 
else
6129
 
  ac_cpp_err=yes
6130
 
fi
6131
 
if test -z "$ac_cpp_err"; then
 
7031
  (exit $ac_status); } >/dev/null && {
 
7032
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
7033
         test ! -s conftest.err
 
7034
       }; then
6132
7035
  :
6133
7036
else
6134
7037
  echo "$as_me: failed program was:" >&5
6137
7040
  # Broken: fails on valid input.
6138
7041
continue
6139
7042
fi
 
7043
 
6140
7044
rm -f conftest.err conftest.$ac_ext
6141
7045
 
6142
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
7046
  # OK, works on sane cases.  Now check whether nonexistent headers
6143
7047
  # can be detected and how.
6144
7048
  cat >conftest.$ac_ext <<_ACEOF
6145
7049
/* confdefs.h.  */
6149
7053
/* end confdefs.h.  */
6150
7054
#include <ac_nonexistent.h>
6151
7055
_ACEOF
6152
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6153
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7056
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7057
case "(($ac_try" in
 
7058
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7059
  *) ac_try_echo=$ac_try;;
 
7060
esac
 
7061
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7062
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6154
7063
  ac_status=$?
6155
7064
  grep -v '^ *+' conftest.er1 >conftest.err
6156
7065
  rm -f conftest.er1
6157
7066
  cat conftest.err >&5
6158
7067
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159
 
  (exit $ac_status); } >/dev/null; then
6160
 
  if test -s conftest.err; then
6161
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6162
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6163
 
  else
6164
 
    ac_cpp_err=
6165
 
  fi
6166
 
else
6167
 
  ac_cpp_err=yes
6168
 
fi
6169
 
if test -z "$ac_cpp_err"; then
 
7068
  (exit $ac_status); } >/dev/null && {
 
7069
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
7070
         test ! -s conftest.err
 
7071
       }; then
6170
7072
  # Broken: success on invalid input.
6171
7073
continue
6172
7074
else
6177
7079
ac_preproc_ok=:
6178
7080
break
6179
7081
fi
 
7082
 
6180
7083
rm -f conftest.err conftest.$ac_ext
6181
7084
 
6182
7085
done
6203
7106
     NOOPT_CFLAGS=-O0
6204
7107
  fi
6205
7108
 
6206
 
echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
6207
 
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6
 
7109
{ echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
 
7110
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6; }
6208
7111
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
6209
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
7112
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6210
7113
  echo $ECHO_N "(cached) $ECHO_C" >&6
6211
7114
else
6212
7115
 
6213
7116
 
6214
 
 
6215
 
   ac_ext=cc
 
7117
   ac_ext=cpp
6216
7118
ac_cpp='$CXXCPP $CPPFLAGS'
6217
7119
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6218
7120
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6239
7141
}
6240
7142
_ACEOF
6241
7143
rm -f conftest.$ac_objext conftest$ac_exeext
6242
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6243
 
  (eval $ac_link) 2>conftest.er1
 
7144
if { (ac_try="$ac_link"
 
7145
case "(($ac_try" in
 
7146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7147
  *) ac_try_echo=$ac_try;;
 
7148
esac
 
7149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7150
  (eval "$ac_link") 2>conftest.er1
6244
7151
  ac_status=$?
6245
7152
  grep -v '^ *+' conftest.er1 >conftest.err
6246
7153
  rm -f conftest.er1
6247
7154
  cat conftest.err >&5
6248
7155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249
 
  (exit $ac_status); } &&
6250
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6251
 
                         || test ! -s conftest.err'
6252
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253
 
  (eval $ac_try) 2>&5
6254
 
  ac_status=$?
6255
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256
 
  (exit $ac_status); }; } &&
6257
 
         { ac_try='test -s conftest$ac_exeext'
6258
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6259
 
  (eval $ac_try) 2>&5
6260
 
  ac_status=$?
6261
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262
 
  (exit $ac_status); }; }; then
 
7156
  (exit $ac_status); } && {
 
7157
         test -z "$ac_cxx_werror_flag" ||
 
7158
         test ! -s conftest.err
 
7159
       } && test -s conftest$ac_exeext &&
 
7160
       $as_test_x conftest$ac_exeext; then
6263
7161
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6264
7162
else
6265
7163
  echo "$as_me: failed program was:" >&5
6266
7164
sed 's/^/| /' conftest.$ac_ext >&5
6267
7165
 
 
7166
 
6268
7167
fi
6269
 
rm -f conftest.err conftest.$ac_objext \
 
7168
 
 
7169
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6270
7170
      conftest$ac_exeext conftest.$ac_ext
6271
7171
  CXXFLAGS="$save_CXXFLAGS"
6272
7172
  ac_ext=c
6279
7179
fi
6280
7180
 
6281
7181
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6282
 
 echo "$as_me:$LINENO: result: yes" >&5
6283
 
echo "${ECHO_T}yes" >&6
 
7182
 { echo "$as_me:$LINENO: result: yes" >&5
 
7183
echo "${ECHO_T}yes" >&6; }
6284
7184
 :
6285
7185
 NOOPT_CXXFLAGS=-O0
6286
7186
else
6287
 
 echo "$as_me:$LINENO: result: no" >&5
6288
 
echo "${ECHO_T}no" >&6
6289
 
 :
6290
 
 
6291
 
fi
6292
 
 
6293
 
 
6294
 
 
6295
 
 
6296
 
 
6297
 
 
6298
 
 
6299
 
  # Check whether --enable-final or --disable-final was given.
 
7187
 { echo "$as_me:$LINENO: result: no" >&5
 
7188
echo "${ECHO_T}no" >&6; }
 
7189
 :
 
7190
 
 
7191
fi
 
7192
 
 
7193
 
 
7194
  # Check whether --enable-coverage was given.
 
7195
if test "${enable_coverage+set}" = set; then
 
7196
  enableval=$enable_coverage;
 
7197
      if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
 
7198
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
 
7199
        ac_coverage_linker="-lgcc"
 
7200
      elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
 
7201
        ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
 
7202
        ac_coverage_linker=""
 
7203
      else
 
7204
        { { echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
 
7205
echo "$as_me: error: coverage with your compiler is not supported" >&2;}
 
7206
   { (exit 1); exit 1; }; }
 
7207
      fi
 
7208
      CFLAGS="$CFLAGS $ac_coverage_compiler"
 
7209
      CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
 
7210
      LDFLAGS="$LDFLAGS $ac_coverage_linker"
 
7211
 
 
7212
fi
 
7213
 
 
7214
 
 
7215
 
 
7216
 
 
7217
 
 
7218
 
 
7219
 
 
7220
  # Check whether --enable-new_ldflags was given.
 
7221
if test "${enable_new_ldflags+set}" = set; then
 
7222
  enableval=$enable_new_ldflags; kde_use_new_ldflags=$enableval
 
7223
else
 
7224
  kde_use_new_ldflags=no
 
7225
fi
 
7226
 
 
7227
 
 
7228
  LDFLAGS_AS_NEEDED=""
 
7229
  LDFLAGS_NEW_DTAGS=""
 
7230
  if test "x$kde_use_new_ldflags" = "xyes"; then
 
7231
       LDFLAGS_NEW_DTAGS=""
 
7232
 
 
7233
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
 
7234
echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
 
7235
kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
 
7236
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
 
7237
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7238
else
 
7239
 
 
7240
 
 
7241
   ac_ext=cpp
 
7242
ac_cpp='$CXXCPP $CPPFLAGS'
 
7243
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7244
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7245
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7246
 
 
7247
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
7248
 
 
7249
 
 
7250
  save_CXXFLAGS="$CXXFLAGS"
 
7251
  CXXFLAGS="$CXXFLAGS -Wl,--enable-new-dtags"
 
7252
  cat >conftest.$ac_ext <<_ACEOF
 
7253
/* confdefs.h.  */
 
7254
_ACEOF
 
7255
cat confdefs.h >>conftest.$ac_ext
 
7256
cat >>conftest.$ac_ext <<_ACEOF
 
7257
/* end confdefs.h.  */
 
7258
 
 
7259
int
 
7260
main ()
 
7261
{
 
7262
 return 0;
 
7263
  ;
 
7264
  return 0;
 
7265
}
 
7266
_ACEOF
 
7267
rm -f conftest.$ac_objext conftest$ac_exeext
 
7268
if { (ac_try="$ac_link"
 
7269
case "(($ac_try" in
 
7270
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7271
  *) ac_try_echo=$ac_try;;
 
7272
esac
 
7273
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7274
  (eval "$ac_link") 2>conftest.er1
 
7275
  ac_status=$?
 
7276
  grep -v '^ *+' conftest.er1 >conftest.err
 
7277
  rm -f conftest.er1
 
7278
  cat conftest.err >&5
 
7279
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7280
  (exit $ac_status); } && {
 
7281
         test -z "$ac_cxx_werror_flag" ||
 
7282
         test ! -s conftest.err
 
7283
       } && test -s conftest$ac_exeext &&
 
7284
       $as_test_x conftest$ac_exeext; then
 
7285
  eval "kde_cv_prog_cxx_$kde_cache=yes"
 
7286
else
 
7287
  echo "$as_me: failed program was:" >&5
 
7288
sed 's/^/| /' conftest.$ac_ext >&5
 
7289
 
 
7290
 
 
7291
fi
 
7292
 
 
7293
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7294
      conftest$ac_exeext conftest.$ac_ext
 
7295
  CXXFLAGS="$save_CXXFLAGS"
 
7296
  ac_ext=c
 
7297
ac_cpp='$CPP $CPPFLAGS'
 
7298
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7299
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7300
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7301
 
 
7302
 
 
7303
fi
 
7304
 
 
7305
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
 
7306
 { echo "$as_me:$LINENO: result: yes" >&5
 
7307
echo "${ECHO_T}yes" >&6; }
 
7308
 :
 
7309
 LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
 
7310
else
 
7311
 { echo "$as_me:$LINENO: result: no" >&5
 
7312
echo "${ECHO_T}no" >&6; }
 
7313
 :
 
7314
 
 
7315
fi
 
7316
 
 
7317
 
 
7318
 
 
7319
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
 
7320
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6; }
 
7321
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
 
7322
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
 
7323
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7324
else
 
7325
 
 
7326
 
 
7327
   ac_ext=cpp
 
7328
ac_cpp='$CXXCPP $CPPFLAGS'
 
7329
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7330
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7331
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7332
 
 
7333
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
7334
 
 
7335
 
 
7336
  save_CXXFLAGS="$CXXFLAGS"
 
7337
  CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
 
7338
  cat >conftest.$ac_ext <<_ACEOF
 
7339
/* confdefs.h.  */
 
7340
_ACEOF
 
7341
cat confdefs.h >>conftest.$ac_ext
 
7342
cat >>conftest.$ac_ext <<_ACEOF
 
7343
/* end confdefs.h.  */
 
7344
 
 
7345
int
 
7346
main ()
 
7347
{
 
7348
 return 0;
 
7349
  ;
 
7350
  return 0;
 
7351
}
 
7352
_ACEOF
 
7353
rm -f conftest.$ac_objext conftest$ac_exeext
 
7354
if { (ac_try="$ac_link"
 
7355
case "(($ac_try" in
 
7356
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7357
  *) ac_try_echo=$ac_try;;
 
7358
esac
 
7359
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7360
  (eval "$ac_link") 2>conftest.er1
 
7361
  ac_status=$?
 
7362
  grep -v '^ *+' conftest.er1 >conftest.err
 
7363
  rm -f conftest.er1
 
7364
  cat conftest.err >&5
 
7365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7366
  (exit $ac_status); } && {
 
7367
         test -z "$ac_cxx_werror_flag" ||
 
7368
         test ! -s conftest.err
 
7369
       } && test -s conftest$ac_exeext &&
 
7370
       $as_test_x conftest$ac_exeext; then
 
7371
  eval "kde_cv_prog_cxx_$kde_cache=yes"
 
7372
else
 
7373
  echo "$as_me: failed program was:" >&5
 
7374
sed 's/^/| /' conftest.$ac_ext >&5
 
7375
 
 
7376
 
 
7377
fi
 
7378
 
 
7379
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7380
      conftest$ac_exeext conftest.$ac_ext
 
7381
  CXXFLAGS="$save_CXXFLAGS"
 
7382
  ac_ext=c
 
7383
ac_cpp='$CPP $CPPFLAGS'
 
7384
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7385
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7386
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7387
 
 
7388
 
 
7389
fi
 
7390
 
 
7391
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
 
7392
 { echo "$as_me:$LINENO: result: yes" >&5
 
7393
echo "${ECHO_T}yes" >&6; }
 
7394
 :
 
7395
 LDFLAGS_AS_NEEDED="-Wl,--as-needed"
 
7396
else
 
7397
 { echo "$as_me:$LINENO: result: no" >&5
 
7398
echo "${ECHO_T}no" >&6; }
 
7399
 :
 
7400
 
 
7401
fi
 
7402
 
 
7403
  fi
 
7404
 
 
7405
 
 
7406
 
 
7407
 
 
7408
  # Check whether --enable-final was given.
6300
7409
if test "${enable_final+set}" = set; then
6301
 
  enableval="$enable_final"
6302
 
  kde_use_final=$enableval
 
7410
  enableval=$enable_final; kde_use_final=$enableval
6303
7411
else
6304
7412
  kde_use_final=no
6305
 
fi;
 
7413
fi
 
7414
 
6306
7415
 
6307
7416
  if test "x$kde_use_final" = "xyes"; then
6308
7417
      KDE_USE_FINAL_TRUE=""
6315
7424
 
6316
7425
 
6317
7426
 
6318
 
  # Check whether --enable-closure or --disable-closure was given.
 
7427
  # Check whether --enable-closure was given.
6319
7428
if test "${enable_closure+set}" = set; then
6320
 
  enableval="$enable_closure"
6321
 
  kde_use_closure=$enableval
 
7429
  enableval=$enable_closure; kde_use_closure=$enableval
6322
7430
else
6323
7431
  kde_use_closure=no
6324
 
fi;
 
7432
fi
 
7433
 
6325
7434
 
6326
7435
  KDE_NO_UNDEFINED=""
6327
7436
  if test "x$kde_use_closure" = "xyes"; then
6335
7444
       case $host in
6336
7445
         *-*-linux-gnu)
6337
7446
 
6338
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
6339
 
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6
 
7447
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
 
7448
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6; }
6340
7449
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
6341
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
7450
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6342
7451
  echo $ECHO_N "(cached) $ECHO_C" >&6
6343
7452
else
6344
7453
 
6345
7454
 
6346
 
 
6347
 
   ac_ext=cc
 
7455
   ac_ext=cpp
6348
7456
ac_cpp='$CXXCPP $CPPFLAGS'
6349
7457
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6350
7458
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6371
7479
}
6372
7480
_ACEOF
6373
7481
rm -f conftest.$ac_objext conftest$ac_exeext
6374
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6375
 
  (eval $ac_link) 2>conftest.er1
 
7482
if { (ac_try="$ac_link"
 
7483
case "(($ac_try" in
 
7484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7485
  *) ac_try_echo=$ac_try;;
 
7486
esac
 
7487
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7488
  (eval "$ac_link") 2>conftest.er1
6376
7489
  ac_status=$?
6377
7490
  grep -v '^ *+' conftest.er1 >conftest.err
6378
7491
  rm -f conftest.er1
6379
7492
  cat conftest.err >&5
6380
7493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381
 
  (exit $ac_status); } &&
6382
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6383
 
                         || test ! -s conftest.err'
6384
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6385
 
  (eval $ac_try) 2>&5
6386
 
  ac_status=$?
6387
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388
 
  (exit $ac_status); }; } &&
6389
 
         { ac_try='test -s conftest$ac_exeext'
6390
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6391
 
  (eval $ac_try) 2>&5
6392
 
  ac_status=$?
6393
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394
 
  (exit $ac_status); }; }; then
 
7494
  (exit $ac_status); } && {
 
7495
         test -z "$ac_cxx_werror_flag" ||
 
7496
         test ! -s conftest.err
 
7497
       } && test -s conftest$ac_exeext &&
 
7498
       $as_test_x conftest$ac_exeext; then
6395
7499
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6396
7500
else
6397
7501
  echo "$as_me: failed program was:" >&5
6398
7502
sed 's/^/| /' conftest.$ac_ext >&5
6399
7503
 
 
7504
 
6400
7505
fi
6401
 
rm -f conftest.err conftest.$ac_objext \
 
7506
 
 
7507
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6402
7508
      conftest$ac_exeext conftest.$ac_ext
6403
7509
  CXXFLAGS="$save_CXXFLAGS"
6404
7510
  ac_ext=c
6411
7517
fi
6412
7518
 
6413
7519
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6414
 
 echo "$as_me:$LINENO: result: yes" >&5
6415
 
echo "${ECHO_T}yes" >&6
 
7520
 { echo "$as_me:$LINENO: result: yes" >&5
 
7521
echo "${ECHO_T}yes" >&6; }
6416
7522
 :
6417
7523
 
6418
 
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
6419
 
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6
 
7524
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
 
7525
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6; }
6420
7526
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
6421
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
7527
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6422
7528
  echo $ECHO_N "(cached) $ECHO_C" >&6
6423
7529
else
6424
7530
 
6425
7531
 
6426
 
 
6427
 
   ac_ext=cc
 
7532
   ac_ext=cpp
6428
7533
ac_cpp='$CXXCPP $CPPFLAGS'
6429
7534
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6430
7535
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6451
7556
}
6452
7557
_ACEOF
6453
7558
rm -f conftest.$ac_objext conftest$ac_exeext
6454
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6455
 
  (eval $ac_link) 2>conftest.er1
 
7559
if { (ac_try="$ac_link"
 
7560
case "(($ac_try" in
 
7561
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7562
  *) ac_try_echo=$ac_try;;
 
7563
esac
 
7564
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7565
  (eval "$ac_link") 2>conftest.er1
6456
7566
  ac_status=$?
6457
7567
  grep -v '^ *+' conftest.er1 >conftest.err
6458
7568
  rm -f conftest.er1
6459
7569
  cat conftest.err >&5
6460
7570
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461
 
  (exit $ac_status); } &&
6462
 
         { ac_try='test -z "$ac_cxx_werror_flag"
6463
 
                         || test ! -s conftest.err'
6464
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6465
 
  (eval $ac_try) 2>&5
6466
 
  ac_status=$?
6467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468
 
  (exit $ac_status); }; } &&
6469
 
         { ac_try='test -s conftest$ac_exeext'
6470
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6471
 
  (eval $ac_try) 2>&5
6472
 
  ac_status=$?
6473
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474
 
  (exit $ac_status); }; }; then
 
7571
  (exit $ac_status); } && {
 
7572
         test -z "$ac_cxx_werror_flag" ||
 
7573
         test ! -s conftest.err
 
7574
       } && test -s conftest$ac_exeext &&
 
7575
       $as_test_x conftest$ac_exeext; then
6475
7576
  eval "kde_cv_prog_cxx_$kde_cache=yes"
6476
7577
else
6477
7578
  echo "$as_me: failed program was:" >&5
6478
7579
sed 's/^/| /' conftest.$ac_ext >&5
6479
7580
 
 
7581
 
6480
7582
fi
6481
 
rm -f conftest.err conftest.$ac_objext \
 
7583
 
 
7584
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6482
7585
      conftest$ac_exeext conftest.$ac_ext
6483
7586
  CXXFLAGS="$save_CXXFLAGS"
6484
7587
  ac_ext=c
6491
7594
fi
6492
7595
 
6493
7596
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6494
 
 echo "$as_me:$LINENO: result: yes" >&5
6495
 
echo "${ECHO_T}yes" >&6
 
7597
 { echo "$as_me:$LINENO: result: yes" >&5
 
7598
echo "${ECHO_T}yes" >&6; }
6496
7599
 :
6497
7600
 KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
6498
7601
else
6499
 
 echo "$as_me:$LINENO: result: no" >&5
6500
 
echo "${ECHO_T}no" >&6
 
7602
 { echo "$as_me:$LINENO: result: no" >&5
 
7603
echo "${ECHO_T}no" >&6; }
6501
7604
 :
6502
7605
 KDE_NO_UNDEFINED=""
6503
7606
fi
6504
7607
 
6505
7608
else
6506
 
 echo "$as_me:$LINENO: result: no" >&5
6507
 
echo "${ECHO_T}no" >&6
 
7609
 { echo "$as_me:$LINENO: result: no" >&5
 
7610
echo "${ECHO_T}no" >&6; }
6508
7611
 :
6509
7612
 KDE_NO_UNDEFINED=""
6510
7613
fi
6517
7620
 
6518
7621
 
6519
7622
 
6520
 
  # Check whether --enable-nmcheck or --disable-nmcheck was given.
 
7623
  # Check whether --enable-nmcheck was given.
6521
7624
if test "${enable_nmcheck+set}" = set; then
6522
 
  enableval="$enable_nmcheck"
6523
 
  kde_use_nmcheck=$enableval
 
7625
  enableval=$enable_nmcheck; kde_use_nmcheck=$enableval
6524
7626
else
6525
7627
  kde_use_nmcheck=no
6526
 
fi;
 
7628
fi
 
7629
 
6527
7630
 
6528
7631
  if test "$kde_use_nmcheck" = "yes"; then
6529
7632
      KDE_USE_NMCHECK_TRUE=""
6538
7641
 
6539
7642
 
6540
7643
 
6541
 
# Check whether --enable-shared or --disable-shared was given.
 
7644
# Check whether --enable-shared was given.
6542
7645
if test "${enable_shared+set}" = set; then
6543
 
  enableval="$enable_shared"
6544
 
  p=${PACKAGE-default}
 
7646
  enableval=$enable_shared; p=${PACKAGE-default}
6545
7647
    case $enableval in
6546
7648
    yes) enable_shared=yes ;;
6547
7649
    no) enable_shared=no ;;
6560
7662
    esac
6561
7663
else
6562
7664
  enable_shared=yes
6563
 
fi;
6564
 
 
6565
 
# Check whether --enable-static or --disable-static was given.
 
7665
fi
 
7666
 
 
7667
 
 
7668
# Check whether --enable-static was given.
6566
7669
if test "${enable_static+set}" = set; then
6567
 
  enableval="$enable_static"
6568
 
  p=${PACKAGE-default}
 
7670
  enableval=$enable_static; p=${PACKAGE-default}
6569
7671
    case $enableval in
6570
7672
    yes) enable_static=yes ;;
6571
7673
    no) enable_static=no ;;
6584
7686
    esac
6585
7687
else
6586
7688
  enable_static=no
6587
 
fi;
6588
 
 
6589
 
 
6590
 
 
6591
 
 
6592
 
    kdelibsuff="$kde_libs_suffix"
6593
 
    if test -z "$kdelibsuff"; then
6594
 
       kdelibsuff=no
6595
 
    fi
6596
 
    # Check whether --enable-libsuffix or --disable-libsuffix was given.
 
7689
fi
 
7690
 
 
7691
 
 
7692
 
 
7693
 
 
7694
 
 
7695
    # Check whether --enable-libsuffix was given.
6597
7696
if test "${enable_libsuffix+set}" = set; then
6598
 
  enableval="$enable_libsuffix"
6599
 
  kdelibsuff=$enableval
6600
 
fi;
6601
 
    # TODO: add an auto case that compiles a little C app to check
6602
 
    # where the glibc is
6603
 
    if test "$kdelibsuff" = "no"; then
 
7697
  enableval=$enable_libsuffix; kdelibsuff=$enableval
 
7698
else
 
7699
  kdelibsuff="auto"
 
7700
fi
 
7701
 
 
7702
 
 
7703
    if test "$kdelibsuff" = "auto"; then
 
7704
 
 
7705
cat > conftest.c << EOF
 
7706
#include <stdio.h>
 
7707
int main() {
 
7708
 return 0;
 
7709
}
 
7710
EOF
 
7711
        kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
 
7712
    s,.*/lib\([^\/]*\)/.*,\1,
 
7713
    p
 
7714
}'`
 
7715
        rm -rf conftest.*
 
7716
    fi
 
7717
 
 
7718
    if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
6604
7719
       kdelibsuff=
6605
7720
    fi
6606
7721
    if test -z "$kdelibsuff"; then
6607
 
        echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
6608
 
echo "${ECHO_T}not using lib directory suffix" >&6
 
7722
        { echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
 
7723
echo "${ECHO_T}not using lib directory suffix" >&6; }
6609
7724
 
6610
7725
cat >>confdefs.h <<\_ACEOF
6611
7726
#define KDELIBSUFF ""
6621
7736
#define KDELIBSUFF "${kdelibsuff}"
6622
7737
_ACEOF
6623
7738
 
6624
 
        echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
6625
 
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6
 
7739
        { echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
 
7740
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6; }
6626
7741
    fi
6627
7742
 
6628
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
7743
# Check whether --enable-fast-install was given.
6629
7744
if test "${enable_fast_install+set}" = set; then
6630
 
  enableval="$enable_fast_install"
6631
 
  p=${PACKAGE-default}
 
7745
  enableval=$enable_fast_install; p=${PACKAGE-default}
6632
7746
    case $enableval in
6633
7747
    yes) enable_fast_install=yes ;;
6634
7748
    no) enable_fast_install=no ;;
6647
7761
    esac
6648
7762
else
6649
7763
  enable_fast_install=yes
6650
 
fi;
6651
 
 
6652
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6653
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
7764
fi
 
7765
 
 
7766
 
 
7767
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
7768
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6654
7769
if test "${lt_cv_path_SED+set}" = set; then
6655
7770
  echo $ECHO_N "(cached) $ECHO_C" >&6
6656
7771
else
6703
7818
fi
6704
7819
 
6705
7820
SED=$lt_cv_path_SED
6706
 
echo "$as_me:$LINENO: result: $SED" >&5
6707
 
echo "${ECHO_T}$SED" >&6
6708
 
 
6709
 
echo "$as_me:$LINENO: checking for egrep" >&5
6710
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6711
 
if test "${ac_cv_prog_egrep+set}" = set; then
6712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6713
 
else
6714
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6715
 
    then ac_cv_prog_egrep='grep -E'
6716
 
    else ac_cv_prog_egrep='egrep'
6717
 
    fi
6718
 
fi
6719
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6720
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6721
 
 EGREP=$ac_cv_prog_egrep
6722
 
 
6723
 
 
6724
 
 
6725
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
7821
{ echo "$as_me:$LINENO: result: $SED" >&5
 
7822
echo "${ECHO_T}$SED" >&6; }
 
7823
 
 
7824
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
7825
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
7826
if test "${ac_cv_path_GREP+set}" = set; then
 
7827
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7828
else
 
7829
  # Extract the first word of "grep ggrep" to use in msg output
 
7830
if test -z "$GREP"; then
 
7831
set dummy grep ggrep; ac_prog_name=$2
 
7832
if test "${ac_cv_path_GREP+set}" = set; then
 
7833
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7834
else
 
7835
  ac_path_GREP_found=false
 
7836
# Loop through the user's path and test for each of PROGNAME-LIST
 
7837
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7838
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
7839
do
 
7840
  IFS=$as_save_IFS
 
7841
  test -z "$as_dir" && as_dir=.
 
7842
  for ac_prog in grep ggrep; do
 
7843
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7844
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
7845
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
7846
    # Check for GNU ac_path_GREP and select it if it is found.
 
7847
  # Check for GNU $ac_path_GREP
 
7848
case `"$ac_path_GREP" --version 2>&1` in
 
7849
*GNU*)
 
7850
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
7851
*)
 
7852
  ac_count=0
 
7853
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
7854
  while :
 
7855
  do
 
7856
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7857
    mv "conftest.tmp" "conftest.in"
 
7858
    cp "conftest.in" "conftest.nl"
 
7859
    echo 'GREP' >> "conftest.nl"
 
7860
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7861
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7862
    ac_count=`expr $ac_count + 1`
 
7863
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
7864
      # Best one so far, save it but keep looking for a better one
 
7865
      ac_cv_path_GREP="$ac_path_GREP"
 
7866
      ac_path_GREP_max=$ac_count
 
7867
    fi
 
7868
    # 10*(2^10) chars as input seems more than enough
 
7869
    test $ac_count -gt 10 && break
 
7870
  done
 
7871
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7872
esac
 
7873
 
 
7874
 
 
7875
    $ac_path_GREP_found && break 3
 
7876
  done
 
7877
done
 
7878
 
 
7879
done
 
7880
IFS=$as_save_IFS
 
7881
 
 
7882
 
 
7883
fi
 
7884
 
 
7885
GREP="$ac_cv_path_GREP"
 
7886
if test -z "$GREP"; then
 
7887
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
7888
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
7889
   { (exit 1); exit 1; }; }
 
7890
fi
 
7891
 
 
7892
else
 
7893
  ac_cv_path_GREP=$GREP
 
7894
fi
 
7895
 
 
7896
 
 
7897
fi
 
7898
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
7899
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
7900
 GREP="$ac_cv_path_GREP"
 
7901
 
 
7902
 
 
7903
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
7904
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
7905
if test "${ac_cv_path_EGREP+set}" = set; then
 
7906
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7907
else
 
7908
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
7909
   then ac_cv_path_EGREP="$GREP -E"
 
7910
   else
 
7911
     # Extract the first word of "egrep" to use in msg output
 
7912
if test -z "$EGREP"; then
 
7913
set dummy egrep; ac_prog_name=$2
 
7914
if test "${ac_cv_path_EGREP+set}" = set; then
 
7915
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7916
else
 
7917
  ac_path_EGREP_found=false
 
7918
# Loop through the user's path and test for each of PROGNAME-LIST
 
7919
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7920
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
7921
do
 
7922
  IFS=$as_save_IFS
 
7923
  test -z "$as_dir" && as_dir=.
 
7924
  for ac_prog in egrep; do
 
7925
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7926
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
7927
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
7928
    # Check for GNU ac_path_EGREP and select it if it is found.
 
7929
  # Check for GNU $ac_path_EGREP
 
7930
case `"$ac_path_EGREP" --version 2>&1` in
 
7931
*GNU*)
 
7932
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
7933
*)
 
7934
  ac_count=0
 
7935
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
7936
  while :
 
7937
  do
 
7938
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7939
    mv "conftest.tmp" "conftest.in"
 
7940
    cp "conftest.in" "conftest.nl"
 
7941
    echo 'EGREP' >> "conftest.nl"
 
7942
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7943
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7944
    ac_count=`expr $ac_count + 1`
 
7945
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
7946
      # Best one so far, save it but keep looking for a better one
 
7947
      ac_cv_path_EGREP="$ac_path_EGREP"
 
7948
      ac_path_EGREP_max=$ac_count
 
7949
    fi
 
7950
    # 10*(2^10) chars as input seems more than enough
 
7951
    test $ac_count -gt 10 && break
 
7952
  done
 
7953
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7954
esac
 
7955
 
 
7956
 
 
7957
    $ac_path_EGREP_found && break 3
 
7958
  done
 
7959
done
 
7960
 
 
7961
done
 
7962
IFS=$as_save_IFS
 
7963
 
 
7964
 
 
7965
fi
 
7966
 
 
7967
EGREP="$ac_cv_path_EGREP"
 
7968
if test -z "$EGREP"; then
 
7969
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
7970
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
7971
   { (exit 1); exit 1; }; }
 
7972
fi
 
7973
 
 
7974
else
 
7975
  ac_cv_path_EGREP=$EGREP
 
7976
fi
 
7977
 
 
7978
 
 
7979
   fi
 
7980
fi
 
7981
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
7982
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
7983
 EGREP="$ac_cv_path_EGREP"
 
7984
 
 
7985
 
 
7986
 
 
7987
# Check whether --with-gnu-ld was given.
6726
7988
if test "${with_gnu_ld+set}" = set; then
6727
 
  withval="$with_gnu_ld"
6728
 
  test "$withval" = no || with_gnu_ld=yes
 
7989
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6729
7990
else
6730
7991
  with_gnu_ld=no
6731
 
fi;
 
7992
fi
 
7993
 
6732
7994
ac_prog=ld
6733
7995
if test "$GCC" = yes; then
6734
7996
  # Check if gcc -print-prog-name=ld gives a path.
6735
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6736
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
7997
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
7998
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6737
7999
  case $host in
6738
8000
  *-*-mingw*)
6739
8001
    # gcc leaves a trailing carriage return which upsets mingw
6762
8024
    ;;
6763
8025
  esac
6764
8026
elif test "$with_gnu_ld" = yes; then
6765
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
6766
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
8027
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
8028
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6767
8029
else
6768
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6769
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
8030
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
8031
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6770
8032
fi
6771
8033
if test "${lt_cv_path_LD+set}" = set; then
6772
8034
  echo $ECHO_N "(cached) $ECHO_C" >&6
6799
8061
 
6800
8062
LD="$lt_cv_path_LD"
6801
8063
if test -n "$LD"; then
6802
 
  echo "$as_me:$LINENO: result: $LD" >&5
6803
 
echo "${ECHO_T}$LD" >&6
 
8064
  { echo "$as_me:$LINENO: result: $LD" >&5
 
8065
echo "${ECHO_T}$LD" >&6; }
6804
8066
else
6805
 
  echo "$as_me:$LINENO: result: no" >&5
6806
 
echo "${ECHO_T}no" >&6
 
8067
  { echo "$as_me:$LINENO: result: no" >&5
 
8068
echo "${ECHO_T}no" >&6; }
6807
8069
fi
6808
8070
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6809
8071
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6810
8072
   { (exit 1); exit 1; }; }
6811
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6812
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
8073
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
8074
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6813
8075
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6814
8076
  echo $ECHO_N "(cached) $ECHO_C" >&6
6815
8077
else
6823
8085
  ;;
6824
8086
esac
6825
8087
fi
6826
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6827
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
8088
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
8089
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6828
8090
with_gnu_ld=$lt_cv_prog_gnu_ld
6829
8091
 
6830
8092
 
6831
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6832
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
8093
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
8094
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6833
8095
if test "${lt_cv_ld_reload_flag+set}" = set; then
6834
8096
  echo $ECHO_N "(cached) $ECHO_C" >&6
6835
8097
else
6836
8098
  lt_cv_ld_reload_flag='-r'
6837
8099
fi
6838
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6839
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
8100
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
8101
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6840
8102
reload_flag=$lt_cv_ld_reload_flag
6841
8103
case $reload_flag in
6842
8104
"" | " "*) ;;
6844
8106
esac
6845
8107
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6846
8108
 
6847
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6848
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
8109
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
8110
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6849
8111
if test "${lt_cv_path_NM+set}" = set; then
6850
8112
  echo $ECHO_N "(cached) $ECHO_C" >&6
6851
8113
else
6886
8148
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6887
8149
fi
6888
8150
fi
6889
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6890
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
8151
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
8152
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6891
8153
NM="$lt_cv_path_NM"
6892
8154
 
6893
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
6894
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
8155
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
8156
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6895
8157
LN_S=$as_ln_s
6896
8158
if test "$LN_S" = "ln -s"; then
6897
 
  echo "$as_me:$LINENO: result: yes" >&5
6898
 
echo "${ECHO_T}yes" >&6
 
8159
  { echo "$as_me:$LINENO: result: yes" >&5
 
8160
echo "${ECHO_T}yes" >&6; }
6899
8161
else
6900
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6901
 
echo "${ECHO_T}no, using $LN_S" >&6
 
8162
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
8163
echo "${ECHO_T}no, using $LN_S" >&6; }
6902
8164
fi
6903
8165
 
6904
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
6905
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
8166
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
8167
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
6906
8168
if test "${lt_cv_deplibs_check_method+set}" = set; then
6907
8169
  echo $ECHO_N "(cached) $ECHO_C" >&6
6908
8170
else
6960
8222
  lt_cv_deplibs_check_method=pass_all
6961
8223
  ;;
6962
8224
 
6963
 
freebsd*)
 
8225
freebsd* | kfreebsd*-gnu)
6964
8226
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6965
8227
    case $host_cpu in
6966
8228
    i*86 )
7108
8370
esac
7109
8371
 
7110
8372
fi
7111
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7112
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
8373
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
8374
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
7113
8375
file_magic_cmd=$lt_cv_file_magic_cmd
7114
8376
deplibs_check_method=$lt_cv_deplibs_check_method
7115
8377
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7121
8383
# Allow CC to be a program name with arguments.
7122
8384
compiler=$CC
7123
8385
 
7124
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
8386
# Check whether --enable-libtool-lock was given.
7125
8387
if test "${enable_libtool_lock+set}" = set; then
7126
 
  enableval="$enable_libtool_lock"
 
8388
  enableval=$enable_libtool_lock;
 
8389
fi
7127
8390
 
7128
 
fi;
7129
8391
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7130
8392
 
7131
8393
# Some flags need to be propagated to the compiler or linker for good
7152
8414
  ;;
7153
8415
*-*-irix6*)
7154
8416
  # Find out which ABI we are using.
7155
 
  echo '#line 7155 "configure"' > conftest.$ac_ext
 
8417
  echo '#line 8417 "configure"' > conftest.$ac_ext
7156
8418
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7157
8419
  (eval $ac_compile) 2>&5
7158
8420
  ac_status=$?
7239
8501
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7240
8502
  SAVE_CFLAGS="$CFLAGS"
7241
8503
  CFLAGS="$CFLAGS -belf"
7242
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7243
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
8504
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
8505
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7244
8506
if test "${lt_cv_cc_needs_belf+set}" = set; then
7245
8507
  echo $ECHO_N "(cached) $ECHO_C" >&6
7246
8508
else
7266
8528
}
7267
8529
_ACEOF
7268
8530
rm -f conftest.$ac_objext conftest$ac_exeext
7269
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7270
 
  (eval $ac_link) 2>conftest.er1
 
8531
if { (ac_try="$ac_link"
 
8532
case "(($ac_try" in
 
8533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8534
  *) ac_try_echo=$ac_try;;
 
8535
esac
 
8536
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8537
  (eval "$ac_link") 2>conftest.er1
7271
8538
  ac_status=$?
7272
8539
  grep -v '^ *+' conftest.er1 >conftest.err
7273
8540
  rm -f conftest.er1
7274
8541
  cat conftest.err >&5
7275
8542
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276
 
  (exit $ac_status); } &&
7277
 
         { ac_try='test -z "$ac_c_werror_flag"
7278
 
                         || test ! -s conftest.err'
7279
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7280
 
  (eval $ac_try) 2>&5
7281
 
  ac_status=$?
7282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283
 
  (exit $ac_status); }; } &&
7284
 
         { ac_try='test -s conftest$ac_exeext'
7285
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286
 
  (eval $ac_try) 2>&5
7287
 
  ac_status=$?
7288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289
 
  (exit $ac_status); }; }; then
 
8543
  (exit $ac_status); } && {
 
8544
         test -z "$ac_c_werror_flag" ||
 
8545
         test ! -s conftest.err
 
8546
       } && test -s conftest$ac_exeext &&
 
8547
       $as_test_x conftest$ac_exeext; then
7290
8548
  lt_cv_cc_needs_belf=yes
7291
8549
else
7292
8550
  echo "$as_me: failed program was:" >&5
7293
8551
sed 's/^/| /' conftest.$ac_ext >&5
7294
8552
 
7295
 
lt_cv_cc_needs_belf=no
 
8553
        lt_cv_cc_needs_belf=no
7296
8554
fi
7297
 
rm -f conftest.err conftest.$ac_objext \
 
8555
 
 
8556
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7298
8557
      conftest$ac_exeext conftest.$ac_ext
7299
8558
     ac_ext=c
7300
8559
ac_cpp='$CPP $CPPFLAGS'
7303
8562
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7304
8563
 
7305
8564
fi
7306
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7307
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
8565
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
8566
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7308
8567
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7309
8568
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7310
8569
    CFLAGS="$SAVE_CFLAGS"
7317
8576
 
7318
8577
 
7319
8578
 
7320
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7321
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
8579
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
8580
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7322
8581
if test "${ac_cv_header_stdc+set}" = set; then
7323
8582
  echo $ECHO_N "(cached) $ECHO_C" >&6
7324
8583
else
7342
8601
}
7343
8602
_ACEOF
7344
8603
rm -f conftest.$ac_objext
7345
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7346
 
  (eval $ac_compile) 2>conftest.er1
 
8604
if { (ac_try="$ac_compile"
 
8605
case "(($ac_try" in
 
8606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8607
  *) ac_try_echo=$ac_try;;
 
8608
esac
 
8609
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8610
  (eval "$ac_compile") 2>conftest.er1
7347
8611
  ac_status=$?
7348
8612
  grep -v '^ *+' conftest.er1 >conftest.err
7349
8613
  rm -f conftest.er1
7350
8614
  cat conftest.err >&5
7351
8615
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352
 
  (exit $ac_status); } &&
7353
 
         { ac_try='test -z "$ac_c_werror_flag"
7354
 
                         || test ! -s conftest.err'
7355
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7356
 
  (eval $ac_try) 2>&5
7357
 
  ac_status=$?
7358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359
 
  (exit $ac_status); }; } &&
7360
 
         { ac_try='test -s conftest.$ac_objext'
7361
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7362
 
  (eval $ac_try) 2>&5
7363
 
  ac_status=$?
7364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365
 
  (exit $ac_status); }; }; then
 
8616
  (exit $ac_status); } && {
 
8617
         test -z "$ac_c_werror_flag" ||
 
8618
         test ! -s conftest.err
 
8619
       } && test -s conftest.$ac_objext; then
7366
8620
  ac_cv_header_stdc=yes
7367
8621
else
7368
8622
  echo "$as_me: failed program was:" >&5
7369
8623
sed 's/^/| /' conftest.$ac_ext >&5
7370
8624
 
7371
 
ac_cv_header_stdc=no
 
8625
        ac_cv_header_stdc=no
7372
8626
fi
7373
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
8627
 
 
8628
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7374
8629
 
7375
8630
if test $ac_cv_header_stdc = yes; then
7376
8631
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7426
8681
cat >>conftest.$ac_ext <<_ACEOF
7427
8682
/* end confdefs.h.  */
7428
8683
#include <ctype.h>
 
8684
#include <stdlib.h>
7429
8685
#if ((' ' & 0x0FF) == 0x020)
7430
8686
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7431
8687
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7445
8701
  for (i = 0; i < 256; i++)
7446
8702
    if (XOR (islower (i), ISLOWER (i))
7447
8703
        || toupper (i) != TOUPPER (i))
7448
 
      exit(2);
7449
 
  exit (0);
 
8704
      return 2;
 
8705
  return 0;
7450
8706
}
7451
8707
_ACEOF
7452
8708
rm -f conftest$ac_exeext
7453
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7454
 
  (eval $ac_link) 2>&5
 
8709
if { (ac_try="$ac_link"
 
8710
case "(($ac_try" in
 
8711
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8712
  *) ac_try_echo=$ac_try;;
 
8713
esac
 
8714
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8715
  (eval "$ac_link") 2>&5
7455
8716
  ac_status=$?
7456
8717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457
8718
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7458
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7459
 
  (eval $ac_try) 2>&5
 
8719
  { (case "(($ac_try" in
 
8720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8721
  *) ac_try_echo=$ac_try;;
 
8722
esac
 
8723
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8724
  (eval "$ac_try") 2>&5
7460
8725
  ac_status=$?
7461
8726
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462
8727
  (exit $ac_status); }; }; then
7469
8734
( exit $ac_status )
7470
8735
ac_cv_header_stdc=no
7471
8736
fi
7472
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7473
 
fi
7474
 
fi
7475
 
fi
7476
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7477
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
8737
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
8738
fi
 
8739
 
 
8740
 
 
8741
fi
 
8742
fi
 
8743
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
8744
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7478
8745
if test $ac_cv_header_stdc = yes; then
7479
8746
 
7480
8747
cat >>confdefs.h <<\_ACEOF
7497
8764
                  inttypes.h stdint.h unistd.h
7498
8765
do
7499
8766
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7500
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
7501
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7502
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
8767
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8768
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
8769
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7503
8770
  echo $ECHO_N "(cached) $ECHO_C" >&6
7504
8771
else
7505
8772
  cat >conftest.$ac_ext <<_ACEOF
7513
8780
#include <$ac_header>
7514
8781
_ACEOF
7515
8782
rm -f conftest.$ac_objext
7516
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7517
 
  (eval $ac_compile) 2>conftest.er1
 
8783
if { (ac_try="$ac_compile"
 
8784
case "(($ac_try" in
 
8785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8786
  *) ac_try_echo=$ac_try;;
 
8787
esac
 
8788
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8789
  (eval "$ac_compile") 2>conftest.er1
7518
8790
  ac_status=$?
7519
8791
  grep -v '^ *+' conftest.er1 >conftest.err
7520
8792
  rm -f conftest.er1
7521
8793
  cat conftest.err >&5
7522
8794
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523
 
  (exit $ac_status); } &&
7524
 
         { ac_try='test -z "$ac_c_werror_flag"
7525
 
                         || test ! -s conftest.err'
7526
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7527
 
  (eval $ac_try) 2>&5
7528
 
  ac_status=$?
7529
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530
 
  (exit $ac_status); }; } &&
7531
 
         { ac_try='test -s conftest.$ac_objext'
7532
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7533
 
  (eval $ac_try) 2>&5
7534
 
  ac_status=$?
7535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536
 
  (exit $ac_status); }; }; then
 
8795
  (exit $ac_status); } && {
 
8796
         test -z "$ac_c_werror_flag" ||
 
8797
         test ! -s conftest.err
 
8798
       } && test -s conftest.$ac_objext; then
7537
8799
  eval "$as_ac_Header=yes"
7538
8800
else
7539
8801
  echo "$as_me: failed program was:" >&5
7540
8802
sed 's/^/| /' conftest.$ac_ext >&5
7541
8803
 
7542
 
eval "$as_ac_Header=no"
7543
 
fi
7544
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7545
 
fi
7546
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7547
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
8804
        eval "$as_ac_Header=no"
 
8805
fi
 
8806
 
 
8807
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8808
fi
 
8809
ac_res=`eval echo '${'$as_ac_Header'}'`
 
8810
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
8811
echo "${ECHO_T}$ac_res" >&6; }
7548
8812
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7549
8813
  cat >>confdefs.h <<_ACEOF
7550
8814
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7559
8823
for ac_header in dlfcn.h
7560
8824
do
7561
8825
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7562
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7563
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
7564
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7565
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
8826
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8827
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8828
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
8829
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7566
8830
  echo $ECHO_N "(cached) $ECHO_C" >&6
7567
8831
fi
7568
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7569
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
8832
ac_res=`eval echo '${'$as_ac_Header'}'`
 
8833
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
8834
echo "${ECHO_T}$ac_res" >&6; }
7570
8835
else
7571
8836
  # Is the header compilable?
7572
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7573
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
8837
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
8838
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7574
8839
cat >conftest.$ac_ext <<_ACEOF
7575
8840
/* confdefs.h.  */
7576
8841
_ACEOF
7581
8846
#include <$ac_header>
7582
8847
_ACEOF
7583
8848
rm -f conftest.$ac_objext
7584
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7585
 
  (eval $ac_compile) 2>conftest.er1
 
8849
if { (ac_try="$ac_compile"
 
8850
case "(($ac_try" in
 
8851
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8852
  *) ac_try_echo=$ac_try;;
 
8853
esac
 
8854
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8855
  (eval "$ac_compile") 2>conftest.er1
7586
8856
  ac_status=$?
7587
8857
  grep -v '^ *+' conftest.er1 >conftest.err
7588
8858
  rm -f conftest.er1
7589
8859
  cat conftest.err >&5
7590
8860
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591
 
  (exit $ac_status); } &&
7592
 
         { ac_try='test -z "$ac_c_werror_flag"
7593
 
                         || test ! -s conftest.err'
7594
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7595
 
  (eval $ac_try) 2>&5
7596
 
  ac_status=$?
7597
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598
 
  (exit $ac_status); }; } &&
7599
 
         { ac_try='test -s conftest.$ac_objext'
7600
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7601
 
  (eval $ac_try) 2>&5
7602
 
  ac_status=$?
7603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604
 
  (exit $ac_status); }; }; then
 
8861
  (exit $ac_status); } && {
 
8862
         test -z "$ac_c_werror_flag" ||
 
8863
         test ! -s conftest.err
 
8864
       } && test -s conftest.$ac_objext; then
7605
8865
  ac_header_compiler=yes
7606
8866
else
7607
8867
  echo "$as_me: failed program was:" >&5
7608
8868
sed 's/^/| /' conftest.$ac_ext >&5
7609
8869
 
7610
 
ac_header_compiler=no
 
8870
        ac_header_compiler=no
7611
8871
fi
7612
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7613
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7614
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
8872
 
 
8873
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8874
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
8875
echo "${ECHO_T}$ac_header_compiler" >&6; }
7615
8876
 
7616
8877
# Is the header present?
7617
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7618
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
8878
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
8879
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7619
8880
cat >conftest.$ac_ext <<_ACEOF
7620
8881
/* confdefs.h.  */
7621
8882
_ACEOF
7624
8885
/* end confdefs.h.  */
7625
8886
#include <$ac_header>
7626
8887
_ACEOF
7627
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7628
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
8888
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8889
case "(($ac_try" in
 
8890
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8891
  *) ac_try_echo=$ac_try;;
 
8892
esac
 
8893
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8894
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7629
8895
  ac_status=$?
7630
8896
  grep -v '^ *+' conftest.er1 >conftest.err
7631
8897
  rm -f conftest.er1
7632
8898
  cat conftest.err >&5
7633
8899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634
 
  (exit $ac_status); } >/dev/null; then
7635
 
  if test -s conftest.err; then
7636
 
    ac_cpp_err=$ac_c_preproc_warn_flag
7637
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7638
 
  else
7639
 
    ac_cpp_err=
7640
 
  fi
7641
 
else
7642
 
  ac_cpp_err=yes
7643
 
fi
7644
 
if test -z "$ac_cpp_err"; then
 
8900
  (exit $ac_status); } >/dev/null && {
 
8901
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
8902
         test ! -s conftest.err
 
8903
       }; then
7645
8904
  ac_header_preproc=yes
7646
8905
else
7647
8906
  echo "$as_me: failed program was:" >&5
7649
8908
 
7650
8909
  ac_header_preproc=no
7651
8910
fi
 
8911
 
7652
8912
rm -f conftest.err conftest.$ac_ext
7653
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7654
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
8913
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
8914
echo "${ECHO_T}$ac_header_preproc" >&6; }
7655
8915
 
7656
8916
# So?  What about this header?
7657
8917
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7675
8935
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7676
8936
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7677
8937
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7678
 
    (
7679
 
      cat <<\_ASBOX
7680
 
## ------------------------------------------ ##
7681
 
## Report this to the AC_PACKAGE_NAME lists.  ##
7682
 
## ------------------------------------------ ##
7683
 
_ASBOX
7684
 
    ) |
7685
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
8938
 
7686
8939
    ;;
7687
8940
esac
7688
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
7689
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7690
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
8941
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8942
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
8943
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7691
8944
  echo $ECHO_N "(cached) $ECHO_C" >&6
7692
8945
else
7693
8946
  eval "$as_ac_Header=\$ac_header_preproc"
7694
8947
fi
7695
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7696
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
8948
ac_res=`eval echo '${'$as_ac_Header'}'`
 
8949
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
8950
echo "${ECHO_T}$ac_res" >&6; }
7697
8951
 
7698
8952
fi
7699
8953
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7710
8964
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7711
8965
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7712
8966
if test -n "$ac_tool_prefix"; then
7713
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
8967
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7714
8968
  do
7715
8969
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7716
8970
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7717
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7718
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8971
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8972
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7719
8973
if test "${ac_cv_prog_F77+set}" = set; then
7720
8974
  echo $ECHO_N "(cached) $ECHO_C" >&6
7721
8975
else
7728
8982
  IFS=$as_save_IFS
7729
8983
  test -z "$as_dir" && as_dir=.
7730
8984
  for ac_exec_ext in '' $ac_executable_extensions; do
7731
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8985
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732
8986
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7733
8987
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7734
8988
    break 2
7735
8989
  fi
7736
8990
done
7737
8991
done
 
8992
IFS=$as_save_IFS
7738
8993
 
7739
8994
fi
7740
8995
fi
7741
8996
F77=$ac_cv_prog_F77
7742
8997
if test -n "$F77"; then
7743
 
  echo "$as_me:$LINENO: result: $F77" >&5
7744
 
echo "${ECHO_T}$F77" >&6
 
8998
  { echo "$as_me:$LINENO: result: $F77" >&5
 
8999
echo "${ECHO_T}$F77" >&6; }
7745
9000
else
7746
 
  echo "$as_me:$LINENO: result: no" >&5
7747
 
echo "${ECHO_T}no" >&6
 
9001
  { echo "$as_me:$LINENO: result: no" >&5
 
9002
echo "${ECHO_T}no" >&6; }
7748
9003
fi
7749
9004
 
 
9005
 
7750
9006
    test -n "$F77" && break
7751
9007
  done
7752
9008
fi
7753
9009
if test -z "$F77"; then
7754
9010
  ac_ct_F77=$F77
7755
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
9011
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7756
9012
do
7757
9013
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7758
9014
set dummy $ac_prog; ac_word=$2
7759
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7760
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9015
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9016
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7761
9017
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7762
9018
  echo $ECHO_N "(cached) $ECHO_C" >&6
7763
9019
else
7770
9026
  IFS=$as_save_IFS
7771
9027
  test -z "$as_dir" && as_dir=.
7772
9028
  for ac_exec_ext in '' $ac_executable_extensions; do
7773
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9029
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774
9030
    ac_cv_prog_ac_ct_F77="$ac_prog"
7775
9031
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7776
9032
    break 2
7777
9033
  fi
7778
9034
done
7779
9035
done
 
9036
IFS=$as_save_IFS
7780
9037
 
7781
9038
fi
7782
9039
fi
7783
9040
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7784
9041
if test -n "$ac_ct_F77"; then
7785
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7786
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
9042
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
9043
echo "${ECHO_T}$ac_ct_F77" >&6; }
7787
9044
else
7788
 
  echo "$as_me:$LINENO: result: no" >&5
7789
 
echo "${ECHO_T}no" >&6
 
9045
  { echo "$as_me:$LINENO: result: no" >&5
 
9046
echo "${ECHO_T}no" >&6; }
7790
9047
fi
7791
9048
 
 
9049
 
7792
9050
  test -n "$ac_ct_F77" && break
7793
9051
done
7794
9052
 
7795
 
  F77=$ac_ct_F77
 
9053
  if test "x$ac_ct_F77" = x; then
 
9054
    F77=""
 
9055
  else
 
9056
    case $cross_compiling:$ac_tool_warned in
 
9057
yes:)
 
9058
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9059
whose name does not start with the host triplet.  If you think this
 
9060
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9061
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9062
whose name does not start with the host triplet.  If you think this
 
9063
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9064
ac_tool_warned=yes ;;
 
9065
esac
 
9066
    F77=$ac_ct_F77
 
9067
  fi
7796
9068
fi
7797
9069
 
7798
9070
 
7799
9071
# Provide some information about the compiler.
7800
 
echo "$as_me:7800:" \
7801
 
     "checking for Fortran 77 compiler version" >&5
 
9072
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7802
9073
ac_compiler=`set X $ac_compile; echo $2`
7803
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7804
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
7805
 
  ac_status=$?
7806
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807
 
  (exit $ac_status); }
7808
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7809
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
7810
 
  ac_status=$?
7811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812
 
  (exit $ac_status); }
7813
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7814
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
9074
{ (ac_try="$ac_compiler --version >&5"
 
9075
case "(($ac_try" in
 
9076
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9077
  *) ac_try_echo=$ac_try;;
 
9078
esac
 
9079
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9080
  (eval "$ac_compiler --version >&5") 2>&5
 
9081
  ac_status=$?
 
9082
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9083
  (exit $ac_status); }
 
9084
{ (ac_try="$ac_compiler -v >&5"
 
9085
case "(($ac_try" in
 
9086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9087
  *) ac_try_echo=$ac_try;;
 
9088
esac
 
9089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9090
  (eval "$ac_compiler -v >&5") 2>&5
 
9091
  ac_status=$?
 
9092
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9093
  (exit $ac_status); }
 
9094
{ (ac_try="$ac_compiler -V >&5"
 
9095
case "(($ac_try" in
 
9096
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9097
  *) ac_try_echo=$ac_try;;
 
9098
esac
 
9099
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9100
  (eval "$ac_compiler -V >&5") 2>&5
7815
9101
  ac_status=$?
7816
9102
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817
9103
  (exit $ac_status); }
7821
9107
# input file.  (Note that this only needs to work for GNU compilers.)
7822
9108
ac_save_ext=$ac_ext
7823
9109
ac_ext=F
7824
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7825
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
9110
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
9111
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7826
9112
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7827
9113
  echo $ECHO_N "(cached) $ECHO_C" >&6
7828
9114
else
7835
9121
      end
7836
9122
_ACEOF
7837
9123
rm -f conftest.$ac_objext
7838
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7839
 
  (eval $ac_compile) 2>conftest.er1
 
9124
if { (ac_try="$ac_compile"
 
9125
case "(($ac_try" in
 
9126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9127
  *) ac_try_echo=$ac_try;;
 
9128
esac
 
9129
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9130
  (eval "$ac_compile") 2>conftest.er1
7840
9131
  ac_status=$?
7841
9132
  grep -v '^ *+' conftest.er1 >conftest.err
7842
9133
  rm -f conftest.er1
7843
9134
  cat conftest.err >&5
7844
9135
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845
 
  (exit $ac_status); } &&
7846
 
         { ac_try='test -z "$ac_f77_werror_flag"
7847
 
                         || test ! -s conftest.err'
7848
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7849
 
  (eval $ac_try) 2>&5
7850
 
  ac_status=$?
7851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852
 
  (exit $ac_status); }; } &&
7853
 
         { ac_try='test -s conftest.$ac_objext'
7854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7855
 
  (eval $ac_try) 2>&5
7856
 
  ac_status=$?
7857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858
 
  (exit $ac_status); }; }; then
 
9136
  (exit $ac_status); } && {
 
9137
         test -z "$ac_f77_werror_flag" ||
 
9138
         test ! -s conftest.err
 
9139
       } && test -s conftest.$ac_objext; then
7859
9140
  ac_compiler_gnu=yes
7860
9141
else
7861
9142
  echo "$as_me: failed program was:" >&5
7862
9143
sed 's/^/| /' conftest.$ac_ext >&5
7863
9144
 
7864
 
ac_compiler_gnu=no
 
9145
        ac_compiler_gnu=no
7865
9146
fi
7866
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
9147
 
 
9148
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7867
9149
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7868
9150
 
7869
9151
fi
7870
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7871
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
9152
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
9153
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7872
9154
ac_ext=$ac_save_ext
7873
9155
ac_test_FFLAGS=${FFLAGS+set}
7874
9156
ac_save_FFLAGS=$FFLAGS
7875
9157
FFLAGS=
7876
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7877
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
9158
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
9159
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7878
9160
if test "${ac_cv_prog_f77_g+set}" = set; then
7879
9161
  echo $ECHO_N "(cached) $ECHO_C" >&6
7880
9162
else
7885
9167
      end
7886
9168
_ACEOF
7887
9169
rm -f conftest.$ac_objext
7888
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7889
 
  (eval $ac_compile) 2>conftest.er1
 
9170
if { (ac_try="$ac_compile"
 
9171
case "(($ac_try" in
 
9172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9173
  *) ac_try_echo=$ac_try;;
 
9174
esac
 
9175
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9176
  (eval "$ac_compile") 2>conftest.er1
7890
9177
  ac_status=$?
7891
9178
  grep -v '^ *+' conftest.er1 >conftest.err
7892
9179
  rm -f conftest.er1
7893
9180
  cat conftest.err >&5
7894
9181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895
 
  (exit $ac_status); } &&
7896
 
         { ac_try='test -z "$ac_f77_werror_flag"
7897
 
                         || test ! -s conftest.err'
7898
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7899
 
  (eval $ac_try) 2>&5
7900
 
  ac_status=$?
7901
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902
 
  (exit $ac_status); }; } &&
7903
 
         { ac_try='test -s conftest.$ac_objext'
7904
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7905
 
  (eval $ac_try) 2>&5
7906
 
  ac_status=$?
7907
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908
 
  (exit $ac_status); }; }; then
 
9182
  (exit $ac_status); } && {
 
9183
         test -z "$ac_f77_werror_flag" ||
 
9184
         test ! -s conftest.err
 
9185
       } && test -s conftest.$ac_objext; then
7909
9186
  ac_cv_prog_f77_g=yes
7910
9187
else
7911
9188
  echo "$as_me: failed program was:" >&5
7912
9189
sed 's/^/| /' conftest.$ac_ext >&5
7913
9190
 
7914
 
ac_cv_prog_f77_g=no
7915
 
fi
7916
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7917
 
 
7918
 
fi
7919
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7920
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
9191
        ac_cv_prog_f77_g=no
 
9192
fi
 
9193
 
 
9194
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9195
 
 
9196
fi
 
9197
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
9198
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7921
9199
if test "$ac_test_FFLAGS" = set; then
7922
9200
  FFLAGS=$ac_save_FFLAGS
7923
9201
elif test $ac_cv_prog_f77_g = yes; then
7946
9224
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7947
9225
 
7948
9226
# find the maximum length of command line arguments
7949
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7950
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
9227
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
9228
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7951
9229
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7952
9230
  echo $ECHO_N "(cached) $ECHO_C" >&6
7953
9231
else
8005
9283
fi
8006
9284
 
8007
9285
if test -n $lt_cv_sys_max_cmd_len ; then
8008
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8009
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
9286
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
9287
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8010
9288
else
8011
 
  echo "$as_me:$LINENO: result: none" >&5
8012
 
echo "${ECHO_T}none" >&6
 
9289
  { echo "$as_me:$LINENO: result: none" >&5
 
9290
echo "${ECHO_T}none" >&6; }
8013
9291
fi
8014
9292
 
8015
9293
 
8016
9294
 
8017
9295
 
8018
9296
# Check for command to grab the raw symbol name followed by C symbol from nm.
8019
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8020
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
9297
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
9298
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8021
9299
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8022
9300
  echo $ECHO_N "(cached) $ECHO_C" >&6
8023
9301
else
8205
9483
  lt_cv_sys_global_symbol_to_cdecl=
8206
9484
fi
8207
9485
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8208
 
  echo "$as_me:$LINENO: result: failed" >&5
8209
 
echo "${ECHO_T}failed" >&6
 
9486
  { echo "$as_me:$LINENO: result: failed" >&5
 
9487
echo "${ECHO_T}failed" >&6; }
8210
9488
else
8211
 
  echo "$as_me:$LINENO: result: ok" >&5
8212
 
echo "${ECHO_T}ok" >&6
 
9489
  { echo "$as_me:$LINENO: result: ok" >&5
 
9490
echo "${ECHO_T}ok" >&6; }
8213
9491
fi
8214
9492
 
8215
 
echo "$as_me:$LINENO: checking for objdir" >&5
8216
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
9493
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
9494
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8217
9495
if test "${lt_cv_objdir+set}" = set; then
8218
9496
  echo $ECHO_N "(cached) $ECHO_C" >&6
8219
9497
else
8227
9505
fi
8228
9506
rmdir .libs 2>/dev/null
8229
9507
fi
8230
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8231
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
9508
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
9509
echo "${ECHO_T}$lt_cv_objdir" >&6; }
8232
9510
objdir=$lt_cv_objdir
8233
9511
 
8234
9512
 
8279
9557
if test -n "$ac_tool_prefix"; then
8280
9558
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8281
9559
set dummy ${ac_tool_prefix}ar; ac_word=$2
8282
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8283
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9560
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9561
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8284
9562
if test "${ac_cv_prog_AR+set}" = set; then
8285
9563
  echo $ECHO_N "(cached) $ECHO_C" >&6
8286
9564
else
8293
9571
  IFS=$as_save_IFS
8294
9572
  test -z "$as_dir" && as_dir=.
8295
9573
  for ac_exec_ext in '' $ac_executable_extensions; do
8296
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9574
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297
9575
    ac_cv_prog_AR="${ac_tool_prefix}ar"
8298
9576
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8299
9577
    break 2
8300
9578
  fi
8301
9579
done
8302
9580
done
 
9581
IFS=$as_save_IFS
8303
9582
 
8304
9583
fi
8305
9584
fi
8306
9585
AR=$ac_cv_prog_AR
8307
9586
if test -n "$AR"; then
8308
 
  echo "$as_me:$LINENO: result: $AR" >&5
8309
 
echo "${ECHO_T}$AR" >&6
 
9587
  { echo "$as_me:$LINENO: result: $AR" >&5
 
9588
echo "${ECHO_T}$AR" >&6; }
8310
9589
else
8311
 
  echo "$as_me:$LINENO: result: no" >&5
8312
 
echo "${ECHO_T}no" >&6
 
9590
  { echo "$as_me:$LINENO: result: no" >&5
 
9591
echo "${ECHO_T}no" >&6; }
8313
9592
fi
 
9593
 
8314
9594
 
8315
9595
fi
8316
9596
if test -z "$ac_cv_prog_AR"; then
8317
9597
  ac_ct_AR=$AR
8318
9598
  # Extract the first word of "ar", so it can be a program name with args.
8319
9599
set dummy ar; ac_word=$2
8320
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8321
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9600
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9601
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8322
9602
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8323
9603
  echo $ECHO_N "(cached) $ECHO_C" >&6
8324
9604
else
8331
9611
  IFS=$as_save_IFS
8332
9612
  test -z "$as_dir" && as_dir=.
8333
9613
  for ac_exec_ext in '' $ac_executable_extensions; do
8334
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9614
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8335
9615
    ac_cv_prog_ac_ct_AR="ar"
8336
9616
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8337
9617
    break 2
8338
9618
  fi
8339
9619
done
8340
9620
done
 
9621
IFS=$as_save_IFS
8341
9622
 
8342
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
8343
9623
fi
8344
9624
fi
8345
9625
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8346
9626
if test -n "$ac_ct_AR"; then
8347
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8348
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
9627
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
9628
echo "${ECHO_T}$ac_ct_AR" >&6; }
8349
9629
else
8350
 
  echo "$as_me:$LINENO: result: no" >&5
8351
 
echo "${ECHO_T}no" >&6
 
9630
  { echo "$as_me:$LINENO: result: no" >&5
 
9631
echo "${ECHO_T}no" >&6; }
8352
9632
fi
8353
9633
 
8354
 
  AR=$ac_ct_AR
 
9634
  if test "x$ac_ct_AR" = x; then
 
9635
    AR="false"
 
9636
  else
 
9637
    case $cross_compiling:$ac_tool_warned in
 
9638
yes:)
 
9639
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9640
whose name does not start with the host triplet.  If you think this
 
9641
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9642
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9643
whose name does not start with the host triplet.  If you think this
 
9644
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9645
ac_tool_warned=yes ;;
 
9646
esac
 
9647
    AR=$ac_ct_AR
 
9648
  fi
8355
9649
else
8356
9650
  AR="$ac_cv_prog_AR"
8357
9651
fi
8359
9653
if test -n "$ac_tool_prefix"; then
8360
9654
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8361
9655
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8362
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8363
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9656
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9657
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8364
9658
if test "${ac_cv_prog_RANLIB+set}" = set; then
8365
9659
  echo $ECHO_N "(cached) $ECHO_C" >&6
8366
9660
else
8373
9667
  IFS=$as_save_IFS
8374
9668
  test -z "$as_dir" && as_dir=.
8375
9669
  for ac_exec_ext in '' $ac_executable_extensions; do
8376
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9670
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8377
9671
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8378
9672
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8379
9673
    break 2
8380
9674
  fi
8381
9675
done
8382
9676
done
 
9677
IFS=$as_save_IFS
8383
9678
 
8384
9679
fi
8385
9680
fi
8386
9681
RANLIB=$ac_cv_prog_RANLIB
8387
9682
if test -n "$RANLIB"; then
8388
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
8389
 
echo "${ECHO_T}$RANLIB" >&6
 
9683
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
9684
echo "${ECHO_T}$RANLIB" >&6; }
8390
9685
else
8391
 
  echo "$as_me:$LINENO: result: no" >&5
8392
 
echo "${ECHO_T}no" >&6
 
9686
  { echo "$as_me:$LINENO: result: no" >&5
 
9687
echo "${ECHO_T}no" >&6; }
8393
9688
fi
 
9689
 
8394
9690
 
8395
9691
fi
8396
9692
if test -z "$ac_cv_prog_RANLIB"; then
8397
9693
  ac_ct_RANLIB=$RANLIB
8398
9694
  # Extract the first word of "ranlib", so it can be a program name with args.
8399
9695
set dummy ranlib; ac_word=$2
8400
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8401
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9696
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9697
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8402
9698
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8403
9699
  echo $ECHO_N "(cached) $ECHO_C" >&6
8404
9700
else
8411
9707
  IFS=$as_save_IFS
8412
9708
  test -z "$as_dir" && as_dir=.
8413
9709
  for ac_exec_ext in '' $ac_executable_extensions; do
8414
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9710
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8415
9711
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8416
9712
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8417
9713
    break 2
8418
9714
  fi
8419
9715
done
8420
9716
done
 
9717
IFS=$as_save_IFS
8421
9718
 
8422
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8423
9719
fi
8424
9720
fi
8425
9721
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8426
9722
if test -n "$ac_ct_RANLIB"; then
8427
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8428
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
9723
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
9724
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8429
9725
else
8430
 
  echo "$as_me:$LINENO: result: no" >&5
8431
 
echo "${ECHO_T}no" >&6
 
9726
  { echo "$as_me:$LINENO: result: no" >&5
 
9727
echo "${ECHO_T}no" >&6; }
8432
9728
fi
8433
9729
 
8434
 
  RANLIB=$ac_ct_RANLIB
 
9730
  if test "x$ac_ct_RANLIB" = x; then
 
9731
    RANLIB=":"
 
9732
  else
 
9733
    case $cross_compiling:$ac_tool_warned in
 
9734
yes:)
 
9735
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9736
whose name does not start with the host triplet.  If you think this
 
9737
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9738
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9739
whose name does not start with the host triplet.  If you think this
 
9740
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9741
ac_tool_warned=yes ;;
 
9742
esac
 
9743
    RANLIB=$ac_ct_RANLIB
 
9744
  fi
8435
9745
else
8436
9746
  RANLIB="$ac_cv_prog_RANLIB"
8437
9747
fi
8439
9749
if test -n "$ac_tool_prefix"; then
8440
9750
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8441
9751
set dummy ${ac_tool_prefix}strip; ac_word=$2
8442
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8443
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9752
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9753
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8444
9754
if test "${ac_cv_prog_STRIP+set}" = set; then
8445
9755
  echo $ECHO_N "(cached) $ECHO_C" >&6
8446
9756
else
8453
9763
  IFS=$as_save_IFS
8454
9764
  test -z "$as_dir" && as_dir=.
8455
9765
  for ac_exec_ext in '' $ac_executable_extensions; do
8456
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9766
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8457
9767
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8458
9768
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8459
9769
    break 2
8460
9770
  fi
8461
9771
done
8462
9772
done
 
9773
IFS=$as_save_IFS
8463
9774
 
8464
9775
fi
8465
9776
fi
8466
9777
STRIP=$ac_cv_prog_STRIP
8467
9778
if test -n "$STRIP"; then
8468
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
8469
 
echo "${ECHO_T}$STRIP" >&6
 
9779
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
9780
echo "${ECHO_T}$STRIP" >&6; }
8470
9781
else
8471
 
  echo "$as_me:$LINENO: result: no" >&5
8472
 
echo "${ECHO_T}no" >&6
 
9782
  { echo "$as_me:$LINENO: result: no" >&5
 
9783
echo "${ECHO_T}no" >&6; }
8473
9784
fi
 
9785
 
8474
9786
 
8475
9787
fi
8476
9788
if test -z "$ac_cv_prog_STRIP"; then
8477
9789
  ac_ct_STRIP=$STRIP
8478
9790
  # Extract the first word of "strip", so it can be a program name with args.
8479
9791
set dummy strip; ac_word=$2
8480
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8481
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
9792
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9793
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8482
9794
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8483
9795
  echo $ECHO_N "(cached) $ECHO_C" >&6
8484
9796
else
8491
9803
  IFS=$as_save_IFS
8492
9804
  test -z "$as_dir" && as_dir=.
8493
9805
  for ac_exec_ext in '' $ac_executable_extensions; do
8494
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9806
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8495
9807
    ac_cv_prog_ac_ct_STRIP="strip"
8496
9808
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8497
9809
    break 2
8498
9810
  fi
8499
9811
done
8500
9812
done
 
9813
IFS=$as_save_IFS
8501
9814
 
8502
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
8503
9815
fi
8504
9816
fi
8505
9817
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8506
9818
if test -n "$ac_ct_STRIP"; then
8507
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8508
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
9819
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
9820
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8509
9821
else
8510
 
  echo "$as_me:$LINENO: result: no" >&5
8511
 
echo "${ECHO_T}no" >&6
 
9822
  { echo "$as_me:$LINENO: result: no" >&5
 
9823
echo "${ECHO_T}no" >&6; }
8512
9824
fi
8513
9825
 
8514
 
  STRIP=$ac_ct_STRIP
 
9826
  if test "x$ac_ct_STRIP" = x; then
 
9827
    STRIP=":"
 
9828
  else
 
9829
    case $cross_compiling:$ac_tool_warned in
 
9830
yes:)
 
9831
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9832
whose name does not start with the host triplet.  If you think this
 
9833
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9834
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9835
whose name does not start with the host triplet.  If you think this
 
9836
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9837
ac_tool_warned=yes ;;
 
9838
esac
 
9839
    STRIP=$ac_ct_STRIP
 
9840
  fi
8515
9841
else
8516
9842
  STRIP="$ac_cv_prog_STRIP"
8517
9843
fi
8558
9884
case $deplibs_check_method in
8559
9885
file_magic*)
8560
9886
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8561
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8562
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
9887
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
9888
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8563
9889
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8564
9890
  echo $ECHO_N "(cached) $ECHO_C" >&6
8565
9891
else
8611
9937
 
8612
9938
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8613
9939
if test -n "$MAGIC_CMD"; then
8614
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8615
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
9940
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
9941
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8616
9942
else
8617
 
  echo "$as_me:$LINENO: result: no" >&5
8618
 
echo "${ECHO_T}no" >&6
 
9943
  { echo "$as_me:$LINENO: result: no" >&5
 
9944
echo "${ECHO_T}no" >&6; }
8619
9945
fi
8620
9946
 
8621
9947
if test -z "$lt_cv_path_MAGIC_CMD"; then
8622
9948
  if test -n "$ac_tool_prefix"; then
8623
 
    echo "$as_me:$LINENO: checking for file" >&5
8624
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
9949
    { echo "$as_me:$LINENO: checking for file" >&5
 
9950
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8625
9951
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8626
9952
  echo $ECHO_N "(cached) $ECHO_C" >&6
8627
9953
else
8673
9999
 
8674
10000
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8675
10001
if test -n "$MAGIC_CMD"; then
8676
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8677
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
10002
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
10003
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8678
10004
else
8679
 
  echo "$as_me:$LINENO: result: no" >&5
8680
 
echo "${ECHO_T}no" >&6
 
10005
  { echo "$as_me:$LINENO: result: no" >&5
 
10006
echo "${ECHO_T}no" >&6; }
8681
10007
fi
8682
10008
 
8683
10009
  else
8692
10018
enable_dlopen=yes
8693
10019
enable_win32_dll=no
8694
10020
 
8695
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
10021
# Check whether --enable-libtool-lock was given.
8696
10022
if test "${enable_libtool_lock+set}" = set; then
8697
 
  enableval="$enable_libtool_lock"
 
10023
  enableval=$enable_libtool_lock;
 
10024
fi
8698
10025
 
8699
 
fi;
8700
10026
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8701
10027
 
8702
10028
 
8703
 
# Check whether --with-pic or --without-pic was given.
 
10029
# Check whether --with-pic was given.
8704
10030
if test "${with_pic+set}" = set; then
8705
 
  withval="$with_pic"
8706
 
  pic_mode="$withval"
 
10031
  withval=$with_pic; pic_mode="$withval"
8707
10032
else
8708
10033
  pic_mode=default
8709
 
fi;
 
10034
fi
 
10035
 
8710
10036
test -z "$pic_mode" && pic_mode=default
8711
10037
 
8712
10038
# Use C for the default configuration in the libtool script
8766
10092
#
8767
10093
# Check to make sure the static flag actually works.
8768
10094
#
8769
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
8770
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
 
10095
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
 
10096
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
8771
10097
if test "${lt_prog_compiler_static_works+set}" = set; then
8772
10098
  echo $ECHO_N "(cached) $ECHO_C" >&6
8773
10099
else
8789
10115
   LDFLAGS="$save_LDFLAGS"
8790
10116
 
8791
10117
fi
8792
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8793
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
10118
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
10119
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8794
10120
 
8795
10121
if test x"$lt_prog_compiler_static_works" = xyes; then
8796
10122
    :
8811
10137
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8812
10138
 
8813
10139
 
8814
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8815
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
10140
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
10141
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8816
10142
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8817
10143
  echo $ECHO_N "(cached) $ECHO_C" >&6
8818
10144
else
8829
10155
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8830
10156
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8831
10157
   -e 's:$: $lt_compiler_flag:'`
8832
 
   (eval echo "\"\$as_me:8832: $lt_compile\"" >&5)
 
10158
   (eval echo "\"\$as_me:10158: $lt_compile\"" >&5)
8833
10159
   (eval "$lt_compile" 2>conftest.err)
8834
10160
   ac_status=$?
8835
10161
   cat conftest.err >&5
8836
 
   echo "$as_me:8836: \$? = $ac_status" >&5
 
10162
   echo "$as_me:10162: \$? = $ac_status" >&5
8837
10163
   if (exit $ac_status) && test -s "$ac_outfile"; then
8838
10164
     # The compiler can only warn and ignore the option if not recognized
8839
10165
     # So say no if there are warnings
8844
10170
   $rm conftest*
8845
10171
 
8846
10172
fi
8847
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8848
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
10173
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
10174
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8849
10175
 
8850
10176
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8851
10177
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8859
10185
lt_prog_compiler_pic=
8860
10186
lt_prog_compiler_static=
8861
10187
 
8862
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8863
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
10188
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
10189
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8864
10190
 
8865
10191
  if test "$GCC" = yes; then
8866
10192
    lt_prog_compiler_wl='-Wl,'
9036
10362
    esac
9037
10363
  fi
9038
10364
 
9039
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9040
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
10365
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
10366
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9041
10367
 
9042
10368
#
9043
10369
# Check to make sure the PIC flag actually works.
9044
10370
#
9045
10371
if test -n "$lt_prog_compiler_pic"; then
9046
10372
 
9047
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9048
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
10373
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10374
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9049
10375
if test "${lt_prog_compiler_pic_works+set}" = set; then
9050
10376
  echo $ECHO_N "(cached) $ECHO_C" >&6
9051
10377
else
9062
10388
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9063
10389
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9064
10390
   -e 's:$: $lt_compiler_flag:'`
9065
 
   (eval echo "\"\$as_me:9065: $lt_compile\"" >&5)
 
10391
   (eval echo "\"\$as_me:10391: $lt_compile\"" >&5)
9066
10392
   (eval "$lt_compile" 2>conftest.err)
9067
10393
   ac_status=$?
9068
10394
   cat conftest.err >&5
9069
 
   echo "$as_me:9069: \$? = $ac_status" >&5
 
10395
   echo "$as_me:10395: \$? = $ac_status" >&5
9070
10396
   if (exit $ac_status) && test -s "$ac_outfile"; then
9071
10397
     # The compiler can only warn and ignore the option if not recognized
9072
10398
     # So say no if there are warnings
9077
10403
   $rm conftest*
9078
10404
 
9079
10405
fi
9080
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9081
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
10406
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
10407
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
9082
10408
 
9083
10409
if test x"$lt_prog_compiler_pic_works" = xyes; then
9084
10410
    case $lt_prog_compiler_pic in
9101
10427
    ;;
9102
10428
esac
9103
10429
 
9104
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9105
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
10430
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10431
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9106
10432
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9107
10433
  echo $ECHO_N "(cached) $ECHO_C" >&6
9108
10434
else
9129
10455
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9130
10456
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9131
10457
   -e 's:$: $lt_compiler_flag:'`
9132
 
   (eval echo "\"\$as_me:9132: $lt_compile\"" >&5)
 
10458
   (eval echo "\"\$as_me:10458: $lt_compile\"" >&5)
9133
10459
   (eval "$lt_compile" 2>out/conftest.err)
9134
10460
   ac_status=$?
9135
10461
   cat out/conftest.err >&5
9136
 
   echo "$as_me:9136: \$? = $ac_status" >&5
 
10462
   echo "$as_me:10462: \$? = $ac_status" >&5
9137
10463
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9138
10464
   then
9139
10465
     # The compiler can only warn and ignore the option if not recognized
9150
10476
   $rm conftest*
9151
10477
 
9152
10478
fi
9153
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9154
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
10479
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
10480
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9155
10481
 
9156
10482
 
9157
10483
hard_links="nottested"
9158
10484
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9159
10485
  # do not overwrite the value of need_locks provided by the user
9160
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9161
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
10486
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
10487
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9162
10488
  hard_links=yes
9163
10489
  $rm conftest*
9164
10490
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9165
10491
  touch conftest.a
9166
10492
  ln conftest.a conftest.b 2>&5 || hard_links=no
9167
10493
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9168
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
9169
 
echo "${ECHO_T}$hard_links" >&6
 
10494
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
10495
echo "${ECHO_T}$hard_links" >&6; }
9170
10496
  if test "$hard_links" = no; then
9171
10497
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9172
10498
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9176
10502
  need_locks=no
9177
10503
fi
9178
10504
 
9179
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9180
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
10505
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10506
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9181
10507
 
9182
10508
  runpath_var=
9183
10509
  allow_undefined_flag=
9272
10598
        allow_undefined_flag=unsupported
9273
10599
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9274
10600
        # support --undefined.  This deserves some investigation.  FIXME
9275
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10601
        archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9276
10602
      else
9277
10603
        ld_shlibs=no
9278
10604
      fi
9288
10614
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
9289
10615
 
9290
10616
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9291
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
10617
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
9292
10618
        # If the export-symbols file already is a .def file (1st line
9293
10619
        # is EXPORTS), use it as is; otherwise, prepend...
9294
10620
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9297
10623
          echo EXPORTS > $output_objdir/$soname.def;
9298
10624
          cat $export_symbols >> $output_objdir/$soname.def;
9299
10625
        fi~
9300
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
10626
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
9301
10627
      else
9302
10628
        ld_shlibs=no
9303
10629
      fi
9308
10634
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9309
10635
        wlarc=
9310
10636
      else
9311
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9312
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10637
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
 
10638
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9313
10639
      fi
9314
10640
      ;;
9315
10641
 
9327
10653
 
9328
10654
EOF
9329
10655
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9330
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9331
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10656
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
 
10657
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9332
10658
      else
9333
10659
        ld_shlibs=no
9334
10660
      fi
9343
10669
 
9344
10670
    *)
9345
10671
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9346
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9347
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10672
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
 
10673
        archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9348
10674
      else
9349
10675
        ld_shlibs=no
9350
10676
      fi
9472
10798
}
9473
10799
_ACEOF
9474
10800
rm -f conftest.$ac_objext conftest$ac_exeext
9475
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9476
 
  (eval $ac_link) 2>conftest.er1
 
10801
if { (ac_try="$ac_link"
 
10802
case "(($ac_try" in
 
10803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10804
  *) ac_try_echo=$ac_try;;
 
10805
esac
 
10806
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10807
  (eval "$ac_link") 2>conftest.er1
9477
10808
  ac_status=$?
9478
10809
  grep -v '^ *+' conftest.er1 >conftest.err
9479
10810
  rm -f conftest.er1
9480
10811
  cat conftest.err >&5
9481
10812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482
 
  (exit $ac_status); } &&
9483
 
         { ac_try='test -z "$ac_c_werror_flag"
9484
 
                         || test ! -s conftest.err'
9485
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9486
 
  (eval $ac_try) 2>&5
9487
 
  ac_status=$?
9488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489
 
  (exit $ac_status); }; } &&
9490
 
         { ac_try='test -s conftest$ac_exeext'
9491
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9492
 
  (eval $ac_try) 2>&5
9493
 
  ac_status=$?
9494
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495
 
  (exit $ac_status); }; }; then
 
10813
  (exit $ac_status); } && {
 
10814
         test -z "$ac_c_werror_flag" ||
 
10815
         test ! -s conftest.err
 
10816
       } && test -s conftest$ac_exeext &&
 
10817
       $as_test_x conftest$ac_exeext; then
9496
10818
 
9497
10819
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9498
10820
}'`
9503
10825
  echo "$as_me: failed program was:" >&5
9504
10826
sed 's/^/| /' conftest.$ac_ext >&5
9505
10827
 
 
10828
 
9506
10829
fi
9507
 
rm -f conftest.err conftest.$ac_objext \
 
10830
 
 
10831
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9508
10832
      conftest$ac_exeext conftest.$ac_ext
9509
10833
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9510
10834
 
9511
10835
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9512
 
        archive_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
9513
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
10836
        archive_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
 
10837
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9514
10838
       else
9515
10839
        if test "$host_cpu" = ia64; then
9516
10840
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9517
10841
          allow_undefined_flag="-z nodefs"
9518
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
10842
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
9519
10843
        else
9520
10844
         # Determine the default libpath from the value encoded in an empty executable.
9521
10845
         cat >conftest.$ac_ext <<_ACEOF
9534
10858
}
9535
10859
_ACEOF
9536
10860
rm -f conftest.$ac_objext conftest$ac_exeext
9537
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9538
 
  (eval $ac_link) 2>conftest.er1
 
10861
if { (ac_try="$ac_link"
 
10862
case "(($ac_try" in
 
10863
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10864
  *) ac_try_echo=$ac_try;;
 
10865
esac
 
10866
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10867
  (eval "$ac_link") 2>conftest.er1
9539
10868
  ac_status=$?
9540
10869
  grep -v '^ *+' conftest.er1 >conftest.err
9541
10870
  rm -f conftest.er1
9542
10871
  cat conftest.err >&5
9543
10872
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544
 
  (exit $ac_status); } &&
9545
 
         { ac_try='test -z "$ac_c_werror_flag"
9546
 
                         || test ! -s conftest.err'
9547
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9548
 
  (eval $ac_try) 2>&5
9549
 
  ac_status=$?
9550
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551
 
  (exit $ac_status); }; } &&
9552
 
         { ac_try='test -s conftest$ac_exeext'
9553
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9554
 
  (eval $ac_try) 2>&5
9555
 
  ac_status=$?
9556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557
 
  (exit $ac_status); }; }; then
 
10873
  (exit $ac_status); } && {
 
10874
         test -z "$ac_c_werror_flag" ||
 
10875
         test ! -s conftest.err
 
10876
       } && test -s conftest$ac_exeext &&
 
10877
       $as_test_x conftest$ac_exeext; then
9558
10878
 
9559
10879
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9560
10880
}'`
9565
10885
  echo "$as_me: failed program was:" >&5
9566
10886
sed 's/^/| /' conftest.$ac_ext >&5
9567
10887
 
 
10888
 
9568
10889
fi
9569
 
rm -f conftest.err conftest.$ac_objext \
 
10890
 
 
10891
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9570
10892
      conftest$ac_exeext conftest.$ac_ext
9571
10893
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9572
10894
 
9581
10903
          whole_archive_flag_spec=' '
9582
10904
          archive_cmds_need_lc=yes
9583
10905
          # This is similar to how AIX traditionally builds it's shared libraries.
9584
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
10906
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9585
10907
        fi
9586
10908
      fi
9587
10909
      ;;
9610
10932
      # Tell ltmain to make .dll files, not .so files.
9611
10933
      shrext=".dll"
9612
10934
      # FIXME: Setting linknames here is a bad hack.
9613
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
10935
      archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9614
10936
      # The linker will automatically build a .lib file if we build a DLL.
9615
10937
      old_archive_From_new_cmds='true'
9616
10938
      # FIXME: Should let the user specify the lib program.
9624
10946
      archive_cmds_need_lc=no
9625
10947
      case "$host_os" in
9626
10948
      rhapsody* | darwin1.[012])
9627
 
        allow_undefined_flag='-undefined suppress'
 
10949
        allow_undefined_flag='-Wl,-undefined -Wl,suppress'
9628
10950
        ;;
9629
10951
      *) # Darwin 1.3 on
9630
 
        test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
 
10952
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
10953
          allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
 
10954
        else
 
10955
          case ${MACOSX_DEPLOYMENT_TARGET} in
 
10956
            10.012)
 
10957
              allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
 
10958
              ;;
 
10959
            10.*)
 
10960
              allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
 
10961
              ;;
 
10962
          esac
 
10963
        fi
9631
10964
        ;;
9632
10965
      esac
9633
10966
        lt_int_apple_cc_single_mod=no
9636
10969
          lt_int_apple_cc_single_mod=yes
9637
10970
        fi
9638
10971
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9639
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
10972
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
9640
10973
        else
9641
 
        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
10974
        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
9642
10975
      fi
9643
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
10976
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
9644
10977
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9645
10978
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9646
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10979
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9647
10980
        else
9648
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10981
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9649
10982
        fi
9650
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10983
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9651
10984
      hardcode_direct=no
9652
10985
      hardcode_automatic=yes
9653
10986
      hardcode_shlibpath_var=unsupported
9688
11021
      ;;
9689
11022
 
9690
11023
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9691
 
    freebsd*)
9692
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
11024
    freebsd* | kfreebsd*-gnu)
 
11025
      archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
9693
11026
      hardcode_libdir_flag_spec='-R$libdir'
9694
11027
      hardcode_direct=yes
9695
11028
      hardcode_shlibpath_var=no
9697
11030
 
9698
11031
    hpux9*)
9699
11032
      if test "$GCC" = yes; then
9700
 
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
11033
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9701
11034
      else
9702
11035
        archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9703
11036
      fi
9715
11048
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9716
11049
        case "$host_cpu" in
9717
11050
        hppa*64*|ia64*)
9718
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11051
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
9719
11052
          ;;
9720
11053
        *)
9721
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11054
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
9722
11055
          ;;
9723
11056
        esac
9724
11057
      else
9765
11098
 
9766
11099
    irix5* | irix6* | nonstopux*)
9767
11100
      if test "$GCC" = yes; then
9768
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11101
        archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9769
11102
      else
9770
11103
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9771
11104
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
9798
11131
      hardcode_direct=yes
9799
11132
      hardcode_shlibpath_var=no
9800
11133
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9801
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11134
        archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
9802
11135
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9803
11136
        export_dynamic_flag_spec='${wl}-E'
9804
11137
      else
9808
11141
           hardcode_libdir_flag_spec='-R$libdir'
9809
11142
           ;;
9810
11143
         *)
9811
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11144
           archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
9812
11145
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9813
11146
           ;;
9814
11147
       esac
9819
11152
      hardcode_libdir_flag_spec='-L$libdir'
9820
11153
      hardcode_minus_L=yes
9821
11154
      allow_undefined_flag=unsupported
9822
 
      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
11155
      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
9823
11156
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9824
11157
      ;;
9825
11158
 
9826
11159
    osf3*)
9827
11160
      if test "$GCC" = yes; then
9828
11161
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9829
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11162
        archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9830
11163
      else
9831
11164
        allow_undefined_flag=' -expect_unresolved \*'
9832
11165
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9838
11171
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9839
11172
      if test "$GCC" = yes; then
9840
11173
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9841
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11174
        archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9842
11175
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9843
11176
      else
9844
11177
        allow_undefined_flag=' -expect_unresolved \*'
9863
11196
    solaris*)
9864
11197
      no_undefined_flag=' -z text'
9865
11198
      if test "$GCC" = yes; then
9866
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11199
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
9867
11200
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9868
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
11201
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
9869
11202
      else
9870
11203
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9871
11204
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9885
11218
      if test "x$host_vendor" = xsequent; then
9886
11219
        # Use $CC to link under sequent, because it throws in some extra .o
9887
11220
        # files that make .init and .fini sections work.
9888
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11221
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
9889
11222
      else
9890
11223
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9891
11224
      fi
9945
11278
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
9946
11279
      no_undefined_flag='${wl}-z ${wl}text'
9947
11280
      if test "$GCC" = yes; then
9948
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11281
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
9949
11282
      else
9950
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11283
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
9951
11284
      fi
9952
11285
      runpath_var='LD_RUN_PATH'
9953
11286
      hardcode_shlibpath_var=no
9977
11310
    esac
9978
11311
  fi
9979
11312
 
9980
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9981
 
echo "${ECHO_T}$ld_shlibs" >&6
 
11313
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
11314
echo "${ECHO_T}$ld_shlibs" >&6; }
9982
11315
test "$ld_shlibs" = no && can_build_shared=no
9983
11316
 
9984
11317
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10003
11336
      # Test whether the compiler implicitly links with -lc since on some
10004
11337
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10005
11338
      # to ld, don't add -lc before -lgcc.
10006
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10007
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
11339
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
11340
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10008
11341
      $rm conftest*
10009
11342
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10010
11343
 
10040
11373
        cat conftest.err 1>&5
10041
11374
      fi
10042
11375
      $rm conftest*
10043
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10044
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
11376
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
11377
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10045
11378
      ;;
10046
11379
    esac
10047
11380
  fi
10048
11381
  ;;
10049
11382
esac
10050
11383
 
10051
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10052
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
11384
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
11385
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10053
11386
library_names_spec=
10054
11387
libname_spec='lib$name'
10055
11388
soname_spec=
10241
11574
  dynamic_linker=no
10242
11575
  ;;
10243
11576
 
10244
 
freebsd*-gnu*)
 
11577
kfreebsd*-gnu*)
10245
11578
  version_type=linux
10246
11579
  need_lib_prefix=no
10247
11580
  need_version=no
10392
11725
  libsuff=
10393
11726
  if test "x$LINUX_64_MODE" = x64; then
10394
11727
    # Some platforms are per default 64-bit, so there's no /lib64
10395
 
    if test -d /lib64; then
 
11728
    if test -d /lib64 -a ! -h /lib64; then
10396
11729
      libsuff=64
10397
11730
    fi
10398
11731
  fi
10566
11899
  dynamic_linker=no
10567
11900
  ;;
10568
11901
esac
10569
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10570
 
echo "${ECHO_T}$dynamic_linker" >&6
 
11902
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11903
echo "${ECHO_T}$dynamic_linker" >&6; }
10571
11904
test "$dynamic_linker" = no && can_build_shared=no
10572
11905
 
10573
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10574
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
11906
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11907
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10575
11908
hardcode_action=
10576
11909
if test -n "$hardcode_libdir_flag_spec" || \
10577
11910
   test -n "$runpath_var " || \
10595
11928
  # directories.
10596
11929
  hardcode_action=unsupported
10597
11930
fi
10598
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
10599
 
echo "${ECHO_T}$hardcode_action" >&6
 
11931
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11932
echo "${ECHO_T}$hardcode_action" >&6; }
10600
11933
 
10601
11934
if test "$hardcode_action" = relink; then
10602
11935
  # Fast installation is not supported
10609
11942
 
10610
11943
striplib=
10611
11944
old_striplib=
10612
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10613
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
11945
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11946
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10614
11947
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10615
11948
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10616
11949
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10617
 
  echo "$as_me:$LINENO: result: yes" >&5
10618
 
echo "${ECHO_T}yes" >&6
 
11950
  { echo "$as_me:$LINENO: result: yes" >&5
 
11951
echo "${ECHO_T}yes" >&6; }
10619
11952
else
10620
11953
# FIXME - insert some real tests, host_os isn't really good enough
10621
11954
  case $host_os in
10622
11955
   darwin*)
10623
11956
       if test -n "$STRIP" ; then
10624
11957
         striplib="$STRIP -x"
10625
 
         echo "$as_me:$LINENO: result: yes" >&5
10626
 
echo "${ECHO_T}yes" >&6
 
11958
         { echo "$as_me:$LINENO: result: yes" >&5
 
11959
echo "${ECHO_T}yes" >&6; }
10627
11960
       else
10628
 
  echo "$as_me:$LINENO: result: no" >&5
10629
 
echo "${ECHO_T}no" >&6
 
11961
  { echo "$as_me:$LINENO: result: no" >&5
 
11962
echo "${ECHO_T}no" >&6; }
10630
11963
fi
10631
11964
       ;;
10632
11965
   *)
10633
 
  echo "$as_me:$LINENO: result: no" >&5
10634
 
echo "${ECHO_T}no" >&6
 
11966
  { echo "$as_me:$LINENO: result: no" >&5
 
11967
echo "${ECHO_T}no" >&6; }
10635
11968
    ;;
10636
11969
  esac
10637
11970
fi
10663
11996
 
10664
11997
  darwin*)
10665
11998
  # if libdl is installed we need to link against it
10666
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10667
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
11999
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12000
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10668
12001
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10669
12002
  echo $ECHO_N "(cached) $ECHO_C" >&6
10670
12003
else
10677
12010
cat >>conftest.$ac_ext <<_ACEOF
10678
12011
/* end confdefs.h.  */
10679
12012
 
10680
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12013
/* Override any GCC internal prototype to avoid an error.
 
12014
   Use char because int might match the return type of a GCC
 
12015
   builtin and then its argument prototype would still apply.  */
10681
12016
#ifdef __cplusplus
10682
12017
extern "C"
10683
12018
#endif
10684
 
/* We use char because int might match the return type of a gcc2
10685
 
   builtin and then its argument prototype would still apply.  */
10686
12019
char dlopen ();
10687
12020
int
10688
12021
main ()
10689
12022
{
10690
 
dlopen ();
 
12023
return dlopen ();
10691
12024
  ;
10692
12025
  return 0;
10693
12026
}
10694
12027
_ACEOF
10695
12028
rm -f conftest.$ac_objext conftest$ac_exeext
10696
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10697
 
  (eval $ac_link) 2>conftest.er1
 
12029
if { (ac_try="$ac_link"
 
12030
case "(($ac_try" in
 
12031
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12032
  *) ac_try_echo=$ac_try;;
 
12033
esac
 
12034
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12035
  (eval "$ac_link") 2>conftest.er1
10698
12036
  ac_status=$?
10699
12037
  grep -v '^ *+' conftest.er1 >conftest.err
10700
12038
  rm -f conftest.er1
10701
12039
  cat conftest.err >&5
10702
12040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703
 
  (exit $ac_status); } &&
10704
 
         { ac_try='test -z "$ac_c_werror_flag"
10705
 
                         || test ! -s conftest.err'
10706
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10707
 
  (eval $ac_try) 2>&5
10708
 
  ac_status=$?
10709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710
 
  (exit $ac_status); }; } &&
10711
 
         { ac_try='test -s conftest$ac_exeext'
10712
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10713
 
  (eval $ac_try) 2>&5
10714
 
  ac_status=$?
10715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716
 
  (exit $ac_status); }; }; then
 
12041
  (exit $ac_status); } && {
 
12042
         test -z "$ac_c_werror_flag" ||
 
12043
         test ! -s conftest.err
 
12044
       } && test -s conftest$ac_exeext &&
 
12045
       $as_test_x conftest$ac_exeext; then
10717
12046
  ac_cv_lib_dl_dlopen=yes
10718
12047
else
10719
12048
  echo "$as_me: failed program was:" >&5
10720
12049
sed 's/^/| /' conftest.$ac_ext >&5
10721
12050
 
10722
 
ac_cv_lib_dl_dlopen=no
 
12051
        ac_cv_lib_dl_dlopen=no
10723
12052
fi
10724
 
rm -f conftest.err conftest.$ac_objext \
 
12053
 
 
12054
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10725
12055
      conftest$ac_exeext conftest.$ac_ext
10726
12056
LIBS=$ac_check_lib_save_LIBS
10727
12057
fi
10728
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10729
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
12058
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12059
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10730
12060
if test $ac_cv_lib_dl_dlopen = yes; then
10731
12061
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10732
12062
else
10740
12070
   ;;
10741
12071
 
10742
12072
  *)
10743
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
10744
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
12073
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
12074
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10745
12075
if test "${ac_cv_func_shl_load+set}" = set; then
10746
12076
  echo $ECHO_N "(cached) $ECHO_C" >&6
10747
12077
else
10768
12098
 
10769
12099
#undef shl_load
10770
12100
 
10771
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12101
/* Override any GCC internal prototype to avoid an error.
 
12102
   Use char because int might match the return type of a GCC
 
12103
   builtin and then its argument prototype would still apply.  */
10772
12104
#ifdef __cplusplus
10773
12105
extern "C"
10774
 
{
10775
12106
#endif
10776
 
/* We use char because int might match the return type of a gcc2
10777
 
   builtin and then its argument prototype would still apply.  */
10778
12107
char shl_load ();
10779
12108
/* The GNU C library defines this for functions which it implements
10780
12109
    to always fail with ENOSYS.  Some functions are actually named
10781
12110
    something starting with __ and the normal name is an alias.  */
10782
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
12111
#if defined __stub_shl_load || defined __stub___shl_load
10783
12112
choke me
10784
 
#else
10785
 
char (*f) () = shl_load;
10786
 
#endif
10787
 
#ifdef __cplusplus
10788
 
}
10789
12113
#endif
10790
12114
 
10791
12115
int
10792
12116
main ()
10793
12117
{
10794
 
return f != shl_load;
 
12118
return shl_load ();
10795
12119
  ;
10796
12120
  return 0;
10797
12121
}
10798
12122
_ACEOF
10799
12123
rm -f conftest.$ac_objext conftest$ac_exeext
10800
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10801
 
  (eval $ac_link) 2>conftest.er1
 
12124
if { (ac_try="$ac_link"
 
12125
case "(($ac_try" in
 
12126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12127
  *) ac_try_echo=$ac_try;;
 
12128
esac
 
12129
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12130
  (eval "$ac_link") 2>conftest.er1
10802
12131
  ac_status=$?
10803
12132
  grep -v '^ *+' conftest.er1 >conftest.err
10804
12133
  rm -f conftest.er1
10805
12134
  cat conftest.err >&5
10806
12135
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807
 
  (exit $ac_status); } &&
10808
 
         { ac_try='test -z "$ac_c_werror_flag"
10809
 
                         || test ! -s conftest.err'
10810
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10811
 
  (eval $ac_try) 2>&5
10812
 
  ac_status=$?
10813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10814
 
  (exit $ac_status); }; } &&
10815
 
         { ac_try='test -s conftest$ac_exeext'
10816
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10817
 
  (eval $ac_try) 2>&5
10818
 
  ac_status=$?
10819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820
 
  (exit $ac_status); }; }; then
 
12136
  (exit $ac_status); } && {
 
12137
         test -z "$ac_c_werror_flag" ||
 
12138
         test ! -s conftest.err
 
12139
       } && test -s conftest$ac_exeext &&
 
12140
       $as_test_x conftest$ac_exeext; then
10821
12141
  ac_cv_func_shl_load=yes
10822
12142
else
10823
12143
  echo "$as_me: failed program was:" >&5
10824
12144
sed 's/^/| /' conftest.$ac_ext >&5
10825
12145
 
10826
 
ac_cv_func_shl_load=no
 
12146
        ac_cv_func_shl_load=no
10827
12147
fi
10828
 
rm -f conftest.err conftest.$ac_objext \
 
12148
 
 
12149
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10829
12150
      conftest$ac_exeext conftest.$ac_ext
10830
12151
fi
10831
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10832
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
12152
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
12153
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10833
12154
if test $ac_cv_func_shl_load = yes; then
10834
12155
  lt_cv_dlopen="shl_load"
10835
12156
else
10836
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10837
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
12157
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
12158
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10838
12159
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10839
12160
  echo $ECHO_N "(cached) $ECHO_C" >&6
10840
12161
else
10847
12168
cat >>conftest.$ac_ext <<_ACEOF
10848
12169
/* end confdefs.h.  */
10849
12170
 
10850
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12171
/* Override any GCC internal prototype to avoid an error.
 
12172
   Use char because int might match the return type of a GCC
 
12173
   builtin and then its argument prototype would still apply.  */
10851
12174
#ifdef __cplusplus
10852
12175
extern "C"
10853
12176
#endif
10854
 
/* We use char because int might match the return type of a gcc2
10855
 
   builtin and then its argument prototype would still apply.  */
10856
12177
char shl_load ();
10857
12178
int
10858
12179
main ()
10859
12180
{
10860
 
shl_load ();
 
12181
return shl_load ();
10861
12182
  ;
10862
12183
  return 0;
10863
12184
}
10864
12185
_ACEOF
10865
12186
rm -f conftest.$ac_objext conftest$ac_exeext
10866
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10867
 
  (eval $ac_link) 2>conftest.er1
 
12187
if { (ac_try="$ac_link"
 
12188
case "(($ac_try" in
 
12189
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12190
  *) ac_try_echo=$ac_try;;
 
12191
esac
 
12192
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12193
  (eval "$ac_link") 2>conftest.er1
10868
12194
  ac_status=$?
10869
12195
  grep -v '^ *+' conftest.er1 >conftest.err
10870
12196
  rm -f conftest.er1
10871
12197
  cat conftest.err >&5
10872
12198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873
 
  (exit $ac_status); } &&
10874
 
         { ac_try='test -z "$ac_c_werror_flag"
10875
 
                         || test ! -s conftest.err'
10876
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10877
 
  (eval $ac_try) 2>&5
10878
 
  ac_status=$?
10879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880
 
  (exit $ac_status); }; } &&
10881
 
         { ac_try='test -s conftest$ac_exeext'
10882
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10883
 
  (eval $ac_try) 2>&5
10884
 
  ac_status=$?
10885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886
 
  (exit $ac_status); }; }; then
 
12199
  (exit $ac_status); } && {
 
12200
         test -z "$ac_c_werror_flag" ||
 
12201
         test ! -s conftest.err
 
12202
       } && test -s conftest$ac_exeext &&
 
12203
       $as_test_x conftest$ac_exeext; then
10887
12204
  ac_cv_lib_dld_shl_load=yes
10888
12205
else
10889
12206
  echo "$as_me: failed program was:" >&5
10890
12207
sed 's/^/| /' conftest.$ac_ext >&5
10891
12208
 
10892
 
ac_cv_lib_dld_shl_load=no
 
12209
        ac_cv_lib_dld_shl_load=no
10893
12210
fi
10894
 
rm -f conftest.err conftest.$ac_objext \
 
12211
 
 
12212
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10895
12213
      conftest$ac_exeext conftest.$ac_ext
10896
12214
LIBS=$ac_check_lib_save_LIBS
10897
12215
fi
10898
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10899
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
12216
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
12217
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10900
12218
if test $ac_cv_lib_dld_shl_load = yes; then
10901
12219
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10902
12220
else
10903
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
10904
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
12221
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
12222
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10905
12223
if test "${ac_cv_func_dlopen+set}" = set; then
10906
12224
  echo $ECHO_N "(cached) $ECHO_C" >&6
10907
12225
else
10928
12246
 
10929
12247
#undef dlopen
10930
12248
 
10931
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12249
/* Override any GCC internal prototype to avoid an error.
 
12250
   Use char because int might match the return type of a GCC
 
12251
   builtin and then its argument prototype would still apply.  */
10932
12252
#ifdef __cplusplus
10933
12253
extern "C"
10934
 
{
10935
12254
#endif
10936
 
/* We use char because int might match the return type of a gcc2
10937
 
   builtin and then its argument prototype would still apply.  */
10938
12255
char dlopen ();
10939
12256
/* The GNU C library defines this for functions which it implements
10940
12257
    to always fail with ENOSYS.  Some functions are actually named
10941
12258
    something starting with __ and the normal name is an alias.  */
10942
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
12259
#if defined __stub_dlopen || defined __stub___dlopen
10943
12260
choke me
10944
 
#else
10945
 
char (*f) () = dlopen;
10946
 
#endif
10947
 
#ifdef __cplusplus
10948
 
}
10949
12261
#endif
10950
12262
 
10951
12263
int
10952
12264
main ()
10953
12265
{
10954
 
return f != dlopen;
 
12266
return dlopen ();
10955
12267
  ;
10956
12268
  return 0;
10957
12269
}
10958
12270
_ACEOF
10959
12271
rm -f conftest.$ac_objext conftest$ac_exeext
10960
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10961
 
  (eval $ac_link) 2>conftest.er1
 
12272
if { (ac_try="$ac_link"
 
12273
case "(($ac_try" in
 
12274
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12275
  *) ac_try_echo=$ac_try;;
 
12276
esac
 
12277
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12278
  (eval "$ac_link") 2>conftest.er1
10962
12279
  ac_status=$?
10963
12280
  grep -v '^ *+' conftest.er1 >conftest.err
10964
12281
  rm -f conftest.er1
10965
12282
  cat conftest.err >&5
10966
12283
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967
 
  (exit $ac_status); } &&
10968
 
         { ac_try='test -z "$ac_c_werror_flag"
10969
 
                         || test ! -s conftest.err'
10970
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10971
 
  (eval $ac_try) 2>&5
10972
 
  ac_status=$?
10973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974
 
  (exit $ac_status); }; } &&
10975
 
         { ac_try='test -s conftest$ac_exeext'
10976
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10977
 
  (eval $ac_try) 2>&5
10978
 
  ac_status=$?
10979
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980
 
  (exit $ac_status); }; }; then
 
12284
  (exit $ac_status); } && {
 
12285
         test -z "$ac_c_werror_flag" ||
 
12286
         test ! -s conftest.err
 
12287
       } && test -s conftest$ac_exeext &&
 
12288
       $as_test_x conftest$ac_exeext; then
10981
12289
  ac_cv_func_dlopen=yes
10982
12290
else
10983
12291
  echo "$as_me: failed program was:" >&5
10984
12292
sed 's/^/| /' conftest.$ac_ext >&5
10985
12293
 
10986
 
ac_cv_func_dlopen=no
 
12294
        ac_cv_func_dlopen=no
10987
12295
fi
10988
 
rm -f conftest.err conftest.$ac_objext \
 
12296
 
 
12297
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10989
12298
      conftest$ac_exeext conftest.$ac_ext
10990
12299
fi
10991
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10992
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
12300
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
12301
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10993
12302
if test $ac_cv_func_dlopen = yes; then
10994
12303
  lt_cv_dlopen="dlopen"
10995
12304
else
10996
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10997
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
12305
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12306
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10998
12307
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10999
12308
  echo $ECHO_N "(cached) $ECHO_C" >&6
11000
12309
else
11007
12316
cat >>conftest.$ac_ext <<_ACEOF
11008
12317
/* end confdefs.h.  */
11009
12318
 
11010
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12319
/* Override any GCC internal prototype to avoid an error.
 
12320
   Use char because int might match the return type of a GCC
 
12321
   builtin and then its argument prototype would still apply.  */
11011
12322
#ifdef __cplusplus
11012
12323
extern "C"
11013
12324
#endif
11014
 
/* We use char because int might match the return type of a gcc2
11015
 
   builtin and then its argument prototype would still apply.  */
11016
12325
char dlopen ();
11017
12326
int
11018
12327
main ()
11019
12328
{
11020
 
dlopen ();
 
12329
return dlopen ();
11021
12330
  ;
11022
12331
  return 0;
11023
12332
}
11024
12333
_ACEOF
11025
12334
rm -f conftest.$ac_objext conftest$ac_exeext
11026
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11027
 
  (eval $ac_link) 2>conftest.er1
 
12335
if { (ac_try="$ac_link"
 
12336
case "(($ac_try" in
 
12337
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12338
  *) ac_try_echo=$ac_try;;
 
12339
esac
 
12340
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12341
  (eval "$ac_link") 2>conftest.er1
11028
12342
  ac_status=$?
11029
12343
  grep -v '^ *+' conftest.er1 >conftest.err
11030
12344
  rm -f conftest.er1
11031
12345
  cat conftest.err >&5
11032
12346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033
 
  (exit $ac_status); } &&
11034
 
         { ac_try='test -z "$ac_c_werror_flag"
11035
 
                         || test ! -s conftest.err'
11036
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11037
 
  (eval $ac_try) 2>&5
11038
 
  ac_status=$?
11039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040
 
  (exit $ac_status); }; } &&
11041
 
         { ac_try='test -s conftest$ac_exeext'
11042
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11043
 
  (eval $ac_try) 2>&5
11044
 
  ac_status=$?
11045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046
 
  (exit $ac_status); }; }; then
 
12347
  (exit $ac_status); } && {
 
12348
         test -z "$ac_c_werror_flag" ||
 
12349
         test ! -s conftest.err
 
12350
       } && test -s conftest$ac_exeext &&
 
12351
       $as_test_x conftest$ac_exeext; then
11047
12352
  ac_cv_lib_dl_dlopen=yes
11048
12353
else
11049
12354
  echo "$as_me: failed program was:" >&5
11050
12355
sed 's/^/| /' conftest.$ac_ext >&5
11051
12356
 
11052
 
ac_cv_lib_dl_dlopen=no
 
12357
        ac_cv_lib_dl_dlopen=no
11053
12358
fi
11054
 
rm -f conftest.err conftest.$ac_objext \
 
12359
 
 
12360
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11055
12361
      conftest$ac_exeext conftest.$ac_ext
11056
12362
LIBS=$ac_check_lib_save_LIBS
11057
12363
fi
11058
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11059
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
12364
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12365
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11060
12366
if test $ac_cv_lib_dl_dlopen = yes; then
11061
12367
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11062
12368
else
11063
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11064
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
12369
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
12370
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11065
12371
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11066
12372
  echo $ECHO_N "(cached) $ECHO_C" >&6
11067
12373
else
11074
12380
cat >>conftest.$ac_ext <<_ACEOF
11075
12381
/* end confdefs.h.  */
11076
12382
 
11077
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12383
/* Override any GCC internal prototype to avoid an error.
 
12384
   Use char because int might match the return type of a GCC
 
12385
   builtin and then its argument prototype would still apply.  */
11078
12386
#ifdef __cplusplus
11079
12387
extern "C"
11080
12388
#endif
11081
 
/* We use char because int might match the return type of a gcc2
11082
 
   builtin and then its argument prototype would still apply.  */
11083
12389
char dlopen ();
11084
12390
int
11085
12391
main ()
11086
12392
{
11087
 
dlopen ();
 
12393
return dlopen ();
11088
12394
  ;
11089
12395
  return 0;
11090
12396
}
11091
12397
_ACEOF
11092
12398
rm -f conftest.$ac_objext conftest$ac_exeext
11093
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11094
 
  (eval $ac_link) 2>conftest.er1
 
12399
if { (ac_try="$ac_link"
 
12400
case "(($ac_try" in
 
12401
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12402
  *) ac_try_echo=$ac_try;;
 
12403
esac
 
12404
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12405
  (eval "$ac_link") 2>conftest.er1
11095
12406
  ac_status=$?
11096
12407
  grep -v '^ *+' conftest.er1 >conftest.err
11097
12408
  rm -f conftest.er1
11098
12409
  cat conftest.err >&5
11099
12410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100
 
  (exit $ac_status); } &&
11101
 
         { ac_try='test -z "$ac_c_werror_flag"
11102
 
                         || test ! -s conftest.err'
11103
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11104
 
  (eval $ac_try) 2>&5
11105
 
  ac_status=$?
11106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107
 
  (exit $ac_status); }; } &&
11108
 
         { ac_try='test -s conftest$ac_exeext'
11109
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11110
 
  (eval $ac_try) 2>&5
11111
 
  ac_status=$?
11112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113
 
  (exit $ac_status); }; }; then
 
12411
  (exit $ac_status); } && {
 
12412
         test -z "$ac_c_werror_flag" ||
 
12413
         test ! -s conftest.err
 
12414
       } && test -s conftest$ac_exeext &&
 
12415
       $as_test_x conftest$ac_exeext; then
11114
12416
  ac_cv_lib_svld_dlopen=yes
11115
12417
else
11116
12418
  echo "$as_me: failed program was:" >&5
11117
12419
sed 's/^/| /' conftest.$ac_ext >&5
11118
12420
 
11119
 
ac_cv_lib_svld_dlopen=no
 
12421
        ac_cv_lib_svld_dlopen=no
11120
12422
fi
11121
 
rm -f conftest.err conftest.$ac_objext \
 
12423
 
 
12424
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11122
12425
      conftest$ac_exeext conftest.$ac_ext
11123
12426
LIBS=$ac_check_lib_save_LIBS
11124
12427
fi
11125
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11126
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
12428
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
12429
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11127
12430
if test $ac_cv_lib_svld_dlopen = yes; then
11128
12431
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11129
12432
else
11130
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11131
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
12433
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
12434
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11132
12435
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11133
12436
  echo $ECHO_N "(cached) $ECHO_C" >&6
11134
12437
else
11141
12444
cat >>conftest.$ac_ext <<_ACEOF
11142
12445
/* end confdefs.h.  */
11143
12446
 
11144
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12447
/* Override any GCC internal prototype to avoid an error.
 
12448
   Use char because int might match the return type of a GCC
 
12449
   builtin and then its argument prototype would still apply.  */
11145
12450
#ifdef __cplusplus
11146
12451
extern "C"
11147
12452
#endif
11148
 
/* We use char because int might match the return type of a gcc2
11149
 
   builtin and then its argument prototype would still apply.  */
11150
12453
char dld_link ();
11151
12454
int
11152
12455
main ()
11153
12456
{
11154
 
dld_link ();
 
12457
return dld_link ();
11155
12458
  ;
11156
12459
  return 0;
11157
12460
}
11158
12461
_ACEOF
11159
12462
rm -f conftest.$ac_objext conftest$ac_exeext
11160
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11161
 
  (eval $ac_link) 2>conftest.er1
 
12463
if { (ac_try="$ac_link"
 
12464
case "(($ac_try" in
 
12465
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12466
  *) ac_try_echo=$ac_try;;
 
12467
esac
 
12468
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12469
  (eval "$ac_link") 2>conftest.er1
11162
12470
  ac_status=$?
11163
12471
  grep -v '^ *+' conftest.er1 >conftest.err
11164
12472
  rm -f conftest.er1
11165
12473
  cat conftest.err >&5
11166
12474
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167
 
  (exit $ac_status); } &&
11168
 
         { ac_try='test -z "$ac_c_werror_flag"
11169
 
                         || test ! -s conftest.err'
11170
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11171
 
  (eval $ac_try) 2>&5
11172
 
  ac_status=$?
11173
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174
 
  (exit $ac_status); }; } &&
11175
 
         { ac_try='test -s conftest$ac_exeext'
11176
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11177
 
  (eval $ac_try) 2>&5
11178
 
  ac_status=$?
11179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180
 
  (exit $ac_status); }; }; then
 
12475
  (exit $ac_status); } && {
 
12476
         test -z "$ac_c_werror_flag" ||
 
12477
         test ! -s conftest.err
 
12478
       } && test -s conftest$ac_exeext &&
 
12479
       $as_test_x conftest$ac_exeext; then
11181
12480
  ac_cv_lib_dld_dld_link=yes
11182
12481
else
11183
12482
  echo "$as_me: failed program was:" >&5
11184
12483
sed 's/^/| /' conftest.$ac_ext >&5
11185
12484
 
11186
 
ac_cv_lib_dld_dld_link=no
 
12485
        ac_cv_lib_dld_dld_link=no
11187
12486
fi
11188
 
rm -f conftest.err conftest.$ac_objext \
 
12487
 
 
12488
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11189
12489
      conftest$ac_exeext conftest.$ac_ext
11190
12490
LIBS=$ac_check_lib_save_LIBS
11191
12491
fi
11192
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11193
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
12492
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
12493
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11194
12494
if test $ac_cv_lib_dld_dld_link = yes; then
11195
12495
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11196
12496
fi
11230
12530
    save_LIBS="$LIBS"
11231
12531
    LIBS="$lt_cv_dlopen_libs $LIBS"
11232
12532
 
11233
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11234
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
12533
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
12534
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11235
12535
if test "${lt_cv_dlopen_self+set}" = set; then
11236
12536
  echo $ECHO_N "(cached) $ECHO_C" >&6
11237
12537
else
11241
12541
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11242
12542
  lt_status=$lt_dlunknown
11243
12543
  cat > conftest.$ac_ext <<EOF
11244
 
#line 11244 "configure"
 
12544
#line 12544 "configure"
11245
12545
#include "confdefs.h"
11246
12546
 
11247
12547
#if HAVE_DLFCN_H
11323
12623
 
11324
12624
 
11325
12625
fi
11326
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11327
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
12626
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
12627
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11328
12628
 
11329
12629
    if test "x$lt_cv_dlopen_self" = xyes; then
11330
12630
      LDFLAGS="$LDFLAGS $link_static_flag"
11331
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11332
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
12631
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
12632
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11333
12633
if test "${lt_cv_dlopen_self_static+set}" = set; then
11334
12634
  echo $ECHO_N "(cached) $ECHO_C" >&6
11335
12635
else
11339
12639
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11340
12640
  lt_status=$lt_dlunknown
11341
12641
  cat > conftest.$ac_ext <<EOF
11342
 
#line 11342 "configure"
 
12642
#line 12642 "configure"
11343
12643
#include "confdefs.h"
11344
12644
 
11345
12645
#if HAVE_DLFCN_H
11421
12721
 
11422
12722
 
11423
12723
fi
11424
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11425
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
12724
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
12725
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11426
12726
    fi
11427
12727
 
11428
12728
    CPPFLAGS="$save_CPPFLAGS"
11444
12744
 
11445
12745
 
11446
12746
# Report which librarie types wil actually be built
11447
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11448
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11449
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
11450
 
echo "${ECHO_T}$can_build_shared" >&6
 
12747
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12748
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
12749
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12750
echo "${ECHO_T}$can_build_shared" >&6; }
11451
12751
 
11452
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11453
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
12752
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12753
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11454
12754
test "$can_build_shared" = "no" && enable_shared=no
11455
12755
 
11456
12756
# On AIX, shared libraries and static libraries use the same namespace, and
11474
12774
    archive_cmds_need_lc=no
11475
12775
    case "$host_os" in
11476
12776
    rhapsody* | darwin1.[012])
11477
 
      allow_undefined_flag='-undefined suppress'
 
12777
      allow_undefined_flag='-Wl,-undefined -Wl,suppress'
11478
12778
      ;;
11479
12779
    *) # Darwin 1.3 on
11480
 
      test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
 
12780
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
12781
        allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
 
12782
      else
 
12783
        case ${MACOSX_DEPLOYMENT_TARGET} in
 
12784
          10.012)
 
12785
            allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
 
12786
            ;;
 
12787
          10.*)
 
12788
            allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
 
12789
            ;;
 
12790
        esac
 
12791
      fi
11481
12792
      ;;
11482
12793
    esac
11483
12794
    output_verbose_link_cmd='echo'
11484
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
11485
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
12795
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
 
12796
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
11486
12797
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11487
 
    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11488
 
    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
12798
    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
12799
    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11489
12800
    hardcode_direct=no
11490
12801
    hardcode_automatic=yes
11491
12802
    hardcode_shlibpath_var=unsupported
11496
12807
  fi
11497
12808
    ;;
11498
12809
esac
11499
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
11500
 
echo "${ECHO_T}$enable_shared" >&6
 
12810
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12811
echo "${ECHO_T}$enable_shared" >&6; }
11501
12812
 
11502
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11503
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
12813
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12814
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11504
12815
# Make sure either enable_shared or enable_static is yes.
11505
12816
test "$enable_shared" = yes || enable_static=yes
11506
 
echo "$as_me:$LINENO: result: $enable_static" >&5
11507
 
echo "${ECHO_T}$enable_static" >&6
 
12817
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
12818
echo "${ECHO_T}$enable_static" >&6; }
11508
12819
 
11509
12820
# The else clause should only fire when bootstrapping the
11510
12821
# libtool distribution, otherwise you forgot to ship ltmain.sh
11622
12933
#
11623
12934
# You should have received a copy of the GNU General Public License
11624
12935
# along with this program; if not, write to the Free Software
11625
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
12936
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11626
12937
#
11627
12938
# As a special exception to the GNU General Public License, if you
11628
12939
# distribute this file as part of a program that contains a
11983
13294
CC="$lt_save_CC"
11984
13295
 
11985
13296
 
11986
 
# Check whether --with-tags or --without-tags was given.
 
13297
# Check whether --with-tags was given.
11987
13298
if test "${with_tags+set}" = set; then
11988
 
  withval="$with_tags"
11989
 
  tagnames="$withval"
11990
 
fi;
 
13299
  withval=$with_tags; tagnames="$withval"
 
13300
fi
 
13301
 
11991
13302
 
11992
13303
if test -f "$ltmain" && test -n "$tagnames"; then
11993
13304
  if test ! -f "${ofile}"; then
12036
13347
      case $tagname in
12037
13348
      CXX)
12038
13349
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
12039
 
          ac_ext=cc
 
13350
          ac_ext=cpp
12040
13351
ac_cpp='$CXXCPP $CPPFLAGS'
12041
13352
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12042
13353
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12128
13439
  # Set up default GNU C++ configuration
12129
13440
 
12130
13441
 
12131
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
13442
# Check whether --with-gnu-ld was given.
12132
13443
if test "${with_gnu_ld+set}" = set; then
12133
 
  withval="$with_gnu_ld"
12134
 
  test "$withval" = no || with_gnu_ld=yes
 
13444
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12135
13445
else
12136
13446
  with_gnu_ld=no
12137
 
fi;
 
13447
fi
 
13448
 
12138
13449
ac_prog=ld
12139
13450
if test "$GCC" = yes; then
12140
13451
  # Check if gcc -print-prog-name=ld gives a path.
12141
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12142
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
13452
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
13453
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12143
13454
  case $host in
12144
13455
  *-*-mingw*)
12145
13456
    # gcc leaves a trailing carriage return which upsets mingw
12168
13479
    ;;
12169
13480
  esac
12170
13481
elif test "$with_gnu_ld" = yes; then
12171
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
12172
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
13482
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
13483
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12173
13484
else
12174
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12175
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
13485
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
13486
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12176
13487
fi
12177
13488
if test "${lt_cv_path_LD+set}" = set; then
12178
13489
  echo $ECHO_N "(cached) $ECHO_C" >&6
12205
13516
 
12206
13517
LD="$lt_cv_path_LD"
12207
13518
if test -n "$LD"; then
12208
 
  echo "$as_me:$LINENO: result: $LD" >&5
12209
 
echo "${ECHO_T}$LD" >&6
 
13519
  { echo "$as_me:$LINENO: result: $LD" >&5
 
13520
echo "${ECHO_T}$LD" >&6; }
12210
13521
else
12211
 
  echo "$as_me:$LINENO: result: no" >&5
12212
 
echo "${ECHO_T}no" >&6
 
13522
  { echo "$as_me:$LINENO: result: no" >&5
 
13523
echo "${ECHO_T}no" >&6; }
12213
13524
fi
12214
13525
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12215
13526
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12216
13527
   { (exit 1); exit 1; }; }
12217
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12218
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
13528
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
13529
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12219
13530
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12220
13531
  echo $ECHO_N "(cached) $ECHO_C" >&6
12221
13532
else
12229
13540
  ;;
12230
13541
esac
12231
13542
fi
12232
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12233
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
13543
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
13544
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12234
13545
with_gnu_ld=$lt_cv_prog_gnu_ld
12235
13546
 
12236
13547
 
12238
13549
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
12239
13550
  # archiving commands below assume that GNU ld is being used.
12240
13551
  if test "$with_gnu_ld" = yes; then
12241
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12242
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
13552
    archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
 
13553
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12243
13554
 
12244
13555
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12245
13556
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12265
13576
    # linker, instead of GNU ld.  If possible, this setting should
12266
13577
    # overridden to take advantage of the native linker features on
12267
13578
    # the platform it is being used on.
12268
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13579
    archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
12269
13580
  fi
12270
13581
 
12271
13582
  # Commands to make compiler produce verbose output that lists
12280
13591
fi
12281
13592
 
12282
13593
# PORTME: fill in a description of your system's C++ link characteristics
12283
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12284
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13594
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13595
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12285
13596
ld_shlibs_CXX=yes
12286
13597
case $host_os in
12287
13598
  aix3*)
12373
13684
}
12374
13685
_ACEOF
12375
13686
rm -f conftest.$ac_objext conftest$ac_exeext
12376
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12377
 
  (eval $ac_link) 2>conftest.er1
 
13687
if { (ac_try="$ac_link"
 
13688
case "(($ac_try" in
 
13689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13690
  *) ac_try_echo=$ac_try;;
 
13691
esac
 
13692
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13693
  (eval "$ac_link") 2>conftest.er1
12378
13694
  ac_status=$?
12379
13695
  grep -v '^ *+' conftest.er1 >conftest.err
12380
13696
  rm -f conftest.er1
12381
13697
  cat conftest.err >&5
12382
13698
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383
 
  (exit $ac_status); } &&
12384
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12385
 
                         || test ! -s conftest.err'
12386
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387
 
  (eval $ac_try) 2>&5
12388
 
  ac_status=$?
12389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390
 
  (exit $ac_status); }; } &&
12391
 
         { ac_try='test -s conftest$ac_exeext'
12392
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12393
 
  (eval $ac_try) 2>&5
12394
 
  ac_status=$?
12395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396
 
  (exit $ac_status); }; }; then
 
13699
  (exit $ac_status); } && {
 
13700
         test -z "$ac_cxx_werror_flag" ||
 
13701
         test ! -s conftest.err
 
13702
       } && test -s conftest$ac_exeext &&
 
13703
       $as_test_x conftest$ac_exeext; then
12397
13704
 
12398
13705
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12399
13706
}'`
12404
13711
  echo "$as_me: failed program was:" >&5
12405
13712
sed 's/^/| /' conftest.$ac_ext >&5
12406
13713
 
 
13714
 
12407
13715
fi
12408
 
rm -f conftest.err conftest.$ac_objext \
 
13716
 
 
13717
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12409
13718
      conftest$ac_exeext conftest.$ac_ext
12410
13719
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12411
13720
 
12412
13721
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12413
13722
 
12414
 
      archive_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
12415
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
13723
      archive_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
 
13724
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12416
13725
     else
12417
13726
      if test "$host_cpu" = ia64; then
12418
13727
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12419
13728
        allow_undefined_flag_CXX="-z nodefs"
12420
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
13729
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
12421
13730
      else
12422
13731
        # Determine the default libpath from the value encoded in an empty executable.
12423
13732
        cat >conftest.$ac_ext <<_ACEOF
12436
13745
}
12437
13746
_ACEOF
12438
13747
rm -f conftest.$ac_objext conftest$ac_exeext
12439
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12440
 
  (eval $ac_link) 2>conftest.er1
 
13748
if { (ac_try="$ac_link"
 
13749
case "(($ac_try" in
 
13750
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13751
  *) ac_try_echo=$ac_try;;
 
13752
esac
 
13753
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13754
  (eval "$ac_link") 2>conftest.er1
12441
13755
  ac_status=$?
12442
13756
  grep -v '^ *+' conftest.er1 >conftest.err
12443
13757
  rm -f conftest.er1
12444
13758
  cat conftest.err >&5
12445
13759
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446
 
  (exit $ac_status); } &&
12447
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12448
 
                         || test ! -s conftest.err'
12449
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12450
 
  (eval $ac_try) 2>&5
12451
 
  ac_status=$?
12452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453
 
  (exit $ac_status); }; } &&
12454
 
         { ac_try='test -s conftest$ac_exeext'
12455
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456
 
  (eval $ac_try) 2>&5
12457
 
  ac_status=$?
12458
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459
 
  (exit $ac_status); }; }; then
 
13760
  (exit $ac_status); } && {
 
13761
         test -z "$ac_cxx_werror_flag" ||
 
13762
         test ! -s conftest.err
 
13763
       } && test -s conftest$ac_exeext &&
 
13764
       $as_test_x conftest$ac_exeext; then
12460
13765
 
12461
13766
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12462
13767
}'`
12467
13772
  echo "$as_me: failed program was:" >&5
12468
13773
sed 's/^/| /' conftest.$ac_ext >&5
12469
13774
 
 
13775
 
12470
13776
fi
12471
 
rm -f conftest.err conftest.$ac_objext \
 
13777
 
 
13778
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12472
13779
      conftest$ac_exeext conftest.$ac_ext
12473
13780
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12474
13781
 
12483
13790
        whole_archive_flag_spec_CXX=' '
12484
13791
        archive_cmds_need_lc_CXX=yes
12485
13792
        # This is similar to how AIX traditionally builds it's shared libraries.
12486
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
13793
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12487
13794
      fi
12488
13795
    fi
12489
13796
    ;;
12505
13812
    enable_shared_with_static_runtimes_CXX=yes
12506
13813
 
12507
13814
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12508
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
13815
      archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12509
13816
      # If the export-symbols file already is a .def file (1st line
12510
13817
      # is EXPORTS), use it as is; otherwise, prepend...
12511
13818
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12514
13821
        echo EXPORTS > $output_objdir/$soname.def;
12515
13822
        cat $export_symbols >> $output_objdir/$soname.def;
12516
13823
      fi~
12517
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
13824
      $CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12518
13825
    else
12519
13826
      ld_shlibs_CXX=no
12520
13827
    fi
12525
13832
    archive_cmds_need_lc_CXX=no
12526
13833
    case "$host_os" in
12527
13834
    rhapsody* | darwin1.[012])
12528
 
      allow_undefined_flag_CXX='-undefined suppress'
 
13835
      allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress'
12529
13836
      ;;
12530
13837
    *) # Darwin 1.3 on
12531
 
      test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
 
13838
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
13839
        allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
 
13840
      else
 
13841
        case ${MACOSX_DEPLOYMENT_TARGET} in
 
13842
          10.012)
 
13843
            allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
 
13844
            ;;
 
13845
          10.*)
 
13846
            allow_undefined_flag_CXX='-Wl,-undefined -Wl,dynamic_lookup'
 
13847
            ;;
 
13848
        esac
 
13849
      fi
12532
13850
      ;;
12533
13851
    esac
12534
13852
    lt_int_apple_cc_single_mod=no
12537
13855
      lt_int_apple_cc_single_mod=yes
12538
13856
    fi
12539
13857
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12540
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
13858
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
12541
13859
    else
12542
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
13860
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
12543
13861
    fi
12544
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
13862
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
12545
13863
 
12546
13864
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12547
13865
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12548
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
13866
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12549
13867
    else
12550
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
13868
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12551
13869
    fi
12552
 
    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
13870
    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12553
13871
    hardcode_direct_CXX=no
12554
13872
    hardcode_automatic_CXX=yes
12555
13873
    hardcode_shlibpath_var_CXX=unsupported
12584
13902
  freebsd-elf*)
12585
13903
    archive_cmds_need_lc_CXX=no
12586
13904
    ;;
12587
 
  freebsd*)
 
13905
  freebsd* | kfreebsd*-gnu)
12588
13906
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12589
13907
    # conventions
12590
13908
    ld_shlibs_CXX=yes
12606
13924
      ld_shlibs_CXX=no
12607
13925
      ;;
12608
13926
    aCC)
12609
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
13927
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12610
13928
      # Commands to make compiler produce verbose output that lists
12611
13929
      # what "hidden" libraries, object files and flags are used when
12612
13930
      # linking a shared library.
12619
13937
      ;;
12620
13938
    *)
12621
13939
      if test "$GXX" = yes; then
12622
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
13940
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12623
13941
      else
12624
13942
        # FIXME: insert proper C++ library support
12625
13943
        ld_shlibs_CXX=no
12676
13994
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12677
13995
          ;;
12678
13996
        *)
12679
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13997
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
12680
13998
          ;;
12681
13999
        esac
12682
14000
        # Commands to make compiler produce verbose output that lists
12697
14015
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12698
14016
              ;;
12699
14017
            *)
12700
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14018
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
12701
14019
              ;;
12702
14020
            esac
12703
14021
          fi
12712
14030
    case $cc_basename in
12713
14031
      CC)
12714
14032
        # SGI C++
12715
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
14033
        archive_cmds_CXX='$CC -shared -all -multigot $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12716
14034
 
12717
14035
        # Archives containing C++ object files must be created using
12718
14036
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12723
14041
      *)
12724
14042
        if test "$GXX" = yes; then
12725
14043
          if test "$with_gnu_ld" = no; then
12726
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
14044
            archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12727
14045
          else
12728
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
 
14046
            archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12729
14047
          fi
12730
14048
        fi
12731
14049
        link_all_deplibs_CXX=yes
12742
14060
        # KCC will only create a shared library if the output file
12743
14061
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12744
14062
        # to its proper name (with version) after linking.
12745
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12746
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
 
14063
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
 
14064
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12747
14065
        # Commands to make compiler produce verbose output that lists
12748
14066
        # what "hidden" libraries, object files and flags are used when
12749
14067
        # linking a shared library.
12765
14083
        # Intel C++
12766
14084
        with_gnu_ld=yes
12767
14085
        archive_cmds_need_lc_CXX=no
12768
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12769
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
14086
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
 
14087
        archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12770
14088
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12771
14089
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12772
14090
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12773
14091
        ;;
12774
14092
      cxx)
12775
14093
        # Compaq C++
12776
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12777
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
 
14094
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
 
14095
        archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12778
14096
 
12779
14097
        runpath_var=LD_RUN_PATH
12780
14098
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12831
14149
        # KCC will only create a shared library if the output file
12832
14150
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12833
14151
        # to its proper name (with version) after linking.
12834
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
14152
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
12835
14153
 
12836
14154
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12837
14155
        hardcode_libdir_separator_CXX=:
12848
14166
        ;;
12849
14167
      cxx)
12850
14168
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12851
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
14169
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12852
14170
 
12853
14171
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12854
14172
        hardcode_libdir_separator_CXX=:
12866
14184
      *)
12867
14185
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12868
14186
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12869
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
14187
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12870
14188
 
12871
14189
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12872
14190
          hardcode_libdir_separator_CXX=:
12891
14209
        # KCC will only create a shared library if the output file
12892
14210
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12893
14211
        # to its proper name (with version) after linking.
12894
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
14212
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
12895
14213
 
12896
14214
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12897
14215
        hardcode_libdir_separator_CXX=:
12907
14225
        ;;
12908
14226
      cxx)
12909
14227
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12910
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
14228
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12911
14229
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12912
14230
          echo "-hidden">> $lib.exp~
12913
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
 
14231
          $CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
12914
14232
          $rm $lib.exp'
12915
14233
 
12916
14234
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12929
14247
      *)
12930
14248
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12931
14249
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12932
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
14250
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12933
14251
 
12934
14252
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12935
14253
          hardcode_libdir_separator_CXX=:
12986
14304
      CC)
12987
14305
        # Sun C++ 4.2, 5.x and Centerline C++
12988
14306
        no_undefined_flag_CXX=' -zdefs'
12989
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14307
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
12990
14308
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12991
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
14309
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
12992
14310
 
12993
14311
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12994
14312
        hardcode_shlibpath_var_CXX=no
13022
14340
        ;;
13023
14341
      gcx)
13024
14342
        # Green Hills C++ Compiler
13025
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
14343
        archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13026
14344
 
13027
14345
        # The C++ compiler must be used to create the archive.
13028
14346
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13032
14350
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13033
14351
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13034
14352
          if $CC --version | grep -v '^2\.7' > /dev/null; then
13035
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
14353
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13036
14354
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13037
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
14355
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
13038
14356
 
13039
14357
            # Commands to make compiler produce verbose output that lists
13040
14358
            # what "hidden" libraries, object files and flags are used when
13043
14361
          else
13044
14362
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
13045
14363
            # platform.
13046
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
14364
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13047
14365
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13048
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
14366
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
13049
14367
 
13050
14368
            # Commands to make compiler produce verbose output that lists
13051
14369
            # what "hidden" libraries, object files and flags are used when
13083
14401
    ld_shlibs_CXX=no
13084
14402
    ;;
13085
14403
esac
13086
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13087
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
14404
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14405
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13088
14406
test "$ld_shlibs_CXX" = no && can_build_shared=no
13089
14407
 
13090
14408
GCC_CXX="$GXX"
13204
14522
lt_prog_compiler_pic_CXX=
13205
14523
lt_prog_compiler_static_CXX=
13206
14524
 
13207
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13208
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14525
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14526
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13209
14527
 
13210
14528
  # C++ specific cases for pic, static, wl, etc.
13211
14529
  if test "$GXX" = yes; then
13295
14613
            ;;
13296
14614
        esac
13297
14615
        ;;
13298
 
      freebsd*)
 
14616
      freebsd* | kfreebsd*-gnu)
13299
14617
        # FreeBSD uses GNU C++
13300
14618
        ;;
13301
14619
      hpux9* | hpux10* | hpux11*)
13456
14774
    esac
13457
14775
  fi
13458
14776
 
13459
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13460
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
14777
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
14778
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13461
14779
 
13462
14780
#
13463
14781
# Check to make sure the PIC flag actually works.
13464
14782
#
13465
14783
if test -n "$lt_prog_compiler_pic_CXX"; then
13466
14784
 
13467
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13468
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
14785
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
14786
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13469
14787
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13470
14788
  echo $ECHO_N "(cached) $ECHO_C" >&6
13471
14789
else
13482
14800
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13483
14801
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13484
14802
   -e 's:$: $lt_compiler_flag:'`
13485
 
   (eval echo "\"\$as_me:13485: $lt_compile\"" >&5)
 
14803
   (eval echo "\"\$as_me:14803: $lt_compile\"" >&5)
13486
14804
   (eval "$lt_compile" 2>conftest.err)
13487
14805
   ac_status=$?
13488
14806
   cat conftest.err >&5
13489
 
   echo "$as_me:13489: \$? = $ac_status" >&5
 
14807
   echo "$as_me:14807: \$? = $ac_status" >&5
13490
14808
   if (exit $ac_status) && test -s "$ac_outfile"; then
13491
14809
     # The compiler can only warn and ignore the option if not recognized
13492
14810
     # So say no if there are warnings
13497
14815
   $rm conftest*
13498
14816
 
13499
14817
fi
13500
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13501
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
14818
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
14819
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13502
14820
 
13503
14821
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13504
14822
    case $lt_prog_compiler_pic_CXX in
13521
14839
    ;;
13522
14840
esac
13523
14841
 
13524
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13525
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14842
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14843
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13526
14844
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13527
14845
  echo $ECHO_N "(cached) $ECHO_C" >&6
13528
14846
else
13549
14867
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13550
14868
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13551
14869
   -e 's:$: $lt_compiler_flag:'`
13552
 
   (eval echo "\"\$as_me:13552: $lt_compile\"" >&5)
 
14870
   (eval echo "\"\$as_me:14870: $lt_compile\"" >&5)
13553
14871
   (eval "$lt_compile" 2>out/conftest.err)
13554
14872
   ac_status=$?
13555
14873
   cat out/conftest.err >&5
13556
 
   echo "$as_me:13556: \$? = $ac_status" >&5
 
14874
   echo "$as_me:14874: \$? = $ac_status" >&5
13557
14875
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13558
14876
   then
13559
14877
     # The compiler can only warn and ignore the option if not recognized
13570
14888
   $rm conftest*
13571
14889
 
13572
14890
fi
13573
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13574
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
14891
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14892
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13575
14893
 
13576
14894
 
13577
14895
hard_links="nottested"
13578
14896
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13579
14897
  # do not overwrite the value of need_locks provided by the user
13580
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13581
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14898
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14899
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13582
14900
  hard_links=yes
13583
14901
  $rm conftest*
13584
14902
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13585
14903
  touch conftest.a
13586
14904
  ln conftest.a conftest.b 2>&5 || hard_links=no
13587
14905
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13588
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13589
 
echo "${ECHO_T}$hard_links" >&6
 
14906
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14907
echo "${ECHO_T}$hard_links" >&6; }
13590
14908
  if test "$hard_links" = no; then
13591
14909
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13592
14910
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13596
14914
  need_locks=no
13597
14915
fi
13598
14916
 
13599
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13600
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14917
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14918
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13601
14919
 
13602
14920
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13603
14921
  case $host_os in
13621
14939
  ;;
13622
14940
  esac
13623
14941
 
13624
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13625
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
14942
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14943
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13626
14944
test "$ld_shlibs_CXX" = no && can_build_shared=no
13627
14945
 
13628
14946
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13647
14965
      # Test whether the compiler implicitly links with -lc since on some
13648
14966
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13649
14967
      # to ld, don't add -lc before -lgcc.
13650
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13651
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
14968
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14969
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13652
14970
      $rm conftest*
13653
14971
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13654
14972
 
13684
15002
        cat conftest.err 1>&5
13685
15003
      fi
13686
15004
      $rm conftest*
13687
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13688
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
15005
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
15006
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13689
15007
      ;;
13690
15008
    esac
13691
15009
  fi
13692
15010
  ;;
13693
15011
esac
13694
15012
 
13695
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13696
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15013
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15014
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13697
15015
library_names_spec=
13698
15016
libname_spec='lib$name'
13699
15017
soname_spec=
13885
15203
  dynamic_linker=no
13886
15204
  ;;
13887
15205
 
13888
 
freebsd*-gnu*)
 
15206
kfreebsd*-gnu*)
13889
15207
  version_type=linux
13890
15208
  need_lib_prefix=no
13891
15209
  need_version=no
14036
15354
  libsuff=
14037
15355
  if test "x$LINUX_64_MODE" = x64; then
14038
15356
    # Some platforms are per default 64-bit, so there's no /lib64
14039
 
    if test -d /lib64; then
 
15357
    if test -d /lib64 -a ! -h /lib64; then
14040
15358
      libsuff=64
14041
15359
    fi
14042
15360
  fi
14210
15528
  dynamic_linker=no
14211
15529
  ;;
14212
15530
esac
14213
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14214
 
echo "${ECHO_T}$dynamic_linker" >&6
 
15531
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15532
echo "${ECHO_T}$dynamic_linker" >&6; }
14215
15533
test "$dynamic_linker" = no && can_build_shared=no
14216
15534
 
14217
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14218
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
15535
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15536
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14219
15537
hardcode_action_CXX=
14220
15538
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14221
15539
   test -n "$runpath_var CXX" || \
14239
15557
  # directories.
14240
15558
  hardcode_action_CXX=unsupported
14241
15559
fi
14242
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14243
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
15560
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
15561
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14244
15562
 
14245
15563
if test "$hardcode_action_CXX" = relink; then
14246
15564
  # Fast installation is not supported
14253
15571
 
14254
15572
striplib=
14255
15573
old_striplib=
14256
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14257
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
15574
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
15575
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
14258
15576
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14259
15577
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14260
15578
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14261
 
  echo "$as_me:$LINENO: result: yes" >&5
14262
 
echo "${ECHO_T}yes" >&6
 
15579
  { echo "$as_me:$LINENO: result: yes" >&5
 
15580
echo "${ECHO_T}yes" >&6; }
14263
15581
else
14264
15582
# FIXME - insert some real tests, host_os isn't really good enough
14265
15583
  case $host_os in
14266
15584
   darwin*)
14267
15585
       if test -n "$STRIP" ; then
14268
15586
         striplib="$STRIP -x"
14269
 
         echo "$as_me:$LINENO: result: yes" >&5
14270
 
echo "${ECHO_T}yes" >&6
 
15587
         { echo "$as_me:$LINENO: result: yes" >&5
 
15588
echo "${ECHO_T}yes" >&6; }
14271
15589
       else
14272
 
  echo "$as_me:$LINENO: result: no" >&5
14273
 
echo "${ECHO_T}no" >&6
 
15590
  { echo "$as_me:$LINENO: result: no" >&5
 
15591
echo "${ECHO_T}no" >&6; }
14274
15592
fi
14275
15593
       ;;
14276
15594
   *)
14277
 
  echo "$as_me:$LINENO: result: no" >&5
14278
 
echo "${ECHO_T}no" >&6
 
15595
  { echo "$as_me:$LINENO: result: no" >&5
 
15596
echo "${ECHO_T}no" >&6; }
14279
15597
    ;;
14280
15598
  esac
14281
15599
fi
14307
15625
 
14308
15626
  darwin*)
14309
15627
  # if libdl is installed we need to link against it
14310
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14311
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
15628
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
15629
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
14312
15630
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14313
15631
  echo $ECHO_N "(cached) $ECHO_C" >&6
14314
15632
else
14321
15639
cat >>conftest.$ac_ext <<_ACEOF
14322
15640
/* end confdefs.h.  */
14323
15641
 
14324
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
15642
/* Override any GCC internal prototype to avoid an error.
 
15643
   Use char because int might match the return type of a GCC
 
15644
   builtin and then its argument prototype would still apply.  */
14325
15645
#ifdef __cplusplus
14326
15646
extern "C"
14327
15647
#endif
14328
 
/* We use char because int might match the return type of a gcc2
14329
 
   builtin and then its argument prototype would still apply.  */
14330
15648
char dlopen ();
14331
15649
int
14332
15650
main ()
14333
15651
{
14334
 
dlopen ();
 
15652
return dlopen ();
14335
15653
  ;
14336
15654
  return 0;
14337
15655
}
14338
15656
_ACEOF
14339
15657
rm -f conftest.$ac_objext conftest$ac_exeext
14340
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14341
 
  (eval $ac_link) 2>conftest.er1
 
15658
if { (ac_try="$ac_link"
 
15659
case "(($ac_try" in
 
15660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15661
  *) ac_try_echo=$ac_try;;
 
15662
esac
 
15663
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15664
  (eval "$ac_link") 2>conftest.er1
14342
15665
  ac_status=$?
14343
15666
  grep -v '^ *+' conftest.er1 >conftest.err
14344
15667
  rm -f conftest.er1
14345
15668
  cat conftest.err >&5
14346
15669
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347
 
  (exit $ac_status); } &&
14348
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14349
 
                         || test ! -s conftest.err'
14350
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14351
 
  (eval $ac_try) 2>&5
14352
 
  ac_status=$?
14353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354
 
  (exit $ac_status); }; } &&
14355
 
         { ac_try='test -s conftest$ac_exeext'
14356
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14357
 
  (eval $ac_try) 2>&5
14358
 
  ac_status=$?
14359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360
 
  (exit $ac_status); }; }; then
 
15670
  (exit $ac_status); } && {
 
15671
         test -z "$ac_cxx_werror_flag" ||
 
15672
         test ! -s conftest.err
 
15673
       } && test -s conftest$ac_exeext &&
 
15674
       $as_test_x conftest$ac_exeext; then
14361
15675
  ac_cv_lib_dl_dlopen=yes
14362
15676
else
14363
15677
  echo "$as_me: failed program was:" >&5
14364
15678
sed 's/^/| /' conftest.$ac_ext >&5
14365
15679
 
14366
 
ac_cv_lib_dl_dlopen=no
 
15680
        ac_cv_lib_dl_dlopen=no
14367
15681
fi
14368
 
rm -f conftest.err conftest.$ac_objext \
 
15682
 
 
15683
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14369
15684
      conftest$ac_exeext conftest.$ac_ext
14370
15685
LIBS=$ac_check_lib_save_LIBS
14371
15686
fi
14372
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14373
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
15687
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
15688
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
14374
15689
if test $ac_cv_lib_dl_dlopen = yes; then
14375
15690
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14376
15691
else
14384
15699
   ;;
14385
15700
 
14386
15701
  *)
14387
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
14388
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
15702
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
15703
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
14389
15704
if test "${ac_cv_func_shl_load+set}" = set; then
14390
15705
  echo $ECHO_N "(cached) $ECHO_C" >&6
14391
15706
else
14412
15727
 
14413
15728
#undef shl_load
14414
15729
 
14415
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
15730
/* Override any GCC internal prototype to avoid an error.
 
15731
   Use char because int might match the return type of a GCC
 
15732
   builtin and then its argument prototype would still apply.  */
14416
15733
#ifdef __cplusplus
14417
15734
extern "C"
14418
 
{
14419
15735
#endif
14420
 
/* We use char because int might match the return type of a gcc2
14421
 
   builtin and then its argument prototype would still apply.  */
14422
15736
char shl_load ();
14423
15737
/* The GNU C library defines this for functions which it implements
14424
15738
    to always fail with ENOSYS.  Some functions are actually named
14425
15739
    something starting with __ and the normal name is an alias.  */
14426
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
15740
#if defined __stub_shl_load || defined __stub___shl_load
14427
15741
choke me
14428
 
#else
14429
 
char (*f) () = shl_load;
14430
 
#endif
14431
 
#ifdef __cplusplus
14432
 
}
14433
15742
#endif
14434
15743
 
14435
15744
int
14436
15745
main ()
14437
15746
{
14438
 
return f != shl_load;
 
15747
return shl_load ();
14439
15748
  ;
14440
15749
  return 0;
14441
15750
}
14442
15751
_ACEOF
14443
15752
rm -f conftest.$ac_objext conftest$ac_exeext
14444
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14445
 
  (eval $ac_link) 2>conftest.er1
 
15753
if { (ac_try="$ac_link"
 
15754
case "(($ac_try" in
 
15755
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15756
  *) ac_try_echo=$ac_try;;
 
15757
esac
 
15758
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15759
  (eval "$ac_link") 2>conftest.er1
14446
15760
  ac_status=$?
14447
15761
  grep -v '^ *+' conftest.er1 >conftest.err
14448
15762
  rm -f conftest.er1
14449
15763
  cat conftest.err >&5
14450
15764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451
 
  (exit $ac_status); } &&
14452
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14453
 
                         || test ! -s conftest.err'
14454
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14455
 
  (eval $ac_try) 2>&5
14456
 
  ac_status=$?
14457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458
 
  (exit $ac_status); }; } &&
14459
 
         { ac_try='test -s conftest$ac_exeext'
14460
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14461
 
  (eval $ac_try) 2>&5
14462
 
  ac_status=$?
14463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464
 
  (exit $ac_status); }; }; then
 
15765
  (exit $ac_status); } && {
 
15766
         test -z "$ac_cxx_werror_flag" ||
 
15767
         test ! -s conftest.err
 
15768
       } && test -s conftest$ac_exeext &&
 
15769
       $as_test_x conftest$ac_exeext; then
14465
15770
  ac_cv_func_shl_load=yes
14466
15771
else
14467
15772
  echo "$as_me: failed program was:" >&5
14468
15773
sed 's/^/| /' conftest.$ac_ext >&5
14469
15774
 
14470
 
ac_cv_func_shl_load=no
 
15775
        ac_cv_func_shl_load=no
14471
15776
fi
14472
 
rm -f conftest.err conftest.$ac_objext \
 
15777
 
 
15778
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14473
15779
      conftest$ac_exeext conftest.$ac_ext
14474
15780
fi
14475
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14476
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
15781
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
15782
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
14477
15783
if test $ac_cv_func_shl_load = yes; then
14478
15784
  lt_cv_dlopen="shl_load"
14479
15785
else
14480
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14481
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
15786
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
15787
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
14482
15788
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14483
15789
  echo $ECHO_N "(cached) $ECHO_C" >&6
14484
15790
else
14491
15797
cat >>conftest.$ac_ext <<_ACEOF
14492
15798
/* end confdefs.h.  */
14493
15799
 
14494
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
15800
/* Override any GCC internal prototype to avoid an error.
 
15801
   Use char because int might match the return type of a GCC
 
15802
   builtin and then its argument prototype would still apply.  */
14495
15803
#ifdef __cplusplus
14496
15804
extern "C"
14497
15805
#endif
14498
 
/* We use char because int might match the return type of a gcc2
14499
 
   builtin and then its argument prototype would still apply.  */
14500
15806
char shl_load ();
14501
15807
int
14502
15808
main ()
14503
15809
{
14504
 
shl_load ();
 
15810
return shl_load ();
14505
15811
  ;
14506
15812
  return 0;
14507
15813
}
14508
15814
_ACEOF
14509
15815
rm -f conftest.$ac_objext conftest$ac_exeext
14510
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14511
 
  (eval $ac_link) 2>conftest.er1
 
15816
if { (ac_try="$ac_link"
 
15817
case "(($ac_try" in
 
15818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15819
  *) ac_try_echo=$ac_try;;
 
15820
esac
 
15821
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15822
  (eval "$ac_link") 2>conftest.er1
14512
15823
  ac_status=$?
14513
15824
  grep -v '^ *+' conftest.er1 >conftest.err
14514
15825
  rm -f conftest.er1
14515
15826
  cat conftest.err >&5
14516
15827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517
 
  (exit $ac_status); } &&
14518
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14519
 
                         || test ! -s conftest.err'
14520
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14521
 
  (eval $ac_try) 2>&5
14522
 
  ac_status=$?
14523
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524
 
  (exit $ac_status); }; } &&
14525
 
         { ac_try='test -s conftest$ac_exeext'
14526
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14527
 
  (eval $ac_try) 2>&5
14528
 
  ac_status=$?
14529
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530
 
  (exit $ac_status); }; }; then
 
15828
  (exit $ac_status); } && {
 
15829
         test -z "$ac_cxx_werror_flag" ||
 
15830
         test ! -s conftest.err
 
15831
       } && test -s conftest$ac_exeext &&
 
15832
       $as_test_x conftest$ac_exeext; then
14531
15833
  ac_cv_lib_dld_shl_load=yes
14532
15834
else
14533
15835
  echo "$as_me: failed program was:" >&5
14534
15836
sed 's/^/| /' conftest.$ac_ext >&5
14535
15837
 
14536
 
ac_cv_lib_dld_shl_load=no
 
15838
        ac_cv_lib_dld_shl_load=no
14537
15839
fi
14538
 
rm -f conftest.err conftest.$ac_objext \
 
15840
 
 
15841
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14539
15842
      conftest$ac_exeext conftest.$ac_ext
14540
15843
LIBS=$ac_check_lib_save_LIBS
14541
15844
fi
14542
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14543
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
15845
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
15846
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
14544
15847
if test $ac_cv_lib_dld_shl_load = yes; then
14545
15848
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14546
15849
else
14547
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
14548
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
15850
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
15851
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
14549
15852
if test "${ac_cv_func_dlopen+set}" = set; then
14550
15853
  echo $ECHO_N "(cached) $ECHO_C" >&6
14551
15854
else
14572
15875
 
14573
15876
#undef dlopen
14574
15877
 
14575
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
15878
/* Override any GCC internal prototype to avoid an error.
 
15879
   Use char because int might match the return type of a GCC
 
15880
   builtin and then its argument prototype would still apply.  */
14576
15881
#ifdef __cplusplus
14577
15882
extern "C"
14578
 
{
14579
15883
#endif
14580
 
/* We use char because int might match the return type of a gcc2
14581
 
   builtin and then its argument prototype would still apply.  */
14582
15884
char dlopen ();
14583
15885
/* The GNU C library defines this for functions which it implements
14584
15886
    to always fail with ENOSYS.  Some functions are actually named
14585
15887
    something starting with __ and the normal name is an alias.  */
14586
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
15888
#if defined __stub_dlopen || defined __stub___dlopen
14587
15889
choke me
14588
 
#else
14589
 
char (*f) () = dlopen;
14590
 
#endif
14591
 
#ifdef __cplusplus
14592
 
}
14593
15890
#endif
14594
15891
 
14595
15892
int
14596
15893
main ()
14597
15894
{
14598
 
return f != dlopen;
 
15895
return dlopen ();
14599
15896
  ;
14600
15897
  return 0;
14601
15898
}
14602
15899
_ACEOF
14603
15900
rm -f conftest.$ac_objext conftest$ac_exeext
14604
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14605
 
  (eval $ac_link) 2>conftest.er1
 
15901
if { (ac_try="$ac_link"
 
15902
case "(($ac_try" in
 
15903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15904
  *) ac_try_echo=$ac_try;;
 
15905
esac
 
15906
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15907
  (eval "$ac_link") 2>conftest.er1
14606
15908
  ac_status=$?
14607
15909
  grep -v '^ *+' conftest.er1 >conftest.err
14608
15910
  rm -f conftest.er1
14609
15911
  cat conftest.err >&5
14610
15912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611
 
  (exit $ac_status); } &&
14612
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14613
 
                         || test ! -s conftest.err'
14614
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14615
 
  (eval $ac_try) 2>&5
14616
 
  ac_status=$?
14617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618
 
  (exit $ac_status); }; } &&
14619
 
         { ac_try='test -s conftest$ac_exeext'
14620
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14621
 
  (eval $ac_try) 2>&5
14622
 
  ac_status=$?
14623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624
 
  (exit $ac_status); }; }; then
 
15913
  (exit $ac_status); } && {
 
15914
         test -z "$ac_cxx_werror_flag" ||
 
15915
         test ! -s conftest.err
 
15916
       } && test -s conftest$ac_exeext &&
 
15917
       $as_test_x conftest$ac_exeext; then
14625
15918
  ac_cv_func_dlopen=yes
14626
15919
else
14627
15920
  echo "$as_me: failed program was:" >&5
14628
15921
sed 's/^/| /' conftest.$ac_ext >&5
14629
15922
 
14630
 
ac_cv_func_dlopen=no
 
15923
        ac_cv_func_dlopen=no
14631
15924
fi
14632
 
rm -f conftest.err conftest.$ac_objext \
 
15925
 
 
15926
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14633
15927
      conftest$ac_exeext conftest.$ac_ext
14634
15928
fi
14635
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14636
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
15929
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
15930
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
14637
15931
if test $ac_cv_func_dlopen = yes; then
14638
15932
  lt_cv_dlopen="dlopen"
14639
15933
else
14640
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14641
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
15934
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
15935
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
14642
15936
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14643
15937
  echo $ECHO_N "(cached) $ECHO_C" >&6
14644
15938
else
14651
15945
cat >>conftest.$ac_ext <<_ACEOF
14652
15946
/* end confdefs.h.  */
14653
15947
 
14654
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
15948
/* Override any GCC internal prototype to avoid an error.
 
15949
   Use char because int might match the return type of a GCC
 
15950
   builtin and then its argument prototype would still apply.  */
14655
15951
#ifdef __cplusplus
14656
15952
extern "C"
14657
15953
#endif
14658
 
/* We use char because int might match the return type of a gcc2
14659
 
   builtin and then its argument prototype would still apply.  */
14660
15954
char dlopen ();
14661
15955
int
14662
15956
main ()
14663
15957
{
14664
 
dlopen ();
 
15958
return dlopen ();
14665
15959
  ;
14666
15960
  return 0;
14667
15961
}
14668
15962
_ACEOF
14669
15963
rm -f conftest.$ac_objext conftest$ac_exeext
14670
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14671
 
  (eval $ac_link) 2>conftest.er1
 
15964
if { (ac_try="$ac_link"
 
15965
case "(($ac_try" in
 
15966
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15967
  *) ac_try_echo=$ac_try;;
 
15968
esac
 
15969
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15970
  (eval "$ac_link") 2>conftest.er1
14672
15971
  ac_status=$?
14673
15972
  grep -v '^ *+' conftest.er1 >conftest.err
14674
15973
  rm -f conftest.er1
14675
15974
  cat conftest.err >&5
14676
15975
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677
 
  (exit $ac_status); } &&
14678
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14679
 
                         || test ! -s conftest.err'
14680
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681
 
  (eval $ac_try) 2>&5
14682
 
  ac_status=$?
14683
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684
 
  (exit $ac_status); }; } &&
14685
 
         { ac_try='test -s conftest$ac_exeext'
14686
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687
 
  (eval $ac_try) 2>&5
14688
 
  ac_status=$?
14689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690
 
  (exit $ac_status); }; }; then
 
15976
  (exit $ac_status); } && {
 
15977
         test -z "$ac_cxx_werror_flag" ||
 
15978
         test ! -s conftest.err
 
15979
       } && test -s conftest$ac_exeext &&
 
15980
       $as_test_x conftest$ac_exeext; then
14691
15981
  ac_cv_lib_dl_dlopen=yes
14692
15982
else
14693
15983
  echo "$as_me: failed program was:" >&5
14694
15984
sed 's/^/| /' conftest.$ac_ext >&5
14695
15985
 
14696
 
ac_cv_lib_dl_dlopen=no
 
15986
        ac_cv_lib_dl_dlopen=no
14697
15987
fi
14698
 
rm -f conftest.err conftest.$ac_objext \
 
15988
 
 
15989
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14699
15990
      conftest$ac_exeext conftest.$ac_ext
14700
15991
LIBS=$ac_check_lib_save_LIBS
14701
15992
fi
14702
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14703
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
15993
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
15994
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
14704
15995
if test $ac_cv_lib_dl_dlopen = yes; then
14705
15996
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14706
15997
else
14707
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14708
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
15998
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
15999
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
14709
16000
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14710
16001
  echo $ECHO_N "(cached) $ECHO_C" >&6
14711
16002
else
14718
16009
cat >>conftest.$ac_ext <<_ACEOF
14719
16010
/* end confdefs.h.  */
14720
16011
 
14721
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
16012
/* Override any GCC internal prototype to avoid an error.
 
16013
   Use char because int might match the return type of a GCC
 
16014
   builtin and then its argument prototype would still apply.  */
14722
16015
#ifdef __cplusplus
14723
16016
extern "C"
14724
16017
#endif
14725
 
/* We use char because int might match the return type of a gcc2
14726
 
   builtin and then its argument prototype would still apply.  */
14727
16018
char dlopen ();
14728
16019
int
14729
16020
main ()
14730
16021
{
14731
 
dlopen ();
 
16022
return dlopen ();
14732
16023
  ;
14733
16024
  return 0;
14734
16025
}
14735
16026
_ACEOF
14736
16027
rm -f conftest.$ac_objext conftest$ac_exeext
14737
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14738
 
  (eval $ac_link) 2>conftest.er1
 
16028
if { (ac_try="$ac_link"
 
16029
case "(($ac_try" in
 
16030
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16031
  *) ac_try_echo=$ac_try;;
 
16032
esac
 
16033
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16034
  (eval "$ac_link") 2>conftest.er1
14739
16035
  ac_status=$?
14740
16036
  grep -v '^ *+' conftest.er1 >conftest.err
14741
16037
  rm -f conftest.er1
14742
16038
  cat conftest.err >&5
14743
16039
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744
 
  (exit $ac_status); } &&
14745
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14746
 
                         || test ! -s conftest.err'
14747
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14748
 
  (eval $ac_try) 2>&5
14749
 
  ac_status=$?
14750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751
 
  (exit $ac_status); }; } &&
14752
 
         { ac_try='test -s conftest$ac_exeext'
14753
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754
 
  (eval $ac_try) 2>&5
14755
 
  ac_status=$?
14756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757
 
  (exit $ac_status); }; }; then
 
16040
  (exit $ac_status); } && {
 
16041
         test -z "$ac_cxx_werror_flag" ||
 
16042
         test ! -s conftest.err
 
16043
       } && test -s conftest$ac_exeext &&
 
16044
       $as_test_x conftest$ac_exeext; then
14758
16045
  ac_cv_lib_svld_dlopen=yes
14759
16046
else
14760
16047
  echo "$as_me: failed program was:" >&5
14761
16048
sed 's/^/| /' conftest.$ac_ext >&5
14762
16049
 
14763
 
ac_cv_lib_svld_dlopen=no
 
16050
        ac_cv_lib_svld_dlopen=no
14764
16051
fi
14765
 
rm -f conftest.err conftest.$ac_objext \
 
16052
 
 
16053
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14766
16054
      conftest$ac_exeext conftest.$ac_ext
14767
16055
LIBS=$ac_check_lib_save_LIBS
14768
16056
fi
14769
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14770
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
16057
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
16058
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
14771
16059
if test $ac_cv_lib_svld_dlopen = yes; then
14772
16060
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14773
16061
else
14774
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14775
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
16062
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
16063
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
14776
16064
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14777
16065
  echo $ECHO_N "(cached) $ECHO_C" >&6
14778
16066
else
14785
16073
cat >>conftest.$ac_ext <<_ACEOF
14786
16074
/* end confdefs.h.  */
14787
16075
 
14788
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
16076
/* Override any GCC internal prototype to avoid an error.
 
16077
   Use char because int might match the return type of a GCC
 
16078
   builtin and then its argument prototype would still apply.  */
14789
16079
#ifdef __cplusplus
14790
16080
extern "C"
14791
16081
#endif
14792
 
/* We use char because int might match the return type of a gcc2
14793
 
   builtin and then its argument prototype would still apply.  */
14794
16082
char dld_link ();
14795
16083
int
14796
16084
main ()
14797
16085
{
14798
 
dld_link ();
 
16086
return dld_link ();
14799
16087
  ;
14800
16088
  return 0;
14801
16089
}
14802
16090
_ACEOF
14803
16091
rm -f conftest.$ac_objext conftest$ac_exeext
14804
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14805
 
  (eval $ac_link) 2>conftest.er1
 
16092
if { (ac_try="$ac_link"
 
16093
case "(($ac_try" in
 
16094
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16095
  *) ac_try_echo=$ac_try;;
 
16096
esac
 
16097
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16098
  (eval "$ac_link") 2>conftest.er1
14806
16099
  ac_status=$?
14807
16100
  grep -v '^ *+' conftest.er1 >conftest.err
14808
16101
  rm -f conftest.er1
14809
16102
  cat conftest.err >&5
14810
16103
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811
 
  (exit $ac_status); } &&
14812
 
         { ac_try='test -z "$ac_cxx_werror_flag"
14813
 
                         || test ! -s conftest.err'
14814
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815
 
  (eval $ac_try) 2>&5
14816
 
  ac_status=$?
14817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818
 
  (exit $ac_status); }; } &&
14819
 
         { ac_try='test -s conftest$ac_exeext'
14820
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821
 
  (eval $ac_try) 2>&5
14822
 
  ac_status=$?
14823
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824
 
  (exit $ac_status); }; }; then
 
16104
  (exit $ac_status); } && {
 
16105
         test -z "$ac_cxx_werror_flag" ||
 
16106
         test ! -s conftest.err
 
16107
       } && test -s conftest$ac_exeext &&
 
16108
       $as_test_x conftest$ac_exeext; then
14825
16109
  ac_cv_lib_dld_dld_link=yes
14826
16110
else
14827
16111
  echo "$as_me: failed program was:" >&5
14828
16112
sed 's/^/| /' conftest.$ac_ext >&5
14829
16113
 
14830
 
ac_cv_lib_dld_dld_link=no
 
16114
        ac_cv_lib_dld_dld_link=no
14831
16115
fi
14832
 
rm -f conftest.err conftest.$ac_objext \
 
16116
 
 
16117
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14833
16118
      conftest$ac_exeext conftest.$ac_ext
14834
16119
LIBS=$ac_check_lib_save_LIBS
14835
16120
fi
14836
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14837
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
16121
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
16122
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
14838
16123
if test $ac_cv_lib_dld_dld_link = yes; then
14839
16124
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
14840
16125
fi
14874
16159
    save_LIBS="$LIBS"
14875
16160
    LIBS="$lt_cv_dlopen_libs $LIBS"
14876
16161
 
14877
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14878
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
16162
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
16163
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
14879
16164
if test "${lt_cv_dlopen_self+set}" = set; then
14880
16165
  echo $ECHO_N "(cached) $ECHO_C" >&6
14881
16166
else
14885
16170
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14886
16171
  lt_status=$lt_dlunknown
14887
16172
  cat > conftest.$ac_ext <<EOF
14888
 
#line 14888 "configure"
 
16173
#line 16173 "configure"
14889
16174
#include "confdefs.h"
14890
16175
 
14891
16176
#if HAVE_DLFCN_H
14967
16252
 
14968
16253
 
14969
16254
fi
14970
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14971
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
16255
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
16256
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
14972
16257
 
14973
16258
    if test "x$lt_cv_dlopen_self" = xyes; then
14974
16259
      LDFLAGS="$LDFLAGS $link_static_flag"
14975
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14976
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
16260
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
16261
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
14977
16262
if test "${lt_cv_dlopen_self_static+set}" = set; then
14978
16263
  echo $ECHO_N "(cached) $ECHO_C" >&6
14979
16264
else
14983
16268
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14984
16269
  lt_status=$lt_dlunknown
14985
16270
  cat > conftest.$ac_ext <<EOF
14986
 
#line 14986 "configure"
 
16271
#line 16271 "configure"
14987
16272
#include "confdefs.h"
14988
16273
 
14989
16274
#if HAVE_DLFCN_H
15065
16350
 
15066
16351
 
15067
16352
fi
15068
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15069
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
16353
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
16354
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
15070
16355
    fi
15071
16356
 
15072
16357
    CPPFLAGS="$save_CPPFLAGS"
15561
16846
compiler_F77=$CC
15562
16847
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
15563
16848
 
15564
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15565
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15566
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
15567
 
echo "${ECHO_T}$can_build_shared" >&6
 
16849
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
16850
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
16851
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
16852
echo "${ECHO_T}$can_build_shared" >&6; }
15568
16853
 
15569
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15570
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
16854
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
16855
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15571
16856
test "$can_build_shared" = "no" && enable_shared=no
15572
16857
 
15573
16858
# On AIX, shared libraries and static libraries use the same namespace, and
15584
16869
  test "$enable_shared" = yes && enable_static=no
15585
16870
  ;;
15586
16871
esac
15587
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
15588
 
echo "${ECHO_T}$enable_shared" >&6
 
16872
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
16873
echo "${ECHO_T}$enable_shared" >&6; }
15589
16874
 
15590
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15591
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
16875
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
16876
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15592
16877
# Make sure either enable_shared or enable_static is yes.
15593
16878
test "$enable_shared" = yes || enable_static=yes
15594
 
echo "$as_me:$LINENO: result: $enable_static" >&5
15595
 
echo "${ECHO_T}$enable_static" >&6
 
16879
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
16880
echo "${ECHO_T}$enable_static" >&6; }
15596
16881
 
15597
16882
test "$ld_shlibs_F77" = no && can_build_shared=no
15598
16883
 
15603
16888
lt_prog_compiler_pic_F77=
15604
16889
lt_prog_compiler_static_F77=
15605
16890
 
15606
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15607
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16891
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16892
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15608
16893
 
15609
16894
  if test "$GCC" = yes; then
15610
16895
    lt_prog_compiler_wl_F77='-Wl,'
15780
17065
    esac
15781
17066
  fi
15782
17067
 
15783
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15784
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
17068
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
17069
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15785
17070
 
15786
17071
#
15787
17072
# Check to make sure the PIC flag actually works.
15788
17073
#
15789
17074
if test -n "$lt_prog_compiler_pic_F77"; then
15790
17075
 
15791
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15792
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
17076
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
17077
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15793
17078
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15794
17079
  echo $ECHO_N "(cached) $ECHO_C" >&6
15795
17080
else
15806
17091
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15807
17092
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15808
17093
   -e 's:$: $lt_compiler_flag:'`
15809
 
   (eval echo "\"\$as_me:15809: $lt_compile\"" >&5)
 
17094
   (eval echo "\"\$as_me:17094: $lt_compile\"" >&5)
15810
17095
   (eval "$lt_compile" 2>conftest.err)
15811
17096
   ac_status=$?
15812
17097
   cat conftest.err >&5
15813
 
   echo "$as_me:15813: \$? = $ac_status" >&5
 
17098
   echo "$as_me:17098: \$? = $ac_status" >&5
15814
17099
   if (exit $ac_status) && test -s "$ac_outfile"; then
15815
17100
     # The compiler can only warn and ignore the option if not recognized
15816
17101
     # So say no if there are warnings
15821
17106
   $rm conftest*
15822
17107
 
15823
17108
fi
15824
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15825
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
17109
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
17110
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15826
17111
 
15827
17112
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15828
17113
    case $lt_prog_compiler_pic_F77 in
15845
17130
    ;;
15846
17131
esac
15847
17132
 
15848
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15849
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17133
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17134
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15850
17135
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15851
17136
  echo $ECHO_N "(cached) $ECHO_C" >&6
15852
17137
else
15873
17158
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15874
17159
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15875
17160
   -e 's:$: $lt_compiler_flag:'`
15876
 
   (eval echo "\"\$as_me:15876: $lt_compile\"" >&5)
 
17161
   (eval echo "\"\$as_me:17161: $lt_compile\"" >&5)
15877
17162
   (eval "$lt_compile" 2>out/conftest.err)
15878
17163
   ac_status=$?
15879
17164
   cat out/conftest.err >&5
15880
 
   echo "$as_me:15880: \$? = $ac_status" >&5
 
17165
   echo "$as_me:17165: \$? = $ac_status" >&5
15881
17166
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15882
17167
   then
15883
17168
     # The compiler can only warn and ignore the option if not recognized
15894
17179
   $rm conftest*
15895
17180
 
15896
17181
fi
15897
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15898
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
17182
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
17183
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15899
17184
 
15900
17185
 
15901
17186
hard_links="nottested"
15902
17187
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15903
17188
  # do not overwrite the value of need_locks provided by the user
15904
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15905
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17189
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17190
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15906
17191
  hard_links=yes
15907
17192
  $rm conftest*
15908
17193
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15909
17194
  touch conftest.a
15910
17195
  ln conftest.a conftest.b 2>&5 || hard_links=no
15911
17196
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15912
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15913
 
echo "${ECHO_T}$hard_links" >&6
 
17197
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17198
echo "${ECHO_T}$hard_links" >&6; }
15914
17199
  if test "$hard_links" = no; then
15915
17200
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15916
17201
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15920
17205
  need_locks=no
15921
17206
fi
15922
17207
 
15923
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15924
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17208
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17209
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15925
17210
 
15926
17211
  runpath_var=
15927
17212
  allow_undefined_flag_F77=
16016
17301
        allow_undefined_flag_F77=unsupported
16017
17302
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16018
17303
        # support --undefined.  This deserves some investigation.  FIXME
16019
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17304
        archive_cmds_F77='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16020
17305
      else
16021
17306
        ld_shlibs_F77=no
16022
17307
      fi
16032
17317
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16033
17318
 
16034
17319
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16035
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
17320
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16036
17321
        # If the export-symbols file already is a .def file (1st line
16037
17322
        # is EXPORTS), use it as is; otherwise, prepend...
16038
17323
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16041
17326
          echo EXPORTS > $output_objdir/$soname.def;
16042
17327
          cat $export_symbols >> $output_objdir/$soname.def;
16043
17328
        fi~
16044
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
17329
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
16045
17330
      else
16046
17331
        ld_shlibs=no
16047
17332
      fi
16052
17337
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16053
17338
        wlarc=
16054
17339
      else
16055
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16056
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
17340
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
 
17341
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16057
17342
      fi
16058
17343
      ;;
16059
17344
 
16071
17356
 
16072
17357
EOF
16073
17358
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16074
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16075
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
17359
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
 
17360
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16076
17361
      else
16077
17362
        ld_shlibs_F77=no
16078
17363
      fi
16087
17372
 
16088
17373
    *)
16089
17374
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16090
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16091
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
17375
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
 
17376
        archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16092
17377
      else
16093
17378
        ld_shlibs_F77=no
16094
17379
      fi
16206
17491
      end
16207
17492
_ACEOF
16208
17493
rm -f conftest.$ac_objext conftest$ac_exeext
16209
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16210
 
  (eval $ac_link) 2>conftest.er1
 
17494
if { (ac_try="$ac_link"
 
17495
case "(($ac_try" in
 
17496
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17497
  *) ac_try_echo=$ac_try;;
 
17498
esac
 
17499
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17500
  (eval "$ac_link") 2>conftest.er1
16211
17501
  ac_status=$?
16212
17502
  grep -v '^ *+' conftest.er1 >conftest.err
16213
17503
  rm -f conftest.er1
16214
17504
  cat conftest.err >&5
16215
17505
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216
 
  (exit $ac_status); } &&
16217
 
         { ac_try='test -z "$ac_f77_werror_flag"
16218
 
                         || test ! -s conftest.err'
16219
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220
 
  (eval $ac_try) 2>&5
16221
 
  ac_status=$?
16222
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223
 
  (exit $ac_status); }; } &&
16224
 
         { ac_try='test -s conftest$ac_exeext'
16225
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226
 
  (eval $ac_try) 2>&5
16227
 
  ac_status=$?
16228
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229
 
  (exit $ac_status); }; }; then
 
17506
  (exit $ac_status); } && {
 
17507
         test -z "$ac_f77_werror_flag" ||
 
17508
         test ! -s conftest.err
 
17509
       } && test -s conftest$ac_exeext &&
 
17510
       $as_test_x conftest$ac_exeext; then
16230
17511
 
16231
17512
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16232
17513
}'`
16237
17518
  echo "$as_me: failed program was:" >&5
16238
17519
sed 's/^/| /' conftest.$ac_ext >&5
16239
17520
 
 
17521
 
16240
17522
fi
16241
 
rm -f conftest.err conftest.$ac_objext \
 
17523
 
 
17524
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16242
17525
      conftest$ac_exeext conftest.$ac_ext
16243
17526
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16244
17527
 
16245
17528
        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16246
 
        archive_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
16247
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
17529
        archive_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
 
17530
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16248
17531
       else
16249
17532
        if test "$host_cpu" = ia64; then
16250
17533
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16251
17534
          allow_undefined_flag_F77="-z nodefs"
16252
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
17535
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
16253
17536
        else
16254
17537
         # Determine the default libpath from the value encoded in an empty executable.
16255
17538
         cat >conftest.$ac_ext <<_ACEOF
16258
17541
      end
16259
17542
_ACEOF
16260
17543
rm -f conftest.$ac_objext conftest$ac_exeext
16261
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16262
 
  (eval $ac_link) 2>conftest.er1
 
17544
if { (ac_try="$ac_link"
 
17545
case "(($ac_try" in
 
17546
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17547
  *) ac_try_echo=$ac_try;;
 
17548
esac
 
17549
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17550
  (eval "$ac_link") 2>conftest.er1
16263
17551
  ac_status=$?
16264
17552
  grep -v '^ *+' conftest.er1 >conftest.err
16265
17553
  rm -f conftest.er1
16266
17554
  cat conftest.err >&5
16267
17555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268
 
  (exit $ac_status); } &&
16269
 
         { ac_try='test -z "$ac_f77_werror_flag"
16270
 
                         || test ! -s conftest.err'
16271
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272
 
  (eval $ac_try) 2>&5
16273
 
  ac_status=$?
16274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275
 
  (exit $ac_status); }; } &&
16276
 
         { ac_try='test -s conftest$ac_exeext'
16277
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278
 
  (eval $ac_try) 2>&5
16279
 
  ac_status=$?
16280
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281
 
  (exit $ac_status); }; }; then
 
17556
  (exit $ac_status); } && {
 
17557
         test -z "$ac_f77_werror_flag" ||
 
17558
         test ! -s conftest.err
 
17559
       } && test -s conftest$ac_exeext &&
 
17560
       $as_test_x conftest$ac_exeext; then
16282
17561
 
16283
17562
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16284
17563
}'`
16289
17568
  echo "$as_me: failed program was:" >&5
16290
17569
sed 's/^/| /' conftest.$ac_ext >&5
16291
17570
 
 
17571
 
16292
17572
fi
16293
 
rm -f conftest.err conftest.$ac_objext \
 
17573
 
 
17574
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16294
17575
      conftest$ac_exeext conftest.$ac_ext
16295
17576
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16296
17577
 
16305
17586
          whole_archive_flag_spec_F77=' '
16306
17587
          archive_cmds_need_lc_F77=yes
16307
17588
          # This is similar to how AIX traditionally builds it's shared libraries.
16308
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
17589
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16309
17590
        fi
16310
17591
      fi
16311
17592
      ;;
16334
17615
      # Tell ltmain to make .dll files, not .so files.
16335
17616
      shrext=".dll"
16336
17617
      # FIXME: Setting linknames here is a bad hack.
16337
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
17618
      archive_cmds_F77='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16338
17619
      # The linker will automatically build a .lib file if we build a DLL.
16339
17620
      old_archive_From_new_cmds_F77='true'
16340
17621
      # FIXME: Should let the user specify the lib program.
16348
17629
      archive_cmds_need_lc_F77=no
16349
17630
      case "$host_os" in
16350
17631
      rhapsody* | darwin1.[012])
16351
 
        allow_undefined_flag_F77='-undefined suppress'
 
17632
        allow_undefined_flag_F77='-Wl,-undefined -Wl,suppress'
16352
17633
        ;;
16353
17634
      *) # Darwin 1.3 on
16354
 
        test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
 
17635
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
17636
          allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
 
17637
        else
 
17638
          case ${MACOSX_DEPLOYMENT_TARGET} in
 
17639
            10.012)
 
17640
              allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
 
17641
              ;;
 
17642
            10.*)
 
17643
              allow_undefined_flag_F77='-Wl,-undefined -Wl,dynamic_lookup'
 
17644
              ;;
 
17645
          esac
 
17646
        fi
16355
17647
        ;;
16356
17648
      esac
16357
17649
        lt_int_apple_cc_single_mod=no
16360
17652
          lt_int_apple_cc_single_mod=yes
16361
17653
        fi
16362
17654
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16363
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
17655
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
16364
17656
        else
16365
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
17657
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
16366
17658
      fi
16367
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
17659
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
16368
17660
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16369
17661
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16370
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17662
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16371
17663
        else
16372
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17664
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16373
17665
        fi
16374
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17666
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16375
17667
      hardcode_direct_F77=no
16376
17668
      hardcode_automatic_F77=yes
16377
17669
      hardcode_shlibpath_var_F77=unsupported
16412
17704
      ;;
16413
17705
 
16414
17706
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16415
 
    freebsd*)
16416
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
17707
    freebsd* | kfreebsd*-gnu)
 
17708
      archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
16417
17709
      hardcode_libdir_flag_spec_F77='-R$libdir'
16418
17710
      hardcode_direct_F77=yes
16419
17711
      hardcode_shlibpath_var_F77=no
16421
17713
 
16422
17714
    hpux9*)
16423
17715
      if test "$GCC" = yes; then
16424
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
17716
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16425
17717
      else
16426
17718
        archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16427
17719
      fi
16439
17731
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16440
17732
        case "$host_cpu" in
16441
17733
        hppa*64*|ia64*)
16442
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17734
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
16443
17735
          ;;
16444
17736
        *)
16445
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17737
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
16446
17738
          ;;
16447
17739
        esac
16448
17740
      else
16489
17781
 
16490
17782
    irix5* | irix6* | nonstopux*)
16491
17783
      if test "$GCC" = yes; then
16492
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
17784
        archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16493
17785
      else
16494
17786
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16495
17787
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16522
17814
      hardcode_direct_F77=yes
16523
17815
      hardcode_shlibpath_var_F77=no
16524
17816
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16525
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17817
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
16526
17818
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16527
17819
        export_dynamic_flag_spec_F77='${wl}-E'
16528
17820
      else
16532
17824
           hardcode_libdir_flag_spec_F77='-R$libdir'
16533
17825
           ;;
16534
17826
         *)
16535
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17827
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
16536
17828
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16537
17829
           ;;
16538
17830
       esac
16543
17835
      hardcode_libdir_flag_spec_F77='-L$libdir'
16544
17836
      hardcode_minus_L_F77=yes
16545
17837
      allow_undefined_flag_F77=unsupported
16546
 
      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
17838
      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
16547
17839
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16548
17840
      ;;
16549
17841
 
16550
17842
    osf3*)
16551
17843
      if test "$GCC" = yes; then
16552
17844
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16553
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
17845
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16554
17846
      else
16555
17847
        allow_undefined_flag_F77=' -expect_unresolved \*'
16556
17848
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16562
17854
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
16563
17855
      if test "$GCC" = yes; then
16564
17856
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16565
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
17857
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16566
17858
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16567
17859
      else
16568
17860
        allow_undefined_flag_F77=' -expect_unresolved \*'
16587
17879
    solaris*)
16588
17880
      no_undefined_flag_F77=' -z text'
16589
17881
      if test "$GCC" = yes; then
16590
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17882
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
16591
17883
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16592
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
17884
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
16593
17885
      else
16594
17886
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16595
17887
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16609
17901
      if test "x$host_vendor" = xsequent; then
16610
17902
        # Use $CC to link under sequent, because it throws in some extra .o
16611
17903
        # files that make .init and .fini sections work.
16612
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
17904
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
16613
17905
      else
16614
17906
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16615
17907
      fi
16669
17961
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
16670
17962
      no_undefined_flag_F77='${wl}-z ${wl}text'
16671
17963
      if test "$GCC" = yes; then
16672
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17964
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
16673
17965
      else
16674
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17966
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
16675
17967
      fi
16676
17968
      runpath_var='LD_RUN_PATH'
16677
17969
      hardcode_shlibpath_var_F77=no
16701
17993
    esac
16702
17994
  fi
16703
17995
 
16704
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16705
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
17996
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
17997
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16706
17998
test "$ld_shlibs_F77" = no && can_build_shared=no
16707
17999
 
16708
18000
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16727
18019
      # Test whether the compiler implicitly links with -lc since on some
16728
18020
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16729
18021
      # to ld, don't add -lc before -lgcc.
16730
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16731
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18022
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18023
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16732
18024
      $rm conftest*
16733
18025
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16734
18026
 
16764
18056
        cat conftest.err 1>&5
16765
18057
      fi
16766
18058
      $rm conftest*
16767
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16768
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
18059
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
18060
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16769
18061
      ;;
16770
18062
    esac
16771
18063
  fi
16772
18064
  ;;
16773
18065
esac
16774
18066
 
16775
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16776
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18067
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18068
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16777
18069
library_names_spec=
16778
18070
libname_spec='lib$name'
16779
18071
soname_spec=
16965
18257
  dynamic_linker=no
16966
18258
  ;;
16967
18259
 
16968
 
freebsd*-gnu*)
 
18260
kfreebsd*-gnu*)
16969
18261
  version_type=linux
16970
18262
  need_lib_prefix=no
16971
18263
  need_version=no
17116
18408
  libsuff=
17117
18409
  if test "x$LINUX_64_MODE" = x64; then
17118
18410
    # Some platforms are per default 64-bit, so there's no /lib64
17119
 
    if test -d /lib64; then
 
18411
    if test -d /lib64 -a ! -h /lib64; then
17120
18412
      libsuff=64
17121
18413
    fi
17122
18414
  fi
17290
18582
  dynamic_linker=no
17291
18583
  ;;
17292
18584
esac
17293
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17294
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18585
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18586
echo "${ECHO_T}$dynamic_linker" >&6; }
17295
18587
test "$dynamic_linker" = no && can_build_shared=no
17296
18588
 
17297
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17298
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18589
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18590
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17299
18591
hardcode_action_F77=
17300
18592
if test -n "$hardcode_libdir_flag_spec_F77" || \
17301
18593
   test -n "$runpath_var F77" || \
17319
18611
  # directories.
17320
18612
  hardcode_action_F77=unsupported
17321
18613
fi
17322
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17323
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
18614
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
18615
echo "${ECHO_T}$hardcode_action_F77" >&6; }
17324
18616
 
17325
18617
if test "$hardcode_action_F77" = relink; then
17326
18618
  # Fast installation is not supported
17333
18625
 
17334
18626
striplib=
17335
18627
old_striplib=
17336
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17337
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
18628
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
18629
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
17338
18630
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17339
18631
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17340
18632
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17341
 
  echo "$as_me:$LINENO: result: yes" >&5
17342
 
echo "${ECHO_T}yes" >&6
 
18633
  { echo "$as_me:$LINENO: result: yes" >&5
 
18634
echo "${ECHO_T}yes" >&6; }
17343
18635
else
17344
18636
# FIXME - insert some real tests, host_os isn't really good enough
17345
18637
  case $host_os in
17346
18638
   darwin*)
17347
18639
       if test -n "$STRIP" ; then
17348
18640
         striplib="$STRIP -x"
17349
 
         echo "$as_me:$LINENO: result: yes" >&5
17350
 
echo "${ECHO_T}yes" >&6
 
18641
         { echo "$as_me:$LINENO: result: yes" >&5
 
18642
echo "${ECHO_T}yes" >&6; }
17351
18643
       else
17352
 
  echo "$as_me:$LINENO: result: no" >&5
17353
 
echo "${ECHO_T}no" >&6
 
18644
  { echo "$as_me:$LINENO: result: no" >&5
 
18645
echo "${ECHO_T}no" >&6; }
17354
18646
fi
17355
18647
       ;;
17356
18648
   *)
17357
 
  echo "$as_me:$LINENO: result: no" >&5
17358
 
echo "${ECHO_T}no" >&6
 
18649
  { echo "$as_me:$LINENO: result: no" >&5
 
18650
echo "${ECHO_T}no" >&6; }
17359
18651
    ;;
17360
18652
  esac
17361
18653
fi
17774
19066
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17775
19067
 
17776
19068
 
17777
 
 
17778
19069
# Source file extension for Java test sources.
17779
19070
ac_ext=java
17780
19071
 
17817
19108
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17818
19109
 
17819
19110
 
17820
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17821
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
19111
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
19112
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17822
19113
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17823
19114
  echo $ECHO_N "(cached) $ECHO_C" >&6
17824
19115
else
17835
19126
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17836
19127
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17837
19128
   -e 's:$: $lt_compiler_flag:'`
17838
 
   (eval echo "\"\$as_me:17838: $lt_compile\"" >&5)
 
19129
   (eval echo "\"\$as_me:19129: $lt_compile\"" >&5)
17839
19130
   (eval "$lt_compile" 2>conftest.err)
17840
19131
   ac_status=$?
17841
19132
   cat conftest.err >&5
17842
 
   echo "$as_me:17842: \$? = $ac_status" >&5
 
19133
   echo "$as_me:19133: \$? = $ac_status" >&5
17843
19134
   if (exit $ac_status) && test -s "$ac_outfile"; then
17844
19135
     # The compiler can only warn and ignore the option if not recognized
17845
19136
     # So say no if there are warnings
17850
19141
   $rm conftest*
17851
19142
 
17852
19143
fi
17853
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17854
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
19144
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
19145
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17855
19146
 
17856
19147
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17857
19148
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17865
19156
lt_prog_compiler_pic_GCJ=
17866
19157
lt_prog_compiler_static_GCJ=
17867
19158
 
17868
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17869
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
19159
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
19160
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17870
19161
 
17871
19162
  if test "$GCC" = yes; then
17872
19163
    lt_prog_compiler_wl_GCJ='-Wl,'
18042
19333
    esac
18043
19334
  fi
18044
19335
 
18045
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18046
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
19336
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
19337
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18047
19338
 
18048
19339
#
18049
19340
# Check to make sure the PIC flag actually works.
18050
19341
#
18051
19342
if test -n "$lt_prog_compiler_pic_GCJ"; then
18052
19343
 
18053
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18054
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
19344
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
19345
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18055
19346
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18056
19347
  echo $ECHO_N "(cached) $ECHO_C" >&6
18057
19348
else
18068
19359
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18069
19360
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18070
19361
   -e 's:$: $lt_compiler_flag:'`
18071
 
   (eval echo "\"\$as_me:18071: $lt_compile\"" >&5)
 
19362
   (eval echo "\"\$as_me:19362: $lt_compile\"" >&5)
18072
19363
   (eval "$lt_compile" 2>conftest.err)
18073
19364
   ac_status=$?
18074
19365
   cat conftest.err >&5
18075
 
   echo "$as_me:18075: \$? = $ac_status" >&5
 
19366
   echo "$as_me:19366: \$? = $ac_status" >&5
18076
19367
   if (exit $ac_status) && test -s "$ac_outfile"; then
18077
19368
     # The compiler can only warn and ignore the option if not recognized
18078
19369
     # So say no if there are warnings
18083
19374
   $rm conftest*
18084
19375
 
18085
19376
fi
18086
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18087
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
19377
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
19378
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18088
19379
 
18089
19380
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18090
19381
    case $lt_prog_compiler_pic_GCJ in
18107
19398
    ;;
18108
19399
esac
18109
19400
 
18110
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18111
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
19401
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
19402
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18112
19403
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18113
19404
  echo $ECHO_N "(cached) $ECHO_C" >&6
18114
19405
else
18135
19426
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18136
19427
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18137
19428
   -e 's:$: $lt_compiler_flag:'`
18138
 
   (eval echo "\"\$as_me:18138: $lt_compile\"" >&5)
 
19429
   (eval echo "\"\$as_me:19429: $lt_compile\"" >&5)
18139
19430
   (eval "$lt_compile" 2>out/conftest.err)
18140
19431
   ac_status=$?
18141
19432
   cat out/conftest.err >&5
18142
 
   echo "$as_me:18142: \$? = $ac_status" >&5
 
19433
   echo "$as_me:19433: \$? = $ac_status" >&5
18143
19434
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18144
19435
   then
18145
19436
     # The compiler can only warn and ignore the option if not recognized
18156
19447
   $rm conftest*
18157
19448
 
18158
19449
fi
18159
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18160
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
19450
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
19451
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18161
19452
 
18162
19453
 
18163
19454
hard_links="nottested"
18164
19455
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18165
19456
  # do not overwrite the value of need_locks provided by the user
18166
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18167
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
19457
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
19458
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18168
19459
  hard_links=yes
18169
19460
  $rm conftest*
18170
19461
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18171
19462
  touch conftest.a
18172
19463
  ln conftest.a conftest.b 2>&5 || hard_links=no
18173
19464
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18174
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
18175
 
echo "${ECHO_T}$hard_links" >&6
 
19465
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
19466
echo "${ECHO_T}$hard_links" >&6; }
18176
19467
  if test "$hard_links" = no; then
18177
19468
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18178
19469
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18182
19473
  need_locks=no
18183
19474
fi
18184
19475
 
18185
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18186
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
19476
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
19477
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18187
19478
 
18188
19479
  runpath_var=
18189
19480
  allow_undefined_flag_GCJ=
18278
19569
        allow_undefined_flag_GCJ=unsupported
18279
19570
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18280
19571
        # support --undefined.  This deserves some investigation.  FIXME
18281
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19572
        archive_cmds_GCJ='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18282
19573
      else
18283
19574
        ld_shlibs_GCJ=no
18284
19575
      fi
18294
19585
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18295
19586
 
18296
19587
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18297
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
19588
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18298
19589
        # If the export-symbols file already is a .def file (1st line
18299
19590
        # is EXPORTS), use it as is; otherwise, prepend...
18300
19591
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18303
19594
          echo EXPORTS > $output_objdir/$soname.def;
18304
19595
          cat $export_symbols >> $output_objdir/$soname.def;
18305
19596
        fi~
18306
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
19597
        $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
18307
19598
      else
18308
19599
        ld_shlibs=no
18309
19600
      fi
18314
19605
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18315
19606
        wlarc=
18316
19607
      else
18317
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18318
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
19608
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
 
19609
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18319
19610
      fi
18320
19611
      ;;
18321
19612
 
18333
19624
 
18334
19625
EOF
18335
19626
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18336
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18337
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
19627
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
 
19628
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18338
19629
      else
18339
19630
        ld_shlibs_GCJ=no
18340
19631
      fi
18349
19640
 
18350
19641
    *)
18351
19642
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18352
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18353
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
19643
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
 
19644
        archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18354
19645
      else
18355
19646
        ld_shlibs_GCJ=no
18356
19647
      fi
18478
19769
}
18479
19770
_ACEOF
18480
19771
rm -f conftest.$ac_objext conftest$ac_exeext
18481
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18482
 
  (eval $ac_link) 2>conftest.er1
 
19772
if { (ac_try="$ac_link"
 
19773
case "(($ac_try" in
 
19774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19775
  *) ac_try_echo=$ac_try;;
 
19776
esac
 
19777
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19778
  (eval "$ac_link") 2>conftest.er1
18483
19779
  ac_status=$?
18484
19780
  grep -v '^ *+' conftest.er1 >conftest.err
18485
19781
  rm -f conftest.er1
18486
19782
  cat conftest.err >&5
18487
19783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488
 
  (exit $ac_status); } &&
18489
 
         { ac_try='test -z "$ac_c_werror_flag"
18490
 
                         || test ! -s conftest.err'
18491
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18492
 
  (eval $ac_try) 2>&5
18493
 
  ac_status=$?
18494
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495
 
  (exit $ac_status); }; } &&
18496
 
         { ac_try='test -s conftest$ac_exeext'
18497
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18498
 
  (eval $ac_try) 2>&5
18499
 
  ac_status=$?
18500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501
 
  (exit $ac_status); }; }; then
 
19784
  (exit $ac_status); } && {
 
19785
         test -z "$ac_c_werror_flag" ||
 
19786
         test ! -s conftest.err
 
19787
       } && test -s conftest$ac_exeext &&
 
19788
       $as_test_x conftest$ac_exeext; then
18502
19789
 
18503
19790
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18504
19791
}'`
18509
19796
  echo "$as_me: failed program was:" >&5
18510
19797
sed 's/^/| /' conftest.$ac_ext >&5
18511
19798
 
 
19799
 
18512
19800
fi
18513
 
rm -f conftest.err conftest.$ac_objext \
 
19801
 
 
19802
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18514
19803
      conftest$ac_exeext conftest.$ac_ext
18515
19804
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18516
19805
 
18517
19806
        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18518
 
        archive_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
18519
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
19807
        archive_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
 
19808
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18520
19809
       else
18521
19810
        if test "$host_cpu" = ia64; then
18522
19811
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18523
19812
          allow_undefined_flag_GCJ="-z nodefs"
18524
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
19813
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
18525
19814
        else
18526
19815
         # Determine the default libpath from the value encoded in an empty executable.
18527
19816
         cat >conftest.$ac_ext <<_ACEOF
18540
19829
}
18541
19830
_ACEOF
18542
19831
rm -f conftest.$ac_objext conftest$ac_exeext
18543
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18544
 
  (eval $ac_link) 2>conftest.er1
 
19832
if { (ac_try="$ac_link"
 
19833
case "(($ac_try" in
 
19834
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19835
  *) ac_try_echo=$ac_try;;
 
19836
esac
 
19837
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19838
  (eval "$ac_link") 2>conftest.er1
18545
19839
  ac_status=$?
18546
19840
  grep -v '^ *+' conftest.er1 >conftest.err
18547
19841
  rm -f conftest.er1
18548
19842
  cat conftest.err >&5
18549
19843
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550
 
  (exit $ac_status); } &&
18551
 
         { ac_try='test -z "$ac_c_werror_flag"
18552
 
                         || test ! -s conftest.err'
18553
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18554
 
  (eval $ac_try) 2>&5
18555
 
  ac_status=$?
18556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557
 
  (exit $ac_status); }; } &&
18558
 
         { ac_try='test -s conftest$ac_exeext'
18559
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560
 
  (eval $ac_try) 2>&5
18561
 
  ac_status=$?
18562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563
 
  (exit $ac_status); }; }; then
 
19844
  (exit $ac_status); } && {
 
19845
         test -z "$ac_c_werror_flag" ||
 
19846
         test ! -s conftest.err
 
19847
       } && test -s conftest$ac_exeext &&
 
19848
       $as_test_x conftest$ac_exeext; then
18564
19849
 
18565
19850
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18566
19851
}'`
18571
19856
  echo "$as_me: failed program was:" >&5
18572
19857
sed 's/^/| /' conftest.$ac_ext >&5
18573
19858
 
 
19859
 
18574
19860
fi
18575
 
rm -f conftest.err conftest.$ac_objext \
 
19861
 
 
19862
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18576
19863
      conftest$ac_exeext conftest.$ac_ext
18577
19864
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18578
19865
 
18587
19874
          whole_archive_flag_spec_GCJ=' '
18588
19875
          archive_cmds_need_lc_GCJ=yes
18589
19876
          # This is similar to how AIX traditionally builds it's shared libraries.
18590
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
19877
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18591
19878
        fi
18592
19879
      fi
18593
19880
      ;;
18616
19903
      # Tell ltmain to make .dll files, not .so files.
18617
19904
      shrext=".dll"
18618
19905
      # FIXME: Setting linknames here is a bad hack.
18619
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
19906
      archive_cmds_GCJ='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18620
19907
      # The linker will automatically build a .lib file if we build a DLL.
18621
19908
      old_archive_From_new_cmds_GCJ='true'
18622
19909
      # FIXME: Should let the user specify the lib program.
18630
19917
      archive_cmds_need_lc_GCJ=no
18631
19918
      case "$host_os" in
18632
19919
      rhapsody* | darwin1.[012])
18633
 
        allow_undefined_flag_GCJ='-undefined suppress'
 
19920
        allow_undefined_flag_GCJ='-Wl,-undefined -Wl,suppress'
18634
19921
        ;;
18635
19922
      *) # Darwin 1.3 on
18636
 
        test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
 
19923
        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
19924
          allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
 
19925
        else
 
19926
          case ${MACOSX_DEPLOYMENT_TARGET} in
 
19927
            10.012)
 
19928
              allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
 
19929
              ;;
 
19930
            10.*)
 
19931
              allow_undefined_flag_GCJ='-Wl,-undefined -Wl,dynamic_lookup'
 
19932
              ;;
 
19933
          esac
 
19934
        fi
18637
19935
        ;;
18638
19936
      esac
18639
19937
        lt_int_apple_cc_single_mod=no
18642
19940
          lt_int_apple_cc_single_mod=yes
18643
19941
        fi
18644
19942
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18645
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
19943
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
18646
19944
        else
18647
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
19945
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
18648
19946
      fi
18649
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
19947
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
18650
19948
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18651
19949
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18652
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
19950
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18653
19951
        else
18654
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
19952
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18655
19953
        fi
18656
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
19954
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18657
19955
      hardcode_direct_GCJ=no
18658
19956
      hardcode_automatic_GCJ=yes
18659
19957
      hardcode_shlibpath_var_GCJ=unsupported
18694
19992
      ;;
18695
19993
 
18696
19994
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18697
 
    freebsd*)
18698
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
19995
    freebsd* | kfreebsd*-gnu)
 
19996
      archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
18699
19997
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18700
19998
      hardcode_direct_GCJ=yes
18701
19999
      hardcode_shlibpath_var_GCJ=no
18703
20001
 
18704
20002
    hpux9*)
18705
20003
      if test "$GCC" = yes; then
18706
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
20004
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18707
20005
      else
18708
20006
        archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18709
20007
      fi
18721
20019
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18722
20020
        case "$host_cpu" in
18723
20021
        hppa*64*|ia64*)
18724
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
20022
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
18725
20023
          ;;
18726
20024
        *)
18727
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
20025
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
18728
20026
          ;;
18729
20027
        esac
18730
20028
      else
18771
20069
 
18772
20070
    irix5* | irix6* | nonstopux*)
18773
20071
      if test "$GCC" = yes; then
18774
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
20072
        archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18775
20073
      else
18776
20074
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18777
20075
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18804
20102
      hardcode_direct_GCJ=yes
18805
20103
      hardcode_shlibpath_var_GCJ=no
18806
20104
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18807
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
20105
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
18808
20106
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18809
20107
        export_dynamic_flag_spec_GCJ='${wl}-E'
18810
20108
      else
18814
20112
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
18815
20113
           ;;
18816
20114
         *)
18817
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
20115
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
18818
20116
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18819
20117
           ;;
18820
20118
       esac
18825
20123
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18826
20124
      hardcode_minus_L_GCJ=yes
18827
20125
      allow_undefined_flag_GCJ=unsupported
18828
 
      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
20126
      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
18829
20127
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18830
20128
      ;;
18831
20129
 
18832
20130
    osf3*)
18833
20131
      if test "$GCC" = yes; then
18834
20132
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18835
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
20133
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18836
20134
      else
18837
20135
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18838
20136
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18844
20142
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18845
20143
      if test "$GCC" = yes; then
18846
20144
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18847
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
20145
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18848
20146
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18849
20147
      else
18850
20148
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18869
20167
    solaris*)
18870
20168
      no_undefined_flag_GCJ=' -z text'
18871
20169
      if test "$GCC" = yes; then
18872
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
20170
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
18873
20171
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18874
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
20172
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
18875
20173
      else
18876
20174
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18877
20175
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18891
20189
      if test "x$host_vendor" = xsequent; then
18892
20190
        # Use $CC to link under sequent, because it throws in some extra .o
18893
20191
        # files that make .init and .fini sections work.
18894
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
20192
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
18895
20193
      else
18896
20194
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18897
20195
      fi
18951
20249
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
18952
20250
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
18953
20251
      if test "$GCC" = yes; then
18954
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
20252
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
18955
20253
      else
18956
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
20254
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
18957
20255
      fi
18958
20256
      runpath_var='LD_RUN_PATH'
18959
20257
      hardcode_shlibpath_var_GCJ=no
18983
20281
    esac
18984
20282
  fi
18985
20283
 
18986
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18987
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
20284
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
20285
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18988
20286
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18989
20287
 
18990
20288
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19009
20307
      # Test whether the compiler implicitly links with -lc since on some
19010
20308
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19011
20309
      # to ld, don't add -lc before -lgcc.
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
 
20310
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
20311
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19014
20312
      $rm conftest*
19015
20313
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19016
20314
 
19046
20344
        cat conftest.err 1>&5
19047
20345
      fi
19048
20346
      $rm conftest*
19049
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19050
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
20347
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
20348
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19051
20349
      ;;
19052
20350
    esac
19053
20351
  fi
19054
20352
  ;;
19055
20353
esac
19056
20354
 
19057
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19058
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
20355
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
20356
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19059
20357
library_names_spec=
19060
20358
libname_spec='lib$name'
19061
20359
soname_spec=
19247
20545
  dynamic_linker=no
19248
20546
  ;;
19249
20547
 
19250
 
freebsd*-gnu*)
 
20548
kfreebsd*-gnu*)
19251
20549
  version_type=linux
19252
20550
  need_lib_prefix=no
19253
20551
  need_version=no
19398
20696
  libsuff=
19399
20697
  if test "x$LINUX_64_MODE" = x64; then
19400
20698
    # Some platforms are per default 64-bit, so there's no /lib64
19401
 
    if test -d /lib64; then
 
20699
    if test -d /lib64 -a ! -h /lib64; then
19402
20700
      libsuff=64
19403
20701
    fi
19404
20702
  fi
19572
20870
  dynamic_linker=no
19573
20871
  ;;
19574
20872
esac
19575
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19576
 
echo "${ECHO_T}$dynamic_linker" >&6
 
20873
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
20874
echo "${ECHO_T}$dynamic_linker" >&6; }
19577
20875
test "$dynamic_linker" = no && can_build_shared=no
19578
20876
 
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
 
20877
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
20878
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19581
20879
hardcode_action_GCJ=
19582
20880
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19583
20881
   test -n "$runpath_var GCJ" || \
19601
20899
  # directories.
19602
20900
  hardcode_action_GCJ=unsupported
19603
20901
fi
19604
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19605
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
20902
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
20903
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19606
20904
 
19607
20905
if test "$hardcode_action_GCJ" = relink; then
19608
20906
  # Fast installation is not supported
19615
20913
 
19616
20914
striplib=
19617
20915
old_striplib=
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
 
20916
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
20917
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
19620
20918
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19621
20919
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19622
20920
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19623
 
  echo "$as_me:$LINENO: result: yes" >&5
19624
 
echo "${ECHO_T}yes" >&6
 
20921
  { echo "$as_me:$LINENO: result: yes" >&5
 
20922
echo "${ECHO_T}yes" >&6; }
19625
20923
else
19626
20924
# FIXME - insert some real tests, host_os isn't really good enough
19627
20925
  case $host_os in
19628
20926
   darwin*)
19629
20927
       if test -n "$STRIP" ; then
19630
20928
         striplib="$STRIP -x"
19631
 
         echo "$as_me:$LINENO: result: yes" >&5
19632
 
echo "${ECHO_T}yes" >&6
 
20929
         { echo "$as_me:$LINENO: result: yes" >&5
 
20930
echo "${ECHO_T}yes" >&6; }
19633
20931
       else
19634
 
  echo "$as_me:$LINENO: result: no" >&5
19635
 
echo "${ECHO_T}no" >&6
 
20932
  { echo "$as_me:$LINENO: result: no" >&5
 
20933
echo "${ECHO_T}no" >&6; }
19636
20934
fi
19637
20935
       ;;
19638
20936
   *)
19639
 
  echo "$as_me:$LINENO: result: no" >&5
19640
 
echo "${ECHO_T}no" >&6
 
20937
  { echo "$as_me:$LINENO: result: no" >&5
 
20938
echo "${ECHO_T}no" >&6; }
19641
20939
    ;;
19642
20940
  esac
19643
20941
fi
19669
20967
 
19670
20968
  darwin*)
19671
20969
  # if libdl is installed we need to link against it
19672
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19673
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
20970
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
20971
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
19674
20972
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19675
20973
  echo $ECHO_N "(cached) $ECHO_C" >&6
19676
20974
else
19683
20981
cat >>conftest.$ac_ext <<_ACEOF
19684
20982
/* end confdefs.h.  */
19685
20983
 
19686
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20984
/* Override any GCC internal prototype to avoid an error.
 
20985
   Use char because int might match the return type of a GCC
 
20986
   builtin and then its argument prototype would still apply.  */
19687
20987
#ifdef __cplusplus
19688
20988
extern "C"
19689
20989
#endif
19690
 
/* We use char because int might match the return type of a gcc2
19691
 
   builtin and then its argument prototype would still apply.  */
19692
20990
char dlopen ();
19693
20991
int
19694
20992
main ()
19695
20993
{
19696
 
dlopen ();
 
20994
return dlopen ();
19697
20995
  ;
19698
20996
  return 0;
19699
20997
}
19700
20998
_ACEOF
19701
20999
rm -f conftest.$ac_objext conftest$ac_exeext
19702
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19703
 
  (eval $ac_link) 2>conftest.er1
 
21000
if { (ac_try="$ac_link"
 
21001
case "(($ac_try" in
 
21002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21003
  *) ac_try_echo=$ac_try;;
 
21004
esac
 
21005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21006
  (eval "$ac_link") 2>conftest.er1
19704
21007
  ac_status=$?
19705
21008
  grep -v '^ *+' conftest.er1 >conftest.err
19706
21009
  rm -f conftest.er1
19707
21010
  cat conftest.err >&5
19708
21011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709
 
  (exit $ac_status); } &&
19710
 
         { ac_try='test -z "$ac_c_werror_flag"
19711
 
                         || test ! -s conftest.err'
19712
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19713
 
  (eval $ac_try) 2>&5
19714
 
  ac_status=$?
19715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716
 
  (exit $ac_status); }; } &&
19717
 
         { ac_try='test -s conftest$ac_exeext'
19718
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19719
 
  (eval $ac_try) 2>&5
19720
 
  ac_status=$?
19721
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722
 
  (exit $ac_status); }; }; then
 
21012
  (exit $ac_status); } && {
 
21013
         test -z "$ac_c_werror_flag" ||
 
21014
         test ! -s conftest.err
 
21015
       } && test -s conftest$ac_exeext &&
 
21016
       $as_test_x conftest$ac_exeext; then
19723
21017
  ac_cv_lib_dl_dlopen=yes
19724
21018
else
19725
21019
  echo "$as_me: failed program was:" >&5
19726
21020
sed 's/^/| /' conftest.$ac_ext >&5
19727
21021
 
19728
 
ac_cv_lib_dl_dlopen=no
 
21022
        ac_cv_lib_dl_dlopen=no
19729
21023
fi
19730
 
rm -f conftest.err conftest.$ac_objext \
 
21024
 
 
21025
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19731
21026
      conftest$ac_exeext conftest.$ac_ext
19732
21027
LIBS=$ac_check_lib_save_LIBS
19733
21028
fi
19734
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19735
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
21029
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
21030
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19736
21031
if test $ac_cv_lib_dl_dlopen = yes; then
19737
21032
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19738
21033
else
19746
21041
   ;;
19747
21042
 
19748
21043
  *)
19749
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
19750
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
21044
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
21045
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
19751
21046
if test "${ac_cv_func_shl_load+set}" = set; then
19752
21047
  echo $ECHO_N "(cached) $ECHO_C" >&6
19753
21048
else
19774
21069
 
19775
21070
#undef shl_load
19776
21071
 
19777
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21072
/* Override any GCC internal prototype to avoid an error.
 
21073
   Use char because int might match the return type of a GCC
 
21074
   builtin and then its argument prototype would still apply.  */
19778
21075
#ifdef __cplusplus
19779
21076
extern "C"
19780
 
{
19781
21077
#endif
19782
 
/* We use char because int might match the return type of a gcc2
19783
 
   builtin and then its argument prototype would still apply.  */
19784
21078
char shl_load ();
19785
21079
/* The GNU C library defines this for functions which it implements
19786
21080
    to always fail with ENOSYS.  Some functions are actually named
19787
21081
    something starting with __ and the normal name is an alias.  */
19788
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
21082
#if defined __stub_shl_load || defined __stub___shl_load
19789
21083
choke me
19790
 
#else
19791
 
char (*f) () = shl_load;
19792
 
#endif
19793
 
#ifdef __cplusplus
19794
 
}
19795
21084
#endif
19796
21085
 
19797
21086
int
19798
21087
main ()
19799
21088
{
19800
 
return f != shl_load;
 
21089
return shl_load ();
19801
21090
  ;
19802
21091
  return 0;
19803
21092
}
19804
21093
_ACEOF
19805
21094
rm -f conftest.$ac_objext conftest$ac_exeext
19806
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19807
 
  (eval $ac_link) 2>conftest.er1
 
21095
if { (ac_try="$ac_link"
 
21096
case "(($ac_try" in
 
21097
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21098
  *) ac_try_echo=$ac_try;;
 
21099
esac
 
21100
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21101
  (eval "$ac_link") 2>conftest.er1
19808
21102
  ac_status=$?
19809
21103
  grep -v '^ *+' conftest.er1 >conftest.err
19810
21104
  rm -f conftest.er1
19811
21105
  cat conftest.err >&5
19812
21106
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813
 
  (exit $ac_status); } &&
19814
 
         { ac_try='test -z "$ac_c_werror_flag"
19815
 
                         || test ! -s conftest.err'
19816
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817
 
  (eval $ac_try) 2>&5
19818
 
  ac_status=$?
19819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820
 
  (exit $ac_status); }; } &&
19821
 
         { ac_try='test -s conftest$ac_exeext'
19822
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19823
 
  (eval $ac_try) 2>&5
19824
 
  ac_status=$?
19825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826
 
  (exit $ac_status); }; }; then
 
21107
  (exit $ac_status); } && {
 
21108
         test -z "$ac_c_werror_flag" ||
 
21109
         test ! -s conftest.err
 
21110
       } && test -s conftest$ac_exeext &&
 
21111
       $as_test_x conftest$ac_exeext; then
19827
21112
  ac_cv_func_shl_load=yes
19828
21113
else
19829
21114
  echo "$as_me: failed program was:" >&5
19830
21115
sed 's/^/| /' conftest.$ac_ext >&5
19831
21116
 
19832
 
ac_cv_func_shl_load=no
 
21117
        ac_cv_func_shl_load=no
19833
21118
fi
19834
 
rm -f conftest.err conftest.$ac_objext \
 
21119
 
 
21120
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19835
21121
      conftest$ac_exeext conftest.$ac_ext
19836
21122
fi
19837
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19838
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
21123
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
21124
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
19839
21125
if test $ac_cv_func_shl_load = yes; then
19840
21126
  lt_cv_dlopen="shl_load"
19841
21127
else
19842
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19843
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
21128
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
21129
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
19844
21130
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19845
21131
  echo $ECHO_N "(cached) $ECHO_C" >&6
19846
21132
else
19853
21139
cat >>conftest.$ac_ext <<_ACEOF
19854
21140
/* end confdefs.h.  */
19855
21141
 
19856
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21142
/* Override any GCC internal prototype to avoid an error.
 
21143
   Use char because int might match the return type of a GCC
 
21144
   builtin and then its argument prototype would still apply.  */
19857
21145
#ifdef __cplusplus
19858
21146
extern "C"
19859
21147
#endif
19860
 
/* We use char because int might match the return type of a gcc2
19861
 
   builtin and then its argument prototype would still apply.  */
19862
21148
char shl_load ();
19863
21149
int
19864
21150
main ()
19865
21151
{
19866
 
shl_load ();
 
21152
return shl_load ();
19867
21153
  ;
19868
21154
  return 0;
19869
21155
}
19870
21156
_ACEOF
19871
21157
rm -f conftest.$ac_objext conftest$ac_exeext
19872
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19873
 
  (eval $ac_link) 2>conftest.er1
 
21158
if { (ac_try="$ac_link"
 
21159
case "(($ac_try" in
 
21160
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21161
  *) ac_try_echo=$ac_try;;
 
21162
esac
 
21163
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21164
  (eval "$ac_link") 2>conftest.er1
19874
21165
  ac_status=$?
19875
21166
  grep -v '^ *+' conftest.er1 >conftest.err
19876
21167
  rm -f conftest.er1
19877
21168
  cat conftest.err >&5
19878
21169
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879
 
  (exit $ac_status); } &&
19880
 
         { ac_try='test -z "$ac_c_werror_flag"
19881
 
                         || test ! -s conftest.err'
19882
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883
 
  (eval $ac_try) 2>&5
19884
 
  ac_status=$?
19885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886
 
  (exit $ac_status); }; } &&
19887
 
         { ac_try='test -s conftest$ac_exeext'
19888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889
 
  (eval $ac_try) 2>&5
19890
 
  ac_status=$?
19891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892
 
  (exit $ac_status); }; }; then
 
21170
  (exit $ac_status); } && {
 
21171
         test -z "$ac_c_werror_flag" ||
 
21172
         test ! -s conftest.err
 
21173
       } && test -s conftest$ac_exeext &&
 
21174
       $as_test_x conftest$ac_exeext; then
19893
21175
  ac_cv_lib_dld_shl_load=yes
19894
21176
else
19895
21177
  echo "$as_me: failed program was:" >&5
19896
21178
sed 's/^/| /' conftest.$ac_ext >&5
19897
21179
 
19898
 
ac_cv_lib_dld_shl_load=no
 
21180
        ac_cv_lib_dld_shl_load=no
19899
21181
fi
19900
 
rm -f conftest.err conftest.$ac_objext \
 
21182
 
 
21183
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19901
21184
      conftest$ac_exeext conftest.$ac_ext
19902
21185
LIBS=$ac_check_lib_save_LIBS
19903
21186
fi
19904
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19905
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
21187
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
21188
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
19906
21189
if test $ac_cv_lib_dld_shl_load = yes; then
19907
21190
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
19908
21191
else
19909
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
19910
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
21192
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
21193
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
19911
21194
if test "${ac_cv_func_dlopen+set}" = set; then
19912
21195
  echo $ECHO_N "(cached) $ECHO_C" >&6
19913
21196
else
19934
21217
 
19935
21218
#undef dlopen
19936
21219
 
19937
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21220
/* Override any GCC internal prototype to avoid an error.
 
21221
   Use char because int might match the return type of a GCC
 
21222
   builtin and then its argument prototype would still apply.  */
19938
21223
#ifdef __cplusplus
19939
21224
extern "C"
19940
 
{
19941
21225
#endif
19942
 
/* We use char because int might match the return type of a gcc2
19943
 
   builtin and then its argument prototype would still apply.  */
19944
21226
char dlopen ();
19945
21227
/* The GNU C library defines this for functions which it implements
19946
21228
    to always fail with ENOSYS.  Some functions are actually named
19947
21229
    something starting with __ and the normal name is an alias.  */
19948
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
21230
#if defined __stub_dlopen || defined __stub___dlopen
19949
21231
choke me
19950
 
#else
19951
 
char (*f) () = dlopen;
19952
 
#endif
19953
 
#ifdef __cplusplus
19954
 
}
19955
21232
#endif
19956
21233
 
19957
21234
int
19958
21235
main ()
19959
21236
{
19960
 
return f != dlopen;
 
21237
return dlopen ();
19961
21238
  ;
19962
21239
  return 0;
19963
21240
}
19964
21241
_ACEOF
19965
21242
rm -f conftest.$ac_objext conftest$ac_exeext
19966
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19967
 
  (eval $ac_link) 2>conftest.er1
 
21243
if { (ac_try="$ac_link"
 
21244
case "(($ac_try" in
 
21245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21246
  *) ac_try_echo=$ac_try;;
 
21247
esac
 
21248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21249
  (eval "$ac_link") 2>conftest.er1
19968
21250
  ac_status=$?
19969
21251
  grep -v '^ *+' conftest.er1 >conftest.err
19970
21252
  rm -f conftest.er1
19971
21253
  cat conftest.err >&5
19972
21254
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973
 
  (exit $ac_status); } &&
19974
 
         { ac_try='test -z "$ac_c_werror_flag"
19975
 
                         || test ! -s conftest.err'
19976
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19977
 
  (eval $ac_try) 2>&5
19978
 
  ac_status=$?
19979
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980
 
  (exit $ac_status); }; } &&
19981
 
         { ac_try='test -s conftest$ac_exeext'
19982
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19983
 
  (eval $ac_try) 2>&5
19984
 
  ac_status=$?
19985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986
 
  (exit $ac_status); }; }; then
 
21255
  (exit $ac_status); } && {
 
21256
         test -z "$ac_c_werror_flag" ||
 
21257
         test ! -s conftest.err
 
21258
       } && test -s conftest$ac_exeext &&
 
21259
       $as_test_x conftest$ac_exeext; then
19987
21260
  ac_cv_func_dlopen=yes
19988
21261
else
19989
21262
  echo "$as_me: failed program was:" >&5
19990
21263
sed 's/^/| /' conftest.$ac_ext >&5
19991
21264
 
19992
 
ac_cv_func_dlopen=no
 
21265
        ac_cv_func_dlopen=no
19993
21266
fi
19994
 
rm -f conftest.err conftest.$ac_objext \
 
21267
 
 
21268
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19995
21269
      conftest$ac_exeext conftest.$ac_ext
19996
21270
fi
19997
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19998
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
21271
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
21272
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
19999
21273
if test $ac_cv_func_dlopen = yes; then
20000
21274
  lt_cv_dlopen="dlopen"
20001
21275
else
20002
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20003
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
21276
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
21277
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20004
21278
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20005
21279
  echo $ECHO_N "(cached) $ECHO_C" >&6
20006
21280
else
20013
21287
cat >>conftest.$ac_ext <<_ACEOF
20014
21288
/* end confdefs.h.  */
20015
21289
 
20016
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21290
/* Override any GCC internal prototype to avoid an error.
 
21291
   Use char because int might match the return type of a GCC
 
21292
   builtin and then its argument prototype would still apply.  */
20017
21293
#ifdef __cplusplus
20018
21294
extern "C"
20019
21295
#endif
20020
 
/* We use char because int might match the return type of a gcc2
20021
 
   builtin and then its argument prototype would still apply.  */
20022
21296
char dlopen ();
20023
21297
int
20024
21298
main ()
20025
21299
{
20026
 
dlopen ();
 
21300
return dlopen ();
20027
21301
  ;
20028
21302
  return 0;
20029
21303
}
20030
21304
_ACEOF
20031
21305
rm -f conftest.$ac_objext conftest$ac_exeext
20032
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20033
 
  (eval $ac_link) 2>conftest.er1
 
21306
if { (ac_try="$ac_link"
 
21307
case "(($ac_try" in
 
21308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21309
  *) ac_try_echo=$ac_try;;
 
21310
esac
 
21311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21312
  (eval "$ac_link") 2>conftest.er1
20034
21313
  ac_status=$?
20035
21314
  grep -v '^ *+' conftest.er1 >conftest.err
20036
21315
  rm -f conftest.er1
20037
21316
  cat conftest.err >&5
20038
21317
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039
 
  (exit $ac_status); } &&
20040
 
         { ac_try='test -z "$ac_c_werror_flag"
20041
 
                         || test ! -s conftest.err'
20042
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043
 
  (eval $ac_try) 2>&5
20044
 
  ac_status=$?
20045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046
 
  (exit $ac_status); }; } &&
20047
 
         { ac_try='test -s conftest$ac_exeext'
20048
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049
 
  (eval $ac_try) 2>&5
20050
 
  ac_status=$?
20051
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052
 
  (exit $ac_status); }; }; then
 
21318
  (exit $ac_status); } && {
 
21319
         test -z "$ac_c_werror_flag" ||
 
21320
         test ! -s conftest.err
 
21321
       } && test -s conftest$ac_exeext &&
 
21322
       $as_test_x conftest$ac_exeext; then
20053
21323
  ac_cv_lib_dl_dlopen=yes
20054
21324
else
20055
21325
  echo "$as_me: failed program was:" >&5
20056
21326
sed 's/^/| /' conftest.$ac_ext >&5
20057
21327
 
20058
 
ac_cv_lib_dl_dlopen=no
 
21328
        ac_cv_lib_dl_dlopen=no
20059
21329
fi
20060
 
rm -f conftest.err conftest.$ac_objext \
 
21330
 
 
21331
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20061
21332
      conftest$ac_exeext conftest.$ac_ext
20062
21333
LIBS=$ac_check_lib_save_LIBS
20063
21334
fi
20064
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20065
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
21335
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
21336
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
20066
21337
if test $ac_cv_lib_dl_dlopen = yes; then
20067
21338
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20068
21339
else
20069
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20070
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
21340
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
21341
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
20071
21342
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20072
21343
  echo $ECHO_N "(cached) $ECHO_C" >&6
20073
21344
else
20080
21351
cat >>conftest.$ac_ext <<_ACEOF
20081
21352
/* end confdefs.h.  */
20082
21353
 
20083
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21354
/* Override any GCC internal prototype to avoid an error.
 
21355
   Use char because int might match the return type of a GCC
 
21356
   builtin and then its argument prototype would still apply.  */
20084
21357
#ifdef __cplusplus
20085
21358
extern "C"
20086
21359
#endif
20087
 
/* We use char because int might match the return type of a gcc2
20088
 
   builtin and then its argument prototype would still apply.  */
20089
21360
char dlopen ();
20090
21361
int
20091
21362
main ()
20092
21363
{
20093
 
dlopen ();
 
21364
return dlopen ();
20094
21365
  ;
20095
21366
  return 0;
20096
21367
}
20097
21368
_ACEOF
20098
21369
rm -f conftest.$ac_objext conftest$ac_exeext
20099
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20100
 
  (eval $ac_link) 2>conftest.er1
 
21370
if { (ac_try="$ac_link"
 
21371
case "(($ac_try" in
 
21372
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21373
  *) ac_try_echo=$ac_try;;
 
21374
esac
 
21375
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21376
  (eval "$ac_link") 2>conftest.er1
20101
21377
  ac_status=$?
20102
21378
  grep -v '^ *+' conftest.er1 >conftest.err
20103
21379
  rm -f conftest.er1
20104
21380
  cat conftest.err >&5
20105
21381
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106
 
  (exit $ac_status); } &&
20107
 
         { ac_try='test -z "$ac_c_werror_flag"
20108
 
                         || test ! -s conftest.err'
20109
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20110
 
  (eval $ac_try) 2>&5
20111
 
  ac_status=$?
20112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113
 
  (exit $ac_status); }; } &&
20114
 
         { ac_try='test -s conftest$ac_exeext'
20115
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20116
 
  (eval $ac_try) 2>&5
20117
 
  ac_status=$?
20118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119
 
  (exit $ac_status); }; }; then
 
21382
  (exit $ac_status); } && {
 
21383
         test -z "$ac_c_werror_flag" ||
 
21384
         test ! -s conftest.err
 
21385
       } && test -s conftest$ac_exeext &&
 
21386
       $as_test_x conftest$ac_exeext; then
20120
21387
  ac_cv_lib_svld_dlopen=yes
20121
21388
else
20122
21389
  echo "$as_me: failed program was:" >&5
20123
21390
sed 's/^/| /' conftest.$ac_ext >&5
20124
21391
 
20125
 
ac_cv_lib_svld_dlopen=no
 
21392
        ac_cv_lib_svld_dlopen=no
20126
21393
fi
20127
 
rm -f conftest.err conftest.$ac_objext \
 
21394
 
 
21395
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20128
21396
      conftest$ac_exeext conftest.$ac_ext
20129
21397
LIBS=$ac_check_lib_save_LIBS
20130
21398
fi
20131
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20132
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
21399
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
21400
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
20133
21401
if test $ac_cv_lib_svld_dlopen = yes; then
20134
21402
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
20135
21403
else
20136
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20137
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
21404
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
21405
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
20138
21406
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20139
21407
  echo $ECHO_N "(cached) $ECHO_C" >&6
20140
21408
else
20147
21415
cat >>conftest.$ac_ext <<_ACEOF
20148
21416
/* end confdefs.h.  */
20149
21417
 
20150
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21418
/* Override any GCC internal prototype to avoid an error.
 
21419
   Use char because int might match the return type of a GCC
 
21420
   builtin and then its argument prototype would still apply.  */
20151
21421
#ifdef __cplusplus
20152
21422
extern "C"
20153
21423
#endif
20154
 
/* We use char because int might match the return type of a gcc2
20155
 
   builtin and then its argument prototype would still apply.  */
20156
21424
char dld_link ();
20157
21425
int
20158
21426
main ()
20159
21427
{
20160
 
dld_link ();
 
21428
return dld_link ();
20161
21429
  ;
20162
21430
  return 0;
20163
21431
}
20164
21432
_ACEOF
20165
21433
rm -f conftest.$ac_objext conftest$ac_exeext
20166
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20167
 
  (eval $ac_link) 2>conftest.er1
 
21434
if { (ac_try="$ac_link"
 
21435
case "(($ac_try" in
 
21436
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21437
  *) ac_try_echo=$ac_try;;
 
21438
esac
 
21439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21440
  (eval "$ac_link") 2>conftest.er1
20168
21441
  ac_status=$?
20169
21442
  grep -v '^ *+' conftest.er1 >conftest.err
20170
21443
  rm -f conftest.er1
20171
21444
  cat conftest.err >&5
20172
21445
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173
 
  (exit $ac_status); } &&
20174
 
         { ac_try='test -z "$ac_c_werror_flag"
20175
 
                         || test ! -s conftest.err'
20176
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177
 
  (eval $ac_try) 2>&5
20178
 
  ac_status=$?
20179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180
 
  (exit $ac_status); }; } &&
20181
 
         { ac_try='test -s conftest$ac_exeext'
20182
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20183
 
  (eval $ac_try) 2>&5
20184
 
  ac_status=$?
20185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186
 
  (exit $ac_status); }; }; then
 
21446
  (exit $ac_status); } && {
 
21447
         test -z "$ac_c_werror_flag" ||
 
21448
         test ! -s conftest.err
 
21449
       } && test -s conftest$ac_exeext &&
 
21450
       $as_test_x conftest$ac_exeext; then
20187
21451
  ac_cv_lib_dld_dld_link=yes
20188
21452
else
20189
21453
  echo "$as_me: failed program was:" >&5
20190
21454
sed 's/^/| /' conftest.$ac_ext >&5
20191
21455
 
20192
 
ac_cv_lib_dld_dld_link=no
 
21456
        ac_cv_lib_dld_dld_link=no
20193
21457
fi
20194
 
rm -f conftest.err conftest.$ac_objext \
 
21458
 
 
21459
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20195
21460
      conftest$ac_exeext conftest.$ac_ext
20196
21461
LIBS=$ac_check_lib_save_LIBS
20197
21462
fi
20198
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20199
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
21463
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
21464
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
20200
21465
if test $ac_cv_lib_dld_dld_link = yes; then
20201
21466
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
20202
21467
fi
20236
21501
    save_LIBS="$LIBS"
20237
21502
    LIBS="$lt_cv_dlopen_libs $LIBS"
20238
21503
 
20239
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
20240
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
21504
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
21505
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
20241
21506
if test "${lt_cv_dlopen_self+set}" = set; then
20242
21507
  echo $ECHO_N "(cached) $ECHO_C" >&6
20243
21508
else
20247
21512
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20248
21513
  lt_status=$lt_dlunknown
20249
21514
  cat > conftest.$ac_ext <<EOF
20250
 
#line 20250 "configure"
 
21515
#line 21515 "configure"
20251
21516
#include "confdefs.h"
20252
21517
 
20253
21518
#if HAVE_DLFCN_H
20329
21594
 
20330
21595
 
20331
21596
fi
20332
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
20333
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
21597
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
21598
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
20334
21599
 
20335
21600
    if test "x$lt_cv_dlopen_self" = xyes; then
20336
21601
      LDFLAGS="$LDFLAGS $link_static_flag"
20337
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
20338
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
21602
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
21603
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
20339
21604
if test "${lt_cv_dlopen_self_static+set}" = set; then
20340
21605
  echo $ECHO_N "(cached) $ECHO_C" >&6
20341
21606
else
20345
21610
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20346
21611
  lt_status=$lt_dlunknown
20347
21612
  cat > conftest.$ac_ext <<EOF
20348
 
#line 20348 "configure"
 
21613
#line 21613 "configure"
20349
21614
#include "confdefs.h"
20350
21615
 
20351
21616
#if HAVE_DLFCN_H
20427
21692
 
20428
21693
 
20429
21694
fi
20430
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
20431
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
21695
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
21696
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
20432
21697
    fi
20433
21698
 
20434
21699
    CPPFLAGS="$save_CPPFLAGS"
20860
22125
      RC)
20861
22126
 
20862
22127
 
20863
 
 
20864
22128
# Source file extension for RC test sources.
20865
22129
ac_ext=rc
20866
22130
 
21370
22634
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
21371
22635
 
21372
22636
 
 
22637
# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
 
22638
KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
 
22639
 
 
22640
 
21373
22641
# we patch configure quite some so we better keep that consistent for incremental runs
21374
22642
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
21375
22643
 
21379
22647
 
21380
22648
    # Extract the first word of "msgfmt", so it can be a program name with args.
21381
22649
set dummy msgfmt; ac_word=$2
21382
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21383
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22650
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22651
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21384
22652
if test "${ac_cv_path_MSGFMT+set}" = set; then
21385
22653
  echo $ECHO_N "(cached) $ECHO_C" >&6
21386
22654
else
21406
22674
fi
21407
22675
MSGFMT="$ac_cv_path_MSGFMT"
21408
22676
if test -n "$MSGFMT"; then
21409
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
21410
 
echo "${ECHO_T}$MSGFMT" >&6
 
22677
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
22678
echo "${ECHO_T}$MSGFMT" >&6; }
21411
22679
else
21412
 
  echo "$as_me:$LINENO: result: no" >&5
21413
 
echo "${ECHO_T}no" >&6
 
22680
  { echo "$as_me:$LINENO: result: no" >&5
 
22681
echo "${ECHO_T}no" >&6; }
21414
22682
fi
21415
22683
 
21416
22684
    # Extract the first word of "gmsgfmt", so it can be a program name with args.
21417
22685
set dummy gmsgfmt; ac_word=$2
21418
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21419
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22686
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22687
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21420
22688
if test "${ac_cv_path_GMSGFMT+set}" = set; then
21421
22689
  echo $ECHO_N "(cached) $ECHO_C" >&6
21422
22690
else
21431
22699
  IFS=$as_save_IFS
21432
22700
  test -z "$as_dir" && as_dir=.
21433
22701
  for ac_exec_ext in '' $ac_executable_extensions; do
21434
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22702
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21435
22703
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
21436
22704
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21437
22705
    break 2
21438
22706
  fi
21439
22707
done
21440
22708
done
 
22709
IFS=$as_save_IFS
21441
22710
 
21442
22711
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
21443
22712
  ;;
21444
22713
esac
21445
22714
fi
21446
22715
GMSGFMT=$ac_cv_path_GMSGFMT
21447
 
 
21448
22716
if test -n "$GMSGFMT"; then
21449
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
21450
 
echo "${ECHO_T}$GMSGFMT" >&6
 
22717
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
22718
echo "${ECHO_T}$GMSGFMT" >&6; }
21451
22719
else
21452
 
  echo "$as_me:$LINENO: result: no" >&5
21453
 
echo "${ECHO_T}no" >&6
 
22720
  { echo "$as_me:$LINENO: result: no" >&5
 
22721
echo "${ECHO_T}no" >&6; }
21454
22722
fi
21455
22723
 
21456
22724
 
 
22725
 
21457
22726
     if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
21458
 
        echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
21459
 
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
 
22727
        { echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
 
22728
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
21460
22729
        GMSGFMT=":"
21461
22730
      fi
21462
22731
      MSGFMT=$GMSGFMT
21465
22734
 
21466
22735
      # Extract the first word of "xgettext", so it can be a program name with args.
21467
22736
set dummy xgettext; ac_word=$2
21468
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21469
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22737
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22738
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21470
22739
if test "${ac_cv_path_XGETTEXT+set}" = set; then
21471
22740
  echo $ECHO_N "(cached) $ECHO_C" >&6
21472
22741
else
21492
22761
fi
21493
22762
XGETTEXT="$ac_cv_path_XGETTEXT"
21494
22763
if test -n "$XGETTEXT"; then
21495
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
21496
 
echo "${ECHO_T}$XGETTEXT" >&6
 
22764
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
22765
echo "${ECHO_T}$XGETTEXT" >&6; }
21497
22766
else
21498
 
  echo "$as_me:$LINENO: result: no" >&5
21499
 
echo "${ECHO_T}no" >&6
 
22767
  { echo "$as_me:$LINENO: result: no" >&5
 
22768
echo "${ECHO_T}no" >&6; }
21500
22769
fi
21501
22770
 
21502
22771
 
21504
22773
                        if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
21505
22774
          : ;
21506
22775
        else
21507
 
          echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
21508
 
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
 
22776
          { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
 
22777
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
21509
22778
          XGETTEXT=":"
21510
22779
        fi
21511
22780
      fi
21514
22783
 
21515
22784
 
21516
22785
 
21517
 
if test -z "3.1"; then
 
22786
if test -z "3.2"; then
21518
22787
  # Current default Qt version: 3.3
21519
22788
  kde_qtver=3
21520
22789
  kde_qtsubver=3
21521
22790
else
21522
 
  kde_qtsubver=`echo "3.1" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
 
22791
  kde_qtsubver=`echo "3.2" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
21523
22792
  # following is the check if subversion isnt found in passed argument
21524
 
  if test "$kde_qtsubver" = "3.1"; then
 
22793
  if test "$kde_qtsubver" = "3.2"; then
21525
22794
    kde_qtsubver=1
21526
22795
  fi
21527
 
  kde_qtver=`echo "3.1" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
 
22796
  kde_qtver=`echo "3.2" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
21528
22797
  if test "$kde_qtver" = "1"; then
21529
22798
    kde_qtsubver=42
21530
22799
  fi
21542
22811
    if test $kde_qtsubver -gt 0; then
21543
22812
         if test $kde_qtsubver -gt 1; then
21544
22813
            if test $kde_qtsubver -gt 2; then
21545
 
                kde_qt_minversion=">= Qt 3.3"
 
22814
                kde_qt_minversion=">= Qt 3.3 and < 4.0"
21546
22815
            else
21547
 
                kde_qt_minversion=">= Qt 3.2"
 
22816
                kde_qt_minversion=">= Qt 3.2 and < 4.0"
21548
22817
            fi
21549
22818
         else
21550
 
            kde_qt_minversion=">= Qt 3.1 (20021021)"
 
22819
            kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
21551
22820
         fi
21552
22821
    else
21553
 
      kde_qt_minversion=">= Qt 3.0"
 
22822
      kde_qt_minversion=">= Qt 3.0 and < 4.0"
21554
22823
    fi
21555
22824
  fi
21556
22825
  if test "$kde_qtver" = "1"; then
21563
22832
if test -z ""; then
21564
22833
   if test $kde_qtver = 3; then
21565
22834
     if test $kde_qtsubver -gt 0; then
21566
 
       kde_qt_verstring="QT_VERSION >= 0x03@VER@00"
 
22835
       kde_qt_verstring="QT_VERSION >= 0x03@VER@00 && QT_VERSION < 0x040000"
21567
22836
       qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
21568
22837
       kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
21569
22838
     else
21570
 
       kde_qt_verstring="QT_VERSION >= 300"
 
22839
       kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
21571
22840
     fi
21572
22841
   fi
21573
22842
   if test $kde_qtver = 2; then
21584
22853
   kde_qt_verstring=""
21585
22854
fi
21586
22855
 
 
22856
if test $kde_qtver = 4; then
 
22857
  kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
 
22858
fi
21587
22859
if test $kde_qtver = 3; then
21588
22860
  kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
21589
22861
fi
21596
22868
 
21597
22869
 
21598
22870
 
21599
 
 
21600
 
     ac_ext=cc
 
22871
     ac_ext=cpp
21601
22872
ac_cpp='$CXXCPP $CPPFLAGS'
21602
22873
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21603
22874
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21609
22880
    ac_save_CXXFLAGS="$CXXFLAGS"
21610
22881
    CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
21611
22882
 
21612
 
    echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
21613
 
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6
 
22883
    { echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
 
22884
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6; }
21614
22885
    if test "${kde_cv_stl_works+set}" = set; then
21615
22886
  echo $ECHO_N "(cached) $ECHO_C" >&6
21616
22887
else
21638
22909
}
21639
22910
_ACEOF
21640
22911
rm -f conftest.$ac_objext
21641
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21642
 
  (eval $ac_compile) 2>conftest.er1
 
22912
if { (ac_try="$ac_compile"
 
22913
case "(($ac_try" in
 
22914
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22915
  *) ac_try_echo=$ac_try;;
 
22916
esac
 
22917
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22918
  (eval "$ac_compile") 2>conftest.er1
21643
22919
  ac_status=$?
21644
22920
  grep -v '^ *+' conftest.er1 >conftest.err
21645
22921
  rm -f conftest.er1
21646
22922
  cat conftest.err >&5
21647
22923
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648
 
  (exit $ac_status); } &&
21649
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21650
 
                         || test ! -s conftest.err'
21651
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21652
 
  (eval $ac_try) 2>&5
21653
 
  ac_status=$?
21654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655
 
  (exit $ac_status); }; } &&
21656
 
         { ac_try='test -s conftest.$ac_objext'
21657
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658
 
  (eval $ac_try) 2>&5
21659
 
  ac_status=$?
21660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661
 
  (exit $ac_status); }; }; then
 
22924
  (exit $ac_status); } && {
 
22925
         test -z "$ac_cxx_werror_flag" ||
 
22926
         test ! -s conftest.err
 
22927
       } && test -s conftest.$ac_objext; then
21662
22928
  kde_cv_stl_works=yes
21663
22929
else
21664
22930
  echo "$as_me: failed program was:" >&5
21665
22931
sed 's/^/| /' conftest.$ac_ext >&5
21666
22932
 
21667
 
kde_cv_stl_works=no
21668
 
fi
21669
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21670
 
 
21671
 
fi
21672
 
 
21673
 
 
21674
 
   echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
21675
 
echo "${ECHO_T}$kde_cv_stl_works" >&6
 
22933
        kde_cv_stl_works=no
 
22934
fi
 
22935
 
 
22936
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22937
 
 
22938
fi
 
22939
 
 
22940
 
 
22941
   { echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
 
22942
echo "${ECHO_T}$kde_cv_stl_works" >&6; }
21676
22943
 
21677
22944
   if test "$kde_cv_stl_works" = "yes"; then
21678
22945
     # back compatible
21684
22951
   else
21685
22952
         { { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
21686
22953
Check config.log for details - if you're using a Linux distribution you might miss
21687
 
a package named similiar to libstd++-dev." >&5
 
22954
a package named similar to libstdc++-dev." >&5
21688
22955
echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
21689
22956
Check config.log for details - if you're using a Linux distribution you might miss
21690
 
a package named similiar to libstd++-dev." >&2;}
 
22957
a package named similar to libstdc++-dev." >&2;}
21691
22958
   { (exit 1); exit 1; }; }
21692
22959
   fi
21693
22960
 
21701
22968
 
21702
22969
 
21703
22970
 
21704
 
echo "$as_me:$LINENO: checking for strlcat" >&5
21705
 
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
 
22971
{ echo "$as_me:$LINENO: checking for strlcat" >&5
 
22972
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; }
21706
22973
if test "${kde_cv_func_strlcat+set}" = set; then
21707
22974
  echo $ECHO_N "(cached) $ECHO_C" >&6
21708
22975
else
21709
22976
 
21710
22977
 
21711
 
 
21712
 
 ac_ext=cc
 
22978
 ac_ext=cpp
21713
22979
ac_cpp='$CXXCPP $CPPFLAGS'
21714
22980
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21715
22981
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21749
23015
}
21750
23016
_ACEOF
21751
23017
rm -f conftest.$ac_objext
21752
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21753
 
  (eval $ac_compile) 2>conftest.er1
 
23018
if { (ac_try="$ac_compile"
 
23019
case "(($ac_try" in
 
23020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23021
  *) ac_try_echo=$ac_try;;
 
23022
esac
 
23023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23024
  (eval "$ac_compile") 2>conftest.er1
21754
23025
  ac_status=$?
21755
23026
  grep -v '^ *+' conftest.er1 >conftest.err
21756
23027
  rm -f conftest.er1
21757
23028
  cat conftest.err >&5
21758
23029
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759
 
  (exit $ac_status); } &&
21760
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21761
 
                         || test ! -s conftest.err'
21762
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21763
 
  (eval $ac_try) 2>&5
21764
 
  ac_status=$?
21765
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766
 
  (exit $ac_status); }; } &&
21767
 
         { ac_try='test -s conftest.$ac_objext'
21768
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21769
 
  (eval $ac_try) 2>&5
21770
 
  ac_status=$?
21771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772
 
  (exit $ac_status); }; }; then
 
23030
  (exit $ac_status); } && {
 
23031
         test -z "$ac_cxx_werror_flag" ||
 
23032
         test ! -s conftest.err
 
23033
       } && test -s conftest.$ac_objext; then
21773
23034
  kde_cv_func_strlcat=yes
21774
23035
else
21775
23036
  echo "$as_me: failed program was:" >&5
21776
23037
sed 's/^/| /' conftest.$ac_ext >&5
21777
23038
 
21778
 
kde_cv_func_strlcat=no
 
23039
        kde_cv_func_strlcat=no
21779
23040
fi
21780
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23041
 
 
23042
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21781
23043
CXXFLAGS="$save_CXXFLAGS"
21782
23044
LIBS="$kde_safe_LIBS"
21783
23045
ac_ext=c
21790
23052
fi
21791
23053
 
21792
23054
 
21793
 
echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
21794
 
echo "${ECHO_T}$kde_cv_func_strlcat" >&6
 
23055
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
 
23056
echo "${ECHO_T}$kde_cv_func_strlcat" >&6; }
21795
23057
 
21796
 
echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
21797
 
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6
 
23058
{ echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
 
23059
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6; }
21798
23060
if test "${kde_cv_proto_strlcat+set}" = set; then
21799
23061
  echo $ECHO_N "(cached) $ECHO_C" >&6
21800
23062
else
21815
23077
if test "x$kde_cv_proto_strlcat" = xunknown; then
21816
23078
 
21817
23079
 
21818
 
 
21819
 
 ac_ext=cc
 
23080
 ac_ext=cpp
21820
23081
ac_cpp='$CXXCPP $CPPFLAGS'
21821
23082
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21822
23083
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21854
23115
}
21855
23116
_ACEOF
21856
23117
rm -f conftest.$ac_objext conftest$ac_exeext
21857
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21858
 
  (eval $ac_link) 2>conftest.er1
 
23118
if { (ac_try="$ac_link"
 
23119
case "(($ac_try" in
 
23120
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23121
  *) ac_try_echo=$ac_try;;
 
23122
esac
 
23123
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23124
  (eval "$ac_link") 2>conftest.er1
21859
23125
  ac_status=$?
21860
23126
  grep -v '^ *+' conftest.er1 >conftest.err
21861
23127
  rm -f conftest.er1
21862
23128
  cat conftest.err >&5
21863
23129
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864
 
  (exit $ac_status); } &&
21865
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21866
 
                         || test ! -s conftest.err'
21867
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868
 
  (eval $ac_try) 2>&5
21869
 
  ac_status=$?
21870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871
 
  (exit $ac_status); }; } &&
21872
 
         { ac_try='test -s conftest$ac_exeext'
21873
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21874
 
  (eval $ac_try) 2>&5
21875
 
  ac_status=$?
21876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877
 
  (exit $ac_status); }; }; then
 
23130
  (exit $ac_status); } && {
 
23131
         test -z "$ac_cxx_werror_flag" ||
 
23132
         test ! -s conftest.err
 
23133
       } && test -s conftest$ac_exeext &&
 
23134
       $as_test_x conftest$ac_exeext; then
21878
23135
   kde_cv_func_strlcat=yes
21879
23136
  kde_cv_proto_strlcat=yes
21880
23137
else
21881
23138
  echo "$as_me: failed program was:" >&5
21882
23139
sed 's/^/| /' conftest.$ac_ext >&5
21883
23140
 
21884
 
kde_cv_proto_strlcat="strlcat unavailable"
 
23141
        kde_cv_proto_strlcat="strlcat unavailable"
21885
23142
 
21886
23143
fi
21887
 
rm -f conftest.err conftest.$ac_objext \
 
23144
 
 
23145
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21888
23146
      conftest$ac_exeext conftest.$ac_ext
21889
23147
LIBS=$kde_safe_libs
21890
23148
ac_ext=c
21897
23155
 
21898
23156
fi
21899
23157
 
21900
 
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
21901
 
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6
 
23158
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
 
23159
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6; }
21902
23160
 
21903
23161
if test "x$kde_cv_func_strlcat" = xyes; then
21904
23162
 
21922
23180
 
21923
23181
 
21924
23182
 
21925
 
echo "$as_me:$LINENO: checking for strlcpy" >&5
21926
 
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
 
23183
{ echo "$as_me:$LINENO: checking for strlcpy" >&5
 
23184
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; }
21927
23185
if test "${kde_cv_func_strlcpy+set}" = set; then
21928
23186
  echo $ECHO_N "(cached) $ECHO_C" >&6
21929
23187
else
21930
23188
 
21931
23189
 
21932
 
 
21933
 
 ac_ext=cc
 
23190
 ac_ext=cpp
21934
23191
ac_cpp='$CXXCPP $CPPFLAGS'
21935
23192
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21936
23193
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21969
23226
}
21970
23227
_ACEOF
21971
23228
rm -f conftest.$ac_objext
21972
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21973
 
  (eval $ac_compile) 2>conftest.er1
 
23229
if { (ac_try="$ac_compile"
 
23230
case "(($ac_try" in
 
23231
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23232
  *) ac_try_echo=$ac_try;;
 
23233
esac
 
23234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23235
  (eval "$ac_compile") 2>conftest.er1
21974
23236
  ac_status=$?
21975
23237
  grep -v '^ *+' conftest.er1 >conftest.err
21976
23238
  rm -f conftest.er1
21977
23239
  cat conftest.err >&5
21978
23240
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979
 
  (exit $ac_status); } &&
21980
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21981
 
                         || test ! -s conftest.err'
21982
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21983
 
  (eval $ac_try) 2>&5
21984
 
  ac_status=$?
21985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986
 
  (exit $ac_status); }; } &&
21987
 
         { ac_try='test -s conftest.$ac_objext'
21988
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21989
 
  (eval $ac_try) 2>&5
21990
 
  ac_status=$?
21991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992
 
  (exit $ac_status); }; }; then
 
23241
  (exit $ac_status); } && {
 
23242
         test -z "$ac_cxx_werror_flag" ||
 
23243
         test ! -s conftest.err
 
23244
       } && test -s conftest.$ac_objext; then
21993
23245
  kde_cv_func_strlcpy=yes
21994
23246
else
21995
23247
  echo "$as_me: failed program was:" >&5
21996
23248
sed 's/^/| /' conftest.$ac_ext >&5
21997
23249
 
21998
 
kde_cv_func_strlcpy=no
 
23250
        kde_cv_func_strlcpy=no
21999
23251
fi
22000
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23252
 
 
23253
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22001
23254
CXXFLAGS="$save_CXXFLAGS"
22002
23255
LIBS="$kde_safe_LIBS"
22003
23256
ac_ext=c
22010
23263
fi
22011
23264
 
22012
23265
 
22013
 
echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
22014
 
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6
 
23266
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
 
23267
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6; }
22015
23268
 
22016
 
echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
22017
 
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6
 
23269
{ echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
 
23270
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6; }
22018
23271
if test "${kde_cv_proto_strlcpy+set}" = set; then
22019
23272
  echo $ECHO_N "(cached) $ECHO_C" >&6
22020
23273
else
22035
23288
if test "x$kde_cv_proto_strlcpy" = xunknown; then
22036
23289
 
22037
23290
 
22038
 
 
22039
 
 ac_ext=cc
 
23291
 ac_ext=cpp
22040
23292
ac_cpp='$CXXCPP $CPPFLAGS'
22041
23293
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22042
23294
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22073
23325
}
22074
23326
_ACEOF
22075
23327
rm -f conftest.$ac_objext conftest$ac_exeext
22076
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22077
 
  (eval $ac_link) 2>conftest.er1
 
23328
if { (ac_try="$ac_link"
 
23329
case "(($ac_try" in
 
23330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23331
  *) ac_try_echo=$ac_try;;
 
23332
esac
 
23333
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23334
  (eval "$ac_link") 2>conftest.er1
22078
23335
  ac_status=$?
22079
23336
  grep -v '^ *+' conftest.er1 >conftest.err
22080
23337
  rm -f conftest.er1
22081
23338
  cat conftest.err >&5
22082
23339
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083
 
  (exit $ac_status); } &&
22084
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22085
 
                         || test ! -s conftest.err'
22086
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087
 
  (eval $ac_try) 2>&5
22088
 
  ac_status=$?
22089
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090
 
  (exit $ac_status); }; } &&
22091
 
         { ac_try='test -s conftest$ac_exeext'
22092
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093
 
  (eval $ac_try) 2>&5
22094
 
  ac_status=$?
22095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096
 
  (exit $ac_status); }; }; then
 
23340
  (exit $ac_status); } && {
 
23341
         test -z "$ac_cxx_werror_flag" ||
 
23342
         test ! -s conftest.err
 
23343
       } && test -s conftest$ac_exeext &&
 
23344
       $as_test_x conftest$ac_exeext; then
22097
23345
   kde_cv_func_strlcpy=yes
22098
23346
  kde_cv_proto_strlcpy=yes
22099
23347
else
22100
23348
  echo "$as_me: failed program was:" >&5
22101
23349
sed 's/^/| /' conftest.$ac_ext >&5
22102
23350
 
22103
 
kde_cv_proto_strlcpy="strlcpy unavailable"
 
23351
        kde_cv_proto_strlcpy="strlcpy unavailable"
22104
23352
 
22105
23353
fi
22106
 
rm -f conftest.err conftest.$ac_objext \
 
23354
 
 
23355
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22107
23356
      conftest$ac_exeext conftest.$ac_ext
22108
23357
LIBS=$kde_safe_libs
22109
23358
ac_ext=c
22116
23365
 
22117
23366
fi
22118
23367
 
22119
 
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
22120
 
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6
 
23368
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
 
23369
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6; }
22121
23370
 
22122
23371
if test "x$kde_cv_func_strlcpy" = xyes; then
22123
23372
 
22140
23389
 
22141
23390
 
22142
23391
 
22143
 
      echo "$as_me:$LINENO: checking for main in -lutil" >&5
22144
 
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6
 
23392
      { echo "$as_me:$LINENO: checking for main in -lutil" >&5
 
23393
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6; }
22145
23394
if test "${ac_cv_lib_util_main+set}" = set; then
22146
23395
  echo $ECHO_N "(cached) $ECHO_C" >&6
22147
23396
else
22158
23407
int
22159
23408
main ()
22160
23409
{
22161
 
main ();
 
23410
return main ();
22162
23411
  ;
22163
23412
  return 0;
22164
23413
}
22165
23414
_ACEOF
22166
23415
rm -f conftest.$ac_objext conftest$ac_exeext
22167
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22168
 
  (eval $ac_link) 2>conftest.er1
 
23416
if { (ac_try="$ac_link"
 
23417
case "(($ac_try" in
 
23418
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23419
  *) ac_try_echo=$ac_try;;
 
23420
esac
 
23421
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23422
  (eval "$ac_link") 2>conftest.er1
22169
23423
  ac_status=$?
22170
23424
  grep -v '^ *+' conftest.er1 >conftest.err
22171
23425
  rm -f conftest.er1
22172
23426
  cat conftest.err >&5
22173
23427
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174
 
  (exit $ac_status); } &&
22175
 
         { ac_try='test -z "$ac_c_werror_flag"
22176
 
                         || test ! -s conftest.err'
22177
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22178
 
  (eval $ac_try) 2>&5
22179
 
  ac_status=$?
22180
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181
 
  (exit $ac_status); }; } &&
22182
 
         { ac_try='test -s conftest$ac_exeext'
22183
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22184
 
  (eval $ac_try) 2>&5
22185
 
  ac_status=$?
22186
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187
 
  (exit $ac_status); }; }; then
 
23428
  (exit $ac_status); } && {
 
23429
         test -z "$ac_c_werror_flag" ||
 
23430
         test ! -s conftest.err
 
23431
       } && test -s conftest$ac_exeext &&
 
23432
       $as_test_x conftest$ac_exeext; then
22188
23433
  ac_cv_lib_util_main=yes
22189
23434
else
22190
23435
  echo "$as_me: failed program was:" >&5
22191
23436
sed 's/^/| /' conftest.$ac_ext >&5
22192
23437
 
22193
 
ac_cv_lib_util_main=no
 
23438
        ac_cv_lib_util_main=no
22194
23439
fi
22195
 
rm -f conftest.err conftest.$ac_objext \
 
23440
 
 
23441
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22196
23442
      conftest$ac_exeext conftest.$ac_ext
22197
23443
LIBS=$ac_check_lib_save_LIBS
22198
23444
fi
22199
 
echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
22200
 
echo "${ECHO_T}$ac_cv_lib_util_main" >&6
 
23445
{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
 
23446
echo "${ECHO_T}$ac_cv_lib_util_main" >&6; }
22201
23447
if test $ac_cv_lib_util_main = yes; then
22202
23448
  LIBUTIL="-lutil"
22203
23449
fi
22204
23450
 
22205
 
   echo "$as_me:$LINENO: checking for main in -lcompat" >&5
22206
 
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6
 
23451
   { echo "$as_me:$LINENO: checking for main in -lcompat" >&5
 
23452
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
22207
23453
if test "${ac_cv_lib_compat_main+set}" = set; then
22208
23454
  echo $ECHO_N "(cached) $ECHO_C" >&6
22209
23455
else
22220
23466
int
22221
23467
main ()
22222
23468
{
22223
 
main ();
 
23469
return main ();
22224
23470
  ;
22225
23471
  return 0;
22226
23472
}
22227
23473
_ACEOF
22228
23474
rm -f conftest.$ac_objext conftest$ac_exeext
22229
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22230
 
  (eval $ac_link) 2>conftest.er1
 
23475
if { (ac_try="$ac_link"
 
23476
case "(($ac_try" in
 
23477
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23478
  *) ac_try_echo=$ac_try;;
 
23479
esac
 
23480
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23481
  (eval "$ac_link") 2>conftest.er1
22231
23482
  ac_status=$?
22232
23483
  grep -v '^ *+' conftest.er1 >conftest.err
22233
23484
  rm -f conftest.er1
22234
23485
  cat conftest.err >&5
22235
23486
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236
 
  (exit $ac_status); } &&
22237
 
         { ac_try='test -z "$ac_c_werror_flag"
22238
 
                         || test ! -s conftest.err'
22239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240
 
  (eval $ac_try) 2>&5
22241
 
  ac_status=$?
22242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243
 
  (exit $ac_status); }; } &&
22244
 
         { ac_try='test -s conftest$ac_exeext'
22245
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22246
 
  (eval $ac_try) 2>&5
22247
 
  ac_status=$?
22248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249
 
  (exit $ac_status); }; }; then
 
23487
  (exit $ac_status); } && {
 
23488
         test -z "$ac_c_werror_flag" ||
 
23489
         test ! -s conftest.err
 
23490
       } && test -s conftest$ac_exeext &&
 
23491
       $as_test_x conftest$ac_exeext; then
22250
23492
  ac_cv_lib_compat_main=yes
22251
23493
else
22252
23494
  echo "$as_me: failed program was:" >&5
22253
23495
sed 's/^/| /' conftest.$ac_ext >&5
22254
23496
 
22255
 
ac_cv_lib_compat_main=no
 
23497
        ac_cv_lib_compat_main=no
22256
23498
fi
22257
 
rm -f conftest.err conftest.$ac_objext \
 
23499
 
 
23500
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22258
23501
      conftest$ac_exeext conftest.$ac_ext
22259
23502
LIBS=$ac_check_lib_save_LIBS
22260
23503
fi
22261
 
echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
22262
 
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6
 
23504
{ echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
 
23505
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
22263
23506
if test $ac_cv_lib_compat_main = yes; then
22264
23507
  LIBCOMPAT="-lcompat"
22265
23508
fi
22266
23509
 
22267
23510
   kde_have_crypt=
22268
 
   echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
22269
 
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
 
23511
   { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
 
23512
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
22270
23513
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
22271
23514
  echo $ECHO_N "(cached) $ECHO_C" >&6
22272
23515
else
22279
23522
cat >>conftest.$ac_ext <<_ACEOF
22280
23523
/* end confdefs.h.  */
22281
23524
 
22282
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23525
/* Override any GCC internal prototype to avoid an error.
 
23526
   Use char because int might match the return type of a GCC
 
23527
   builtin and then its argument prototype would still apply.  */
22283
23528
#ifdef __cplusplus
22284
23529
extern "C"
22285
23530
#endif
22286
 
/* We use char because int might match the return type of a gcc2
22287
 
   builtin and then its argument prototype would still apply.  */
22288
23531
char crypt ();
22289
23532
int
22290
23533
main ()
22291
23534
{
22292
 
crypt ();
 
23535
return crypt ();
22293
23536
  ;
22294
23537
  return 0;
22295
23538
}
22296
23539
_ACEOF
22297
23540
rm -f conftest.$ac_objext conftest$ac_exeext
22298
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22299
 
  (eval $ac_link) 2>conftest.er1
 
23541
if { (ac_try="$ac_link"
 
23542
case "(($ac_try" in
 
23543
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23544
  *) ac_try_echo=$ac_try;;
 
23545
esac
 
23546
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23547
  (eval "$ac_link") 2>conftest.er1
22300
23548
  ac_status=$?
22301
23549
  grep -v '^ *+' conftest.er1 >conftest.err
22302
23550
  rm -f conftest.er1
22303
23551
  cat conftest.err >&5
22304
23552
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305
 
  (exit $ac_status); } &&
22306
 
         { ac_try='test -z "$ac_c_werror_flag"
22307
 
                         || test ! -s conftest.err'
22308
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22309
 
  (eval $ac_try) 2>&5
22310
 
  ac_status=$?
22311
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312
 
  (exit $ac_status); }; } &&
22313
 
         { ac_try='test -s conftest$ac_exeext'
22314
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22315
 
  (eval $ac_try) 2>&5
22316
 
  ac_status=$?
22317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318
 
  (exit $ac_status); }; }; then
 
23553
  (exit $ac_status); } && {
 
23554
         test -z "$ac_c_werror_flag" ||
 
23555
         test ! -s conftest.err
 
23556
       } && test -s conftest$ac_exeext &&
 
23557
       $as_test_x conftest$ac_exeext; then
22319
23558
  ac_cv_lib_crypt_crypt=yes
22320
23559
else
22321
23560
  echo "$as_me: failed program was:" >&5
22322
23561
sed 's/^/| /' conftest.$ac_ext >&5
22323
23562
 
22324
 
ac_cv_lib_crypt_crypt=no
 
23563
        ac_cv_lib_crypt_crypt=no
22325
23564
fi
22326
 
rm -f conftest.err conftest.$ac_objext \
 
23565
 
 
23566
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22327
23567
      conftest$ac_exeext conftest.$ac_ext
22328
23568
LIBS=$ac_check_lib_save_LIBS
22329
23569
fi
22330
 
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
22331
 
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
 
23570
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
 
23571
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
22332
23572
if test $ac_cv_lib_crypt_crypt = yes; then
22333
23573
  LIBCRYPT="-lcrypt"; kde_have_crypt=yes
22334
23574
else
22335
 
  echo "$as_me:$LINENO: checking for crypt in -lc" >&5
22336
 
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
 
23575
  { echo "$as_me:$LINENO: checking for crypt in -lc" >&5
 
23576
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
22337
23577
if test "${ac_cv_lib_c_crypt+set}" = set; then
22338
23578
  echo $ECHO_N "(cached) $ECHO_C" >&6
22339
23579
else
22346
23586
cat >>conftest.$ac_ext <<_ACEOF
22347
23587
/* end confdefs.h.  */
22348
23588
 
22349
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23589
/* Override any GCC internal prototype to avoid an error.
 
23590
   Use char because int might match the return type of a GCC
 
23591
   builtin and then its argument prototype would still apply.  */
22350
23592
#ifdef __cplusplus
22351
23593
extern "C"
22352
23594
#endif
22353
 
/* We use char because int might match the return type of a gcc2
22354
 
   builtin and then its argument prototype would still apply.  */
22355
23595
char crypt ();
22356
23596
int
22357
23597
main ()
22358
23598
{
22359
 
crypt ();
 
23599
return crypt ();
22360
23600
  ;
22361
23601
  return 0;
22362
23602
}
22363
23603
_ACEOF
22364
23604
rm -f conftest.$ac_objext conftest$ac_exeext
22365
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22366
 
  (eval $ac_link) 2>conftest.er1
 
23605
if { (ac_try="$ac_link"
 
23606
case "(($ac_try" in
 
23607
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23608
  *) ac_try_echo=$ac_try;;
 
23609
esac
 
23610
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23611
  (eval "$ac_link") 2>conftest.er1
22367
23612
  ac_status=$?
22368
23613
  grep -v '^ *+' conftest.er1 >conftest.err
22369
23614
  rm -f conftest.er1
22370
23615
  cat conftest.err >&5
22371
23616
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372
 
  (exit $ac_status); } &&
22373
 
         { ac_try='test -z "$ac_c_werror_flag"
22374
 
                         || test ! -s conftest.err'
22375
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22376
 
  (eval $ac_try) 2>&5
22377
 
  ac_status=$?
22378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379
 
  (exit $ac_status); }; } &&
22380
 
         { ac_try='test -s conftest$ac_exeext'
22381
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22382
 
  (eval $ac_try) 2>&5
22383
 
  ac_status=$?
22384
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385
 
  (exit $ac_status); }; }; then
 
23617
  (exit $ac_status); } && {
 
23618
         test -z "$ac_c_werror_flag" ||
 
23619
         test ! -s conftest.err
 
23620
       } && test -s conftest$ac_exeext &&
 
23621
       $as_test_x conftest$ac_exeext; then
22386
23622
  ac_cv_lib_c_crypt=yes
22387
23623
else
22388
23624
  echo "$as_me: failed program was:" >&5
22389
23625
sed 's/^/| /' conftest.$ac_ext >&5
22390
23626
 
22391
 
ac_cv_lib_c_crypt=no
 
23627
        ac_cv_lib_c_crypt=no
22392
23628
fi
22393
 
rm -f conftest.err conftest.$ac_objext \
 
23629
 
 
23630
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22394
23631
      conftest$ac_exeext conftest.$ac_ext
22395
23632
LIBS=$ac_check_lib_save_LIBS
22396
23633
fi
22397
 
echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
22398
 
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
 
23634
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
 
23635
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
22399
23636
if test $ac_cv_lib_c_crypt = yes; then
22400
23637
  kde_have_crypt=yes
22401
23638
else
22421
23658
 
22422
23659
   fi
22423
23660
 
22424
 
   echo "$as_me:$LINENO: checking for socklen_t" >&5
22425
 
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
 
23661
   { echo "$as_me:$LINENO: checking for socklen_t" >&5
 
23662
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
22426
23663
   if test "${kde_cv_socklen_t+set}" = set; then
22427
23664
  echo $ECHO_N "(cached) $ECHO_C" >&6
22428
23665
else
22429
23666
 
22430
 
      ac_ext=cc
 
23667
      ac_ext=cpp
22431
23668
ac_cpp='$CXXCPP $CPPFLAGS'
22432
23669
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22433
23670
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22456
23693
}
22457
23694
_ACEOF
22458
23695
rm -f conftest.$ac_objext
22459
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22460
 
  (eval $ac_compile) 2>conftest.er1
 
23696
if { (ac_try="$ac_compile"
 
23697
case "(($ac_try" in
 
23698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23699
  *) ac_try_echo=$ac_try;;
 
23700
esac
 
23701
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23702
  (eval "$ac_compile") 2>conftest.er1
22461
23703
  ac_status=$?
22462
23704
  grep -v '^ *+' conftest.er1 >conftest.err
22463
23705
  rm -f conftest.er1
22464
23706
  cat conftest.err >&5
22465
23707
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466
 
  (exit $ac_status); } &&
22467
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22468
 
                         || test ! -s conftest.err'
22469
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470
 
  (eval $ac_try) 2>&5
22471
 
  ac_status=$?
22472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473
 
  (exit $ac_status); }; } &&
22474
 
         { ac_try='test -s conftest.$ac_objext'
22475
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22476
 
  (eval $ac_try) 2>&5
22477
 
  ac_status=$?
22478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479
 
  (exit $ac_status); }; }; then
 
23708
  (exit $ac_status); } && {
 
23709
         test -z "$ac_cxx_werror_flag" ||
 
23710
         test ! -s conftest.err
 
23711
       } && test -s conftest.$ac_objext; then
22480
23712
 
22481
23713
         kde_cv_socklen_t=yes
22482
23714
         kde_cv_socklen_t_equiv=socklen_t
22485
23717
  echo "$as_me: failed program was:" >&5
22486
23718
sed 's/^/| /' conftest.$ac_ext >&5
22487
23719
 
 
23720
 
22488
23721
fi
22489
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23722
 
 
23723
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22490
23724
      ac_ext=c
22491
23725
ac_cpp='$CPP $CPPFLAGS'
22492
23726
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496
23730
 
22497
23731
fi
22498
23732
 
22499
 
   echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
22500
 
echo "${ECHO_T}$kde_cv_socklen_t" >&6
 
23733
   { echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
 
23734
echo "${ECHO_T}$kde_cv_socklen_t" >&6; }
22501
23735
   if test $kde_cv_socklen_t = no; then
22502
 
      echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
22503
 
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6
 
23736
      { echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
 
23737
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6; }
22504
23738
      if test "${kde_cv_socklen_t_equiv+set}" = set; then
22505
23739
  echo $ECHO_N "(cached) $ECHO_C" >&6
22506
23740
else
22507
23741
 
22508
23742
         kde_cv_socklen_t_equiv=int
22509
 
         ac_ext=cc
 
23743
         ac_ext=cpp
22510
23744
ac_cpp='$CXXCPP $CPPFLAGS'
22511
23745
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512
23746
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535
23769
}
22536
23770
_ACEOF
22537
23771
rm -f conftest.$ac_objext
22538
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22539
 
  (eval $ac_compile) 2>conftest.er1
 
23772
if { (ac_try="$ac_compile"
 
23773
case "(($ac_try" in
 
23774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23775
  *) ac_try_echo=$ac_try;;
 
23776
esac
 
23777
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23778
  (eval "$ac_compile") 2>conftest.er1
22540
23779
  ac_status=$?
22541
23780
  grep -v '^ *+' conftest.er1 >conftest.err
22542
23781
  rm -f conftest.er1
22543
23782
  cat conftest.err >&5
22544
23783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545
 
  (exit $ac_status); } &&
22546
 
         { ac_try='test -z "$ac_cxx_werror_flag"
22547
 
                         || test ! -s conftest.err'
22548
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22549
 
  (eval $ac_try) 2>&5
22550
 
  ac_status=$?
22551
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552
 
  (exit $ac_status); }; } &&
22553
 
         { ac_try='test -s conftest.$ac_objext'
22554
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22555
 
  (eval $ac_try) 2>&5
22556
 
  ac_status=$?
22557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558
 
  (exit $ac_status); }; }; then
 
23784
  (exit $ac_status); } && {
 
23785
         test -z "$ac_cxx_werror_flag" ||
 
23786
         test ! -s conftest.err
 
23787
       } && test -s conftest.$ac_objext; then
22559
23788
 
22560
23789
               kde_cv_socklen_t_equiv="$t"
22561
23790
               break
22564
23793
  echo "$as_me: failed program was:" >&5
22565
23794
sed 's/^/| /' conftest.$ac_ext >&5
22566
23795
 
 
23796
 
22567
23797
fi
22568
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23798
 
 
23799
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569
23800
         done
22570
23801
         ac_ext=c
22571
23802
ac_cpp='$CPP $CPPFLAGS'
22576
23807
 
22577
23808
fi
22578
23809
 
22579
 
      echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
22580
 
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6
 
23810
      { echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
 
23811
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6; }
22581
23812
   fi
22582
23813
 
22583
23814
cat >>confdefs.h <<_ACEOF
22590
23821
_ACEOF
22591
23822
 
22592
23823
 
22593
 
   echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22594
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
 
23824
   { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
23825
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
22595
23826
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22596
23827
  echo $ECHO_N "(cached) $ECHO_C" >&6
22597
23828
else
22604
23835
cat >>conftest.$ac_ext <<_ACEOF
22605
23836
/* end confdefs.h.  */
22606
23837
 
22607
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23838
/* Override any GCC internal prototype to avoid an error.
 
23839
   Use char because int might match the return type of a GCC
 
23840
   builtin and then its argument prototype would still apply.  */
22608
23841
#ifdef __cplusplus
22609
23842
extern "C"
22610
23843
#endif
22611
 
/* We use char because int might match the return type of a gcc2
22612
 
   builtin and then its argument prototype would still apply.  */
22613
23844
char dnet_ntoa ();
22614
23845
int
22615
23846
main ()
22616
23847
{
22617
 
dnet_ntoa ();
 
23848
return dnet_ntoa ();
22618
23849
  ;
22619
23850
  return 0;
22620
23851
}
22621
23852
_ACEOF
22622
23853
rm -f conftest.$ac_objext conftest$ac_exeext
22623
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22624
 
  (eval $ac_link) 2>conftest.er1
 
23854
if { (ac_try="$ac_link"
 
23855
case "(($ac_try" in
 
23856
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23857
  *) ac_try_echo=$ac_try;;
 
23858
esac
 
23859
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23860
  (eval "$ac_link") 2>conftest.er1
22625
23861
  ac_status=$?
22626
23862
  grep -v '^ *+' conftest.er1 >conftest.err
22627
23863
  rm -f conftest.er1
22628
23864
  cat conftest.err >&5
22629
23865
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630
 
  (exit $ac_status); } &&
22631
 
         { ac_try='test -z "$ac_c_werror_flag"
22632
 
                         || test ! -s conftest.err'
22633
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22634
 
  (eval $ac_try) 2>&5
22635
 
  ac_status=$?
22636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637
 
  (exit $ac_status); }; } &&
22638
 
         { ac_try='test -s conftest$ac_exeext'
22639
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640
 
  (eval $ac_try) 2>&5
22641
 
  ac_status=$?
22642
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643
 
  (exit $ac_status); }; }; then
 
23866
  (exit $ac_status); } && {
 
23867
         test -z "$ac_c_werror_flag" ||
 
23868
         test ! -s conftest.err
 
23869
       } && test -s conftest$ac_exeext &&
 
23870
       $as_test_x conftest$ac_exeext; then
22644
23871
  ac_cv_lib_dnet_dnet_ntoa=yes
22645
23872
else
22646
23873
  echo "$as_me: failed program was:" >&5
22647
23874
sed 's/^/| /' conftest.$ac_ext >&5
22648
23875
 
22649
 
ac_cv_lib_dnet_dnet_ntoa=no
 
23876
        ac_cv_lib_dnet_dnet_ntoa=no
22650
23877
fi
22651
 
rm -f conftest.err conftest.$ac_objext \
 
23878
 
 
23879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22652
23880
      conftest$ac_exeext conftest.$ac_ext
22653
23881
LIBS=$ac_check_lib_save_LIBS
22654
23882
fi
22655
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22656
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
 
23883
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
23884
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22657
23885
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22658
23886
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22659
23887
fi
22660
23888
 
22661
23889
   if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22662
 
      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22663
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
 
23890
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
23891
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
22664
23892
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22665
23893
  echo $ECHO_N "(cached) $ECHO_C" >&6
22666
23894
else
22673
23901
cat >>conftest.$ac_ext <<_ACEOF
22674
23902
/* end confdefs.h.  */
22675
23903
 
22676
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23904
/* Override any GCC internal prototype to avoid an error.
 
23905
   Use char because int might match the return type of a GCC
 
23906
   builtin and then its argument prototype would still apply.  */
22677
23907
#ifdef __cplusplus
22678
23908
extern "C"
22679
23909
#endif
22680
 
/* We use char because int might match the return type of a gcc2
22681
 
   builtin and then its argument prototype would still apply.  */
22682
23910
char dnet_ntoa ();
22683
23911
int
22684
23912
main ()
22685
23913
{
22686
 
dnet_ntoa ();
 
23914
return dnet_ntoa ();
22687
23915
  ;
22688
23916
  return 0;
22689
23917
}
22690
23918
_ACEOF
22691
23919
rm -f conftest.$ac_objext conftest$ac_exeext
22692
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22693
 
  (eval $ac_link) 2>conftest.er1
 
23920
if { (ac_try="$ac_link"
 
23921
case "(($ac_try" in
 
23922
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23923
  *) ac_try_echo=$ac_try;;
 
23924
esac
 
23925
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23926
  (eval "$ac_link") 2>conftest.er1
22694
23927
  ac_status=$?
22695
23928
  grep -v '^ *+' conftest.er1 >conftest.err
22696
23929
  rm -f conftest.er1
22697
23930
  cat conftest.err >&5
22698
23931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699
 
  (exit $ac_status); } &&
22700
 
         { ac_try='test -z "$ac_c_werror_flag"
22701
 
                         || test ! -s conftest.err'
22702
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22703
 
  (eval $ac_try) 2>&5
22704
 
  ac_status=$?
22705
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706
 
  (exit $ac_status); }; } &&
22707
 
         { ac_try='test -s conftest$ac_exeext'
22708
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709
 
  (eval $ac_try) 2>&5
22710
 
  ac_status=$?
22711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712
 
  (exit $ac_status); }; }; then
 
23932
  (exit $ac_status); } && {
 
23933
         test -z "$ac_c_werror_flag" ||
 
23934
         test ! -s conftest.err
 
23935
       } && test -s conftest$ac_exeext &&
 
23936
       $as_test_x conftest$ac_exeext; then
22713
23937
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
22714
23938
else
22715
23939
  echo "$as_me: failed program was:" >&5
22716
23940
sed 's/^/| /' conftest.$ac_ext >&5
22717
23941
 
22718
 
ac_cv_lib_dnet_stub_dnet_ntoa=no
 
23942
        ac_cv_lib_dnet_stub_dnet_ntoa=no
22719
23943
fi
22720
 
rm -f conftest.err conftest.$ac_objext \
 
23944
 
 
23945
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22721
23946
      conftest$ac_exeext conftest.$ac_ext
22722
23947
LIBS=$ac_check_lib_save_LIBS
22723
23948
fi
22724
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22725
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
 
23949
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
23950
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
22726
23951
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22727
23952
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22728
23953
fi
22729
23954
 
22730
23955
   fi
22731
 
   echo "$as_me:$LINENO: checking for inet_ntoa" >&5
22732
 
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6
 
23956
   { echo "$as_me:$LINENO: checking for inet_ntoa" >&5
 
23957
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6; }
22733
23958
if test "${ac_cv_func_inet_ntoa+set}" = set; then
22734
23959
  echo $ECHO_N "(cached) $ECHO_C" >&6
22735
23960
else
22756
23981
 
22757
23982
#undef inet_ntoa
22758
23983
 
22759
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23984
/* Override any GCC internal prototype to avoid an error.
 
23985
   Use char because int might match the return type of a GCC
 
23986
   builtin and then its argument prototype would still apply.  */
22760
23987
#ifdef __cplusplus
22761
23988
extern "C"
22762
 
{
22763
23989
#endif
22764
 
/* We use char because int might match the return type of a gcc2
22765
 
   builtin and then its argument prototype would still apply.  */
22766
23990
char inet_ntoa ();
22767
23991
/* The GNU C library defines this for functions which it implements
22768
23992
    to always fail with ENOSYS.  Some functions are actually named
22769
23993
    something starting with __ and the normal name is an alias.  */
22770
 
#if defined (__stub_inet_ntoa) || defined (__stub___inet_ntoa)
 
23994
#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
22771
23995
choke me
22772
 
#else
22773
 
char (*f) () = inet_ntoa;
22774
 
#endif
22775
 
#ifdef __cplusplus
22776
 
}
22777
23996
#endif
22778
23997
 
22779
23998
int
22780
23999
main ()
22781
24000
{
22782
 
return f != inet_ntoa;
 
24001
return inet_ntoa ();
22783
24002
  ;
22784
24003
  return 0;
22785
24004
}
22786
24005
_ACEOF
22787
24006
rm -f conftest.$ac_objext conftest$ac_exeext
22788
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22789
 
  (eval $ac_link) 2>conftest.er1
 
24007
if { (ac_try="$ac_link"
 
24008
case "(($ac_try" in
 
24009
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24010
  *) ac_try_echo=$ac_try;;
 
24011
esac
 
24012
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24013
  (eval "$ac_link") 2>conftest.er1
22790
24014
  ac_status=$?
22791
24015
  grep -v '^ *+' conftest.er1 >conftest.err
22792
24016
  rm -f conftest.er1
22793
24017
  cat conftest.err >&5
22794
24018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795
 
  (exit $ac_status); } &&
22796
 
         { ac_try='test -z "$ac_c_werror_flag"
22797
 
                         || test ! -s conftest.err'
22798
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799
 
  (eval $ac_try) 2>&5
22800
 
  ac_status=$?
22801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802
 
  (exit $ac_status); }; } &&
22803
 
         { ac_try='test -s conftest$ac_exeext'
22804
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22805
 
  (eval $ac_try) 2>&5
22806
 
  ac_status=$?
22807
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808
 
  (exit $ac_status); }; }; then
 
24019
  (exit $ac_status); } && {
 
24020
         test -z "$ac_c_werror_flag" ||
 
24021
         test ! -s conftest.err
 
24022
       } && test -s conftest$ac_exeext &&
 
24023
       $as_test_x conftest$ac_exeext; then
22809
24024
  ac_cv_func_inet_ntoa=yes
22810
24025
else
22811
24026
  echo "$as_me: failed program was:" >&5
22812
24027
sed 's/^/| /' conftest.$ac_ext >&5
22813
24028
 
22814
 
ac_cv_func_inet_ntoa=no
 
24029
        ac_cv_func_inet_ntoa=no
22815
24030
fi
22816
 
rm -f conftest.err conftest.$ac_objext \
 
24031
 
 
24032
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22817
24033
      conftest$ac_exeext conftest.$ac_ext
22818
24034
fi
22819
 
echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
22820
 
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6
 
24035
{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
 
24036
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6; }
22821
24037
 
22822
24038
   if test $ac_cv_func_inet_ntoa = no; then
22823
 
     echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
22824
 
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6
 
24039
     { echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
 
24040
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6; }
22825
24041
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
22826
24042
  echo $ECHO_N "(cached) $ECHO_C" >&6
22827
24043
else
22834
24050
cat >>conftest.$ac_ext <<_ACEOF
22835
24051
/* end confdefs.h.  */
22836
24052
 
22837
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24053
/* Override any GCC internal prototype to avoid an error.
 
24054
   Use char because int might match the return type of a GCC
 
24055
   builtin and then its argument prototype would still apply.  */
22838
24056
#ifdef __cplusplus
22839
24057
extern "C"
22840
24058
#endif
22841
 
/* We use char because int might match the return type of a gcc2
22842
 
   builtin and then its argument prototype would still apply.  */
22843
24059
char inet_ntoa ();
22844
24060
int
22845
24061
main ()
22846
24062
{
22847
 
inet_ntoa ();
 
24063
return inet_ntoa ();
22848
24064
  ;
22849
24065
  return 0;
22850
24066
}
22851
24067
_ACEOF
22852
24068
rm -f conftest.$ac_objext conftest$ac_exeext
22853
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22854
 
  (eval $ac_link) 2>conftest.er1
 
24069
if { (ac_try="$ac_link"
 
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_link") 2>conftest.er1
22855
24076
  ac_status=$?
22856
24077
  grep -v '^ *+' conftest.er1 >conftest.err
22857
24078
  rm -f conftest.er1
22858
24079
  cat conftest.err >&5
22859
24080
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860
 
  (exit $ac_status); } &&
22861
 
         { ac_try='test -z "$ac_c_werror_flag"
22862
 
                         || test ! -s conftest.err'
22863
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864
 
  (eval $ac_try) 2>&5
22865
 
  ac_status=$?
22866
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867
 
  (exit $ac_status); }; } &&
22868
 
         { ac_try='test -s conftest$ac_exeext'
22869
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870
 
  (eval $ac_try) 2>&5
22871
 
  ac_status=$?
22872
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873
 
  (exit $ac_status); }; }; then
 
24081
  (exit $ac_status); } && {
 
24082
         test -z "$ac_c_werror_flag" ||
 
24083
         test ! -s conftest.err
 
24084
       } && test -s conftest$ac_exeext &&
 
24085
       $as_test_x conftest$ac_exeext; then
22874
24086
  ac_cv_lib_nsl_inet_ntoa=yes
22875
24087
else
22876
24088
  echo "$as_me: failed program was:" >&5
22877
24089
sed 's/^/| /' conftest.$ac_ext >&5
22878
24090
 
22879
 
ac_cv_lib_nsl_inet_ntoa=no
 
24091
        ac_cv_lib_nsl_inet_ntoa=no
22880
24092
fi
22881
 
rm -f conftest.err conftest.$ac_objext \
 
24093
 
 
24094
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22882
24095
      conftest$ac_exeext conftest.$ac_ext
22883
24096
LIBS=$ac_check_lib_save_LIBS
22884
24097
fi
22885
 
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
22886
 
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6
 
24098
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
 
24099
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6; }
22887
24100
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
22888
24101
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22889
24102
fi
22890
24103
 
22891
24104
   fi
22892
 
   echo "$as_me:$LINENO: checking for connect" >&5
22893
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6
 
24105
   { echo "$as_me:$LINENO: checking for connect" >&5
 
24106
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
22894
24107
if test "${ac_cv_func_connect+set}" = set; then
22895
24108
  echo $ECHO_N "(cached) $ECHO_C" >&6
22896
24109
else
22917
24130
 
22918
24131
#undef connect
22919
24132
 
22920
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24133
/* Override any GCC internal prototype to avoid an error.
 
24134
   Use char because int might match the return type of a GCC
 
24135
   builtin and then its argument prototype would still apply.  */
22921
24136
#ifdef __cplusplus
22922
24137
extern "C"
22923
 
{
22924
24138
#endif
22925
 
/* We use char because int might match the return type of a gcc2
22926
 
   builtin and then its argument prototype would still apply.  */
22927
24139
char connect ();
22928
24140
/* The GNU C library defines this for functions which it implements
22929
24141
    to always fail with ENOSYS.  Some functions are actually named
22930
24142
    something starting with __ and the normal name is an alias.  */
22931
 
#if defined (__stub_connect) || defined (__stub___connect)
 
24143
#if defined __stub_connect || defined __stub___connect
22932
24144
choke me
22933
 
#else
22934
 
char (*f) () = connect;
22935
 
#endif
22936
 
#ifdef __cplusplus
22937
 
}
22938
24145
#endif
22939
24146
 
22940
24147
int
22941
24148
main ()
22942
24149
{
22943
 
return f != connect;
 
24150
return connect ();
22944
24151
  ;
22945
24152
  return 0;
22946
24153
}
22947
24154
_ACEOF
22948
24155
rm -f conftest.$ac_objext conftest$ac_exeext
22949
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22950
 
  (eval $ac_link) 2>conftest.er1
 
24156
if { (ac_try="$ac_link"
 
24157
case "(($ac_try" in
 
24158
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24159
  *) ac_try_echo=$ac_try;;
 
24160
esac
 
24161
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24162
  (eval "$ac_link") 2>conftest.er1
22951
24163
  ac_status=$?
22952
24164
  grep -v '^ *+' conftest.er1 >conftest.err
22953
24165
  rm -f conftest.er1
22954
24166
  cat conftest.err >&5
22955
24167
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956
 
  (exit $ac_status); } &&
22957
 
         { ac_try='test -z "$ac_c_werror_flag"
22958
 
                         || test ! -s conftest.err'
22959
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22960
 
  (eval $ac_try) 2>&5
22961
 
  ac_status=$?
22962
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963
 
  (exit $ac_status); }; } &&
22964
 
         { ac_try='test -s conftest$ac_exeext'
22965
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22966
 
  (eval $ac_try) 2>&5
22967
 
  ac_status=$?
22968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969
 
  (exit $ac_status); }; }; then
 
24168
  (exit $ac_status); } && {
 
24169
         test -z "$ac_c_werror_flag" ||
 
24170
         test ! -s conftest.err
 
24171
       } && test -s conftest$ac_exeext &&
 
24172
       $as_test_x conftest$ac_exeext; then
22970
24173
  ac_cv_func_connect=yes
22971
24174
else
22972
24175
  echo "$as_me: failed program was:" >&5
22973
24176
sed 's/^/| /' conftest.$ac_ext >&5
22974
24177
 
22975
 
ac_cv_func_connect=no
 
24178
        ac_cv_func_connect=no
22976
24179
fi
22977
 
rm -f conftest.err conftest.$ac_objext \
 
24180
 
 
24181
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22978
24182
      conftest$ac_exeext conftest.$ac_ext
22979
24183
fi
22980
 
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22981
 
echo "${ECHO_T}$ac_cv_func_connect" >&6
 
24184
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
24185
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
22982
24186
 
22983
24187
   if test $ac_cv_func_connect = no; then
22984
 
      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22985
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
 
24188
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
24189
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
22986
24190
if test "${ac_cv_lib_socket_connect+set}" = set; then
22987
24191
  echo $ECHO_N "(cached) $ECHO_C" >&6
22988
24192
else
22995
24199
cat >>conftest.$ac_ext <<_ACEOF
22996
24200
/* end confdefs.h.  */
22997
24201
 
22998
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24202
/* Override any GCC internal prototype to avoid an error.
 
24203
   Use char because int might match the return type of a GCC
 
24204
   builtin and then its argument prototype would still apply.  */
22999
24205
#ifdef __cplusplus
23000
24206
extern "C"
23001
24207
#endif
23002
 
/* We use char because int might match the return type of a gcc2
23003
 
   builtin and then its argument prototype would still apply.  */
23004
24208
char connect ();
23005
24209
int
23006
24210
main ()
23007
24211
{
23008
 
connect ();
 
24212
return connect ();
23009
24213
  ;
23010
24214
  return 0;
23011
24215
}
23012
24216
_ACEOF
23013
24217
rm -f conftest.$ac_objext conftest$ac_exeext
23014
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23015
 
  (eval $ac_link) 2>conftest.er1
 
24218
if { (ac_try="$ac_link"
 
24219
case "(($ac_try" in
 
24220
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24221
  *) ac_try_echo=$ac_try;;
 
24222
esac
 
24223
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24224
  (eval "$ac_link") 2>conftest.er1
23016
24225
  ac_status=$?
23017
24226
  grep -v '^ *+' conftest.er1 >conftest.err
23018
24227
  rm -f conftest.er1
23019
24228
  cat conftest.err >&5
23020
24229
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021
 
  (exit $ac_status); } &&
23022
 
         { ac_try='test -z "$ac_c_werror_flag"
23023
 
                         || test ! -s conftest.err'
23024
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23025
 
  (eval $ac_try) 2>&5
23026
 
  ac_status=$?
23027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028
 
  (exit $ac_status); }; } &&
23029
 
         { ac_try='test -s conftest$ac_exeext'
23030
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23031
 
  (eval $ac_try) 2>&5
23032
 
  ac_status=$?
23033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034
 
  (exit $ac_status); }; }; then
 
24230
  (exit $ac_status); } && {
 
24231
         test -z "$ac_c_werror_flag" ||
 
24232
         test ! -s conftest.err
 
24233
       } && test -s conftest$ac_exeext &&
 
24234
       $as_test_x conftest$ac_exeext; then
23035
24235
  ac_cv_lib_socket_connect=yes
23036
24236
else
23037
24237
  echo "$as_me: failed program was:" >&5
23038
24238
sed 's/^/| /' conftest.$ac_ext >&5
23039
24239
 
23040
 
ac_cv_lib_socket_connect=no
 
24240
        ac_cv_lib_socket_connect=no
23041
24241
fi
23042
 
rm -f conftest.err conftest.$ac_objext \
 
24242
 
 
24243
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23043
24244
      conftest$ac_exeext conftest.$ac_ext
23044
24245
LIBS=$ac_check_lib_save_LIBS
23045
24246
fi
23046
 
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23047
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
 
24247
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
24248
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
23048
24249
if test $ac_cv_lib_socket_connect = yes; then
23049
24250
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23050
24251
fi
23051
24252
 
23052
24253
   fi
23053
24254
 
23054
 
   echo "$as_me:$LINENO: checking for remove" >&5
23055
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6
 
24255
   { echo "$as_me:$LINENO: checking for remove" >&5
 
24256
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
23056
24257
if test "${ac_cv_func_remove+set}" = set; then
23057
24258
  echo $ECHO_N "(cached) $ECHO_C" >&6
23058
24259
else
23079
24280
 
23080
24281
#undef remove
23081
24282
 
23082
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24283
/* Override any GCC internal prototype to avoid an error.
 
24284
   Use char because int might match the return type of a GCC
 
24285
   builtin and then its argument prototype would still apply.  */
23083
24286
#ifdef __cplusplus
23084
24287
extern "C"
23085
 
{
23086
24288
#endif
23087
 
/* We use char because int might match the return type of a gcc2
23088
 
   builtin and then its argument prototype would still apply.  */
23089
24289
char remove ();
23090
24290
/* The GNU C library defines this for functions which it implements
23091
24291
    to always fail with ENOSYS.  Some functions are actually named
23092
24292
    something starting with __ and the normal name is an alias.  */
23093
 
#if defined (__stub_remove) || defined (__stub___remove)
 
24293
#if defined __stub_remove || defined __stub___remove
23094
24294
choke me
23095
 
#else
23096
 
char (*f) () = remove;
23097
 
#endif
23098
 
#ifdef __cplusplus
23099
 
}
23100
24295
#endif
23101
24296
 
23102
24297
int
23103
24298
main ()
23104
24299
{
23105
 
return f != remove;
 
24300
return remove ();
23106
24301
  ;
23107
24302
  return 0;
23108
24303
}
23109
24304
_ACEOF
23110
24305
rm -f conftest.$ac_objext conftest$ac_exeext
23111
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23112
 
  (eval $ac_link) 2>conftest.er1
 
24306
if { (ac_try="$ac_link"
 
24307
case "(($ac_try" in
 
24308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24309
  *) ac_try_echo=$ac_try;;
 
24310
esac
 
24311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24312
  (eval "$ac_link") 2>conftest.er1
23113
24313
  ac_status=$?
23114
24314
  grep -v '^ *+' conftest.er1 >conftest.err
23115
24315
  rm -f conftest.er1
23116
24316
  cat conftest.err >&5
23117
24317
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118
 
  (exit $ac_status); } &&
23119
 
         { ac_try='test -z "$ac_c_werror_flag"
23120
 
                         || test ! -s conftest.err'
23121
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23122
 
  (eval $ac_try) 2>&5
23123
 
  ac_status=$?
23124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125
 
  (exit $ac_status); }; } &&
23126
 
         { ac_try='test -s conftest$ac_exeext'
23127
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128
 
  (eval $ac_try) 2>&5
23129
 
  ac_status=$?
23130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131
 
  (exit $ac_status); }; }; then
 
24318
  (exit $ac_status); } && {
 
24319
         test -z "$ac_c_werror_flag" ||
 
24320
         test ! -s conftest.err
 
24321
       } && test -s conftest$ac_exeext &&
 
24322
       $as_test_x conftest$ac_exeext; then
23132
24323
  ac_cv_func_remove=yes
23133
24324
else
23134
24325
  echo "$as_me: failed program was:" >&5
23135
24326
sed 's/^/| /' conftest.$ac_ext >&5
23136
24327
 
23137
 
ac_cv_func_remove=no
 
24328
        ac_cv_func_remove=no
23138
24329
fi
23139
 
rm -f conftest.err conftest.$ac_objext \
 
24330
 
 
24331
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23140
24332
      conftest$ac_exeext conftest.$ac_ext
23141
24333
fi
23142
 
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23143
 
echo "${ECHO_T}$ac_cv_func_remove" >&6
 
24334
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 
24335
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
23144
24336
 
23145
24337
   if test $ac_cv_func_remove = no; then
23146
 
      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23147
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
 
24338
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
24339
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
23148
24340
if test "${ac_cv_lib_posix_remove+set}" = set; then
23149
24341
  echo $ECHO_N "(cached) $ECHO_C" >&6
23150
24342
else
23157
24349
cat >>conftest.$ac_ext <<_ACEOF
23158
24350
/* end confdefs.h.  */
23159
24351
 
23160
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24352
/* Override any GCC internal prototype to avoid an error.
 
24353
   Use char because int might match the return type of a GCC
 
24354
   builtin and then its argument prototype would still apply.  */
23161
24355
#ifdef __cplusplus
23162
24356
extern "C"
23163
24357
#endif
23164
 
/* We use char because int might match the return type of a gcc2
23165
 
   builtin and then its argument prototype would still apply.  */
23166
24358
char remove ();
23167
24359
int
23168
24360
main ()
23169
24361
{
23170
 
remove ();
 
24362
return remove ();
23171
24363
  ;
23172
24364
  return 0;
23173
24365
}
23174
24366
_ACEOF
23175
24367
rm -f conftest.$ac_objext conftest$ac_exeext
23176
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23177
 
  (eval $ac_link) 2>conftest.er1
 
24368
if { (ac_try="$ac_link"
 
24369
case "(($ac_try" in
 
24370
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24371
  *) ac_try_echo=$ac_try;;
 
24372
esac
 
24373
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24374
  (eval "$ac_link") 2>conftest.er1
23178
24375
  ac_status=$?
23179
24376
  grep -v '^ *+' conftest.er1 >conftest.err
23180
24377
  rm -f conftest.er1
23181
24378
  cat conftest.err >&5
23182
24379
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183
 
  (exit $ac_status); } &&
23184
 
         { ac_try='test -z "$ac_c_werror_flag"
23185
 
                         || test ! -s conftest.err'
23186
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23187
 
  (eval $ac_try) 2>&5
23188
 
  ac_status=$?
23189
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190
 
  (exit $ac_status); }; } &&
23191
 
         { ac_try='test -s conftest$ac_exeext'
23192
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23193
 
  (eval $ac_try) 2>&5
23194
 
  ac_status=$?
23195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196
 
  (exit $ac_status); }; }; then
 
24380
  (exit $ac_status); } && {
 
24381
         test -z "$ac_c_werror_flag" ||
 
24382
         test ! -s conftest.err
 
24383
       } && test -s conftest$ac_exeext &&
 
24384
       $as_test_x conftest$ac_exeext; then
23197
24385
  ac_cv_lib_posix_remove=yes
23198
24386
else
23199
24387
  echo "$as_me: failed program was:" >&5
23200
24388
sed 's/^/| /' conftest.$ac_ext >&5
23201
24389
 
23202
 
ac_cv_lib_posix_remove=no
 
24390
        ac_cv_lib_posix_remove=no
23203
24391
fi
23204
 
rm -f conftest.err conftest.$ac_objext \
 
24392
 
 
24393
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23205
24394
      conftest$ac_exeext conftest.$ac_ext
23206
24395
LIBS=$ac_check_lib_save_LIBS
23207
24396
fi
23208
 
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23209
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
 
24397
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
24398
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
23210
24399
if test $ac_cv_lib_posix_remove = yes; then
23211
24400
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23212
24401
fi
23214
24403
   fi
23215
24404
 
23216
24405
   # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23217
 
   echo "$as_me:$LINENO: checking for shmat" >&5
23218
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
 
24406
   { echo "$as_me:$LINENO: checking for shmat" >&5
 
24407
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
23219
24408
if test "${ac_cv_func_shmat+set}" = set; then
23220
24409
  echo $ECHO_N "(cached) $ECHO_C" >&6
23221
24410
else
23242
24431
 
23243
24432
#undef shmat
23244
24433
 
23245
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24434
/* Override any GCC internal prototype to avoid an error.
 
24435
   Use char because int might match the return type of a GCC
 
24436
   builtin and then its argument prototype would still apply.  */
23246
24437
#ifdef __cplusplus
23247
24438
extern "C"
23248
 
{
23249
24439
#endif
23250
 
/* We use char because int might match the return type of a gcc2
23251
 
   builtin and then its argument prototype would still apply.  */
23252
24440
char shmat ();
23253
24441
/* The GNU C library defines this for functions which it implements
23254
24442
    to always fail with ENOSYS.  Some functions are actually named
23255
24443
    something starting with __ and the normal name is an alias.  */
23256
 
#if defined (__stub_shmat) || defined (__stub___shmat)
 
24444
#if defined __stub_shmat || defined __stub___shmat
23257
24445
choke me
23258
 
#else
23259
 
char (*f) () = shmat;
23260
 
#endif
23261
 
#ifdef __cplusplus
23262
 
}
23263
24446
#endif
23264
24447
 
23265
24448
int
23266
24449
main ()
23267
24450
{
23268
 
return f != shmat;
 
24451
return shmat ();
23269
24452
  ;
23270
24453
  return 0;
23271
24454
}
23272
24455
_ACEOF
23273
24456
rm -f conftest.$ac_objext conftest$ac_exeext
23274
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23275
 
  (eval $ac_link) 2>conftest.er1
 
24457
if { (ac_try="$ac_link"
 
24458
case "(($ac_try" in
 
24459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24460
  *) ac_try_echo=$ac_try;;
 
24461
esac
 
24462
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24463
  (eval "$ac_link") 2>conftest.er1
23276
24464
  ac_status=$?
23277
24465
  grep -v '^ *+' conftest.er1 >conftest.err
23278
24466
  rm -f conftest.er1
23279
24467
  cat conftest.err >&5
23280
24468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281
 
  (exit $ac_status); } &&
23282
 
         { ac_try='test -z "$ac_c_werror_flag"
23283
 
                         || test ! -s conftest.err'
23284
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285
 
  (eval $ac_try) 2>&5
23286
 
  ac_status=$?
23287
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288
 
  (exit $ac_status); }; } &&
23289
 
         { ac_try='test -s conftest$ac_exeext'
23290
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23291
 
  (eval $ac_try) 2>&5
23292
 
  ac_status=$?
23293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294
 
  (exit $ac_status); }; }; then
 
24469
  (exit $ac_status); } && {
 
24470
         test -z "$ac_c_werror_flag" ||
 
24471
         test ! -s conftest.err
 
24472
       } && test -s conftest$ac_exeext &&
 
24473
       $as_test_x conftest$ac_exeext; then
23295
24474
  ac_cv_func_shmat=yes
23296
24475
else
23297
24476
  echo "$as_me: failed program was:" >&5
23298
24477
sed 's/^/| /' conftest.$ac_ext >&5
23299
24478
 
23300
 
ac_cv_func_shmat=no
 
24479
        ac_cv_func_shmat=no
23301
24480
fi
23302
 
rm -f conftest.err conftest.$ac_objext \
 
24481
 
 
24482
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23303
24483
      conftest$ac_exeext conftest.$ac_ext
23304
24484
fi
23305
 
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23306
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6
 
24485
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 
24486
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
23307
24487
if test $ac_cv_func_shmat = yes; then
23308
24488
  :
23309
24489
else
23310
 
  echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23311
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
 
24490
  { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
24491
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
23312
24492
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23313
24493
  echo $ECHO_N "(cached) $ECHO_C" >&6
23314
24494
else
23321
24501
cat >>conftest.$ac_ext <<_ACEOF
23322
24502
/* end confdefs.h.  */
23323
24503
 
23324
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24504
/* Override any GCC internal prototype to avoid an error.
 
24505
   Use char because int might match the return type of a GCC
 
24506
   builtin and then its argument prototype would still apply.  */
23325
24507
#ifdef __cplusplus
23326
24508
extern "C"
23327
24509
#endif
23328
 
/* We use char because int might match the return type of a gcc2
23329
 
   builtin and then its argument prototype would still apply.  */
23330
24510
char shmat ();
23331
24511
int
23332
24512
main ()
23333
24513
{
23334
 
shmat ();
 
24514
return shmat ();
23335
24515
  ;
23336
24516
  return 0;
23337
24517
}
23338
24518
_ACEOF
23339
24519
rm -f conftest.$ac_objext conftest$ac_exeext
23340
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23341
 
  (eval $ac_link) 2>conftest.er1
 
24520
if { (ac_try="$ac_link"
 
24521
case "(($ac_try" in
 
24522
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24523
  *) ac_try_echo=$ac_try;;
 
24524
esac
 
24525
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24526
  (eval "$ac_link") 2>conftest.er1
23342
24527
  ac_status=$?
23343
24528
  grep -v '^ *+' conftest.er1 >conftest.err
23344
24529
  rm -f conftest.er1
23345
24530
  cat conftest.err >&5
23346
24531
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347
 
  (exit $ac_status); } &&
23348
 
         { ac_try='test -z "$ac_c_werror_flag"
23349
 
                         || test ! -s conftest.err'
23350
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23351
 
  (eval $ac_try) 2>&5
23352
 
  ac_status=$?
23353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354
 
  (exit $ac_status); }; } &&
23355
 
         { ac_try='test -s conftest$ac_exeext'
23356
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23357
 
  (eval $ac_try) 2>&5
23358
 
  ac_status=$?
23359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360
 
  (exit $ac_status); }; }; then
 
24532
  (exit $ac_status); } && {
 
24533
         test -z "$ac_c_werror_flag" ||
 
24534
         test ! -s conftest.err
 
24535
       } && test -s conftest$ac_exeext &&
 
24536
       $as_test_x conftest$ac_exeext; then
23361
24537
  ac_cv_lib_ipc_shmat=yes
23362
24538
else
23363
24539
  echo "$as_me: failed program was:" >&5
23364
24540
sed 's/^/| /' conftest.$ac_ext >&5
23365
24541
 
23366
 
ac_cv_lib_ipc_shmat=no
 
24542
        ac_cv_lib_ipc_shmat=no
23367
24543
fi
23368
 
rm -f conftest.err conftest.$ac_objext \
 
24544
 
 
24545
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23369
24546
      conftest$ac_exeext conftest.$ac_ext
23370
24547
LIBS=$ac_check_lib_save_LIBS
23371
24548
fi
23372
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23373
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
 
24549
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
24550
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
23374
24551
if test $ac_cv_lib_ipc_shmat = yes; then
23375
24552
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23376
24553
fi
23384
24561
for ac_header in sys/types.h stdint.h
23385
24562
do
23386
24563
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23387
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23388
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
23389
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23390
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24564
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24565
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24566
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24567
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23391
24568
  echo $ECHO_N "(cached) $ECHO_C" >&6
23392
24569
fi
23393
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23394
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24570
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24571
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24572
echo "${ECHO_T}$ac_res" >&6; }
23395
24573
else
23396
24574
  # Is the header compilable?
23397
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23398
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
24575
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24576
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23399
24577
cat >conftest.$ac_ext <<_ACEOF
23400
24578
/* confdefs.h.  */
23401
24579
_ACEOF
23406
24584
#include <$ac_header>
23407
24585
_ACEOF
23408
24586
rm -f conftest.$ac_objext
23409
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23410
 
  (eval $ac_compile) 2>conftest.er1
 
24587
if { (ac_try="$ac_compile"
 
24588
case "(($ac_try" in
 
24589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24590
  *) ac_try_echo=$ac_try;;
 
24591
esac
 
24592
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24593
  (eval "$ac_compile") 2>conftest.er1
23411
24594
  ac_status=$?
23412
24595
  grep -v '^ *+' conftest.er1 >conftest.err
23413
24596
  rm -f conftest.er1
23414
24597
  cat conftest.err >&5
23415
24598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416
 
  (exit $ac_status); } &&
23417
 
         { ac_try='test -z "$ac_c_werror_flag"
23418
 
                         || test ! -s conftest.err'
23419
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23420
 
  (eval $ac_try) 2>&5
23421
 
  ac_status=$?
23422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423
 
  (exit $ac_status); }; } &&
23424
 
         { ac_try='test -s conftest.$ac_objext'
23425
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426
 
  (eval $ac_try) 2>&5
23427
 
  ac_status=$?
23428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429
 
  (exit $ac_status); }; }; then
 
24599
  (exit $ac_status); } && {
 
24600
         test -z "$ac_c_werror_flag" ||
 
24601
         test ! -s conftest.err
 
24602
       } && test -s conftest.$ac_objext; then
23430
24603
  ac_header_compiler=yes
23431
24604
else
23432
24605
  echo "$as_me: failed program was:" >&5
23433
24606
sed 's/^/| /' conftest.$ac_ext >&5
23434
24607
 
23435
 
ac_header_compiler=no
 
24608
        ac_header_compiler=no
23436
24609
fi
23437
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23438
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23439
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24610
 
 
24611
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24612
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24613
echo "${ECHO_T}$ac_header_compiler" >&6; }
23440
24614
 
23441
24615
# Is the header present?
23442
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23443
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
24616
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24617
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23444
24618
cat >conftest.$ac_ext <<_ACEOF
23445
24619
/* confdefs.h.  */
23446
24620
_ACEOF
23449
24623
/* end confdefs.h.  */
23450
24624
#include <$ac_header>
23451
24625
_ACEOF
23452
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23453
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24626
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24627
case "(($ac_try" in
 
24628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24629
  *) ac_try_echo=$ac_try;;
 
24630
esac
 
24631
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24632
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23454
24633
  ac_status=$?
23455
24634
  grep -v '^ *+' conftest.er1 >conftest.err
23456
24635
  rm -f conftest.er1
23457
24636
  cat conftest.err >&5
23458
24637
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459
 
  (exit $ac_status); } >/dev/null; then
23460
 
  if test -s conftest.err; then
23461
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23462
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23463
 
  else
23464
 
    ac_cpp_err=
23465
 
  fi
23466
 
else
23467
 
  ac_cpp_err=yes
23468
 
fi
23469
 
if test -z "$ac_cpp_err"; then
 
24638
  (exit $ac_status); } >/dev/null && {
 
24639
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24640
         test ! -s conftest.err
 
24641
       }; then
23470
24642
  ac_header_preproc=yes
23471
24643
else
23472
24644
  echo "$as_me: failed program was:" >&5
23474
24646
 
23475
24647
  ac_header_preproc=no
23476
24648
fi
 
24649
 
23477
24650
rm -f conftest.err conftest.$ac_ext
23478
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23479
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24651
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24652
echo "${ECHO_T}$ac_header_preproc" >&6; }
23480
24653
 
23481
24654
# So?  What about this header?
23482
24655
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23500
24673
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23501
24674
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23502
24675
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23503
 
    (
23504
 
      cat <<\_ASBOX
23505
 
## ------------------------------------------ ##
23506
 
## Report this to the AC_PACKAGE_NAME lists.  ##
23507
 
## ------------------------------------------ ##
23508
 
_ASBOX
23509
 
    ) |
23510
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24676
 
23511
24677
    ;;
23512
24678
esac
23513
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
23514
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23515
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24679
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24680
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24681
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23516
24682
  echo $ECHO_N "(cached) $ECHO_C" >&6
23517
24683
else
23518
24684
  eval "$as_ac_Header=\$ac_header_preproc"
23519
24685
fi
23520
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23521
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24686
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24687
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24688
echo "${ECHO_T}$ac_res" >&6; }
23522
24689
 
23523
24690
fi
23524
24691
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23536
24703
for ac_header in sys/bitypes.h
23537
24704
do
23538
24705
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23539
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23540
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
23541
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23542
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24706
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24707
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24708
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24709
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23543
24710
  echo $ECHO_N "(cached) $ECHO_C" >&6
23544
24711
fi
23545
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23546
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24712
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24713
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24714
echo "${ECHO_T}$ac_res" >&6; }
23547
24715
else
23548
24716
  # Is the header compilable?
23549
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23550
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
24717
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24718
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23551
24719
cat >conftest.$ac_ext <<_ACEOF
23552
24720
/* confdefs.h.  */
23553
24721
_ACEOF
23558
24726
#include <$ac_header>
23559
24727
_ACEOF
23560
24728
rm -f conftest.$ac_objext
23561
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23562
 
  (eval $ac_compile) 2>conftest.er1
 
24729
if { (ac_try="$ac_compile"
 
24730
case "(($ac_try" in
 
24731
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24732
  *) ac_try_echo=$ac_try;;
 
24733
esac
 
24734
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24735
  (eval "$ac_compile") 2>conftest.er1
23563
24736
  ac_status=$?
23564
24737
  grep -v '^ *+' conftest.er1 >conftest.err
23565
24738
  rm -f conftest.er1
23566
24739
  cat conftest.err >&5
23567
24740
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568
 
  (exit $ac_status); } &&
23569
 
         { ac_try='test -z "$ac_c_werror_flag"
23570
 
                         || test ! -s conftest.err'
23571
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572
 
  (eval $ac_try) 2>&5
23573
 
  ac_status=$?
23574
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575
 
  (exit $ac_status); }; } &&
23576
 
         { ac_try='test -s conftest.$ac_objext'
23577
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578
 
  (eval $ac_try) 2>&5
23579
 
  ac_status=$?
23580
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581
 
  (exit $ac_status); }; }; then
 
24741
  (exit $ac_status); } && {
 
24742
         test -z "$ac_c_werror_flag" ||
 
24743
         test ! -s conftest.err
 
24744
       } && test -s conftest.$ac_objext; then
23582
24745
  ac_header_compiler=yes
23583
24746
else
23584
24747
  echo "$as_me: failed program was:" >&5
23585
24748
sed 's/^/| /' conftest.$ac_ext >&5
23586
24749
 
23587
 
ac_header_compiler=no
 
24750
        ac_header_compiler=no
23588
24751
fi
23589
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23590
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23591
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24752
 
 
24753
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24754
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24755
echo "${ECHO_T}$ac_header_compiler" >&6; }
23592
24756
 
23593
24757
# Is the header present?
23594
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23595
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
24758
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24759
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23596
24760
cat >conftest.$ac_ext <<_ACEOF
23597
24761
/* confdefs.h.  */
23598
24762
_ACEOF
23601
24765
/* end confdefs.h.  */
23602
24766
#include <$ac_header>
23603
24767
_ACEOF
23604
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23605
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24768
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24769
case "(($ac_try" in
 
24770
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24771
  *) ac_try_echo=$ac_try;;
 
24772
esac
 
24773
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24774
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23606
24775
  ac_status=$?
23607
24776
  grep -v '^ *+' conftest.er1 >conftest.err
23608
24777
  rm -f conftest.er1
23609
24778
  cat conftest.err >&5
23610
24779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611
 
  (exit $ac_status); } >/dev/null; then
23612
 
  if test -s conftest.err; then
23613
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23614
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23615
 
  else
23616
 
    ac_cpp_err=
23617
 
  fi
23618
 
else
23619
 
  ac_cpp_err=yes
23620
 
fi
23621
 
if test -z "$ac_cpp_err"; then
 
24780
  (exit $ac_status); } >/dev/null && {
 
24781
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24782
         test ! -s conftest.err
 
24783
       }; then
23622
24784
  ac_header_preproc=yes
23623
24785
else
23624
24786
  echo "$as_me: failed program was:" >&5
23626
24788
 
23627
24789
  ac_header_preproc=no
23628
24790
fi
 
24791
 
23629
24792
rm -f conftest.err conftest.$ac_ext
23630
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23631
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24793
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24794
echo "${ECHO_T}$ac_header_preproc" >&6; }
23632
24795
 
23633
24796
# So?  What about this header?
23634
24797
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23652
24815
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23653
24816
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23654
24817
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23655
 
    (
23656
 
      cat <<\_ASBOX
23657
 
## ------------------------------------------ ##
23658
 
## Report this to the AC_PACKAGE_NAME lists.  ##
23659
 
## ------------------------------------------ ##
23660
 
_ASBOX
23661
 
    ) |
23662
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24818
 
23663
24819
    ;;
23664
24820
esac
23665
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
23666
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23667
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24821
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24822
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24823
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23668
24824
  echo $ECHO_N "(cached) $ECHO_C" >&6
23669
24825
else
23670
24826
  eval "$as_ac_Header=\$ac_header_preproc"
23671
24827
fi
23672
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23673
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24828
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24829
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24830
echo "${ECHO_T}$ac_res" >&6; }
23674
24831
 
23675
24832
fi
23676
24833
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23684
24841
 
23685
24842
 
23686
24843
   # darwin requires a poll emulation library
23687
 
   echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
23688
 
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
 
24844
   { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
 
24845
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
23689
24846
if test "${ac_cv_lib_poll_poll+set}" = set; then
23690
24847
  echo $ECHO_N "(cached) $ECHO_C" >&6
23691
24848
else
23698
24855
cat >>conftest.$ac_ext <<_ACEOF
23699
24856
/* end confdefs.h.  */
23700
24857
 
23701
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24858
/* Override any GCC internal prototype to avoid an error.
 
24859
   Use char because int might match the return type of a GCC
 
24860
   builtin and then its argument prototype would still apply.  */
23702
24861
#ifdef __cplusplus
23703
24862
extern "C"
23704
24863
#endif
23705
 
/* We use char because int might match the return type of a gcc2
23706
 
   builtin and then its argument prototype would still apply.  */
23707
24864
char poll ();
23708
24865
int
23709
24866
main ()
23710
24867
{
23711
 
poll ();
 
24868
return poll ();
23712
24869
  ;
23713
24870
  return 0;
23714
24871
}
23715
24872
_ACEOF
23716
24873
rm -f conftest.$ac_objext conftest$ac_exeext
23717
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23718
 
  (eval $ac_link) 2>conftest.er1
 
24874
if { (ac_try="$ac_link"
 
24875
case "(($ac_try" in
 
24876
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24877
  *) ac_try_echo=$ac_try;;
 
24878
esac
 
24879
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24880
  (eval "$ac_link") 2>conftest.er1
23719
24881
  ac_status=$?
23720
24882
  grep -v '^ *+' conftest.er1 >conftest.err
23721
24883
  rm -f conftest.er1
23722
24884
  cat conftest.err >&5
23723
24885
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724
 
  (exit $ac_status); } &&
23725
 
         { ac_try='test -z "$ac_c_werror_flag"
23726
 
                         || test ! -s conftest.err'
23727
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23728
 
  (eval $ac_try) 2>&5
23729
 
  ac_status=$?
23730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731
 
  (exit $ac_status); }; } &&
23732
 
         { ac_try='test -s conftest$ac_exeext'
23733
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23734
 
  (eval $ac_try) 2>&5
23735
 
  ac_status=$?
23736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737
 
  (exit $ac_status); }; }; then
 
24886
  (exit $ac_status); } && {
 
24887
         test -z "$ac_c_werror_flag" ||
 
24888
         test ! -s conftest.err
 
24889
       } && test -s conftest$ac_exeext &&
 
24890
       $as_test_x conftest$ac_exeext; then
23738
24891
  ac_cv_lib_poll_poll=yes
23739
24892
else
23740
24893
  echo "$as_me: failed program was:" >&5
23741
24894
sed 's/^/| /' conftest.$ac_ext >&5
23742
24895
 
23743
 
ac_cv_lib_poll_poll=no
 
24896
        ac_cv_lib_poll_poll=no
23744
24897
fi
23745
 
rm -f conftest.err conftest.$ac_objext \
 
24898
 
 
24899
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23746
24900
      conftest$ac_exeext conftest.$ac_ext
23747
24901
LIBS=$ac_check_lib_save_LIBS
23748
24902
fi
23749
 
echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
23750
 
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
 
24903
{ echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
 
24904
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
23751
24905
if test $ac_cv_lib_poll_poll = yes; then
23752
24906
  LIB_POLL="-lpoll"
23753
24907
fi
23754
24908
 
23755
24909
 
 
24910
   # for some image handling on Mac OS X
 
24911
 
 
24912
for ac_header in Carbon/Carbon.h
 
24913
do
 
24914
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
24915
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24916
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24917
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24918
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24919
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24920
fi
 
24921
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24922
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24923
echo "${ECHO_T}$ac_res" >&6; }
 
24924
else
 
24925
  # Is the header compilable?
 
24926
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24927
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
24928
cat >conftest.$ac_ext <<_ACEOF
 
24929
/* confdefs.h.  */
 
24930
_ACEOF
 
24931
cat confdefs.h >>conftest.$ac_ext
 
24932
cat >>conftest.$ac_ext <<_ACEOF
 
24933
/* end confdefs.h.  */
 
24934
$ac_includes_default
 
24935
#include <$ac_header>
 
24936
_ACEOF
 
24937
rm -f conftest.$ac_objext
 
24938
if { (ac_try="$ac_compile"
 
24939
case "(($ac_try" in
 
24940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24941
  *) ac_try_echo=$ac_try;;
 
24942
esac
 
24943
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24944
  (eval "$ac_compile") 2>conftest.er1
 
24945
  ac_status=$?
 
24946
  grep -v '^ *+' conftest.er1 >conftest.err
 
24947
  rm -f conftest.er1
 
24948
  cat conftest.err >&5
 
24949
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24950
  (exit $ac_status); } && {
 
24951
         test -z "$ac_c_werror_flag" ||
 
24952
         test ! -s conftest.err
 
24953
       } && test -s conftest.$ac_objext; then
 
24954
  ac_header_compiler=yes
 
24955
else
 
24956
  echo "$as_me: failed program was:" >&5
 
24957
sed 's/^/| /' conftest.$ac_ext >&5
 
24958
 
 
24959
        ac_header_compiler=no
 
24960
fi
 
24961
 
 
24962
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24963
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24964
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
24965
 
 
24966
# Is the header present?
 
24967
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24968
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
24969
cat >conftest.$ac_ext <<_ACEOF
 
24970
/* confdefs.h.  */
 
24971
_ACEOF
 
24972
cat confdefs.h >>conftest.$ac_ext
 
24973
cat >>conftest.$ac_ext <<_ACEOF
 
24974
/* end confdefs.h.  */
 
24975
#include <$ac_header>
 
24976
_ACEOF
 
24977
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
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_cpp conftest.$ac_ext") 2>conftest.er1
 
24984
  ac_status=$?
 
24985
  grep -v '^ *+' conftest.er1 >conftest.err
 
24986
  rm -f conftest.er1
 
24987
  cat conftest.err >&5
 
24988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24989
  (exit $ac_status); } >/dev/null && {
 
24990
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24991
         test ! -s conftest.err
 
24992
       }; then
 
24993
  ac_header_preproc=yes
 
24994
else
 
24995
  echo "$as_me: failed program was:" >&5
 
24996
sed 's/^/| /' conftest.$ac_ext >&5
 
24997
 
 
24998
  ac_header_preproc=no
 
24999
fi
 
25000
 
 
25001
rm -f conftest.err conftest.$ac_ext
 
25002
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25003
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
25004
 
 
25005
# So?  What about this header?
 
25006
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
25007
  yes:no: )
 
25008
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
25009
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
25010
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
25011
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
25012
    ac_header_preproc=yes
 
25013
    ;;
 
25014
  no:yes:* )
 
25015
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
25016
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
25017
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
25018
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
25019
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
25020
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
25021
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
25022
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
25023
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
25024
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
25025
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
25026
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
25027
 
 
25028
    ;;
 
25029
esac
 
25030
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
25031
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
25032
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
25033
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25034
else
 
25035
  eval "$as_ac_Header=\$ac_header_preproc"
 
25036
fi
 
25037
ac_res=`eval echo '${'$as_ac_Header'}'`
 
25038
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
25039
echo "${ECHO_T}$ac_res" >&6; }
 
25040
 
 
25041
fi
 
25042
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
25043
  cat >>confdefs.h <<_ACEOF
 
25044
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
25045
_ACEOF
 
25046
 
 
25047
fi
 
25048
 
 
25049
done
 
25050
 
 
25051
 
23756
25052
   # CoreAudio framework
23757
25053
   if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
23758
 
  echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
23759
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
 
25054
  { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
 
25055
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
23760
25056
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
23761
25057
  echo $ECHO_N "(cached) $ECHO_C" >&6
23762
25058
fi
23763
 
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
23764
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
 
25059
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
 
25060
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
23765
25061
else
23766
25062
  # Is the header compilable?
23767
 
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
23768
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6
 
25063
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
 
25064
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
23769
25065
cat >conftest.$ac_ext <<_ACEOF
23770
25066
/* confdefs.h.  */
23771
25067
_ACEOF
23776
25072
#include <CoreAudio/CoreAudio.h>
23777
25073
_ACEOF
23778
25074
rm -f conftest.$ac_objext
23779
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23780
 
  (eval $ac_compile) 2>conftest.er1
 
25075
if { (ac_try="$ac_compile"
 
25076
case "(($ac_try" in
 
25077
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25078
  *) ac_try_echo=$ac_try;;
 
25079
esac
 
25080
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25081
  (eval "$ac_compile") 2>conftest.er1
23781
25082
  ac_status=$?
23782
25083
  grep -v '^ *+' conftest.er1 >conftest.err
23783
25084
  rm -f conftest.er1
23784
25085
  cat conftest.err >&5
23785
25086
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786
 
  (exit $ac_status); } &&
23787
 
         { ac_try='test -z "$ac_c_werror_flag"
23788
 
                         || test ! -s conftest.err'
23789
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23790
 
  (eval $ac_try) 2>&5
23791
 
  ac_status=$?
23792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793
 
  (exit $ac_status); }; } &&
23794
 
         { ac_try='test -s conftest.$ac_objext'
23795
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23796
 
  (eval $ac_try) 2>&5
23797
 
  ac_status=$?
23798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799
 
  (exit $ac_status); }; }; then
 
25087
  (exit $ac_status); } && {
 
25088
         test -z "$ac_c_werror_flag" ||
 
25089
         test ! -s conftest.err
 
25090
       } && test -s conftest.$ac_objext; then
23800
25091
  ac_header_compiler=yes
23801
25092
else
23802
25093
  echo "$as_me: failed program was:" >&5
23803
25094
sed 's/^/| /' conftest.$ac_ext >&5
23804
25095
 
23805
 
ac_header_compiler=no
 
25096
        ac_header_compiler=no
23806
25097
fi
23807
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23808
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23809
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
25098
 
 
25099
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25100
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25101
echo "${ECHO_T}$ac_header_compiler" >&6; }
23810
25102
 
23811
25103
# Is the header present?
23812
 
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
23813
 
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6
 
25104
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
 
25105
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
23814
25106
cat >conftest.$ac_ext <<_ACEOF
23815
25107
/* confdefs.h.  */
23816
25108
_ACEOF
23819
25111
/* end confdefs.h.  */
23820
25112
#include <CoreAudio/CoreAudio.h>
23821
25113
_ACEOF
23822
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23823
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
25114
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
25115
case "(($ac_try" in
 
25116
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25117
  *) ac_try_echo=$ac_try;;
 
25118
esac
 
25119
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25120
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23824
25121
  ac_status=$?
23825
25122
  grep -v '^ *+' conftest.er1 >conftest.err
23826
25123
  rm -f conftest.er1
23827
25124
  cat conftest.err >&5
23828
25125
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829
 
  (exit $ac_status); } >/dev/null; then
23830
 
  if test -s conftest.err; then
23831
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23832
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23833
 
  else
23834
 
    ac_cpp_err=
23835
 
  fi
23836
 
else
23837
 
  ac_cpp_err=yes
23838
 
fi
23839
 
if test -z "$ac_cpp_err"; then
 
25126
  (exit $ac_status); } >/dev/null && {
 
25127
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
25128
         test ! -s conftest.err
 
25129
       }; then
23840
25130
  ac_header_preproc=yes
23841
25131
else
23842
25132
  echo "$as_me: failed program was:" >&5
23844
25134
 
23845
25135
  ac_header_preproc=no
23846
25136
fi
 
25137
 
23847
25138
rm -f conftest.err conftest.$ac_ext
23848
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23849
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
25139
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25140
echo "${ECHO_T}$ac_header_preproc" >&6; }
23850
25141
 
23851
25142
# So?  What about this header?
23852
25143
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23870
25161
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
23871
25162
    { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
23872
25163
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
23873
 
    (
23874
 
      cat <<\_ASBOX
23875
 
## ------------------------------------------ ##
23876
 
## Report this to the AC_PACKAGE_NAME lists.  ##
23877
 
## ------------------------------------------ ##
23878
 
_ASBOX
23879
 
    ) |
23880
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
25164
 
23881
25165
    ;;
23882
25166
esac
23883
 
echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
23884
 
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
 
25167
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
 
25168
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
23885
25169
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
23886
25170
  echo $ECHO_N "(cached) $ECHO_C" >&6
23887
25171
else
23888
25172
  ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
23889
25173
fi
23890
 
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
23891
 
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
 
25174
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
 
25175
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
23892
25176
 
23893
25177
fi
23894
25178
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
23898
25182
#define HAVE_COREAUDIO 1
23899
25183
_ACEOF
23900
25184
 
23901
 
     FRAMEWORK_COREAUDIO="-Xlinker -framework -Xlinker CoreAudio"
 
25185
     FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
23902
25186
 
23903
25187
fi
23904
25188
 
23905
25189
 
23906
25190
 
23907
25191
 
23908
 
  echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
23909
 
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6
 
25192
  { echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
 
25193
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6; }
23910
25194
  kde_libs_safe="$LIBS"
23911
25195
  LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
23912
25196
  cat >conftest.$ac_ext <<_ACEOF
23932
25216
}
23933
25217
_ACEOF
23934
25218
rm -f conftest.$ac_objext conftest$ac_exeext
23935
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23936
 
  (eval $ac_link) 2>conftest.er1
 
25219
if { (ac_try="$ac_link"
 
25220
case "(($ac_try" in
 
25221
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25222
  *) ac_try_echo=$ac_try;;
 
25223
esac
 
25224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25225
  (eval "$ac_link") 2>conftest.er1
23937
25226
  ac_status=$?
23938
25227
  grep -v '^ *+' conftest.er1 >conftest.err
23939
25228
  rm -f conftest.er1
23940
25229
  cat conftest.err >&5
23941
25230
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942
 
  (exit $ac_status); } &&
23943
 
         { ac_try='test -z "$ac_c_werror_flag"
23944
 
                         || test ! -s conftest.err'
23945
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23946
 
  (eval $ac_try) 2>&5
23947
 
  ac_status=$?
23948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949
 
  (exit $ac_status); }; } &&
23950
 
         { ac_try='test -s conftest$ac_exeext'
23951
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23952
 
  (eval $ac_try) 2>&5
23953
 
  ac_status=$?
23954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955
 
  (exit $ac_status); }; }; then
 
25231
  (exit $ac_status); } && {
 
25232
         test -z "$ac_c_werror_flag" ||
 
25233
         test ! -s conftest.err
 
25234
       } && test -s conftest$ac_exeext &&
 
25235
       $as_test_x conftest$ac_exeext; then
23956
25236
 
23957
25237
      LIBRESOLV="-lresolv"
23958
 
      echo "$as_me:$LINENO: result: yes" >&5
23959
 
echo "${ECHO_T}yes" >&6
 
25238
      { echo "$as_me:$LINENO: result: yes" >&5
 
25239
echo "${ECHO_T}yes" >&6; }
23960
25240
 
23961
25241
cat >>confdefs.h <<\_ACEOF
23962
25242
#define HAVE_RES_INIT 1
23967
25247
  echo "$as_me: failed program was:" >&5
23968
25248
sed 's/^/| /' conftest.$ac_ext >&5
23969
25249
 
23970
 
 echo "$as_me:$LINENO: result: no" >&5
23971
 
echo "${ECHO_T}no" >&6
 
25250
         { echo "$as_me:$LINENO: result: no" >&5
 
25251
echo "${ECHO_T}no" >&6; }
23972
25252
 
23973
25253
fi
23974
 
rm -f conftest.err conftest.$ac_objext \
 
25254
 
 
25255
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23975
25256
      conftest$ac_exeext conftest.$ac_ext
23976
25257
  LIBS=$kde_libs_safe
23977
25258
 
23978
25259
 
23979
25260
 
23980
 
echo "$as_me:$LINENO: checking for res_init" >&5
23981
 
echo $ECHO_N "checking for res_init... $ECHO_C" >&6
 
25261
{ echo "$as_me:$LINENO: checking for res_init" >&5
 
25262
echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
23982
25263
if test "${kde_cv_func_res_init+set}" = set; then
23983
25264
  echo $ECHO_N "(cached) $ECHO_C" >&6
23984
25265
else
23985
25266
 
23986
25267
 
23987
 
 
23988
 
 ac_ext=cc
 
25268
 ac_ext=cpp
23989
25269
ac_cpp='$CXXCPP $CPPFLAGS'
23990
25270
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23991
25271
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24025
25305
}
24026
25306
_ACEOF
24027
25307
rm -f conftest.$ac_objext
24028
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24029
 
  (eval $ac_compile) 2>conftest.er1
 
25308
if { (ac_try="$ac_compile"
 
25309
case "(($ac_try" in
 
25310
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25311
  *) ac_try_echo=$ac_try;;
 
25312
esac
 
25313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25314
  (eval "$ac_compile") 2>conftest.er1
24030
25315
  ac_status=$?
24031
25316
  grep -v '^ *+' conftest.er1 >conftest.err
24032
25317
  rm -f conftest.er1
24033
25318
  cat conftest.err >&5
24034
25319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035
 
  (exit $ac_status); } &&
24036
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24037
 
                         || test ! -s conftest.err'
24038
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24039
 
  (eval $ac_try) 2>&5
24040
 
  ac_status=$?
24041
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042
 
  (exit $ac_status); }; } &&
24043
 
         { ac_try='test -s conftest.$ac_objext'
24044
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24045
 
  (eval $ac_try) 2>&5
24046
 
  ac_status=$?
24047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048
 
  (exit $ac_status); }; }; then
 
25320
  (exit $ac_status); } && {
 
25321
         test -z "$ac_cxx_werror_flag" ||
 
25322
         test ! -s conftest.err
 
25323
       } && test -s conftest.$ac_objext; then
24049
25324
  kde_cv_func_res_init=yes
24050
25325
else
24051
25326
  echo "$as_me: failed program was:" >&5
24052
25327
sed 's/^/| /' conftest.$ac_ext >&5
24053
25328
 
24054
 
kde_cv_func_res_init=no
 
25329
        kde_cv_func_res_init=no
24055
25330
fi
24056
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25331
 
 
25332
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24057
25333
CXXFLAGS="$save_CXXFLAGS"
24058
25334
LIBS="$kde_safe_LIBS"
24059
25335
ac_ext=c
24066
25342
fi
24067
25343
 
24068
25344
 
24069
 
echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
24070
 
echo "${ECHO_T}$kde_cv_func_res_init" >&6
 
25345
{ echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
 
25346
echo "${ECHO_T}$kde_cv_func_res_init" >&6; }
24071
25347
 
24072
 
echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
24073
 
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6
 
25348
{ echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
 
25349
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6; }
24074
25350
if test "${kde_cv_proto_res_init+set}" = set; then
24075
25351
  echo $ECHO_N "(cached) $ECHO_C" >&6
24076
25352
else
24091
25367
if test "x$kde_cv_proto_res_init" = xunknown; then
24092
25368
 
24093
25369
 
24094
 
 
24095
 
 ac_ext=cc
 
25370
 ac_ext=cpp
24096
25371
ac_cpp='$CXXCPP $CPPFLAGS'
24097
25372
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24098
25373
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24130
25405
}
24131
25406
_ACEOF
24132
25407
rm -f conftest.$ac_objext conftest$ac_exeext
24133
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24134
 
  (eval $ac_link) 2>conftest.er1
 
25408
if { (ac_try="$ac_link"
 
25409
case "(($ac_try" in
 
25410
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25411
  *) ac_try_echo=$ac_try;;
 
25412
esac
 
25413
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25414
  (eval "$ac_link") 2>conftest.er1
24135
25415
  ac_status=$?
24136
25416
  grep -v '^ *+' conftest.er1 >conftest.err
24137
25417
  rm -f conftest.er1
24138
25418
  cat conftest.err >&5
24139
25419
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140
 
  (exit $ac_status); } &&
24141
 
         { ac_try='test -z "$ac_cxx_werror_flag"
24142
 
                         || test ! -s conftest.err'
24143
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24144
 
  (eval $ac_try) 2>&5
24145
 
  ac_status=$?
24146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147
 
  (exit $ac_status); }; } &&
24148
 
         { ac_try='test -s conftest$ac_exeext'
24149
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24150
 
  (eval $ac_try) 2>&5
24151
 
  ac_status=$?
24152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153
 
  (exit $ac_status); }; }; then
 
25420
  (exit $ac_status); } && {
 
25421
         test -z "$ac_cxx_werror_flag" ||
 
25422
         test ! -s conftest.err
 
25423
       } && test -s conftest$ac_exeext &&
 
25424
       $as_test_x conftest$ac_exeext; then
24154
25425
   kde_cv_func_res_init=yes
24155
25426
  kde_cv_proto_res_init=yes
24156
25427
else
24157
25428
  echo "$as_me: failed program was:" >&5
24158
25429
sed 's/^/| /' conftest.$ac_ext >&5
24159
25430
 
24160
 
kde_cv_proto_res_init="res_init unavailable"
 
25431
        kde_cv_proto_res_init="res_init unavailable"
24161
25432
 
24162
25433
fi
24163
 
rm -f conftest.err conftest.$ac_objext \
 
25434
 
 
25435
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24164
25436
      conftest$ac_exeext conftest.$ac_ext
24165
25437
LIBS=$kde_safe_libs
24166
25438
ac_ext=c
24173
25445
 
24174
25446
fi
24175
25447
 
24176
 
echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
24177
 
echo "${ECHO_T}$kde_cv_proto_res_init" >&6
 
25448
{ echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
 
25449
echo "${ECHO_T}$kde_cv_proto_res_init" >&6; }
24178
25450
 
24179
25451
if test "x$kde_cv_func_res_init" = xyes; then
24180
25452
 
24201
25473
   LIBSOCKET="$X_EXTRA_LIBS"
24202
25474
 
24203
25475
 
24204
 
   echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
24205
 
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6
 
25476
   { echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
 
25477
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6; }
24206
25478
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
24207
25479
  echo $ECHO_N "(cached) $ECHO_C" >&6
24208
25480
else
24215
25487
cat >>conftest.$ac_ext <<_ACEOF
24216
25488
/* end confdefs.h.  */
24217
25489
 
24218
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25490
/* Override any GCC internal prototype to avoid an error.
 
25491
   Use char because int might match the return type of a GCC
 
25492
   builtin and then its argument prototype would still apply.  */
24219
25493
#ifdef __cplusplus
24220
25494
extern "C"
24221
25495
#endif
24222
 
/* We use char because int might match the return type of a gcc2
24223
 
   builtin and then its argument prototype would still apply.  */
24224
25496
char killpg ();
24225
25497
int
24226
25498
main ()
24227
25499
{
24228
 
killpg ();
 
25500
return killpg ();
24229
25501
  ;
24230
25502
  return 0;
24231
25503
}
24232
25504
_ACEOF
24233
25505
rm -f conftest.$ac_objext conftest$ac_exeext
24234
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24235
 
  (eval $ac_link) 2>conftest.er1
 
25506
if { (ac_try="$ac_link"
 
25507
case "(($ac_try" in
 
25508
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25509
  *) ac_try_echo=$ac_try;;
 
25510
esac
 
25511
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25512
  (eval "$ac_link") 2>conftest.er1
24236
25513
  ac_status=$?
24237
25514
  grep -v '^ *+' conftest.er1 >conftest.err
24238
25515
  rm -f conftest.er1
24239
25516
  cat conftest.err >&5
24240
25517
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241
 
  (exit $ac_status); } &&
24242
 
         { ac_try='test -z "$ac_c_werror_flag"
24243
 
                         || test ! -s conftest.err'
24244
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245
 
  (eval $ac_try) 2>&5
24246
 
  ac_status=$?
24247
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248
 
  (exit $ac_status); }; } &&
24249
 
         { ac_try='test -s conftest$ac_exeext'
24250
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24251
 
  (eval $ac_try) 2>&5
24252
 
  ac_status=$?
24253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254
 
  (exit $ac_status); }; }; then
 
25518
  (exit $ac_status); } && {
 
25519
         test -z "$ac_c_werror_flag" ||
 
25520
         test ! -s conftest.err
 
25521
       } && test -s conftest$ac_exeext &&
 
25522
       $as_test_x conftest$ac_exeext; then
24255
25523
  ac_cv_lib_ucb_killpg=yes
24256
25524
else
24257
25525
  echo "$as_me: failed program was:" >&5
24258
25526
sed 's/^/| /' conftest.$ac_ext >&5
24259
25527
 
24260
 
ac_cv_lib_ucb_killpg=no
 
25528
        ac_cv_lib_ucb_killpg=no
24261
25529
fi
24262
 
rm -f conftest.err conftest.$ac_objext \
 
25530
 
 
25531
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24263
25532
      conftest$ac_exeext conftest.$ac_ext
24264
25533
LIBS=$ac_check_lib_save_LIBS
24265
25534
fi
24266
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
24267
 
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6
 
25535
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
 
25536
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6; }
24268
25537
if test $ac_cv_lib_ucb_killpg = yes; then
24269
25538
  LIBUCB="-lucb"
24270
25539
fi
24271
25540
 
24272
25541
 
24273
25542
   case $host in     *-*-lynxos* )
24274
 
        echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
24275
 
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6
 
25543
        { echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
 
25544
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6; }
24276
25545
        CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
24277
 
        echo "$as_me:$LINENO: result: disabled" >&5
24278
 
echo "${ECHO_T}disabled" >&6
24279
 
        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24280
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
 
25546
        { echo "$as_me:$LINENO: result: disabled" >&5
 
25547
echo "${ECHO_T}disabled" >&6; }
 
25548
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
25549
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
24281
25550
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24282
25551
  echo $ECHO_N "(cached) $ECHO_C" >&6
24283
25552
else
24290
25559
cat >>conftest.$ac_ext <<_ACEOF
24291
25560
/* end confdefs.h.  */
24292
25561
 
24293
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25562
/* Override any GCC internal prototype to avoid an error.
 
25563
   Use char because int might match the return type of a GCC
 
25564
   builtin and then its argument prototype would still apply.  */
24294
25565
#ifdef __cplusplus
24295
25566
extern "C"
24296
25567
#endif
24297
 
/* We use char because int might match the return type of a gcc2
24298
 
   builtin and then its argument prototype would still apply.  */
24299
25568
char gethostbyname ();
24300
25569
int
24301
25570
main ()
24302
25571
{
24303
 
gethostbyname ();
 
25572
return gethostbyname ();
24304
25573
  ;
24305
25574
  return 0;
24306
25575
}
24307
25576
_ACEOF
24308
25577
rm -f conftest.$ac_objext conftest$ac_exeext
24309
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24310
 
  (eval $ac_link) 2>conftest.er1
 
25578
if { (ac_try="$ac_link"
 
25579
case "(($ac_try" in
 
25580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25581
  *) ac_try_echo=$ac_try;;
 
25582
esac
 
25583
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25584
  (eval "$ac_link") 2>conftest.er1
24311
25585
  ac_status=$?
24312
25586
  grep -v '^ *+' conftest.er1 >conftest.err
24313
25587
  rm -f conftest.er1
24314
25588
  cat conftest.err >&5
24315
25589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316
 
  (exit $ac_status); } &&
24317
 
         { ac_try='test -z "$ac_c_werror_flag"
24318
 
                         || test ! -s conftest.err'
24319
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24320
 
  (eval $ac_try) 2>&5
24321
 
  ac_status=$?
24322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323
 
  (exit $ac_status); }; } &&
24324
 
         { ac_try='test -s conftest$ac_exeext'
24325
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24326
 
  (eval $ac_try) 2>&5
24327
 
  ac_status=$?
24328
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329
 
  (exit $ac_status); }; }; then
 
25590
  (exit $ac_status); } && {
 
25591
         test -z "$ac_c_werror_flag" ||
 
25592
         test ! -s conftest.err
 
25593
       } && test -s conftest$ac_exeext &&
 
25594
       $as_test_x conftest$ac_exeext; then
24330
25595
  ac_cv_lib_bsd_gethostbyname=yes
24331
25596
else
24332
25597
  echo "$as_me: failed program was:" >&5
24333
25598
sed 's/^/| /' conftest.$ac_ext >&5
24334
25599
 
24335
 
ac_cv_lib_bsd_gethostbyname=no
 
25600
        ac_cv_lib_bsd_gethostbyname=no
24336
25601
fi
24337
 
rm -f conftest.err conftest.$ac_objext \
 
25602
 
 
25603
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24338
25604
      conftest$ac_exeext conftest.$ac_ext
24339
25605
LIBS=$ac_check_lib_save_LIBS
24340
25606
fi
24341
 
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24342
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
 
25607
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
25608
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
24343
25609
if test $ac_cv_lib_bsd_gethostbyname = yes; then
24344
25610
  LIBSOCKET="-lbsd"
24345
25611
fi
24346
25612
          ;;
24347
25613
    esac
24348
25614
 
24349
 
     echo "$as_me:$LINENO: checking for int" >&5
24350
 
echo $ECHO_N "checking for int... $ECHO_C" >&6
 
25615
     { echo "$as_me:$LINENO: checking for int" >&5
 
25616
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
24351
25617
if test "${ac_cv_type_int+set}" = set; then
24352
25618
  echo $ECHO_N "(cached) $ECHO_C" >&6
24353
25619
else
24358
25624
cat >>conftest.$ac_ext <<_ACEOF
24359
25625
/* end confdefs.h.  */
24360
25626
$ac_includes_default
 
25627
typedef int ac__type_new_;
24361
25628
int
24362
25629
main ()
24363
25630
{
24364
 
if ((int *) 0)
 
25631
if ((ac__type_new_ *) 0)
24365
25632
  return 0;
24366
 
if (sizeof (int))
 
25633
if (sizeof (ac__type_new_))
24367
25634
  return 0;
24368
25635
  ;
24369
25636
  return 0;
24370
25637
}
24371
25638
_ACEOF
24372
25639
rm -f conftest.$ac_objext
24373
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24374
 
  (eval $ac_compile) 2>conftest.er1
 
25640
if { (ac_try="$ac_compile"
 
25641
case "(($ac_try" in
 
25642
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25643
  *) ac_try_echo=$ac_try;;
 
25644
esac
 
25645
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25646
  (eval "$ac_compile") 2>conftest.er1
24375
25647
  ac_status=$?
24376
25648
  grep -v '^ *+' conftest.er1 >conftest.err
24377
25649
  rm -f conftest.er1
24378
25650
  cat conftest.err >&5
24379
25651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380
 
  (exit $ac_status); } &&
24381
 
         { ac_try='test -z "$ac_c_werror_flag"
24382
 
                         || test ! -s conftest.err'
24383
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24384
 
  (eval $ac_try) 2>&5
24385
 
  ac_status=$?
24386
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387
 
  (exit $ac_status); }; } &&
24388
 
         { ac_try='test -s conftest.$ac_objext'
24389
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24390
 
  (eval $ac_try) 2>&5
24391
 
  ac_status=$?
24392
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393
 
  (exit $ac_status); }; }; then
 
25652
  (exit $ac_status); } && {
 
25653
         test -z "$ac_c_werror_flag" ||
 
25654
         test ! -s conftest.err
 
25655
       } && test -s conftest.$ac_objext; then
24394
25656
  ac_cv_type_int=yes
24395
25657
else
24396
25658
  echo "$as_me: failed program was:" >&5
24397
25659
sed 's/^/| /' conftest.$ac_ext >&5
24398
25660
 
24399
 
ac_cv_type_int=no
24400
 
fi
24401
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24402
 
fi
24403
 
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
24404
 
echo "${ECHO_T}$ac_cv_type_int" >&6
24405
 
 
24406
 
echo "$as_me:$LINENO: checking size of int" >&5
24407
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6
 
25661
        ac_cv_type_int=no
 
25662
fi
 
25663
 
 
25664
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25665
fi
 
25666
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
 
25667
echo "${ECHO_T}$ac_cv_type_int" >&6; }
 
25668
 
 
25669
# The cast to long int works around a bug in the HP C Compiler
 
25670
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
25671
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
25672
# This bug is HP SR number 8606223364.
 
25673
{ echo "$as_me:$LINENO: checking size of int" >&5
 
25674
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
24408
25675
if test "${ac_cv_sizeof_int+set}" = set; then
24409
25676
  echo $ECHO_N "(cached) $ECHO_C" >&6
24410
25677
else
24411
 
  if test "$ac_cv_type_int" = yes; then
24412
 
  # The cast to unsigned long works around a bug in the HP C Compiler
24413
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24414
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24415
 
  # This bug is HP SR number 8606223364.
24416
25678
  if test "$cross_compiling" = yes; then
24417
25679
  # Depending upon the size, compute the lo and hi bounds.
24418
25680
cat >conftest.$ac_ext <<_ACEOF
24422
25684
cat >>conftest.$ac_ext <<_ACEOF
24423
25685
/* end confdefs.h.  */
24424
25686
$ac_includes_default
 
25687
   typedef int ac__type_sizeof_;
24425
25688
int
24426
25689
main ()
24427
25690
{
24428
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
 
25691
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24429
25692
test_array [0] = 0
24430
25693
 
24431
25694
  ;
24433
25696
}
24434
25697
_ACEOF
24435
25698
rm -f conftest.$ac_objext
24436
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24437
 
  (eval $ac_compile) 2>conftest.er1
 
25699
if { (ac_try="$ac_compile"
 
25700
case "(($ac_try" in
 
25701
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25702
  *) ac_try_echo=$ac_try;;
 
25703
esac
 
25704
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25705
  (eval "$ac_compile") 2>conftest.er1
24438
25706
  ac_status=$?
24439
25707
  grep -v '^ *+' conftest.er1 >conftest.err
24440
25708
  rm -f conftest.er1
24441
25709
  cat conftest.err >&5
24442
25710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443
 
  (exit $ac_status); } &&
24444
 
         { ac_try='test -z "$ac_c_werror_flag"
24445
 
                         || test ! -s conftest.err'
24446
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24447
 
  (eval $ac_try) 2>&5
24448
 
  ac_status=$?
24449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450
 
  (exit $ac_status); }; } &&
24451
 
         { ac_try='test -s conftest.$ac_objext'
24452
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453
 
  (eval $ac_try) 2>&5
24454
 
  ac_status=$?
24455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456
 
  (exit $ac_status); }; }; then
 
25711
  (exit $ac_status); } && {
 
25712
         test -z "$ac_c_werror_flag" ||
 
25713
         test ! -s conftest.err
 
25714
       } && test -s conftest.$ac_objext; then
24457
25715
  ac_lo=0 ac_mid=0
24458
25716
  while :; do
24459
25717
    cat >conftest.$ac_ext <<_ACEOF
24463
25721
cat >>conftest.$ac_ext <<_ACEOF
24464
25722
/* end confdefs.h.  */
24465
25723
$ac_includes_default
 
25724
   typedef int ac__type_sizeof_;
24466
25725
int
24467
25726
main ()
24468
25727
{
24469
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
25728
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24470
25729
test_array [0] = 0
24471
25730
 
24472
25731
  ;
24474
25733
}
24475
25734
_ACEOF
24476
25735
rm -f conftest.$ac_objext
24477
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24478
 
  (eval $ac_compile) 2>conftest.er1
 
25736
if { (ac_try="$ac_compile"
 
25737
case "(($ac_try" in
 
25738
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25739
  *) ac_try_echo=$ac_try;;
 
25740
esac
 
25741
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25742
  (eval "$ac_compile") 2>conftest.er1
24479
25743
  ac_status=$?
24480
25744
  grep -v '^ *+' conftest.er1 >conftest.err
24481
25745
  rm -f conftest.er1
24482
25746
  cat conftest.err >&5
24483
25747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484
 
  (exit $ac_status); } &&
24485
 
         { ac_try='test -z "$ac_c_werror_flag"
24486
 
                         || test ! -s conftest.err'
24487
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24488
 
  (eval $ac_try) 2>&5
24489
 
  ac_status=$?
24490
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491
 
  (exit $ac_status); }; } &&
24492
 
         { ac_try='test -s conftest.$ac_objext'
24493
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24494
 
  (eval $ac_try) 2>&5
24495
 
  ac_status=$?
24496
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497
 
  (exit $ac_status); }; }; then
 
25748
  (exit $ac_status); } && {
 
25749
         test -z "$ac_c_werror_flag" ||
 
25750
         test ! -s conftest.err
 
25751
       } && test -s conftest.$ac_objext; then
24498
25752
  ac_hi=$ac_mid; break
24499
25753
else
24500
25754
  echo "$as_me: failed program was:" >&5
24501
25755
sed 's/^/| /' conftest.$ac_ext >&5
24502
25756
 
24503
 
ac_lo=`expr $ac_mid + 1`
24504
 
                    if test $ac_lo -le $ac_mid; then
24505
 
                      ac_lo= ac_hi=
24506
 
                      break
24507
 
                    fi
24508
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
25757
        ac_lo=`expr $ac_mid + 1`
 
25758
                        if test $ac_lo -le $ac_mid; then
 
25759
                          ac_lo= ac_hi=
 
25760
                          break
 
25761
                        fi
 
25762
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24509
25763
fi
24510
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25764
 
 
25765
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24511
25766
  done
24512
25767
else
24513
25768
  echo "$as_me: failed program was:" >&5
24514
25769
sed 's/^/| /' conftest.$ac_ext >&5
24515
25770
 
24516
 
cat >conftest.$ac_ext <<_ACEOF
 
25771
        cat >conftest.$ac_ext <<_ACEOF
24517
25772
/* confdefs.h.  */
24518
25773
_ACEOF
24519
25774
cat confdefs.h >>conftest.$ac_ext
24520
25775
cat >>conftest.$ac_ext <<_ACEOF
24521
25776
/* end confdefs.h.  */
24522
25777
$ac_includes_default
 
25778
   typedef int ac__type_sizeof_;
24523
25779
int
24524
25780
main ()
24525
25781
{
24526
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
 
25782
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24527
25783
test_array [0] = 0
24528
25784
 
24529
25785
  ;
24531
25787
}
24532
25788
_ACEOF
24533
25789
rm -f conftest.$ac_objext
24534
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24535
 
  (eval $ac_compile) 2>conftest.er1
 
25790
if { (ac_try="$ac_compile"
 
25791
case "(($ac_try" in
 
25792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25793
  *) ac_try_echo=$ac_try;;
 
25794
esac
 
25795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25796
  (eval "$ac_compile") 2>conftest.er1
24536
25797
  ac_status=$?
24537
25798
  grep -v '^ *+' conftest.er1 >conftest.err
24538
25799
  rm -f conftest.er1
24539
25800
  cat conftest.err >&5
24540
25801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541
 
  (exit $ac_status); } &&
24542
 
         { ac_try='test -z "$ac_c_werror_flag"
24543
 
                         || test ! -s conftest.err'
24544
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24545
 
  (eval $ac_try) 2>&5
24546
 
  ac_status=$?
24547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548
 
  (exit $ac_status); }; } &&
24549
 
         { ac_try='test -s conftest.$ac_objext'
24550
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24551
 
  (eval $ac_try) 2>&5
24552
 
  ac_status=$?
24553
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24554
 
  (exit $ac_status); }; }; then
 
25802
  (exit $ac_status); } && {
 
25803
         test -z "$ac_c_werror_flag" ||
 
25804
         test ! -s conftest.err
 
25805
       } && test -s conftest.$ac_objext; then
24555
25806
  ac_hi=-1 ac_mid=-1
24556
25807
  while :; do
24557
25808
    cat >conftest.$ac_ext <<_ACEOF
24561
25812
cat >>conftest.$ac_ext <<_ACEOF
24562
25813
/* end confdefs.h.  */
24563
25814
$ac_includes_default
 
25815
   typedef int ac__type_sizeof_;
24564
25816
int
24565
25817
main ()
24566
25818
{
24567
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
 
25819
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24568
25820
test_array [0] = 0
24569
25821
 
24570
25822
  ;
24572
25824
}
24573
25825
_ACEOF
24574
25826
rm -f conftest.$ac_objext
24575
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24576
 
  (eval $ac_compile) 2>conftest.er1
 
25827
if { (ac_try="$ac_compile"
 
25828
case "(($ac_try" in
 
25829
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25830
  *) ac_try_echo=$ac_try;;
 
25831
esac
 
25832
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25833
  (eval "$ac_compile") 2>conftest.er1
24577
25834
  ac_status=$?
24578
25835
  grep -v '^ *+' conftest.er1 >conftest.err
24579
25836
  rm -f conftest.er1
24580
25837
  cat conftest.err >&5
24581
25838
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582
 
  (exit $ac_status); } &&
24583
 
         { ac_try='test -z "$ac_c_werror_flag"
24584
 
                         || test ! -s conftest.err'
24585
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24586
 
  (eval $ac_try) 2>&5
24587
 
  ac_status=$?
24588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589
 
  (exit $ac_status); }; } &&
24590
 
         { ac_try='test -s conftest.$ac_objext'
24591
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24592
 
  (eval $ac_try) 2>&5
24593
 
  ac_status=$?
24594
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595
 
  (exit $ac_status); }; }; then
 
25839
  (exit $ac_status); } && {
 
25840
         test -z "$ac_c_werror_flag" ||
 
25841
         test ! -s conftest.err
 
25842
       } && test -s conftest.$ac_objext; then
24596
25843
  ac_lo=$ac_mid; break
24597
25844
else
24598
25845
  echo "$as_me: failed program was:" >&5
24599
25846
sed 's/^/| /' conftest.$ac_ext >&5
24600
25847
 
24601
 
ac_hi=`expr '(' $ac_mid ')' - 1`
24602
 
                       if test $ac_mid -le $ac_hi; then
24603
 
                         ac_lo= ac_hi=
24604
 
                         break
24605
 
                       fi
24606
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
25848
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
25849
                        if test $ac_mid -le $ac_hi; then
 
25850
                          ac_lo= ac_hi=
 
25851
                          break
 
25852
                        fi
 
25853
                        ac_mid=`expr 2 '*' $ac_mid`
24607
25854
fi
24608
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25855
 
 
25856
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24609
25857
  done
24610
25858
else
24611
25859
  echo "$as_me: failed program was:" >&5
24612
25860
sed 's/^/| /' conftest.$ac_ext >&5
24613
25861
 
24614
 
ac_lo= ac_hi=
24615
 
fi
24616
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24617
 
fi
24618
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25862
        ac_lo= ac_hi=
 
25863
fi
 
25864
 
 
25865
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25866
fi
 
25867
 
 
25868
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24619
25869
# Binary search between lo and hi bounds.
24620
25870
while test "x$ac_lo" != "x$ac_hi"; do
24621
25871
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24626
25876
cat >>conftest.$ac_ext <<_ACEOF
24627
25877
/* end confdefs.h.  */
24628
25878
$ac_includes_default
 
25879
   typedef int ac__type_sizeof_;
24629
25880
int
24630
25881
main ()
24631
25882
{
24632
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
25883
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24633
25884
test_array [0] = 0
24634
25885
 
24635
25886
  ;
24637
25888
}
24638
25889
_ACEOF
24639
25890
rm -f conftest.$ac_objext
24640
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24641
 
  (eval $ac_compile) 2>conftest.er1
 
25891
if { (ac_try="$ac_compile"
 
25892
case "(($ac_try" in
 
25893
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25894
  *) ac_try_echo=$ac_try;;
 
25895
esac
 
25896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25897
  (eval "$ac_compile") 2>conftest.er1
24642
25898
  ac_status=$?
24643
25899
  grep -v '^ *+' conftest.er1 >conftest.err
24644
25900
  rm -f conftest.er1
24645
25901
  cat conftest.err >&5
24646
25902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647
 
  (exit $ac_status); } &&
24648
 
         { ac_try='test -z "$ac_c_werror_flag"
24649
 
                         || test ! -s conftest.err'
24650
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24651
 
  (eval $ac_try) 2>&5
24652
 
  ac_status=$?
24653
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654
 
  (exit $ac_status); }; } &&
24655
 
         { ac_try='test -s conftest.$ac_objext'
24656
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24657
 
  (eval $ac_try) 2>&5
24658
 
  ac_status=$?
24659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24660
 
  (exit $ac_status); }; }; then
 
25903
  (exit $ac_status); } && {
 
25904
         test -z "$ac_c_werror_flag" ||
 
25905
         test ! -s conftest.err
 
25906
       } && test -s conftest.$ac_objext; then
24661
25907
  ac_hi=$ac_mid
24662
25908
else
24663
25909
  echo "$as_me: failed program was:" >&5
24664
25910
sed 's/^/| /' conftest.$ac_ext >&5
24665
25911
 
24666
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
25912
        ac_lo=`expr '(' $ac_mid ')' + 1`
24667
25913
fi
24668
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25914
 
 
25915
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24669
25916
done
24670
25917
case $ac_lo in
24671
25918
?*) ac_cv_sizeof_int=$ac_lo;;
24672
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
25919
'') if test "$ac_cv_type_int" = yes; then
 
25920
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
24673
25921
See \`config.log' for more details." >&5
24674
 
echo "$as_me: error: cannot compute sizeof (int), 77
 
25922
echo "$as_me: error: cannot compute sizeof (int)
24675
25923
See \`config.log' for more details." >&2;}
24676
 
   { (exit 1); exit 1; }; } ;;
 
25924
   { (exit 77); exit 77; }; }
 
25925
   else
 
25926
     ac_cv_sizeof_int=0
 
25927
   fi ;;
24677
25928
esac
24678
25929
else
24679
 
  if test "$cross_compiling" = yes; then
24680
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24681
 
See \`config.log' for more details." >&5
24682
 
echo "$as_me: error: cannot run test program while cross compiling
24683
 
See \`config.log' for more details." >&2;}
24684
 
   { (exit 1); exit 1; }; }
24685
 
else
24686
25930
  cat >conftest.$ac_ext <<_ACEOF
24687
25931
/* confdefs.h.  */
24688
25932
_ACEOF
24690
25934
cat >>conftest.$ac_ext <<_ACEOF
24691
25935
/* end confdefs.h.  */
24692
25936
$ac_includes_default
24693
 
long longval () { return (long) (sizeof (int)); }
24694
 
unsigned long ulongval () { return (long) (sizeof (int)); }
 
25937
   typedef int ac__type_sizeof_;
 
25938
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
25939
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24695
25940
#include <stdio.h>
24696
25941
#include <stdlib.h>
24697
25942
int
24700
25945
 
24701
25946
  FILE *f = fopen ("conftest.val", "w");
24702
25947
  if (! f)
24703
 
    exit (1);
24704
 
  if (((long) (sizeof (int))) < 0)
 
25948
    return 1;
 
25949
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24705
25950
    {
24706
 
      long i = longval ();
24707
 
      if (i != ((long) (sizeof (int))))
24708
 
        exit (1);
 
25951
      long int i = longval ();
 
25952
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25953
        return 1;
24709
25954
      fprintf (f, "%ld\n", i);
24710
25955
    }
24711
25956
  else
24712
25957
    {
24713
 
      unsigned long i = ulongval ();
24714
 
      if (i != ((long) (sizeof (int))))
24715
 
        exit (1);
 
25958
      unsigned long int i = ulongval ();
 
25959
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25960
        return 1;
24716
25961
      fprintf (f, "%lu\n", i);
24717
25962
    }
24718
 
  exit (ferror (f) || fclose (f) != 0);
 
25963
  return ferror (f) || fclose (f) != 0;
24719
25964
 
24720
25965
  ;
24721
25966
  return 0;
24722
25967
}
24723
25968
_ACEOF
24724
25969
rm -f conftest$ac_exeext
24725
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24726
 
  (eval $ac_link) 2>&5
 
25970
if { (ac_try="$ac_link"
 
25971
case "(($ac_try" in
 
25972
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25973
  *) ac_try_echo=$ac_try;;
 
25974
esac
 
25975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25976
  (eval "$ac_link") 2>&5
24727
25977
  ac_status=$?
24728
25978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729
25979
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24730
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24731
 
  (eval $ac_try) 2>&5
 
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_try") 2>&5
24732
25986
  ac_status=$?
24733
25987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734
25988
  (exit $ac_status); }; }; then
24739
25993
sed 's/^/| /' conftest.$ac_ext >&5
24740
25994
 
24741
25995
( exit $ac_status )
24742
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
25996
if test "$ac_cv_type_int" = yes; then
 
25997
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
24743
25998
See \`config.log' for more details." >&5
24744
 
echo "$as_me: error: cannot compute sizeof (int), 77
 
25999
echo "$as_me: error: cannot compute sizeof (int)
24745
26000
See \`config.log' for more details." >&2;}
24746
 
   { (exit 1); exit 1; }; }
24747
 
fi
24748
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24749
 
fi
 
26001
   { (exit 77); exit 77; }; }
 
26002
   else
 
26003
     ac_cv_sizeof_int=0
 
26004
   fi
 
26005
fi
 
26006
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24750
26007
fi
24751
26008
rm -f conftest.val
24752
 
else
24753
 
  ac_cv_sizeof_int=0
24754
 
fi
24755
 
fi
24756
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
24757
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
 
26009
fi
 
26010
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
 
26011
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
 
26012
 
 
26013
 
 
26014
 
24758
26015
cat >>confdefs.h <<_ACEOF
24759
26016
#define SIZEOF_INT $ac_cv_sizeof_int
24760
26017
_ACEOF
24761
26018
 
24762
 
   echo "$as_me:$LINENO: checking for short" >&5
24763
 
echo $ECHO_N "checking for short... $ECHO_C" >&6
 
26019
   { echo "$as_me:$LINENO: checking for short" >&5
 
26020
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
24764
26021
if test "${ac_cv_type_short+set}" = set; then
24765
26022
  echo $ECHO_N "(cached) $ECHO_C" >&6
24766
26023
else
24771
26028
cat >>conftest.$ac_ext <<_ACEOF
24772
26029
/* end confdefs.h.  */
24773
26030
$ac_includes_default
 
26031
typedef short ac__type_new_;
24774
26032
int
24775
26033
main ()
24776
26034
{
24777
 
if ((short *) 0)
 
26035
if ((ac__type_new_ *) 0)
24778
26036
  return 0;
24779
 
if (sizeof (short))
 
26037
if (sizeof (ac__type_new_))
24780
26038
  return 0;
24781
26039
  ;
24782
26040
  return 0;
24783
26041
}
24784
26042
_ACEOF
24785
26043
rm -f conftest.$ac_objext
24786
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24787
 
  (eval $ac_compile) 2>conftest.er1
 
26044
if { (ac_try="$ac_compile"
 
26045
case "(($ac_try" in
 
26046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26047
  *) ac_try_echo=$ac_try;;
 
26048
esac
 
26049
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26050
  (eval "$ac_compile") 2>conftest.er1
24788
26051
  ac_status=$?
24789
26052
  grep -v '^ *+' conftest.er1 >conftest.err
24790
26053
  rm -f conftest.er1
24791
26054
  cat conftest.err >&5
24792
26055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793
 
  (exit $ac_status); } &&
24794
 
         { ac_try='test -z "$ac_c_werror_flag"
24795
 
                         || test ! -s conftest.err'
24796
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797
 
  (eval $ac_try) 2>&5
24798
 
  ac_status=$?
24799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800
 
  (exit $ac_status); }; } &&
24801
 
         { ac_try='test -s conftest.$ac_objext'
24802
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803
 
  (eval $ac_try) 2>&5
24804
 
  ac_status=$?
24805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806
 
  (exit $ac_status); }; }; then
 
26056
  (exit $ac_status); } && {
 
26057
         test -z "$ac_c_werror_flag" ||
 
26058
         test ! -s conftest.err
 
26059
       } && test -s conftest.$ac_objext; then
24807
26060
  ac_cv_type_short=yes
24808
26061
else
24809
26062
  echo "$as_me: failed program was:" >&5
24810
26063
sed 's/^/| /' conftest.$ac_ext >&5
24811
26064
 
24812
 
ac_cv_type_short=no
24813
 
fi
24814
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24815
 
fi
24816
 
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
24817
 
echo "${ECHO_T}$ac_cv_type_short" >&6
24818
 
 
24819
 
echo "$as_me:$LINENO: checking size of short" >&5
24820
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6
 
26065
        ac_cv_type_short=no
 
26066
fi
 
26067
 
 
26068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26069
fi
 
26070
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
 
26071
echo "${ECHO_T}$ac_cv_type_short" >&6; }
 
26072
 
 
26073
# The cast to long int works around a bug in the HP C Compiler
 
26074
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
26075
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
26076
# This bug is HP SR number 8606223364.
 
26077
{ echo "$as_me:$LINENO: checking size of short" >&5
 
26078
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
24821
26079
if test "${ac_cv_sizeof_short+set}" = set; then
24822
26080
  echo $ECHO_N "(cached) $ECHO_C" >&6
24823
26081
else
24824
 
  if test "$ac_cv_type_short" = yes; then
24825
 
  # The cast to unsigned long works around a bug in the HP C Compiler
24826
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24827
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24828
 
  # This bug is HP SR number 8606223364.
24829
26082
  if test "$cross_compiling" = yes; then
24830
26083
  # Depending upon the size, compute the lo and hi bounds.
24831
26084
cat >conftest.$ac_ext <<_ACEOF
24835
26088
cat >>conftest.$ac_ext <<_ACEOF
24836
26089
/* end confdefs.h.  */
24837
26090
$ac_includes_default
 
26091
   typedef short ac__type_sizeof_;
24838
26092
int
24839
26093
main ()
24840
26094
{
24841
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
 
26095
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24842
26096
test_array [0] = 0
24843
26097
 
24844
26098
  ;
24846
26100
}
24847
26101
_ACEOF
24848
26102
rm -f conftest.$ac_objext
24849
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24850
 
  (eval $ac_compile) 2>conftest.er1
 
26103
if { (ac_try="$ac_compile"
 
26104
case "(($ac_try" in
 
26105
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26106
  *) ac_try_echo=$ac_try;;
 
26107
esac
 
26108
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26109
  (eval "$ac_compile") 2>conftest.er1
24851
26110
  ac_status=$?
24852
26111
  grep -v '^ *+' conftest.er1 >conftest.err
24853
26112
  rm -f conftest.er1
24854
26113
  cat conftest.err >&5
24855
26114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856
 
  (exit $ac_status); } &&
24857
 
         { ac_try='test -z "$ac_c_werror_flag"
24858
 
                         || test ! -s conftest.err'
24859
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24860
 
  (eval $ac_try) 2>&5
24861
 
  ac_status=$?
24862
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863
 
  (exit $ac_status); }; } &&
24864
 
         { ac_try='test -s conftest.$ac_objext'
24865
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24866
 
  (eval $ac_try) 2>&5
24867
 
  ac_status=$?
24868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869
 
  (exit $ac_status); }; }; then
 
26115
  (exit $ac_status); } && {
 
26116
         test -z "$ac_c_werror_flag" ||
 
26117
         test ! -s conftest.err
 
26118
       } && test -s conftest.$ac_objext; then
24870
26119
  ac_lo=0 ac_mid=0
24871
26120
  while :; do
24872
26121
    cat >conftest.$ac_ext <<_ACEOF
24876
26125
cat >>conftest.$ac_ext <<_ACEOF
24877
26126
/* end confdefs.h.  */
24878
26127
$ac_includes_default
 
26128
   typedef short ac__type_sizeof_;
24879
26129
int
24880
26130
main ()
24881
26131
{
24882
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
26132
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24883
26133
test_array [0] = 0
24884
26134
 
24885
26135
  ;
24887
26137
}
24888
26138
_ACEOF
24889
26139
rm -f conftest.$ac_objext
24890
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24891
 
  (eval $ac_compile) 2>conftest.er1
 
26140
if { (ac_try="$ac_compile"
 
26141
case "(($ac_try" in
 
26142
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26143
  *) ac_try_echo=$ac_try;;
 
26144
esac
 
26145
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26146
  (eval "$ac_compile") 2>conftest.er1
24892
26147
  ac_status=$?
24893
26148
  grep -v '^ *+' conftest.er1 >conftest.err
24894
26149
  rm -f conftest.er1
24895
26150
  cat conftest.err >&5
24896
26151
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897
 
  (exit $ac_status); } &&
24898
 
         { ac_try='test -z "$ac_c_werror_flag"
24899
 
                         || test ! -s conftest.err'
24900
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24901
 
  (eval $ac_try) 2>&5
24902
 
  ac_status=$?
24903
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24904
 
  (exit $ac_status); }; } &&
24905
 
         { ac_try='test -s conftest.$ac_objext'
24906
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24907
 
  (eval $ac_try) 2>&5
24908
 
  ac_status=$?
24909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24910
 
  (exit $ac_status); }; }; then
 
26152
  (exit $ac_status); } && {
 
26153
         test -z "$ac_c_werror_flag" ||
 
26154
         test ! -s conftest.err
 
26155
       } && test -s conftest.$ac_objext; then
24911
26156
  ac_hi=$ac_mid; break
24912
26157
else
24913
26158
  echo "$as_me: failed program was:" >&5
24914
26159
sed 's/^/| /' conftest.$ac_ext >&5
24915
26160
 
24916
 
ac_lo=`expr $ac_mid + 1`
24917
 
                    if test $ac_lo -le $ac_mid; then
24918
 
                      ac_lo= ac_hi=
24919
 
                      break
24920
 
                    fi
24921
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
26161
        ac_lo=`expr $ac_mid + 1`
 
26162
                        if test $ac_lo -le $ac_mid; then
 
26163
                          ac_lo= ac_hi=
 
26164
                          break
 
26165
                        fi
 
26166
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24922
26167
fi
24923
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26168
 
 
26169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24924
26170
  done
24925
26171
else
24926
26172
  echo "$as_me: failed program was:" >&5
24927
26173
sed 's/^/| /' conftest.$ac_ext >&5
24928
26174
 
24929
 
cat >conftest.$ac_ext <<_ACEOF
 
26175
        cat >conftest.$ac_ext <<_ACEOF
24930
26176
/* confdefs.h.  */
24931
26177
_ACEOF
24932
26178
cat confdefs.h >>conftest.$ac_ext
24933
26179
cat >>conftest.$ac_ext <<_ACEOF
24934
26180
/* end confdefs.h.  */
24935
26181
$ac_includes_default
 
26182
   typedef short ac__type_sizeof_;
24936
26183
int
24937
26184
main ()
24938
26185
{
24939
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
 
26186
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24940
26187
test_array [0] = 0
24941
26188
 
24942
26189
  ;
24944
26191
}
24945
26192
_ACEOF
24946
26193
rm -f conftest.$ac_objext
24947
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24948
 
  (eval $ac_compile) 2>conftest.er1
 
26194
if { (ac_try="$ac_compile"
 
26195
case "(($ac_try" in
 
26196
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26197
  *) ac_try_echo=$ac_try;;
 
26198
esac
 
26199
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26200
  (eval "$ac_compile") 2>conftest.er1
24949
26201
  ac_status=$?
24950
26202
  grep -v '^ *+' conftest.er1 >conftest.err
24951
26203
  rm -f conftest.er1
24952
26204
  cat conftest.err >&5
24953
26205
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24954
 
  (exit $ac_status); } &&
24955
 
         { ac_try='test -z "$ac_c_werror_flag"
24956
 
                         || test ! -s conftest.err'
24957
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24958
 
  (eval $ac_try) 2>&5
24959
 
  ac_status=$?
24960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961
 
  (exit $ac_status); }; } &&
24962
 
         { ac_try='test -s conftest.$ac_objext'
24963
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24964
 
  (eval $ac_try) 2>&5
24965
 
  ac_status=$?
24966
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24967
 
  (exit $ac_status); }; }; then
 
26206
  (exit $ac_status); } && {
 
26207
         test -z "$ac_c_werror_flag" ||
 
26208
         test ! -s conftest.err
 
26209
       } && test -s conftest.$ac_objext; then
24968
26210
  ac_hi=-1 ac_mid=-1
24969
26211
  while :; do
24970
26212
    cat >conftest.$ac_ext <<_ACEOF
24974
26216
cat >>conftest.$ac_ext <<_ACEOF
24975
26217
/* end confdefs.h.  */
24976
26218
$ac_includes_default
 
26219
   typedef short ac__type_sizeof_;
24977
26220
int
24978
26221
main ()
24979
26222
{
24980
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
 
26223
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24981
26224
test_array [0] = 0
24982
26225
 
24983
26226
  ;
24985
26228
}
24986
26229
_ACEOF
24987
26230
rm -f conftest.$ac_objext
24988
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24989
 
  (eval $ac_compile) 2>conftest.er1
 
26231
if { (ac_try="$ac_compile"
 
26232
case "(($ac_try" in
 
26233
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26234
  *) ac_try_echo=$ac_try;;
 
26235
esac
 
26236
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26237
  (eval "$ac_compile") 2>conftest.er1
24990
26238
  ac_status=$?
24991
26239
  grep -v '^ *+' conftest.er1 >conftest.err
24992
26240
  rm -f conftest.er1
24993
26241
  cat conftest.err >&5
24994
26242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995
 
  (exit $ac_status); } &&
24996
 
         { ac_try='test -z "$ac_c_werror_flag"
24997
 
                         || test ! -s conftest.err'
24998
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24999
 
  (eval $ac_try) 2>&5
25000
 
  ac_status=$?
25001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002
 
  (exit $ac_status); }; } &&
25003
 
         { ac_try='test -s conftest.$ac_objext'
25004
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25005
 
  (eval $ac_try) 2>&5
25006
 
  ac_status=$?
25007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25008
 
  (exit $ac_status); }; }; then
 
26243
  (exit $ac_status); } && {
 
26244
         test -z "$ac_c_werror_flag" ||
 
26245
         test ! -s conftest.err
 
26246
       } && test -s conftest.$ac_objext; then
25009
26247
  ac_lo=$ac_mid; break
25010
26248
else
25011
26249
  echo "$as_me: failed program was:" >&5
25012
26250
sed 's/^/| /' conftest.$ac_ext >&5
25013
26251
 
25014
 
ac_hi=`expr '(' $ac_mid ')' - 1`
25015
 
                       if test $ac_mid -le $ac_hi; then
25016
 
                         ac_lo= ac_hi=
25017
 
                         break
25018
 
                       fi
25019
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
26252
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
26253
                        if test $ac_mid -le $ac_hi; then
 
26254
                          ac_lo= ac_hi=
 
26255
                          break
 
26256
                        fi
 
26257
                        ac_mid=`expr 2 '*' $ac_mid`
25020
26258
fi
25021
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26259
 
 
26260
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25022
26261
  done
25023
26262
else
25024
26263
  echo "$as_me: failed program was:" >&5
25025
26264
sed 's/^/| /' conftest.$ac_ext >&5
25026
26265
 
25027
 
ac_lo= ac_hi=
25028
 
fi
25029
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25030
 
fi
25031
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26266
        ac_lo= ac_hi=
 
26267
fi
 
26268
 
 
26269
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26270
fi
 
26271
 
 
26272
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25032
26273
# Binary search between lo and hi bounds.
25033
26274
while test "x$ac_lo" != "x$ac_hi"; do
25034
26275
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25039
26280
cat >>conftest.$ac_ext <<_ACEOF
25040
26281
/* end confdefs.h.  */
25041
26282
$ac_includes_default
 
26283
   typedef short ac__type_sizeof_;
25042
26284
int
25043
26285
main ()
25044
26286
{
25045
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
26287
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25046
26288
test_array [0] = 0
25047
26289
 
25048
26290
  ;
25050
26292
}
25051
26293
_ACEOF
25052
26294
rm -f conftest.$ac_objext
25053
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25054
 
  (eval $ac_compile) 2>conftest.er1
 
26295
if { (ac_try="$ac_compile"
 
26296
case "(($ac_try" in
 
26297
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26298
  *) ac_try_echo=$ac_try;;
 
26299
esac
 
26300
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26301
  (eval "$ac_compile") 2>conftest.er1
25055
26302
  ac_status=$?
25056
26303
  grep -v '^ *+' conftest.er1 >conftest.err
25057
26304
  rm -f conftest.er1
25058
26305
  cat conftest.err >&5
25059
26306
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060
 
  (exit $ac_status); } &&
25061
 
         { ac_try='test -z "$ac_c_werror_flag"
25062
 
                         || test ! -s conftest.err'
25063
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25064
 
  (eval $ac_try) 2>&5
25065
 
  ac_status=$?
25066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067
 
  (exit $ac_status); }; } &&
25068
 
         { ac_try='test -s conftest.$ac_objext'
25069
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25070
 
  (eval $ac_try) 2>&5
25071
 
  ac_status=$?
25072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073
 
  (exit $ac_status); }; }; then
 
26307
  (exit $ac_status); } && {
 
26308
         test -z "$ac_c_werror_flag" ||
 
26309
         test ! -s conftest.err
 
26310
       } && test -s conftest.$ac_objext; then
25074
26311
  ac_hi=$ac_mid
25075
26312
else
25076
26313
  echo "$as_me: failed program was:" >&5
25077
26314
sed 's/^/| /' conftest.$ac_ext >&5
25078
26315
 
25079
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
26316
        ac_lo=`expr '(' $ac_mid ')' + 1`
25080
26317
fi
25081
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26318
 
 
26319
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25082
26320
done
25083
26321
case $ac_lo in
25084
26322
?*) ac_cv_sizeof_short=$ac_lo;;
25085
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
26323
'') if test "$ac_cv_type_short" = yes; then
 
26324
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
25086
26325
See \`config.log' for more details." >&5
25087
 
echo "$as_me: error: cannot compute sizeof (short), 77
 
26326
echo "$as_me: error: cannot compute sizeof (short)
25088
26327
See \`config.log' for more details." >&2;}
25089
 
   { (exit 1); exit 1; }; } ;;
 
26328
   { (exit 77); exit 77; }; }
 
26329
   else
 
26330
     ac_cv_sizeof_short=0
 
26331
   fi ;;
25090
26332
esac
25091
26333
else
25092
 
  if test "$cross_compiling" = yes; then
25093
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25094
 
See \`config.log' for more details." >&5
25095
 
echo "$as_me: error: cannot run test program while cross compiling
25096
 
See \`config.log' for more details." >&2;}
25097
 
   { (exit 1); exit 1; }; }
25098
 
else
25099
26334
  cat >conftest.$ac_ext <<_ACEOF
25100
26335
/* confdefs.h.  */
25101
26336
_ACEOF
25103
26338
cat >>conftest.$ac_ext <<_ACEOF
25104
26339
/* end confdefs.h.  */
25105
26340
$ac_includes_default
25106
 
long longval () { return (long) (sizeof (short)); }
25107
 
unsigned long ulongval () { return (long) (sizeof (short)); }
 
26341
   typedef short ac__type_sizeof_;
 
26342
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
26343
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25108
26344
#include <stdio.h>
25109
26345
#include <stdlib.h>
25110
26346
int
25113
26349
 
25114
26350
  FILE *f = fopen ("conftest.val", "w");
25115
26351
  if (! f)
25116
 
    exit (1);
25117
 
  if (((long) (sizeof (short))) < 0)
 
26352
    return 1;
 
26353
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25118
26354
    {
25119
 
      long i = longval ();
25120
 
      if (i != ((long) (sizeof (short))))
25121
 
        exit (1);
 
26355
      long int i = longval ();
 
26356
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
26357
        return 1;
25122
26358
      fprintf (f, "%ld\n", i);
25123
26359
    }
25124
26360
  else
25125
26361
    {
25126
 
      unsigned long i = ulongval ();
25127
 
      if (i != ((long) (sizeof (short))))
25128
 
        exit (1);
 
26362
      unsigned long int i = ulongval ();
 
26363
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
26364
        return 1;
25129
26365
      fprintf (f, "%lu\n", i);
25130
26366
    }
25131
 
  exit (ferror (f) || fclose (f) != 0);
 
26367
  return ferror (f) || fclose (f) != 0;
25132
26368
 
25133
26369
  ;
25134
26370
  return 0;
25135
26371
}
25136
26372
_ACEOF
25137
26373
rm -f conftest$ac_exeext
25138
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25139
 
  (eval $ac_link) 2>&5
 
26374
if { (ac_try="$ac_link"
 
26375
case "(($ac_try" in
 
26376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26377
  *) ac_try_echo=$ac_try;;
 
26378
esac
 
26379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26380
  (eval "$ac_link") 2>&5
25140
26381
  ac_status=$?
25141
26382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142
26383
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25143
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25144
 
  (eval $ac_try) 2>&5
 
26384
  { (case "(($ac_try" in
 
26385
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26386
  *) ac_try_echo=$ac_try;;
 
26387
esac
 
26388
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26389
  (eval "$ac_try") 2>&5
25145
26390
  ac_status=$?
25146
26391
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147
26392
  (exit $ac_status); }; }; then
25152
26397
sed 's/^/| /' conftest.$ac_ext >&5
25153
26398
 
25154
26399
( exit $ac_status )
25155
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
26400
if test "$ac_cv_type_short" = yes; then
 
26401
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
25156
26402
See \`config.log' for more details." >&5
25157
 
echo "$as_me: error: cannot compute sizeof (short), 77
 
26403
echo "$as_me: error: cannot compute sizeof (short)
25158
26404
See \`config.log' for more details." >&2;}
25159
 
   { (exit 1); exit 1; }; }
25160
 
fi
25161
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25162
 
fi
 
26405
   { (exit 77); exit 77; }; }
 
26406
   else
 
26407
     ac_cv_sizeof_short=0
 
26408
   fi
 
26409
fi
 
26410
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25163
26411
fi
25164
26412
rm -f conftest.val
25165
 
else
25166
 
  ac_cv_sizeof_short=0
25167
 
fi
25168
 
fi
25169
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
25170
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
 
26413
fi
 
26414
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
 
26415
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
 
26416
 
 
26417
 
 
26418
 
25171
26419
cat >>confdefs.h <<_ACEOF
25172
26420
#define SIZEOF_SHORT $ac_cv_sizeof_short
25173
26421
_ACEOF
25174
26422
 
25175
 
  echo "$as_me:$LINENO: checking for long" >&5
25176
 
echo $ECHO_N "checking for long... $ECHO_C" >&6
 
26423
  { echo "$as_me:$LINENO: checking for long" >&5
 
26424
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
25177
26425
if test "${ac_cv_type_long+set}" = set; then
25178
26426
  echo $ECHO_N "(cached) $ECHO_C" >&6
25179
26427
else
25184
26432
cat >>conftest.$ac_ext <<_ACEOF
25185
26433
/* end confdefs.h.  */
25186
26434
$ac_includes_default
 
26435
typedef long ac__type_new_;
25187
26436
int
25188
26437
main ()
25189
26438
{
25190
 
if ((long *) 0)
 
26439
if ((ac__type_new_ *) 0)
25191
26440
  return 0;
25192
 
if (sizeof (long))
 
26441
if (sizeof (ac__type_new_))
25193
26442
  return 0;
25194
26443
  ;
25195
26444
  return 0;
25196
26445
}
25197
26446
_ACEOF
25198
26447
rm -f conftest.$ac_objext
25199
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25200
 
  (eval $ac_compile) 2>conftest.er1
 
26448
if { (ac_try="$ac_compile"
 
26449
case "(($ac_try" in
 
26450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26451
  *) ac_try_echo=$ac_try;;
 
26452
esac
 
26453
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26454
  (eval "$ac_compile") 2>conftest.er1
25201
26455
  ac_status=$?
25202
26456
  grep -v '^ *+' conftest.er1 >conftest.err
25203
26457
  rm -f conftest.er1
25204
26458
  cat conftest.err >&5
25205
26459
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206
 
  (exit $ac_status); } &&
25207
 
         { ac_try='test -z "$ac_c_werror_flag"
25208
 
                         || test ! -s conftest.err'
25209
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25210
 
  (eval $ac_try) 2>&5
25211
 
  ac_status=$?
25212
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213
 
  (exit $ac_status); }; } &&
25214
 
         { ac_try='test -s conftest.$ac_objext'
25215
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25216
 
  (eval $ac_try) 2>&5
25217
 
  ac_status=$?
25218
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219
 
  (exit $ac_status); }; }; then
 
26460
  (exit $ac_status); } && {
 
26461
         test -z "$ac_c_werror_flag" ||
 
26462
         test ! -s conftest.err
 
26463
       } && test -s conftest.$ac_objext; then
25220
26464
  ac_cv_type_long=yes
25221
26465
else
25222
26466
  echo "$as_me: failed program was:" >&5
25223
26467
sed 's/^/| /' conftest.$ac_ext >&5
25224
26468
 
25225
 
ac_cv_type_long=no
25226
 
fi
25227
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25228
 
fi
25229
 
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
25230
 
echo "${ECHO_T}$ac_cv_type_long" >&6
25231
 
 
25232
 
echo "$as_me:$LINENO: checking size of long" >&5
25233
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6
 
26469
        ac_cv_type_long=no
 
26470
fi
 
26471
 
 
26472
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26473
fi
 
26474
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
 
26475
echo "${ECHO_T}$ac_cv_type_long" >&6; }
 
26476
 
 
26477
# The cast to long int works around a bug in the HP C Compiler
 
26478
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
26479
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
26480
# This bug is HP SR number 8606223364.
 
26481
{ echo "$as_me:$LINENO: checking size of long" >&5
 
26482
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
25234
26483
if test "${ac_cv_sizeof_long+set}" = set; then
25235
26484
  echo $ECHO_N "(cached) $ECHO_C" >&6
25236
26485
else
25237
 
  if test "$ac_cv_type_long" = yes; then
25238
 
  # The cast to unsigned long works around a bug in the HP C Compiler
25239
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25240
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25241
 
  # This bug is HP SR number 8606223364.
25242
26486
  if test "$cross_compiling" = yes; then
25243
26487
  # Depending upon the size, compute the lo and hi bounds.
25244
26488
cat >conftest.$ac_ext <<_ACEOF
25248
26492
cat >>conftest.$ac_ext <<_ACEOF
25249
26493
/* end confdefs.h.  */
25250
26494
$ac_includes_default
 
26495
   typedef long ac__type_sizeof_;
25251
26496
int
25252
26497
main ()
25253
26498
{
25254
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
 
26499
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25255
26500
test_array [0] = 0
25256
26501
 
25257
26502
  ;
25259
26504
}
25260
26505
_ACEOF
25261
26506
rm -f conftest.$ac_objext
25262
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25263
 
  (eval $ac_compile) 2>conftest.er1
 
26507
if { (ac_try="$ac_compile"
 
26508
case "(($ac_try" in
 
26509
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26510
  *) ac_try_echo=$ac_try;;
 
26511
esac
 
26512
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26513
  (eval "$ac_compile") 2>conftest.er1
25264
26514
  ac_status=$?
25265
26515
  grep -v '^ *+' conftest.er1 >conftest.err
25266
26516
  rm -f conftest.er1
25267
26517
  cat conftest.err >&5
25268
26518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25269
 
  (exit $ac_status); } &&
25270
 
         { ac_try='test -z "$ac_c_werror_flag"
25271
 
                         || test ! -s conftest.err'
25272
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25273
 
  (eval $ac_try) 2>&5
25274
 
  ac_status=$?
25275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25276
 
  (exit $ac_status); }; } &&
25277
 
         { ac_try='test -s conftest.$ac_objext'
25278
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25279
 
  (eval $ac_try) 2>&5
25280
 
  ac_status=$?
25281
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282
 
  (exit $ac_status); }; }; then
 
26519
  (exit $ac_status); } && {
 
26520
         test -z "$ac_c_werror_flag" ||
 
26521
         test ! -s conftest.err
 
26522
       } && test -s conftest.$ac_objext; then
25283
26523
  ac_lo=0 ac_mid=0
25284
26524
  while :; do
25285
26525
    cat >conftest.$ac_ext <<_ACEOF
25289
26529
cat >>conftest.$ac_ext <<_ACEOF
25290
26530
/* end confdefs.h.  */
25291
26531
$ac_includes_default
 
26532
   typedef long ac__type_sizeof_;
25292
26533
int
25293
26534
main ()
25294
26535
{
25295
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
26536
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25296
26537
test_array [0] = 0
25297
26538
 
25298
26539
  ;
25300
26541
}
25301
26542
_ACEOF
25302
26543
rm -f conftest.$ac_objext
25303
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25304
 
  (eval $ac_compile) 2>conftest.er1
 
26544
if { (ac_try="$ac_compile"
 
26545
case "(($ac_try" in
 
26546
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26547
  *) ac_try_echo=$ac_try;;
 
26548
esac
 
26549
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26550
  (eval "$ac_compile") 2>conftest.er1
25305
26551
  ac_status=$?
25306
26552
  grep -v '^ *+' conftest.er1 >conftest.err
25307
26553
  rm -f conftest.er1
25308
26554
  cat conftest.err >&5
25309
26555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25310
 
  (exit $ac_status); } &&
25311
 
         { ac_try='test -z "$ac_c_werror_flag"
25312
 
                         || test ! -s conftest.err'
25313
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25314
 
  (eval $ac_try) 2>&5
25315
 
  ac_status=$?
25316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317
 
  (exit $ac_status); }; } &&
25318
 
         { ac_try='test -s conftest.$ac_objext'
25319
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25320
 
  (eval $ac_try) 2>&5
25321
 
  ac_status=$?
25322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323
 
  (exit $ac_status); }; }; then
 
26556
  (exit $ac_status); } && {
 
26557
         test -z "$ac_c_werror_flag" ||
 
26558
         test ! -s conftest.err
 
26559
       } && test -s conftest.$ac_objext; then
25324
26560
  ac_hi=$ac_mid; break
25325
26561
else
25326
26562
  echo "$as_me: failed program was:" >&5
25327
26563
sed 's/^/| /' conftest.$ac_ext >&5
25328
26564
 
25329
 
ac_lo=`expr $ac_mid + 1`
25330
 
                    if test $ac_lo -le $ac_mid; then
25331
 
                      ac_lo= ac_hi=
25332
 
                      break
25333
 
                    fi
25334
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
26565
        ac_lo=`expr $ac_mid + 1`
 
26566
                        if test $ac_lo -le $ac_mid; then
 
26567
                          ac_lo= ac_hi=
 
26568
                          break
 
26569
                        fi
 
26570
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25335
26571
fi
25336
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26572
 
 
26573
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25337
26574
  done
25338
26575
else
25339
26576
  echo "$as_me: failed program was:" >&5
25340
26577
sed 's/^/| /' conftest.$ac_ext >&5
25341
26578
 
25342
 
cat >conftest.$ac_ext <<_ACEOF
 
26579
        cat >conftest.$ac_ext <<_ACEOF
25343
26580
/* confdefs.h.  */
25344
26581
_ACEOF
25345
26582
cat confdefs.h >>conftest.$ac_ext
25346
26583
cat >>conftest.$ac_ext <<_ACEOF
25347
26584
/* end confdefs.h.  */
25348
26585
$ac_includes_default
 
26586
   typedef long ac__type_sizeof_;
25349
26587
int
25350
26588
main ()
25351
26589
{
25352
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
 
26590
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25353
26591
test_array [0] = 0
25354
26592
 
25355
26593
  ;
25357
26595
}
25358
26596
_ACEOF
25359
26597
rm -f conftest.$ac_objext
25360
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25361
 
  (eval $ac_compile) 2>conftest.er1
 
26598
if { (ac_try="$ac_compile"
 
26599
case "(($ac_try" in
 
26600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26601
  *) ac_try_echo=$ac_try;;
 
26602
esac
 
26603
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26604
  (eval "$ac_compile") 2>conftest.er1
25362
26605
  ac_status=$?
25363
26606
  grep -v '^ *+' conftest.er1 >conftest.err
25364
26607
  rm -f conftest.er1
25365
26608
  cat conftest.err >&5
25366
26609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367
 
  (exit $ac_status); } &&
25368
 
         { ac_try='test -z "$ac_c_werror_flag"
25369
 
                         || test ! -s conftest.err'
25370
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25371
 
  (eval $ac_try) 2>&5
25372
 
  ac_status=$?
25373
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374
 
  (exit $ac_status); }; } &&
25375
 
         { ac_try='test -s conftest.$ac_objext'
25376
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25377
 
  (eval $ac_try) 2>&5
25378
 
  ac_status=$?
25379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380
 
  (exit $ac_status); }; }; then
 
26610
  (exit $ac_status); } && {
 
26611
         test -z "$ac_c_werror_flag" ||
 
26612
         test ! -s conftest.err
 
26613
       } && test -s conftest.$ac_objext; then
25381
26614
  ac_hi=-1 ac_mid=-1
25382
26615
  while :; do
25383
26616
    cat >conftest.$ac_ext <<_ACEOF
25387
26620
cat >>conftest.$ac_ext <<_ACEOF
25388
26621
/* end confdefs.h.  */
25389
26622
$ac_includes_default
 
26623
   typedef long ac__type_sizeof_;
25390
26624
int
25391
26625
main ()
25392
26626
{
25393
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
 
26627
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25394
26628
test_array [0] = 0
25395
26629
 
25396
26630
  ;
25398
26632
}
25399
26633
_ACEOF
25400
26634
rm -f conftest.$ac_objext
25401
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25402
 
  (eval $ac_compile) 2>conftest.er1
 
26635
if { (ac_try="$ac_compile"
 
26636
case "(($ac_try" in
 
26637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26638
  *) ac_try_echo=$ac_try;;
 
26639
esac
 
26640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26641
  (eval "$ac_compile") 2>conftest.er1
25403
26642
  ac_status=$?
25404
26643
  grep -v '^ *+' conftest.er1 >conftest.err
25405
26644
  rm -f conftest.er1
25406
26645
  cat conftest.err >&5
25407
26646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408
 
  (exit $ac_status); } &&
25409
 
         { ac_try='test -z "$ac_c_werror_flag"
25410
 
                         || test ! -s conftest.err'
25411
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25412
 
  (eval $ac_try) 2>&5
25413
 
  ac_status=$?
25414
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415
 
  (exit $ac_status); }; } &&
25416
 
         { ac_try='test -s conftest.$ac_objext'
25417
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418
 
  (eval $ac_try) 2>&5
25419
 
  ac_status=$?
25420
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421
 
  (exit $ac_status); }; }; then
 
26647
  (exit $ac_status); } && {
 
26648
         test -z "$ac_c_werror_flag" ||
 
26649
         test ! -s conftest.err
 
26650
       } && test -s conftest.$ac_objext; then
25422
26651
  ac_lo=$ac_mid; break
25423
26652
else
25424
26653
  echo "$as_me: failed program was:" >&5
25425
26654
sed 's/^/| /' conftest.$ac_ext >&5
25426
26655
 
25427
 
ac_hi=`expr '(' $ac_mid ')' - 1`
25428
 
                       if test $ac_mid -le $ac_hi; then
25429
 
                         ac_lo= ac_hi=
25430
 
                         break
25431
 
                       fi
25432
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
26656
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
26657
                        if test $ac_mid -le $ac_hi; then
 
26658
                          ac_lo= ac_hi=
 
26659
                          break
 
26660
                        fi
 
26661
                        ac_mid=`expr 2 '*' $ac_mid`
25433
26662
fi
25434
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26663
 
 
26664
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25435
26665
  done
25436
26666
else
25437
26667
  echo "$as_me: failed program was:" >&5
25438
26668
sed 's/^/| /' conftest.$ac_ext >&5
25439
26669
 
25440
 
ac_lo= ac_hi=
25441
 
fi
25442
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25443
 
fi
25444
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26670
        ac_lo= ac_hi=
 
26671
fi
 
26672
 
 
26673
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26674
fi
 
26675
 
 
26676
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25445
26677
# Binary search between lo and hi bounds.
25446
26678
while test "x$ac_lo" != "x$ac_hi"; do
25447
26679
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25452
26684
cat >>conftest.$ac_ext <<_ACEOF
25453
26685
/* end confdefs.h.  */
25454
26686
$ac_includes_default
 
26687
   typedef long ac__type_sizeof_;
25455
26688
int
25456
26689
main ()
25457
26690
{
25458
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
26691
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25459
26692
test_array [0] = 0
25460
26693
 
25461
26694
  ;
25463
26696
}
25464
26697
_ACEOF
25465
26698
rm -f conftest.$ac_objext
25466
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25467
 
  (eval $ac_compile) 2>conftest.er1
 
26699
if { (ac_try="$ac_compile"
 
26700
case "(($ac_try" in
 
26701
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26702
  *) ac_try_echo=$ac_try;;
 
26703
esac
 
26704
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26705
  (eval "$ac_compile") 2>conftest.er1
25468
26706
  ac_status=$?
25469
26707
  grep -v '^ *+' conftest.er1 >conftest.err
25470
26708
  rm -f conftest.er1
25471
26709
  cat conftest.err >&5
25472
26710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473
 
  (exit $ac_status); } &&
25474
 
         { ac_try='test -z "$ac_c_werror_flag"
25475
 
                         || test ! -s conftest.err'
25476
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25477
 
  (eval $ac_try) 2>&5
25478
 
  ac_status=$?
25479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480
 
  (exit $ac_status); }; } &&
25481
 
         { ac_try='test -s conftest.$ac_objext'
25482
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483
 
  (eval $ac_try) 2>&5
25484
 
  ac_status=$?
25485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486
 
  (exit $ac_status); }; }; then
 
26711
  (exit $ac_status); } && {
 
26712
         test -z "$ac_c_werror_flag" ||
 
26713
         test ! -s conftest.err
 
26714
       } && test -s conftest.$ac_objext; then
25487
26715
  ac_hi=$ac_mid
25488
26716
else
25489
26717
  echo "$as_me: failed program was:" >&5
25490
26718
sed 's/^/| /' conftest.$ac_ext >&5
25491
26719
 
25492
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
26720
        ac_lo=`expr '(' $ac_mid ')' + 1`
25493
26721
fi
25494
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26722
 
 
26723
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25495
26724
done
25496
26725
case $ac_lo in
25497
26726
?*) ac_cv_sizeof_long=$ac_lo;;
25498
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
26727
'') if test "$ac_cv_type_long" = yes; then
 
26728
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
25499
26729
See \`config.log' for more details." >&5
25500
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
26730
echo "$as_me: error: cannot compute sizeof (long)
25501
26731
See \`config.log' for more details." >&2;}
25502
 
   { (exit 1); exit 1; }; } ;;
 
26732
   { (exit 77); exit 77; }; }
 
26733
   else
 
26734
     ac_cv_sizeof_long=0
 
26735
   fi ;;
25503
26736
esac
25504
26737
else
25505
 
  if test "$cross_compiling" = yes; then
25506
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25507
 
See \`config.log' for more details." >&5
25508
 
echo "$as_me: error: cannot run test program while cross compiling
25509
 
See \`config.log' for more details." >&2;}
25510
 
   { (exit 1); exit 1; }; }
25511
 
else
25512
26738
  cat >conftest.$ac_ext <<_ACEOF
25513
26739
/* confdefs.h.  */
25514
26740
_ACEOF
25516
26742
cat >>conftest.$ac_ext <<_ACEOF
25517
26743
/* end confdefs.h.  */
25518
26744
$ac_includes_default
25519
 
long longval () { return (long) (sizeof (long)); }
25520
 
unsigned long ulongval () { return (long) (sizeof (long)); }
 
26745
   typedef long ac__type_sizeof_;
 
26746
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
26747
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25521
26748
#include <stdio.h>
25522
26749
#include <stdlib.h>
25523
26750
int
25526
26753
 
25527
26754
  FILE *f = fopen ("conftest.val", "w");
25528
26755
  if (! f)
25529
 
    exit (1);
25530
 
  if (((long) (sizeof (long))) < 0)
 
26756
    return 1;
 
26757
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25531
26758
    {
25532
 
      long i = longval ();
25533
 
      if (i != ((long) (sizeof (long))))
25534
 
        exit (1);
 
26759
      long int i = longval ();
 
26760
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
26761
        return 1;
25535
26762
      fprintf (f, "%ld\n", i);
25536
26763
    }
25537
26764
  else
25538
26765
    {
25539
 
      unsigned long i = ulongval ();
25540
 
      if (i != ((long) (sizeof (long))))
25541
 
        exit (1);
 
26766
      unsigned long int i = ulongval ();
 
26767
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
26768
        return 1;
25542
26769
      fprintf (f, "%lu\n", i);
25543
26770
    }
25544
 
  exit (ferror (f) || fclose (f) != 0);
 
26771
  return ferror (f) || fclose (f) != 0;
25545
26772
 
25546
26773
  ;
25547
26774
  return 0;
25548
26775
}
25549
26776
_ACEOF
25550
26777
rm -f conftest$ac_exeext
25551
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25552
 
  (eval $ac_link) 2>&5
 
26778
if { (ac_try="$ac_link"
 
26779
case "(($ac_try" in
 
26780
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26781
  *) ac_try_echo=$ac_try;;
 
26782
esac
 
26783
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26784
  (eval "$ac_link") 2>&5
25553
26785
  ac_status=$?
25554
26786
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555
26787
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25556
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25557
 
  (eval $ac_try) 2>&5
 
26788
  { (case "(($ac_try" in
 
26789
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26790
  *) ac_try_echo=$ac_try;;
 
26791
esac
 
26792
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26793
  (eval "$ac_try") 2>&5
25558
26794
  ac_status=$?
25559
26795
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560
26796
  (exit $ac_status); }; }; then
25565
26801
sed 's/^/| /' conftest.$ac_ext >&5
25566
26802
 
25567
26803
( exit $ac_status )
25568
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
26804
if test "$ac_cv_type_long" = yes; then
 
26805
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
25569
26806
See \`config.log' for more details." >&5
25570
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
26807
echo "$as_me: error: cannot compute sizeof (long)
25571
26808
See \`config.log' for more details." >&2;}
25572
 
   { (exit 1); exit 1; }; }
25573
 
fi
25574
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25575
 
fi
 
26809
   { (exit 77); exit 77; }; }
 
26810
   else
 
26811
     ac_cv_sizeof_long=0
 
26812
   fi
 
26813
fi
 
26814
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25576
26815
fi
25577
26816
rm -f conftest.val
25578
 
else
25579
 
  ac_cv_sizeof_long=0
25580
 
fi
25581
 
fi
25582
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
25583
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
 
26817
fi
 
26818
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 
26819
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
 
26820
 
 
26821
 
 
26822
 
25584
26823
cat >>confdefs.h <<_ACEOF
25585
26824
#define SIZEOF_LONG $ac_cv_sizeof_long
25586
26825
_ACEOF
25587
26826
 
25588
 
  echo "$as_me:$LINENO: checking for char *" >&5
25589
 
echo $ECHO_N "checking for char *... $ECHO_C" >&6
 
26827
  { echo "$as_me:$LINENO: checking for char *" >&5
 
26828
echo $ECHO_N "checking for char *... $ECHO_C" >&6; }
25590
26829
if test "${ac_cv_type_char_p+set}" = set; then
25591
26830
  echo $ECHO_N "(cached) $ECHO_C" >&6
25592
26831
else
25597
26836
cat >>conftest.$ac_ext <<_ACEOF
25598
26837
/* end confdefs.h.  */
25599
26838
$ac_includes_default
 
26839
typedef char * ac__type_new_;
25600
26840
int
25601
26841
main ()
25602
26842
{
25603
 
if ((char * *) 0)
 
26843
if ((ac__type_new_ *) 0)
25604
26844
  return 0;
25605
 
if (sizeof (char *))
 
26845
if (sizeof (ac__type_new_))
25606
26846
  return 0;
25607
26847
  ;
25608
26848
  return 0;
25609
26849
}
25610
26850
_ACEOF
25611
26851
rm -f conftest.$ac_objext
25612
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25613
 
  (eval $ac_compile) 2>conftest.er1
 
26852
if { (ac_try="$ac_compile"
 
26853
case "(($ac_try" in
 
26854
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26855
  *) ac_try_echo=$ac_try;;
 
26856
esac
 
26857
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26858
  (eval "$ac_compile") 2>conftest.er1
25614
26859
  ac_status=$?
25615
26860
  grep -v '^ *+' conftest.er1 >conftest.err
25616
26861
  rm -f conftest.er1
25617
26862
  cat conftest.err >&5
25618
26863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619
 
  (exit $ac_status); } &&
25620
 
         { ac_try='test -z "$ac_c_werror_flag"
25621
 
                         || test ! -s conftest.err'
25622
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25623
 
  (eval $ac_try) 2>&5
25624
 
  ac_status=$?
25625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626
 
  (exit $ac_status); }; } &&
25627
 
         { ac_try='test -s conftest.$ac_objext'
25628
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25629
 
  (eval $ac_try) 2>&5
25630
 
  ac_status=$?
25631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632
 
  (exit $ac_status); }; }; then
 
26864
  (exit $ac_status); } && {
 
26865
         test -z "$ac_c_werror_flag" ||
 
26866
         test ! -s conftest.err
 
26867
       } && test -s conftest.$ac_objext; then
25633
26868
  ac_cv_type_char_p=yes
25634
26869
else
25635
26870
  echo "$as_me: failed program was:" >&5
25636
26871
sed 's/^/| /' conftest.$ac_ext >&5
25637
26872
 
25638
 
ac_cv_type_char_p=no
25639
 
fi
25640
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25641
 
fi
25642
 
echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
25643
 
echo "${ECHO_T}$ac_cv_type_char_p" >&6
25644
 
 
25645
 
echo "$as_me:$LINENO: checking size of char *" >&5
25646
 
echo $ECHO_N "checking size of char *... $ECHO_C" >&6
 
26873
        ac_cv_type_char_p=no
 
26874
fi
 
26875
 
 
26876
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26877
fi
 
26878
{ echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
 
26879
echo "${ECHO_T}$ac_cv_type_char_p" >&6; }
 
26880
 
 
26881
# The cast to long int works around a bug in the HP C Compiler
 
26882
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
26883
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
26884
# This bug is HP SR number 8606223364.
 
26885
{ echo "$as_me:$LINENO: checking size of char *" >&5
 
26886
echo $ECHO_N "checking size of char *... $ECHO_C" >&6; }
25647
26887
if test "${ac_cv_sizeof_char_p+set}" = set; then
25648
26888
  echo $ECHO_N "(cached) $ECHO_C" >&6
25649
26889
else
25650
 
  if test "$ac_cv_type_char_p" = yes; then
25651
 
  # The cast to unsigned long works around a bug in the HP C Compiler
25652
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25653
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25654
 
  # This bug is HP SR number 8606223364.
25655
26890
  if test "$cross_compiling" = yes; then
25656
26891
  # Depending upon the size, compute the lo and hi bounds.
25657
26892
cat >conftest.$ac_ext <<_ACEOF
25661
26896
cat >>conftest.$ac_ext <<_ACEOF
25662
26897
/* end confdefs.h.  */
25663
26898
$ac_includes_default
 
26899
   typedef char * ac__type_sizeof_;
25664
26900
int
25665
26901
main ()
25666
26902
{
25667
 
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= 0)];
 
26903
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25668
26904
test_array [0] = 0
25669
26905
 
25670
26906
  ;
25672
26908
}
25673
26909
_ACEOF
25674
26910
rm -f conftest.$ac_objext
25675
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25676
 
  (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
25677
26918
  ac_status=$?
25678
26919
  grep -v '^ *+' conftest.er1 >conftest.err
25679
26920
  rm -f conftest.er1
25680
26921
  cat conftest.err >&5
25681
26922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682
 
  (exit $ac_status); } &&
25683
 
         { ac_try='test -z "$ac_c_werror_flag"
25684
 
                         || test ! -s conftest.err'
25685
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25686
 
  (eval $ac_try) 2>&5
25687
 
  ac_status=$?
25688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689
 
  (exit $ac_status); }; } &&
25690
 
         { ac_try='test -s conftest.$ac_objext'
25691
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692
 
  (eval $ac_try) 2>&5
25693
 
  ac_status=$?
25694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695
 
  (exit $ac_status); }; }; then
 
26923
  (exit $ac_status); } && {
 
26924
         test -z "$ac_c_werror_flag" ||
 
26925
         test ! -s conftest.err
 
26926
       } && test -s conftest.$ac_objext; then
25696
26927
  ac_lo=0 ac_mid=0
25697
26928
  while :; do
25698
26929
    cat >conftest.$ac_ext <<_ACEOF
25702
26933
cat >>conftest.$ac_ext <<_ACEOF
25703
26934
/* end confdefs.h.  */
25704
26935
$ac_includes_default
 
26936
   typedef char * ac__type_sizeof_;
25705
26937
int
25706
26938
main ()
25707
26939
{
25708
 
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
 
26940
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25709
26941
test_array [0] = 0
25710
26942
 
25711
26943
  ;
25713
26945
}
25714
26946
_ACEOF
25715
26947
rm -f conftest.$ac_objext
25716
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25717
 
  (eval $ac_compile) 2>conftest.er1
 
26948
if { (ac_try="$ac_compile"
 
26949
case "(($ac_try" in
 
26950
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26951
  *) ac_try_echo=$ac_try;;
 
26952
esac
 
26953
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26954
  (eval "$ac_compile") 2>conftest.er1
25718
26955
  ac_status=$?
25719
26956
  grep -v '^ *+' conftest.er1 >conftest.err
25720
26957
  rm -f conftest.er1
25721
26958
  cat conftest.err >&5
25722
26959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723
 
  (exit $ac_status); } &&
25724
 
         { ac_try='test -z "$ac_c_werror_flag"
25725
 
                         || test ! -s conftest.err'
25726
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25727
 
  (eval $ac_try) 2>&5
25728
 
  ac_status=$?
25729
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730
 
  (exit $ac_status); }; } &&
25731
 
         { ac_try='test -s conftest.$ac_objext'
25732
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25733
 
  (eval $ac_try) 2>&5
25734
 
  ac_status=$?
25735
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25736
 
  (exit $ac_status); }; }; then
 
26960
  (exit $ac_status); } && {
 
26961
         test -z "$ac_c_werror_flag" ||
 
26962
         test ! -s conftest.err
 
26963
       } && test -s conftest.$ac_objext; then
25737
26964
  ac_hi=$ac_mid; break
25738
26965
else
25739
26966
  echo "$as_me: failed program was:" >&5
25740
26967
sed 's/^/| /' conftest.$ac_ext >&5
25741
26968
 
25742
 
ac_lo=`expr $ac_mid + 1`
25743
 
                    if test $ac_lo -le $ac_mid; then
25744
 
                      ac_lo= ac_hi=
25745
 
                      break
25746
 
                    fi
25747
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
26969
        ac_lo=`expr $ac_mid + 1`
 
26970
                        if test $ac_lo -le $ac_mid; then
 
26971
                          ac_lo= ac_hi=
 
26972
                          break
 
26973
                        fi
 
26974
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25748
26975
fi
25749
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
26976
 
 
26977
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25750
26978
  done
25751
26979
else
25752
26980
  echo "$as_me: failed program was:" >&5
25753
26981
sed 's/^/| /' conftest.$ac_ext >&5
25754
26982
 
25755
 
cat >conftest.$ac_ext <<_ACEOF
 
26983
        cat >conftest.$ac_ext <<_ACEOF
25756
26984
/* confdefs.h.  */
25757
26985
_ACEOF
25758
26986
cat confdefs.h >>conftest.$ac_ext
25759
26987
cat >>conftest.$ac_ext <<_ACEOF
25760
26988
/* end confdefs.h.  */
25761
26989
$ac_includes_default
 
26990
   typedef char * ac__type_sizeof_;
25762
26991
int
25763
26992
main ()
25764
26993
{
25765
 
static int test_array [1 - 2 * !(((long) (sizeof (char *))) < 0)];
 
26994
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25766
26995
test_array [0] = 0
25767
26996
 
25768
26997
  ;
25770
26999
}
25771
27000
_ACEOF
25772
27001
rm -f conftest.$ac_objext
25773
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25774
 
  (eval $ac_compile) 2>conftest.er1
 
27002
if { (ac_try="$ac_compile"
 
27003
case "(($ac_try" in
 
27004
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27005
  *) ac_try_echo=$ac_try;;
 
27006
esac
 
27007
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27008
  (eval "$ac_compile") 2>conftest.er1
25775
27009
  ac_status=$?
25776
27010
  grep -v '^ *+' conftest.er1 >conftest.err
25777
27011
  rm -f conftest.er1
25778
27012
  cat conftest.err >&5
25779
27013
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780
 
  (exit $ac_status); } &&
25781
 
         { ac_try='test -z "$ac_c_werror_flag"
25782
 
                         || test ! -s conftest.err'
25783
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25784
 
  (eval $ac_try) 2>&5
25785
 
  ac_status=$?
25786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787
 
  (exit $ac_status); }; } &&
25788
 
         { ac_try='test -s conftest.$ac_objext'
25789
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25790
 
  (eval $ac_try) 2>&5
25791
 
  ac_status=$?
25792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793
 
  (exit $ac_status); }; }; then
 
27014
  (exit $ac_status); } && {
 
27015
         test -z "$ac_c_werror_flag" ||
 
27016
         test ! -s conftest.err
 
27017
       } && test -s conftest.$ac_objext; then
25794
27018
  ac_hi=-1 ac_mid=-1
25795
27019
  while :; do
25796
27020
    cat >conftest.$ac_ext <<_ACEOF
25800
27024
cat >>conftest.$ac_ext <<_ACEOF
25801
27025
/* end confdefs.h.  */
25802
27026
$ac_includes_default
 
27027
   typedef char * ac__type_sizeof_;
25803
27028
int
25804
27029
main ()
25805
27030
{
25806
 
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= $ac_mid)];
 
27031
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25807
27032
test_array [0] = 0
25808
27033
 
25809
27034
  ;
25811
27036
}
25812
27037
_ACEOF
25813
27038
rm -f conftest.$ac_objext
25814
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25815
 
  (eval $ac_compile) 2>conftest.er1
 
27039
if { (ac_try="$ac_compile"
 
27040
case "(($ac_try" in
 
27041
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27042
  *) ac_try_echo=$ac_try;;
 
27043
esac
 
27044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27045
  (eval "$ac_compile") 2>conftest.er1
25816
27046
  ac_status=$?
25817
27047
  grep -v '^ *+' conftest.er1 >conftest.err
25818
27048
  rm -f conftest.er1
25819
27049
  cat conftest.err >&5
25820
27050
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821
 
  (exit $ac_status); } &&
25822
 
         { ac_try='test -z "$ac_c_werror_flag"
25823
 
                         || test ! -s conftest.err'
25824
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25825
 
  (eval $ac_try) 2>&5
25826
 
  ac_status=$?
25827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828
 
  (exit $ac_status); }; } &&
25829
 
         { ac_try='test -s conftest.$ac_objext'
25830
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25831
 
  (eval $ac_try) 2>&5
25832
 
  ac_status=$?
25833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834
 
  (exit $ac_status); }; }; then
 
27051
  (exit $ac_status); } && {
 
27052
         test -z "$ac_c_werror_flag" ||
 
27053
         test ! -s conftest.err
 
27054
       } && test -s conftest.$ac_objext; then
25835
27055
  ac_lo=$ac_mid; break
25836
27056
else
25837
27057
  echo "$as_me: failed program was:" >&5
25838
27058
sed 's/^/| /' conftest.$ac_ext >&5
25839
27059
 
25840
 
ac_hi=`expr '(' $ac_mid ')' - 1`
25841
 
                       if test $ac_mid -le $ac_hi; then
25842
 
                         ac_lo= ac_hi=
25843
 
                         break
25844
 
                       fi
25845
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
27060
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
27061
                        if test $ac_mid -le $ac_hi; then
 
27062
                          ac_lo= ac_hi=
 
27063
                          break
 
27064
                        fi
 
27065
                        ac_mid=`expr 2 '*' $ac_mid`
25846
27066
fi
25847
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27067
 
 
27068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25848
27069
  done
25849
27070
else
25850
27071
  echo "$as_me: failed program was:" >&5
25851
27072
sed 's/^/| /' conftest.$ac_ext >&5
25852
27073
 
25853
 
ac_lo= ac_hi=
25854
 
fi
25855
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25856
 
fi
25857
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27074
        ac_lo= ac_hi=
 
27075
fi
 
27076
 
 
27077
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
27078
fi
 
27079
 
 
27080
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25858
27081
# Binary search between lo and hi bounds.
25859
27082
while test "x$ac_lo" != "x$ac_hi"; do
25860
27083
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25865
27088
cat >>conftest.$ac_ext <<_ACEOF
25866
27089
/* end confdefs.h.  */
25867
27090
$ac_includes_default
 
27091
   typedef char * ac__type_sizeof_;
25868
27092
int
25869
27093
main ()
25870
27094
{
25871
 
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
 
27095
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25872
27096
test_array [0] = 0
25873
27097
 
25874
27098
  ;
25876
27100
}
25877
27101
_ACEOF
25878
27102
rm -f conftest.$ac_objext
25879
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25880
 
  (eval $ac_compile) 2>conftest.er1
 
27103
if { (ac_try="$ac_compile"
 
27104
case "(($ac_try" in
 
27105
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27106
  *) ac_try_echo=$ac_try;;
 
27107
esac
 
27108
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27109
  (eval "$ac_compile") 2>conftest.er1
25881
27110
  ac_status=$?
25882
27111
  grep -v '^ *+' conftest.er1 >conftest.err
25883
27112
  rm -f conftest.er1
25884
27113
  cat conftest.err >&5
25885
27114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886
 
  (exit $ac_status); } &&
25887
 
         { ac_try='test -z "$ac_c_werror_flag"
25888
 
                         || test ! -s conftest.err'
25889
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890
 
  (eval $ac_try) 2>&5
25891
 
  ac_status=$?
25892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893
 
  (exit $ac_status); }; } &&
25894
 
         { ac_try='test -s conftest.$ac_objext'
25895
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896
 
  (eval $ac_try) 2>&5
25897
 
  ac_status=$?
25898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899
 
  (exit $ac_status); }; }; then
 
27115
  (exit $ac_status); } && {
 
27116
         test -z "$ac_c_werror_flag" ||
 
27117
         test ! -s conftest.err
 
27118
       } && test -s conftest.$ac_objext; then
25900
27119
  ac_hi=$ac_mid
25901
27120
else
25902
27121
  echo "$as_me: failed program was:" >&5
25903
27122
sed 's/^/| /' conftest.$ac_ext >&5
25904
27123
 
25905
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
27124
        ac_lo=`expr '(' $ac_mid ')' + 1`
25906
27125
fi
25907
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27126
 
 
27127
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25908
27128
done
25909
27129
case $ac_lo in
25910
27130
?*) ac_cv_sizeof_char_p=$ac_lo;;
25911
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
 
27131
'') if test "$ac_cv_type_char_p" = yes; then
 
27132
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
25912
27133
See \`config.log' for more details." >&5
25913
 
echo "$as_me: error: cannot compute sizeof (char *), 77
 
27134
echo "$as_me: error: cannot compute sizeof (char *)
25914
27135
See \`config.log' for more details." >&2;}
25915
 
   { (exit 1); exit 1; }; } ;;
 
27136
   { (exit 77); exit 77; }; }
 
27137
   else
 
27138
     ac_cv_sizeof_char_p=0
 
27139
   fi ;;
25916
27140
esac
25917
27141
else
25918
 
  if test "$cross_compiling" = yes; then
25919
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25920
 
See \`config.log' for more details." >&5
25921
 
echo "$as_me: error: cannot run test program while cross compiling
25922
 
See \`config.log' for more details." >&2;}
25923
 
   { (exit 1); exit 1; }; }
25924
 
else
25925
27142
  cat >conftest.$ac_ext <<_ACEOF
25926
27143
/* confdefs.h.  */
25927
27144
_ACEOF
25929
27146
cat >>conftest.$ac_ext <<_ACEOF
25930
27147
/* end confdefs.h.  */
25931
27148
$ac_includes_default
25932
 
long longval () { return (long) (sizeof (char *)); }
25933
 
unsigned long ulongval () { return (long) (sizeof (char *)); }
 
27149
   typedef char * ac__type_sizeof_;
 
27150
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
27151
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25934
27152
#include <stdio.h>
25935
27153
#include <stdlib.h>
25936
27154
int
25939
27157
 
25940
27158
  FILE *f = fopen ("conftest.val", "w");
25941
27159
  if (! f)
25942
 
    exit (1);
25943
 
  if (((long) (sizeof (char *))) < 0)
 
27160
    return 1;
 
27161
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25944
27162
    {
25945
 
      long i = longval ();
25946
 
      if (i != ((long) (sizeof (char *))))
25947
 
        exit (1);
 
27163
      long int i = longval ();
 
27164
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
27165
        return 1;
25948
27166
      fprintf (f, "%ld\n", i);
25949
27167
    }
25950
27168
  else
25951
27169
    {
25952
 
      unsigned long i = ulongval ();
25953
 
      if (i != ((long) (sizeof (char *))))
25954
 
        exit (1);
 
27170
      unsigned long int i = ulongval ();
 
27171
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
27172
        return 1;
25955
27173
      fprintf (f, "%lu\n", i);
25956
27174
    }
25957
 
  exit (ferror (f) || fclose (f) != 0);
 
27175
  return ferror (f) || fclose (f) != 0;
25958
27176
 
25959
27177
  ;
25960
27178
  return 0;
25961
27179
}
25962
27180
_ACEOF
25963
27181
rm -f conftest$ac_exeext
25964
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25965
 
  (eval $ac_link) 2>&5
 
27182
if { (ac_try="$ac_link"
 
27183
case "(($ac_try" in
 
27184
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27185
  *) ac_try_echo=$ac_try;;
 
27186
esac
 
27187
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27188
  (eval "$ac_link") 2>&5
25966
27189
  ac_status=$?
25967
27190
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968
27191
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25969
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25970
 
  (eval $ac_try) 2>&5
 
27192
  { (case "(($ac_try" in
 
27193
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27194
  *) ac_try_echo=$ac_try;;
 
27195
esac
 
27196
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27197
  (eval "$ac_try") 2>&5
25971
27198
  ac_status=$?
25972
27199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973
27200
  (exit $ac_status); }; }; then
25978
27205
sed 's/^/| /' conftest.$ac_ext >&5
25979
27206
 
25980
27207
( exit $ac_status )
25981
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
 
27208
if test "$ac_cv_type_char_p" = yes; then
 
27209
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
25982
27210
See \`config.log' for more details." >&5
25983
 
echo "$as_me: error: cannot compute sizeof (char *), 77
 
27211
echo "$as_me: error: cannot compute sizeof (char *)
25984
27212
See \`config.log' for more details." >&2;}
25985
 
   { (exit 1); exit 1; }; }
25986
 
fi
25987
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25988
 
fi
 
27213
   { (exit 77); exit 77; }; }
 
27214
   else
 
27215
     ac_cv_sizeof_char_p=0
 
27216
   fi
 
27217
fi
 
27218
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25989
27219
fi
25990
27220
rm -f conftest.val
25991
 
else
25992
 
  ac_cv_sizeof_char_p=0
25993
 
fi
25994
 
fi
25995
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
25996
 
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6
 
27221
fi
 
27222
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
 
27223
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6; }
 
27224
 
 
27225
 
 
27226
 
25997
27227
cat >>confdefs.h <<_ACEOF
25998
27228
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
25999
27229
_ACEOF
26000
27230
 
26001
27231
 
26002
27232
 
26003
 
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26004
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
27233
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
27234
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
26005
27235
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26006
27236
  echo $ECHO_N "(cached) $ECHO_C" >&6
26007
27237
else
26014
27244
cat >>conftest.$ac_ext <<_ACEOF
26015
27245
/* end confdefs.h.  */
26016
27246
 
26017
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
27247
/* Override any GCC internal prototype to avoid an error.
 
27248
   Use char because int might match the return type of a GCC
 
27249
   builtin and then its argument prototype would still apply.  */
26018
27250
#ifdef __cplusplus
26019
27251
extern "C"
26020
27252
#endif
26021
 
/* We use char because int might match the return type of a gcc2
26022
 
   builtin and then its argument prototype would still apply.  */
26023
27253
char dlopen ();
26024
27254
int
26025
27255
main ()
26026
27256
{
26027
 
dlopen ();
 
27257
return dlopen ();
26028
27258
  ;
26029
27259
  return 0;
26030
27260
}
26031
27261
_ACEOF
26032
27262
rm -f conftest.$ac_objext conftest$ac_exeext
26033
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26034
 
  (eval $ac_link) 2>conftest.er1
 
27263
if { (ac_try="$ac_link"
 
27264
case "(($ac_try" in
 
27265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27266
  *) ac_try_echo=$ac_try;;
 
27267
esac
 
27268
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27269
  (eval "$ac_link") 2>conftest.er1
26035
27270
  ac_status=$?
26036
27271
  grep -v '^ *+' conftest.er1 >conftest.err
26037
27272
  rm -f conftest.er1
26038
27273
  cat conftest.err >&5
26039
27274
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040
 
  (exit $ac_status); } &&
26041
 
         { ac_try='test -z "$ac_c_werror_flag"
26042
 
                         || test ! -s conftest.err'
26043
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044
 
  (eval $ac_try) 2>&5
26045
 
  ac_status=$?
26046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047
 
  (exit $ac_status); }; } &&
26048
 
         { ac_try='test -s conftest$ac_exeext'
26049
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050
 
  (eval $ac_try) 2>&5
26051
 
  ac_status=$?
26052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053
 
  (exit $ac_status); }; }; then
 
27275
  (exit $ac_status); } && {
 
27276
         test -z "$ac_c_werror_flag" ||
 
27277
         test ! -s conftest.err
 
27278
       } && test -s conftest$ac_exeext &&
 
27279
       $as_test_x conftest$ac_exeext; then
26054
27280
  ac_cv_lib_dl_dlopen=yes
26055
27281
else
26056
27282
  echo "$as_me: failed program was:" >&5
26057
27283
sed 's/^/| /' conftest.$ac_ext >&5
26058
27284
 
26059
 
ac_cv_lib_dl_dlopen=no
 
27285
        ac_cv_lib_dl_dlopen=no
26060
27286
fi
26061
 
rm -f conftest.err conftest.$ac_objext \
 
27287
 
 
27288
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26062
27289
      conftest$ac_exeext conftest.$ac_ext
26063
27290
LIBS=$ac_check_lib_save_LIBS
26064
27291
fi
26065
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26066
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
27292
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
27293
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
26067
27294
if test $ac_cv_lib_dl_dlopen = yes; then
26068
27295
 
26069
27296
LIBDL="-ldl"
26072
27299
fi
26073
27300
 
26074
27301
 
26075
 
echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
26076
 
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6
 
27302
{ echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
 
27303
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6; }
26077
27304
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
26078
27305
  echo $ECHO_N "(cached) $ECHO_C" >&6
26079
27306
else
26086
27313
cat >>conftest.$ac_ext <<_ACEOF
26087
27314
/* end confdefs.h.  */
26088
27315
 
26089
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
27316
/* Override any GCC internal prototype to avoid an error.
 
27317
   Use char because int might match the return type of a GCC
 
27318
   builtin and then its argument prototype would still apply.  */
26090
27319
#ifdef __cplusplus
26091
27320
extern "C"
26092
27321
#endif
26093
 
/* We use char because int might match the return type of a gcc2
26094
 
   builtin and then its argument prototype would still apply.  */
26095
27322
char shl_unload ();
26096
27323
int
26097
27324
main ()
26098
27325
{
26099
 
shl_unload ();
 
27326
return shl_unload ();
26100
27327
  ;
26101
27328
  return 0;
26102
27329
}
26103
27330
_ACEOF
26104
27331
rm -f conftest.$ac_objext conftest$ac_exeext
26105
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26106
 
  (eval $ac_link) 2>conftest.er1
 
27332
if { (ac_try="$ac_link"
 
27333
case "(($ac_try" in
 
27334
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27335
  *) ac_try_echo=$ac_try;;
 
27336
esac
 
27337
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27338
  (eval "$ac_link") 2>conftest.er1
26107
27339
  ac_status=$?
26108
27340
  grep -v '^ *+' conftest.er1 >conftest.err
26109
27341
  rm -f conftest.er1
26110
27342
  cat conftest.err >&5
26111
27343
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112
 
  (exit $ac_status); } &&
26113
 
         { ac_try='test -z "$ac_c_werror_flag"
26114
 
                         || test ! -s conftest.err'
26115
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26116
 
  (eval $ac_try) 2>&5
26117
 
  ac_status=$?
26118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119
 
  (exit $ac_status); }; } &&
26120
 
         { ac_try='test -s conftest$ac_exeext'
26121
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26122
 
  (eval $ac_try) 2>&5
26123
 
  ac_status=$?
26124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125
 
  (exit $ac_status); }; }; then
 
27344
  (exit $ac_status); } && {
 
27345
         test -z "$ac_c_werror_flag" ||
 
27346
         test ! -s conftest.err
 
27347
       } && test -s conftest$ac_exeext &&
 
27348
       $as_test_x conftest$ac_exeext; then
26126
27349
  ac_cv_lib_dld_shl_unload=yes
26127
27350
else
26128
27351
  echo "$as_me: failed program was:" >&5
26129
27352
sed 's/^/| /' conftest.$ac_ext >&5
26130
27353
 
26131
 
ac_cv_lib_dld_shl_unload=no
 
27354
        ac_cv_lib_dld_shl_unload=no
26132
27355
fi
26133
 
rm -f conftest.err conftest.$ac_objext \
 
27356
 
 
27357
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26134
27358
      conftest$ac_exeext conftest.$ac_ext
26135
27359
LIBS=$ac_check_lib_save_LIBS
26136
27360
fi
26137
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
26138
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6
 
27361
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
 
27362
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6; }
26139
27363
if test $ac_cv_lib_dld_shl_unload = yes; then
26140
27364
 
26141
27365
LIBDL="-ldld"
26149
27373
 
26150
27374
 
26151
27375
 
26152
 
  echo "$as_me:$LINENO: checking for size_t" >&5
26153
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
27376
  { echo "$as_me:$LINENO: checking for size_t" >&5
 
27377
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
26154
27378
if test "${ac_cv_type_size_t+set}" = set; then
26155
27379
  echo $ECHO_N "(cached) $ECHO_C" >&6
26156
27380
else
26161
27385
cat >>conftest.$ac_ext <<_ACEOF
26162
27386
/* end confdefs.h.  */
26163
27387
$ac_includes_default
 
27388
typedef size_t ac__type_new_;
26164
27389
int
26165
27390
main ()
26166
27391
{
26167
 
if ((size_t *) 0)
 
27392
if ((ac__type_new_ *) 0)
26168
27393
  return 0;
26169
 
if (sizeof (size_t))
 
27394
if (sizeof (ac__type_new_))
26170
27395
  return 0;
26171
27396
  ;
26172
27397
  return 0;
26173
27398
}
26174
27399
_ACEOF
26175
27400
rm -f conftest.$ac_objext
26176
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26177
 
  (eval $ac_compile) 2>conftest.er1
 
27401
if { (ac_try="$ac_compile"
 
27402
case "(($ac_try" in
 
27403
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27404
  *) ac_try_echo=$ac_try;;
 
27405
esac
 
27406
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27407
  (eval "$ac_compile") 2>conftest.er1
26178
27408
  ac_status=$?
26179
27409
  grep -v '^ *+' conftest.er1 >conftest.err
26180
27410
  rm -f conftest.er1
26181
27411
  cat conftest.err >&5
26182
27412
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26183
 
  (exit $ac_status); } &&
26184
 
         { ac_try='test -z "$ac_c_werror_flag"
26185
 
                         || test ! -s conftest.err'
26186
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26187
 
  (eval $ac_try) 2>&5
26188
 
  ac_status=$?
26189
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190
 
  (exit $ac_status); }; } &&
26191
 
         { ac_try='test -s conftest.$ac_objext'
26192
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26193
 
  (eval $ac_try) 2>&5
26194
 
  ac_status=$?
26195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26196
 
  (exit $ac_status); }; }; then
 
27413
  (exit $ac_status); } && {
 
27414
         test -z "$ac_c_werror_flag" ||
 
27415
         test ! -s conftest.err
 
27416
       } && test -s conftest.$ac_objext; then
26197
27417
  ac_cv_type_size_t=yes
26198
27418
else
26199
27419
  echo "$as_me: failed program was:" >&5
26200
27420
sed 's/^/| /' conftest.$ac_ext >&5
26201
27421
 
26202
 
ac_cv_type_size_t=no
26203
 
fi
26204
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26205
 
fi
26206
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26207
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
26208
 
 
26209
 
echo "$as_me:$LINENO: checking size of size_t" >&5
26210
 
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
 
27422
        ac_cv_type_size_t=no
 
27423
fi
 
27424
 
 
27425
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
27426
fi
 
27427
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
27428
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
 
27429
 
 
27430
# The cast to long int works around a bug in the HP C Compiler
 
27431
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
27432
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
27433
# This bug is HP SR number 8606223364.
 
27434
{ echo "$as_me:$LINENO: checking size of size_t" >&5
 
27435
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
26211
27436
if test "${ac_cv_sizeof_size_t+set}" = set; then
26212
27437
  echo $ECHO_N "(cached) $ECHO_C" >&6
26213
27438
else
26214
 
  if test "$ac_cv_type_size_t" = yes; then
26215
 
  # The cast to unsigned long works around a bug in the HP C Compiler
26216
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26217
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26218
 
  # This bug is HP SR number 8606223364.
26219
27439
  if test "$cross_compiling" = yes; then
26220
27440
  # Depending upon the size, compute the lo and hi bounds.
26221
27441
cat >conftest.$ac_ext <<_ACEOF
26225
27445
cat >>conftest.$ac_ext <<_ACEOF
26226
27446
/* end confdefs.h.  */
26227
27447
$ac_includes_default
 
27448
   typedef size_t ac__type_sizeof_;
26228
27449
int
26229
27450
main ()
26230
27451
{
26231
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
 
27452
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26232
27453
test_array [0] = 0
26233
27454
 
26234
27455
  ;
26236
27457
}
26237
27458
_ACEOF
26238
27459
rm -f conftest.$ac_objext
26239
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26240
 
  (eval $ac_compile) 2>conftest.er1
 
27460
if { (ac_try="$ac_compile"
 
27461
case "(($ac_try" in
 
27462
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27463
  *) ac_try_echo=$ac_try;;
 
27464
esac
 
27465
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27466
  (eval "$ac_compile") 2>conftest.er1
26241
27467
  ac_status=$?
26242
27468
  grep -v '^ *+' conftest.er1 >conftest.err
26243
27469
  rm -f conftest.er1
26244
27470
  cat conftest.err >&5
26245
27471
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26246
 
  (exit $ac_status); } &&
26247
 
         { ac_try='test -z "$ac_c_werror_flag"
26248
 
                         || test ! -s conftest.err'
26249
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250
 
  (eval $ac_try) 2>&5
26251
 
  ac_status=$?
26252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253
 
  (exit $ac_status); }; } &&
26254
 
         { ac_try='test -s conftest.$ac_objext'
26255
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256
 
  (eval $ac_try) 2>&5
26257
 
  ac_status=$?
26258
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259
 
  (exit $ac_status); }; }; then
 
27472
  (exit $ac_status); } && {
 
27473
         test -z "$ac_c_werror_flag" ||
 
27474
         test ! -s conftest.err
 
27475
       } && test -s conftest.$ac_objext; then
26260
27476
  ac_lo=0 ac_mid=0
26261
27477
  while :; do
26262
27478
    cat >conftest.$ac_ext <<_ACEOF
26266
27482
cat >>conftest.$ac_ext <<_ACEOF
26267
27483
/* end confdefs.h.  */
26268
27484
$ac_includes_default
 
27485
   typedef size_t ac__type_sizeof_;
26269
27486
int
26270
27487
main ()
26271
27488
{
26272
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
 
27489
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26273
27490
test_array [0] = 0
26274
27491
 
26275
27492
  ;
26277
27494
}
26278
27495
_ACEOF
26279
27496
rm -f conftest.$ac_objext
26280
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26281
 
  (eval $ac_compile) 2>conftest.er1
 
27497
if { (ac_try="$ac_compile"
 
27498
case "(($ac_try" in
 
27499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27500
  *) ac_try_echo=$ac_try;;
 
27501
esac
 
27502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27503
  (eval "$ac_compile") 2>conftest.er1
26282
27504
  ac_status=$?
26283
27505
  grep -v '^ *+' conftest.er1 >conftest.err
26284
27506
  rm -f conftest.er1
26285
27507
  cat conftest.err >&5
26286
27508
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26287
 
  (exit $ac_status); } &&
26288
 
         { ac_try='test -z "$ac_c_werror_flag"
26289
 
                         || test ! -s conftest.err'
26290
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26291
 
  (eval $ac_try) 2>&5
26292
 
  ac_status=$?
26293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26294
 
  (exit $ac_status); }; } &&
26295
 
         { ac_try='test -s conftest.$ac_objext'
26296
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26297
 
  (eval $ac_try) 2>&5
26298
 
  ac_status=$?
26299
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300
 
  (exit $ac_status); }; }; then
 
27509
  (exit $ac_status); } && {
 
27510
         test -z "$ac_c_werror_flag" ||
 
27511
         test ! -s conftest.err
 
27512
       } && test -s conftest.$ac_objext; then
26301
27513
  ac_hi=$ac_mid; break
26302
27514
else
26303
27515
  echo "$as_me: failed program was:" >&5
26304
27516
sed 's/^/| /' conftest.$ac_ext >&5
26305
27517
 
26306
 
ac_lo=`expr $ac_mid + 1`
26307
 
                    if test $ac_lo -le $ac_mid; then
26308
 
                      ac_lo= ac_hi=
26309
 
                      break
26310
 
                    fi
26311
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
27518
        ac_lo=`expr $ac_mid + 1`
 
27519
                        if test $ac_lo -le $ac_mid; then
 
27520
                          ac_lo= ac_hi=
 
27521
                          break
 
27522
                        fi
 
27523
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26312
27524
fi
26313
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27525
 
 
27526
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26314
27527
  done
26315
27528
else
26316
27529
  echo "$as_me: failed program was:" >&5
26317
27530
sed 's/^/| /' conftest.$ac_ext >&5
26318
27531
 
26319
 
cat >conftest.$ac_ext <<_ACEOF
 
27532
        cat >conftest.$ac_ext <<_ACEOF
26320
27533
/* confdefs.h.  */
26321
27534
_ACEOF
26322
27535
cat confdefs.h >>conftest.$ac_ext
26323
27536
cat >>conftest.$ac_ext <<_ACEOF
26324
27537
/* end confdefs.h.  */
26325
27538
$ac_includes_default
 
27539
   typedef size_t ac__type_sizeof_;
26326
27540
int
26327
27541
main ()
26328
27542
{
26329
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
 
27543
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26330
27544
test_array [0] = 0
26331
27545
 
26332
27546
  ;
26334
27548
}
26335
27549
_ACEOF
26336
27550
rm -f conftest.$ac_objext
26337
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26338
 
  (eval $ac_compile) 2>conftest.er1
 
27551
if { (ac_try="$ac_compile"
 
27552
case "(($ac_try" in
 
27553
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27554
  *) ac_try_echo=$ac_try;;
 
27555
esac
 
27556
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27557
  (eval "$ac_compile") 2>conftest.er1
26339
27558
  ac_status=$?
26340
27559
  grep -v '^ *+' conftest.er1 >conftest.err
26341
27560
  rm -f conftest.er1
26342
27561
  cat conftest.err >&5
26343
27562
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344
 
  (exit $ac_status); } &&
26345
 
         { ac_try='test -z "$ac_c_werror_flag"
26346
 
                         || test ! -s conftest.err'
26347
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26348
 
  (eval $ac_try) 2>&5
26349
 
  ac_status=$?
26350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351
 
  (exit $ac_status); }; } &&
26352
 
         { ac_try='test -s conftest.$ac_objext'
26353
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26354
 
  (eval $ac_try) 2>&5
26355
 
  ac_status=$?
26356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357
 
  (exit $ac_status); }; }; then
 
27563
  (exit $ac_status); } && {
 
27564
         test -z "$ac_c_werror_flag" ||
 
27565
         test ! -s conftest.err
 
27566
       } && test -s conftest.$ac_objext; then
26358
27567
  ac_hi=-1 ac_mid=-1
26359
27568
  while :; do
26360
27569
    cat >conftest.$ac_ext <<_ACEOF
26364
27573
cat >>conftest.$ac_ext <<_ACEOF
26365
27574
/* end confdefs.h.  */
26366
27575
$ac_includes_default
 
27576
   typedef size_t ac__type_sizeof_;
26367
27577
int
26368
27578
main ()
26369
27579
{
26370
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
 
27580
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26371
27581
test_array [0] = 0
26372
27582
 
26373
27583
  ;
26375
27585
}
26376
27586
_ACEOF
26377
27587
rm -f conftest.$ac_objext
26378
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26379
 
  (eval $ac_compile) 2>conftest.er1
 
27588
if { (ac_try="$ac_compile"
 
27589
case "(($ac_try" in
 
27590
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27591
  *) ac_try_echo=$ac_try;;
 
27592
esac
 
27593
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27594
  (eval "$ac_compile") 2>conftest.er1
26380
27595
  ac_status=$?
26381
27596
  grep -v '^ *+' conftest.er1 >conftest.err
26382
27597
  rm -f conftest.er1
26383
27598
  cat conftest.err >&5
26384
27599
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385
 
  (exit $ac_status); } &&
26386
 
         { ac_try='test -z "$ac_c_werror_flag"
26387
 
                         || test ! -s conftest.err'
26388
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26389
 
  (eval $ac_try) 2>&5
26390
 
  ac_status=$?
26391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392
 
  (exit $ac_status); }; } &&
26393
 
         { ac_try='test -s conftest.$ac_objext'
26394
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26395
 
  (eval $ac_try) 2>&5
26396
 
  ac_status=$?
26397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26398
 
  (exit $ac_status); }; }; then
 
27600
  (exit $ac_status); } && {
 
27601
         test -z "$ac_c_werror_flag" ||
 
27602
         test ! -s conftest.err
 
27603
       } && test -s conftest.$ac_objext; then
26399
27604
  ac_lo=$ac_mid; break
26400
27605
else
26401
27606
  echo "$as_me: failed program was:" >&5
26402
27607
sed 's/^/| /' conftest.$ac_ext >&5
26403
27608
 
26404
 
ac_hi=`expr '(' $ac_mid ')' - 1`
26405
 
                       if test $ac_mid -le $ac_hi; then
26406
 
                         ac_lo= ac_hi=
26407
 
                         break
26408
 
                       fi
26409
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
27609
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
27610
                        if test $ac_mid -le $ac_hi; then
 
27611
                          ac_lo= ac_hi=
 
27612
                          break
 
27613
                        fi
 
27614
                        ac_mid=`expr 2 '*' $ac_mid`
26410
27615
fi
26411
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27616
 
 
27617
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26412
27618
  done
26413
27619
else
26414
27620
  echo "$as_me: failed program was:" >&5
26415
27621
sed 's/^/| /' conftest.$ac_ext >&5
26416
27622
 
26417
 
ac_lo= ac_hi=
26418
 
fi
26419
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26420
 
fi
26421
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27623
        ac_lo= ac_hi=
 
27624
fi
 
27625
 
 
27626
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
27627
fi
 
27628
 
 
27629
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26422
27630
# Binary search between lo and hi bounds.
26423
27631
while test "x$ac_lo" != "x$ac_hi"; do
26424
27632
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26429
27637
cat >>conftest.$ac_ext <<_ACEOF
26430
27638
/* end confdefs.h.  */
26431
27639
$ac_includes_default
 
27640
   typedef size_t ac__type_sizeof_;
26432
27641
int
26433
27642
main ()
26434
27643
{
26435
 
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
 
27644
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26436
27645
test_array [0] = 0
26437
27646
 
26438
27647
  ;
26440
27649
}
26441
27650
_ACEOF
26442
27651
rm -f conftest.$ac_objext
26443
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26444
 
  (eval $ac_compile) 2>conftest.er1
 
27652
if { (ac_try="$ac_compile"
 
27653
case "(($ac_try" in
 
27654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27655
  *) ac_try_echo=$ac_try;;
 
27656
esac
 
27657
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27658
  (eval "$ac_compile") 2>conftest.er1
26445
27659
  ac_status=$?
26446
27660
  grep -v '^ *+' conftest.er1 >conftest.err
26447
27661
  rm -f conftest.er1
26448
27662
  cat conftest.err >&5
26449
27663
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450
 
  (exit $ac_status); } &&
26451
 
         { ac_try='test -z "$ac_c_werror_flag"
26452
 
                         || test ! -s conftest.err'
26453
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26454
 
  (eval $ac_try) 2>&5
26455
 
  ac_status=$?
26456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457
 
  (exit $ac_status); }; } &&
26458
 
         { ac_try='test -s conftest.$ac_objext'
26459
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26460
 
  (eval $ac_try) 2>&5
26461
 
  ac_status=$?
26462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463
 
  (exit $ac_status); }; }; then
 
27664
  (exit $ac_status); } && {
 
27665
         test -z "$ac_c_werror_flag" ||
 
27666
         test ! -s conftest.err
 
27667
       } && test -s conftest.$ac_objext; then
26464
27668
  ac_hi=$ac_mid
26465
27669
else
26466
27670
  echo "$as_me: failed program was:" >&5
26467
27671
sed 's/^/| /' conftest.$ac_ext >&5
26468
27672
 
26469
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
27673
        ac_lo=`expr '(' $ac_mid ')' + 1`
26470
27674
fi
26471
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27675
 
 
27676
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26472
27677
done
26473
27678
case $ac_lo in
26474
27679
?*) ac_cv_sizeof_size_t=$ac_lo;;
26475
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
 
27680
'') if test "$ac_cv_type_size_t" = yes; then
 
27681
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
26476
27682
See \`config.log' for more details." >&5
26477
 
echo "$as_me: error: cannot compute sizeof (size_t), 77
 
27683
echo "$as_me: error: cannot compute sizeof (size_t)
26478
27684
See \`config.log' for more details." >&2;}
26479
 
   { (exit 1); exit 1; }; } ;;
 
27685
   { (exit 77); exit 77; }; }
 
27686
   else
 
27687
     ac_cv_sizeof_size_t=0
 
27688
   fi ;;
26480
27689
esac
26481
27690
else
26482
 
  if test "$cross_compiling" = yes; then
26483
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26484
 
See \`config.log' for more details." >&5
26485
 
echo "$as_me: error: cannot run test program while cross compiling
26486
 
See \`config.log' for more details." >&2;}
26487
 
   { (exit 1); exit 1; }; }
26488
 
else
26489
27691
  cat >conftest.$ac_ext <<_ACEOF
26490
27692
/* confdefs.h.  */
26491
27693
_ACEOF
26493
27695
cat >>conftest.$ac_ext <<_ACEOF
26494
27696
/* end confdefs.h.  */
26495
27697
$ac_includes_default
26496
 
long longval () { return (long) (sizeof (size_t)); }
26497
 
unsigned long ulongval () { return (long) (sizeof (size_t)); }
 
27698
   typedef size_t ac__type_sizeof_;
 
27699
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
27700
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26498
27701
#include <stdio.h>
26499
27702
#include <stdlib.h>
26500
27703
int
26503
27706
 
26504
27707
  FILE *f = fopen ("conftest.val", "w");
26505
27708
  if (! f)
26506
 
    exit (1);
26507
 
  if (((long) (sizeof (size_t))) < 0)
 
27709
    return 1;
 
27710
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26508
27711
    {
26509
 
      long i = longval ();
26510
 
      if (i != ((long) (sizeof (size_t))))
26511
 
        exit (1);
 
27712
      long int i = longval ();
 
27713
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
27714
        return 1;
26512
27715
      fprintf (f, "%ld\n", i);
26513
27716
    }
26514
27717
  else
26515
27718
    {
26516
 
      unsigned long i = ulongval ();
26517
 
      if (i != ((long) (sizeof (size_t))))
26518
 
        exit (1);
 
27719
      unsigned long int i = ulongval ();
 
27720
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
27721
        return 1;
26519
27722
      fprintf (f, "%lu\n", i);
26520
27723
    }
26521
 
  exit (ferror (f) || fclose (f) != 0);
 
27724
  return ferror (f) || fclose (f) != 0;
26522
27725
 
26523
27726
  ;
26524
27727
  return 0;
26525
27728
}
26526
27729
_ACEOF
26527
27730
rm -f conftest$ac_exeext
26528
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26529
 
  (eval $ac_link) 2>&5
 
27731
if { (ac_try="$ac_link"
 
27732
case "(($ac_try" in
 
27733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27734
  *) ac_try_echo=$ac_try;;
 
27735
esac
 
27736
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27737
  (eval "$ac_link") 2>&5
26530
27738
  ac_status=$?
26531
27739
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532
27740
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26533
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26534
 
  (eval $ac_try) 2>&5
 
27741
  { (case "(($ac_try" in
 
27742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27743
  *) ac_try_echo=$ac_try;;
 
27744
esac
 
27745
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27746
  (eval "$ac_try") 2>&5
26535
27747
  ac_status=$?
26536
27748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537
27749
  (exit $ac_status); }; }; then
26542
27754
sed 's/^/| /' conftest.$ac_ext >&5
26543
27755
 
26544
27756
( exit $ac_status )
26545
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
 
27757
if test "$ac_cv_type_size_t" = yes; then
 
27758
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
26546
27759
See \`config.log' for more details." >&5
26547
 
echo "$as_me: error: cannot compute sizeof (size_t), 77
 
27760
echo "$as_me: error: cannot compute sizeof (size_t)
26548
27761
See \`config.log' for more details." >&2;}
26549
 
   { (exit 1); exit 1; }; }
26550
 
fi
26551
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26552
 
fi
 
27762
   { (exit 77); exit 77; }; }
 
27763
   else
 
27764
     ac_cv_sizeof_size_t=0
 
27765
   fi
 
27766
fi
 
27767
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26553
27768
fi
26554
27769
rm -f conftest.val
26555
 
else
26556
 
  ac_cv_sizeof_size_t=0
26557
 
fi
26558
 
fi
26559
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
26560
 
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
 
27770
fi
 
27771
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
 
27772
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
 
27773
 
 
27774
 
 
27775
 
26561
27776
cat >>confdefs.h <<_ACEOF
26562
27777
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
26563
27778
_ACEOF
26564
27779
 
26565
27780
 
26566
 
  echo "$as_me:$LINENO: checking for unsigned long" >&5
26567
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
 
27781
  { echo "$as_me:$LINENO: checking for unsigned long" >&5
 
27782
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
26568
27783
if test "${ac_cv_type_unsigned_long+set}" = set; then
26569
27784
  echo $ECHO_N "(cached) $ECHO_C" >&6
26570
27785
else
26575
27790
cat >>conftest.$ac_ext <<_ACEOF
26576
27791
/* end confdefs.h.  */
26577
27792
$ac_includes_default
 
27793
typedef unsigned long ac__type_new_;
26578
27794
int
26579
27795
main ()
26580
27796
{
26581
 
if ((unsigned long *) 0)
 
27797
if ((ac__type_new_ *) 0)
26582
27798
  return 0;
26583
 
if (sizeof (unsigned long))
 
27799
if (sizeof (ac__type_new_))
26584
27800
  return 0;
26585
27801
  ;
26586
27802
  return 0;
26587
27803
}
26588
27804
_ACEOF
26589
27805
rm -f conftest.$ac_objext
26590
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26591
 
  (eval $ac_compile) 2>conftest.er1
 
27806
if { (ac_try="$ac_compile"
 
27807
case "(($ac_try" in
 
27808
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27809
  *) ac_try_echo=$ac_try;;
 
27810
esac
 
27811
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27812
  (eval "$ac_compile") 2>conftest.er1
26592
27813
  ac_status=$?
26593
27814
  grep -v '^ *+' conftest.er1 >conftest.err
26594
27815
  rm -f conftest.er1
26595
27816
  cat conftest.err >&5
26596
27817
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597
 
  (exit $ac_status); } &&
26598
 
         { ac_try='test -z "$ac_c_werror_flag"
26599
 
                         || test ! -s conftest.err'
26600
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601
 
  (eval $ac_try) 2>&5
26602
 
  ac_status=$?
26603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604
 
  (exit $ac_status); }; } &&
26605
 
         { ac_try='test -s conftest.$ac_objext'
26606
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26607
 
  (eval $ac_try) 2>&5
26608
 
  ac_status=$?
26609
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610
 
  (exit $ac_status); }; }; then
 
27818
  (exit $ac_status); } && {
 
27819
         test -z "$ac_c_werror_flag" ||
 
27820
         test ! -s conftest.err
 
27821
       } && test -s conftest.$ac_objext; then
26611
27822
  ac_cv_type_unsigned_long=yes
26612
27823
else
26613
27824
  echo "$as_me: failed program was:" >&5
26614
27825
sed 's/^/| /' conftest.$ac_ext >&5
26615
27826
 
26616
 
ac_cv_type_unsigned_long=no
26617
 
fi
26618
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26619
 
fi
26620
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
26621
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
26622
 
 
26623
 
echo "$as_me:$LINENO: checking size of unsigned long" >&5
26624
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
 
27827
        ac_cv_type_unsigned_long=no
 
27828
fi
 
27829
 
 
27830
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
27831
fi
 
27832
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
 
27833
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
 
27834
 
 
27835
# The cast to long int works around a bug in the HP C Compiler
 
27836
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
27837
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
27838
# This bug is HP SR number 8606223364.
 
27839
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
 
27840
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
26625
27841
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
26626
27842
  echo $ECHO_N "(cached) $ECHO_C" >&6
26627
27843
else
26628
 
  if test "$ac_cv_type_unsigned_long" = yes; then
26629
 
  # The cast to unsigned long works around a bug in the HP C Compiler
26630
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26631
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26632
 
  # This bug is HP SR number 8606223364.
26633
27844
  if test "$cross_compiling" = yes; then
26634
27845
  # Depending upon the size, compute the lo and hi bounds.
26635
27846
cat >conftest.$ac_ext <<_ACEOF
26639
27850
cat >>conftest.$ac_ext <<_ACEOF
26640
27851
/* end confdefs.h.  */
26641
27852
$ac_includes_default
 
27853
   typedef unsigned long ac__type_sizeof_;
26642
27854
int
26643
27855
main ()
26644
27856
{
26645
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
 
27857
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26646
27858
test_array [0] = 0
26647
27859
 
26648
27860
  ;
26650
27862
}
26651
27863
_ACEOF
26652
27864
rm -f conftest.$ac_objext
26653
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26654
 
  (eval $ac_compile) 2>conftest.er1
 
27865
if { (ac_try="$ac_compile"
 
27866
case "(($ac_try" in
 
27867
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27868
  *) ac_try_echo=$ac_try;;
 
27869
esac
 
27870
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27871
  (eval "$ac_compile") 2>conftest.er1
26655
27872
  ac_status=$?
26656
27873
  grep -v '^ *+' conftest.er1 >conftest.err
26657
27874
  rm -f conftest.er1
26658
27875
  cat conftest.err >&5
26659
27876
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660
 
  (exit $ac_status); } &&
26661
 
         { ac_try='test -z "$ac_c_werror_flag"
26662
 
                         || test ! -s conftest.err'
26663
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26664
 
  (eval $ac_try) 2>&5
26665
 
  ac_status=$?
26666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667
 
  (exit $ac_status); }; } &&
26668
 
         { ac_try='test -s conftest.$ac_objext'
26669
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26670
 
  (eval $ac_try) 2>&5
26671
 
  ac_status=$?
26672
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673
 
  (exit $ac_status); }; }; then
 
27877
  (exit $ac_status); } && {
 
27878
         test -z "$ac_c_werror_flag" ||
 
27879
         test ! -s conftest.err
 
27880
       } && test -s conftest.$ac_objext; then
26674
27881
  ac_lo=0 ac_mid=0
26675
27882
  while :; do
26676
27883
    cat >conftest.$ac_ext <<_ACEOF
26680
27887
cat >>conftest.$ac_ext <<_ACEOF
26681
27888
/* end confdefs.h.  */
26682
27889
$ac_includes_default
 
27890
   typedef unsigned long ac__type_sizeof_;
26683
27891
int
26684
27892
main ()
26685
27893
{
26686
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
27894
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26687
27895
test_array [0] = 0
26688
27896
 
26689
27897
  ;
26691
27899
}
26692
27900
_ACEOF
26693
27901
rm -f conftest.$ac_objext
26694
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26695
 
  (eval $ac_compile) 2>conftest.er1
 
27902
if { (ac_try="$ac_compile"
 
27903
case "(($ac_try" in
 
27904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27905
  *) ac_try_echo=$ac_try;;
 
27906
esac
 
27907
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27908
  (eval "$ac_compile") 2>conftest.er1
26696
27909
  ac_status=$?
26697
27910
  grep -v '^ *+' conftest.er1 >conftest.err
26698
27911
  rm -f conftest.er1
26699
27912
  cat conftest.err >&5
26700
27913
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701
 
  (exit $ac_status); } &&
26702
 
         { ac_try='test -z "$ac_c_werror_flag"
26703
 
                         || test ! -s conftest.err'
26704
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26705
 
  (eval $ac_try) 2>&5
26706
 
  ac_status=$?
26707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708
 
  (exit $ac_status); }; } &&
26709
 
         { ac_try='test -s conftest.$ac_objext'
26710
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26711
 
  (eval $ac_try) 2>&5
26712
 
  ac_status=$?
26713
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26714
 
  (exit $ac_status); }; }; then
 
27914
  (exit $ac_status); } && {
 
27915
         test -z "$ac_c_werror_flag" ||
 
27916
         test ! -s conftest.err
 
27917
       } && test -s conftest.$ac_objext; then
26715
27918
  ac_hi=$ac_mid; break
26716
27919
else
26717
27920
  echo "$as_me: failed program was:" >&5
26718
27921
sed 's/^/| /' conftest.$ac_ext >&5
26719
27922
 
26720
 
ac_lo=`expr $ac_mid + 1`
26721
 
                    if test $ac_lo -le $ac_mid; then
26722
 
                      ac_lo= ac_hi=
26723
 
                      break
26724
 
                    fi
26725
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
27923
        ac_lo=`expr $ac_mid + 1`
 
27924
                        if test $ac_lo -le $ac_mid; then
 
27925
                          ac_lo= ac_hi=
 
27926
                          break
 
27927
                        fi
 
27928
                        ac_mid=`expr 2 '*' $ac_mid + 1`
26726
27929
fi
26727
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27930
 
 
27931
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26728
27932
  done
26729
27933
else
26730
27934
  echo "$as_me: failed program was:" >&5
26731
27935
sed 's/^/| /' conftest.$ac_ext >&5
26732
27936
 
26733
 
cat >conftest.$ac_ext <<_ACEOF
 
27937
        cat >conftest.$ac_ext <<_ACEOF
26734
27938
/* confdefs.h.  */
26735
27939
_ACEOF
26736
27940
cat confdefs.h >>conftest.$ac_ext
26737
27941
cat >>conftest.$ac_ext <<_ACEOF
26738
27942
/* end confdefs.h.  */
26739
27943
$ac_includes_default
 
27944
   typedef unsigned long ac__type_sizeof_;
26740
27945
int
26741
27946
main ()
26742
27947
{
26743
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
 
27948
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26744
27949
test_array [0] = 0
26745
27950
 
26746
27951
  ;
26748
27953
}
26749
27954
_ACEOF
26750
27955
rm -f conftest.$ac_objext
26751
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26752
 
  (eval $ac_compile) 2>conftest.er1
 
27956
if { (ac_try="$ac_compile"
 
27957
case "(($ac_try" in
 
27958
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27959
  *) ac_try_echo=$ac_try;;
 
27960
esac
 
27961
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27962
  (eval "$ac_compile") 2>conftest.er1
26753
27963
  ac_status=$?
26754
27964
  grep -v '^ *+' conftest.er1 >conftest.err
26755
27965
  rm -f conftest.er1
26756
27966
  cat conftest.err >&5
26757
27967
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758
 
  (exit $ac_status); } &&
26759
 
         { ac_try='test -z "$ac_c_werror_flag"
26760
 
                         || test ! -s conftest.err'
26761
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26762
 
  (eval $ac_try) 2>&5
26763
 
  ac_status=$?
26764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765
 
  (exit $ac_status); }; } &&
26766
 
         { ac_try='test -s conftest.$ac_objext'
26767
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26768
 
  (eval $ac_try) 2>&5
26769
 
  ac_status=$?
26770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771
 
  (exit $ac_status); }; }; then
 
27968
  (exit $ac_status); } && {
 
27969
         test -z "$ac_c_werror_flag" ||
 
27970
         test ! -s conftest.err
 
27971
       } && test -s conftest.$ac_objext; then
26772
27972
  ac_hi=-1 ac_mid=-1
26773
27973
  while :; do
26774
27974
    cat >conftest.$ac_ext <<_ACEOF
26778
27978
cat >>conftest.$ac_ext <<_ACEOF
26779
27979
/* end confdefs.h.  */
26780
27980
$ac_includes_default
 
27981
   typedef unsigned long ac__type_sizeof_;
26781
27982
int
26782
27983
main ()
26783
27984
{
26784
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
 
27985
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26785
27986
test_array [0] = 0
26786
27987
 
26787
27988
  ;
26789
27990
}
26790
27991
_ACEOF
26791
27992
rm -f conftest.$ac_objext
26792
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26793
 
  (eval $ac_compile) 2>conftest.er1
 
27993
if { (ac_try="$ac_compile"
 
27994
case "(($ac_try" in
 
27995
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
27996
  *) ac_try_echo=$ac_try;;
 
27997
esac
 
27998
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
27999
  (eval "$ac_compile") 2>conftest.er1
26794
28000
  ac_status=$?
26795
28001
  grep -v '^ *+' conftest.er1 >conftest.err
26796
28002
  rm -f conftest.er1
26797
28003
  cat conftest.err >&5
26798
28004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799
 
  (exit $ac_status); } &&
26800
 
         { ac_try='test -z "$ac_c_werror_flag"
26801
 
                         || test ! -s conftest.err'
26802
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26803
 
  (eval $ac_try) 2>&5
26804
 
  ac_status=$?
26805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26806
 
  (exit $ac_status); }; } &&
26807
 
         { ac_try='test -s conftest.$ac_objext'
26808
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26809
 
  (eval $ac_try) 2>&5
26810
 
  ac_status=$?
26811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26812
 
  (exit $ac_status); }; }; then
 
28005
  (exit $ac_status); } && {
 
28006
         test -z "$ac_c_werror_flag" ||
 
28007
         test ! -s conftest.err
 
28008
       } && test -s conftest.$ac_objext; then
26813
28009
  ac_lo=$ac_mid; break
26814
28010
else
26815
28011
  echo "$as_me: failed program was:" >&5
26816
28012
sed 's/^/| /' conftest.$ac_ext >&5
26817
28013
 
26818
 
ac_hi=`expr '(' $ac_mid ')' - 1`
26819
 
                       if test $ac_mid -le $ac_hi; then
26820
 
                         ac_lo= ac_hi=
26821
 
                         break
26822
 
                       fi
26823
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
28014
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
28015
                        if test $ac_mid -le $ac_hi; then
 
28016
                          ac_lo= ac_hi=
 
28017
                          break
 
28018
                        fi
 
28019
                        ac_mid=`expr 2 '*' $ac_mid`
26824
28020
fi
26825
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28021
 
 
28022
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26826
28023
  done
26827
28024
else
26828
28025
  echo "$as_me: failed program was:" >&5
26829
28026
sed 's/^/| /' conftest.$ac_ext >&5
26830
28027
 
26831
 
ac_lo= ac_hi=
26832
 
fi
26833
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26834
 
fi
26835
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28028
        ac_lo= ac_hi=
 
28029
fi
 
28030
 
 
28031
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
28032
fi
 
28033
 
 
28034
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26836
28035
# Binary search between lo and hi bounds.
26837
28036
while test "x$ac_lo" != "x$ac_hi"; do
26838
28037
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26843
28042
cat >>conftest.$ac_ext <<_ACEOF
26844
28043
/* end confdefs.h.  */
26845
28044
$ac_includes_default
 
28045
   typedef unsigned long ac__type_sizeof_;
26846
28046
int
26847
28047
main ()
26848
28048
{
26849
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
28049
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26850
28050
test_array [0] = 0
26851
28051
 
26852
28052
  ;
26854
28054
}
26855
28055
_ACEOF
26856
28056
rm -f conftest.$ac_objext
26857
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26858
 
  (eval $ac_compile) 2>conftest.er1
 
28057
if { (ac_try="$ac_compile"
 
28058
case "(($ac_try" in
 
28059
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28060
  *) ac_try_echo=$ac_try;;
 
28061
esac
 
28062
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28063
  (eval "$ac_compile") 2>conftest.er1
26859
28064
  ac_status=$?
26860
28065
  grep -v '^ *+' conftest.er1 >conftest.err
26861
28066
  rm -f conftest.er1
26862
28067
  cat conftest.err >&5
26863
28068
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864
 
  (exit $ac_status); } &&
26865
 
         { ac_try='test -z "$ac_c_werror_flag"
26866
 
                         || test ! -s conftest.err'
26867
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26868
 
  (eval $ac_try) 2>&5
26869
 
  ac_status=$?
26870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871
 
  (exit $ac_status); }; } &&
26872
 
         { ac_try='test -s conftest.$ac_objext'
26873
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26874
 
  (eval $ac_try) 2>&5
26875
 
  ac_status=$?
26876
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877
 
  (exit $ac_status); }; }; then
 
28069
  (exit $ac_status); } && {
 
28070
         test -z "$ac_c_werror_flag" ||
 
28071
         test ! -s conftest.err
 
28072
       } && test -s conftest.$ac_objext; then
26878
28073
  ac_hi=$ac_mid
26879
28074
else
26880
28075
  echo "$as_me: failed program was:" >&5
26881
28076
sed 's/^/| /' conftest.$ac_ext >&5
26882
28077
 
26883
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
28078
        ac_lo=`expr '(' $ac_mid ')' + 1`
26884
28079
fi
26885
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28080
 
 
28081
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26886
28082
done
26887
28083
case $ac_lo in
26888
28084
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
26889
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
28085
'') if test "$ac_cv_type_unsigned_long" = yes; then
 
28086
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
26890
28087
See \`config.log' for more details." >&5
26891
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
28088
echo "$as_me: error: cannot compute sizeof (unsigned long)
26892
28089
See \`config.log' for more details." >&2;}
26893
 
   { (exit 1); exit 1; }; } ;;
 
28090
   { (exit 77); exit 77; }; }
 
28091
   else
 
28092
     ac_cv_sizeof_unsigned_long=0
 
28093
   fi ;;
26894
28094
esac
26895
28095
else
26896
 
  if test "$cross_compiling" = yes; then
26897
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26898
 
See \`config.log' for more details." >&5
26899
 
echo "$as_me: error: cannot run test program while cross compiling
26900
 
See \`config.log' for more details." >&2;}
26901
 
   { (exit 1); exit 1; }; }
26902
 
else
26903
28096
  cat >conftest.$ac_ext <<_ACEOF
26904
28097
/* confdefs.h.  */
26905
28098
_ACEOF
26907
28100
cat >>conftest.$ac_ext <<_ACEOF
26908
28101
/* end confdefs.h.  */
26909
28102
$ac_includes_default
26910
 
long longval () { return (long) (sizeof (unsigned long)); }
26911
 
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
 
28103
   typedef unsigned long ac__type_sizeof_;
 
28104
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
28105
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26912
28106
#include <stdio.h>
26913
28107
#include <stdlib.h>
26914
28108
int
26917
28111
 
26918
28112
  FILE *f = fopen ("conftest.val", "w");
26919
28113
  if (! f)
26920
 
    exit (1);
26921
 
  if (((long) (sizeof (unsigned long))) < 0)
 
28114
    return 1;
 
28115
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26922
28116
    {
26923
 
      long i = longval ();
26924
 
      if (i != ((long) (sizeof (unsigned long))))
26925
 
        exit (1);
 
28117
      long int i = longval ();
 
28118
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
28119
        return 1;
26926
28120
      fprintf (f, "%ld\n", i);
26927
28121
    }
26928
28122
  else
26929
28123
    {
26930
 
      unsigned long i = ulongval ();
26931
 
      if (i != ((long) (sizeof (unsigned long))))
26932
 
        exit (1);
 
28124
      unsigned long int i = ulongval ();
 
28125
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
28126
        return 1;
26933
28127
      fprintf (f, "%lu\n", i);
26934
28128
    }
26935
 
  exit (ferror (f) || fclose (f) != 0);
 
28129
  return ferror (f) || fclose (f) != 0;
26936
28130
 
26937
28131
  ;
26938
28132
  return 0;
26939
28133
}
26940
28134
_ACEOF
26941
28135
rm -f conftest$ac_exeext
26942
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26943
 
  (eval $ac_link) 2>&5
 
28136
if { (ac_try="$ac_link"
 
28137
case "(($ac_try" in
 
28138
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28139
  *) ac_try_echo=$ac_try;;
 
28140
esac
 
28141
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28142
  (eval "$ac_link") 2>&5
26944
28143
  ac_status=$?
26945
28144
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946
28145
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26947
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26948
 
  (eval $ac_try) 2>&5
 
28146
  { (case "(($ac_try" in
 
28147
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28148
  *) ac_try_echo=$ac_try;;
 
28149
esac
 
28150
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28151
  (eval "$ac_try") 2>&5
26949
28152
  ac_status=$?
26950
28153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26951
28154
  (exit $ac_status); }; }; then
26956
28159
sed 's/^/| /' conftest.$ac_ext >&5
26957
28160
 
26958
28161
( exit $ac_status )
26959
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
28162
if test "$ac_cv_type_unsigned_long" = yes; then
 
28163
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
26960
28164
See \`config.log' for more details." >&5
26961
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
28165
echo "$as_me: error: cannot compute sizeof (unsigned long)
26962
28166
See \`config.log' for more details." >&2;}
26963
 
   { (exit 1); exit 1; }; }
26964
 
fi
26965
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26966
 
fi
 
28167
   { (exit 77); exit 77; }; }
 
28168
   else
 
28169
     ac_cv_sizeof_unsigned_long=0
 
28170
   fi
 
28171
fi
 
28172
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26967
28173
fi
26968
28174
rm -f conftest.val
26969
 
else
26970
 
  ac_cv_sizeof_unsigned_long=0
26971
 
fi
26972
 
fi
26973
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
26974
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
 
28175
fi
 
28176
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
 
28177
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
 
28178
 
 
28179
 
 
28180
 
26975
28181
cat >>confdefs.h <<_ACEOF
26976
28182
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
26977
28183
_ACEOF
26978
28184
 
26979
28185
 
26980
28186
 
26981
 
  echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
26982
 
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6
 
28187
  { echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
 
28188
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6; }
26983
28189
  cat >conftest.$ac_ext <<_ACEOF
26984
28190
/* confdefs.h.  */
26985
28191
_ACEOF
27000
28206
}
27001
28207
_ACEOF
27002
28208
rm -f conftest.$ac_objext
27003
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27004
 
  (eval $ac_compile) 2>conftest.er1
 
28209
if { (ac_try="$ac_compile"
 
28210
case "(($ac_try" in
 
28211
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28212
  *) ac_try_echo=$ac_try;;
 
28213
esac
 
28214
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28215
  (eval "$ac_compile") 2>conftest.er1
27005
28216
  ac_status=$?
27006
28217
  grep -v '^ *+' conftest.er1 >conftest.err
27007
28218
  rm -f conftest.er1
27008
28219
  cat conftest.err >&5
27009
28220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27010
 
  (exit $ac_status); } &&
27011
 
         { ac_try='test -z "$ac_c_werror_flag"
27012
 
                         || test ! -s conftest.err'
27013
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27014
 
  (eval $ac_try) 2>&5
27015
 
  ac_status=$?
27016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017
 
  (exit $ac_status); }; } &&
27018
 
         { ac_try='test -s conftest.$ac_objext'
27019
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27020
 
  (eval $ac_try) 2>&5
27021
 
  ac_status=$?
27022
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023
 
  (exit $ac_status); }; }; then
27024
 
  echo "$as_me:$LINENO: result: yes" >&5
27025
 
echo "${ECHO_T}yes" >&6
 
28221
  (exit $ac_status); } && {
 
28222
         test -z "$ac_c_werror_flag" ||
 
28223
         test ! -s conftest.err
 
28224
       } && test -s conftest.$ac_objext; then
 
28225
  { echo "$as_me:$LINENO: result: yes" >&5
 
28226
echo "${ECHO_T}yes" >&6; }
27026
28227
else
27027
28228
  echo "$as_me: failed program was:" >&5
27028
28229
sed 's/^/| /' conftest.$ac_ext >&5
27029
28230
 
27030
28231
 
27031
 
      echo "$as_me:$LINENO: result: no" >&5
27032
 
echo "${ECHO_T}no" >&6
 
28232
      { echo "$as_me:$LINENO: result: no" >&5
 
28233
echo "${ECHO_T}no" >&6; }
27033
28234
      { { echo "$as_me:$LINENO: error:
27034
28235
       Apparently on your system our assumption sizeof size_t == sizeof unsigned long
27035
28236
       does not apply. Please mail kde-devel@kde.org with a description of your system!
27041
28242
   { (exit 1); exit 1; }; }
27042
28243
 
27043
28244
fi
27044
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
28245
 
 
28246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
28247
 
 
28248
 
 
28249
  { echo "$as_me:$LINENO: checking for PIE support" >&5
 
28250
echo $ECHO_N "checking for PIE support... $ECHO_C" >&6; }
 
28251
if test "${kde_cv_val_pie_support+set}" = set; then
 
28252
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28253
else
 
28254
 
 
28255
 
 
28256
     ac_ext=cpp
 
28257
ac_cpp='$CXXCPP $CPPFLAGS'
 
28258
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
28259
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
28260
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
28261
 
 
28262
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
28263
 
 
28264
 
 
28265
    safe_CXXFLAGS=$CXXFLAGS
 
28266
    safe_LDFLAGS=$LDFLAGS
 
28267
    CXXFLAGS="$CXXFLAGS -fPIE"
 
28268
    LDFLAGS="$LDFLAGS -pie"
 
28269
 
 
28270
    cat >conftest.$ac_ext <<_ACEOF
 
28271
/* confdefs.h.  */
 
28272
_ACEOF
 
28273
cat confdefs.h >>conftest.$ac_ext
 
28274
cat >>conftest.$ac_ext <<_ACEOF
 
28275
/* end confdefs.h.  */
 
28276
int foo;
 
28277
int
 
28278
main ()
 
28279
{
 
28280
 
 
28281
  ;
 
28282
  return 0;
 
28283
}
 
28284
_ACEOF
 
28285
rm -f conftest.$ac_objext conftest$ac_exeext
 
28286
if { (ac_try="$ac_link"
 
28287
case "(($ac_try" in
 
28288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28289
  *) ac_try_echo=$ac_try;;
 
28290
esac
 
28291
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28292
  (eval "$ac_link") 2>conftest.er1
 
28293
  ac_status=$?
 
28294
  grep -v '^ *+' conftest.er1 >conftest.err
 
28295
  rm -f conftest.er1
 
28296
  cat conftest.err >&5
 
28297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28298
  (exit $ac_status); } && {
 
28299
         test -z "$ac_cxx_werror_flag" ||
 
28300
         test ! -s conftest.err
 
28301
       } && test -s conftest$ac_exeext &&
 
28302
       $as_test_x conftest$ac_exeext; then
 
28303
  kde_cv_val_pie_support=yes
 
28304
else
 
28305
  echo "$as_me: failed program was:" >&5
 
28306
sed 's/^/| /' conftest.$ac_ext >&5
 
28307
 
 
28308
        kde_cv_val_pie_support=no
 
28309
fi
 
28310
 
 
28311
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
28312
      conftest$ac_exeext conftest.$ac_ext
 
28313
 
 
28314
    CXXFLAGS=$safe_CXXFLAGS
 
28315
    LDFLAGS=$safe_LDFLAGS
 
28316
    ac_ext=c
 
28317
ac_cpp='$CPP $CPPFLAGS'
 
28318
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
28319
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
28320
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
28321
 
 
28322
 
 
28323
fi
 
28324
{ echo "$as_me:$LINENO: result: $kde_cv_val_pie_support" >&5
 
28325
echo "${ECHO_T}$kde_cv_val_pie_support" >&6; }
 
28326
 
 
28327
  { echo "$as_me:$LINENO: checking if enabling -pie/fPIE support" >&5
 
28328
echo $ECHO_N "checking if enabling -pie/fPIE support... $ECHO_C" >&6; }
 
28329
 
 
28330
  # Check whether --enable-pie was given.
 
28331
if test "${enable_pie+set}" = set; then
 
28332
  enableval=$enable_pie; kde_has_pie_support=$enableval
 
28333
else
 
28334
  kde_has_pie_support=detect
 
28335
fi
 
28336
 
 
28337
 
 
28338
  if test "$kde_has_pie_support" = "detect"; then
 
28339
    kde_has_pie_support=$kde_cv_val_pie_support
 
28340
  fi
 
28341
 
 
28342
  { echo "$as_me:$LINENO: result: $kde_has_pie_support" >&5
 
28343
echo "${ECHO_T}$kde_has_pie_support" >&6; }
 
28344
 
 
28345
  KDE_USE_FPIE=""
 
28346
  KDE_USE_PIE=""
 
28347
 
 
28348
 
 
28349
 
 
28350
 
 
28351
  if test "$kde_has_pie_support" = "yes"; then
 
28352
    KDE_USE_FPIE="-fPIE"
 
28353
    KDE_USE_PIE="-pie"
 
28354
  fi
27045
28355
 
27046
28356
 
27047
28357
# darwin needs this to initialize the environment
27049
28359
for ac_header in crt_externs.h
27050
28360
do
27051
28361
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27052
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27053
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
27054
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27055
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
28362
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
28363
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
28364
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
28365
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27056
28366
  echo $ECHO_N "(cached) $ECHO_C" >&6
27057
28367
fi
27058
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27059
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
28368
ac_res=`eval echo '${'$as_ac_Header'}'`
 
28369
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
28370
echo "${ECHO_T}$ac_res" >&6; }
27060
28371
else
27061
28372
  # Is the header compilable?
27062
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
27063
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
28373
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
28374
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27064
28375
cat >conftest.$ac_ext <<_ACEOF
27065
28376
/* confdefs.h.  */
27066
28377
_ACEOF
27071
28382
#include <$ac_header>
27072
28383
_ACEOF
27073
28384
rm -f conftest.$ac_objext
27074
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27075
 
  (eval $ac_compile) 2>conftest.er1
 
28385
if { (ac_try="$ac_compile"
 
28386
case "(($ac_try" in
 
28387
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28388
  *) ac_try_echo=$ac_try;;
 
28389
esac
 
28390
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28391
  (eval "$ac_compile") 2>conftest.er1
27076
28392
  ac_status=$?
27077
28393
  grep -v '^ *+' conftest.er1 >conftest.err
27078
28394
  rm -f conftest.er1
27079
28395
  cat conftest.err >&5
27080
28396
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081
 
  (exit $ac_status); } &&
27082
 
         { ac_try='test -z "$ac_c_werror_flag"
27083
 
                         || test ! -s conftest.err'
27084
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085
 
  (eval $ac_try) 2>&5
27086
 
  ac_status=$?
27087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088
 
  (exit $ac_status); }; } &&
27089
 
         { ac_try='test -s conftest.$ac_objext'
27090
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27091
 
  (eval $ac_try) 2>&5
27092
 
  ac_status=$?
27093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094
 
  (exit $ac_status); }; }; then
 
28397
  (exit $ac_status); } && {
 
28398
         test -z "$ac_c_werror_flag" ||
 
28399
         test ! -s conftest.err
 
28400
       } && test -s conftest.$ac_objext; then
27095
28401
  ac_header_compiler=yes
27096
28402
else
27097
28403
  echo "$as_me: failed program was:" >&5
27098
28404
sed 's/^/| /' conftest.$ac_ext >&5
27099
28405
 
27100
 
ac_header_compiler=no
 
28406
        ac_header_compiler=no
27101
28407
fi
27102
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27103
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27104
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
28408
 
 
28409
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
28410
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
28411
echo "${ECHO_T}$ac_header_compiler" >&6; }
27105
28412
 
27106
28413
# Is the header present?
27107
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
27108
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
28414
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
28415
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27109
28416
cat >conftest.$ac_ext <<_ACEOF
27110
28417
/* confdefs.h.  */
27111
28418
_ACEOF
27114
28421
/* end confdefs.h.  */
27115
28422
#include <$ac_header>
27116
28423
_ACEOF
27117
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27118
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
28424
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
28425
case "(($ac_try" in
 
28426
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28427
  *) ac_try_echo=$ac_try;;
 
28428
esac
 
28429
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28430
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27119
28431
  ac_status=$?
27120
28432
  grep -v '^ *+' conftest.er1 >conftest.err
27121
28433
  rm -f conftest.er1
27122
28434
  cat conftest.err >&5
27123
28435
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124
 
  (exit $ac_status); } >/dev/null; then
27125
 
  if test -s conftest.err; then
27126
 
    ac_cpp_err=$ac_c_preproc_warn_flag
27127
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27128
 
  else
27129
 
    ac_cpp_err=
27130
 
  fi
27131
 
else
27132
 
  ac_cpp_err=yes
27133
 
fi
27134
 
if test -z "$ac_cpp_err"; then
 
28436
  (exit $ac_status); } >/dev/null && {
 
28437
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
28438
         test ! -s conftest.err
 
28439
       }; then
27135
28440
  ac_header_preproc=yes
27136
28441
else
27137
28442
  echo "$as_me: failed program was:" >&5
27139
28444
 
27140
28445
  ac_header_preproc=no
27141
28446
fi
 
28447
 
27142
28448
rm -f conftest.err conftest.$ac_ext
27143
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27144
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
28449
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
28450
echo "${ECHO_T}$ac_header_preproc" >&6; }
27145
28451
 
27146
28452
# So?  What about this header?
27147
28453
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27165
28471
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27166
28472
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27167
28473
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27168
 
    (
27169
 
      cat <<\_ASBOX
27170
 
## ------------------------------------------ ##
27171
 
## Report this to the AC_PACKAGE_NAME lists.  ##
27172
 
## ------------------------------------------ ##
27173
 
_ASBOX
27174
 
    ) |
27175
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
28474
 
27176
28475
    ;;
27177
28476
esac
27178
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
27179
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27180
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
28477
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
28478
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
28479
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27181
28480
  echo $ECHO_N "(cached) $ECHO_C" >&6
27182
28481
else
27183
28482
  eval "$as_ac_Header=\$ac_header_preproc"
27184
28483
fi
27185
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27186
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
28484
ac_res=`eval echo '${'$as_ac_Header'}'`
 
28485
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
28486
echo "${ECHO_T}$ac_res" >&6; }
27187
28487
 
27188
28488
fi
27189
28489
if test `eval echo '${'$as_ac_Header'}'` = yes; then
27195
28495
 
27196
28496
done
27197
28497
 
27198
 
echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
27199
 
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6
 
28498
{ echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
 
28499
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6; }
27200
28500
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
27201
28501
  echo $ECHO_N "(cached) $ECHO_C" >&6
27202
28502
else
27223
28523
 
27224
28524
#undef _NSGetEnviron
27225
28525
 
27226
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
28526
/* Override any GCC internal prototype to avoid an error.
 
28527
   Use char because int might match the return type of a GCC
 
28528
   builtin and then its argument prototype would still apply.  */
27227
28529
#ifdef __cplusplus
27228
28530
extern "C"
27229
 
{
27230
28531
#endif
27231
 
/* We use char because int might match the return type of a gcc2
27232
 
   builtin and then its argument prototype would still apply.  */
27233
28532
char _NSGetEnviron ();
27234
28533
/* The GNU C library defines this for functions which it implements
27235
28534
    to always fail with ENOSYS.  Some functions are actually named
27236
28535
    something starting with __ and the normal name is an alias.  */
27237
 
#if defined (__stub__NSGetEnviron) || defined (__stub____NSGetEnviron)
 
28536
#if defined __stub__NSGetEnviron || defined __stub____NSGetEnviron
27238
28537
choke me
27239
 
#else
27240
 
char (*f) () = _NSGetEnviron;
27241
 
#endif
27242
 
#ifdef __cplusplus
27243
 
}
27244
28538
#endif
27245
28539
 
27246
28540
int
27247
28541
main ()
27248
28542
{
27249
 
return f != _NSGetEnviron;
 
28543
return _NSGetEnviron ();
27250
28544
  ;
27251
28545
  return 0;
27252
28546
}
27253
28547
_ACEOF
27254
28548
rm -f conftest.$ac_objext conftest$ac_exeext
27255
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27256
 
  (eval $ac_link) 2>conftest.er1
 
28549
if { (ac_try="$ac_link"
 
28550
case "(($ac_try" in
 
28551
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28552
  *) ac_try_echo=$ac_try;;
 
28553
esac
 
28554
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28555
  (eval "$ac_link") 2>conftest.er1
27257
28556
  ac_status=$?
27258
28557
  grep -v '^ *+' conftest.er1 >conftest.err
27259
28558
  rm -f conftest.er1
27260
28559
  cat conftest.err >&5
27261
28560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262
 
  (exit $ac_status); } &&
27263
 
         { ac_try='test -z "$ac_c_werror_flag"
27264
 
                         || test ! -s conftest.err'
27265
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266
 
  (eval $ac_try) 2>&5
27267
 
  ac_status=$?
27268
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269
 
  (exit $ac_status); }; } &&
27270
 
         { ac_try='test -s conftest$ac_exeext'
27271
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27272
 
  (eval $ac_try) 2>&5
27273
 
  ac_status=$?
27274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275
 
  (exit $ac_status); }; }; then
 
28561
  (exit $ac_status); } && {
 
28562
         test -z "$ac_c_werror_flag" ||
 
28563
         test ! -s conftest.err
 
28564
       } && test -s conftest$ac_exeext &&
 
28565
       $as_test_x conftest$ac_exeext; then
27276
28566
  ac_cv_func__NSGetEnviron=yes
27277
28567
else
27278
28568
  echo "$as_me: failed program was:" >&5
27279
28569
sed 's/^/| /' conftest.$ac_ext >&5
27280
28570
 
27281
 
ac_cv_func__NSGetEnviron=no
 
28571
        ac_cv_func__NSGetEnviron=no
27282
28572
fi
27283
 
rm -f conftest.err conftest.$ac_objext \
 
28573
 
 
28574
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27284
28575
      conftest$ac_exeext conftest.$ac_ext
27285
28576
fi
27286
 
echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
27287
 
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6
 
28577
{ echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
 
28578
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6; }
27288
28579
if test $ac_cv_func__NSGetEnviron = yes; then
27289
28580
 
27290
28581
cat >>confdefs.h <<\_ACEOF
27305
28596
for ac_func in vsnprintf snprintf
27306
28597
do
27307
28598
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27308
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
27309
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27310
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
28599
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
28600
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
28601
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27311
28602
  echo $ECHO_N "(cached) $ECHO_C" >&6
27312
28603
else
27313
28604
  cat >conftest.$ac_ext <<_ACEOF
27333
28624
 
27334
28625
#undef $ac_func
27335
28626
 
27336
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
28627
/* Override any GCC internal prototype to avoid an error.
 
28628
   Use char because int might match the return type of a GCC
 
28629
   builtin and then its argument prototype would still apply.  */
27337
28630
#ifdef __cplusplus
27338
28631
extern "C"
27339
 
{
27340
28632
#endif
27341
 
/* We use char because int might match the return type of a gcc2
27342
 
   builtin and then its argument prototype would still apply.  */
27343
28633
char $ac_func ();
27344
28634
/* The GNU C library defines this for functions which it implements
27345
28635
    to always fail with ENOSYS.  Some functions are actually named
27346
28636
    something starting with __ and the normal name is an alias.  */
27347
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
28637
#if defined __stub_$ac_func || defined __stub___$ac_func
27348
28638
choke me
27349
 
#else
27350
 
char (*f) () = $ac_func;
27351
 
#endif
27352
 
#ifdef __cplusplus
27353
 
}
27354
28639
#endif
27355
28640
 
27356
28641
int
27357
28642
main ()
27358
28643
{
27359
 
return f != $ac_func;
 
28644
return $ac_func ();
27360
28645
  ;
27361
28646
  return 0;
27362
28647
}
27363
28648
_ACEOF
27364
28649
rm -f conftest.$ac_objext conftest$ac_exeext
27365
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27366
 
  (eval $ac_link) 2>conftest.er1
 
28650
if { (ac_try="$ac_link"
 
28651
case "(($ac_try" in
 
28652
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28653
  *) ac_try_echo=$ac_try;;
 
28654
esac
 
28655
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28656
  (eval "$ac_link") 2>conftest.er1
27367
28657
  ac_status=$?
27368
28658
  grep -v '^ *+' conftest.er1 >conftest.err
27369
28659
  rm -f conftest.er1
27370
28660
  cat conftest.err >&5
27371
28661
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372
 
  (exit $ac_status); } &&
27373
 
         { ac_try='test -z "$ac_c_werror_flag"
27374
 
                         || test ! -s conftest.err'
27375
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27376
 
  (eval $ac_try) 2>&5
27377
 
  ac_status=$?
27378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379
 
  (exit $ac_status); }; } &&
27380
 
         { ac_try='test -s conftest$ac_exeext'
27381
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27382
 
  (eval $ac_try) 2>&5
27383
 
  ac_status=$?
27384
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27385
 
  (exit $ac_status); }; }; then
 
28662
  (exit $ac_status); } && {
 
28663
         test -z "$ac_c_werror_flag" ||
 
28664
         test ! -s conftest.err
 
28665
       } && test -s conftest$ac_exeext &&
 
28666
       $as_test_x conftest$ac_exeext; then
27386
28667
  eval "$as_ac_var=yes"
27387
28668
else
27388
28669
  echo "$as_me: failed program was:" >&5
27389
28670
sed 's/^/| /' conftest.$ac_ext >&5
27390
28671
 
27391
 
eval "$as_ac_var=no"
 
28672
        eval "$as_ac_var=no"
27392
28673
fi
27393
 
rm -f conftest.err conftest.$ac_objext \
 
28674
 
 
28675
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27394
28676
      conftest$ac_exeext conftest.$ac_ext
27395
28677
fi
27396
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27397
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
28678
ac_res=`eval echo '${'$as_ac_var'}'`
 
28679
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
28680
echo "${ECHO_T}$ac_res" >&6; }
27398
28681
if test `eval echo '${'$as_ac_var'}'` = yes; then
27399
28682
  cat >>confdefs.h <<_ACEOF
27400
28683
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27411
28694
 
27412
28695
 
27413
28696
 
27414
 
# Check whether --enable-embedded or --disable-embedded was given.
 
28697
# Check whether --enable-embedded was given.
27415
28698
if test "${enable_embedded+set}" = set; then
27416
 
  enableval="$enable_embedded"
27417
 
  kde_use_qt_emb=$enableval
 
28699
  enableval=$enable_embedded; kde_use_qt_emb=$enableval
27418
28700
else
27419
28701
  kde_use_qt_emb=no
27420
28702
 
27421
 
fi;
27422
 
 
27423
 
# Check whether --enable-qtopia or --disable-qtopia was given.
 
28703
fi
 
28704
 
 
28705
 
 
28706
# Check whether --enable-qtopia was given.
27424
28707
if test "${enable_qtopia+set}" = set; then
27425
 
  enableval="$enable_qtopia"
27426
 
  kde_use_qt_emb_palm=$enableval
 
28708
  enableval=$enable_qtopia; kde_use_qt_emb_palm=$enableval
27427
28709
else
27428
28710
  kde_use_qt_emb_palm=no
27429
28711
 
27430
 
fi;
27431
 
 
27432
 
# Check whether --enable-mac or --disable-mac was given.
 
28712
fi
 
28713
 
 
28714
 
 
28715
# Check whether --enable-mac was given.
27433
28716
if test "${enable_mac+set}" = set; then
27434
 
  enableval="$enable_mac"
27435
 
  kde_use_qt_mac=$enableval
 
28717
  enableval=$enable_mac; kde_use_qt_mac=$enableval
27436
28718
else
27437
28719
  kde_use_qt_mac=no
27438
28720
 
27439
 
fi;
 
28721
fi
 
28722
 
 
28723
 
 
28724
# used to disable x11-specific stuff on special platforms
 
28725
 if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
 
28726
  include_x11_TRUE=
 
28727
  include_x11_FALSE='#'
 
28728
else
 
28729
  include_x11_TRUE='#'
 
28730
  include_x11_FALSE=
 
28731
fi
 
28732
 
27440
28733
 
27441
28734
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
27442
28735
 
27443
 
echo "$as_me:$LINENO: checking for X" >&5
27444
 
echo $ECHO_N "checking for X... $ECHO_C" >&6
 
28736
{ echo "$as_me:$LINENO: checking for X" >&5
 
28737
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
27445
28738
 
27446
28739
if test "${kde_cv_have_x+set}" = set; then
27447
28740
  echo $ECHO_N "(cached) $ECHO_C" >&6
27478
28771
/* end confdefs.h.  */
27479
28772
#include <$x_direct_test_include>
27480
28773
_ACEOF
27481
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27482
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
28774
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
28775
case "(($ac_try" in
 
28776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28777
  *) ac_try_echo=$ac_try;;
 
28778
esac
 
28779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28780
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27483
28781
  ac_status=$?
27484
28782
  grep -v '^ *+' conftest.er1 >conftest.err
27485
28783
  rm -f conftest.er1
27486
28784
  cat conftest.err >&5
27487
28785
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27488
 
  (exit $ac_status); } >/dev/null; then
27489
 
  if test -s conftest.err; then
27490
 
    ac_cpp_err=$ac_c_preproc_warn_flag
27491
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27492
 
  else
27493
 
    ac_cpp_err=
27494
 
  fi
27495
 
else
27496
 
  ac_cpp_err=yes
27497
 
fi
27498
 
if test -z "$ac_cpp_err"; then
 
28786
  (exit $ac_status); } >/dev/null && {
 
28787
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
28788
         test ! -s conftest.err
 
28789
       }; then
27499
28790
  # We can compile using X headers with no special include directory.
27500
28791
ac_x_includes=
27501
28792
else
27546
28837
    fi
27547
28838
  done
27548
28839
fi
 
28840
 
27549
28841
rm -f conftest.err conftest.$ac_ext
27550
28842
fi # $ac_x_includes = NO
27551
28843
 
27565
28857
cat confdefs.h >>conftest.$ac_ext
27566
28858
cat >>conftest.$ac_ext <<_ACEOF
27567
28859
/* end confdefs.h.  */
27568
 
 
 
28860
#include <X11/Intrinsic.h>
27569
28861
int
27570
28862
main ()
27571
28863
{
27572
 
${x_direct_test_function}()
 
28864
${x_direct_test_function}(1)
27573
28865
  ;
27574
28866
  return 0;
27575
28867
}
27576
28868
_ACEOF
27577
28869
rm -f conftest.$ac_objext conftest$ac_exeext
27578
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27579
 
  (eval $ac_link) 2>conftest.er1
 
28870
if { (ac_try="$ac_link"
 
28871
case "(($ac_try" in
 
28872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28873
  *) ac_try_echo=$ac_try;;
 
28874
esac
 
28875
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28876
  (eval "$ac_link") 2>conftest.er1
27580
28877
  ac_status=$?
27581
28878
  grep -v '^ *+' conftest.er1 >conftest.err
27582
28879
  rm -f conftest.er1
27583
28880
  cat conftest.err >&5
27584
28881
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585
 
  (exit $ac_status); } &&
27586
 
         { ac_try='test -z "$ac_c_werror_flag"
27587
 
                         || test ! -s conftest.err'
27588
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27589
 
  (eval $ac_try) 2>&5
27590
 
  ac_status=$?
27591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27592
 
  (exit $ac_status); }; } &&
27593
 
         { ac_try='test -s conftest$ac_exeext'
27594
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27595
 
  (eval $ac_try) 2>&5
27596
 
  ac_status=$?
27597
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598
 
  (exit $ac_status); }; }; then
 
28882
  (exit $ac_status); } && {
 
28883
         test -z "$ac_c_werror_flag" ||
 
28884
         test ! -s conftest.err
 
28885
       } && test -s conftest$ac_exeext &&
 
28886
       $as_test_x conftest$ac_exeext; then
27599
28887
  LIBS="$ac_save_LIBS"
27600
28888
# We can link X programs with no special library path.
27601
28889
ac_x_libraries=
27603
28891
  echo "$as_me: failed program was:" >&5
27604
28892
sed 's/^/| /' conftest.$ac_ext >&5
27605
28893
 
27606
 
LIBS="$ac_save_LIBS"
 
28894
        LIBS="$ac_save_LIBS"
27607
28895
# First see if replacing the include by lib works.
27608
28896
# Check X11 before X11Rn because it is often a symlink to the current release.
27609
28897
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
27651
28939
  done
27652
28940
done
27653
28941
fi
27654
 
rm -f conftest.err conftest.$ac_objext \
 
28942
 
 
28943
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27655
28944
      conftest$ac_exeext conftest.$ac_ext
27656
28945
fi # $ac_x_libraries = NO
27657
28946
 
27661
28950
*-*-solaris*)
27662
28951
  ;;
27663
28952
*)
27664
 
  rm -fr conftest.dir
 
28953
  rm -f -r conftest.dir
27665
28954
if mkdir conftest.dir; then
27666
28955
  cd conftest.dir
27667
 
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27668
28956
  cat >Imakefile <<'_ACEOF'
27669
 
acfindx:
27670
 
        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
 
28957
incroot:
 
28958
        @echo incroot='${INCROOT}'
 
28959
usrlibdir:
 
28960
        @echo usrlibdir='${USRLIBDIR}'
 
28961
libdir:
 
28962
        @echo libdir='${LIBDIR}'
27671
28963
_ACEOF
27672
 
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
 
28964
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
27673
28965
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27674
 
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
 
28966
    for ac_var in incroot usrlibdir libdir; do
 
28967
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 
28968
    done
27675
28969
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27676
28970
    for ac_extension in a so sl; do
27677
 
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
27678
 
         test -f $ac_im_libdir/libX11.$ac_extension; then
 
28971
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 
28972
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
27679
28973
        ac_im_usrlibdir=$ac_im_libdir; break
27680
28974
      fi
27681
28975
    done
27683
28977
    # bogus both because they are the default anyway, and because
27684
28978
    # using them would break gcc on systems where it needs fixed includes.
27685
28979
    case $ac_im_incroot in
27686
 
        /usr/include) ;;
 
28980
        /usr/include) ac_x_includes= ;;
27687
28981
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27688
28982
    esac
27689
28983
    case $ac_im_usrlibdir in
27692
28986
    esac
27693
28987
  fi
27694
28988
  cd ..
27695
 
  rm -fr conftest.dir
 
28989
  rm -f -r conftest.dir
27696
28990
fi
27697
28991
 
27698
28992
  if test -z "$ac_x_includes"; then
27736
29030
eval "$kde_cv_have_x"
27737
29031
 
27738
29032
if test "$have_x" != yes; then
27739
 
  echo "$as_me:$LINENO: result: $have_x" >&5
27740
 
echo "${ECHO_T}$have_x" >&6
 
29033
  { echo "$as_me:$LINENO: result: $have_x" >&5
 
29034
echo "${ECHO_T}$have_x" >&6; }
27741
29035
  no_x=yes
27742
29036
else
27743
 
  echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
27744
 
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6
 
29037
  { echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
 
29038
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6; }
27745
29039
fi
27746
29040
 
27747
29041
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
27751
29045
  X_INCLUDES="-I$x_includes"
27752
29046
fi
27753
29047
 
27754
 
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then
 
29048
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE || test "$kde_x_libraries" = "/usr/lib"; then
27755
29049
  X_LDFLAGS=""
27756
29050
  x_libraries="/usr/lib";  else
27757
29051
  x_libraries=$kde_x_libraries
27758
29052
  X_LDFLAGS="-L$x_libraries"
27759
29053
fi
27760
29054
all_includes="$X_INCLUDES"
27761
 
all_libraries="$X_LDFLAGS"
 
29055
all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
27762
29056
 
27763
29057
# Check for libraries that X11R6 Xt/Xaw programs need.
27764
29058
ac_save_LDFLAGS="$LDFLAGS"
27769
29063
# These have to be linked with before -lX11, unlike the other
27770
29064
# libraries we check for below, so use a different variable.
27771
29065
#  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
27772
 
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27773
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
 
29066
{ echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
29067
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
27774
29068
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27775
29069
  echo $ECHO_N "(cached) $ECHO_C" >&6
27776
29070
else
27783
29077
cat >>conftest.$ac_ext <<_ACEOF
27784
29078
/* end confdefs.h.  */
27785
29079
 
27786
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
29080
/* Override any GCC internal prototype to avoid an error.
 
29081
   Use char because int might match the return type of a GCC
 
29082
   builtin and then its argument prototype would still apply.  */
27787
29083
#ifdef __cplusplus
27788
29084
extern "C"
27789
29085
#endif
27790
 
/* We use char because int might match the return type of a gcc2
27791
 
   builtin and then its argument prototype would still apply.  */
27792
29086
char IceConnectionNumber ();
27793
29087
int
27794
29088
main ()
27795
29089
{
27796
 
IceConnectionNumber ();
 
29090
return IceConnectionNumber ();
27797
29091
  ;
27798
29092
  return 0;
27799
29093
}
27800
29094
_ACEOF
27801
29095
rm -f conftest.$ac_objext conftest$ac_exeext
27802
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27803
 
  (eval $ac_link) 2>conftest.er1
 
29096
if { (ac_try="$ac_link"
 
29097
case "(($ac_try" in
 
29098
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29099
  *) ac_try_echo=$ac_try;;
 
29100
esac
 
29101
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29102
  (eval "$ac_link") 2>conftest.er1
27804
29103
  ac_status=$?
27805
29104
  grep -v '^ *+' conftest.er1 >conftest.err
27806
29105
  rm -f conftest.er1
27807
29106
  cat conftest.err >&5
27808
29107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809
 
  (exit $ac_status); } &&
27810
 
         { ac_try='test -z "$ac_c_werror_flag"
27811
 
                         || test ! -s conftest.err'
27812
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27813
 
  (eval $ac_try) 2>&5
27814
 
  ac_status=$?
27815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27816
 
  (exit $ac_status); }; } &&
27817
 
         { ac_try='test -s conftest$ac_exeext'
27818
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27819
 
  (eval $ac_try) 2>&5
27820
 
  ac_status=$?
27821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822
 
  (exit $ac_status); }; }; then
 
29108
  (exit $ac_status); } && {
 
29109
         test -z "$ac_c_werror_flag" ||
 
29110
         test ! -s conftest.err
 
29111
       } && test -s conftest$ac_exeext &&
 
29112
       $as_test_x conftest$ac_exeext; then
27823
29113
  ac_cv_lib_ICE_IceConnectionNumber=yes
27824
29114
else
27825
29115
  echo "$as_me: failed program was:" >&5
27826
29116
sed 's/^/| /' conftest.$ac_ext >&5
27827
29117
 
27828
 
ac_cv_lib_ICE_IceConnectionNumber=no
 
29118
        ac_cv_lib_ICE_IceConnectionNumber=no
27829
29119
fi
27830
 
rm -f conftest.err conftest.$ac_objext \
 
29120
 
 
29121
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27831
29122
      conftest$ac_exeext conftest.$ac_ext
27832
29123
LIBS=$ac_check_lib_save_LIBS
27833
29124
fi
27834
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27835
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
 
29125
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
29126
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
27836
29127
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27837
29128
  LIBSM="-lSM -lICE"
27838
29129
fi
27841
29132
 
27842
29133
LIB_X11='-lX11 $(LIBSOCKET)'
27843
29134
 
27844
 
echo "$as_me:$LINENO: checking for libXext" >&5
27845
 
echo $ECHO_N "checking for libXext... $ECHO_C" >&6
 
29135
{ echo "$as_me:$LINENO: checking for libXext" >&5
 
29136
echo $ECHO_N "checking for libXext... $ECHO_C" >&6; }
27846
29137
if test "${kde_cv_have_libXext+set}" = set; then
27847
29138
  echo $ECHO_N "(cached) $ECHO_C" >&6
27848
29139
else
27876
29167
}
27877
29168
_ACEOF
27878
29169
rm -f conftest.$ac_objext conftest$ac_exeext
27879
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27880
 
  (eval $ac_link) 2>conftest.er1
 
29170
if { (ac_try="$ac_link"
 
29171
case "(($ac_try" in
 
29172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29173
  *) ac_try_echo=$ac_try;;
 
29174
esac
 
29175
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29176
  (eval "$ac_link") 2>conftest.er1
27881
29177
  ac_status=$?
27882
29178
  grep -v '^ *+' conftest.er1 >conftest.err
27883
29179
  rm -f conftest.er1
27884
29180
  cat conftest.err >&5
27885
29181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886
 
  (exit $ac_status); } &&
27887
 
         { ac_try='test -z "$ac_c_werror_flag"
27888
 
                         || test ! -s conftest.err'
27889
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27890
 
  (eval $ac_try) 2>&5
27891
 
  ac_status=$?
27892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27893
 
  (exit $ac_status); }; } &&
27894
 
         { ac_try='test -s conftest$ac_exeext'
27895
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27896
 
  (eval $ac_try) 2>&5
27897
 
  ac_status=$?
27898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899
 
  (exit $ac_status); }; }; then
 
29182
  (exit $ac_status); } && {
 
29183
         test -z "$ac_c_werror_flag" ||
 
29184
         test ! -s conftest.err
 
29185
       } && test -s conftest$ac_exeext &&
 
29186
       $as_test_x conftest$ac_exeext; then
27900
29187
  kde_cv_have_libXext=yes
27901
29188
else
27902
29189
  echo "$as_me: failed program was:" >&5
27903
29190
sed 's/^/| /' conftest.$ac_ext >&5
27904
29191
 
27905
 
kde_cv_have_libXext=no
 
29192
        kde_cv_have_libXext=no
27906
29193
 
27907
29194
fi
27908
 
rm -f conftest.err conftest.$ac_objext \
 
29195
 
 
29196
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27909
29197
      conftest$ac_exeext conftest.$ac_ext
27910
29198
 
27911
29199
LDFLAGS=$kde_ldflags_safe
27914
29202
fi
27915
29203
 
27916
29204
 
27917
 
echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
27918
 
echo "${ECHO_T}$kde_cv_have_libXext" >&6
 
29205
{ echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
 
29206
echo "${ECHO_T}$kde_cv_have_libXext" >&6; }
27919
29207
 
27920
29208
if test "$kde_cv_have_libXext" = "no"; then
27921
29209
  { { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
27969
29257
 
27970
29258
 
27971
29259
 
27972
 
  echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
27973
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
27974
 
  kde_safe_libs=$LIBS
27975
 
  LIBS="$LIBS -lpthread"
27976
 
  cat >conftest.$ac_ext <<_ACEOF
 
29260
                LIBPTHREAD=""
 
29261
 
 
29262
  if test -n "$PTHREAD_LIBS"; then
 
29263
    if test "x$PTHREAD_LIBS" = "x-pthread" ; then
 
29264
      LIBPTHREAD="PTHREAD"
 
29265
    else
 
29266
      PTHREAD_LIBS_save="$PTHREAD_LIBS"
 
29267
      PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
 
29268
      { echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
 
29269
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6; }
 
29270
 
 
29271
     kde_save_LDFLAGS="$LDFLAGS"
 
29272
          kde_save_LIBS="$LIBS"
 
29273
     LDFLAGS="$LDFLAGS $all_libraries"
 
29274
     case $host_os in
 
29275
      aix*) LDFLAGS="-brtl $LDFLAGS"
 
29276
        test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
 
29277
        ;;
 
29278
     esac
 
29279
     as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
 
29280
{ echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
 
29281
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6; }
 
29282
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
 
29283
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29284
else
 
29285
  ac_check_lib_save_LIBS=$LIBS
 
29286
LIBS="-l$PTHREAD_LIBS  $LIBS"
 
29287
cat >conftest.$ac_ext <<_ACEOF
 
29288
/* confdefs.h.  */
 
29289
_ACEOF
 
29290
cat confdefs.h >>conftest.$ac_ext
 
29291
cat >>conftest.$ac_ext <<_ACEOF
 
29292
/* end confdefs.h.  */
 
29293
 
 
29294
/* Override any GCC internal prototype to avoid an error.
 
29295
   Use char because int might match the return type of a GCC
 
29296
   builtin and then its argument prototype would still apply.  */
 
29297
#ifdef __cplusplus
 
29298
extern "C"
 
29299
#endif
 
29300
char pthread_create ();
 
29301
int
 
29302
main ()
 
29303
{
 
29304
return pthread_create ();
 
29305
  ;
 
29306
  return 0;
 
29307
}
 
29308
_ACEOF
 
29309
rm -f conftest.$ac_objext conftest$ac_exeext
 
29310
if { (ac_try="$ac_link"
 
29311
case "(($ac_try" in
 
29312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29313
  *) ac_try_echo=$ac_try;;
 
29314
esac
 
29315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29316
  (eval "$ac_link") 2>conftest.er1
 
29317
  ac_status=$?
 
29318
  grep -v '^ *+' conftest.er1 >conftest.err
 
29319
  rm -f conftest.er1
 
29320
  cat conftest.err >&5
 
29321
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29322
  (exit $ac_status); } && {
 
29323
         test -z "$ac_c_werror_flag" ||
 
29324
         test ! -s conftest.err
 
29325
       } && test -s conftest$ac_exeext &&
 
29326
       $as_test_x conftest$ac_exeext; then
 
29327
  eval "$as_ac_Lib=yes"
 
29328
else
 
29329
  echo "$as_me: failed program was:" >&5
 
29330
sed 's/^/| /' conftest.$ac_ext >&5
 
29331
 
 
29332
        eval "$as_ac_Lib=no"
 
29333
fi
 
29334
 
 
29335
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
29336
      conftest$ac_exeext conftest.$ac_ext
 
29337
LIBS=$ac_check_lib_save_LIBS
 
29338
fi
 
29339
ac_res=`eval echo '${'$as_ac_Lib'}'`
 
29340
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
29341
echo "${ECHO_T}$ac_res" >&6; }
 
29342
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
29343
  LIBPTHREAD="$PTHREAD_LIBS_save"
 
29344
fi
 
29345
 
 
29346
     LDFLAGS="$kde_save_LDFLAGS"
 
29347
     LIBS="$kde_save_LIBS"
 
29348
 
 
29349
      PTHREAD_LIBS="$PTHREAD_LIBS_save"
 
29350
    fi
 
29351
  fi
 
29352
 
 
29353
    if test -z "$LIBPTHREAD"; then
 
29354
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
 
29355
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
 
29356
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
 
29357
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29358
else
 
29359
  ac_check_lib_save_LIBS=$LIBS
 
29360
LIBS="-lpthread  $LIBS"
 
29361
cat >conftest.$ac_ext <<_ACEOF
 
29362
/* confdefs.h.  */
 
29363
_ACEOF
 
29364
cat confdefs.h >>conftest.$ac_ext
 
29365
cat >>conftest.$ac_ext <<_ACEOF
 
29366
/* end confdefs.h.  */
 
29367
 
 
29368
/* Override any GCC internal prototype to avoid an error.
 
29369
   Use char because int might match the return type of a GCC
 
29370
   builtin and then its argument prototype would still apply.  */
 
29371
#ifdef __cplusplus
 
29372
extern "C"
 
29373
#endif
 
29374
char pthread_create ();
 
29375
int
 
29376
main ()
 
29377
{
 
29378
return pthread_create ();
 
29379
  ;
 
29380
  return 0;
 
29381
}
 
29382
_ACEOF
 
29383
rm -f conftest.$ac_objext conftest$ac_exeext
 
29384
if { (ac_try="$ac_link"
 
29385
case "(($ac_try" in
 
29386
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29387
  *) ac_try_echo=$ac_try;;
 
29388
esac
 
29389
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29390
  (eval "$ac_link") 2>conftest.er1
 
29391
  ac_status=$?
 
29392
  grep -v '^ *+' conftest.er1 >conftest.err
 
29393
  rm -f conftest.er1
 
29394
  cat conftest.err >&5
 
29395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
29396
  (exit $ac_status); } && {
 
29397
         test -z "$ac_c_werror_flag" ||
 
29398
         test ! -s conftest.err
 
29399
       } && test -s conftest$ac_exeext &&
 
29400
       $as_test_x conftest$ac_exeext; then
 
29401
  ac_cv_lib_pthread_pthread_create=yes
 
29402
else
 
29403
  echo "$as_me: failed program was:" >&5
 
29404
sed 's/^/| /' conftest.$ac_ext >&5
 
29405
 
 
29406
        ac_cv_lib_pthread_pthread_create=no
 
29407
fi
 
29408
 
 
29409
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
29410
      conftest$ac_exeext conftest.$ac_ext
 
29411
LIBS=$ac_check_lib_save_LIBS
 
29412
fi
 
29413
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
 
29414
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
 
29415
if test $ac_cv_lib_pthread_pthread_create = yes; then
 
29416
  LIBPTHREAD="-lpthread"
 
29417
fi
 
29418
 
 
29419
  fi
 
29420
 
 
29421
    if test -z "$LIBPTHREAD" ; then
 
29422
    { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
 
29423
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
 
29424
    kde_safe_libs=$LIBS
 
29425
    LIBS="$LIBS -lpthread"
 
29426
    cat >conftest.$ac_ext <<_ACEOF
27977
29427
/* confdefs.h.  */
27978
29428
_ACEOF
27979
29429
cat confdefs.h >>conftest.$ac_ext
27989
29439
}
27990
29440
_ACEOF
27991
29441
rm -f conftest.$ac_objext conftest$ac_exeext
27992
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27993
 
  (eval $ac_link) 2>conftest.er1
 
29442
if { (ac_try="$ac_link"
 
29443
case "(($ac_try" in
 
29444
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29445
  *) ac_try_echo=$ac_try;;
 
29446
esac
 
29447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29448
  (eval "$ac_link") 2>conftest.er1
27994
29449
  ac_status=$?
27995
29450
  grep -v '^ *+' conftest.er1 >conftest.err
27996
29451
  rm -f conftest.er1
27997
29452
  cat conftest.err >&5
27998
29453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27999
 
  (exit $ac_status); } &&
28000
 
         { ac_try='test -z "$ac_c_werror_flag"
28001
 
                         || test ! -s conftest.err'
28002
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28003
 
  (eval $ac_try) 2>&5
28004
 
  ac_status=$?
28005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28006
 
  (exit $ac_status); }; } &&
28007
 
         { ac_try='test -s conftest$ac_exeext'
28008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28009
 
  (eval $ac_try) 2>&5
28010
 
  ac_status=$?
28011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012
 
  (exit $ac_status); }; }; then
 
29454
  (exit $ac_status); } && {
 
29455
         test -z "$ac_c_werror_flag" ||
 
29456
         test ! -s conftest.err
 
29457
       } && test -s conftest$ac_exeext &&
 
29458
       $as_test_x conftest$ac_exeext; then
28013
29459
 
28014
 
      echo "$as_me:$LINENO: result: yes" >&5
28015
 
echo "${ECHO_T}yes" >&6
28016
 
      LIBPTHREAD="-lpthread"
 
29460
        { echo "$as_me:$LINENO: result: yes" >&5
 
29461
echo "${ECHO_T}yes" >&6; }
 
29462
        LIBPTHREAD="-lpthread"
28017
29463
else
28018
29464
  echo "$as_me: failed program was:" >&5
28019
29465
sed 's/^/| /' conftest.$ac_ext >&5
28020
29466
 
28021
29467
 
28022
 
      echo "$as_me:$LINENO: result: no" >&5
28023
 
echo "${ECHO_T}no" >&6
 
29468
        { echo "$as_me:$LINENO: result: no" >&5
 
29469
echo "${ECHO_T}no" >&6; }
28024
29470
fi
28025
 
rm -f conftest.err conftest.$ac_objext \
 
29471
 
 
29472
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28026
29473
      conftest$ac_exeext conftest.$ac_ext
28027
 
  LIBS=$kde_safe_libs
 
29474
    LIBS=$kde_safe_libs
 
29475
  fi
 
29476
 
 
29477
    if test "x$LIBPTHREAD" = "xPTHREAD" ; then
 
29478
    LIBPTHREAD=""
 
29479
  fi
28028
29480
 
28029
29481
 
28030
29482
 
28032
29484
      USE_THREADS=""
28033
29485
      if test -z "$LIBPTHREAD"; then
28034
29486
 
28035
 
echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
28036
 
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6
 
29487
{ echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
 
29488
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6; }
28037
29489
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
28038
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
29490
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
28039
29491
  echo $ECHO_N "(cached) $ECHO_C" >&6
28040
29492
else
28041
29493
 
28042
29494
 
28043
 
 
28044
 
   ac_ext=cc
 
29495
   ac_ext=cpp
28045
29496
ac_cpp='$CXXCPP $CPPFLAGS'
28046
29497
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28047
29498
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28068
29519
}
28069
29520
_ACEOF
28070
29521
rm -f conftest.$ac_objext conftest$ac_exeext
28071
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28072
 
  (eval $ac_link) 2>conftest.er1
 
29522
if { (ac_try="$ac_link"
 
29523
case "(($ac_try" in
 
29524
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29525
  *) ac_try_echo=$ac_try;;
 
29526
esac
 
29527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29528
  (eval "$ac_link") 2>conftest.er1
28073
29529
  ac_status=$?
28074
29530
  grep -v '^ *+' conftest.er1 >conftest.err
28075
29531
  rm -f conftest.er1
28076
29532
  cat conftest.err >&5
28077
29533
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28078
 
  (exit $ac_status); } &&
28079
 
         { ac_try='test -z "$ac_cxx_werror_flag"
28080
 
                         || test ! -s conftest.err'
28081
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28082
 
  (eval $ac_try) 2>&5
28083
 
  ac_status=$?
28084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085
 
  (exit $ac_status); }; } &&
28086
 
         { ac_try='test -s conftest$ac_exeext'
28087
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28088
 
  (eval $ac_try) 2>&5
28089
 
  ac_status=$?
28090
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091
 
  (exit $ac_status); }; }; then
 
29534
  (exit $ac_status); } && {
 
29535
         test -z "$ac_cxx_werror_flag" ||
 
29536
         test ! -s conftest.err
 
29537
       } && test -s conftest$ac_exeext &&
 
29538
       $as_test_x conftest$ac_exeext; then
28092
29539
  eval "kde_cv_prog_cxx_$kde_cache=yes"
28093
29540
else
28094
29541
  echo "$as_me: failed program was:" >&5
28095
29542
sed 's/^/| /' conftest.$ac_ext >&5
28096
29543
 
 
29544
 
28097
29545
fi
28098
 
rm -f conftest.err conftest.$ac_objext \
 
29546
 
 
29547
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28099
29548
      conftest$ac_exeext conftest.$ac_ext
28100
29549
  CXXFLAGS="$save_CXXFLAGS"
28101
29550
  ac_ext=c
28108
29557
fi
28109
29558
 
28110
29559
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
28111
 
 echo "$as_me:$LINENO: result: yes" >&5
28112
 
echo "${ECHO_T}yes" >&6
 
29560
 { echo "$as_me:$LINENO: result: yes" >&5
 
29561
echo "${ECHO_T}yes" >&6; }
28113
29562
 :
28114
29563
 USE_THREADS="-D_THREAD_SAFE -pthread"
28115
29564
else
28116
 
 echo "$as_me:$LINENO: result: no" >&5
28117
 
echo "${ECHO_T}no" >&6
 
29565
 { echo "$as_me:$LINENO: result: no" >&5
 
29566
echo "${ECHO_T}no" >&6; }
28118
29567
 :
28119
29568
 
28120
29569
fi
28126
29575
    case $host_os in
28127
29576
        solaris*)
28128
29577
 
28129
 
echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
28130
 
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6
 
29578
{ echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
 
29579
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6; }
28131
29580
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
28132
 
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
 
29581
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
28133
29582
  echo $ECHO_N "(cached) $ECHO_C" >&6
28134
29583
else
28135
29584
 
28136
29585
 
28137
 
 
28138
 
   ac_ext=cc
 
29586
   ac_ext=cpp
28139
29587
ac_cpp='$CXXCPP $CPPFLAGS'
28140
29588
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28141
29589
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28162
29610
}
28163
29611
_ACEOF
28164
29612
rm -f conftest.$ac_objext conftest$ac_exeext
28165
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28166
 
  (eval $ac_link) 2>conftest.er1
 
29613
if { (ac_try="$ac_link"
 
29614
case "(($ac_try" in
 
29615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29616
  *) ac_try_echo=$ac_try;;
 
29617
esac
 
29618
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29619
  (eval "$ac_link") 2>conftest.er1
28167
29620
  ac_status=$?
28168
29621
  grep -v '^ *+' conftest.er1 >conftest.err
28169
29622
  rm -f conftest.er1
28170
29623
  cat conftest.err >&5
28171
29624
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172
 
  (exit $ac_status); } &&
28173
 
         { ac_try='test -z "$ac_cxx_werror_flag"
28174
 
                         || test ! -s conftest.err'
28175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28176
 
  (eval $ac_try) 2>&5
28177
 
  ac_status=$?
28178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179
 
  (exit $ac_status); }; } &&
28180
 
         { ac_try='test -s conftest$ac_exeext'
28181
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28182
 
  (eval $ac_try) 2>&5
28183
 
  ac_status=$?
28184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185
 
  (exit $ac_status); }; }; then
 
29625
  (exit $ac_status); } && {
 
29626
         test -z "$ac_cxx_werror_flag" ||
 
29627
         test ! -s conftest.err
 
29628
       } && test -s conftest$ac_exeext &&
 
29629
       $as_test_x conftest$ac_exeext; then
28186
29630
  eval "kde_cv_prog_cxx_$kde_cache=yes"
28187
29631
else
28188
29632
  echo "$as_me: failed program was:" >&5
28189
29633
sed 's/^/| /' conftest.$ac_ext >&5
28190
29634
 
 
29635
 
28191
29636
fi
28192
 
rm -f conftest.err conftest.$ac_objext \
 
29637
 
 
29638
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28193
29639
      conftest$ac_exeext conftest.$ac_ext
28194
29640
  CXXFLAGS="$save_CXXFLAGS"
28195
29641
  ac_ext=c
28202
29648
fi
28203
29649
 
28204
29650
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
28205
 
 echo "$as_me:$LINENO: result: yes" >&5
28206
 
echo "${ECHO_T}yes" >&6
 
29651
 { echo "$as_me:$LINENO: result: yes" >&5
 
29652
echo "${ECHO_T}yes" >&6; }
28207
29653
 :
28208
29654
 USE_THREADS="-mt"
28209
29655
else
28210
 
 echo "$as_me:$LINENO: result: no" >&5
28211
 
echo "${ECHO_T}no" >&6
 
29656
 { echo "$as_me:$LINENO: result: no" >&5
 
29657
echo "${ECHO_T}no" >&6; }
28212
29658
 :
28213
29659
 
28214
29660
fi
28235
29681
 
28236
29682
 
28237
29683
 
28238
 
echo "$as_me:$LINENO: checking for extra includes" >&5
28239
 
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6
 
29684
{ echo "$as_me:$LINENO: checking for extra includes" >&5
 
29685
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6; }
28240
29686
 
28241
 
# Check whether --with-extra-includes or --without-extra-includes was given.
 
29687
# Check whether --with-extra-includes was given.
28242
29688
if test "${with_extra_includes+set}" = set; then
28243
 
  withval="$with_extra_includes"
28244
 
  kde_use_extra_includes="$withval"
 
29689
  withval=$with_extra_includes; kde_use_extra_includes="$withval"
28245
29690
else
28246
29691
  kde_use_extra_includes=NONE
28247
29692
 
28248
 
fi;
 
29693
fi
 
29694
 
28249
29695
kde_extra_includes=
28250
29696
if test -n "$kde_use_extra_includes" && \
28251
29697
   test "$kde_use_extra_includes" != "NONE"; then
28263
29709
fi
28264
29710
 
28265
29711
 
28266
 
echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
28267
 
echo "${ECHO_T}$kde_use_extra_includes" >&6
 
29712
{ echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
 
29713
echo "${ECHO_T}$kde_use_extra_includes" >&6; }
28268
29714
 
28269
29715
kde_extra_libs=
28270
 
echo "$as_me:$LINENO: checking for extra libs" >&5
28271
 
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6
 
29716
{ echo "$as_me:$LINENO: checking for extra libs" >&5
 
29717
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6; }
28272
29718
 
28273
 
# Check whether --with-extra-libs or --without-extra-libs was given.
 
29719
# Check whether --with-extra-libs was given.
28274
29720
if test "${with_extra_libs+set}" = set; then
28275
 
  withval="$with_extra_libs"
28276
 
  kde_use_extra_libs=$withval
 
29721
  withval=$with_extra_libs; kde_use_extra_libs=$withval
28277
29722
else
28278
29723
  kde_use_extra_libs=NONE
28279
29724
 
28280
 
fi;
 
29725
fi
 
29726
 
28281
29727
if test -n "$kde_use_extra_libs" && \
28282
29728
   test "$kde_use_extra_libs" != "NONE"; then
28283
29729
 
28296
29742
 
28297
29743
 
28298
29744
 
28299
 
echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
28300
 
echo "${ECHO_T}$kde_use_extra_libs" >&6
28301
 
 
28302
 
 
28303
 
 
28304
 
 
28305
 
echo "$as_me:$LINENO: checking for libz" >&5
28306
 
echo $ECHO_N "checking for libz... $ECHO_C" >&6
 
29745
{ echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
 
29746
echo "${ECHO_T}$kde_use_extra_libs" >&6; }
 
29747
 
 
29748
 
 
29749
 
 
29750
 
 
29751
{ echo "$as_me:$LINENO: checking for libz" >&5
 
29752
echo $ECHO_N "checking for libz... $ECHO_C" >&6; }
28307
29753
if test "${ac_cv_lib_z+set}" = set; then
28308
29754
  echo $ECHO_N "(cached) $ECHO_C" >&6
28309
29755
else
28337
29783
}
28338
29784
_ACEOF
28339
29785
rm -f conftest.$ac_objext conftest$ac_exeext
28340
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28341
 
  (eval $ac_link) 2>conftest.er1
 
29786
if { (ac_try="$ac_link"
 
29787
case "(($ac_try" in
 
29788
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29789
  *) ac_try_echo=$ac_try;;
 
29790
esac
 
29791
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29792
  (eval "$ac_link") 2>conftest.er1
28342
29793
  ac_status=$?
28343
29794
  grep -v '^ *+' conftest.er1 >conftest.err
28344
29795
  rm -f conftest.er1
28345
29796
  cat conftest.err >&5
28346
29797
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347
 
  (exit $ac_status); } &&
28348
 
         { ac_try='test -z "$ac_c_werror_flag"
28349
 
                         || test ! -s conftest.err'
28350
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28351
 
  (eval $ac_try) 2>&5
28352
 
  ac_status=$?
28353
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354
 
  (exit $ac_status); }; } &&
28355
 
         { ac_try='test -s conftest$ac_exeext'
28356
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28357
 
  (eval $ac_try) 2>&5
28358
 
  ac_status=$?
28359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360
 
  (exit $ac_status); }; }; then
 
29798
  (exit $ac_status); } && {
 
29799
         test -z "$ac_c_werror_flag" ||
 
29800
         test ! -s conftest.err
 
29801
       } && test -s conftest$ac_exeext &&
 
29802
       $as_test_x conftest$ac_exeext; then
28361
29803
  eval "ac_cv_lib_z='-lz'"
28362
29804
else
28363
29805
  echo "$as_me: failed program was:" >&5
28364
29806
sed 's/^/| /' conftest.$ac_ext >&5
28365
29807
 
28366
 
eval "ac_cv_lib_z=no"
 
29808
        eval "ac_cv_lib_z=no"
28367
29809
fi
28368
 
rm -f conftest.err conftest.$ac_objext \
 
29810
 
 
29811
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28369
29812
      conftest$ac_exeext conftest.$ac_ext
28370
29813
LIBS="$kde_save_LIBS"
28371
29814
CFLAGS="$kde_save_CFLAGS"
28378
29821
_ACEOF
28379
29822
 
28380
29823
  LIBZ="$ac_cv_lib_z"
28381
 
  echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
28382
 
echo "${ECHO_T}$ac_cv_lib_z" >&6
 
29824
  { echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
 
29825
echo "${ECHO_T}$ac_cv_lib_z" >&6; }
28383
29826
else
28384
29827
  { { echo "$as_me:$LINENO: error: not found.
28385
29828
          Possibly configure picks up an outdated version
28399
29842
 
28400
29843
 
28401
29844
 
28402
 
echo "$as_me:$LINENO: checking for libpng" >&5
28403
 
echo $ECHO_N "checking for libpng... $ECHO_C" >&6
 
29845
{ echo "$as_me:$LINENO: checking for libpng" >&5
 
29846
echo $ECHO_N "checking for libpng... $ECHO_C" >&6; }
28404
29847
if test "${ac_cv_lib_png+set}" = set; then
28405
29848
  echo $ECHO_N "(cached) $ECHO_C" >&6
28406
29849
else
28436
29879
}
28437
29880
_ACEOF
28438
29881
rm -f conftest.$ac_objext conftest$ac_exeext
28439
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28440
 
  (eval $ac_link) 2>conftest.er1
 
29882
if { (ac_try="$ac_link"
 
29883
case "(($ac_try" in
 
29884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29885
  *) ac_try_echo=$ac_try;;
 
29886
esac
 
29887
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29888
  (eval "$ac_link") 2>conftest.er1
28441
29889
  ac_status=$?
28442
29890
  grep -v '^ *+' conftest.er1 >conftest.err
28443
29891
  rm -f conftest.er1
28444
29892
  cat conftest.err >&5
28445
29893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446
 
  (exit $ac_status); } &&
28447
 
         { ac_try='test -z "$ac_c_werror_flag"
28448
 
                         || test ! -s conftest.err'
28449
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28450
 
  (eval $ac_try) 2>&5
28451
 
  ac_status=$?
28452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453
 
  (exit $ac_status); }; } &&
28454
 
         { ac_try='test -s conftest$ac_exeext'
28455
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28456
 
  (eval $ac_try) 2>&5
28457
 
  ac_status=$?
28458
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459
 
  (exit $ac_status); }; }; then
 
29894
  (exit $ac_status); } && {
 
29895
         test -z "$ac_c_werror_flag" ||
 
29896
         test ! -s conftest.err
 
29897
       } && test -s conftest$ac_exeext &&
 
29898
       $as_test_x conftest$ac_exeext; then
28460
29899
  eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
28461
29900
else
28462
29901
  echo "$as_me: failed program was:" >&5
28463
29902
sed 's/^/| /' conftest.$ac_ext >&5
28464
29903
 
28465
 
eval "ac_cv_lib_png=no"
 
29904
        eval "ac_cv_lib_png=no"
28466
29905
 
28467
29906
fi
28468
 
rm -f conftest.err conftest.$ac_objext \
 
29907
 
 
29908
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28469
29909
      conftest$ac_exeext conftest.$ac_ext
28470
29910
LIBS="$kde_save_LIBS"
28471
29911
CFLAGS="$kde_save_CFLAGS"
28479
29919
 
28480
29920
  LIBPNG="$ac_cv_lib_png"
28481
29921
 
28482
 
  echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
28483
 
echo "${ECHO_T}$ac_cv_lib_png" >&6
 
29922
  { echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
 
29923
echo "${ECHO_T}$ac_cv_lib_png" >&6; }
28484
29924
else
28485
 
  echo "$as_me:$LINENO: result: no" >&5
28486
 
echo "${ECHO_T}no" >&6
 
29925
  { echo "$as_me:$LINENO: result: no" >&5
 
29926
echo "${ECHO_T}no" >&6; }
28487
29927
  LIBPNG=""
28488
29928
 
28489
29929
fi
28490
29930
 
28491
29931
 
28492
29932
 
28493
 
echo "$as_me:$LINENO: checking for libjpeg6b" >&5
28494
 
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6
 
29933
{ echo "$as_me:$LINENO: checking for libjpeg6b" >&5
 
29934
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6; }
28495
29935
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
28496
29936
  echo $ECHO_N "(cached) $ECHO_C" >&6
28497
29937
else
28506
29946
cat confdefs.h >>conftest.$ac_ext
28507
29947
cat >>conftest.$ac_ext <<_ACEOF
28508
29948
/* end confdefs.h.  */
28509
 
/* Override any gcc2 internal prototype to avoid an error.  */
28510
 
struct jpeg_decompress_struct;
28511
 
typedef struct jpeg_decompress_struct * j_decompress_ptr;
28512
 
typedef int size_t;
 
29949
 
28513
29950
#ifdef __cplusplus
28514
29951
extern "C" {
28515
29952
#endif
28516
 
    void jpeg_CreateDecompress(j_decompress_ptr cinfo,
28517
 
                                    int version, size_t structsize);
 
29953
void jpeg_CreateDecompress();
28518
29954
#ifdef __cplusplus
28519
29955
}
28520
29956
#endif
28521
 
/* We use char because int might match the return type of a gcc2
28522
 
    builtin and then its argument prototype would still apply.  */
28523
29957
 
28524
29958
int
28525
29959
main ()
28526
29960
{
28527
 
jpeg_CreateDecompress(0L, 0, 0);
 
29961
jpeg_CreateDecompress();
28528
29962
  ;
28529
29963
  return 0;
28530
29964
}
28531
29965
_ACEOF
28532
29966
rm -f conftest.$ac_objext conftest$ac_exeext
28533
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28534
 
  (eval $ac_link) 2>conftest.er1
 
29967
if { (ac_try="$ac_link"
 
29968
case "(($ac_try" in
 
29969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
29970
  *) ac_try_echo=$ac_try;;
 
29971
esac
 
29972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
29973
  (eval "$ac_link") 2>conftest.er1
28535
29974
  ac_status=$?
28536
29975
  grep -v '^ *+' conftest.er1 >conftest.err
28537
29976
  rm -f conftest.er1
28538
29977
  cat conftest.err >&5
28539
29978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540
 
  (exit $ac_status); } &&
28541
 
         { ac_try='test -z "$ac_c_werror_flag"
28542
 
                         || test ! -s conftest.err'
28543
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28544
 
  (eval $ac_try) 2>&5
28545
 
  ac_status=$?
28546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547
 
  (exit $ac_status); }; } &&
28548
 
         { ac_try='test -s conftest$ac_exeext'
28549
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28550
 
  (eval $ac_try) 2>&5
28551
 
  ac_status=$?
28552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553
 
  (exit $ac_status); }; }; then
 
29979
  (exit $ac_status); } && {
 
29980
         test -z "$ac_c_werror_flag" ||
 
29981
         test ! -s conftest.err
 
29982
       } && test -s conftest$ac_exeext &&
 
29983
       $as_test_x conftest$ac_exeext; then
28554
29984
  eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
28555
29985
else
28556
29986
  echo "$as_me: failed program was:" >&5
28557
29987
sed 's/^/| /' conftest.$ac_ext >&5
28558
29988
 
28559
 
eval "ac_cv_lib_jpeg_6b=no"
 
29989
        eval "ac_cv_lib_jpeg_6b=no"
28560
29990
fi
28561
 
rm -f conftest.err conftest.$ac_objext \
 
29991
 
 
29992
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28562
29993
      conftest$ac_exeext conftest.$ac_ext
28563
29994
LIBS="$ac_save_LIBS"
28564
29995
CFLAGS="$ac_save_CFLAGS"
28568
29999
 
28569
30000
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
28570
30001
  LIBJPEG="$ac_cv_lib_jpeg_6b"
28571
 
  echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
28572
 
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6
 
30002
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
 
30003
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6; }
28573
30004
else
28574
 
  echo "$as_me:$LINENO: result: no" >&5
28575
 
echo "${ECHO_T}no" >&6
 
30005
  { echo "$as_me:$LINENO: result: no" >&5
 
30006
echo "${ECHO_T}no" >&6; }
28576
30007
 
28577
 
echo "$as_me:$LINENO: checking for libjpeg" >&5
28578
 
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6
 
30008
{ echo "$as_me:$LINENO: checking for libjpeg" >&5
 
30009
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6; }
28579
30010
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
28580
30011
  echo $ECHO_N "(cached) $ECHO_C" >&6
28581
30012
else
28590
30021
cat confdefs.h >>conftest.$ac_ext
28591
30022
cat >>conftest.$ac_ext <<_ACEOF
28592
30023
/* end confdefs.h.  */
28593
 
/* Override any gcc2 internal prototype to avoid an error.  */
28594
 
struct jpeg_decompress_struct;
28595
 
typedef struct jpeg_decompress_struct * j_decompress_ptr;
28596
 
typedef int size_t;
 
30024
 
28597
30025
#ifdef __cplusplus
28598
30026
extern "C" {
28599
30027
#endif
28600
 
    void jpeg_CreateDecompress(j_decompress_ptr cinfo,
28601
 
                                    int version, size_t structsize);
 
30028
void jpeg_CreateDecompress();
28602
30029
#ifdef __cplusplus
28603
30030
}
28604
30031
#endif
28605
 
/* We use char because int might match the return type of a gcc2
28606
 
    builtin and then its argument prototype would still apply.  */
28607
30032
 
28608
30033
int
28609
30034
main ()
28610
30035
{
28611
 
jpeg_CreateDecompress(0L, 0, 0);
 
30036
jpeg_CreateDecompress();
28612
30037
  ;
28613
30038
  return 0;
28614
30039
}
28615
30040
_ACEOF
28616
30041
rm -f conftest.$ac_objext conftest$ac_exeext
28617
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28618
 
  (eval $ac_link) 2>conftest.er1
 
30042
if { (ac_try="$ac_link"
 
30043
case "(($ac_try" in
 
30044
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30045
  *) ac_try_echo=$ac_try;;
 
30046
esac
 
30047
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30048
  (eval "$ac_link") 2>conftest.er1
28619
30049
  ac_status=$?
28620
30050
  grep -v '^ *+' conftest.er1 >conftest.err
28621
30051
  rm -f conftest.er1
28622
30052
  cat conftest.err >&5
28623
30053
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624
 
  (exit $ac_status); } &&
28625
 
         { ac_try='test -z "$ac_c_werror_flag"
28626
 
                         || test ! -s conftest.err'
28627
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28628
 
  (eval $ac_try) 2>&5
28629
 
  ac_status=$?
28630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631
 
  (exit $ac_status); }; } &&
28632
 
         { ac_try='test -s conftest$ac_exeext'
28633
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28634
 
  (eval $ac_try) 2>&5
28635
 
  ac_status=$?
28636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637
 
  (exit $ac_status); }; }; then
 
30054
  (exit $ac_status); } && {
 
30055
         test -z "$ac_c_werror_flag" ||
 
30056
         test ! -s conftest.err
 
30057
       } && test -s conftest$ac_exeext &&
 
30058
       $as_test_x conftest$ac_exeext; then
28638
30059
  eval "ac_cv_lib_jpeg_normal=-ljpeg"
28639
30060
else
28640
30061
  echo "$as_me: failed program was:" >&5
28641
30062
sed 's/^/| /' conftest.$ac_ext >&5
28642
30063
 
28643
 
eval "ac_cv_lib_jpeg_normal=no"
 
30064
        eval "ac_cv_lib_jpeg_normal=no"
28644
30065
fi
28645
 
rm -f conftest.err conftest.$ac_objext \
 
30066
 
 
30067
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28646
30068
      conftest$ac_exeext conftest.$ac_ext
28647
30069
LIBS="$ac_save_LIBS"
28648
30070
CFLAGS="$ac_save_CFLAGS"
28652
30074
 
28653
30075
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
28654
30076
  LIBJPEG="$ac_cv_lib_jpeg_normal"
28655
 
  echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
28656
 
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6
 
30077
  { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
 
30078
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6; }
28657
30079
else
28658
 
  echo "$as_me:$LINENO: result: no" >&5
28659
 
echo "${ECHO_T}no" >&6
 
30080
  { echo "$as_me:$LINENO: result: no" >&5
 
30081
echo "${ECHO_T}no" >&6; }
28660
30082
 
28661
30083
       LIBJPEG=
28662
30084
 
28676
30098
do
28677
30099
  for j in jpeglib.h;
28678
30100
  do
28679
 
    echo "configure: 28679: $i/$j" >&5
 
30101
    echo "configure: 30101: $i/$j" >&5
28680
30102
    if test -r "$i/$j"; then
28681
30103
      echo "taking that" >&5
28682
30104
      jpeg_incdir=$i
28723
30145
 
28724
30146
 
28725
30147
 
28726
 
   echo "$as_me:$LINENO: checking for perl" >&5
28727
 
echo $ECHO_N "checking for perl... $ECHO_C" >&6
 
30148
   { echo "$as_me:$LINENO: checking for perl" >&5
 
30149
echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
28728
30150
   if test -n "$PERL"; then
28729
30151
        kde_cv_path="$PERL";
28730
30152
   else
28731
30153
        kde_cache=`echo perl | sed 'y%./+-%__p_%'`
28732
30154
 
28733
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
30155
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
28734
30156
  echo $ECHO_N "(cached) $ECHO_C" >&6
28735
30157
else
28736
30158
 
28773
30195
   fi
28774
30196
 
28775
30197
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
28776
 
      echo "$as_me:$LINENO: result: not found" >&5
28777
 
echo "${ECHO_T}not found" >&6
 
30198
      { echo "$as_me:$LINENO: result: not found" >&5
 
30199
echo "${ECHO_T}not found" >&6; }
28778
30200
 
28779
30201
                    { { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
28780
30202
We need perl to generate some code." >&5
28783
30205
   { (exit 1); exit 1; }; }
28784
30206
 
28785
30207
   else
28786
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
28787
 
echo "${ECHO_T}$kde_cv_path" >&6
 
30208
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
30209
echo "${ECHO_T}$kde_cv_path" >&6; }
28788
30210
      PERL=$kde_cv_path
28789
30211
 
28790
30212
   fi
28798
30220
 
28799
30221
 
28800
30222
 
28801
 
# Check whether --enable-mt or --disable-mt was given.
 
30223
# Check whether --enable-mt was given.
28802
30224
if test "${enable_mt+set}" = set; then
28803
 
  enableval="$enable_mt"
28804
 
  kde_use_qt_mt=$enableval
 
30225
  enableval=$enable_mt; kde_use_qt_mt=$enableval
28805
30226
else
28806
30227
 
28807
30228
    if test $kde_qtver = 3; then
28811
30232
    fi
28812
30233
 
28813
30234
 
28814
 
fi;
 
30235
fi
 
30236
 
28815
30237
 
28816
30238
USING_QT_MT=""
28817
30239
 
28831
30253
  else
28832
30254
    kde_check_threading_default=yes
28833
30255
  fi
28834
 
  # Check whether --enable-threading or --disable-threading was given.
 
30256
  # Check whether --enable-threading was given.
28835
30257
if test "${enable_threading+set}" = set; then
28836
 
  enableval="$enable_threading"
28837
 
  kde_use_threading=$enableval
 
30258
  enableval=$enable_threading; kde_use_threading=$enableval
28838
30259
else
28839
30260
  kde_use_threading=$kde_check_threading_default
28840
 
fi;
 
30261
fi
 
30262
 
28841
30263
  if test "x$kde_use_threading" = "xyes"; then
28842
30264
 
28843
30265
cat >>confdefs.h <<\_ACEOF
28867
30289
  fi
28868
30290
fi
28869
30291
 
28870
 
if test -z "$LIBQT"; then
28871
 
  if test "x$kde_use_qt_emb" = "xyes"; then
28872
 
    qtlib="qte"
28873
 
  else
28874
 
    qtlib="qt"
28875
 
  fi
28876
 
 
28877
 
  kde_int_qt="-l$qtlib"
 
30292
if test "x$kde_use_qt_emb" = "xyes"; then
 
30293
  qtlib="qte"
28878
30294
else
28879
 
  kde_int_qt="$LIBQT"
28880
 
  kde_lib_qt_set=yes
 
30295
  qtlib="qt"
28881
30296
fi
28882
30297
 
 
30298
kde_int_qt="-l$qtlib"
 
30299
 
28883
30300
if test -z "$LIBQPE"; then
28884
30301
  if test "x$kde_use_qt_emb" = "xyes"; then
28885
30302
    if test "x$kde_use_qt_emb_palm" = "xyes"; then
28894
30311
 
28895
30312
 
28896
30313
if test "x$kde_use_qt_mt" = "xyes"; then
28897
 
  if test -z "$LIBQT"; then
28898
 
    LIBQT="-l$qtlib-mt"
28899
 
    kde_int_qt="-l$qtlib-mt"
28900
 
  else
28901
 
    LIBQT="$qtlib-mt"
28902
 
    kde_int_qt="$qtlib-mt"
28903
 
  fi
 
30314
  LIBQT="-l$qtlib-mt"
 
30315
  kde_int_qt="-l$qtlib-mt"
28904
30316
  LIBQT_GLOB="lib$qtlib-mt.*"
28905
30317
  USING_QT_MT="using -mt"
28906
30318
else
28919
30331
  LIBQT="$LIBQT $LIBDL"
28920
30332
fi
28921
30333
 
28922
 
echo "$as_me:$LINENO: checking for Qt" >&5
28923
 
echo $ECHO_N "checking for Qt... $ECHO_C" >&6
 
30334
{ echo "$as_me:$LINENO: checking for Qt" >&5
 
30335
echo $ECHO_N "checking for Qt... $ECHO_C" >&6; }
28924
30336
 
28925
30337
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
28926
30338
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
28929
30341
qt_libraries=""
28930
30342
qt_includes=""
28931
30343
 
28932
 
# Check whether --with-qt-dir or --without-qt-dir was given.
 
30344
# Check whether --with-qt-dir was given.
28933
30345
if test "${with_qt_dir+set}" = set; then
28934
 
  withval="$with_qt_dir"
28935
 
    ac_qt_includes="$withval"/include
 
30346
  withval=$with_qt_dir;   ac_qt_includes="$withval"/include
28936
30347
       ac_qt_libraries="$withval"/lib${kdelibsuff}
28937
30348
       ac_qt_bindir="$withval"/bin
28938
30349
 
28939
 
fi;
28940
 
 
28941
 
 
28942
 
# Check whether --with-qt-includes or --without-qt-includes was given.
 
30350
fi
 
30351
 
 
30352
 
 
30353
 
 
30354
# Check whether --with-qt-includes was given.
28943
30355
if test "${with_qt_includes+set}" = set; then
28944
 
  withval="$with_qt_includes"
28945
 
 
 
30356
  withval=$with_qt_includes;
28946
30357
       ac_qt_includes="$withval"
28947
30358
 
28948
 
fi;
 
30359
fi
 
30360
 
28949
30361
 
28950
30362
kde_qt_libs_given=no
28951
30363
 
28952
30364
 
28953
 
# Check whether --with-qt-libraries or --without-qt-libraries was given.
 
30365
# Check whether --with-qt-libraries was given.
28954
30366
if test "${with_qt_libraries+set}" = set; then
28955
 
  withval="$with_qt_libraries"
28956
 
    ac_qt_libraries="$withval"
 
30367
  withval=$with_qt_libraries;   ac_qt_libraries="$withval"
28957
30368
       kde_qt_libs_given=yes
28958
30369
 
28959
 
fi;
 
30370
fi
 
30371
 
28960
30372
 
28961
30373
if test "${ac_cv_have_qt+set}" = set; then
28962
30374
  echo $ECHO_N "(cached) $ECHO_C" >&6
28984
30396
do
28985
30397
  for j in $kde_qt_header;
28986
30398
  do
28987
 
    echo "configure: 28987: $i/$j" >&5
 
30399
    echo "configure: 30399: $i/$j" >&5
28988
30400
    if test -r "$i/$j"; then
28989
30401
      echo "taking that" >&5
28990
30402
      qt_incdir=$i
29021
30433
ac_qt_libraries="$qt_libdir"
29022
30434
 
29023
30435
 
29024
 
 
29025
 
 ac_ext=cc
 
30436
 ac_ext=cpp
29026
30437
ac_cpp='$CXXCPP $CPPFLAGS'
29027
30438
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29028
30439
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29159
30570
eval "$ac_cv_have_qt"
29160
30571
 
29161
30572
if test "$have_qt" != yes; then
29162
 
  echo "$as_me:$LINENO: result: $have_qt" >&5
29163
 
echo "${ECHO_T}$have_qt" >&6;
 
30573
  { echo "$as_me:$LINENO: result: $have_qt" >&5
 
30574
echo "${ECHO_T}$have_qt" >&6; };
29164
30575
else
29165
30576
  ac_cv_have_qt="have_qt=yes \
29166
30577
    ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
29167
 
  echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
29168
 
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6
 
30578
  { echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
 
30579
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6; }
29169
30580
 
29170
30581
  qt_libraries="$ac_qt_libraries"
29171
30582
  qt_includes="$ac_qt_includes"
29174
30585
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
29175
30586
 
29176
30587
 
29177
 
echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
29178
 
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6
 
30588
{ echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
 
30589
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6; }
29179
30590
if test "${kde_cv_qt_direct+set}" = set; then
29180
30591
  echo $ECHO_N "(cached) $ECHO_C" >&6
29181
30592
else
29182
30593
 
29183
30594
 
29184
 
 
29185
 
 ac_ext=cc
 
30595
 ac_ext=cpp
29186
30596
ac_cpp='$CXXCPP $CPPFLAGS'
29187
30597
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29188
30598
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29303
30713
 
29304
30714
 
29305
30715
if test "$kde_cv_qt_direct" = "yes"; then
29306
 
  echo "$as_me:$LINENO: result: yes" >&5
29307
 
echo "${ECHO_T}yes" >&6
 
30716
  { echo "$as_me:$LINENO: result: yes" >&5
 
30717
echo "${ECHO_T}yes" >&6; }
29308
30718
  qt_libraries=
29309
30719
else
29310
 
  echo "$as_me:$LINENO: result: no" >&5
29311
 
echo "${ECHO_T}no" >&6
 
30720
  { echo "$as_me:$LINENO: result: no" >&5
 
30721
echo "${ECHO_T}no" >&6; }
29312
30722
 
29313
30723
fi
29314
30724
 
29328
30738
 QT_LDFLAGS=""
29329
30739
else
29330
30740
 QT_LDFLAGS="-L$qt_libraries"
29331
 
 all_libraries="$all_libraries $QT_LDFLAGS"
 
30741
 all_libraries="$QT_LDFLAGS $all_libraries"
29332
30742
fi
29333
30743
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
29334
30744
 
29346
30756
   fi
29347
30757
 
29348
30758
 
29349
 
   echo "$as_me:$LINENO: checking for moc" >&5
29350
 
echo $ECHO_N "checking for moc... $ECHO_C" >&6
 
30759
   { echo "$as_me:$LINENO: checking for moc" >&5
 
30760
echo $ECHO_N "checking for moc... $ECHO_C" >&6; }
29351
30761
   if test -n "$MOC"; then
29352
30762
        kde_cv_path="$MOC";
29353
30763
   else
29354
30764
        kde_cache=`echo moc | sed 'y%./+-%__p_%'`
29355
30765
 
29356
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
30766
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29357
30767
  echo $ECHO_N "(cached) $ECHO_C" >&6
29358
30768
else
29359
30769
 
29396
30806
   fi
29397
30807
 
29398
30808
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
29399
 
      echo "$as_me:$LINENO: result: not found" >&5
29400
 
echo "${ECHO_T}not found" >&6
 
30809
      { echo "$as_me:$LINENO: result: not found" >&5
 
30810
echo "${ECHO_T}not found" >&6; }
29401
30811
 
29402
30812
    { { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
29403
30813
Please check whether you installed Qt correctly.
29418
30828
   { (exit 1); exit 1; }; }
29419
30829
 
29420
30830
   else
29421
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
29422
 
echo "${ECHO_T}$kde_cv_path" >&6
 
30831
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
30832
echo "${ECHO_T}$kde_cv_path" >&6; }
29423
30833
      MOC=$kde_cv_path
29424
30834
 
29425
30835
   fi
29426
30836
 
29427
30837
   if test -z "$UIC_NOT_NEEDED"; then
29428
30838
 
29429
 
   echo "$as_me:$LINENO: checking for uic" >&5
29430
 
echo $ECHO_N "checking for uic... $ECHO_C" >&6
 
30839
   { echo "$as_me:$LINENO: checking for uic" >&5
 
30840
echo $ECHO_N "checking for uic... $ECHO_C" >&6; }
29431
30841
   if test -n "$UIC_PATH"; then
29432
30842
        kde_cv_path="$UIC_PATH";
29433
30843
   else
29434
30844
        kde_cache=`echo uic | sed 'y%./+-%__p_%'`
29435
30845
 
29436
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
30846
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29437
30847
  echo $ECHO_N "(cached) $ECHO_C" >&6
29438
30848
else
29439
30849
 
29476
30886
   fi
29477
30887
 
29478
30888
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
29479
 
      echo "$as_me:$LINENO: result: not found" >&5
29480
 
echo "${ECHO_T}not found" >&6
 
30889
      { echo "$as_me:$LINENO: result: not found" >&5
 
30890
echo "${ECHO_T}not found" >&6; }
29481
30891
      UIC_PATH=""
29482
30892
   else
29483
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
29484
 
echo "${ECHO_T}$kde_cv_path" >&6
 
30893
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
30894
echo "${ECHO_T}$kde_cv_path" >&6; }
29485
30895
      UIC_PATH=$kde_cv_path
29486
30896
 
29487
30897
   fi
29511
30921
 
29512
30922
       if test $kde_qtver = 3; then
29513
30923
 
29514
 
    echo "$as_me:$LINENO: checking whether uic supports -L " >&5
29515
 
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6
 
30924
    { echo "$as_me:$LINENO: checking whether uic supports -L " >&5
 
30925
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6; }
29516
30926
    kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
29517
 
    if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
 
30927
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29518
30928
  echo $ECHO_N "(cached) $ECHO_C" >&6
29519
30929
else
29520
30930
 
29537
30947
 
29538
30948
 
29539
30949
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
29540
 
        echo "$as_me:$LINENO: result: yes" >&5
29541
 
echo "${ECHO_T}yes" >&6
 
30950
        { echo "$as_me:$LINENO: result: yes" >&5
 
30951
echo "${ECHO_T}yes" >&6; }
29542
30952
        :
29543
30953
        ac_uic_supports_libpath=yes
29544
30954
    else
29545
 
        echo "$as_me:$LINENO: result: no" >&5
29546
 
echo "${ECHO_T}no" >&6
 
30955
        { echo "$as_me:$LINENO: result: no" >&5
 
30956
echo "${ECHO_T}no" >&6; }
29547
30957
        :
29548
30958
        ac_uic_supports_libpath=no
29549
30959
    fi
29550
30960
 
29551
30961
 
29552
 
    echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
29553
 
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6
 
30962
    { echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
 
30963
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6; }
29554
30964
    kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
29555
 
    if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
 
30965
    if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29556
30966
  echo $ECHO_N "(cached) $ECHO_C" >&6
29557
30967
else
29558
30968
 
29575
30985
 
29576
30986
 
29577
30987
    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
29578
 
        echo "$as_me:$LINENO: result: yes" >&5
29579
 
echo "${ECHO_T}yes" >&6
 
30988
        { echo "$as_me:$LINENO: result: yes" >&5
 
30989
echo "${ECHO_T}yes" >&6; }
29580
30990
        :
29581
30991
        ac_uic_supports_nounload=yes
29582
30992
    else
29583
 
        echo "$as_me:$LINENO: result: no" >&5
29584
 
echo "${ECHO_T}no" >&6
 
30993
        { echo "$as_me:$LINENO: result: no" >&5
 
30994
echo "${ECHO_T}no" >&6; }
29585
30995
        :
29586
30996
        ac_uic_supports_nounload=no
29587
30997
    fi
29612
31022
 
29613
31023
 
29614
31024
if test -n "$LIBJPEG"; then
29615
 
echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
29616
 
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6
 
31025
{ echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
 
31026
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6; }
29617
31027
if test "${kde_cv_qt_jpeg+set}" = set; then
29618
31028
  echo $ECHO_N "(cached) $ECHO_C" >&6
29619
31029
else
29620
31030
 
29621
31031
 
29622
 
 
29623
 
 ac_ext=cc
 
31032
 ac_ext=cpp
29624
31033
ac_cpp='$CXXCPP $CPPFLAGS'
29625
31034
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29626
31035
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29653
31062
}
29654
31063
_ACEOF
29655
31064
rm -f conftest.$ac_objext conftest$ac_exeext
29656
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29657
 
  (eval $ac_link) 2>conftest.er1
 
31065
if { (ac_try="$ac_link"
 
31066
case "(($ac_try" in
 
31067
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
31068
  *) ac_try_echo=$ac_try;;
 
31069
esac
 
31070
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
31071
  (eval "$ac_link") 2>conftest.er1
29658
31072
  ac_status=$?
29659
31073
  grep -v '^ *+' conftest.er1 >conftest.err
29660
31074
  rm -f conftest.er1
29661
31075
  cat conftest.err >&5
29662
31076
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663
 
  (exit $ac_status); } &&
29664
 
         { ac_try='test -z "$ac_cxx_werror_flag"
29665
 
                         || test ! -s conftest.err'
29666
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29667
 
  (eval $ac_try) 2>&5
29668
 
  ac_status=$?
29669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29670
 
  (exit $ac_status); }; } &&
29671
 
         { ac_try='test -s conftest$ac_exeext'
29672
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29673
 
  (eval $ac_try) 2>&5
29674
 
  ac_status=$?
29675
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29676
 
  (exit $ac_status); }; }; then
 
31077
  (exit $ac_status); } && {
 
31078
         test -z "$ac_cxx_werror_flag" ||
 
31079
         test ! -s conftest.err
 
31080
       } && test -s conftest$ac_exeext &&
 
31081
       $as_test_x conftest$ac_exeext; then
29677
31082
  eval "kde_cv_qt_jpeg=no"
29678
31083
else
29679
31084
  echo "$as_me: failed program was:" >&5
29680
31085
sed 's/^/| /' conftest.$ac_ext >&5
29681
31086
 
29682
 
eval "kde_cv_qt_jpeg=yes"
 
31087
        eval "kde_cv_qt_jpeg=yes"
29683
31088
fi
29684
 
rm -f conftest.err conftest.$ac_objext \
 
31089
 
 
31090
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29685
31091
      conftest$ac_exeext conftest.$ac_ext
29686
31092
LIBS="$ac_save_LIBS"
29687
31093
CXXFLAGS="$ac_save_CXXFLAGS"
29697
31103
 
29698
31104
 
29699
31105
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
29700
 
  echo "$as_me:$LINENO: result: yes" >&5
29701
 
echo "${ECHO_T}yes" >&6
 
31106
  { echo "$as_me:$LINENO: result: yes" >&5
 
31107
echo "${ECHO_T}yes" >&6; }
29702
31108
  LIBJPEG_QT='$(LIBJPEG)'
29703
31109
else
29704
 
  echo "$as_me:$LINENO: result: no" >&5
29705
 
echo "${ECHO_T}no" >&6
 
31110
  { echo "$as_me:$LINENO: result: no" >&5
 
31111
echo "${ECHO_T}no" >&6; }
29706
31112
  LIBJPEG_QT=
29707
31113
fi
29708
31114
 
29733
31139
 
29734
31140
 
29735
31141
 
29736
 
echo "$as_me:$LINENO: checking for rpath" >&5
29737
 
echo $ECHO_N "checking for rpath... $ECHO_C" >&6
29738
 
# Check whether --enable-rpath or --disable-rpath was given.
 
31142
{ echo "$as_me:$LINENO: checking for rpath" >&5
 
31143
echo $ECHO_N "checking for rpath... $ECHO_C" >&6; }
 
31144
# Check whether --enable-rpath was given.
29739
31145
if test "${enable_rpath+set}" = set; then
29740
 
  enableval="$enable_rpath"
29741
 
  USE_RPATH=$enableval
 
31146
  enableval=$enable_rpath; USE_RPATH=$enableval
29742
31147
else
29743
31148
  USE_RPATH=yes
29744
 
fi;
 
31149
fi
 
31150
 
29745
31151
 
29746
31152
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
29747
31153
 
29748
 
  KDE_RPATH="-R \$(kde_libraries)"
 
31154
  KDE_RPATH="-R \$(libdir)"
 
31155
 
 
31156
  if test "$kde_libraries" != "$libdir"; then
 
31157
      KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
 
31158
  fi
29749
31159
 
29750
31160
  if test -n "$qt_libraries"; then
29751
31161
    KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
29761
31171
 
29762
31172
 
29763
31173
 
29764
 
echo "$as_me:$LINENO: result: $USE_RPATH" >&5
29765
 
echo "${ECHO_T}$USE_RPATH" >&6
 
31174
{ echo "$as_me:$LINENO: result: $USE_RPATH" >&5
 
31175
echo "${ECHO_T}$USE_RPATH" >&6; }
29766
31176
 
29767
 
echo "$as_me:$LINENO: checking for KDE" >&5
29768
 
echo $ECHO_N "checking for KDE... $ECHO_C" >&6
 
31177
{ echo "$as_me:$LINENO: checking for KDE" >&5
 
31178
echo $ECHO_N "checking for KDE... $ECHO_C" >&6; }
29769
31179
 
29770
31180
if test "${prefix}" != NONE; then
29771
31181
  kde_includes=${includedir}
29817
31227
do
29818
31228
  for j in $kde_check_header;
29819
31229
  do
29820
 
    echo "configure: 29820: $i/$j" >&5
 
31230
    echo "configure: 31230: $i/$j" >&5
29821
31231
    if test -r "$i/$j"; then
29822
31232
      echo "taking that" >&5
29823
31233
      kde_incdir=$i
29847
31257
do
29848
31258
  for j in $kde_check_lib;
29849
31259
  do
29850
 
    echo "configure: 29850: $i/$j" >&5
 
31260
    echo "configure: 31260: $i/$j" >&5
29851
31261
    if test -r "$i/$j"; then
29852
31262
      echo "taking that" >&5
29853
31263
      kde_libdir=$i
29865
31275
do
29866
31276
  for j in "kde3/plugins/designer/kdewidgets.la";
29867
31277
  do
29868
 
    echo "configure: 29868: $i/$j" >&5
 
31278
    echo "configure: 31278: $i/$j" >&5
29869
31279
    if test -r "$i/$j"; then
29870
31280
      echo "taking that" >&5
29871
31281
      kde_widgetdir=$i
29924
31334
 fi
29925
31335
 if test "$exec_prefix" = NONE; then
29926
31336
  ac_kde_exec_prefix="$ac_kde_prefix"
29927
 
  echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
29928
 
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6
 
31337
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
 
31338
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6; }
29929
31339
 else
29930
31340
  ac_kde_exec_prefix="$exec_prefix"
29931
 
  echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
29932
 
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6
 
31341
  { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
 
31342
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6; }
29933
31343
 fi
29934
31344
 
29935
31345
 kde_libraries="${libdir}"
29938
31348
else
29939
31349
  ac_cv_have_kde="have_kde=yes \
29940
31350
    ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
29941
 
  echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
29942
 
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6
 
31351
  { echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
 
31352
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6; }
29943
31353
 
29944
31354
  kde_libraries="$ac_kde_libraries"
29945
31355
  kde_includes="$ac_kde_includes"
29958
31368
 
29959
31369
KDE_LDFLAGS="-L$kde_libraries"
29960
31370
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
29961
 
 all_libraries="$all_libraries $KDE_LDFLAGS"
 
31371
 all_libraries="$KDE_LDFLAGS $all_libraries"
29962
31372
fi
29963
31373
 
29964
31374
 
29977
31387
 
29978
31388
if test x$ac_uic_supports_libpath = xyes; then
29979
31389
 
29980
 
echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
29981
 
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6
 
31390
{ echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
 
31391
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6; }
29982
31392
if test "${kde_cv_uic_plugins+set}" = set; then
29983
31393
  echo $ECHO_N "(cached) $ECHO_C" >&6
29984
31394
else
30021
31431
fi
30022
31432
 
30023
31433
 
30024
 
echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
30025
 
echo "${ECHO_T}$kde_cv_uic_plugins" >&6
 
31434
{ echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
 
31435
echo "${ECHO_T}$kde_cv_uic_plugins" >&6; }
30026
31436
if test "$kde_cv_uic_plugins" != yes; then
30027
 
        { { echo "$as_me:$LINENO: error: you need to install kdelibs first." >&5
30028
 
echo "$as_me: error: you need to install kdelibs first." >&2;}
 
31437
        { { echo "$as_me:$LINENO: error:
 
31438
you need to install kdelibs first.
 
31439
 
 
31440
If you did install kdelibs, then the Qt version that is picked up by
 
31441
this configure is not the same version you used to compile kdelibs.
 
31442
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
 
31443
_same Qt version_, compiled with the _same compiler_ and the same Qt
 
31444
configuration settings.
 
31445
" >&5
 
31446
echo "$as_me: error:
 
31447
you need to install kdelibs first.
 
31448
 
 
31449
If you did install kdelibs, then the Qt version that is picked up by
 
31450
this configure is not the same version you used to compile kdelibs.
 
31451
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
 
31452
_same Qt version_, compiled with the _same compiler_ and the same Qt
 
31453
configuration settings.
 
31454
" >&2;}
30029
31455
   { (exit 1); exit 1; }; }
30030
31456
fi
30031
31457
fi
30038
31464
 
30039
31465
 
30040
31466
 
30041
 
  # Check whether --enable-path-check or --disable-path-check was given.
 
31467
  # Check whether --enable-path-check was given.
30042
31468
if test "${enable_path_check+set}" = set; then
30043
 
  enableval="$enable_path_check"
30044
 
 
 
31469
  enableval=$enable_path_check;
30045
31470
  if test "$enableval" = "no";
30046
31471
    then ac_use_path_checking="default"
30047
31472
    else ac_use_path_checking=""
30055
31480
  fi
30056
31481
 
30057
31482
 
30058
 
fi;
30059
 
 
30060
 
 
30061
 
 
30062
 
 
30063
 
echo "$as_me:$LINENO: checking for KDE paths" >&5
30064
 
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6
 
31483
fi
 
31484
 
 
31485
 
 
31486
 
 
31487
 
 
31488
 
 
31489
{ echo "$as_me:$LINENO: checking for KDE paths" >&5
 
31490
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6; }
30065
31491
kde_result=""
30066
31492
kde_cached_paths=yes
30067
31493
if test "${kde_cv_all_paths+set}" = set; then
30172
31598
else
30173
31599
 
30174
31600
  if test $kde_qtver = 1; then
30175
 
     echo "$as_me:$LINENO: result: compiling" >&5
30176
 
echo "${ECHO_T}compiling" >&6
30177
 
 
30178
 
 
30179
 
    echo "$as_me:$LINENO: checking for KDE headers installed" >&5
30180
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
30181
 
 
30182
 
 
30183
 
     ac_ext=cc
 
31601
     { echo "$as_me:$LINENO: result: compiling" >&5
 
31602
echo "${ECHO_T}compiling" >&6; }
 
31603
 
 
31604
 
 
31605
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
 
31606
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
 
31607
 
 
31608
     ac_ext=cpp
30184
31609
ac_cpp='$CXXCPP $CPPFLAGS'
30185
31610
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186
31611
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30232
31657
  ac_status=$?
30233
31658
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30234
31659
  (exit $ac_status); }; then
30235
 
   echo "$as_me:$LINENO: result: yes" >&5
30236
 
echo "${ECHO_T}yes" >&6
 
31660
   { echo "$as_me:$LINENO: result: yes" >&5
 
31661
echo "${ECHO_T}yes" >&6; }
30237
31662
 else
30238
31663
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
30239
31664
Check, if you installed the KDE header files correctly.
30272
31697
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
30273
31698
  fi
30274
31699
 
30275
 
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
30276
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
 
31700
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
 
31701
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
30277
31702
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'
30278
31703
 
30279
31704
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30281
31706
  ac_status=$?
30282
31707
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283
31708
  (exit $ac_status); } && test -s conftest; then
30284
 
  echo "$as_me:$LINENO: result: yes" >&5
30285
 
echo "${ECHO_T}yes" >&6
 
31709
  { echo "$as_me:$LINENO: result: yes" >&5
 
31710
echo "${ECHO_T}yes" >&6; }
30286
31711
else
30287
31712
  { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
30288
31713
Check, if your compiler is installed correctly and if you have used the
30475
31900
else
30476
31901
 
30477
31902
  if test $kde_qtver = 1; then
30478
 
     echo "$as_me:$LINENO: result: compiling" >&5
30479
 
echo "${ECHO_T}compiling" >&6
30480
 
 
30481
 
 
30482
 
    echo "$as_me:$LINENO: checking for KDE headers installed" >&5
30483
 
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
30484
 
 
30485
 
 
30486
 
     ac_ext=cc
 
31903
     { echo "$as_me:$LINENO: result: compiling" >&5
 
31904
echo "${ECHO_T}compiling" >&6; }
 
31905
 
 
31906
 
 
31907
    { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
 
31908
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
 
31909
 
 
31910
     ac_ext=cpp
30487
31911
ac_cpp='$CXXCPP $CPPFLAGS'
30488
31912
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30489
31913
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30535
31959
  ac_status=$?
30536
31960
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30537
31961
  (exit $ac_status); }; then
30538
 
   echo "$as_me:$LINENO: result: yes" >&5
30539
 
echo "${ECHO_T}yes" >&6
 
31962
   { echo "$as_me:$LINENO: result: yes" >&5
 
31963
echo "${ECHO_T}yes" >&6; }
30540
31964
 else
30541
31965
   { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
30542
31966
Check, if you installed the KDE header files correctly.
30575
31999
     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
30576
32000
  fi
30577
32001
 
30578
 
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
30579
 
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
 
32002
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
 
32003
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
30580
32004
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'
30581
32005
 
30582
32006
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30584
32008
  ac_status=$?
30585
32009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586
32010
  (exit $ac_status); } && test -s conftest; then
30587
 
  echo "$as_me:$LINENO: result: yes" >&5
30588
 
echo "${ECHO_T}yes" >&6
 
32011
  { echo "$as_me:$LINENO: result: yes" >&5
 
32012
echo "${ECHO_T}yes" >&6; }
30589
32013
else
30590
32014
  { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
30591
32015
Check, if your compiler is installed correctly and if you have used the
30677
32101
   { (exit 1); exit 1; }; }
30678
32102
else
30679
32103
  rm -f conftest*
30680
 
  echo "$as_me:$LINENO: result: $kde_result" >&5
30681
 
echo "${ECHO_T}$kde_result" >&6
 
32104
  { echo "$as_me:$LINENO: result: $kde_result" >&5
 
32105
echo "${ECHO_T}$kde_result" >&6; }
30682
32106
fi
30683
32107
 
30684
32108
bindir=$kde_bindir
30685
32109
 
30686
32110
 
30687
32111
 
30688
 
# Check whether --with-arts or --without-arts was given.
 
32112
# Check whether --with-arts was given.
30689
32113
if test "${with_arts+set}" = set; then
30690
 
  withval="$with_arts"
30691
 
  build_arts=$withval
 
32114
  withval=$with_arts; build_arts=$withval
30692
32115
else
30693
32116
  build_arts=yes
30694
32117
 
30695
 
fi;
30696
 
 
30697
 
 
30698
 
if test "$build_arts" '!=' "no"; then
 
32118
fi
 
32119
 
 
32120
     if test "$build_arts" '!=' "no"; then
30699
32121
  include_ARTS_TRUE=
30700
32122
  include_ARTS_FALSE='#'
30701
32123
else
30725
32147
 
30726
32148
        kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
30727
32149
 
30728
 
   echo "$as_me:$LINENO: checking for dcopidl" >&5
30729
 
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6
 
32150
   { echo "$as_me:$LINENO: checking for dcopidl" >&5
 
32151
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6; }
30730
32152
   if test -n "$DCOPIDL"; then
30731
32153
        kde_cv_path="$DCOPIDL";
30732
32154
   else
30733
32155
        kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
30734
32156
 
30735
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
32157
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30736
32158
  echo $ECHO_N "(cached) $ECHO_C" >&6
30737
32159
else
30738
32160
 
30775
32197
   fi
30776
32198
 
30777
32199
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30778
 
      echo "$as_me:$LINENO: result: not found" >&5
30779
 
echo "${ECHO_T}not found" >&6
 
32200
      { echo "$as_me:$LINENO: result: not found" >&5
 
32201
echo "${ECHO_T}not found" >&6; }
30780
32202
 
30781
32203
    { { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
30782
32204
Please check whether you installed KDE correctly.
30787
32209
   { (exit 1); exit 1; }; }
30788
32210
 
30789
32211
   else
30790
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30791
 
echo "${ECHO_T}$kde_cv_path" >&6
 
32212
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
32213
echo "${ECHO_T}$kde_cv_path" >&6; }
30792
32214
      DCOPIDL=$kde_cv_path
30793
32215
 
30794
32216
   fi
30795
32217
 
30796
32218
 
30797
 
   echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
30798
 
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6
 
32219
   { echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
 
32220
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6; }
30799
32221
   if test -n "$DCOPIDL2CPP"; then
30800
32222
        kde_cv_path="$DCOPIDL2CPP";
30801
32223
   else
30802
32224
        kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
30803
32225
 
30804
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
32226
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30805
32227
  echo $ECHO_N "(cached) $ECHO_C" >&6
30806
32228
else
30807
32229
 
30844
32266
   fi
30845
32267
 
30846
32268
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30847
 
      echo "$as_me:$LINENO: result: not found" >&5
30848
 
echo "${ECHO_T}not found" >&6
 
32269
      { echo "$as_me:$LINENO: result: not found" >&5
 
32270
echo "${ECHO_T}not found" >&6; }
30849
32271
 
30850
32272
    { { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
30851
32273
Please check whether you installed KDE correctly.
30856
32278
   { (exit 1); exit 1; }; }
30857
32279
 
30858
32280
   else
30859
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30860
 
echo "${ECHO_T}$kde_cv_path" >&6
 
32281
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
32282
echo "${ECHO_T}$kde_cv_path" >&6; }
30861
32283
      DCOPIDL2CPP=$kde_cv_path
30862
32284
 
30863
32285
   fi
30864
32286
 
30865
32287
        if test "$build_arts" '!=' "no"; then
30866
32288
 
30867
 
   echo "$as_me:$LINENO: checking for mcopidl" >&5
30868
 
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
 
32289
   { echo "$as_me:$LINENO: checking for mcopidl" >&5
 
32290
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6; }
30869
32291
   if test -n "$MCOPIDL"; then
30870
32292
        kde_cv_path="$MCOPIDL";
30871
32293
   else
30872
32294
        kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
30873
32295
 
30874
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
32296
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30875
32297
  echo $ECHO_N "(cached) $ECHO_C" >&6
30876
32298
else
30877
32299
 
30914
32336
   fi
30915
32337
 
30916
32338
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30917
 
      echo "$as_me:$LINENO: result: not found" >&5
30918
 
echo "${ECHO_T}not found" >&6
 
32339
      { echo "$as_me:$LINENO: result: not found" >&5
 
32340
echo "${ECHO_T}not found" >&6; }
30919
32341
 
30920
32342
    { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
30921
32343
Please check whether you installed aRts correctly or use
30928
32350
   { (exit 1); exit 1; }; }
30929
32351
 
30930
32352
   else
30931
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30932
 
echo "${ECHO_T}$kde_cv_path" >&6
 
32353
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
32354
echo "${ECHO_T}$kde_cv_path" >&6; }
30933
32355
      MCOPIDL=$kde_cv_path
30934
32356
 
30935
32357
   fi
30936
32358
 
30937
32359
 
30938
 
   echo "$as_me:$LINENO: checking for artsc-config" >&5
30939
 
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
 
32360
   { echo "$as_me:$LINENO: checking for artsc-config" >&5
 
32361
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6; }
30940
32362
   if test -n "$ARTSCCONFIG"; then
30941
32363
        kde_cv_path="$ARTSCCONFIG";
30942
32364
   else
30943
32365
        kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
30944
32366
 
30945
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
32367
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30946
32368
  echo $ECHO_N "(cached) $ECHO_C" >&6
30947
32369
else
30948
32370
 
30985
32407
   fi
30986
32408
 
30987
32409
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30988
 
      echo "$as_me:$LINENO: result: not found" >&5
30989
 
echo "${ECHO_T}not found" >&6
 
32410
      { echo "$as_me:$LINENO: result: not found" >&5
 
32411
echo "${ECHO_T}not found" >&6; }
30990
32412
 
30991
32413
    { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
30992
32414
Please check whether you installed aRts correctly or use
30999
32421
   { (exit 1); exit 1; }; }
31000
32422
 
31001
32423
   else
31002
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31003
 
echo "${ECHO_T}$kde_cv_path" >&6
 
32424
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
32425
echo "${ECHO_T}$kde_cv_path" >&6; }
31004
32426
      ARTSCCONFIG=$kde_cv_path
31005
32427
 
31006
32428
   fi
31007
32429
 
31008
32430
        fi
31009
32431
 
31010
 
   echo "$as_me:$LINENO: checking for meinproc" >&5
31011
 
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6
 
32432
   { echo "$as_me:$LINENO: checking for meinproc" >&5
 
32433
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6; }
31012
32434
   if test -n "$MEINPROC"; then
31013
32435
        kde_cv_path="$MEINPROC";
31014
32436
   else
31015
32437
        kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
31016
32438
 
31017
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
32439
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31018
32440
  echo $ECHO_N "(cached) $ECHO_C" >&6
31019
32441
else
31020
32442
 
31057
32479
   fi
31058
32480
 
31059
32481
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31060
 
      echo "$as_me:$LINENO: result: not found" >&5
31061
 
echo "${ECHO_T}not found" >&6
 
32482
      { echo "$as_me:$LINENO: result: not found" >&5
 
32483
echo "${ECHO_T}not found" >&6; }
31062
32484
 
31063
32485
   else
31064
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31065
 
echo "${ECHO_T}$kde_cv_path" >&6
 
32486
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
32487
echo "${ECHO_T}$kde_cv_path" >&6; }
31066
32488
      MEINPROC=$kde_cv_path
31067
32489
 
31068
32490
   fi
31069
32491
 
31070
32492
 
31071
32493
        kde32ornewer=1
 
32494
        kde33ornewer=1
31072
32495
        if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
31073
32496
            kde32ornewer=
 
32497
            kde33ornewer=
31074
32498
        else
31075
 
            if test "$kde_qtver" = "3" && test "$kde_qtsubver" -le 1; then
 
32499
            if test "$kde_qtver" = "3"; then
 
32500
              if test "$kde_qtsubver" -le 1; then
31076
32501
                kde32ornewer=
 
32502
              fi
 
32503
              if test "$kde_qtsubver" -le 2; then
 
32504
                kde33ornewer=
 
32505
              fi
 
32506
              if test "$KDECONFIG" != "compiled"; then
 
32507
                if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
 
32508
                  kde33ornewer=
 
32509
                fi
 
32510
              fi
31077
32511
            fi
31078
32512
        fi
31079
32513
 
31080
32514
        if test -n "$kde32ornewer"; then
31081
32515
 
31082
 
   echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
31083
 
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6
 
32516
   { echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
 
32517
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6; }
31084
32518
   if test -n "$KCONFIG_COMPILER"; then
31085
32519
        kde_cv_path="$KCONFIG_COMPILER";
31086
32520
   else
31087
32521
        kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
31088
32522
 
31089
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
32523
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31090
32524
  echo $ECHO_N "(cached) $ECHO_C" >&6
31091
32525
else
31092
32526
 
31129
32563
   fi
31130
32564
 
31131
32565
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31132
 
      echo "$as_me:$LINENO: result: not found" >&5
31133
 
echo "${ECHO_T}not found" >&6
 
32566
      { echo "$as_me:$LINENO: result: not found" >&5
 
32567
echo "${ECHO_T}not found" >&6; }
31134
32568
 
31135
32569
    { { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
31136
32570
Please check whether you installed KDE correctly.
31141
32575
   { (exit 1); exit 1; }; }
31142
32576
 
31143
32577
   else
31144
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31145
 
echo "${ECHO_T}$kde_cv_path" >&6
 
32578
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
32579
echo "${ECHO_T}$kde_cv_path" >&6; }
31146
32580
      KCONFIG_COMPILER=$kde_cv_path
31147
32581
 
31148
32582
   fi
31149
32583
 
31150
32584
 
31151
 
   echo "$as_me:$LINENO: checking for dcopidlng" >&5
31152
 
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6
 
32585
   { echo "$as_me:$LINENO: checking for dcopidlng" >&5
 
32586
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6; }
31153
32587
   if test -n "$DCOPIDLNG"; then
31154
32588
        kde_cv_path="$DCOPIDLNG";
31155
32589
   else
31156
32590
        kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
31157
32591
 
31158
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
32592
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31159
32593
  echo $ECHO_N "(cached) $ECHO_C" >&6
31160
32594
else
31161
32595
 
31198
32632
   fi
31199
32633
 
31200
32634
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31201
 
      echo "$as_me:$LINENO: result: not found" >&5
31202
 
echo "${ECHO_T}not found" >&6
 
32635
      { echo "$as_me:$LINENO: result: not found" >&5
 
32636
echo "${ECHO_T}not found" >&6; }
31203
32637
 
31204
32638
    { { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
31205
32639
Please check whether you installed KDE correctly.
31210
32644
   { (exit 1); exit 1; }; }
31211
32645
 
31212
32646
   else
31213
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31214
 
echo "${ECHO_T}$kde_cv_path" >&6
 
32647
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
32648
echo "${ECHO_T}$kde_cv_path" >&6; }
31215
32649
      DCOPIDLNG=$kde_cv_path
31216
32650
 
31217
32651
   fi
31218
32652
 
31219
32653
        fi
31220
 
 
31221
 
   echo "$as_me:$LINENO: checking for xmllint" >&5
31222
 
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6
 
32654
        if test -n "$kde33ornewer"; then
 
32655
 
 
32656
   { echo "$as_me:$LINENO: checking for makekdewidgets" >&5
 
32657
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6; }
 
32658
   if test -n "$MAKEKDEWIDGETS"; then
 
32659
        kde_cv_path="$MAKEKDEWIDGETS";
 
32660
   else
 
32661
        kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
 
32662
 
 
32663
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
 
32664
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
32665
else
 
32666
 
 
32667
        kde_cv_path="NONE"
 
32668
        kde_save_IFS=$IFS
 
32669
        IFS=':'
 
32670
        dirs=""
 
32671
        for dir in $PATH; do
 
32672
          dirs="$dirs $dir"
 
32673
        done
 
32674
        if test -z ""; then       dirs="$kde_default_bindirs $dirs"
 
32675
        else      dirs="$dirs $kde_default_bindirs"
 
32676
        fi
 
32677
        IFS=$kde_save_IFS
 
32678
 
 
32679
        for dir in $dirs; do
 
32680
          if test -x "$dir/makekdewidgets"; then
 
32681
            if test -n ""
 
32682
            then
 
32683
              evalstr="$dir/makekdewidgets  2>&1 "
 
32684
              if eval $evalstr; then
 
32685
                kde_cv_path="$dir/makekdewidgets"
 
32686
                break
 
32687
              fi
 
32688
            else
 
32689
                kde_cv_path="$dir/makekdewidgets"
 
32690
                break
 
32691
            fi
 
32692
          fi
 
32693
        done
 
32694
 
 
32695
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
 
32696
 
 
32697
 
 
32698
fi
 
32699
 
 
32700
 
 
32701
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
 
32702
 
 
32703
   fi
 
32704
 
 
32705
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
 
32706
      { echo "$as_me:$LINENO: result: not found" >&5
 
32707
echo "${ECHO_T}not found" >&6; }
 
32708
 
 
32709
    { { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
 
32710
Please check whether you installed KDE correctly.
 
32711
" >&5
 
32712
echo "$as_me: error: The important program makekdewidgets was not found!
 
32713
Please check whether you installed KDE correctly.
 
32714
" >&2;}
 
32715
   { (exit 1); exit 1; }; }
 
32716
 
 
32717
   else
 
32718
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
32719
echo "${ECHO_T}$kde_cv_path" >&6; }
 
32720
      MAKEKDEWIDGETS=$kde_cv_path
 
32721
 
 
32722
   fi
 
32723
 
 
32724
 
 
32725
        fi
 
32726
 
 
32727
   { echo "$as_me:$LINENO: checking for xmllint" >&5
 
32728
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6; }
31223
32729
   if test -n "$XMLLINT"; then
31224
32730
        kde_cv_path="$XMLLINT";
31225
32731
   else
31226
32732
        kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
31227
32733
 
31228
 
        if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
 
32734
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31229
32735
  echo $ECHO_N "(cached) $ECHO_C" >&6
31230
32736
else
31231
32737
 
31268
32774
   fi
31269
32775
 
31270
32776
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31271
 
      echo "$as_me:$LINENO: result: not found" >&5
31272
 
echo "${ECHO_T}not found" >&6
 
32777
      { echo "$as_me:$LINENO: result: not found" >&5
 
32778
echo "${ECHO_T}not found" >&6; }
31273
32779
      XMLLINT=""
31274
32780
   else
31275
 
      echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31276
 
echo "${ECHO_T}$kde_cv_path" >&6
 
32781
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
32782
echo "${ECHO_T}$kde_cv_path" >&6; }
31277
32783
      XMLLINT=$kde_cv_path
31278
32784
 
31279
32785
   fi
31280
32786
 
31281
32787
 
31282
 
        if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then
 
32788
        if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
31283
32789
            kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
31284
32790
            test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
31285
32791
 
31288
32794
do
31289
32795
  for j in apps/ksgmltools2/customization/kde-chunk.xsl;
31290
32796
  do
31291
 
    echo "configure: 31291: $i/$j" >&5
 
32797
    echo "configure: 32797: $i/$j" >&5
31292
32798
    if test -r "$i/$j"; then
31293
32799
      echo "taking that" >&5
31294
32800
      KDE_XSL_STYLESHEET=$i
31361
32867
 
31362
32868
 
31363
32869
if test $kde_qtver = 3; then
 
32870
   case $host in
 
32871
               *cygwin*) lib_kded="-lkdeinit_kded" ;;
 
32872
               *) lib_kded="" ;;
 
32873
       esac
 
32874
   LIB_KDED=$lib_kded
 
32875
 
31364
32876
   LIB_KDECORE="-lkdecore"
31365
32877
 
31366
32878
   LIB_KDEUI="-lkdeui"
31367
32879
 
31368
32880
   LIB_KIO="-lkio"
31369
32881
 
 
32882
   LIB_KJS="-lkjs"
 
32883
 
31370
32884
   LIB_SMB="-lsmb"
31371
32885
 
31372
32886
   LIB_KAB="-lkab"
31385
32899
 
31386
32900
   LIB_KDEPIM="-lkdepim"
31387
32901
 
 
32902
   LIB_KIMPROXY="-lkimproxy"
 
32903
 
 
32904
   LIB_KNEWSTUFF="-lknewstuff"
 
32905
 
 
32906
   LIB_KDNSSD="-lkdnssd"
 
32907
 
 
32908
   LIB_KUNITTEST="-lkunittest"
 
32909
 
31388
32910
# these are for backward compatibility
31389
32911
   LIB_KSYCOCA="-lkio"
31390
32912
 
31428
32950
 
31429
32951
 
31430
32952
 
31431
 
#MIN_CONFIG(3.1)
31432
 
 
31433
 
 
31434
 
 
31435
 
 
31436
 
 
 
32953
#MIN_CONFIG(3.2)
 
32954
 
 
32955
# ---- KMess version ----
 
32956
 
 
32957
#dnl PACKAGE set before
 
32958
 
 
32959
 
 
32960
# ---- KDevelop stuff ----
 
32961
 
 
32962
 
 
32963
 
 
32964
 
 
32965
# ---- Additional KMess debug option ----
31437
32966
 
31438
32967
# The syntax is: AC_ARG_ENABLE(flagname, description, if-user-desides, if-user-ignores)
31439
 
# Check whether --enable-debug-output or --disable-debug-output was given.
 
32968
# Check whether --enable-debug-output was given.
31440
32969
if test "${enable_debug_output+set}" = set; then
31441
 
  enableval="$enable_debug_output"
31442
 
   enable_debug_output="$enableval"
 
32970
  enableval=$enable_debug_output;  enable_debug_output="$enableval"
31443
32971
else
31444
32972
   enable_debug_output="no"
31445
 
fi;
31446
 
 
31447
 
 
31448
 
# -- Check for Debug build messages ---------------------------------
31449
 
 
 
32973
fi
 
32974
 
 
32975
 
 
32976
# Checking code
31450
32977
if test "x$enable_debug_output" = "xyes" ; then
31451
32978
  { echo "$as_me:$LINENO: WARNING: Creating debug build. This has serious implications in the performance of KMess" >&5
31452
32979
echo "$as_me: WARNING: Creating debug build. This has serious implications in the performance of KMess" >&2;}
31496
33023
 
31497
33024
 
31498
33025
 
31499
 
 
31500
33026
   kde_safe_cppflags=$CPPFLAGS
31501
33027
   CPPFLAGS="$CPPFLAGS $all_includes"
31502
 
    ac_ext=cc
 
33028
    ac_ext=cpp
31503
33029
ac_cpp='$CXXCPP $CPPFLAGS'
31504
33030
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505
33031
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512
33038
for ac_header in X11/extensions/scrnsaver.h
31513
33039
do
31514
33040
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31515
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
31516
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31517
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
33041
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
33042
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
33043
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31518
33044
  echo $ECHO_N "(cached) $ECHO_C" >&6
31519
33045
else
31520
33046
  cat >conftest.$ac_ext <<_ACEOF
31531
33057
#include <$ac_header>
31532
33058
_ACEOF
31533
33059
rm -f conftest.$ac_objext
31534
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31535
 
  (eval $ac_compile) 2>conftest.er1
 
33060
if { (ac_try="$ac_compile"
 
33061
case "(($ac_try" in
 
33062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33063
  *) ac_try_echo=$ac_try;;
 
33064
esac
 
33065
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33066
  (eval "$ac_compile") 2>conftest.er1
31536
33067
  ac_status=$?
31537
33068
  grep -v '^ *+' conftest.er1 >conftest.err
31538
33069
  rm -f conftest.er1
31539
33070
  cat conftest.err >&5
31540
33071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541
 
  (exit $ac_status); } &&
31542
 
         { ac_try='test -z "$ac_cxx_werror_flag"
31543
 
                         || test ! -s conftest.err'
31544
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31545
 
  (eval $ac_try) 2>&5
31546
 
  ac_status=$?
31547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548
 
  (exit $ac_status); }; } &&
31549
 
         { ac_try='test -s conftest.$ac_objext'
31550
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551
 
  (eval $ac_try) 2>&5
31552
 
  ac_status=$?
31553
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554
 
  (exit $ac_status); }; }; then
 
33072
  (exit $ac_status); } && {
 
33073
         test -z "$ac_cxx_werror_flag" ||
 
33074
         test ! -s conftest.err
 
33075
       } && test -s conftest.$ac_objext; then
31555
33076
  eval "$as_ac_Header=yes"
31556
33077
else
31557
33078
  echo "$as_me: failed program was:" >&5
31558
33079
sed 's/^/| /' conftest.$ac_ext >&5
31559
33080
 
31560
 
eval "$as_ac_Header=no"
31561
 
fi
31562
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31563
 
fi
31564
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31565
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
33081
        eval "$as_ac_Header=no"
 
33082
fi
 
33083
 
 
33084
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
33085
fi
 
33086
ac_res=`eval echo '${'$as_ac_Header'}'`
 
33087
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
33088
echo "${ECHO_T}$ac_res" >&6; }
31566
33089
if test `eval echo '${'$as_ac_Header'}'` = yes; then
31567
33090
  cat >>confdefs.h <<_ACEOF
31568
33091
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31573
33096
    APBUILD_STATIC=""
31574
33097
    APBUILD_BOGUS_DEPS=""
31575
33098
    LIBS="$X_PRE_LIBS -lX11 $X_LDFLAGS $X_EXTRA_LIBS"
31576
 
    echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXext" >&5
31577
 
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXext... $ECHO_C" >&6
 
33099
    { echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXext" >&5
 
33100
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXext... $ECHO_C" >&6; }
31578
33101
if test "${ac_cv_lib_Xext_XScreenSaverQueryInfo+set}" = set; then
31579
33102
  echo $ECHO_N "(cached) $ECHO_C" >&6
31580
33103
else
31587
33110
cat >>conftest.$ac_ext <<_ACEOF
31588
33111
/* end confdefs.h.  */
31589
33112
 
31590
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
33113
/* Override any GCC internal prototype to avoid an error.
 
33114
   Use char because int might match the return type of a GCC
 
33115
   builtin and then its argument prototype would still apply.  */
31591
33116
#ifdef __cplusplus
31592
33117
extern "C"
31593
33118
#endif
31594
 
/* We use char because int might match the return type of a gcc2
31595
 
   builtin and then its argument prototype would still apply.  */
31596
33119
char XScreenSaverQueryInfo ();
31597
33120
int
31598
33121
main ()
31599
33122
{
31600
 
XScreenSaverQueryInfo ();
 
33123
return XScreenSaverQueryInfo ();
31601
33124
  ;
31602
33125
  return 0;
31603
33126
}
31604
33127
_ACEOF
31605
33128
rm -f conftest.$ac_objext conftest$ac_exeext
31606
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31607
 
  (eval $ac_link) 2>conftest.er1
 
33129
if { (ac_try="$ac_link"
 
33130
case "(($ac_try" in
 
33131
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33132
  *) ac_try_echo=$ac_try;;
 
33133
esac
 
33134
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33135
  (eval "$ac_link") 2>conftest.er1
31608
33136
  ac_status=$?
31609
33137
  grep -v '^ *+' conftest.er1 >conftest.err
31610
33138
  rm -f conftest.er1
31611
33139
  cat conftest.err >&5
31612
33140
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613
 
  (exit $ac_status); } &&
31614
 
         { ac_try='test -z "$ac_cxx_werror_flag"
31615
 
                         || test ! -s conftest.err'
31616
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31617
 
  (eval $ac_try) 2>&5
31618
 
  ac_status=$?
31619
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620
 
  (exit $ac_status); }; } &&
31621
 
         { ac_try='test -s conftest$ac_exeext'
31622
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31623
 
  (eval $ac_try) 2>&5
31624
 
  ac_status=$?
31625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31626
 
  (exit $ac_status); }; }; then
 
33141
  (exit $ac_status); } && {
 
33142
         test -z "$ac_cxx_werror_flag" ||
 
33143
         test ! -s conftest.err
 
33144
       } && test -s conftest$ac_exeext &&
 
33145
       $as_test_x conftest$ac_exeext; then
31627
33146
  ac_cv_lib_Xext_XScreenSaverQueryInfo=yes
31628
33147
else
31629
33148
  echo "$as_me: failed program was:" >&5
31630
33149
sed 's/^/| /' conftest.$ac_ext >&5
31631
33150
 
31632
 
ac_cv_lib_Xext_XScreenSaverQueryInfo=no
 
33151
        ac_cv_lib_Xext_XScreenSaverQueryInfo=no
31633
33152
fi
31634
 
rm -f conftest.err conftest.$ac_objext \
 
33153
 
 
33154
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31635
33155
      conftest$ac_exeext conftest.$ac_ext
31636
33156
LIBS=$ac_check_lib_save_LIBS
31637
33157
fi
31638
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XScreenSaverQueryInfo" >&5
31639
 
echo "${ECHO_T}$ac_cv_lib_Xext_XScreenSaverQueryInfo" >&6
 
33158
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XScreenSaverQueryInfo" >&5
 
33159
echo "${ECHO_T}$ac_cv_lib_Xext_XScreenSaverQueryInfo" >&6; }
31640
33160
if test $ac_cv_lib_Xext_XScreenSaverQueryInfo = yes; then
31641
33161
 
31642
33162
        # Success, use "-lXext"
31653
33173
 
31654
33174
        # Check if libXss has XScreenSaverQueryInfo()
31655
33175
        LIBS="-lXext -lX11 $X_LDFLAGS"
31656
 
        echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXss" >&5
31657
 
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXss... $ECHO_C" >&6
 
33176
        { echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXss" >&5
 
33177
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXss... $ECHO_C" >&6; }
31658
33178
if test "${ac_cv_lib_Xss_XScreenSaverQueryInfo+set}" = set; then
31659
33179
  echo $ECHO_N "(cached) $ECHO_C" >&6
31660
33180
else
31667
33187
cat >>conftest.$ac_ext <<_ACEOF
31668
33188
/* end confdefs.h.  */
31669
33189
 
31670
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
33190
/* Override any GCC internal prototype to avoid an error.
 
33191
   Use char because int might match the return type of a GCC
 
33192
   builtin and then its argument prototype would still apply.  */
31671
33193
#ifdef __cplusplus
31672
33194
extern "C"
31673
33195
#endif
31674
 
/* We use char because int might match the return type of a gcc2
31675
 
   builtin and then its argument prototype would still apply.  */
31676
33196
char XScreenSaverQueryInfo ();
31677
33197
int
31678
33198
main ()
31679
33199
{
31680
 
XScreenSaverQueryInfo ();
 
33200
return XScreenSaverQueryInfo ();
31681
33201
  ;
31682
33202
  return 0;
31683
33203
}
31684
33204
_ACEOF
31685
33205
rm -f conftest.$ac_objext conftest$ac_exeext
31686
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31687
 
  (eval $ac_link) 2>conftest.er1
 
33206
if { (ac_try="$ac_link"
 
33207
case "(($ac_try" in
 
33208
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33209
  *) ac_try_echo=$ac_try;;
 
33210
esac
 
33211
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33212
  (eval "$ac_link") 2>conftest.er1
31688
33213
  ac_status=$?
31689
33214
  grep -v '^ *+' conftest.er1 >conftest.err
31690
33215
  rm -f conftest.er1
31691
33216
  cat conftest.err >&5
31692
33217
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693
 
  (exit $ac_status); } &&
31694
 
         { ac_try='test -z "$ac_cxx_werror_flag"
31695
 
                         || test ! -s conftest.err'
31696
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697
 
  (eval $ac_try) 2>&5
31698
 
  ac_status=$?
31699
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700
 
  (exit $ac_status); }; } &&
31701
 
         { ac_try='test -s conftest$ac_exeext'
31702
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703
 
  (eval $ac_try) 2>&5
31704
 
  ac_status=$?
31705
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706
 
  (exit $ac_status); }; }; then
 
33218
  (exit $ac_status); } && {
 
33219
         test -z "$ac_cxx_werror_flag" ||
 
33220
         test ! -s conftest.err
 
33221
       } && test -s conftest$ac_exeext &&
 
33222
       $as_test_x conftest$ac_exeext; then
31707
33223
  ac_cv_lib_Xss_XScreenSaverQueryInfo=yes
31708
33224
else
31709
33225
  echo "$as_me: failed program was:" >&5
31710
33226
sed 's/^/| /' conftest.$ac_ext >&5
31711
33227
 
31712
 
ac_cv_lib_Xss_XScreenSaverQueryInfo=no
 
33228
        ac_cv_lib_Xss_XScreenSaverQueryInfo=no
31713
33229
fi
31714
 
rm -f conftest.err conftest.$ac_objext \
 
33230
 
 
33231
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31715
33232
      conftest$ac_exeext conftest.$ac_ext
31716
33233
LIBS=$ac_check_lib_save_LIBS
31717
33234
fi
31718
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xss_XScreenSaverQueryInfo" >&5
31719
 
echo "${ECHO_T}$ac_cv_lib_Xss_XScreenSaverQueryInfo" >&6
 
33235
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xss_XScreenSaverQueryInfo" >&5
 
33236
echo "${ECHO_T}$ac_cv_lib_Xss_XScreenSaverQueryInfo" >&6; }
31720
33237
if test $ac_cv_lib_Xss_XScreenSaverQueryInfo = yes; then
31721
33238
 
31722
33239
            # Success, use "-lXss"
31779
33296
# http://autopackage.org/
31780
33297
 
31781
33298
# New configure arguments
31782
 
# Check whether --enable-binreloc or --disable-binreloc was given.
 
33299
# Check whether --enable-binreloc was given.
31783
33300
if test "${enable_binreloc+set}" = set; then
31784
 
  enableval="$enable_binreloc"
31785
 
  enable_binreloc=$enableval
 
33301
  enableval=$enable_binreloc; enable_binreloc=$enableval
31786
33302
else
31787
33303
  enable_binreloc=auto
31788
 
fi;
31789
 
 
31790
 
# Check whether --enable-binreloc-threads or --disable-binreloc-threads was given.
 
33304
fi
 
33305
 
 
33306
 
 
33307
# Check whether --enable-binreloc-threads was given.
31791
33308
if test "${enable_binreloc_threads+set}" = set; then
31792
 
  enableval="$enable_binreloc_threads"
31793
 
  enable_binreloc_threads=$enableval
 
33309
  enableval=$enable_binreloc_threads; enable_binreloc_threads=$enableval
31794
33310
else
31795
33311
  enable_binreloc_threads=yes
31796
 
fi;
 
33312
fi
 
33313
 
31797
33314
 
31798
33315
 
31799
33316
# checking code
31801
33318
BINRELOC_LIBS=
31802
33319
 
31803
33320
if test "x$enable_binreloc" = "xauto"; then
31804
 
  echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
31805
 
echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
 
33321
  { echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
 
33322
echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6; }
31806
33323
if test "${ac_cv_file__proc_self_maps+set}" = set; then
31807
33324
  echo $ECHO_N "(cached) $ECHO_C" >&6
31808
33325
else
31816
33333
  ac_cv_file__proc_self_maps=no
31817
33334
fi
31818
33335
fi
31819
 
echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
31820
 
echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
 
33336
{ echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
 
33337
echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6; }
31821
33338
 
31822
 
  echo "$as_me:$LINENO: checking whether everything is installed to the same prefix" >&5
31823
 
echo $ECHO_N "checking whether everything is installed to the same prefix... $ECHO_C" >&6
 
33339
  { echo "$as_me:$LINENO: checking whether everything is installed to the same prefix" >&5
 
33340
echo $ECHO_N "checking whether everything is installed to the same prefix... $ECHO_C" >&6; }
31824
33341
if test "${br_cv_valid_prefixes+set}" = set; then
31825
33342
  echo $ECHO_N "(cached) $ECHO_C" >&6
31826
33343
else
31835
33352
     fi
31836
33353
 
31837
33354
fi
31838
 
echo "$as_me:$LINENO: result: $br_cv_valid_prefixes" >&5
31839
 
echo "${ECHO_T}$br_cv_valid_prefixes" >&6
 
33355
{ echo "$as_me:$LINENO: result: $br_cv_valid_prefixes" >&5
 
33356
echo "${ECHO_T}$br_cv_valid_prefixes" >&6; }
31840
33357
fi
31841
33358
 
31842
 
echo "$as_me:$LINENO: checking whether binary relocation support should be enabled" >&5
31843
 
echo $ECHO_N "checking whether binary relocation support should be enabled... $ECHO_C" >&6
 
33359
{ echo "$as_me:$LINENO: checking whether binary relocation support should be enabled" >&5
 
33360
echo $ECHO_N "checking whether binary relocation support should be enabled... $ECHO_C" >&6; }
31844
33361
if test "${br_cv_binreloc+set}" = set; then
31845
33362
  echo $ECHO_N "(cached) $ECHO_C" >&6
31846
33363
else
31858
33375
   fi
31859
33376
 
31860
33377
fi
31861
 
echo "$as_me:$LINENO: result: $br_cv_binreloc" >&5
31862
 
echo "${ECHO_T}$br_cv_binreloc" >&6
 
33378
{ echo "$as_me:$LINENO: result: $br_cv_binreloc" >&5
 
33379
echo "${ECHO_T}$br_cv_binreloc" >&6; }
31863
33380
 
31864
33381
if test "x$br_cv_binreloc" = "xyes"; then
31865
33382
  # using both -DENABLE_BINRELOC and AC_DEFINE(ENABLE_BINRELOC) produces
31868
33385
  ### AC_DEFINE(ENABLE_BINRELOC,,[Use binary relocation?])
31869
33386
  if test "x$enable_binreloc_threads" = "xyes"; then
31870
33387
 
31871
 
echo "$as_me:$LINENO: checking for pthread_getspecific in -lpthread" >&5
31872
 
echo $ECHO_N "checking for pthread_getspecific in -lpthread... $ECHO_C" >&6
 
33388
{ echo "$as_me:$LINENO: checking for pthread_getspecific in -lpthread" >&5
 
33389
echo $ECHO_N "checking for pthread_getspecific in -lpthread... $ECHO_C" >&6; }
31873
33390
if test "${ac_cv_lib_pthread_pthread_getspecific+set}" = set; then
31874
33391
  echo $ECHO_N "(cached) $ECHO_C" >&6
31875
33392
else
31882
33399
cat >>conftest.$ac_ext <<_ACEOF
31883
33400
/* end confdefs.h.  */
31884
33401
 
31885
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
33402
/* Override any GCC internal prototype to avoid an error.
 
33403
   Use char because int might match the return type of a GCC
 
33404
   builtin and then its argument prototype would still apply.  */
31886
33405
#ifdef __cplusplus
31887
33406
extern "C"
31888
33407
#endif
31889
 
/* We use char because int might match the return type of a gcc2
31890
 
   builtin and then its argument prototype would still apply.  */
31891
33408
char pthread_getspecific ();
31892
33409
int
31893
33410
main ()
31894
33411
{
31895
 
pthread_getspecific ();
 
33412
return pthread_getspecific ();
31896
33413
  ;
31897
33414
  return 0;
31898
33415
}
31899
33416
_ACEOF
31900
33417
rm -f conftest.$ac_objext conftest$ac_exeext
31901
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31902
 
  (eval $ac_link) 2>conftest.er1
 
33418
if { (ac_try="$ac_link"
 
33419
case "(($ac_try" in
 
33420
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33421
  *) ac_try_echo=$ac_try;;
 
33422
esac
 
33423
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33424
  (eval "$ac_link") 2>conftest.er1
31903
33425
  ac_status=$?
31904
33426
  grep -v '^ *+' conftest.er1 >conftest.err
31905
33427
  rm -f conftest.er1
31906
33428
  cat conftest.err >&5
31907
33429
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908
 
  (exit $ac_status); } &&
31909
 
         { ac_try='test -z "$ac_c_werror_flag"
31910
 
                         || test ! -s conftest.err'
31911
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31912
 
  (eval $ac_try) 2>&5
31913
 
  ac_status=$?
31914
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31915
 
  (exit $ac_status); }; } &&
31916
 
         { ac_try='test -s conftest$ac_exeext'
31917
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31918
 
  (eval $ac_try) 2>&5
31919
 
  ac_status=$?
31920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921
 
  (exit $ac_status); }; }; then
 
33430
  (exit $ac_status); } && {
 
33431
         test -z "$ac_c_werror_flag" ||
 
33432
         test ! -s conftest.err
 
33433
       } && test -s conftest$ac_exeext &&
 
33434
       $as_test_x conftest$ac_exeext; then
31922
33435
  ac_cv_lib_pthread_pthread_getspecific=yes
31923
33436
else
31924
33437
  echo "$as_me: failed program was:" >&5
31925
33438
sed 's/^/| /' conftest.$ac_ext >&5
31926
33439
 
31927
 
ac_cv_lib_pthread_pthread_getspecific=no
 
33440
        ac_cv_lib_pthread_pthread_getspecific=no
31928
33441
fi
31929
 
rm -f conftest.err conftest.$ac_objext \
 
33442
 
 
33443
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31930
33444
      conftest$ac_exeext conftest.$ac_ext
31931
33445
LIBS=$ac_check_lib_save_LIBS
31932
33446
fi
31933
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_getspecific" >&5
31934
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_getspecific" >&6
 
33447
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_getspecific" >&5
 
33448
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_getspecific" >&6; }
31935
33449
if test $ac_cv_lib_pthread_pthread_getspecific = yes; then
31936
33450
  cat >>confdefs.h <<_ACEOF
31937
33451
#define HAVE_LIBPTHREAD 1
31943
33457
 
31944
33458
  fi
31945
33459
 
31946
 
  echo "$as_me:$LINENO: checking whether binary relocation should use threads" >&5
31947
 
echo $ECHO_N "checking whether binary relocation should use threads... $ECHO_C" >&6
 
33460
  { echo "$as_me:$LINENO: checking whether binary relocation should use threads" >&5
 
33461
echo $ECHO_N "checking whether binary relocation should use threads... $ECHO_C" >&6; }
31948
33462
if test "${br_cv_binreloc_threads+set}" = set; then
31949
33463
  echo $ECHO_N "(cached) $ECHO_C" >&6
31950
33464
else
31959
33473
     fi
31960
33474
 
31961
33475
fi
31962
 
echo "$as_me:$LINENO: result: $br_cv_binreloc_threads" >&5
31963
 
echo "${ECHO_T}$br_cv_binreloc_threads" >&6
 
33476
{ echo "$as_me:$LINENO: result: $br_cv_binreloc_threads" >&5
 
33477
echo "${ECHO_T}$br_cv_binreloc_threads" >&6; }
31964
33478
 
31965
33479
  if test "x$br_cv_binreloc_threads" = "xyes"; then
31966
33480
    BINRELOC_LIBS="-lpthread"
31983
33497
 
31984
33498
 
31985
33499
 
 
33500
# also export detected prefixes as fallback
 
33501
 
 
33502
cat >>confdefs.h <<_ACEOF
 
33503
#define KMESS_PREFIX "$prefix"
 
33504
_ACEOF
 
33505
 
 
33506
 
 
33507
 
 
33508
# -- Check for libxml -----------------------------------------
 
33509
 
 
33510
XML_CONFIG=
 
33511
 
 
33512
 
 
33513
   { echo "$as_me:$LINENO: checking for xml2-config" >&5
 
33514
echo $ECHO_N "checking for xml2-config... $ECHO_C" >&6; }
 
33515
   if test -n "$XML_CONFIG"; then
 
33516
        kde_cv_path="$XML_CONFIG";
 
33517
   else
 
33518
        kde_cache=`echo xml2-config | sed 'y%./+-%__p_%'`
 
33519
 
 
33520
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
 
33521
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33522
else
 
33523
 
 
33524
        kde_cv_path="NONE"
 
33525
        kde_save_IFS=$IFS
 
33526
        IFS=':'
 
33527
        dirs=""
 
33528
        for dir in $PATH; do
 
33529
          dirs="$dirs $dir"
 
33530
        done
 
33531
        if test -z ""; then       dirs="${exec_prefix}/bin ${prefix}/bin $dirs"
 
33532
        else      dirs="$dirs ${exec_prefix}/bin ${prefix}/bin"
 
33533
        fi
 
33534
        IFS=$kde_save_IFS
 
33535
 
 
33536
        for dir in $dirs; do
 
33537
          if test -x "$dir/xml2-config"; then
 
33538
            if test -n ""
 
33539
            then
 
33540
              evalstr="$dir/xml2-config  2>&1 "
 
33541
              if eval $evalstr; then
 
33542
                kde_cv_path="$dir/xml2-config"
 
33543
                break
 
33544
              fi
 
33545
            else
 
33546
                kde_cv_path="$dir/xml2-config"
 
33547
                break
 
33548
            fi
 
33549
          fi
 
33550
        done
 
33551
 
 
33552
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
 
33553
 
 
33554
 
 
33555
fi
 
33556
 
 
33557
 
 
33558
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
 
33559
 
 
33560
   fi
 
33561
 
 
33562
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
 
33563
      { echo "$as_me:$LINENO: result: not found" >&5
 
33564
echo "${ECHO_T}not found" >&6; }
 
33565
      { { echo "$as_me:$LINENO: error: libxml2 not found, please install libxml2 and libxml2-devel first (at least version 2.4.8) and run configure again." >&5
 
33566
echo "$as_me: error: libxml2 not found, please install libxml2 and libxml2-devel first (at least version 2.4.8) and run configure again." >&2;}
 
33567
   { (exit 1); exit 1; }; }
 
33568
 
 
33569
   else
 
33570
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
33571
echo "${ECHO_T}$kde_cv_path" >&6; }
 
33572
      XML_CONFIG=$kde_cv_path
 
33573
 
 
33574
   fi
 
33575
 
 
33576
 
 
33577
if test -n "$XML_CONFIG"; then
 
33578
  vers=`$XML_CONFIG --version 2>/dev/null | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
 
33579
  if test -n "$vers" && test "$vers" -ge 2004008
 
33580
  then
 
33581
    LIBXML_LIBS="`$XML_CONFIG --libs`"
 
33582
    LIBXML_RPATH=
 
33583
    for args in $LIBXML_LIBS
 
33584
    do
 
33585
      case $args in
 
33586
        -L*)
 
33587
          LIBXML_RPATH="$LIBXML_RPATH $args"
 
33588
        ;;
 
33589
      esac
 
33590
    done
 
33591
    LIBXML_RPATH=`echo $LIBXML_RPATH | sed -e "s/-L/-R/g"`
 
33592
    LIBXML_CFLAGS="`$XML_CONFIG --cflags`"
 
33593
 
 
33594
cat >>confdefs.h <<\_ACEOF
 
33595
#define HAVE_LIBXML2 1
 
33596
_ACEOF
 
33597
 
 
33598
  else
 
33599
    { { echo "$as_me:$LINENO: error: You need at least libxml 2.4.8, please upgrade your libxml packages and run configure again." >&5
 
33600
echo "$as_me: error: You need at least libxml 2.4.8, please upgrade your libxml packages and run configure again." >&2;}
 
33601
   { (exit 1); exit 1; }; }
 
33602
  fi
 
33603
fi
 
33604
 
 
33605
if test -z "$XML_CONFIG"; then
 
33606
  all_tests="bad"
 
33607
  echo ""
 
33608
  echo "Please fix the problems, and run ./configure again."
 
33609
  echo ""
 
33610
  exit 1
 
33611
fi
 
33612
 
 
33613
 
 
33614
 
 
33615
 
 
33616
 
 
33617
 
 
33618
# -- Check for libxslt -----------------------------------------
 
33619
 
 
33620
 
 
33621
   { echo "$as_me:$LINENO: checking for xslt-config" >&5
 
33622
echo $ECHO_N "checking for xslt-config... $ECHO_C" >&6; }
 
33623
   if test -n "$XSLT_CONFIG"; then
 
33624
        kde_cv_path="$XSLT_CONFIG";
 
33625
   else
 
33626
        kde_cache=`echo xslt-config | sed 'y%./+-%__p_%'`
 
33627
 
 
33628
        if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
 
33629
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33630
else
 
33631
 
 
33632
        kde_cv_path="NONE"
 
33633
        kde_save_IFS=$IFS
 
33634
        IFS=':'
 
33635
        dirs=""
 
33636
        for dir in $PATH; do
 
33637
          dirs="$dirs $dir"
 
33638
        done
 
33639
        if test -z ""; then       dirs="${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin /usr/bin $dirs"
 
33640
        else      dirs="$dirs ${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin /usr/bin"
 
33641
        fi
 
33642
        IFS=$kde_save_IFS
 
33643
 
 
33644
        for dir in $dirs; do
 
33645
          if test -x "$dir/xslt-config"; then
 
33646
            if test -n ""
 
33647
            then
 
33648
              evalstr="$dir/xslt-config  2>&1 "
 
33649
              if eval $evalstr; then
 
33650
                kde_cv_path="$dir/xslt-config"
 
33651
                break
 
33652
              fi
 
33653
            else
 
33654
                kde_cv_path="$dir/xslt-config"
 
33655
                break
 
33656
            fi
 
33657
          fi
 
33658
        done
 
33659
 
 
33660
        eval "kde_cv_path_$kde_cache=$kde_cv_path"
 
33661
 
 
33662
 
 
33663
fi
 
33664
 
 
33665
 
 
33666
      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
 
33667
 
 
33668
   fi
 
33669
 
 
33670
   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
 
33671
      { echo "$as_me:$LINENO: result: not found" >&5
 
33672
echo "${ECHO_T}not found" >&6; }
 
33673
      { { echo "$as_me:$LINENO: error: libxslt not found, please install libxslt and libxslt-devel first (at least version 1.0.7) and run configure again." >&5
 
33674
echo "$as_me: error: libxslt not found, please install libxslt and libxslt-devel first (at least version 1.0.7) and run configure again." >&2;}
 
33675
   { (exit 1); exit 1; }; }
 
33676
 
 
33677
   else
 
33678
      { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
 
33679
echo "${ECHO_T}$kde_cv_path" >&6; }
 
33680
      XSLT_CONFIG=$kde_cv_path
 
33681
 
 
33682
   fi
 
33683
 
 
33684
 
 
33685
if test -n "$XSLT_CONFIG"; then
 
33686
  vers=`$XSLT_CONFIG --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
 
33687
  if test -n "$vers" && test "$vers" -ge 1000007
 
33688
  then
 
33689
    LIBXSLT_LIBS="`$XSLT_CONFIG --libs`"
 
33690
    LIBXSLT_RPATH=
 
33691
    for args in $LIBXSLT_LIBS
 
33692
    do
 
33693
      case $args in
 
33694
        -L*)
 
33695
          LIBXSLT_RPATH="$LIBXSLT_RPATH $args"
 
33696
        ;;
 
33697
      esac
 
33698
    done
 
33699
    LIBXSLT_RPATH=`echo $LIBXSLT_RPATH | sed -e "s/-L/-R/g"`
 
33700
    LIBXSLT_CFLAGS="`$XSLT_CONFIG --cflags`"
 
33701
 
 
33702
cat >>confdefs.h <<\_ACEOF
 
33703
#define HAVE_LIBXSLT 1
 
33704
_ACEOF
 
33705
 
 
33706
  else
 
33707
    { { echo "$as_me:$LINENO: error: You need at least libxslt 1.0.7, please upgrade your libxslt packages and run configure again." >&5
 
33708
echo "$as_me: error: You need at least libxslt 1.0.7, please upgrade your libxslt packages and run configure again." >&2;}
 
33709
   { (exit 1); exit 1; }; }
 
33710
  fi
 
33711
fi
 
33712
 
 
33713
 
 
33714
 
 
33715
 
 
33716
 
 
33717
 
 
33718
 
31986
33719
# KPhone support is still not stable, and should be updated to something like libkcall.
31987
33720
# AC_ARG_ENABLE(kphone,       [  --enable-kphone         enable kphone.  [default=no]], enable_kphone=$enableval, enable_kphone=no)
31988
33721
 
31999
33732
 
32000
33733
  if test "${KPHONEDIR:-unset}" != "unset" ; then
32001
33734
    as_ac_File=`echo "ac_cv_file_${KPHONEDIR}/kphone/kphone.h" | $as_tr_sh`
32002
 
echo "$as_me:$LINENO: checking for ${KPHONEDIR}/kphone/kphone.h" >&5
32003
 
echo $ECHO_N "checking for ${KPHONEDIR}/kphone/kphone.h... $ECHO_C" >&6
32004
 
if eval "test \"\${$as_ac_File+set}\" = set"; then
 
33735
{ echo "$as_me:$LINENO: checking for ${KPHONEDIR}/kphone/kphone.h" >&5
 
33736
echo $ECHO_N "checking for ${KPHONEDIR}/kphone/kphone.h... $ECHO_C" >&6; }
 
33737
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
32005
33738
  echo $ECHO_N "(cached) $ECHO_C" >&6
32006
33739
else
32007
33740
  test "$cross_compiling" = yes &&
32014
33747
  eval "$as_ac_File=no"
32015
33748
fi
32016
33749
fi
32017
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
32018
 
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
 
33750
ac_res=`eval echo '${'$as_ac_File'}'`
 
33751
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
33752
echo "${ECHO_T}$ac_res" >&6; }
32019
33753
if test `eval echo '${'$as_ac_File'}'` = yes; then
32020
33754
  HAS_KPHONE=1
32021
33755
fi
32024
33758
 
32025
33759
  if test "${HAS_KPHONE:-unset}" = "unset" ; then
32026
33760
    as_ac_File=`echo "ac_cv_file_${PWD}/../kphone/kphone/kphone.h" | $as_tr_sh`
32027
 
echo "$as_me:$LINENO: checking for ${PWD}/../kphone/kphone/kphone.h" >&5
32028
 
echo $ECHO_N "checking for ${PWD}/../kphone/kphone/kphone.h... $ECHO_C" >&6
32029
 
if eval "test \"\${$as_ac_File+set}\" = set"; then
 
33761
{ echo "$as_me:$LINENO: checking for ${PWD}/../kphone/kphone/kphone.h" >&5
 
33762
echo $ECHO_N "checking for ${PWD}/../kphone/kphone/kphone.h... $ECHO_C" >&6; }
 
33763
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
32030
33764
  echo $ECHO_N "(cached) $ECHO_C" >&6
32031
33765
else
32032
33766
  test "$cross_compiling" = yes &&
32039
33773
  eval "$as_ac_File=no"
32040
33774
fi
32041
33775
fi
32042
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
32043
 
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
 
33776
ac_res=`eval echo '${'$as_ac_File'}'`
 
33777
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
33778
echo "${ECHO_T}$ac_res" >&6; }
32044
33779
if test `eval echo '${'$as_ac_File'}'` = yes; then
32045
33780
  HAS_KPHONE=1
32046
33781
fi
32093
33828
 
32094
33829
 
32095
33830
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
 
33831
TOPSUBDIRS=""
32096
33832
 
32097
33833
if test ! -s $srcdir/subdirs; then
32098
 
    TOPSUBDIRS=""
32099
 
  files=`cd $srcdir && ls -1`
 
33834
    files=`cd $srcdir && ls -1`
32100
33835
  dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
32101
33836
  for i in $dirs; do
32102
33837
    echo $i >> $srcdir/subdirs
32111
33846
fi
32112
33847
 
32113
33848
for i in $ac_topsubdirs; do
32114
 
  echo "$as_me:$LINENO: checking if $i should be compiled" >&5
32115
 
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6
 
33849
  { echo "$as_me:$LINENO: checking if $i should be compiled" >&5
 
33850
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6; }
32116
33851
  if test -d $srcdir/$i; then
32117
33852
    install_it="yes"
32118
33853
    for j in $DO_NOT_COMPILE; do
32123
33858
  else
32124
33859
    install_it="no"
32125
33860
  fi
32126
 
  echo "$as_me:$LINENO: result: $install_it" >&5
32127
 
echo "${ECHO_T}$install_it" >&6
 
33861
  { echo "$as_me:$LINENO: result: $install_it" >&5
 
33862
echo "${ECHO_T}$install_it" >&6; }
32128
33863
  vari=`echo $i | sed -e 's,[-+.@],_,g'`
32129
33864
  if test $install_it = "yes"; then
32130
33865
    TOPSUBDIRS="$TOPSUBDIRS $i"
32136
33871
 
32137
33872
 
32138
33873
 
32139
 
          ac_config_files="$ac_config_files Makefile"
32140
 
 
32141
 
          ac_config_files="$ac_config_files doc/Makefile"
32142
 
 
32143
 
          ac_config_files="$ac_config_files doc/en/Makefile"
32144
 
 
32145
 
          ac_config_files="$ac_config_files kmess/Makefile"
32146
 
 
32147
 
          ac_config_files="$ac_config_files kmess/actions/Makefile"
32148
 
 
32149
 
          ac_config_files="$ac_config_files kmess/chat/Makefile"
32150
 
 
32151
 
          ac_config_files="$ac_config_files kmess/contact/Makefile"
32152
 
 
32153
 
          ac_config_files="$ac_config_files kmess/crypt/Makefile"
32154
 
 
32155
 
          ac_config_files="$ac_config_files kmess/dialogs/Makefile"
32156
 
 
32157
 
          ac_config_files="$ac_config_files kmess/network/Makefile"
32158
 
 
32159
 
          ac_config_files="$ac_config_files kmess/network/applications/Makefile"
32160
 
 
32161
 
          ac_config_files="$ac_config_files kmess/notification/Makefile"
32162
 
 
32163
 
          ac_config_files="$ac_config_files kmess/pics/Makefile"
32164
 
 
32165
 
          ac_config_files="$ac_config_files kmess/settings/Makefile"
32166
 
 
32167
 
          ac_config_files="$ac_config_files kmess/sounds/Makefile"
32168
 
 
32169
 
          ac_config_files="$ac_config_files po/Makefile"
 
33874
ac_config_files="$ac_config_files Makefile"
 
33875
 
 
33876
ac_config_files="$ac_config_files doc/Makefile"
 
33877
 
 
33878
ac_config_files="$ac_config_files doc/en/Makefile"
 
33879
 
 
33880
ac_config_files="$ac_config_files kmess/Makefile"
 
33881
 
 
33882
ac_config_files="$ac_config_files kmess/actions/Makefile"
 
33883
 
 
33884
ac_config_files="$ac_config_files kmess/chat/Makefile"
 
33885
 
 
33886
ac_config_files="$ac_config_files kmess/contact/Makefile"
 
33887
 
 
33888
ac_config_files="$ac_config_files kmess/crypt/Makefile"
 
33889
 
 
33890
ac_config_files="$ac_config_files kmess/dialogs/Makefile"
 
33891
 
 
33892
ac_config_files="$ac_config_files kmess/network/Makefile"
 
33893
 
 
33894
ac_config_files="$ac_config_files kmess/network/applications/Makefile"
 
33895
 
 
33896
ac_config_files="$ac_config_files kmess/network/extra/Makefile"
 
33897
 
 
33898
ac_config_files="$ac_config_files kmess/network/soap/Makefile"
 
33899
 
 
33900
ac_config_files="$ac_config_files kmess/network/upnp/Makefile"
 
33901
 
 
33902
ac_config_files="$ac_config_files kmess/notification/Makefile"
 
33903
 
 
33904
ac_config_files="$ac_config_files kmess/pics/Makefile"
 
33905
 
 
33906
ac_config_files="$ac_config_files kmess/settings/Makefile"
 
33907
 
 
33908
ac_config_files="$ac_config_files kmess/sounds/Makefile"
 
33909
 
 
33910
ac_config_files="$ac_config_files kmess/styles/Makefile"
 
33911
 
 
33912
ac_config_files="$ac_config_files kmess/styles/Classic/Makefile"
 
33913
 
 
33914
ac_config_files="$ac_config_files kmess/styles/Classic-compact/Makefile"
 
33915
 
 
33916
ac_config_files="$ac_config_files kmess/styles/Colourful-Enclosed/Makefile"
 
33917
 
 
33918
ac_config_files="$ac_config_files kmess/styles/Dim/Makefile"
 
33919
 
 
33920
ac_config_files="$ac_config_files kmess/styles/Efficient/Makefile"
 
33921
 
 
33922
ac_config_files="$ac_config_files kmess/styles/Fresh/Makefile"
 
33923
 
 
33924
ac_config_files="$ac_config_files kmess/styles/Pure/Makefile"
 
33925
 
 
33926
ac_config_files="$ac_config_files po/Makefile"
32170
33927
 
32171
33928
cat >confcache <<\_ACEOF
32172
33929
# This file is a shell script that caches the results of configure
32186
33943
 
32187
33944
# The following way of writing the cache mishandles newlines in values,
32188
33945
# but we know of no workaround that is simple, portable, and efficient.
32189
 
# So, don't put newlines in cache variables' values.
 
33946
# So, we kill variables containing newlines.
32190
33947
# Ultrix sh set writes to stderr and can't be redirected directly,
32191
33948
# and sets the high bit in the cache file unless we assign to the vars.
32192
 
{
 
33949
(
 
33950
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
33951
    eval ac_val=\$$ac_var
 
33952
    case $ac_val in #(
 
33953
    *${as_nl}*)
 
33954
      case $ac_var in #(
 
33955
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
33956
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
33957
      esac
 
33958
      case $ac_var in #(
 
33959
      _ | IFS | as_nl) ;; #(
 
33960
      *) $as_unset $ac_var ;;
 
33961
      esac ;;
 
33962
    esac
 
33963
  done
 
33964
 
32193
33965
  (set) 2>&1 |
32194
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
32195
 
    *ac_space=\ *)
 
33966
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
33967
    *${as_nl}ac_space=\ *)
32196
33968
      # `set' does not quote correctly, so add quotes (double-quote
32197
33969
      # substitution turns \\\\ into \\, and sed turns \\ into \).
32198
33970
      sed -n \
32199
33971
        "s/'/'\\\\''/g;
32200
33972
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32201
 
      ;;
 
33973
      ;; #(
32202
33974
    *)
32203
33975
      # `set' quotes correctly as required by POSIX, so do not add quotes.
32204
 
      sed -n \
32205
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
33976
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
32206
33977
      ;;
32207
 
    esac;
32208
 
} |
 
33978
    esac |
 
33979
    sort
 
33980
) |
32209
33981
  sed '
 
33982
     /^ac_cv_env_/b end
32210
33983
     t clear
32211
 
     : clear
 
33984
     :clear
32212
33985
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32213
33986
     t end
32214
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32215
 
     : end' >>confcache
32216
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
32217
 
  if test -w $cache_file; then
32218
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
33987
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
33988
     :end' >>confcache
 
33989
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
33990
  if test -w "$cache_file"; then
 
33991
    test "x$cache_file" != "x/dev/null" &&
 
33992
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
33993
echo "$as_me: updating cache $cache_file" >&6;}
32219
33994
    cat confcache >$cache_file
32220
33995
  else
32221
 
    echo "not updating unwritable cache $cache_file"
 
33996
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
33997
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
32222
33998
  fi
32223
33999
fi
32224
34000
rm -f confcache
32227
34003
# Let make expand exec_prefix.
32228
34004
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32229
34005
 
32230
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
32231
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32232
 
# trailing colons and then remove the whole line if VPATH becomes empty
32233
 
# (actually we leave an empty line to preserve line numbers).
32234
 
if test "x$srcdir" = x.; then
32235
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
32236
 
s/:*\$(srcdir):*/:/;
32237
 
s/:*\${srcdir}:*/:/;
32238
 
s/:*@srcdir@:*/:/;
32239
 
s/^\([^=]*=[     ]*\):*/\1/;
32240
 
s/:*$//;
32241
 
s/^[^=]*=[       ]*$//;
32242
 
}'
32243
 
fi
32244
 
 
32245
34006
DEFS=-DHAVE_CONFIG_H
32246
34007
 
32247
34008
ac_libobjs=
32248
34009
ac_ltlibobjs=
32249
34010
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32250
34011
  # 1. Remove the extension, and $U if already installed.
32251
 
  ac_i=`echo "$ac_i" |
32252
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
32253
 
  # 2. Add them.
32254
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
32255
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
34012
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
34013
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
34014
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
34015
  #    will be set to the directory where LIBOBJS objects are built.
 
34016
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
34017
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
32256
34018
done
32257
34019
LIBOBJS=$ac_libobjs
32258
34020
 
32280
34042
Usually this means the macro was only invoked conditionally." >&2;}
32281
34043
   { (exit 1); exit 1; }; }
32282
34044
fi
 
34045
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
 
34046
  { { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
 
34047
Usually this means the macro was only invoked conditionally." >&5
 
34048
echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
 
34049
Usually this means the macro was only invoked conditionally." >&2;}
 
34050
   { (exit 1); exit 1; }; }
 
34051
fi
 
34052
if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
 
34053
  { { echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
 
34054
Usually this means the macro was only invoked conditionally." >&5
 
34055
echo "$as_me: error: conditional \"include_x11\" was never defined.
 
34056
Usually this means the macro was only invoked conditionally." >&2;}
 
34057
   { (exit 1); exit 1; }; }
 
34058
fi
32283
34059
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
32284
34060
  { { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
32285
34061
Usually this means the macro was only invoked conditionally." >&5
32311
34087
## M4sh Initialization.  ##
32312
34088
## --------------------- ##
32313
34089
 
32314
 
# Be Bourne compatible
 
34090
# Be more Bourne compatible
 
34091
DUALCASE=1; export DUALCASE # for MKS sh
32315
34092
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
32316
34093
  emulate sh
32317
34094
  NULLCMD=:
32318
34095
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
32319
34096
  # is contrary to our usage.  Disable this feature.
32320
34097
  alias -g '${1+"$@"}'='"$@"'
32321
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
32322
 
  set -o posix
32323
 
fi
32324
 
DUALCASE=1; export DUALCASE # for MKS sh
 
34098
  setopt NO_GLOB_SUBST
 
34099
else
 
34100
  case `(set -o) 2>/dev/null` in
 
34101
  *posix*) set -o posix ;;
 
34102
esac
 
34103
 
 
34104
fi
 
34105
 
 
34106
 
 
34107
 
 
34108
 
 
34109
# PATH needs CR
 
34110
# Avoid depending upon Character Ranges.
 
34111
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
34112
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
34113
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
34114
as_cr_digits='0123456789'
 
34115
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
34116
 
 
34117
# The user is always right.
 
34118
if test "${PATH_SEPARATOR+set}" != set; then
 
34119
  echo "#! /bin/sh" >conf$$.sh
 
34120
  echo  "exit 0"   >>conf$$.sh
 
34121
  chmod +x conf$$.sh
 
34122
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
34123
    PATH_SEPARATOR=';'
 
34124
  else
 
34125
    PATH_SEPARATOR=:
 
34126
  fi
 
34127
  rm -f conf$$.sh
 
34128
fi
32325
34129
 
32326
34130
# Support unset when possible.
32327
34131
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32331
34135
fi
32332
34136
 
32333
34137
 
 
34138
# IFS
 
34139
# We need space, tab and new line, in precisely that order.  Quoting is
 
34140
# there to prevent editors from complaining about space-tab.
 
34141
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
34142
# splitting by setting IFS to empty value.)
 
34143
as_nl='
 
34144
'
 
34145
IFS=" ""        $as_nl"
 
34146
 
 
34147
# Find who we are.  Look in the path if we contain no directory separator.
 
34148
case $0 in
 
34149
  *[\\/]* ) as_myself=$0 ;;
 
34150
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
34151
for as_dir in $PATH
 
34152
do
 
34153
  IFS=$as_save_IFS
 
34154
  test -z "$as_dir" && as_dir=.
 
34155
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
34156
done
 
34157
IFS=$as_save_IFS
 
34158
 
 
34159
     ;;
 
34160
esac
 
34161
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
34162
# in which case we are not to be found in the path.
 
34163
if test "x$as_myself" = x; then
 
34164
  as_myself=$0
 
34165
fi
 
34166
if test ! -f "$as_myself"; then
 
34167
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
34168
  { (exit 1); exit 1; }
 
34169
fi
 
34170
 
32334
34171
# Work around bugs in pre-3.0 UWIN ksh.
32335
 
$as_unset ENV MAIL MAILPATH
 
34172
for as_var in ENV MAIL MAILPATH
 
34173
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
34174
done
32336
34175
PS1='$ '
32337
34176
PS2='> '
32338
34177
PS4='+ '
32346
34185
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
32347
34186
    eval $as_var=C; export $as_var
32348
34187
  else
32349
 
    $as_unset $as_var
 
34188
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
32350
34189
  fi
32351
34190
done
32352
34191
 
32353
34192
# Required to use basename.
32354
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
34193
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
34194
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
32355
34195
  as_expr=expr
32356
34196
else
32357
34197
  as_expr=false
32358
34198
fi
32359
34199
 
32360
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
34200
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
32361
34201
  as_basename=basename
32362
34202
else
32363
34203
  as_basename=false
32365
34205
 
32366
34206
 
32367
34207
# Name of the executable.
32368
 
as_me=`$as_basename "$0" ||
 
34208
as_me=`$as_basename -- "$0" ||
32369
34209
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
32370
34210
         X"$0" : 'X\(//\)$' \| \
32371
 
         X"$0" : 'X\(/\)$' \| \
32372
 
         .     : '\(.\)' 2>/dev/null ||
 
34211
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
32373
34212
echo X/"$0" |
32374
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
32375
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
32376
 
          /^X\/\(\/\).*/{ s//\1/; q; }
32377
 
          s/.*/./; q'`
32378
 
 
32379
 
 
32380
 
# PATH needs CR, and LINENO needs CR and PATH.
32381
 
# Avoid depending upon Character Ranges.
32382
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32383
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32384
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32385
 
as_cr_digits='0123456789'
32386
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
32387
 
 
32388
 
# The user is always right.
32389
 
if test "${PATH_SEPARATOR+set}" != set; then
32390
 
  echo "#! /bin/sh" >conf$$.sh
32391
 
  echo  "exit 0"   >>conf$$.sh
32392
 
  chmod +x conf$$.sh
32393
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
32394
 
    PATH_SEPARATOR=';'
32395
 
  else
32396
 
    PATH_SEPARATOR=:
32397
 
  fi
32398
 
  rm -f conf$$.sh
32399
 
fi
32400
 
 
32401
 
 
32402
 
  as_lineno_1=$LINENO
32403
 
  as_lineno_2=$LINENO
32404
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
32405
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
32406
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
32407
 
  # Find who we are.  Look in the path if we contain no path at all
32408
 
  # relative or not.
32409
 
  case $0 in
32410
 
    *[\\/]* ) as_myself=$0 ;;
32411
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32412
 
for as_dir in $PATH
32413
 
do
32414
 
  IFS=$as_save_IFS
32415
 
  test -z "$as_dir" && as_dir=.
32416
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32417
 
done
32418
 
 
32419
 
       ;;
32420
 
  esac
32421
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
32422
 
  # in which case we are not to be found in the path.
32423
 
  if test "x$as_myself" = x; then
32424
 
    as_myself=$0
32425
 
  fi
32426
 
  if test ! -f "$as_myself"; then
32427
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
32428
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
32429
 
   { (exit 1); exit 1; }; }
32430
 
  fi
32431
 
  case $CONFIG_SHELL in
32432
 
  '')
32433
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32434
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
32435
 
do
32436
 
  IFS=$as_save_IFS
32437
 
  test -z "$as_dir" && as_dir=.
32438
 
  for as_base in sh bash ksh sh5; do
32439
 
         case $as_dir in
32440
 
         /*)
32441
 
           if ("$as_dir/$as_base" -c '
32442
 
  as_lineno_1=$LINENO
32443
 
  as_lineno_2=$LINENO
32444
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
32445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
32446
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
32447
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
32448
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
32449
 
             CONFIG_SHELL=$as_dir/$as_base
32450
 
             export CONFIG_SHELL
32451
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
32452
 
           fi;;
32453
 
         esac
32454
 
       done
32455
 
done
32456
 
;;
32457
 
  esac
 
34213
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
34214
            s//\1/
 
34215
            q
 
34216
          }
 
34217
          /^X\/\(\/\/\)$/{
 
34218
            s//\1/
 
34219
            q
 
34220
          }
 
34221
          /^X\/\(\/\).*/{
 
34222
            s//\1/
 
34223
            q
 
34224
          }
 
34225
          s/.*/./; q'`
 
34226
 
 
34227
# CDPATH.
 
34228
$as_unset CDPATH
 
34229
 
 
34230
 
 
34231
 
 
34232
  as_lineno_1=$LINENO
 
34233
  as_lineno_2=$LINENO
 
34234
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
34235
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
32458
34236
 
32459
34237
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
32460
34238
  # uniformly replaced by the line number.  The first 'sed' inserts a
32461
 
  # line-number line before each line; the second 'sed' does the real
32462
 
  # work.  The second script uses 'N' to pair each line-number line
32463
 
  # with the numbered line, and appends trailing '-' during
32464
 
  # substitution so that $LINENO is not a special case at line end.
 
34239
  # line-number line after each line using $LINENO; the second 'sed'
 
34240
  # does the real work.  The second script uses 'N' to pair each
 
34241
  # line-number line with the line containing $LINENO, and appends
 
34242
  # trailing '-' during substitution so that $LINENO is not a special
 
34243
  # case at line end.
32465
34244
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
32466
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
32467
 
  sed '=' <$as_myself |
 
34245
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
34246
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
34247
  sed -n '
 
34248
    p
 
34249
    /[$]LINENO/=
 
34250
  ' <$as_myself |
32468
34251
    sed '
 
34252
      s/[$]LINENO.*/&-/
 
34253
      t lineno
 
34254
      b
 
34255
      :lineno
32469
34256
      N
32470
 
      s,$,-,
32471
 
      : loop
32472
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
34257
      :loop
 
34258
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
32473
34259
      t loop
32474
 
      s,-$,,
32475
 
      s,^['$as_cr_digits']*\n,,
 
34260
      s/-\n.*//
32476
34261
    ' >$as_me.lineno &&
32477
 
  chmod +x $as_me.lineno ||
32478
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
32479
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
34262
  chmod +x "$as_me.lineno" ||
 
34263
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
32480
34264
   { (exit 1); exit 1; }; }
32481
34265
 
32482
34266
  # Don't try to exec as it changes $[0], causing all sort of problems
32483
34267
  # (the dirname of $[0] is not the place where we might find the
32484
 
  # original and so on.  Autoconf is especially sensible to this).
32485
 
  . ./$as_me.lineno
 
34268
  # original and so on.  Autoconf is especially sensitive to this).
 
34269
  . "./$as_me.lineno"
32486
34270
  # Exit status is that of the last command.
32487
34271
  exit
32488
34272
}
32489
34273
 
32490
34274
 
32491
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
32492
 
  *c*,-n*) ECHO_N= ECHO_C='
32493
 
' ECHO_T='      ' ;;
32494
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
32495
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
34275
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
34276
  as_dirname=dirname
 
34277
else
 
34278
  as_dirname=false
 
34279
fi
 
34280
 
 
34281
ECHO_C= ECHO_N= ECHO_T=
 
34282
case `echo -n x` in
 
34283
-n*)
 
34284
  case `echo 'x\c'` in
 
34285
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
34286
  *)   ECHO_C='\c';;
 
34287
  esac;;
 
34288
*)
 
34289
  ECHO_N='-n';;
32496
34290
esac
32497
34291
 
32498
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
34292
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
34293
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
32499
34294
  as_expr=expr
32500
34295
else
32501
34296
  as_expr=false
32502
34297
fi
32503
34298
 
32504
34299
rm -f conf$$ conf$$.exe conf$$.file
 
34300
if test -d conf$$.dir; then
 
34301
  rm -f conf$$.dir/conf$$.file
 
34302
else
 
34303
  rm -f conf$$.dir
 
34304
  mkdir conf$$.dir
 
34305
fi
32505
34306
echo >conf$$.file
32506
34307
if ln -s conf$$.file conf$$ 2>/dev/null; then
32507
 
  # We could just check for DJGPP; but this test a) works b) is more generic
32508
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
32509
 
  if test -f conf$$.exe; then
32510
 
    # Don't use ln at all; we don't have any links
 
34308
  as_ln_s='ln -s'
 
34309
  # ... but there are two gotchas:
 
34310
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
34311
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
34312
  # In both cases, we have to default to `cp -p'.
 
34313
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32511
34314
    as_ln_s='cp -p'
32512
 
  else
32513
 
    as_ln_s='ln -s'
32514
 
  fi
32515
34315
elif ln conf$$.file conf$$ 2>/dev/null; then
32516
34316
  as_ln_s=ln
32517
34317
else
32518
34318
  as_ln_s='cp -p'
32519
34319
fi
32520
 
rm -f conf$$ conf$$.exe conf$$.file
 
34320
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
34321
rmdir conf$$.dir 2>/dev/null
32521
34322
 
32522
34323
if mkdir -p . 2>/dev/null; then
32523
34324
  as_mkdir_p=:
32526
34327
  as_mkdir_p=false
32527
34328
fi
32528
34329
 
32529
 
as_executable_p="test -f"
 
34330
if test -x / >/dev/null 2>&1; then
 
34331
  as_test_x='test -x'
 
34332
else
 
34333
  if ls -dL / >/dev/null 2>&1; then
 
34334
    as_ls_L_option=L
 
34335
  else
 
34336
    as_ls_L_option=
 
34337
  fi
 
34338
  as_test_x='
 
34339
    eval sh -c '\''
 
34340
      if test -d "$1"; then
 
34341
        test -d "$1/.";
 
34342
      else
 
34343
        case $1 in
 
34344
        -*)set "./$1";;
 
34345
        esac;
 
34346
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
34347
        ???[sx]*):;;*)false;;esac;fi
 
34348
    '\'' sh
 
34349
  '
 
34350
fi
 
34351
as_executable_p=$as_test_x
32530
34352
 
32531
34353
# Sed expression to map a string onto a valid CPP name.
32532
34354
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32535
34357
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32536
34358
 
32537
34359
 
32538
 
# IFS
32539
 
# We need space, tab and new line, in precisely that order.
32540
 
as_nl='
32541
 
'
32542
 
IFS="   $as_nl"
32543
 
 
32544
 
# CDPATH.
32545
 
$as_unset CDPATH
32546
 
 
32547
34360
exec 6>&1
32548
34361
 
32549
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
34362
# Save the log message, to keep $[0] and so on meaningful, and to
32550
34363
# report actual input values of CONFIG_FILES etc. instead of their
32551
 
# values after options handling.  Logging --version etc. is OK.
32552
 
exec 5>>config.log
32553
 
{
32554
 
  echo
32555
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32556
 
## Running $as_me. ##
32557
 
_ASBOX
32558
 
} >&5
32559
 
cat >&5 <<_CSEOF
32560
 
 
 
34364
# values after options handling.
 
34365
ac_log="
32561
34366
This file was extended by $as_me, which was
32562
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
34367
generated by GNU Autoconf 2.61.  Invocation command line was
32563
34368
 
32564
34369
  CONFIG_FILES    = $CONFIG_FILES
32565
34370
  CONFIG_HEADERS  = $CONFIG_HEADERS
32567
34372
  CONFIG_COMMANDS = $CONFIG_COMMANDS
32568
34373
  $ $0 $@
32569
34374
 
32570
 
_CSEOF
32571
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
32572
 
echo >&5
 
34375
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
34376
"
 
34377
 
32573
34378
_ACEOF
32574
34379
 
 
34380
cat >>$CONFIG_STATUS <<_ACEOF
32575
34381
# Files that config.status was made for.
32576
 
if test -n "$ac_config_files"; then
32577
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
32578
 
fi
32579
 
 
32580
 
if test -n "$ac_config_headers"; then
32581
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
32582
 
fi
32583
 
 
32584
 
if test -n "$ac_config_links"; then
32585
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
32586
 
fi
32587
 
 
32588
 
if test -n "$ac_config_commands"; then
32589
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
32590
 
fi
 
34382
config_files="$ac_config_files"
 
34383
config_headers="$ac_config_headers"
 
34384
config_commands="$ac_config_commands"
 
34385
 
 
34386
_ACEOF
32591
34387
 
32592
34388
cat >>$CONFIG_STATUS <<\_ACEOF
32593
 
 
32594
34389
ac_cs_usage="\
32595
34390
\`$as_me' instantiates files from templates according to the
32596
34391
current configuration.
32598
34393
Usage: $0 [OPTIONS] [FILE]...
32599
34394
 
32600
34395
  -h, --help       print this help, then exit
32601
 
  -V, --version    print version number, then exit
 
34396
  -V, --version    print version number and configuration settings, then exit
32602
34397
  -q, --quiet      do not print progress messages
32603
34398
  -d, --debug      don't remove temporary files
32604
34399
      --recheck    update $as_me by reconfiguring in the same conditions
32617
34412
$config_commands
32618
34413
 
32619
34414
Report bugs to <bug-autoconf@gnu.org>."
 
34415
 
32620
34416
_ACEOF
32621
 
 
32622
34417
cat >>$CONFIG_STATUS <<_ACEOF
32623
34418
ac_cs_version="\\
32624
34419
config.status
32625
 
configured by $0, generated by GNU Autoconf 2.59,
32626
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
34420
configured by $0, generated by GNU Autoconf 2.61,
 
34421
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
32627
34422
 
32628
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
34423
Copyright (C) 2006 Free Software Foundation, Inc.
32629
34424
This config.status script is free software; the Free Software Foundation
32630
34425
gives unlimited permission to copy, distribute and modify it."
32631
 
srcdir=$srcdir
32632
 
INSTALL="$INSTALL"
 
34426
 
 
34427
ac_pwd='$ac_pwd'
 
34428
srcdir='$srcdir'
 
34429
INSTALL='$INSTALL'
 
34430
MKDIR_P='$MKDIR_P'
32633
34431
_ACEOF
32634
34432
 
32635
34433
cat >>$CONFIG_STATUS <<\_ACEOF
32640
34438
do
32641
34439
  case $1 in
32642
34440
  --*=*)
32643
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
32644
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
34441
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
34442
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32645
34443
    ac_shift=:
32646
34444
    ;;
32647
 
  -*)
 
34445
  *)
32648
34446
    ac_option=$1
32649
34447
    ac_optarg=$2
32650
34448
    ac_shift=shift
32651
34449
    ;;
32652
 
  *) # This is not an option, so the user has probably given explicit
32653
 
     # arguments.
32654
 
     ac_option=$1
32655
 
     ac_need_defaults=false;;
32656
34450
  esac
32657
34451
 
32658
34452
  case $ac_option in
32659
34453
  # Handling of the options.
32660
 
_ACEOF
32661
 
cat >>$CONFIG_STATUS <<\_ACEOF
32662
34454
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32663
34455
    ac_cs_recheck=: ;;
32664
 
  --version | --vers* | -V )
32665
 
    echo "$ac_cs_version"; exit 0 ;;
32666
 
  --he | --h)
32667
 
    # Conflict between --help and --header
32668
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
32669
 
Try \`$0 --help' for more information." >&5
32670
 
echo "$as_me: error: ambiguous option: $1
32671
 
Try \`$0 --help' for more information." >&2;}
32672
 
   { (exit 1); exit 1; }; };;
32673
 
  --help | --hel | -h )
32674
 
    echo "$ac_cs_usage"; exit 0 ;;
32675
 
  --debug | --d* | -d )
 
34456
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
34457
    echo "$ac_cs_version"; exit ;;
 
34458
  --debug | --debu | --deb | --de | --d | -d )
32676
34459
    debug=: ;;
32677
34460
  --file | --fil | --fi | --f )
32678
34461
    $ac_shift
32682
34465
    $ac_shift
32683
34466
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
32684
34467
    ac_need_defaults=false;;
 
34468
  --he | --h)
 
34469
    # Conflict between --help and --header
 
34470
    { echo "$as_me: error: ambiguous option: $1
 
34471
Try \`$0 --help' for more information." >&2
 
34472
   { (exit 1); exit 1; }; };;
 
34473
  --help | --hel | -h )
 
34474
    echo "$ac_cs_usage"; exit ;;
32685
34475
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32686
34476
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
32687
34477
    ac_cs_silent=: ;;
32688
34478
 
32689
34479
  # This is an error.
32690
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
32691
 
Try \`$0 --help' for more information." >&5
32692
 
echo "$as_me: error: unrecognized option: $1
32693
 
Try \`$0 --help' for more information." >&2;}
 
34480
  -*) { echo "$as_me: error: unrecognized option: $1
 
34481
Try \`$0 --help' for more information." >&2
32694
34482
   { (exit 1); exit 1; }; } ;;
32695
34483
 
32696
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
34484
  *) ac_config_targets="$ac_config_targets $1"
 
34485
     ac_need_defaults=false ;;
32697
34486
 
32698
34487
  esac
32699
34488
  shift
32709
34498
_ACEOF
32710
34499
cat >>$CONFIG_STATUS <<_ACEOF
32711
34500
if \$ac_cs_recheck; then
32712
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
32713
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
34501
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
34502
  CONFIG_SHELL=$SHELL
 
34503
  export CONFIG_SHELL
 
34504
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32714
34505
fi
32715
34506
 
32716
34507
_ACEOF
 
34508
cat >>$CONFIG_STATUS <<\_ACEOF
 
34509
exec 5>>config.log
 
34510
{
 
34511
  echo
 
34512
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
34513
## Running $as_me. ##
 
34514
_ASBOX
 
34515
  echo "$ac_log"
 
34516
} >&5
32717
34517
 
 
34518
_ACEOF
32718
34519
cat >>$CONFIG_STATUS <<_ACEOF
32719
34520
#
32720
 
# INIT-COMMANDS section.
 
34521
# INIT-COMMANDS
32721
34522
#
32722
 
 
32723
34523
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32724
34524
 
32725
34525
_ACEOF
32726
34526
 
32727
 
 
32728
 
 
32729
34527
cat >>$CONFIG_STATUS <<\_ACEOF
 
34528
 
 
34529
# Handling of arguments.
32730
34530
for ac_config_target in $ac_config_targets
32731
34531
do
32732
 
  case "$ac_config_target" in
32733
 
  # Handling of arguments.
32734
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32735
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
32736
 
  "doc/en/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
32737
 
  "kmess/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/Makefile" ;;
32738
 
  "kmess/actions/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/actions/Makefile" ;;
32739
 
  "kmess/chat/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/chat/Makefile" ;;
32740
 
  "kmess/contact/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/contact/Makefile" ;;
32741
 
  "kmess/crypt/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/crypt/Makefile" ;;
32742
 
  "kmess/dialogs/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/dialogs/Makefile" ;;
32743
 
  "kmess/network/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/network/Makefile" ;;
32744
 
  "kmess/network/applications/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/network/applications/Makefile" ;;
32745
 
  "kmess/notification/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/notification/Makefile" ;;
32746
 
  "kmess/pics/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/pics/Makefile" ;;
32747
 
  "kmess/settings/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/settings/Makefile" ;;
32748
 
  "kmess/sounds/Makefile" ) CONFIG_FILES="$CONFIG_FILES kmess/sounds/Makefile" ;;
32749
 
  "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
32750
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32751
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
34532
  case $ac_config_target in
 
34533
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
34534
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
34535
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
34536
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
34537
    "doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
 
34538
    "kmess/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/Makefile" ;;
 
34539
    "kmess/actions/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/actions/Makefile" ;;
 
34540
    "kmess/chat/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/chat/Makefile" ;;
 
34541
    "kmess/contact/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/contact/Makefile" ;;
 
34542
    "kmess/crypt/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/crypt/Makefile" ;;
 
34543
    "kmess/dialogs/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/dialogs/Makefile" ;;
 
34544
    "kmess/network/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/network/Makefile" ;;
 
34545
    "kmess/network/applications/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/network/applications/Makefile" ;;
 
34546
    "kmess/network/extra/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/network/extra/Makefile" ;;
 
34547
    "kmess/network/soap/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/network/soap/Makefile" ;;
 
34548
    "kmess/network/upnp/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/network/upnp/Makefile" ;;
 
34549
    "kmess/notification/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/notification/Makefile" ;;
 
34550
    "kmess/pics/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/pics/Makefile" ;;
 
34551
    "kmess/settings/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/settings/Makefile" ;;
 
34552
    "kmess/sounds/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/sounds/Makefile" ;;
 
34553
    "kmess/styles/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/styles/Makefile" ;;
 
34554
    "kmess/styles/Classic/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/styles/Classic/Makefile" ;;
 
34555
    "kmess/styles/Classic-compact/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/styles/Classic-compact/Makefile" ;;
 
34556
    "kmess/styles/Colourful-Enclosed/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/styles/Colourful-Enclosed/Makefile" ;;
 
34557
    "kmess/styles/Dim/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/styles/Dim/Makefile" ;;
 
34558
    "kmess/styles/Efficient/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/styles/Efficient/Makefile" ;;
 
34559
    "kmess/styles/Fresh/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/styles/Fresh/Makefile" ;;
 
34560
    "kmess/styles/Pure/Makefile") CONFIG_FILES="$CONFIG_FILES kmess/styles/Pure/Makefile" ;;
 
34561
    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
 
34562
 
32752
34563
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
32753
34564
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
32754
34565
   { (exit 1); exit 1; }; };;
32755
34566
  esac
32756
34567
done
32757
34568
 
 
34569
 
32758
34570
# If the user did not use the arguments to specify the items to instantiate,
32759
34571
# then the envvar interface is used.  Set only those that are not.
32760
34572
# We use the long form for the default assignment because of an extremely
32766
34578
fi
32767
34579
 
32768
34580
# Have a temporary directory for convenience.  Make it in the build tree
32769
 
# simply because there is no reason to put it here, and in addition,
 
34581
# simply because there is no reason against having it here, and in addition,
32770
34582
# creating and moving files from /tmp can sometimes cause problems.
32771
 
# Create a temporary directory, and hook for its removal unless debugging.
 
34583
# Hook for its removal unless debugging.
 
34584
# Note that there is a small window in which the directory will not be cleaned:
 
34585
# after its creation but before its name has been assigned to `$tmp'.
32772
34586
$debug ||
32773
34587
{
32774
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
34588
  tmp=
 
34589
  trap 'exit_status=$?
 
34590
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
34591
' 0
32775
34592
  trap '{ (exit 1); exit 1; }' 1 2 13 15
32776
34593
}
32777
 
 
32778
34594
# Create a (secure) tmp directory for tmp files.
32779
34595
 
32780
34596
{
32781
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
34597
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32782
34598
  test -n "$tmp" && test -d "$tmp"
32783
34599
}  ||
32784
34600
{
32785
 
  tmp=./confstat$$-$RANDOM
32786
 
  (umask 077 && mkdir $tmp)
 
34601
  tmp=./conf$$-$RANDOM
 
34602
  (umask 077 && mkdir "$tmp")
32787
34603
} ||
32788
34604
{
32789
34605
   echo "$me: cannot create a temporary directory in ." >&2
32790
34606
   { (exit 1); exit 1; }
32791
34607
}
32792
34608
 
32793
 
_ACEOF
32794
 
 
32795
 
cat >>$CONFIG_STATUS <<_ACEOF
32796
 
 
32797
34609
#
32798
 
# CONFIG_FILES section.
 
34610
# Set up the sed scripts for CONFIG_FILES section.
32799
34611
#
32800
34612
 
32801
34613
# No need to generate the scripts if there are no CONFIG_FILES.
32802
34614
# This happens for instance when ./config.status config.h
32803
 
if test -n "\$CONFIG_FILES"; then
32804
 
  # Protect against being on the right side of a sed subst in config.status.
32805
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
32806
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
32807
 
s,@SHELL@,$SHELL,;t t
32808
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
32809
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
32810
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
32811
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
32812
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
32813
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
32814
 
s,@exec_prefix@,$exec_prefix,;t t
32815
 
s,@prefix@,$prefix,;t t
32816
 
s,@program_transform_name@,$program_transform_name,;t t
32817
 
s,@bindir@,$bindir,;t t
32818
 
s,@sbindir@,$sbindir,;t t
32819
 
s,@libexecdir@,$libexecdir,;t t
32820
 
s,@datadir@,$datadir,;t t
32821
 
s,@sysconfdir@,$sysconfdir,;t t
32822
 
s,@sharedstatedir@,$sharedstatedir,;t t
32823
 
s,@localstatedir@,$localstatedir,;t t
32824
 
s,@libdir@,$libdir,;t t
32825
 
s,@includedir@,$includedir,;t t
32826
 
s,@oldincludedir@,$oldincludedir,;t t
32827
 
s,@infodir@,$infodir,;t t
32828
 
s,@mandir@,$mandir,;t t
32829
 
s,@build_alias@,$build_alias,;t t
32830
 
s,@host_alias@,$host_alias,;t t
32831
 
s,@target_alias@,$target_alias,;t t
32832
 
s,@DEFS@,$DEFS,;t t
32833
 
s,@ECHO_C@,$ECHO_C,;t t
32834
 
s,@ECHO_N@,$ECHO_N,;t t
32835
 
s,@ECHO_T@,$ECHO_T,;t t
32836
 
s,@LIBS@,$LIBS,;t t
32837
 
s,@build@,$build,;t t
32838
 
s,@build_cpu@,$build_cpu,;t t
32839
 
s,@build_vendor@,$build_vendor,;t t
32840
 
s,@build_os@,$build_os,;t t
32841
 
s,@host@,$host,;t t
32842
 
s,@host_cpu@,$host_cpu,;t t
32843
 
s,@host_vendor@,$host_vendor,;t t
32844
 
s,@host_os@,$host_os,;t t
32845
 
s,@target@,$target,;t t
32846
 
s,@target_cpu@,$target_cpu,;t t
32847
 
s,@target_vendor@,$target_vendor,;t t
32848
 
s,@target_os@,$target_os,;t t
32849
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
32850
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
32851
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
32852
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
32853
 
s,@PACKAGE@,$PACKAGE,;t t
32854
 
s,@VERSION@,$VERSION,;t t
32855
 
s,@ACLOCAL@,$ACLOCAL,;t t
32856
 
s,@AUTOCONF@,$AUTOCONF,;t t
32857
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
32858
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
32859
 
s,@MAKEINFO@,$MAKEINFO,;t t
32860
 
s,@install_sh@,$install_sh,;t t
32861
 
s,@STRIP@,$STRIP,;t t
32862
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
32863
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
32864
 
s,@mkdir_p@,$mkdir_p,;t t
32865
 
s,@AWK@,$AWK,;t t
32866
 
s,@SET_MAKE@,$SET_MAKE,;t t
32867
 
s,@am__leading_dot@,$am__leading_dot,;t t
32868
 
s,@AMTAR@,$AMTAR,;t t
32869
 
s,@am__tar@,$am__tar,;t t
32870
 
s,@am__untar@,$am__untar,;t t
32871
 
s,@KDECONFIG@,$KDECONFIG,;t t
32872
 
s,@kde_libs_prefix@,$kde_libs_prefix,;t t
32873
 
s,@kde_libs_htmldir@,$kde_libs_htmldir,;t t
32874
 
s,@CONF_FILES@,$CONF_FILES,;t t
32875
 
s,@CC@,$CC,;t t
32876
 
s,@CFLAGS@,$CFLAGS,;t t
32877
 
s,@LDFLAGS@,$LDFLAGS,;t t
32878
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
32879
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
32880
 
s,@EXEEXT@,$EXEEXT,;t t
32881
 
s,@OBJEXT@,$OBJEXT,;t t
32882
 
s,@DEPDIR@,$DEPDIR,;t t
32883
 
s,@am__include@,$am__include,;t t
32884
 
s,@am__quote@,$am__quote,;t t
32885
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
32886
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
32887
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
32888
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
32889
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
32890
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
32891
 
s,@CPP@,$CPP,;t t
32892
 
s,@CXX@,$CXX,;t t
32893
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
32894
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
32895
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
32896
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
32897
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
32898
 
s,@WOVERLOADED_VIRTUAL@,$WOVERLOADED_VIRTUAL,;t t
32899
 
s,@USE_EXCEPTIONS@,$USE_EXCEPTIONS,;t t
32900
 
s,@USE_RTTI@,$USE_RTTI,;t t
32901
 
s,@CXXCPP@,$CXXCPP,;t t
32902
 
s,@NOOPT_CXXFLAGS@,$NOOPT_CXXFLAGS,;t t
32903
 
s,@NOOPT_CFLAGS@,$NOOPT_CFLAGS,;t t
32904
 
s,@ENABLE_PERMISSIVE_FLAG@,$ENABLE_PERMISSIVE_FLAG,;t t
32905
 
s,@KDE_USE_FINAL_TRUE@,$KDE_USE_FINAL_TRUE,;t t
32906
 
s,@KDE_USE_FINAL_FALSE@,$KDE_USE_FINAL_FALSE,;t t
32907
 
s,@KDE_USE_CLOSURE_TRUE@,$KDE_USE_CLOSURE_TRUE,;t t
32908
 
s,@KDE_USE_CLOSURE_FALSE@,$KDE_USE_CLOSURE_FALSE,;t t
32909
 
s,@KDE_NO_UNDEFINED@,$KDE_NO_UNDEFINED,;t t
32910
 
s,@KDE_USE_NMCHECK_TRUE@,$KDE_USE_NMCHECK_TRUE,;t t
32911
 
s,@KDE_USE_NMCHECK_FALSE@,$KDE_USE_NMCHECK_FALSE,;t t
32912
 
s,@EGREP@,$EGREP,;t t
32913
 
s,@LN_S@,$LN_S,;t t
32914
 
s,@ECHO@,$ECHO,;t t
32915
 
s,@AR@,$AR,;t t
32916
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
32917
 
s,@RANLIB@,$RANLIB,;t t
32918
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
32919
 
s,@F77@,$F77,;t t
32920
 
s,@FFLAGS@,$FFLAGS,;t t
32921
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
32922
 
s,@LIBTOOL@,$LIBTOOL,;t t
32923
 
s,@KDE_PLUGIN@,$KDE_PLUGIN,;t t
32924
 
s,@MSGFMT@,$MSGFMT,;t t
32925
 
s,@GMSGFMT@,$GMSGFMT,;t t
32926
 
s,@XGETTEXT@,$XGETTEXT,;t t
32927
 
s,@LIBUTIL@,$LIBUTIL,;t t
32928
 
s,@LIBCOMPAT@,$LIBCOMPAT,;t t
32929
 
s,@LIBCRYPT@,$LIBCRYPT,;t t
32930
 
s,@LIBRESOLV@,$LIBRESOLV,;t t
32931
 
s,@LIB_POLL@,$LIB_POLL,;t t
32932
 
s,@FRAMEWORK_COREAUDIO@,$FRAMEWORK_COREAUDIO,;t t
32933
 
s,@LIBSOCKET@,$LIBSOCKET,;t t
32934
 
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
32935
 
s,@LIBUCB@,$LIBUCB,;t t
32936
 
s,@LIBDL@,$LIBDL,;t t
32937
 
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
32938
 
s,@LIB_X11@,$LIB_X11,;t t
32939
 
s,@LIB_XRENDER@,$LIB_XRENDER,;t t
32940
 
s,@LIBSM@,$LIBSM,;t t
32941
 
s,@X_INCLUDES@,$X_INCLUDES,;t t
32942
 
s,@X_LDFLAGS@,$X_LDFLAGS,;t t
32943
 
s,@x_includes@,$x_includes,;t t
32944
 
s,@x_libraries@,$x_libraries,;t t
32945
 
s,@QTE_NORTTI@,$QTE_NORTTI,;t t
32946
 
s,@LIB_XEXT@,$LIB_XEXT,;t t
32947
 
s,@LIBPTHREAD@,$LIBPTHREAD,;t t
32948
 
s,@USE_THREADS@,$USE_THREADS,;t t
32949
 
s,@KDE_MT_LDFLAGS@,$KDE_MT_LDFLAGS,;t t
32950
 
s,@KDE_MT_LIBS@,$KDE_MT_LIBS,;t t
32951
 
s,@USER_INCLUDES@,$USER_INCLUDES,;t t
32952
 
s,@USER_LDFLAGS@,$USER_LDFLAGS,;t t
32953
 
s,@LIBZ@,$LIBZ,;t t
32954
 
s,@LIBPNG@,$LIBPNG,;t t
32955
 
s,@LIBJPEG@,$LIBJPEG,;t t
32956
 
s,@qt_libraries@,$qt_libraries,;t t
32957
 
s,@qt_includes@,$qt_includes,;t t
32958
 
s,@QT_INCLUDES@,$QT_INCLUDES,;t t
32959
 
s,@QT_LDFLAGS@,$QT_LDFLAGS,;t t
32960
 
s,@PERL@,$PERL,;t t
32961
 
s,@MOC@,$MOC,;t t
32962
 
s,@UIC@,$UIC,;t t
32963
 
s,@UIC_TR@,$UIC_TR,;t t
32964
 
s,@LIB_QT@,$LIB_QT,;t t
32965
 
s,@LIB_QPE@,$LIB_QPE,;t t
32966
 
s,@kde_qtver@,$kde_qtver,;t t
32967
 
s,@KDE_EXTRA_RPATH@,$KDE_EXTRA_RPATH,;t t
32968
 
s,@KDE_RPATH@,$KDE_RPATH,;t t
32969
 
s,@X_RPATH@,$X_RPATH,;t t
32970
 
s,@kde_libraries@,$kde_libraries,;t t
32971
 
s,@kde_includes@,$kde_includes,;t t
32972
 
s,@KDE_LDFLAGS@,$KDE_LDFLAGS,;t t
32973
 
s,@KDE_INCLUDES@,$KDE_INCLUDES,;t t
32974
 
s,@all_includes@,$all_includes,;t t
32975
 
s,@all_libraries@,$all_libraries,;t t
32976
 
s,@AUTODIRS@,$AUTODIRS,;t t
32977
 
s,@include_ARTS_TRUE@,$include_ARTS_TRUE,;t t
32978
 
s,@include_ARTS_FALSE@,$include_ARTS_FALSE,;t t
32979
 
s,@KCONFIG_COMPILER@,$KCONFIG_COMPILER,;t t
32980
 
s,@KCFG_DEPENDENCIES@,$KCFG_DEPENDENCIES,;t t
32981
 
s,@DCOPIDLNG@,$DCOPIDLNG,;t t
32982
 
s,@DCOPIDL@,$DCOPIDL,;t t
32983
 
s,@DCOPIDL2CPP@,$DCOPIDL2CPP,;t t
32984
 
s,@DCOP_DEPENDENCIES@,$DCOP_DEPENDENCIES,;t t
32985
 
s,@MCOPIDL@,$MCOPIDL,;t t
32986
 
s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
32987
 
s,@MEINPROC@,$MEINPROC,;t t
32988
 
s,@KDE_XSL_STYLESHEET@,$KDE_XSL_STYLESHEET,;t t
32989
 
s,@XMLLINT@,$XMLLINT,;t t
32990
 
s,@kde_htmldir@,$kde_htmldir,;t t
32991
 
s,@kde_appsdir@,$kde_appsdir,;t t
32992
 
s,@kde_icondir@,$kde_icondir,;t t
32993
 
s,@kde_sounddir@,$kde_sounddir,;t t
32994
 
s,@kde_datadir@,$kde_datadir,;t t
32995
 
s,@kde_locale@,$kde_locale,;t t
32996
 
s,@kde_confdir@,$kde_confdir,;t t
32997
 
s,@kde_kcfgdir@,$kde_kcfgdir,;t t
32998
 
s,@kde_mimedir@,$kde_mimedir,;t t
32999
 
s,@kde_wallpaperdir@,$kde_wallpaperdir,;t t
33000
 
s,@kde_bindir@,$kde_bindir,;t t
33001
 
s,@xdg_appsdir@,$xdg_appsdir,;t t
33002
 
s,@xdg_menudir@,$xdg_menudir,;t t
33003
 
s,@xdg_directorydir@,$xdg_directorydir,;t t
33004
 
s,@kde_templatesdir@,$kde_templatesdir,;t t
33005
 
s,@kde_servicesdir@,$kde_servicesdir,;t t
33006
 
s,@kde_servicetypesdir@,$kde_servicetypesdir,;t t
33007
 
s,@kde_moduledir@,$kde_moduledir,;t t
33008
 
s,@kdeinitdir@,$kdeinitdir,;t t
33009
 
s,@kde_styledir@,$kde_styledir,;t t
33010
 
s,@kde_widgetdir@,$kde_widgetdir,;t t
33011
 
s,@LIB_KDECORE@,$LIB_KDECORE,;t t
33012
 
s,@LIB_KDEUI@,$LIB_KDEUI,;t t
33013
 
s,@LIB_KIO@,$LIB_KIO,;t t
33014
 
s,@LIB_SMB@,$LIB_SMB,;t t
33015
 
s,@LIB_KAB@,$LIB_KAB,;t t
33016
 
s,@LIB_KABC@,$LIB_KABC,;t t
33017
 
s,@LIB_KHTML@,$LIB_KHTML,;t t
33018
 
s,@LIB_KSPELL@,$LIB_KSPELL,;t t
33019
 
s,@LIB_KPARTS@,$LIB_KPARTS,;t t
33020
 
s,@LIB_KDEPRINT@,$LIB_KDEPRINT,;t t
33021
 
s,@LIB_KUTILS@,$LIB_KUTILS,;t t
33022
 
s,@LIB_KDEPIM@,$LIB_KDEPIM,;t t
33023
 
s,@LIB_KSYCOCA@,$LIB_KSYCOCA,;t t
33024
 
s,@LIB_KFILE@,$LIB_KFILE,;t t
33025
 
s,@LIB_KFM@,$LIB_KFM,;t t
33026
 
s,@LIB_XSCREENSAVER@,$LIB_XSCREENSAVER,;t t
33027
 
s,@BINRELOC_CFLAGS@,$BINRELOC_CFLAGS,;t t
33028
 
s,@BINRELOC_LIBS@,$BINRELOC_LIBS,;t t
33029
 
s,@KPHONE_G711_OBJ@,$KPHONE_G711_OBJ,;t t
33030
 
s,@KPHONE_DTMFGENERATOR_OBJ@,$KPHONE_DTMFGENERATOR_OBJ,;t t
33031
 
s,@KPHONE_DSPOUTRTP_OBJ@,$KPHONE_DSPOUTRTP_OBJ,;t t
33032
 
s,@KPHONE_DSPOUTOSS_OBJ@,$KPHONE_DSPOUTOSS_OBJ,;t t
33033
 
s,@KPHONE_DSPOUT_OBJ@,$KPHONE_DSPOUT_OBJ,;t t
33034
 
s,@KPHONE_DSPAUDIO_OBJ@,$KPHONE_DSPAUDIO_OBJ,;t t
33035
 
s,@KPHONE_DSPAUDIOIN_OBJ@,$KPHONE_DSPAUDIOIN_OBJ,;t t
33036
 
s,@KPHONE_DSPAUDIOOUT_OBJ@,$KPHONE_DSPAUDIOOUT_OBJ,;t t
33037
 
s,@KPHONE_CALLAUDIO_OBJ@,$KPHONE_CALLAUDIO_OBJ,;t t
33038
 
s,@KPHONE_CALLAUDIO_MOC_OBJ@,$KPHONE_CALLAUDIO_MOC_OBJ,;t t
33039
 
s,@KPHONE_AUDIOBUFFER_OBJ@,$KPHONE_AUDIOBUFFER_OBJ,;t t
33040
 
s,@KPHONE_DISSIPATE2_LIB@,$KPHONE_DISSIPATE2_LIB,;t t
33041
 
s,@KPHONE_ILBC_LIB@,$KPHONE_ILBC_LIB,;t t
33042
 
s,@KPHONE_GSM_LIB@,$KPHONE_GSM_LIB,;t t
33043
 
s,@KPHONEDIR@,$KPHONEDIR,;t t
33044
 
s,@TOPSUBDIRS@,$TOPSUBDIRS,;t t
33045
 
s,@LIBOBJS@,$LIBOBJS,;t t
33046
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
33047
 
CEOF
33048
 
 
33049
 
_ACEOF
33050
 
 
33051
 
  cat >>$CONFIG_STATUS <<\_ACEOF
33052
 
  # Split the substitutions into bite-sized pieces for seds with
33053
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
33054
 
  ac_max_sed_lines=48
33055
 
  ac_sed_frag=1 # Number of current file.
33056
 
  ac_beg=1 # First line for current file.
33057
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
33058
 
  ac_more_lines=:
33059
 
  ac_sed_cmds=
33060
 
  while $ac_more_lines; do
33061
 
    if test $ac_beg -gt 1; then
33062
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33063
 
    else
33064
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33065
 
    fi
33066
 
    if test ! -s $tmp/subs.frag; then
33067
 
      ac_more_lines=false
33068
 
    else
33069
 
      # The purpose of the label and of the branching condition is to
33070
 
      # speed up the sed processing (if there are no `@' at all, there
33071
 
      # is no need to browse any of the substitutions).
33072
 
      # These are the two extra sed commands mentioned above.
33073
 
      (echo ':t
33074
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
33075
 
      if test -z "$ac_sed_cmds"; then
33076
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
33077
 
      else
33078
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
33079
 
      fi
33080
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
33081
 
      ac_beg=$ac_end
33082
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
33083
 
    fi
33084
 
  done
33085
 
  if test -z "$ac_sed_cmds"; then
33086
 
    ac_sed_cmds=cat
33087
 
  fi
 
34615
if test -n "$CONFIG_FILES"; then
 
34616
 
 
34617
_ACEOF
 
34618
 
 
34619
 
 
34620
 
 
34621
ac_delim='%!_!# '
 
34622
for ac_last_try in false false false false false :; do
 
34623
  cat >conf$$subs.sed <<_ACEOF
 
34624
SHELL!$SHELL$ac_delim
 
34625
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
34626
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
34627
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
34628
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
34629
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
34630
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
34631
exec_prefix!$exec_prefix$ac_delim
 
34632
prefix!$prefix$ac_delim
 
34633
program_transform_name!$program_transform_name$ac_delim
 
34634
bindir!$bindir$ac_delim
 
34635
sbindir!$sbindir$ac_delim
 
34636
libexecdir!$libexecdir$ac_delim
 
34637
datarootdir!$datarootdir$ac_delim
 
34638
datadir!$datadir$ac_delim
 
34639
sysconfdir!$sysconfdir$ac_delim
 
34640
sharedstatedir!$sharedstatedir$ac_delim
 
34641
localstatedir!$localstatedir$ac_delim
 
34642
includedir!$includedir$ac_delim
 
34643
oldincludedir!$oldincludedir$ac_delim
 
34644
docdir!$docdir$ac_delim
 
34645
infodir!$infodir$ac_delim
 
34646
htmldir!$htmldir$ac_delim
 
34647
dvidir!$dvidir$ac_delim
 
34648
pdfdir!$pdfdir$ac_delim
 
34649
psdir!$psdir$ac_delim
 
34650
libdir!$libdir$ac_delim
 
34651
localedir!$localedir$ac_delim
 
34652
mandir!$mandir$ac_delim
 
34653
DEFS!$DEFS$ac_delim
 
34654
ECHO_C!$ECHO_C$ac_delim
 
34655
ECHO_N!$ECHO_N$ac_delim
 
34656
ECHO_T!$ECHO_T$ac_delim
 
34657
LIBS!$LIBS$ac_delim
 
34658
build_alias!$build_alias$ac_delim
 
34659
host_alias!$host_alias$ac_delim
 
34660
target_alias!$target_alias$ac_delim
 
34661
build!$build$ac_delim
 
34662
build_cpu!$build_cpu$ac_delim
 
34663
build_vendor!$build_vendor$ac_delim
 
34664
build_os!$build_os$ac_delim
 
34665
host!$host$ac_delim
 
34666
host_cpu!$host_cpu$ac_delim
 
34667
host_vendor!$host_vendor$ac_delim
 
34668
host_os!$host_os$ac_delim
 
34669
target!$target$ac_delim
 
34670
target_cpu!$target_cpu$ac_delim
 
34671
target_vendor!$target_vendor$ac_delim
 
34672
target_os!$target_os$ac_delim
 
34673
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
34674
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
34675
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
34676
am__isrc!$am__isrc$ac_delim
 
34677
CYGPATH_W!$CYGPATH_W$ac_delim
 
34678
PACKAGE!$PACKAGE$ac_delim
 
34679
VERSION!$VERSION$ac_delim
 
34680
ACLOCAL!$ACLOCAL$ac_delim
 
34681
AUTOCONF!$AUTOCONF$ac_delim
 
34682
AUTOMAKE!$AUTOMAKE$ac_delim
 
34683
AUTOHEADER!$AUTOHEADER$ac_delim
 
34684
MAKEINFO!$MAKEINFO$ac_delim
 
34685
install_sh!$install_sh$ac_delim
 
34686
STRIP!$STRIP$ac_delim
 
34687
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
34688
mkdir_p!$mkdir_p$ac_delim
 
34689
AWK!$AWK$ac_delim
 
34690
SET_MAKE!$SET_MAKE$ac_delim
 
34691
am__leading_dot!$am__leading_dot$ac_delim
 
34692
AMTAR!$AMTAR$ac_delim
 
34693
am__tar!$am__tar$ac_delim
 
34694
am__untar!$am__untar$ac_delim
 
34695
KDECONFIG!$KDECONFIG$ac_delim
 
34696
kde_libs_prefix!$kde_libs_prefix$ac_delim
 
34697
kde_libs_htmldir!$kde_libs_htmldir$ac_delim
 
34698
CONF_FILES!$CONF_FILES$ac_delim
 
34699
CC!$CC$ac_delim
 
34700
CFLAGS!$CFLAGS$ac_delim
 
34701
LDFLAGS!$LDFLAGS$ac_delim
 
34702
CPPFLAGS!$CPPFLAGS$ac_delim
 
34703
ac_ct_CC!$ac_ct_CC$ac_delim
 
34704
EXEEXT!$EXEEXT$ac_delim
 
34705
OBJEXT!$OBJEXT$ac_delim
 
34706
DEPDIR!$DEPDIR$ac_delim
 
34707
am__include!$am__include$ac_delim
 
34708
am__quote!$am__quote$ac_delim
 
34709
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
34710
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
34711
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
34712
CCDEPMODE!$CCDEPMODE$ac_delim
 
34713
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
34714
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
34715
CPP!$CPP$ac_delim
 
34716
CXX!$CXX$ac_delim
 
34717
CXXFLAGS!$CXXFLAGS$ac_delim
 
34718
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
34719
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
34720
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
34721
_ACEOF
 
34722
 
 
34723
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
34724
    break
 
34725
  elif $ac_last_try; then
 
34726
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
34727
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
34728
   { (exit 1); exit 1; }; }
 
34729
  else
 
34730
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
34731
  fi
 
34732
done
 
34733
 
 
34734
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
34735
if test -n "$ac_eof"; then
 
34736
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
34737
  ac_eof=`expr $ac_eof + 1`
 
34738
fi
 
34739
 
 
34740
cat >>$CONFIG_STATUS <<_ACEOF
 
34741
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
34742
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
34743
_ACEOF
 
34744
sed '
 
34745
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
34746
s/^/s,@/; s/!/@,|#_!!_#|/
 
34747
:n
 
34748
t n
 
34749
s/'"$ac_delim"'$/,g/; t
 
34750
s/$/\\/; p
 
34751
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
34752
' >>$CONFIG_STATUS <conf$$subs.sed
 
34753
rm -f conf$$subs.sed
 
34754
cat >>$CONFIG_STATUS <<_ACEOF
 
34755
CEOF$ac_eof
 
34756
_ACEOF
 
34757
 
 
34758
 
 
34759
ac_delim='%!_!# '
 
34760
for ac_last_try in false false false false false :; do
 
34761
  cat >conf$$subs.sed <<_ACEOF
 
34762
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
34763
WOVERLOADED_VIRTUAL!$WOVERLOADED_VIRTUAL$ac_delim
 
34764
HAVE_GCC_VISIBILITY!$HAVE_GCC_VISIBILITY$ac_delim
 
34765
unsermake_enable_pch_TRUE!$unsermake_enable_pch_TRUE$ac_delim
 
34766
unsermake_enable_pch_FALSE!$unsermake_enable_pch_FALSE$ac_delim
 
34767
USE_EXCEPTIONS!$USE_EXCEPTIONS$ac_delim
 
34768
USE_RTTI!$USE_RTTI$ac_delim
 
34769
CXXCPP!$CXXCPP$ac_delim
 
34770
NOOPT_CXXFLAGS!$NOOPT_CXXFLAGS$ac_delim
 
34771
NOOPT_CFLAGS!$NOOPT_CFLAGS$ac_delim
 
34772
ENABLE_PERMISSIVE_FLAG!$ENABLE_PERMISSIVE_FLAG$ac_delim
 
34773
LDFLAGS_AS_NEEDED!$LDFLAGS_AS_NEEDED$ac_delim
 
34774
LDFLAGS_NEW_DTAGS!$LDFLAGS_NEW_DTAGS$ac_delim
 
34775
KDE_USE_FINAL_TRUE!$KDE_USE_FINAL_TRUE$ac_delim
 
34776
KDE_USE_FINAL_FALSE!$KDE_USE_FINAL_FALSE$ac_delim
 
34777
KDE_USE_CLOSURE_TRUE!$KDE_USE_CLOSURE_TRUE$ac_delim
 
34778
KDE_USE_CLOSURE_FALSE!$KDE_USE_CLOSURE_FALSE$ac_delim
 
34779
KDE_NO_UNDEFINED!$KDE_NO_UNDEFINED$ac_delim
 
34780
KDE_USE_NMCHECK_TRUE!$KDE_USE_NMCHECK_TRUE$ac_delim
 
34781
KDE_USE_NMCHECK_FALSE!$KDE_USE_NMCHECK_FALSE$ac_delim
 
34782
GREP!$GREP$ac_delim
 
34783
EGREP!$EGREP$ac_delim
 
34784
LN_S!$LN_S$ac_delim
 
34785
ECHO!$ECHO$ac_delim
 
34786
AR!$AR$ac_delim
 
34787
RANLIB!$RANLIB$ac_delim
 
34788
F77!$F77$ac_delim
 
34789
FFLAGS!$FFLAGS$ac_delim
 
34790
ac_ct_F77!$ac_ct_F77$ac_delim
 
34791
LIBTOOL!$LIBTOOL$ac_delim
 
34792
KDE_PLUGIN!$KDE_PLUGIN$ac_delim
 
34793
KDE_CHECK_PLUGIN!$KDE_CHECK_PLUGIN$ac_delim
 
34794
MSGFMT!$MSGFMT$ac_delim
 
34795
GMSGFMT!$GMSGFMT$ac_delim
 
34796
XGETTEXT!$XGETTEXT$ac_delim
 
34797
LIBUTIL!$LIBUTIL$ac_delim
 
34798
LIBCOMPAT!$LIBCOMPAT$ac_delim
 
34799
LIBCRYPT!$LIBCRYPT$ac_delim
 
34800
LIBRESOLV!$LIBRESOLV$ac_delim
 
34801
LIB_POLL!$LIB_POLL$ac_delim
 
34802
FRAMEWORK_COREAUDIO!$FRAMEWORK_COREAUDIO$ac_delim
 
34803
LIBSOCKET!$LIBSOCKET$ac_delim
 
34804
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
 
34805
LIBUCB!$LIBUCB$ac_delim
 
34806
LIBDL!$LIBDL$ac_delim
 
34807
KDE_USE_FPIE!$KDE_USE_FPIE$ac_delim
 
34808
KDE_USE_PIE!$KDE_USE_PIE$ac_delim
 
34809
include_x11_TRUE!$include_x11_TRUE$ac_delim
 
34810
include_x11_FALSE!$include_x11_FALSE$ac_delim
 
34811
XMKMF!$XMKMF$ac_delim
 
34812
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
 
34813
LIB_X11!$LIB_X11$ac_delim
 
34814
LIB_XRENDER!$LIB_XRENDER$ac_delim
 
34815
LIBSM!$LIBSM$ac_delim
 
34816
X_INCLUDES!$X_INCLUDES$ac_delim
 
34817
X_LDFLAGS!$X_LDFLAGS$ac_delim
 
34818
x_includes!$x_includes$ac_delim
 
34819
x_libraries!$x_libraries$ac_delim
 
34820
QTE_NORTTI!$QTE_NORTTI$ac_delim
 
34821
LIB_XEXT!$LIB_XEXT$ac_delim
 
34822
LIBPTHREAD!$LIBPTHREAD$ac_delim
 
34823
USE_THREADS!$USE_THREADS$ac_delim
 
34824
KDE_MT_LDFLAGS!$KDE_MT_LDFLAGS$ac_delim
 
34825
KDE_MT_LIBS!$KDE_MT_LIBS$ac_delim
 
34826
USER_INCLUDES!$USER_INCLUDES$ac_delim
 
34827
USER_LDFLAGS!$USER_LDFLAGS$ac_delim
 
34828
LIBZ!$LIBZ$ac_delim
 
34829
LIBPNG!$LIBPNG$ac_delim
 
34830
LIBJPEG!$LIBJPEG$ac_delim
 
34831
qt_libraries!$qt_libraries$ac_delim
 
34832
qt_includes!$qt_includes$ac_delim
 
34833
QT_INCLUDES!$QT_INCLUDES$ac_delim
 
34834
QT_LDFLAGS!$QT_LDFLAGS$ac_delim
 
34835
PERL!$PERL$ac_delim
 
34836
MOC!$MOC$ac_delim
 
34837
UIC!$UIC$ac_delim
 
34838
UIC_TR!$UIC_TR$ac_delim
 
34839
LIB_QT!$LIB_QT$ac_delim
 
34840
LIB_QPE!$LIB_QPE$ac_delim
 
34841
kde_qtver!$kde_qtver$ac_delim
 
34842
KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
 
34843
KDE_RPATH!$KDE_RPATH$ac_delim
 
34844
X_RPATH!$X_RPATH$ac_delim
 
34845
kde_libraries!$kde_libraries$ac_delim
 
34846
kde_includes!$kde_includes$ac_delim
 
34847
KDE_LDFLAGS!$KDE_LDFLAGS$ac_delim
 
34848
KDE_INCLUDES!$KDE_INCLUDES$ac_delim
 
34849
all_includes!$all_includes$ac_delim
 
34850
all_libraries!$all_libraries$ac_delim
 
34851
AUTODIRS!$AUTODIRS$ac_delim
 
34852
include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
 
34853
include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
 
34854
MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
 
34855
KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
 
34856
KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
 
34857
DCOPIDLNG!$DCOPIDLNG$ac_delim
 
34858
DCOPIDL!$DCOPIDL$ac_delim
 
34859
_ACEOF
 
34860
 
 
34861
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
34862
    break
 
34863
  elif $ac_last_try; then
 
34864
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
34865
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
34866
   { (exit 1); exit 1; }; }
 
34867
  else
 
34868
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
34869
  fi
 
34870
done
 
34871
 
 
34872
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
34873
if test -n "$ac_eof"; then
 
34874
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
34875
  ac_eof=`expr $ac_eof + 1`
 
34876
fi
 
34877
 
 
34878
cat >>$CONFIG_STATUS <<_ACEOF
 
34879
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
34880
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
34881
_ACEOF
 
34882
sed '
 
34883
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
34884
s/^/s,@/; s/!/@,|#_!!_#|/
 
34885
:n
 
34886
t n
 
34887
s/'"$ac_delim"'$/,g/; t
 
34888
s/$/\\/; p
 
34889
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
34890
' >>$CONFIG_STATUS <conf$$subs.sed
 
34891
rm -f conf$$subs.sed
 
34892
cat >>$CONFIG_STATUS <<_ACEOF
 
34893
CEOF$ac_eof
 
34894
_ACEOF
 
34895
 
 
34896
 
 
34897
ac_delim='%!_!# '
 
34898
for ac_last_try in false false false false false :; do
 
34899
  cat >conf$$subs.sed <<_ACEOF
 
34900
DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
 
34901
DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
 
34902
MCOPIDL!$MCOPIDL$ac_delim
 
34903
ARTSCCONFIG!$ARTSCCONFIG$ac_delim
 
34904
MEINPROC!$MEINPROC$ac_delim
 
34905
KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
 
34906
XMLLINT!$XMLLINT$ac_delim
 
34907
kde_htmldir!$kde_htmldir$ac_delim
 
34908
kde_appsdir!$kde_appsdir$ac_delim
 
34909
kde_icondir!$kde_icondir$ac_delim
 
34910
kde_sounddir!$kde_sounddir$ac_delim
 
34911
kde_datadir!$kde_datadir$ac_delim
 
34912
kde_locale!$kde_locale$ac_delim
 
34913
kde_confdir!$kde_confdir$ac_delim
 
34914
kde_kcfgdir!$kde_kcfgdir$ac_delim
 
34915
kde_mimedir!$kde_mimedir$ac_delim
 
34916
kde_wallpaperdir!$kde_wallpaperdir$ac_delim
 
34917
kde_bindir!$kde_bindir$ac_delim
 
34918
xdg_appsdir!$xdg_appsdir$ac_delim
 
34919
xdg_menudir!$xdg_menudir$ac_delim
 
34920
xdg_directorydir!$xdg_directorydir$ac_delim
 
34921
kde_templatesdir!$kde_templatesdir$ac_delim
 
34922
kde_servicesdir!$kde_servicesdir$ac_delim
 
34923
kde_servicetypesdir!$kde_servicetypesdir$ac_delim
 
34924
kde_moduledir!$kde_moduledir$ac_delim
 
34925
kdeinitdir!$kdeinitdir$ac_delim
 
34926
kde_styledir!$kde_styledir$ac_delim
 
34927
kde_widgetdir!$kde_widgetdir$ac_delim
 
34928
LIB_KDED!$LIB_KDED$ac_delim
 
34929
LIB_KDECORE!$LIB_KDECORE$ac_delim
 
34930
LIB_KDEUI!$LIB_KDEUI$ac_delim
 
34931
LIB_KIO!$LIB_KIO$ac_delim
 
34932
LIB_KJS!$LIB_KJS$ac_delim
 
34933
LIB_SMB!$LIB_SMB$ac_delim
 
34934
LIB_KAB!$LIB_KAB$ac_delim
 
34935
LIB_KABC!$LIB_KABC$ac_delim
 
34936
LIB_KHTML!$LIB_KHTML$ac_delim
 
34937
LIB_KSPELL!$LIB_KSPELL$ac_delim
 
34938
LIB_KPARTS!$LIB_KPARTS$ac_delim
 
34939
LIB_KDEPRINT!$LIB_KDEPRINT$ac_delim
 
34940
LIB_KUTILS!$LIB_KUTILS$ac_delim
 
34941
LIB_KDEPIM!$LIB_KDEPIM$ac_delim
 
34942
LIB_KIMPROXY!$LIB_KIMPROXY$ac_delim
 
34943
LIB_KNEWSTUFF!$LIB_KNEWSTUFF$ac_delim
 
34944
LIB_KDNSSD!$LIB_KDNSSD$ac_delim
 
34945
LIB_KUNITTEST!$LIB_KUNITTEST$ac_delim
 
34946
LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim
 
34947
LIB_KFILE!$LIB_KFILE$ac_delim
 
34948
LIB_KFM!$LIB_KFM$ac_delim
 
34949
LIB_XSCREENSAVER!$LIB_XSCREENSAVER$ac_delim
 
34950
BINRELOC_CFLAGS!$BINRELOC_CFLAGS$ac_delim
 
34951
BINRELOC_LIBS!$BINRELOC_LIBS$ac_delim
 
34952
LIBXML_LIBS!$LIBXML_LIBS$ac_delim
 
34953
LIBXML_CFLAGS!$LIBXML_CFLAGS$ac_delim
 
34954
LIBXML_RPATH!$LIBXML_RPATH$ac_delim
 
34955
LIBXSLT_LIBS!$LIBXSLT_LIBS$ac_delim
 
34956
LIBXSLT_CFLAGS!$LIBXSLT_CFLAGS$ac_delim
 
34957
LIBXSLT_RPATH!$LIBXSLT_RPATH$ac_delim
 
34958
KPHONE_G711_OBJ!$KPHONE_G711_OBJ$ac_delim
 
34959
KPHONE_DTMFGENERATOR_OBJ!$KPHONE_DTMFGENERATOR_OBJ$ac_delim
 
34960
KPHONE_DSPOUTRTP_OBJ!$KPHONE_DSPOUTRTP_OBJ$ac_delim
 
34961
KPHONE_DSPOUTOSS_OBJ!$KPHONE_DSPOUTOSS_OBJ$ac_delim
 
34962
KPHONE_DSPOUT_OBJ!$KPHONE_DSPOUT_OBJ$ac_delim
 
34963
KPHONE_DSPAUDIO_OBJ!$KPHONE_DSPAUDIO_OBJ$ac_delim
 
34964
KPHONE_DSPAUDIOIN_OBJ!$KPHONE_DSPAUDIOIN_OBJ$ac_delim
 
34965
KPHONE_DSPAUDIOOUT_OBJ!$KPHONE_DSPAUDIOOUT_OBJ$ac_delim
 
34966
KPHONE_CALLAUDIO_OBJ!$KPHONE_CALLAUDIO_OBJ$ac_delim
 
34967
KPHONE_CALLAUDIO_MOC_OBJ!$KPHONE_CALLAUDIO_MOC_OBJ$ac_delim
 
34968
KPHONE_AUDIOBUFFER_OBJ!$KPHONE_AUDIOBUFFER_OBJ$ac_delim
 
34969
KPHONE_DISSIPATE2_LIB!$KPHONE_DISSIPATE2_LIB$ac_delim
 
34970
KPHONE_ILBC_LIB!$KPHONE_ILBC_LIB$ac_delim
 
34971
KPHONE_GSM_LIB!$KPHONE_GSM_LIB$ac_delim
 
34972
KPHONEDIR!$KPHONEDIR$ac_delim
 
34973
TOPSUBDIRS!$TOPSUBDIRS$ac_delim
 
34974
LIBOBJS!$LIBOBJS$ac_delim
 
34975
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
34976
_ACEOF
 
34977
 
 
34978
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
 
34979
    break
 
34980
  elif $ac_last_try; then
 
34981
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
34982
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
34983
   { (exit 1); exit 1; }; }
 
34984
  else
 
34985
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
34986
  fi
 
34987
done
 
34988
 
 
34989
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
34990
if test -n "$ac_eof"; then
 
34991
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
34992
  ac_eof=`expr $ac_eof + 1`
 
34993
fi
 
34994
 
 
34995
cat >>$CONFIG_STATUS <<_ACEOF
 
34996
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
 
34997
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
34998
_ACEOF
 
34999
sed '
 
35000
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
35001
s/^/s,@/; s/!/@,|#_!!_#|/
 
35002
:n
 
35003
t n
 
35004
s/'"$ac_delim"'$/,g/; t
 
35005
s/$/\\/; p
 
35006
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
35007
' >>$CONFIG_STATUS <conf$$subs.sed
 
35008
rm -f conf$$subs.sed
 
35009
cat >>$CONFIG_STATUS <<_ACEOF
 
35010
:end
 
35011
s/|#_!!_#|//g
 
35012
CEOF$ac_eof
 
35013
_ACEOF
 
35014
 
 
35015
 
 
35016
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
35017
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
35018
# trailing colons and then remove the whole line if VPATH becomes empty
 
35019
# (actually we leave an empty line to preserve line numbers).
 
35020
if test "x$srcdir" = x.; then
 
35021
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
35022
s/:*\$(srcdir):*/:/
 
35023
s/:*\${srcdir}:*/:/
 
35024
s/:*@srcdir@:*/:/
 
35025
s/^\([^=]*=[     ]*\):*/\1/
 
35026
s/:*$//
 
35027
s/^[^=]*=[       ]*$//
 
35028
}'
 
35029
fi
 
35030
 
 
35031
cat >>$CONFIG_STATUS <<\_ACEOF
33088
35032
fi # test -n "$CONFIG_FILES"
33089
35033
 
33090
 
_ACEOF
33091
 
cat >>$CONFIG_STATUS <<\_ACEOF
33092
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
33093
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
33094
 
  case $ac_file in
33095
 
  - | *:- | *:-:* ) # input from stdin
33096
 
        cat >$tmp/stdin
33097
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33098
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33099
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33100
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33101
 
  * )   ac_file_in=$ac_file.in ;;
33102
 
  esac
33103
 
 
33104
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
33105
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
35034
 
 
35035
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
35036
do
 
35037
  case $ac_tag in
 
35038
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
35039
  esac
 
35040
  case $ac_mode$ac_tag in
 
35041
  :[FHL]*:*);;
 
35042
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
35043
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
35044
   { (exit 1); exit 1; }; };;
 
35045
  :[FH]-) ac_tag=-:-;;
 
35046
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
35047
  esac
 
35048
  ac_save_IFS=$IFS
 
35049
  IFS=:
 
35050
  set x $ac_tag
 
35051
  IFS=$ac_save_IFS
 
35052
  shift
 
35053
  ac_file=$1
 
35054
  shift
 
35055
 
 
35056
  case $ac_mode in
 
35057
  :L) ac_source=$1;;
 
35058
  :[FH])
 
35059
    ac_file_inputs=
 
35060
    for ac_f
 
35061
    do
 
35062
      case $ac_f in
 
35063
      -) ac_f="$tmp/stdin";;
 
35064
      *) # Look for the file first in the build tree, then in the source tree
 
35065
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
35066
         # because $ac_f cannot contain `:'.
 
35067
         test -f "$ac_f" ||
 
35068
           case $ac_f in
 
35069
           [\\/$]*) false;;
 
35070
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
35071
           esac ||
 
35072
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
35073
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
35074
   { (exit 1); exit 1; }; };;
 
35075
      esac
 
35076
      ac_file_inputs="$ac_file_inputs $ac_f"
 
35077
    done
 
35078
 
 
35079
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
35080
    # use $as_me), people would be surprised to read:
 
35081
    #    /* config.h.  Generated by config.status.  */
 
35082
    configure_input="Generated from "`IFS=:
 
35083
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
35084
    if test x"$ac_file" != x-; then
 
35085
      configure_input="$ac_file.  $configure_input"
 
35086
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
35087
echo "$as_me: creating $ac_file" >&6;}
 
35088
    fi
 
35089
 
 
35090
    case $ac_tag in
 
35091
    *:-:* | *:-) cat >"$tmp/stdin";;
 
35092
    esac
 
35093
    ;;
 
35094
  esac
 
35095
 
 
35096
  ac_dir=`$as_dirname -- "$ac_file" ||
33106
35097
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33107
35098
         X"$ac_file" : 'X\(//\)[^/]' \| \
33108
35099
         X"$ac_file" : 'X\(//\)$' \| \
33109
 
         X"$ac_file" : 'X\(/\)' \| \
33110
 
         .     : '\(.\)' 2>/dev/null ||
 
35100
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33111
35101
echo X"$ac_file" |
33112
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33113
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33114
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33115
 
          /^X\(\/\).*/{ s//\1/; q; }
33116
 
          s/.*/./; q'`
33117
 
  { if $as_mkdir_p; then
33118
 
    mkdir -p "$ac_dir"
33119
 
  else
33120
 
    as_dir="$ac_dir"
 
35102
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
35103
            s//\1/
 
35104
            q
 
35105
          }
 
35106
          /^X\(\/\/\)[^/].*/{
 
35107
            s//\1/
 
35108
            q
 
35109
          }
 
35110
          /^X\(\/\/\)$/{
 
35111
            s//\1/
 
35112
            q
 
35113
          }
 
35114
          /^X\(\/\).*/{
 
35115
            s//\1/
 
35116
            q
 
35117
          }
 
35118
          s/.*/./; q'`
 
35119
  { as_dir="$ac_dir"
 
35120
  case $as_dir in #(
 
35121
  -*) as_dir=./$as_dir;;
 
35122
  esac
 
35123
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
33121
35124
    as_dirs=
33122
 
    while test ! -d "$as_dir"; do
33123
 
      as_dirs="$as_dir $as_dirs"
33124
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
35125
    while :; do
 
35126
      case $as_dir in #(
 
35127
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
35128
      *) as_qdir=$as_dir;;
 
35129
      esac
 
35130
      as_dirs="'$as_qdir' $as_dirs"
 
35131
      as_dir=`$as_dirname -- "$as_dir" ||
33125
35132
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33126
35133
         X"$as_dir" : 'X\(//\)[^/]' \| \
33127
35134
         X"$as_dir" : 'X\(//\)$' \| \
33128
 
         X"$as_dir" : 'X\(/\)' \| \
33129
 
         .     : '\(.\)' 2>/dev/null ||
 
35135
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
33130
35136
echo X"$as_dir" |
33131
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33132
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33133
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33134
 
          /^X\(\/\).*/{ s//\1/; q; }
33135
 
          s/.*/./; q'`
 
35137
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
35138
            s//\1/
 
35139
            q
 
35140
          }
 
35141
          /^X\(\/\/\)[^/].*/{
 
35142
            s//\1/
 
35143
            q
 
35144
          }
 
35145
          /^X\(\/\/\)$/{
 
35146
            s//\1/
 
35147
            q
 
35148
          }
 
35149
          /^X\(\/\).*/{
 
35150
            s//\1/
 
35151
            q
 
35152
          }
 
35153
          s/.*/./; q'`
 
35154
      test -d "$as_dir" && break
33136
35155
    done
33137
 
    test ! -n "$as_dirs" || mkdir $as_dirs
33138
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33139
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
35156
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
35157
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
35158
echo "$as_me: error: cannot create directory $as_dir" >&2;}
33140
35159
   { (exit 1); exit 1; }; }; }
33141
 
 
33142
35160
  ac_builddir=.
33143
35161
 
33144
 
if test "$ac_dir" != .; then
 
35162
case "$ac_dir" in
 
35163
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
35164
*)
33145
35165
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
33146
 
  # A "../" for each directory in $ac_dir_suffix.
33147
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
33148
 
else
33149
 
  ac_dir_suffix= ac_top_builddir=
33150
 
fi
 
35166
  # A ".." for each directory in $ac_dir_suffix.
 
35167
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
35168
  case $ac_top_builddir_sub in
 
35169
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
35170
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
35171
  esac ;;
 
35172
esac
 
35173
ac_abs_top_builddir=$ac_pwd
 
35174
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
35175
# for backward compatibility:
 
35176
ac_top_builddir=$ac_top_build_prefix
33151
35177
 
33152
35178
case $srcdir in
33153
 
  .)  # No --srcdir option.  We are building in place.
 
35179
  .)  # We are building in place.
33154
35180
    ac_srcdir=.
33155
 
    if test -z "$ac_top_builddir"; then
33156
 
       ac_top_srcdir=.
33157
 
    else
33158
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
33159
 
    fi ;;
33160
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
35181
    ac_top_srcdir=$ac_top_builddir_sub
 
35182
    ac_abs_top_srcdir=$ac_pwd ;;
 
35183
  [\\/]* | ?:[\\/]* )  # Absolute name.
33161
35184
    ac_srcdir=$srcdir$ac_dir_suffix;
33162
 
    ac_top_srcdir=$srcdir ;;
33163
 
  *) # Relative path.
33164
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
33165
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
33166
 
esac
33167
 
 
33168
 
# Do not use `cd foo && pwd` to compute absolute paths, because
33169
 
# the directories may not exist.
33170
 
case `pwd` in
33171
 
.) ac_abs_builddir="$ac_dir";;
33172
 
*)
33173
 
  case "$ac_dir" in
33174
 
  .) ac_abs_builddir=`pwd`;;
33175
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
33176
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
33177
 
  esac;;
33178
 
esac
33179
 
case $ac_abs_builddir in
33180
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
33181
 
*)
33182
 
  case ${ac_top_builddir}. in
33183
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
33184
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
33185
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
33186
 
  esac;;
33187
 
esac
33188
 
case $ac_abs_builddir in
33189
 
.) ac_abs_srcdir=$ac_srcdir;;
33190
 
*)
33191
 
  case $ac_srcdir in
33192
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
33193
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
33194
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
33195
 
  esac;;
33196
 
esac
33197
 
case $ac_abs_builddir in
33198
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
33199
 
*)
33200
 
  case $ac_top_srcdir in
33201
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
33202
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
33203
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
33204
 
  esac;;
33205
 
esac
33206
 
 
 
35185
    ac_top_srcdir=$srcdir
 
35186
    ac_abs_top_srcdir=$srcdir ;;
 
35187
  *) # Relative name.
 
35188
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
35189
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
35190
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
35191
esac
 
35192
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
35193
 
 
35194
 
 
35195
  case $ac_mode in
 
35196
  :F)
 
35197
  #
 
35198
  # CONFIG_FILE
 
35199
  #
33207
35200
 
33208
35201
  case $INSTALL in
33209
35202
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33210
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
33211
 
  esac
33212
 
 
33213
 
  if test x"$ac_file" != x-; then
33214
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
33215
 
echo "$as_me: creating $ac_file" >&6;}
33216
 
    rm -f "$ac_file"
33217
 
  fi
33218
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
33219
 
  # use $as_me), people would be surprised to read:
33220
 
  #    /* config.h.  Generated by config.status.  */
33221
 
  if test x"$ac_file" = x-; then
33222
 
    configure_input=
33223
 
  else
33224
 
    configure_input="$ac_file.  "
33225
 
  fi
33226
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
33227
 
                                     sed 's,.*/,,'` by configure."
33228
 
 
33229
 
  # First look for the input files in the build tree, otherwise in the
33230
 
  # src tree.
33231
 
  ac_file_inputs=`IFS=:
33232
 
    for f in $ac_file_in; do
33233
 
      case $f in
33234
 
      -) echo $tmp/stdin ;;
33235
 
      [\\/$]*)
33236
 
         # Absolute (can't be DOS-style, as IFS=:)
33237
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33238
 
echo "$as_me: error: cannot find input file: $f" >&2;}
33239
 
   { (exit 1); exit 1; }; }
33240
 
         echo "$f";;
33241
 
      *) # Relative
33242
 
         if test -f "$f"; then
33243
 
           # Build tree
33244
 
           echo "$f"
33245
 
         elif test -f "$srcdir/$f"; then
33246
 
           # Source tree
33247
 
           echo "$srcdir/$f"
33248
 
         else
33249
 
           # /dev/null tree
33250
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33251
 
echo "$as_me: error: cannot find input file: $f" >&2;}
33252
 
   { (exit 1); exit 1; }; }
33253
 
         fi;;
33254
 
      esac
33255
 
    done` || { (exit 1); exit 1; }
33256
 
_ACEOF
 
35203
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
35204
  esac
 
35205
  ac_MKDIR_P=$MKDIR_P
 
35206
  case $MKDIR_P in
 
35207
  [\\/$]* | ?:[\\/]* ) ;;
 
35208
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
35209
  esac
 
35210
_ACEOF
 
35211
 
 
35212
cat >>$CONFIG_STATUS <<\_ACEOF
 
35213
# If the template does not know about datarootdir, expand it.
 
35214
# FIXME: This hack should be removed a few years after 2.60.
 
35215
ac_datarootdir_hack=; ac_datarootdir_seen=
 
35216
 
 
35217
case `sed -n '/datarootdir/ {
 
35218
  p
 
35219
  q
 
35220
}
 
35221
/@datadir@/p
 
35222
/@docdir@/p
 
35223
/@infodir@/p
 
35224
/@localedir@/p
 
35225
/@mandir@/p
 
35226
' $ac_file_inputs` in
 
35227
*datarootdir*) ac_datarootdir_seen=yes;;
 
35228
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
35229
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
35230
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
35231
_ACEOF
 
35232
cat >>$CONFIG_STATUS <<_ACEOF
 
35233
  ac_datarootdir_hack='
 
35234
  s&@datadir@&$datadir&g
 
35235
  s&@docdir@&$docdir&g
 
35236
  s&@infodir@&$infodir&g
 
35237
  s&@localedir@&$localedir&g
 
35238
  s&@mandir@&$mandir&g
 
35239
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
35240
esac
 
35241
_ACEOF
 
35242
 
 
35243
# Neutralize VPATH when `$srcdir' = `.'.
 
35244
# Shell code in configure.ac might set extrasub.
 
35245
# FIXME: do we really want to maintain this feature?
33257
35246
cat >>$CONFIG_STATUS <<_ACEOF
33258
35247
  sed "$ac_vpsub
33259
35248
$extrasub
33261
35250
cat >>$CONFIG_STATUS <<\_ACEOF
33262
35251
:t
33263
35252
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33264
 
s,@configure_input@,$configure_input,;t t
33265
 
s,@srcdir@,$ac_srcdir,;t t
33266
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
33267
 
s,@top_srcdir@,$ac_top_srcdir,;t t
33268
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
33269
 
s,@builddir@,$ac_builddir,;t t
33270
 
s,@abs_builddir@,$ac_abs_builddir,;t t
33271
 
s,@top_builddir@,$ac_top_builddir,;t t
33272
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
33273
 
s,@INSTALL@,$ac_INSTALL,;t t
33274
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
33275
 
  rm -f $tmp/stdin
33276
 
  if test x"$ac_file" != x-; then
33277
 
    mv $tmp/out $ac_file
33278
 
  else
33279
 
    cat $tmp/out
33280
 
    rm -f $tmp/out
33281
 
  fi
33282
 
 
33283
 
done
 
35253
s&@configure_input@&$configure_input&;t t
 
35254
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
35255
s&@srcdir@&$ac_srcdir&;t t
 
35256
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
35257
s&@top_srcdir@&$ac_top_srcdir&;t t
 
35258
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
35259
s&@builddir@&$ac_builddir&;t t
 
35260
s&@abs_builddir@&$ac_abs_builddir&;t t
 
35261
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
35262
s&@INSTALL@&$ac_INSTALL&;t t
 
35263
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
35264
$ac_datarootdir_hack
 
35265
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 
35266
 
 
35267
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
35268
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
35269
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
35270
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
35271
which seems to be undefined.  Please make sure it is defined." >&5
 
35272
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
35273
which seems to be undefined.  Please make sure it is defined." >&2;}
 
35274
 
 
35275
  rm -f "$tmp/stdin"
 
35276
  case $ac_file in
 
35277
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
35278
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
35279
  esac
 
35280
 ;;
 
35281
  :H)
 
35282
  #
 
35283
  # CONFIG_HEADER
 
35284
  #
33284
35285
_ACEOF
33285
 
cat >>$CONFIG_STATUS <<\_ACEOF
33286
 
 
33287
 
#
33288
 
# CONFIG_HEADER section.
33289
 
#
33290
 
 
33291
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
33292
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
33293
 
#
33294
 
# ac_d sets the value in "#define NAME VALUE" lines.
33295
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
33296
 
ac_dB='[         ].*$,\1#\2'
 
35286
 
 
35287
# Transform confdefs.h into a sed script `conftest.defines', that
 
35288
# substitutes the proper values into config.h.in to produce config.h.
 
35289
rm -f conftest.defines conftest.tail
 
35290
# First, append a space to every undef/define line, to ease matching.
 
35291
echo 's/$/ /' >conftest.defines
 
35292
# Then, protect against being on the right side of a sed subst, or in
 
35293
# an unquoted here document, in config.status.  If some macros were
 
35294
# called several times there might be several #defines for the same
 
35295
# symbol, which is useless.  But do not sort them, since the last
 
35296
# AC_DEFINE must be honored.
 
35297
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
35298
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
35299
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
35300
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
35301
# just an empty string.
 
35302
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
35303
ac_dB='\\)[      (].*,\\1define\\2'
33297
35304
ac_dC=' '
33298
 
ac_dD=',;t'
33299
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
33300
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
33301
 
ac_uB='$,\1#\2define\3'
33302
 
ac_uC=' '
33303
 
ac_uD=',;t'
33304
 
 
33305
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
33306
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
33307
 
  case $ac_file in
33308
 
  - | *:- | *:-:* ) # input from stdin
33309
 
        cat >$tmp/stdin
33310
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33311
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33312
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33313
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33314
 
  * )   ac_file_in=$ac_file.in ;;
33315
 
  esac
33316
 
 
33317
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
33318
 
echo "$as_me: creating $ac_file" >&6;}
33319
 
 
33320
 
  # First look for the input files in the build tree, otherwise in the
33321
 
  # src tree.
33322
 
  ac_file_inputs=`IFS=:
33323
 
    for f in $ac_file_in; do
33324
 
      case $f in
33325
 
      -) echo $tmp/stdin ;;
33326
 
      [\\/$]*)
33327
 
         # Absolute (can't be DOS-style, as IFS=:)
33328
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33329
 
echo "$as_me: error: cannot find input file: $f" >&2;}
33330
 
   { (exit 1); exit 1; }; }
33331
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
33332
 
         echo "$f";;
33333
 
      *) # Relative
33334
 
         if test -f "$f"; then
33335
 
           # Build tree
33336
 
           echo "$f"
33337
 
         elif test -f "$srcdir/$f"; then
33338
 
           # Source tree
33339
 
           echo "$srcdir/$f"
33340
 
         else
33341
 
           # /dev/null tree
33342
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33343
 
echo "$as_me: error: cannot find input file: $f" >&2;}
33344
 
   { (exit 1); exit 1; }; }
33345
 
         fi;;
33346
 
      esac
33347
 
    done` || { (exit 1); exit 1; }
33348
 
  # Remove the trailing spaces.
33349
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
33350
 
 
33351
 
_ACEOF
33352
 
 
33353
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
33354
 
# `conftest.undefs', that substitutes the proper values into
33355
 
# config.h.in to produce config.h.  The first handles `#define'
33356
 
# templates, and the second `#undef' templates.
33357
 
# And first: Protect against being on the right side of a sed subst in
33358
 
# config.status.  Protect against being in an unquoted here document
33359
 
# in config.status.
33360
 
rm -f conftest.defines conftest.undefs
33361
 
# Using a here document instead of a string reduces the quoting nightmare.
33362
 
# Putting comments in sed scripts is not portable.
33363
 
#
33364
 
# `end' is used to avoid that the second main sed command (meant for
33365
 
# 0-ary CPP macros) applies to n-ary macro definitions.
33366
 
# See the Autoconf documentation for `clear'.
33367
 
cat >confdef2sed.sed <<\_ACEOF
33368
 
s/[\\&,]/\\&/g
33369
 
s,[\\$`],\\&,g
33370
 
t clear
33371
 
: clear
33372
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
33373
 
t end
33374
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
33375
 
: end
33376
 
_ACEOF
33377
 
# If some macros were called several times there might be several times
33378
 
# the same #defines, which is useless.  Nevertheless, we may not want to
33379
 
# sort them, since we want the *last* AC-DEFINE to be honored.
33380
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
33381
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
33382
 
rm -f confdef2sed.sed
33383
 
 
33384
 
# This sed command replaces #undef with comments.  This is necessary, for
 
35305
ac_dD=' ,'
 
35306
 
 
35307
uniq confdefs.h |
 
35308
  sed -n '
 
35309
        t rset
 
35310
        :rset
 
35311
        s/^[     ]*#[    ]*define[       ][      ]*//
 
35312
        t ok
 
35313
        d
 
35314
        :ok
 
35315
        s/[\\&,]/\\&/g
 
35316
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
35317
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
35318
  ' >>conftest.defines
 
35319
 
 
35320
# Remove the space that was appended to ease matching.
 
35321
# Then replace #undef with comments.  This is necessary, for
33385
35322
# example, in the case of _POSIX_SOURCE, which is predefined and required
33386
35323
# on some systems where configure will not decide to define it.
33387
 
cat >>conftest.undefs <<\_ACEOF
33388
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
35324
# (The regexp can be short, since the line contains either #define or #undef.)
 
35325
echo 's/ $//
 
35326
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
35327
 
 
35328
# Break up conftest.defines:
 
35329
ac_max_sed_lines=50
 
35330
 
 
35331
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
35332
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
35333
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
35334
# et cetera.
 
35335
ac_in='$ac_file_inputs'
 
35336
ac_out='"$tmp/out1"'
 
35337
ac_nxt='"$tmp/out2"'
 
35338
 
 
35339
while :
 
35340
do
 
35341
  # Write a here document:
 
35342
    cat >>$CONFIG_STATUS <<_ACEOF
 
35343
    # First, check the format of the line:
 
35344
    cat >"\$tmp/defines.sed" <<\\CEOF
 
35345
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
35346
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
35347
b
 
35348
:def
33389
35349
_ACEOF
33390
 
 
33391
 
# Break up conftest.defines because some shells have a limit on the size
33392
 
# of here documents, and old seds have small limits too (100 cmds).
33393
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
33394
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
33395
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
33396
 
echo '  :' >>$CONFIG_STATUS
33397
 
rm -f conftest.tail
33398
 
while grep . conftest.defines >/dev/null
33399
 
do
33400
 
  # Write a limited-size here document to $tmp/defines.sed.
33401
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
33402
 
  # Speed up: don't consider the non `#define' lines.
33403
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
33404
 
  # Work around the forget-to-reset-the-flag bug.
33405
 
  echo 't clr' >>$CONFIG_STATUS
33406
 
  echo ': clr' >>$CONFIG_STATUS
33407
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
35350
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
33408
35351
  echo 'CEOF
33409
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
33410
 
  rm -f $tmp/in
33411
 
  mv $tmp/out $tmp/in
33412
 
' >>$CONFIG_STATUS
33413
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
35352
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
35353
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
35354
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
35355
  grep . conftest.tail >/dev/null || break
33414
35356
  rm -f conftest.defines
33415
35357
  mv conftest.tail conftest.defines
33416
35358
done
33417
 
rm -f conftest.defines
33418
 
echo '  fi # grep' >>$CONFIG_STATUS
33419
 
echo >>$CONFIG_STATUS
33420
 
 
33421
 
# Break up conftest.undefs because some shells have a limit on the size
33422
 
# of here documents, and old seds have small limits too (100 cmds).
33423
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
33424
 
rm -f conftest.tail
33425
 
while grep . conftest.undefs >/dev/null
33426
 
do
33427
 
  # Write a limited-size here document to $tmp/undefs.sed.
33428
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
33429
 
  # Speed up: don't consider the non `#undef'
33430
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
33431
 
  # Work around the forget-to-reset-the-flag bug.
33432
 
  echo 't clr' >>$CONFIG_STATUS
33433
 
  echo ': clr' >>$CONFIG_STATUS
33434
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
33435
 
  echo 'CEOF
33436
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
33437
 
  rm -f $tmp/in
33438
 
  mv $tmp/out $tmp/in
33439
 
' >>$CONFIG_STATUS
33440
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
33441
 
  rm -f conftest.undefs
33442
 
  mv conftest.tail conftest.undefs
33443
 
done
33444
 
rm -f conftest.undefs
33445
 
 
 
35359
rm -f conftest.defines conftest.tail
 
35360
 
 
35361
echo "ac_result=$ac_in" >>$CONFIG_STATUS
33446
35362
cat >>$CONFIG_STATUS <<\_ACEOF
33447
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
33448
 
  # use $as_me), people would be surprised to read:
33449
 
  #    /* config.h.  Generated by config.status.  */
33450
 
  if test x"$ac_file" = x-; then
33451
 
    echo "/* Generated by configure.  */" >$tmp/config.h
33452
 
  else
33453
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
33454
 
  fi
33455
 
  cat $tmp/in >>$tmp/config.h
33456
 
  rm -f $tmp/in
33457
35363
  if test x"$ac_file" != x-; then
33458
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
35364
    echo "/* $configure_input  */" >"$tmp/config.h"
 
35365
    cat "$ac_result" >>"$tmp/config.h"
 
35366
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
33459
35367
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
33460
35368
echo "$as_me: $ac_file is unchanged" >&6;}
33461
35369
    else
33462
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
33463
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33464
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
33465
 
         X"$ac_file" : 'X\(//\)$' \| \
33466
 
         X"$ac_file" : 'X\(/\)' \| \
33467
 
         .     : '\(.\)' 2>/dev/null ||
33468
 
echo X"$ac_file" |
33469
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33470
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33471
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33472
 
          /^X\(\/\).*/{ s//\1/; q; }
33473
 
          s/.*/./; q'`
33474
 
      { if $as_mkdir_p; then
33475
 
    mkdir -p "$ac_dir"
33476
 
  else
33477
 
    as_dir="$ac_dir"
33478
 
    as_dirs=
33479
 
    while test ! -d "$as_dir"; do
33480
 
      as_dirs="$as_dir $as_dirs"
33481
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
33482
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33483
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
33484
 
         X"$as_dir" : 'X\(//\)$' \| \
33485
 
         X"$as_dir" : 'X\(/\)' \| \
33486
 
         .     : '\(.\)' 2>/dev/null ||
33487
 
echo X"$as_dir" |
33488
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33489
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33490
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33491
 
          /^X\(\/\).*/{ s//\1/; q; }
33492
 
          s/.*/./; q'`
33493
 
    done
33494
 
    test ! -n "$as_dirs" || mkdir $as_dirs
33495
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33496
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33497
 
   { (exit 1); exit 1; }; }; }
33498
 
 
33499
35370
      rm -f $ac_file
33500
 
      mv $tmp/config.h $ac_file
 
35371
      mv "$tmp/config.h" $ac_file
33501
35372
    fi
33502
35373
  else
33503
 
    cat $tmp/config.h
33504
 
    rm -f $tmp/config.h
 
35374
    echo "/* $configure_input  */"
 
35375
    cat "$ac_result"
33505
35376
  fi
 
35377
  rm -f "$tmp/out12"
33506
35378
# Compute $ac_file's index in $config_headers.
33507
35379
_am_stamp_count=1
33508
35380
for _am_header in $config_headers :; do
33513
35385
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33514
35386
  esac
33515
35387
done
33516
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
35388
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
33517
35389
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33518
35390
         X$ac_file : 'X\(//\)[^/]' \| \
33519
35391
         X$ac_file : 'X\(//\)$' \| \
33520
 
         X$ac_file : 'X\(/\)' \| \
33521
 
         .     : '\(.\)' 2>/dev/null ||
 
35392
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
33522
35393
echo X$ac_file |
33523
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33524
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33525
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33526
 
          /^X\(\/\).*/{ s//\1/; q; }
33527
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
33528
 
done
33529
 
_ACEOF
33530
 
cat >>$CONFIG_STATUS <<\_ACEOF
33531
 
 
33532
 
#
33533
 
# CONFIG_COMMANDS section.
33534
 
#
33535
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
33536
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
33537
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
33538
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
33539
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33540
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
33541
 
         X"$ac_dest" : 'X\(//\)$' \| \
33542
 
         X"$ac_dest" : 'X\(/\)' \| \
33543
 
         .     : '\(.\)' 2>/dev/null ||
33544
 
echo X"$ac_dest" |
33545
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33546
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33547
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33548
 
          /^X\(\/\).*/{ s//\1/; q; }
33549
 
          s/.*/./; q'`
33550
 
  { if $as_mkdir_p; then
33551
 
    mkdir -p "$ac_dir"
33552
 
  else
33553
 
    as_dir="$ac_dir"
33554
 
    as_dirs=
33555
 
    while test ! -d "$as_dir"; do
33556
 
      as_dirs="$as_dir $as_dirs"
33557
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
33558
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33559
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
33560
 
         X"$as_dir" : 'X\(//\)$' \| \
33561
 
         X"$as_dir" : 'X\(/\)' \| \
33562
 
         .     : '\(.\)' 2>/dev/null ||
33563
 
echo X"$as_dir" |
33564
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33565
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33566
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33567
 
          /^X\(\/\).*/{ s//\1/; q; }
33568
 
          s/.*/./; q'`
33569
 
    done
33570
 
    test ! -n "$as_dirs" || mkdir $as_dirs
33571
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33572
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33573
 
   { (exit 1); exit 1; }; }; }
33574
 
 
33575
 
  ac_builddir=.
33576
 
 
33577
 
if test "$ac_dir" != .; then
33578
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
33579
 
  # A "../" for each directory in $ac_dir_suffix.
33580
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
33581
 
else
33582
 
  ac_dir_suffix= ac_top_builddir=
33583
 
fi
33584
 
 
33585
 
case $srcdir in
33586
 
  .)  # No --srcdir option.  We are building in place.
33587
 
    ac_srcdir=.
33588
 
    if test -z "$ac_top_builddir"; then
33589
 
       ac_top_srcdir=.
33590
 
    else
33591
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
33592
 
    fi ;;
33593
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
33594
 
    ac_srcdir=$srcdir$ac_dir_suffix;
33595
 
    ac_top_srcdir=$srcdir ;;
33596
 
  *) # Relative path.
33597
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
33598
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
33599
 
esac
33600
 
 
33601
 
# Do not use `cd foo && pwd` to compute absolute paths, because
33602
 
# the directories may not exist.
33603
 
case `pwd` in
33604
 
.) ac_abs_builddir="$ac_dir";;
33605
 
*)
33606
 
  case "$ac_dir" in
33607
 
  .) ac_abs_builddir=`pwd`;;
33608
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
33609
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
33610
 
  esac;;
33611
 
esac
33612
 
case $ac_abs_builddir in
33613
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
33614
 
*)
33615
 
  case ${ac_top_builddir}. in
33616
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
33617
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
33618
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
33619
 
  esac;;
33620
 
esac
33621
 
case $ac_abs_builddir in
33622
 
.) ac_abs_srcdir=$ac_srcdir;;
33623
 
*)
33624
 
  case $ac_srcdir in
33625
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
33626
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
33627
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
33628
 
  esac;;
33629
 
esac
33630
 
case $ac_abs_builddir in
33631
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
33632
 
*)
33633
 
  case $ac_top_srcdir in
33634
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
33635
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
33636
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
33637
 
  esac;;
33638
 
esac
33639
 
 
33640
 
 
33641
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
33642
 
echo "$as_me: executing $ac_dest commands" >&6;}
33643
 
  case $ac_dest in
33644
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
35394
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
35395
            s//\1/
 
35396
            q
 
35397
          }
 
35398
          /^X\(\/\/\)[^/].*/{
 
35399
            s//\1/
 
35400
            q
 
35401
          }
 
35402
          /^X\(\/\/\)$/{
 
35403
            s//\1/
 
35404
            q
 
35405
          }
 
35406
          /^X\(\/\).*/{
 
35407
            s//\1/
 
35408
            q
 
35409
          }
 
35410
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
35411
 ;;
 
35412
 
 
35413
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
35414
echo "$as_me: executing $ac_file commands" >&6;}
 
35415
 ;;
 
35416
  esac
 
35417
 
 
35418
 
 
35419
  case $ac_file$ac_mode in
 
35420
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
33645
35421
  # Strip MF so we end up with the name of the file.
33646
35422
  mf=`echo "$mf" | sed -e 's/:.*$//'`
33647
35423
  # Check whether this is an Automake generated Makefile or not.
33649
35425
  # some people rename them; so instead we look at the file content.
33650
35426
  # Grep'ing the first line is not enough: some people post-process
33651
35427
  # each Makefile.in and add a new line on top of each file to say so.
33652
 
  # So let's grep whole file.
33653
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
33654
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
35428
  # Grep'ing the whole file is not good either: AIX grep has a line
 
35429
  # limit of 2048, but all sed's we know have understand at least 4000.
 
35430
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
35431
    dirpart=`$as_dirname -- "$mf" ||
33655
35432
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33656
35433
         X"$mf" : 'X\(//\)[^/]' \| \
33657
35434
         X"$mf" : 'X\(//\)$' \| \
33658
 
         X"$mf" : 'X\(/\)' \| \
33659
 
         .     : '\(.\)' 2>/dev/null ||
 
35435
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33660
35436
echo X"$mf" |
33661
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33662
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33663
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33664
 
          /^X\(\/\).*/{ s//\1/; q; }
33665
 
          s/.*/./; q'`
 
35437
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
35438
            s//\1/
 
35439
            q
 
35440
          }
 
35441
          /^X\(\/\/\)[^/].*/{
 
35442
            s//\1/
 
35443
            q
 
35444
          }
 
35445
          /^X\(\/\/\)$/{
 
35446
            s//\1/
 
35447
            q
 
35448
          }
 
35449
          /^X\(\/\).*/{
 
35450
            s//\1/
 
35451
            q
 
35452
          }
 
35453
          s/.*/./; q'`
33666
35454
  else
33667
35455
    continue
33668
35456
  fi
33684
35472
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
33685
35473
    # Make sure the directory exists.
33686
35474
    test -f "$dirpart/$file" && continue
33687
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
35475
    fdir=`$as_dirname -- "$file" ||
33688
35476
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33689
35477
         X"$file" : 'X\(//\)[^/]' \| \
33690
35478
         X"$file" : 'X\(//\)$' \| \
33691
 
         X"$file" : 'X\(/\)' \| \
33692
 
         .     : '\(.\)' 2>/dev/null ||
 
35479
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33693
35480
echo X"$file" |
33694
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33695
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33696
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33697
 
          /^X\(\/\).*/{ s//\1/; q; }
33698
 
          s/.*/./; q'`
33699
 
    { if $as_mkdir_p; then
33700
 
    mkdir -p $dirpart/$fdir
33701
 
  else
33702
 
    as_dir=$dirpart/$fdir
 
35481
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
35482
            s//\1/
 
35483
            q
 
35484
          }
 
35485
          /^X\(\/\/\)[^/].*/{
 
35486
            s//\1/
 
35487
            q
 
35488
          }
 
35489
          /^X\(\/\/\)$/{
 
35490
            s//\1/
 
35491
            q
 
35492
          }
 
35493
          /^X\(\/\).*/{
 
35494
            s//\1/
 
35495
            q
 
35496
          }
 
35497
          s/.*/./; q'`
 
35498
    { as_dir=$dirpart/$fdir
 
35499
  case $as_dir in #(
 
35500
  -*) as_dir=./$as_dir;;
 
35501
  esac
 
35502
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
33703
35503
    as_dirs=
33704
 
    while test ! -d "$as_dir"; do
33705
 
      as_dirs="$as_dir $as_dirs"
33706
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
35504
    while :; do
 
35505
      case $as_dir in #(
 
35506
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
35507
      *) as_qdir=$as_dir;;
 
35508
      esac
 
35509
      as_dirs="'$as_qdir' $as_dirs"
 
35510
      as_dir=`$as_dirname -- "$as_dir" ||
33707
35511
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33708
35512
         X"$as_dir" : 'X\(//\)[^/]' \| \
33709
35513
         X"$as_dir" : 'X\(//\)$' \| \
33710
 
         X"$as_dir" : 'X\(/\)' \| \
33711
 
         .     : '\(.\)' 2>/dev/null ||
 
35514
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
33712
35515
echo X"$as_dir" |
33713
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33714
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33715
 
          /^X\(\/\/\)$/{ s//\1/; q; }
33716
 
          /^X\(\/\).*/{ s//\1/; q; }
33717
 
          s/.*/./; q'`
 
35516
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
35517
            s//\1/
 
35518
            q
 
35519
          }
 
35520
          /^X\(\/\/\)[^/].*/{
 
35521
            s//\1/
 
35522
            q
 
35523
          }
 
35524
          /^X\(\/\/\)$/{
 
35525
            s//\1/
 
35526
            q
 
35527
          }
 
35528
          /^X\(\/\).*/{
 
35529
            s//\1/
 
35530
            q
 
35531
          }
 
35532
          s/.*/./; q'`
 
35533
      test -d "$as_dir" && break
33718
35534
    done
33719
 
    test ! -n "$as_dirs" || mkdir $as_dirs
33720
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
33721
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
35535
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
35536
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
35537
echo "$as_me: error: cannot create directory $as_dir" >&2;}
33722
35538
   { (exit 1); exit 1; }; }; }
33723
 
 
33724
35539
    # echo "creating $dirpart/$file"
33725
35540
    echo '# dummy' > "$dirpart/$file"
33726
35541
  done
33727
35542
done
33728
35543
 ;;
 
35544
 
33729
35545
  esac
33730
 
done
33731
 
_ACEOF
 
35546
done # for ac_tag
33732
35547
 
33733
 
cat >>$CONFIG_STATUS <<\_ACEOF
33734
35548
 
33735
35549
{ (exit 0); exit 0; }
33736
35550
_ACEOF
33766
35580
 
33767
35581
 
33768
35582
if test "x$all_tests" = "xbad"; then
33769
 
  echo ""
33770
 
  echo "Fix the problems, and try to run ./configure again."
33771
 
  echo ""
 
35583
  # $all_tests is an internal variable in the configure script
 
35584
  # the configure script may also be terminated with AC_MSG_ERROR
 
35585
  echo ""
 
35586
  echo "Please fix the problems, and run ./configure again."
 
35587
  echo ""
 
35588
  exit 1
33772
35589
else
33773
35590
  echo ""
33774
35591
  echo ""
33817
35634
  fi
33818
35635
fi
33819
35636
 
 
35637
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
 
35638
  echo ""
 
35639
  echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
 
35640
  echo "was not included. Therefore, GCC symbol visibility support remains disabled."
 
35641
  echo ""
 
35642
  echo "For better performance, consider including the Qt visibility supporting patch"
 
35643
  echo "located at:"
 
35644
  echo ""
 
35645
  echo "http://bugs.kde.org/show_bug.cgi?id=109386"
 
35646
  echo ""
 
35647
  echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
 
35648
  echo "everything will continue to work just fine without it."
 
35649
  echo ""
 
35650
fi
 
35651
 
33820
35652
if test "$all_tests" = "bad"; then
33821
35653
  if test ! "$cache_file" = "/dev/null"; then
33822
35654
    echo ""