~ubuntu-branches/ubuntu/lucid/vino/lucid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2008-05-27 09:06:36 UTC
  • mfrom: (1.1.21 upstream) (2.1.31 hardy)
  • Revision ID: james.westby@ubuntu.com-20080527090636-lg1whxlkub1wtsw7
Tags: 2.22.2-1
New upstream bugfix release.

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 for vino 2.16.0.
 
3
# Generated by GNU Autoconf 2.61 for vino 2.22.2.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=vino>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
9
# This configure script is free software; the Free Software Foundation
9
10
# gives unlimited permission to copy, distribute and modify it.
10
11
## --------------------- ##
11
12
## M4sh Initialization.  ##
12
13
## --------------------- ##
13
14
 
14
 
# Be Bourne compatible
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
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
 
15
# Be more Bourne compatible
24
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
# The user is always right.
 
43
if test "${PATH_SEPARATOR+set}" != set; then
 
44
  echo "#! /bin/sh" >conf$$.sh
 
45
  echo  "exit 0"   >>conf$$.sh
 
46
  chmod +x conf$$.sh
 
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
48
    PATH_SEPARATOR=';'
 
49
  else
 
50
    PATH_SEPARATOR=:
 
51
  fi
 
52
  rm -f conf$$.sh
 
53
fi
25
54
 
26
55
# Support unset when possible.
27
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31
60
fi
32
61
 
33
62
 
 
63
# IFS
 
64
# We need space, tab and new line, in precisely that order.  Quoting is
 
65
# there to prevent editors from complaining about space-tab.
 
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
67
# splitting by setting IFS to empty value.)
 
68
as_nl='
 
69
'
 
70
IFS=" ""        $as_nl"
 
71
 
 
72
# Find who we are.  Look in the path if we contain no directory separator.
 
73
case $0 in
 
74
  *[\\/]* ) as_myself=$0 ;;
 
75
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
76
for as_dir in $PATH
 
77
do
 
78
  IFS=$as_save_IFS
 
79
  test -z "$as_dir" && as_dir=.
 
80
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
81
done
 
82
IFS=$as_save_IFS
 
83
 
 
84
     ;;
 
85
esac
 
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
87
# in which case we are not to be found in the path.
 
88
if test "x$as_myself" = x; then
 
89
  as_myself=$0
 
90
fi
 
91
if test ! -f "$as_myself"; then
 
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
93
  { (exit 1); exit 1; }
 
94
fi
 
95
 
34
96
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
97
for as_var in ENV MAIL MAILPATH
 
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
99
done
36
100
PS1='$ '
37
101
PS2='> '
38
102
PS4='+ '
46
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
111
    eval $as_var=C; export $as_var
48
112
  else
49
 
    $as_unset $as_var
 
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
114
  fi
51
115
done
52
116
 
53
117
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
119
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
120
  as_expr=expr
56
121
else
57
122
  as_expr=false
58
123
fi
59
124
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
126
  as_basename=basename
62
127
else
63
128
  as_basename=false
65
130
 
66
131
 
67
132
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
133
as_me=`$as_basename -- "$0" ||
69
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
135
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
136
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
137
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\/\)$/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          /^X\/\(\/\).*/{
 
147
            s//\1/
 
148
            q
 
149
          }
 
150
          s/.*/./; q'`
 
151
 
 
152
# CDPATH.
 
153
$as_unset CDPATH
 
154
 
 
155
 
 
156
if test "x$CONFIG_SHELL" = x; then
 
157
  if (eval ":") 2>/dev/null; then
 
158
  as_have_required=yes
 
159
else
 
160
  as_have_required=no
 
161
fi
 
162
 
 
163
  if test $as_have_required = yes &&     (eval ":
 
164
(as_func_return () {
 
165
  (exit \$1)
 
166
}
 
167
as_func_success () {
 
168
  as_func_return 0
 
169
}
 
170
as_func_failure () {
 
171
  as_func_return 1
 
172
}
 
173
as_func_ret_success () {
 
174
  return 0
 
175
}
 
176
as_func_ret_failure () {
 
177
  return 1
 
178
}
 
179
 
 
180
exitcode=0
 
181
if as_func_success; then
 
182
  :
 
183
else
 
184
  exitcode=1
 
185
  echo as_func_success failed.
 
186
fi
 
187
 
 
188
if as_func_failure; then
 
189
  exitcode=1
 
190
  echo as_func_failure succeeded.
 
191
fi
 
192
 
 
193
if as_func_ret_success; then
 
194
  :
 
195
else
 
196
  exitcode=1
 
197
  echo as_func_ret_success failed.
 
198
fi
 
199
 
 
200
if as_func_ret_failure; then
 
201
  exitcode=1
 
202
  echo as_func_ret_failure succeeded.
 
203
fi
 
204
 
 
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
206
  :
 
207
else
 
208
  exitcode=1
 
209
  echo positional parameters were not saved.
 
210
fi
 
211
 
 
212
test \$exitcode = 0) || { (exit 1); exit 1; }
 
213
 
 
214
(
 
215
  as_lineno_1=\$LINENO
 
216
  as_lineno_2=\$LINENO
 
217
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
218
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
219
") 2> /dev/null; then
 
220
  :
 
221
else
 
222
  as_candidate_shells=
132
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
225
do
135
226
  IFS=$as_save_IFS
136
227
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
228
  case $as_dir in
139
229
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
 
230
           for as_base in sh bash ksh sh5; do
 
231
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
232
           done;;
 
233
       esac
154
234
done
155
 
;;
156
 
  esac
 
235
IFS=$as_save_IFS
 
236
 
 
237
 
 
238
      for as_shell in $as_candidate_shells $SHELL; do
 
239
         # Try only shells that exist, to save several forks.
 
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
243
  emulate sh
 
244
  NULLCMD=:
 
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
246
  # is contrary to our usage.  Disable this feature.
 
247
  alias -g '${1+"$@"}'='"$@"'
 
248
  setopt NO_GLOB_SUBST
 
249
else
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
 
254
fi
 
255
 
 
256
 
 
257
:
 
258
_ASEOF
 
259
}; then
 
260
  CONFIG_SHELL=$as_shell
 
261
               as_have_required=yes
 
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
264
  emulate sh
 
265
  NULLCMD=:
 
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
267
  # is contrary to our usage.  Disable this feature.
 
268
  alias -g '${1+"$@"}'='"$@"'
 
269
  setopt NO_GLOB_SUBST
 
270
else
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
 
275
fi
 
276
 
 
277
 
 
278
:
 
279
(as_func_return () {
 
280
  (exit $1)
 
281
}
 
282
as_func_success () {
 
283
  as_func_return 0
 
284
}
 
285
as_func_failure () {
 
286
  as_func_return 1
 
287
}
 
288
as_func_ret_success () {
 
289
  return 0
 
290
}
 
291
as_func_ret_failure () {
 
292
  return 1
 
293
}
 
294
 
 
295
exitcode=0
 
296
if as_func_success; then
 
297
  :
 
298
else
 
299
  exitcode=1
 
300
  echo as_func_success failed.
 
301
fi
 
302
 
 
303
if as_func_failure; then
 
304
  exitcode=1
 
305
  echo as_func_failure succeeded.
 
306
fi
 
307
 
 
308
if as_func_ret_success; then
 
309
  :
 
310
else
 
311
  exitcode=1
 
312
  echo as_func_ret_success failed.
 
313
fi
 
314
 
 
315
if as_func_ret_failure; then
 
316
  exitcode=1
 
317
  echo as_func_ret_failure succeeded.
 
318
fi
 
319
 
 
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
321
  :
 
322
else
 
323
  exitcode=1
 
324
  echo positional parameters were not saved.
 
325
fi
 
326
 
 
327
test $exitcode = 0) || { (exit 1); exit 1; }
 
328
 
 
329
(
 
330
  as_lineno_1=$LINENO
 
331
  as_lineno_2=$LINENO
 
332
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
333
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
334
 
 
335
_ASEOF
 
336
}; then
 
337
  break
 
338
fi
 
339
 
 
340
fi
 
341
 
 
342
      done
 
343
 
 
344
      if test "x$CONFIG_SHELL" != x; then
 
345
  for as_var in BASH_ENV ENV
 
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
347
        done
 
348
        export CONFIG_SHELL
 
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
350
fi
 
351
 
 
352
 
 
353
    if test $as_have_required = no; then
 
354
  echo This script requires a shell more modern than all the
 
355
      echo shells that I found on your system.  Please install a
 
356
      echo modern shell, or manually run the script under such a
 
357
      echo shell if you do have one.
 
358
      { (exit 1); exit 1; }
 
359
fi
 
360
 
 
361
 
 
362
fi
 
363
 
 
364
fi
 
365
 
 
366
 
 
367
 
 
368
(eval "as_func_return () {
 
369
  (exit \$1)
 
370
}
 
371
as_func_success () {
 
372
  as_func_return 0
 
373
}
 
374
as_func_failure () {
 
375
  as_func_return 1
 
376
}
 
377
as_func_ret_success () {
 
378
  return 0
 
379
}
 
380
as_func_ret_failure () {
 
381
  return 1
 
382
}
 
383
 
 
384
exitcode=0
 
385
if as_func_success; then
 
386
  :
 
387
else
 
388
  exitcode=1
 
389
  echo as_func_success failed.
 
390
fi
 
391
 
 
392
if as_func_failure; then
 
393
  exitcode=1
 
394
  echo as_func_failure succeeded.
 
395
fi
 
396
 
 
397
if as_func_ret_success; then
 
398
  :
 
399
else
 
400
  exitcode=1
 
401
  echo as_func_ret_success failed.
 
402
fi
 
403
 
 
404
if as_func_ret_failure; then
 
405
  exitcode=1
 
406
  echo as_func_ret_failure succeeded.
 
407
fi
 
408
 
 
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
410
  :
 
411
else
 
412
  exitcode=1
 
413
  echo positional parameters were not saved.
 
414
fi
 
415
 
 
416
test \$exitcode = 0") || {
 
417
  echo No shell found that supports shell functions.
 
418
  echo Please tell autoconf@gnu.org about your system,
 
419
  echo including any error possibly output before this
 
420
  echo message
 
421
}
 
422
 
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO
 
426
  as_lineno_2=$LINENO
 
427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
428
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
429
 
158
430
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
431
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
432
  # line-number line after each line using $LINENO; the second 'sed'
 
433
  # does the real work.  The second script uses 'N' to pair each
 
434
  # line-number line with the line containing $LINENO, and appends
 
435
  # trailing '-' during substitution so that $LINENO is not a special
 
436
  # case at line end.
164
437
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
438
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
439
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
440
  sed -n '
 
441
    p
 
442
    /[$]LINENO/=
 
443
  ' <$as_myself |
167
444
    sed '
 
445
      s/[$]LINENO.*/&-/
 
446
      t lineno
 
447
      b
 
448
      :lineno
168
449
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
450
      :loop
 
451
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
452
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
453
      s/-\n.*//
175
454
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
455
  chmod +x "$as_me.lineno" ||
177
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
457
   { (exit 1); exit 1; }; }
179
458
 
180
459
  # Don't try to exec as it changes $[0], causing all sort of problems
181
460
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
461
  # original and so on.  Autoconf is especially sensitive to this).
 
462
  . "./$as_me.lineno"
184
463
  # Exit status is that of the last command.
185
464
  exit
186
465
}
187
466
 
188
467
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
469
  as_dirname=dirname
 
470
else
 
471
  as_dirname=false
 
472
fi
 
473
 
 
474
ECHO_C= ECHO_N= ECHO_T=
 
475
case `echo -n x` in
 
476
-n*)
 
477
  case `echo 'x\c'` in
 
478
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
479
  *)   ECHO_C='\c';;
 
480
  esac;;
 
481
*)
 
482
  ECHO_N='-n';;
194
483
esac
195
484
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
487
  as_expr=expr
198
488
else
199
489
  as_expr=false
200
490
fi
201
491
 
202
492
rm -f conf$$ conf$$.exe conf$$.file
 
493
if test -d conf$$.dir; then
 
494
  rm -f conf$$.dir/conf$$.file
 
495
else
 
496
  rm -f conf$$.dir
 
497
  mkdir conf$$.dir
 
498
fi
203
499
echo >conf$$.file
204
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
501
  as_ln_s='ln -s'
 
502
  # ... but there are two gotchas:
 
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
505
  # In both cases, we have to default to `cp -p'.
 
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
507
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
508
elif ln conf$$.file conf$$ 2>/dev/null; then
214
509
  as_ln_s=ln
215
510
else
216
511
  as_ln_s='cp -p'
217
512
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
514
rmdir conf$$.dir 2>/dev/null
219
515
 
220
516
if mkdir -p . 2>/dev/null; then
221
517
  as_mkdir_p=:
224
520
  as_mkdir_p=false
225
521
fi
226
522
 
227
 
as_executable_p="test -f"
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
 
525
else
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
 
543
fi
 
544
as_executable_p=$as_test_x
228
545
 
229
546
# Sed expression to map a string onto a valid CPP name.
230
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
551
 
235
552
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
245
553
 
246
554
 
247
555
# Check that we are running under the correct shell.
397
705
 
398
706
tagnames=${tagnames+${tagnames},}F77
399
707
 
 
708
exec 7<&0 </dev/null 6>&1
 
709
 
400
710
# Name of the host.
401
711
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402
712
# so uname gets run too.
403
713
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404
714
 
405
 
exec 6>&1
406
 
 
407
715
#
408
716
# Initializations.
409
717
#
410
718
ac_default_prefix=/usr/local
 
719
ac_clean_files=
411
720
ac_config_libobj_dir=.
 
721
LIBOBJS=
412
722
cross_compiling=no
413
723
subdirs=
414
724
MFLAGS=
415
725
MAKEFLAGS=
416
726
SHELL=${CONFIG_SHELL-/bin/sh}
417
727
 
418
 
# Maximum number of lines to put in a shell here document.
419
 
# This variable seems obsolete.  It should probably be removed, and
420
 
# only ac_max_sed_lines should be used.
421
 
: ${ac_max_here_lines=38}
422
 
 
423
728
# Identity of this package.
424
729
PACKAGE_NAME='vino'
425
730
PACKAGE_TARNAME='vino'
426
 
PACKAGE_VERSION='2.16.0'
427
 
PACKAGE_STRING='vino 2.16.0'
 
731
PACKAGE_VERSION='2.22.2'
 
732
PACKAGE_STRING='vino 2.22.2'
428
733
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=vino'
429
734
 
430
735
ac_unique_file="server/vino-fb.c"
431
736
# Factoring default headers for most tests.
432
737
ac_includes_default="\
433
738
#include <stdio.h>
434
 
#if HAVE_SYS_TYPES_H
 
739
#ifdef HAVE_SYS_TYPES_H
435
740
# include <sys/types.h>
436
741
#endif
437
 
#if HAVE_SYS_STAT_H
 
742
#ifdef HAVE_SYS_STAT_H
438
743
# include <sys/stat.h>
439
744
#endif
440
 
#if STDC_HEADERS
 
745
#ifdef STDC_HEADERS
441
746
# include <stdlib.h>
442
747
# include <stddef.h>
443
748
#else
444
 
# if HAVE_STDLIB_H
 
749
# ifdef HAVE_STDLIB_H
445
750
#  include <stdlib.h>
446
751
# endif
447
752
#endif
448
 
#if HAVE_STRING_H
449
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
753
#ifdef HAVE_STRING_H
 
754
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
450
755
#  include <memory.h>
451
756
# endif
452
757
# include <string.h>
453
758
#endif
454
 
#if HAVE_STRINGS_H
 
759
#ifdef HAVE_STRINGS_H
455
760
# include <strings.h>
456
761
#endif
457
 
#if HAVE_INTTYPES_H
 
762
#ifdef HAVE_INTTYPES_H
458
763
# include <inttypes.h>
459
 
#else
460
 
# if HAVE_STDINT_H
461
 
#  include <stdint.h>
462
 
# endif
463
 
#endif
464
 
#if HAVE_UNISTD_H
 
764
#endif
 
765
#ifdef HAVE_STDINT_H
 
766
# include <stdint.h>
 
767
#endif
 
768
#ifdef HAVE_UNISTD_H
465
769
# include <unistd.h>
466
770
#endif"
467
771
 
468
 
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 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT ACLOCAL_AMFLAGS GETTEXT_PACKAGE 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 EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os SED LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_SERVICE_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT ALL_LINGUAS GCONFTOOL GLIB_GENMARSHAL USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS WARN_CFLAGS DISABLE_DEPRECATED_CFLAGS PKG_CONFIG ac_pt_PKG_CONFIG VINO_SERVER_CFLAGS VINO_SERVER_LIBS VINO_CAPPLET_CFLAGS VINO_CAPPLET_LIBS VINO_SESSION_CFLAGS VINO_SESSION_LIBS SESSION_SUPPORT_TRUE SESSION_SUPPORT_FALSE VINO_HTTP_CFLAGS HTTP_SERVER_TRUE HTTP_SERVER_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS ORBIT_IDL BONOBO_IDLDIR LIBGNUTLS_CONFIG LIBGNUTLS_CFLAGS LIBGNUTLS_LIBS LIBGCRYPT_CONFIG LIBGCRYPT_CFLAGS LIBGCRYPT_LIBS XDAMAGE_LIBS XSHM_LIBS XTEST_LIBS AVAHI_CFLAGS AVAHI_LIBS LIBZ LIBJPEG VINO_DEBUG_CFLAGS GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE PERL REBUILD LIBOBJS LTLIBOBJS'
 
772
ac_subst_vars='SHELL
 
773
PATH_SEPARATOR
 
774
PACKAGE_NAME
 
775
PACKAGE_TARNAME
 
776
PACKAGE_VERSION
 
777
PACKAGE_STRING
 
778
PACKAGE_BUGREPORT
 
779
exec_prefix
 
780
prefix
 
781
program_transform_name
 
782
bindir
 
783
sbindir
 
784
libexecdir
 
785
datarootdir
 
786
datadir
 
787
sysconfdir
 
788
sharedstatedir
 
789
localstatedir
 
790
includedir
 
791
oldincludedir
 
792
docdir
 
793
infodir
 
794
htmldir
 
795
dvidir
 
796
pdfdir
 
797
psdir
 
798
libdir
 
799
localedir
 
800
mandir
 
801
DEFS
 
802
ECHO_C
 
803
ECHO_N
 
804
ECHO_T
 
805
LIBS
 
806
build_alias
 
807
host_alias
 
808
target_alias
 
809
INSTALL_PROGRAM
 
810
INSTALL_SCRIPT
 
811
INSTALL_DATA
 
812
CYGPATH_W
 
813
PACKAGE
 
814
VERSION
 
815
ACLOCAL
 
816
AUTOCONF
 
817
AUTOMAKE
 
818
AUTOHEADER
 
819
MAKEINFO
 
820
install_sh
 
821
STRIP
 
822
INSTALL_STRIP_PROGRAM
 
823
mkdir_p
 
824
AWK
 
825
SET_MAKE
 
826
am__leading_dot
 
827
AMTAR
 
828
am__tar
 
829
am__untar
 
830
MAINTAINER_MODE_TRUE
 
831
MAINTAINER_MODE_FALSE
 
832
MAINT
 
833
ACLOCAL_AMFLAGS
 
834
GETTEXT_PACKAGE
 
835
CC
 
836
CFLAGS
 
837
LDFLAGS
 
838
CPPFLAGS
 
839
ac_ct_CC
 
840
EXEEXT
 
841
OBJEXT
 
842
DEPDIR
 
843
am__include
 
844
am__quote
 
845
AMDEP_TRUE
 
846
AMDEP_FALSE
 
847
AMDEPBACKSLASH
 
848
CCDEPMODE
 
849
am__fastdepCC_TRUE
 
850
am__fastdepCC_FALSE
 
851
CPP
 
852
GREP
 
853
EGREP
 
854
build
 
855
build_cpu
 
856
build_vendor
 
857
build_os
 
858
host
 
859
host_cpu
 
860
host_vendor
 
861
host_os
 
862
SED
 
863
LN_S
 
864
ECHO
 
865
AR
 
866
RANLIB
 
867
DSYMUTIL
 
868
NMEDIT
 
869
CXX
 
870
CXXFLAGS
 
871
ac_ct_CXX
 
872
CXXDEPMODE
 
873
am__fastdepCXX_TRUE
 
874
am__fastdepCXX_FALSE
 
875
CXXCPP
 
876
F77
 
877
FFLAGS
 
878
ac_ct_F77
 
879
LIBTOOL
 
880
INTLTOOL_DESKTOP_RULE
 
881
INTLTOOL_DIRECTORY_RULE
 
882
INTLTOOL_KEYS_RULE
 
883
INTLTOOL_PROP_RULE
 
884
INTLTOOL_OAF_RULE
 
885
INTLTOOL_PONG_RULE
 
886
INTLTOOL_SERVER_RULE
 
887
INTLTOOL_SHEET_RULE
 
888
INTLTOOL_SOUNDLIST_RULE
 
889
INTLTOOL_UI_RULE
 
890
INTLTOOL_XAM_RULE
 
891
INTLTOOL_KBD_RULE
 
892
INTLTOOL_XML_RULE
 
893
INTLTOOL_XML_NOMERGE_RULE
 
894
INTLTOOL_CAVES_RULE
 
895
INTLTOOL_SCHEMAS_RULE
 
896
INTLTOOL_THEME_RULE
 
897
INTLTOOL_SERVICE_RULE
 
898
INTLTOOL_POLICY_RULE
 
899
XGETTEXT
 
900
MSGMERGE
 
901
MSGFMT
 
902
INTLTOOL_EXTRACT
 
903
INTLTOOL_MERGE
 
904
INTLTOOL_UPDATE
 
905
INTLTOOL_PERL
 
906
ALL_LINGUAS
 
907
DATADIRNAME
 
908
GCONFTOOL
 
909
GLIB_GENMARSHAL
 
910
USE_NLS
 
911
MSGFMT_OPTS
 
912
GMSGFMT
 
913
CATALOGS
 
914
CATOBJEXT
 
915
GMOFILES
 
916
INSTOBJEXT
 
917
INTLLIBS
 
918
PO_IN_DATADIR_TRUE
 
919
PO_IN_DATADIR_FALSE
 
920
POFILES
 
921
POSUB
 
922
MKINSTALLDIRS
 
923
WARN_CFLAGS
 
924
DISABLE_DEPRECATED_CFLAGS
 
925
PKG_CONFIG
 
926
VINO_SERVER_CFLAGS
 
927
VINO_SERVER_LIBS
 
928
VINO_CAPPLET_CFLAGS
 
929
VINO_CAPPLET_LIBS
 
930
VINO_LIBNOTIFY_CFLAGS
 
931
VINO_LIBNOTIFY_LIBS
 
932
VINO_KEYRING_CFLAGS
 
933
VINO_KEYRING_LIBS
 
934
VINO_SESSION_CFLAGS
 
935
VINO_SESSION_LIBS
 
936
SESSION_SUPPORT_TRUE
 
937
SESSION_SUPPORT_FALSE
 
938
VINO_HTTP_CFLAGS
 
939
HTTP_SERVER_TRUE
 
940
HTTP_SERVER_FALSE
 
941
XMKMF
 
942
X_CFLAGS
 
943
X_PRE_LIBS
 
944
X_LIBS
 
945
X_EXTRA_LIBS
 
946
ORBIT_IDL
 
947
BONOBO_IDLDIR
 
948
LIBGNUTLS_CONFIG
 
949
LIBGNUTLS_CFLAGS
 
950
LIBGNUTLS_LIBS
 
951
LIBGCRYPT_CONFIG
 
952
LIBGCRYPT_CFLAGS
 
953
LIBGCRYPT_LIBS
 
954
XDAMAGE_LIBS
 
955
XSHM_LIBS
 
956
XTEST_LIBS
 
957
AVAHI_CFLAGS
 
958
AVAHI_LIBS
 
959
LIBZ
 
960
LIBJPEG
 
961
VINO_DEBUG_CFLAGS
 
962
GCONF_SCHEMA_CONFIG_SOURCE
 
963
GCONF_SCHEMA_FILE_DIR
 
964
GCONF_SCHEMAS_INSTALL_TRUE
 
965
GCONF_SCHEMAS_INSTALL_FALSE
 
966
PERL
 
967
REBUILD
 
968
LIBOBJS
 
969
LTLIBOBJS'
469
970
ac_subst_files=''
 
971
      ac_precious_vars='build_alias
 
972
host_alias
 
973
target_alias
 
974
CC
 
975
CFLAGS
 
976
LDFLAGS
 
977
LIBS
 
978
CPPFLAGS
 
979
CPP
 
980
CXX
 
981
CXXFLAGS
 
982
CCC
 
983
CXXCPP
 
984
F77
 
985
FFLAGS
 
986
PKG_CONFIG
 
987
VINO_SERVER_CFLAGS
 
988
VINO_SERVER_LIBS
 
989
VINO_CAPPLET_CFLAGS
 
990
VINO_CAPPLET_LIBS
 
991
VINO_LIBNOTIFY_CFLAGS
 
992
VINO_LIBNOTIFY_LIBS
 
993
VINO_KEYRING_CFLAGS
 
994
VINO_KEYRING_LIBS
 
995
VINO_SESSION_CFLAGS
 
996
VINO_SESSION_LIBS
 
997
XMKMF
 
998
AVAHI_CFLAGS
 
999
AVAHI_LIBS'
 
1000
 
470
1001
 
471
1002
# Initialize some variables set by options.
472
1003
ac_init_help=
493
1024
# and all the variables that are supposed to be based on exec_prefix
494
1025
# by default will actually change.
495
1026
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1027
# (The list follows the same order as the GNU Coding Standards.)
496
1028
bindir='${exec_prefix}/bin'
497
1029
sbindir='${exec_prefix}/sbin'
498
1030
libexecdir='${exec_prefix}/libexec'
499
 
datadir='${prefix}/share'
 
1031
datarootdir='${prefix}/share'
 
1032
datadir='${datarootdir}'
500
1033
sysconfdir='${prefix}/etc'
501
1034
sharedstatedir='${prefix}/com'
502
1035
localstatedir='${prefix}/var'
503
 
libdir='${exec_prefix}/lib'
504
1036
includedir='${prefix}/include'
505
1037
oldincludedir='/usr/include'
506
 
infodir='${prefix}/info'
507
 
mandir='${prefix}/man'
 
1038
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1039
infodir='${datarootdir}/info'
 
1040
htmldir='${docdir}'
 
1041
dvidir='${docdir}'
 
1042
pdfdir='${docdir}'
 
1043
psdir='${docdir}'
 
1044
libdir='${exec_prefix}/lib'
 
1045
localedir='${datarootdir}/locale'
 
1046
mandir='${datarootdir}/man'
508
1047
 
509
1048
ac_prev=
 
1049
ac_dashdash=
510
1050
for ac_option
511
1051
do
512
1052
  # If the previous option needs an argument, assign it.
513
1053
  if test -n "$ac_prev"; then
514
 
    eval "$ac_prev=\$ac_option"
 
1054
    eval $ac_prev=\$ac_option
515
1055
    ac_prev=
516
1056
    continue
517
1057
  fi
518
1058
 
519
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1059
  case $ac_option in
 
1060
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1061
  *)    ac_optarg=yes ;;
 
1062
  esac
520
1063
 
521
1064
  # Accept the important Cygnus configure options, so we can diagnose typos.
522
1065
 
523
 
  case $ac_option in
 
1066
  case $ac_dashdash$ac_option in
 
1067
  --)
 
1068
    ac_dashdash=yes ;;
524
1069
 
525
1070
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
526
1071
    ac_prev=bindir ;;
542
1087
  --config-cache | -C)
543
1088
    cache_file=config.cache ;;
544
1089
 
545
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1090
  -datadir | --datadir | --datadi | --datad)
546
1091
    ac_prev=datadir ;;
547
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548
 
  | --da=*)
 
1092
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
549
1093
    datadir=$ac_optarg ;;
550
1094
 
 
1095
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1096
  | --dataroo | --dataro | --datar)
 
1097
    ac_prev=datarootdir ;;
 
1098
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1099
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1100
    datarootdir=$ac_optarg ;;
 
1101
 
551
1102
  -disable-* | --disable-*)
552
1103
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553
1104
    # Reject names that are not valid shell variable names.
554
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1105
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
555
1106
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556
1107
   { (exit 1); exit 1; }; }
557
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
558
 
    eval "enable_$ac_feature=no" ;;
 
1108
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1109
    eval enable_$ac_feature=no ;;
 
1110
 
 
1111
  -docdir | --docdir | --docdi | --doc | --do)
 
1112
    ac_prev=docdir ;;
 
1113
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1114
    docdir=$ac_optarg ;;
 
1115
 
 
1116
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1117
    ac_prev=dvidir ;;
 
1118
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1119
    dvidir=$ac_optarg ;;
559
1120
 
560
1121
  -enable-* | --enable-*)
561
1122
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562
1123
    # Reject names that are not valid shell variable names.
563
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1124
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
564
1125
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565
1126
   { (exit 1); exit 1; }; }
566
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567
 
    case $ac_option in
568
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569
 
      *) ac_optarg=yes ;;
570
 
    esac
571
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1127
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1128
    eval enable_$ac_feature=\$ac_optarg ;;
572
1129
 
573
1130
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
574
1131
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
595
1152
  -host=* | --host=* | --hos=* | --ho=*)
596
1153
    host_alias=$ac_optarg ;;
597
1154
 
 
1155
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1156
    ac_prev=htmldir ;;
 
1157
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1158
  | --ht=*)
 
1159
    htmldir=$ac_optarg ;;
 
1160
 
598
1161
  -includedir | --includedir | --includedi | --included | --include \
599
1162
  | --includ | --inclu | --incl | --inc)
600
1163
    ac_prev=includedir ;;
619
1182
  | --libexe=* | --libex=* | --libe=*)
620
1183
    libexecdir=$ac_optarg ;;
621
1184
 
 
1185
  -localedir | --localedir | --localedi | --localed | --locale)
 
1186
    ac_prev=localedir ;;
 
1187
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1188
    localedir=$ac_optarg ;;
 
1189
 
622
1190
  -localstatedir | --localstatedir | --localstatedi | --localstated \
623
 
  | --localstate | --localstat | --localsta | --localst \
624
 
  | --locals | --local | --loca | --loc | --lo)
 
1191
  | --localstate | --localstat | --localsta | --localst | --locals)
625
1192
    ac_prev=localstatedir ;;
626
1193
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
627
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
628
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1194
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
629
1195
    localstatedir=$ac_optarg ;;
630
1196
 
631
1197
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
690
1256
  | --progr-tra=* | --program-tr=* | --program-t=*)
691
1257
    program_transform_name=$ac_optarg ;;
692
1258
 
 
1259
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1260
    ac_prev=pdfdir ;;
 
1261
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1262
    pdfdir=$ac_optarg ;;
 
1263
 
 
1264
  -psdir | --psdir | --psdi | --psd | --ps)
 
1265
    ac_prev=psdir ;;
 
1266
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1267
    psdir=$ac_optarg ;;
 
1268
 
693
1269
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
694
1270
  | -silent | --silent | --silen | --sile | --sil)
695
1271
    silent=yes ;;
742
1318
  -with-* | --with-*)
743
1319
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744
1320
    # Reject names that are not valid shell variable names.
745
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1321
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
746
1322
      { echo "$as_me: error: invalid package name: $ac_package" >&2
747
1323
   { (exit 1); exit 1; }; }
748
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
749
 
    case $ac_option in
750
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751
 
      *) ac_optarg=yes ;;
752
 
    esac
753
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1324
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1325
    eval with_$ac_package=\$ac_optarg ;;
754
1326
 
755
1327
  -without-* | --without-*)
756
1328
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757
1329
    # Reject names that are not valid shell variable names.
758
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1330
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
759
1331
      { echo "$as_me: error: invalid package name: $ac_package" >&2
760
1332
   { (exit 1); exit 1; }; }
761
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
762
 
    eval "with_$ac_package=no" ;;
 
1333
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1334
    eval with_$ac_package=no ;;
763
1335
 
764
1336
  --x)
765
1337
    # Obsolete; use --with-x.
790
1362
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
791
1363
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792
1364
   { (exit 1); exit 1; }; }
793
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794
 
    eval "$ac_envvar='$ac_optarg'"
 
1365
    eval $ac_envvar=\$ac_optarg
795
1366
    export $ac_envvar ;;
796
1367
 
797
1368
  *)
811
1382
   { (exit 1); exit 1; }; }
812
1383
fi
813
1384
 
814
 
# Be sure to have absolute paths.
815
 
for ac_var in exec_prefix prefix
816
 
do
817
 
  eval ac_val=$`echo $ac_var`
818
 
  case $ac_val in
819
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
820
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821
 
   { (exit 1); exit 1; }; };;
822
 
  esac
823
 
done
824
 
 
825
 
# Be sure to have absolute paths.
826
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827
 
              localstatedir libdir includedir oldincludedir infodir mandir
828
 
do
829
 
  eval ac_val=$`echo $ac_var`
830
 
  case $ac_val in
831
 
    [\\/$]* | ?:[\\/]* ) ;;
832
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833
 
   { (exit 1); exit 1; }; };;
834
 
  esac
 
1385
# Be sure to have absolute directory names.
 
1386
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1387
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1388
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1389
                libdir localedir mandir
 
1390
do
 
1391
  eval ac_val=\$$ac_var
 
1392
  case $ac_val in
 
1393
    [\\/$]* | ?:[\\/]* )  continue;;
 
1394
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1395
  esac
 
1396
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1397
   { (exit 1); exit 1; }; }
835
1398
done
836
1399
 
837
1400
# There might be people who depend on the old broken behavior: `$host'
858
1421
test "$silent" = yes && exec 6>/dev/null
859
1422
 
860
1423
 
 
1424
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1425
ac_ls_di=`ls -di .` &&
 
1426
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1427
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1428
   { (exit 1); exit 1; }; }
 
1429
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1430
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1431
   { (exit 1); exit 1; }; }
 
1432
 
 
1433
 
861
1434
# Find the source files, if location was not specified.
862
1435
if test -z "$srcdir"; then
863
1436
  ac_srcdir_defaulted=yes
864
 
  # Try the directory containing this script, then its parent.
865
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1437
  # Try the directory containing this script, then the parent directory.
 
1438
  ac_confdir=`$as_dirname -- "$0" ||
866
1439
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867
1440
         X"$0" : 'X\(//\)[^/]' \| \
868
1441
         X"$0" : 'X\(//\)$' \| \
869
 
         X"$0" : 'X\(/\)' \| \
870
 
         .     : '\(.\)' 2>/dev/null ||
 
1442
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
871
1443
echo X"$0" |
872
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874
 
          /^X\(\/\/\)$/{ s//\1/; q; }
875
 
          /^X\(\/\).*/{ s//\1/; q; }
876
 
          s/.*/./; q'`
 
1444
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1445
            s//\1/
 
1446
            q
 
1447
          }
 
1448
          /^X\(\/\/\)[^/].*/{
 
1449
            s//\1/
 
1450
            q
 
1451
          }
 
1452
          /^X\(\/\/\)$/{
 
1453
            s//\1/
 
1454
            q
 
1455
          }
 
1456
          /^X\(\/\).*/{
 
1457
            s//\1/
 
1458
            q
 
1459
          }
 
1460
          s/.*/./; q'`
877
1461
  srcdir=$ac_confdir
878
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1462
  if test ! -r "$srcdir/$ac_unique_file"; then
879
1463
    srcdir=..
880
1464
  fi
881
1465
else
882
1466
  ac_srcdir_defaulted=no
883
1467
fi
884
 
if test ! -r $srcdir/$ac_unique_file; then
885
 
  if test "$ac_srcdir_defaulted" = yes; then
886
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887
 
   { (exit 1); exit 1; }; }
888
 
  else
889
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890
 
   { (exit 1); exit 1; }; }
891
 
  fi
892
 
fi
893
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
894
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895
 
   { (exit 1); exit 1; }; }
896
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897
 
ac_env_build_alias_set=${build_alias+set}
898
 
ac_env_build_alias_value=$build_alias
899
 
ac_cv_env_build_alias_set=${build_alias+set}
900
 
ac_cv_env_build_alias_value=$build_alias
901
 
ac_env_host_alias_set=${host_alias+set}
902
 
ac_env_host_alias_value=$host_alias
903
 
ac_cv_env_host_alias_set=${host_alias+set}
904
 
ac_cv_env_host_alias_value=$host_alias
905
 
ac_env_target_alias_set=${target_alias+set}
906
 
ac_env_target_alias_value=$target_alias
907
 
ac_cv_env_target_alias_set=${target_alias+set}
908
 
ac_cv_env_target_alias_value=$target_alias
909
 
ac_env_CC_set=${CC+set}
910
 
ac_env_CC_value=$CC
911
 
ac_cv_env_CC_set=${CC+set}
912
 
ac_cv_env_CC_value=$CC
913
 
ac_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_env_CFLAGS_value=$CFLAGS
915
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
916
 
ac_cv_env_CFLAGS_value=$CFLAGS
917
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_env_LDFLAGS_value=$LDFLAGS
919
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
921
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
924
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
925
 
ac_env_CPP_set=${CPP+set}
926
 
ac_env_CPP_value=$CPP
927
 
ac_cv_env_CPP_set=${CPP+set}
928
 
ac_cv_env_CPP_value=$CPP
929
 
ac_env_CXX_set=${CXX+set}
930
 
ac_env_CXX_value=$CXX
931
 
ac_cv_env_CXX_set=${CXX+set}
932
 
ac_cv_env_CXX_value=$CXX
933
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
934
 
ac_env_CXXFLAGS_value=$CXXFLAGS
935
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
936
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
937
 
ac_env_CXXCPP_set=${CXXCPP+set}
938
 
ac_env_CXXCPP_value=$CXXCPP
939
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
940
 
ac_cv_env_CXXCPP_value=$CXXCPP
941
 
ac_env_F77_set=${F77+set}
942
 
ac_env_F77_value=$F77
943
 
ac_cv_env_F77_set=${F77+set}
944
 
ac_cv_env_F77_value=$F77
945
 
ac_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_env_FFLAGS_value=$FFLAGS
947
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
948
 
ac_cv_env_FFLAGS_value=$FFLAGS
949
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
950
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
951
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
952
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
953
 
ac_env_VINO_SERVER_CFLAGS_set=${VINO_SERVER_CFLAGS+set}
954
 
ac_env_VINO_SERVER_CFLAGS_value=$VINO_SERVER_CFLAGS
955
 
ac_cv_env_VINO_SERVER_CFLAGS_set=${VINO_SERVER_CFLAGS+set}
956
 
ac_cv_env_VINO_SERVER_CFLAGS_value=$VINO_SERVER_CFLAGS
957
 
ac_env_VINO_SERVER_LIBS_set=${VINO_SERVER_LIBS+set}
958
 
ac_env_VINO_SERVER_LIBS_value=$VINO_SERVER_LIBS
959
 
ac_cv_env_VINO_SERVER_LIBS_set=${VINO_SERVER_LIBS+set}
960
 
ac_cv_env_VINO_SERVER_LIBS_value=$VINO_SERVER_LIBS
961
 
ac_env_VINO_CAPPLET_CFLAGS_set=${VINO_CAPPLET_CFLAGS+set}
962
 
ac_env_VINO_CAPPLET_CFLAGS_value=$VINO_CAPPLET_CFLAGS
963
 
ac_cv_env_VINO_CAPPLET_CFLAGS_set=${VINO_CAPPLET_CFLAGS+set}
964
 
ac_cv_env_VINO_CAPPLET_CFLAGS_value=$VINO_CAPPLET_CFLAGS
965
 
ac_env_VINO_CAPPLET_LIBS_set=${VINO_CAPPLET_LIBS+set}
966
 
ac_env_VINO_CAPPLET_LIBS_value=$VINO_CAPPLET_LIBS
967
 
ac_cv_env_VINO_CAPPLET_LIBS_set=${VINO_CAPPLET_LIBS+set}
968
 
ac_cv_env_VINO_CAPPLET_LIBS_value=$VINO_CAPPLET_LIBS
969
 
ac_env_VINO_SESSION_CFLAGS_set=${VINO_SESSION_CFLAGS+set}
970
 
ac_env_VINO_SESSION_CFLAGS_value=$VINO_SESSION_CFLAGS
971
 
ac_cv_env_VINO_SESSION_CFLAGS_set=${VINO_SESSION_CFLAGS+set}
972
 
ac_cv_env_VINO_SESSION_CFLAGS_value=$VINO_SESSION_CFLAGS
973
 
ac_env_VINO_SESSION_LIBS_set=${VINO_SESSION_LIBS+set}
974
 
ac_env_VINO_SESSION_LIBS_value=$VINO_SESSION_LIBS
975
 
ac_cv_env_VINO_SESSION_LIBS_set=${VINO_SESSION_LIBS+set}
976
 
ac_cv_env_VINO_SESSION_LIBS_value=$VINO_SESSION_LIBS
977
 
ac_env_AVAHI_CFLAGS_set=${AVAHI_CFLAGS+set}
978
 
ac_env_AVAHI_CFLAGS_value=$AVAHI_CFLAGS
979
 
ac_cv_env_AVAHI_CFLAGS_set=${AVAHI_CFLAGS+set}
980
 
ac_cv_env_AVAHI_CFLAGS_value=$AVAHI_CFLAGS
981
 
ac_env_AVAHI_LIBS_set=${AVAHI_LIBS+set}
982
 
ac_env_AVAHI_LIBS_value=$AVAHI_LIBS
983
 
ac_cv_env_AVAHI_LIBS_set=${AVAHI_LIBS+set}
984
 
ac_cv_env_AVAHI_LIBS_value=$AVAHI_LIBS
 
1468
if test ! -r "$srcdir/$ac_unique_file"; then
 
1469
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1470
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1471
   { (exit 1); exit 1; }; }
 
1472
fi
 
1473
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1474
ac_abs_confdir=`(
 
1475
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1476
   { (exit 1); exit 1; }; }
 
1477
        pwd)`
 
1478
# When building in place, set srcdir=.
 
1479
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1480
  srcdir=.
 
1481
fi
 
1482
# Remove unnecessary trailing slashes from srcdir.
 
1483
# Double slashes in file names in object file debugging info
 
1484
# mess up M-x gdb in Emacs.
 
1485
case $srcdir in
 
1486
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1487
esac
 
1488
for ac_var in $ac_precious_vars; do
 
1489
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1490
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1491
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1492
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1493
done
985
1494
 
986
1495
#
987
1496
# Report the --help message.
990
1499
  # Omit some internal or obsolete options to make the list less imposing.
991
1500
  # This message is too long to be a string in the A/UX 3.1 sh.
992
1501
  cat <<_ACEOF
993
 
\`configure' configures vino 2.16.0 to adapt to many kinds of systems.
 
1502
\`configure' configures vino 2.22.2 to adapt to many kinds of systems.
994
1503
 
995
1504
Usage: $0 [OPTION]... [VAR=VALUE]...
996
1505
 
1010
1519
  -n, --no-create         do not create output files
1011
1520
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1012
1521
 
1013
 
_ACEOF
1014
 
 
1015
 
  cat <<_ACEOF
1016
1522
Installation directories:
1017
1523
  --prefix=PREFIX         install architecture-independent files in PREFIX
1018
1524
                          [$ac_default_prefix]
1030
1536
  --bindir=DIR           user executables [EPREFIX/bin]
1031
1537
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1032
1538
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1033
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1034
1539
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1035
1540
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1036
1541
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1037
1542
  --libdir=DIR           object code libraries [EPREFIX/lib]
1038
1543
  --includedir=DIR       C header files [PREFIX/include]
1039
1544
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1040
 
  --infodir=DIR          info documentation [PREFIX/info]
1041
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1545
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1546
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1547
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1548
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1549
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1550
  --docdir=DIR           documentation root [DATAROOTDIR/doc/vino]
 
1551
  --htmldir=DIR          html documentation [DOCDIR]
 
1552
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1553
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1554
  --psdir=DIR            ps documentation [DOCDIR]
1042
1555
_ACEOF
1043
1556
 
1044
1557
  cat <<\_ACEOF
1060
1573
 
1061
1574
if test -n "$ac_init_help"; then
1062
1575
  case $ac_init_help in
1063
 
     short | recursive ) echo "Configuration of vino 2.16.0:";;
 
1576
     short | recursive ) echo "Configuration of vino 2.22.2:";;
1064
1577
   esac
1065
1578
  cat <<\_ACEOF
1066
1579
 
1071
1584
                          (and sometimes confusing) to the casual installer
1072
1585
  --disable-dependency-tracking  speeds up one-time build
1073
1586
  --enable-dependency-tracking   do not reject slow dependency extractors
1074
 
  --enable-shared[=PKGS]
1075
 
                          build shared libraries [default=yes]
1076
 
  --enable-static[=PKGS]
1077
 
                          build static libraries [default=yes]
 
1587
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1588
  --enable-static[=PKGS]  build static libraries [default=yes]
1078
1589
  --enable-fast-install[=PKGS]
1079
1590
                          optimize for fast installation [default=yes]
1080
1591
  --disable-libtool-lock  avoid locking (might break parallel builds)
1082
1593
                          Turn on compiler warnings
1083
1594
  --enable-iso-c          Try to warn if code is not ISO C
1084
1595
  --disable-deprecations  don't warn about deprecated usages [default=no]
 
1596
  --enable-libnotify      use libnotify to display a notification bubble
 
1597
                          default=auto
 
1598
  --enable-gnome-keyring  use gnome keyring for storing password default=no
1085
1599
  --enable-session-support=no/yes build session management utility program default=no
1086
1600
  --enable-http-server=no/yes enable an HTTP server for serving a Java applet client default=no
1087
1601
  --disable-gnutls=no/yes don't build VNC over SSL support default=no
1088
1602
  --disable-gcrypt=no/yes don't use libgcrypt for random number generation default=no
1089
1603
  --enable-avahi          Enable use of avahi
 
1604
  --enable-ipv6           Enable ipv6 support default=yes
1090
1605
  --enable-debug=no/yes turn on debugging default=no
1091
1606
  --disable-schemas-install     Disable the schemas installation
1092
1607
  --disable-rebuilds      disable all source autogeneration rules
1097
1612
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1098
1613
  --with-pic              try to use only PIC/non-PIC objects [default=use
1099
1614
                          both]
1100
 
  --with-tags[=TAGS]
1101
 
                          include additional configurations [automatic]
 
1615
  --with-tags[=TAGS]      include additional configurations [automatic]
1102
1616
  --with-x                use the X Window System
1103
1617
  --with-libgnutls-prefix=PFX   Prefix where libgnutls is installed (optional)
1104
1618
  --with-libgcrypt-prefix=PFX
1114
1628
  CFLAGS      C compiler flags
1115
1629
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1116
1630
              nonstandard directory <lib dir>
1117
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1118
 
              headers in a nonstandard directory <include dir>
 
1631
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1632
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1633
              you have headers in a nonstandard directory <include dir>
1119
1634
  CPP         C preprocessor
1120
1635
  CXX         C++ compiler command
1121
1636
  CXXFLAGS    C++ compiler flags
1131
1646
              C compiler flags for VINO_CAPPLET, overriding pkg-config
1132
1647
  VINO_CAPPLET_LIBS
1133
1648
              linker flags for VINO_CAPPLET, overriding pkg-config
 
1649
  VINO_LIBNOTIFY_CFLAGS
 
1650
              C compiler flags for VINO_LIBNOTIFY, overriding pkg-config
 
1651
  VINO_LIBNOTIFY_LIBS
 
1652
              linker flags for VINO_LIBNOTIFY, overriding pkg-config
 
1653
  VINO_KEYRING_CFLAGS
 
1654
              C compiler flags for VINO_KEYRING, overriding pkg-config
 
1655
  VINO_KEYRING_LIBS
 
1656
              linker flags for VINO_KEYRING, overriding pkg-config
1134
1657
  VINO_SESSION_CFLAGS
1135
1658
              C compiler flags for VINO_SESSION, overriding pkg-config
1136
1659
  VINO_SESSION_LIBS
1137
1660
              linker flags for VINO_SESSION, overriding pkg-config
 
1661
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1138
1662
  AVAHI_CFLAGS
1139
1663
              C compiler flags for AVAHI, overriding pkg-config
1140
1664
  AVAHI_LIBS  linker flags for AVAHI, overriding pkg-config
1144
1668
 
1145
1669
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=vino>.
1146
1670
_ACEOF
 
1671
ac_status=$?
1147
1672
fi
1148
1673
 
1149
1674
if test "$ac_init_help" = "recursive"; then
1150
1675
  # If there are subdirs, report their specific --help.
1151
 
  ac_popdir=`pwd`
1152
1676
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1153
 
    test -d $ac_dir || continue
 
1677
    test -d "$ac_dir" || continue
1154
1678
    ac_builddir=.
1155
1679
 
1156
 
if test "$ac_dir" != .; then
 
1680
case "$ac_dir" in
 
1681
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1682
*)
1157
1683
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1158
 
  # A "../" for each directory in $ac_dir_suffix.
1159
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1160
 
else
1161
 
  ac_dir_suffix= ac_top_builddir=
1162
 
fi
 
1684
  # A ".." for each directory in $ac_dir_suffix.
 
1685
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1686
  case $ac_top_builddir_sub in
 
1687
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1688
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1689
  esac ;;
 
1690
esac
 
1691
ac_abs_top_builddir=$ac_pwd
 
1692
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1693
# for backward compatibility:
 
1694
ac_top_builddir=$ac_top_build_prefix
1163
1695
 
1164
1696
case $srcdir in
1165
 
  .)  # No --srcdir option.  We are building in place.
 
1697
  .)  # We are building in place.
1166
1698
    ac_srcdir=.
1167
 
    if test -z "$ac_top_builddir"; then
1168
 
       ac_top_srcdir=.
1169
 
    else
1170
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1171
 
    fi ;;
1172
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1699
    ac_top_srcdir=$ac_top_builddir_sub
 
1700
    ac_abs_top_srcdir=$ac_pwd ;;
 
1701
  [\\/]* | ?:[\\/]* )  # Absolute name.
1173
1702
    ac_srcdir=$srcdir$ac_dir_suffix;
1174
 
    ac_top_srcdir=$srcdir ;;
1175
 
  *) # Relative path.
1176
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1177
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1178
 
esac
1179
 
 
1180
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1181
 
# the directories may not exist.
1182
 
case `pwd` in
1183
 
.) ac_abs_builddir="$ac_dir";;
1184
 
*)
1185
 
  case "$ac_dir" in
1186
 
  .) ac_abs_builddir=`pwd`;;
1187
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1188
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1189
 
  esac;;
1190
 
esac
1191
 
case $ac_abs_builddir in
1192
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1193
 
*)
1194
 
  case ${ac_top_builddir}. in
1195
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1196
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1197
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1198
 
  esac;;
1199
 
esac
1200
 
case $ac_abs_builddir in
1201
 
.) ac_abs_srcdir=$ac_srcdir;;
1202
 
*)
1203
 
  case $ac_srcdir in
1204
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1205
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1206
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1207
 
  esac;;
1208
 
esac
1209
 
case $ac_abs_builddir in
1210
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1211
 
*)
1212
 
  case $ac_top_srcdir in
1213
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1214
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1215
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1216
 
  esac;;
1217
 
esac
1218
 
 
1219
 
    cd $ac_dir
1220
 
    # Check for guested configure; otherwise get Cygnus style configure.
1221
 
    if test -f $ac_srcdir/configure.gnu; then
1222
 
      echo
1223
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1224
 
    elif test -f $ac_srcdir/configure; then
1225
 
      echo
1226
 
      $SHELL $ac_srcdir/configure  --help=recursive
1227
 
    elif test -f $ac_srcdir/configure.ac ||
1228
 
           test -f $ac_srcdir/configure.in; then
1229
 
      echo
1230
 
      $ac_configure --help
 
1703
    ac_top_srcdir=$srcdir
 
1704
    ac_abs_top_srcdir=$srcdir ;;
 
1705
  *) # Relative name.
 
1706
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1707
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1708
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1709
esac
 
1710
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1711
 
 
1712
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1713
    # Check for guested configure.
 
1714
    if test -f "$ac_srcdir/configure.gnu"; then
 
1715
      echo &&
 
1716
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1717
    elif test -f "$ac_srcdir/configure"; then
 
1718
      echo &&
 
1719
      $SHELL "$ac_srcdir/configure" --help=recursive
1231
1720
    else
1232
1721
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1233
 
    fi
1234
 
    cd $ac_popdir
 
1722
    fi || ac_status=$?
 
1723
    cd "$ac_pwd" || { ac_status=$?; break; }
1235
1724
  done
1236
1725
fi
1237
1726
 
1238
 
test -n "$ac_init_help" && exit 0
 
1727
test -n "$ac_init_help" && exit $ac_status
1239
1728
if $ac_init_version; then
1240
1729
  cat <<\_ACEOF
1241
 
vino configure 2.16.0
1242
 
generated by GNU Autoconf 2.59
 
1730
vino configure 2.22.2
 
1731
generated by GNU Autoconf 2.61
1243
1732
 
1244
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1733
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1734
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1245
1735
This configure script is free software; the Free Software Foundation
1246
1736
gives unlimited permission to copy, distribute and modify it.
1247
1737
_ACEOF
1248
 
  exit 0
 
1738
  exit
1249
1739
fi
1250
 
exec 5>config.log
1251
 
cat >&5 <<_ACEOF
 
1740
cat >config.log <<_ACEOF
1252
1741
This file contains any messages produced by compilers while
1253
1742
running configure, to aid debugging if configure makes a mistake.
1254
1743
 
1255
 
It was created by vino $as_me 2.16.0, which was
1256
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1744
It was created by vino $as_me 2.22.2, which was
 
1745
generated by GNU Autoconf 2.61.  Invocation command line was
1257
1746
 
1258
1747
  $ $0 $@
1259
1748
 
1260
1749
_ACEOF
 
1750
exec 5>>config.log
1261
1751
{
1262
1752
cat <<_ASUNAME
1263
1753
## --------- ##
1276
1766
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1277
1767
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1278
1768
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1279
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1769
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1280
1770
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1281
1771
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1282
1772
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1290
1780
  test -z "$as_dir" && as_dir=.
1291
1781
  echo "PATH: $as_dir"
1292
1782
done
 
1783
IFS=$as_save_IFS
1293
1784
 
1294
1785
} >&5
1295
1786
 
1311
1802
ac_configure_args=
1312
1803
ac_configure_args0=
1313
1804
ac_configure_args1=
1314
 
ac_sep=
1315
1805
ac_must_keep_next=false
1316
1806
for ac_pass in 1 2
1317
1807
do
1322
1812
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323
1813
    | -silent | --silent | --silen | --sile | --sil)
1324
1814
      continue ;;
1325
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1815
    *\'*)
1326
1816
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1327
1817
    esac
1328
1818
    case $ac_pass in
1344
1834
          -* ) ac_must_keep_next=true ;;
1345
1835
        esac
1346
1836
      fi
1347
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1348
 
      # Get rid of the leading space.
1349
 
      ac_sep=" "
 
1837
      ac_configure_args="$ac_configure_args '$ac_arg'"
1350
1838
      ;;
1351
1839
    esac
1352
1840
  done
1357
1845
# When interrupted or exit'd, cleanup temporary files, and complete
1358
1846
# config.log.  We remove comments because anyway the quotes in there
1359
1847
# would cause problems or look ugly.
1360
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1361
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1848
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1849
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1362
1850
trap 'exit_status=$?
1363
1851
  # Save into config.log some information that might help in debugging.
1364
1852
  {
1371
1859
_ASBOX
1372
1860
    echo
1373
1861
    # The following way of writing the cache mishandles newlines in values,
1374
 
{
 
1862
(
 
1863
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1864
    eval ac_val=\$$ac_var
 
1865
    case $ac_val in #(
 
1866
    *${as_nl}*)
 
1867
      case $ac_var in #(
 
1868
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1869
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1870
      esac
 
1871
      case $ac_var in #(
 
1872
      _ | IFS | as_nl) ;; #(
 
1873
      *) $as_unset $ac_var ;;
 
1874
      esac ;;
 
1875
    esac
 
1876
  done
1375
1877
  (set) 2>&1 |
1376
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1377
 
    *ac_space=\ *)
 
1878
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1879
    *${as_nl}ac_space=\ *)
1378
1880
      sed -n \
1379
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1380
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1381
 
      ;;
 
1881
        "s/'\''/'\''\\\\'\'''\''/g;
 
1882
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1883
      ;; #(
1382
1884
    *)
1383
 
      sed -n \
1384
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1885
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1385
1886
      ;;
1386
 
    esac;
1387
 
}
 
1887
    esac |
 
1888
    sort
 
1889
)
1388
1890
    echo
1389
1891
 
1390
1892
    cat <<\_ASBOX
1395
1897
    echo
1396
1898
    for ac_var in $ac_subst_vars
1397
1899
    do
1398
 
      eval ac_val=$`echo $ac_var`
1399
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1900
      eval ac_val=\$$ac_var
 
1901
      case $ac_val in
 
1902
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1903
      esac
 
1904
      echo "$ac_var='\''$ac_val'\''"
1400
1905
    done | sort
1401
1906
    echo
1402
1907
 
1403
1908
    if test -n "$ac_subst_files"; then
1404
1909
      cat <<\_ASBOX
1405
 
## ------------- ##
1406
 
## Output files. ##
1407
 
## ------------- ##
 
1910
## ------------------- ##
 
1911
## File substitutions. ##
 
1912
## ------------------- ##
1408
1913
_ASBOX
1409
1914
      echo
1410
1915
      for ac_var in $ac_subst_files
1411
1916
      do
1412
 
        eval ac_val=$`echo $ac_var`
1413
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1917
        eval ac_val=\$$ac_var
 
1918
        case $ac_val in
 
1919
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1920
        esac
 
1921
        echo "$ac_var='\''$ac_val'\''"
1414
1922
      done | sort
1415
1923
      echo
1416
1924
    fi
1422
1930
## ----------- ##
1423
1931
_ASBOX
1424
1932
      echo
1425
 
      sed "/^$/d" confdefs.h | sort
 
1933
      cat confdefs.h
1426
1934
      echo
1427
1935
    fi
1428
1936
    test "$ac_signal" != 0 &&
1429
1937
      echo "$as_me: caught signal $ac_signal"
1430
1938
    echo "$as_me: exit $exit_status"
1431
1939
  } >&5
1432
 
  rm -f core *.core &&
1433
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1940
  rm -f core *.core core.conftest.* &&
 
1941
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1434
1942
    exit $exit_status
1435
 
     ' 0
 
1943
' 0
1436
1944
for ac_signal in 1 2 13 15; do
1437
1945
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1438
1946
done
1439
1947
ac_signal=0
1440
1948
 
1441
1949
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1442
 
rm -rf conftest* confdefs.h
1443
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1444
 
echo >confdefs.h
 
1950
rm -f -r conftest* confdefs.h
1445
1951
 
1446
1952
# Predefined preprocessor variables.
1447
1953
 
1472
1978
 
1473
1979
# Let the site file select an alternate cache file if it wants to.
1474
1980
# Prefer explicitly selected file to automatically selected ones.
1475
 
if test -z "$CONFIG_SITE"; then
1476
 
  if test "x$prefix" != xNONE; then
1477
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1478
 
  else
1479
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1480
 
  fi
 
1981
if test -n "$CONFIG_SITE"; then
 
1982
  set x "$CONFIG_SITE"
 
1983
elif test "x$prefix" != xNONE; then
 
1984
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1985
else
 
1986
  set x "$ac_default_prefix/share/config.site" \
 
1987
        "$ac_default_prefix/etc/config.site"
1481
1988
fi
1482
 
for ac_site_file in $CONFIG_SITE; do
 
1989
shift
 
1990
for ac_site_file
 
1991
do
1483
1992
  if test -r "$ac_site_file"; then
1484
1993
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1485
1994
echo "$as_me: loading site script $ac_site_file" >&6;}
1495
2004
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1496
2005
echo "$as_me: loading cache $cache_file" >&6;}
1497
2006
    case $cache_file in
1498
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1499
 
      *)                      . ./$cache_file;;
 
2007
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2008
      *)                      . "./$cache_file";;
1500
2009
    esac
1501
2010
  fi
1502
2011
else
1508
2017
# Check that the precious variables saved in the cache have kept the same
1509
2018
# value.
1510
2019
ac_cache_corrupted=false
1511
 
for ac_var in `(set) 2>&1 |
1512
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2020
for ac_var in $ac_precious_vars; do
1513
2021
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1514
2022
  eval ac_new_set=\$ac_env_${ac_var}_set
1515
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1516
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2023
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2024
  eval ac_new_val=\$ac_env_${ac_var}_value
1517
2025
  case $ac_old_set,$ac_new_set in
1518
2026
    set,)
1519
2027
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1538
2046
  # Pass precious variables to config.status.
1539
2047
  if test "$ac_new_set" = set; then
1540
2048
    case $ac_new_val in
1541
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1542
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2049
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1543
2050
    *) ac_arg=$ac_var=$ac_new_val ;;
1544
2051
    esac
1545
2052
    case " $ac_configure_args " in
1556
2063
   { (exit 1); exit 1; }; }
1557
2064
fi
1558
2065
 
 
2066
 
 
2067
 
 
2068
 
 
2069
 
 
2070
 
 
2071
 
 
2072
 
 
2073
 
 
2074
 
 
2075
 
 
2076
 
 
2077
 
 
2078
 
 
2079
 
 
2080
 
 
2081
 
 
2082
 
 
2083
 
 
2084
 
 
2085
 
 
2086
 
 
2087
 
 
2088
 
 
2089
 
1559
2090
ac_ext=c
1560
2091
ac_cpp='$CPP $CPPFLAGS'
1561
2092
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1565
2096
 
1566
2097
 
1567
2098
 
1568
 
 
1569
 
 
1570
 
 
1571
 
 
1572
 
 
1573
 
 
1574
 
 
1575
 
 
1576
 
 
1577
 
 
1578
 
 
1579
 
 
1580
 
 
1581
 
 
1582
 
 
1583
 
 
1584
 
 
1585
 
 
1586
 
 
1587
 
 
1588
 
 
1589
 
 
1590
 
 
1591
 
 
1592
 
 
1593
2099
am__api_version="1.9"
1594
2100
ac_aux_dir=
1595
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1596
 
  if test -f $ac_dir/install-sh; then
 
2101
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2102
  if test -f "$ac_dir/install-sh"; then
1597
2103
    ac_aux_dir=$ac_dir
1598
2104
    ac_install_sh="$ac_aux_dir/install-sh -c"
1599
2105
    break
1600
 
  elif test -f $ac_dir/install.sh; then
 
2106
  elif test -f "$ac_dir/install.sh"; then
1601
2107
    ac_aux_dir=$ac_dir
1602
2108
    ac_install_sh="$ac_aux_dir/install.sh -c"
1603
2109
    break
1604
 
  elif test -f $ac_dir/shtool; then
 
2110
  elif test -f "$ac_dir/shtool"; then
1605
2111
    ac_aux_dir=$ac_dir
1606
2112
    ac_install_sh="$ac_aux_dir/shtool install -c"
1607
2113
    break
1608
2114
  fi
1609
2115
done
1610
2116
if test -z "$ac_aux_dir"; then
1611
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1612
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2117
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2118
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1613
2119
   { (exit 1); exit 1; }; }
1614
2120
fi
1615
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1616
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1617
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2121
 
 
2122
# These three variables are undocumented and unsupported,
 
2123
# and are intended to be withdrawn in a future Autoconf release.
 
2124
# They can cause serious problems if a builder's source tree is in a directory
 
2125
# whose full name contains unusual characters.
 
2126
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2127
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2128
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2129
 
1618
2130
 
1619
2131
# Find a good install program.  We prefer a C program (faster),
1620
2132
# so one script is as good as another.  But avoid the broken or
1629
2141
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1630
2142
# OS/2's system install, which has a completely different semantic
1631
2143
# ./install, which can be erroneously created by make from ./install.sh.
1632
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1633
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2144
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2145
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1634
2146
if test -z "$INSTALL"; then
1635
2147
if test "${ac_cv_path_install+set}" = set; then
1636
2148
  echo $ECHO_N "(cached) $ECHO_C" >&6
1652
2164
    # by default.
1653
2165
    for ac_prog in ginstall scoinst install; do
1654
2166
      for ac_exec_ext in '' $ac_executable_extensions; do
1655
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2167
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1656
2168
          if test $ac_prog = install &&
1657
2169
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1658
2170
            # AIX install.  It has an incompatible calling convention.
1671
2183
    ;;
1672
2184
esac
1673
2185
done
 
2186
IFS=$as_save_IFS
1674
2187
 
1675
2188
 
1676
2189
fi
1677
2190
  if test "${ac_cv_path_install+set}" = set; then
1678
2191
    INSTALL=$ac_cv_path_install
1679
2192
  else
1680
 
    # As a last resort, use the slow shell script.  We don't cache a
1681
 
    # path for INSTALL within a source directory, because that will
 
2193
    # As a last resort, use the slow shell script.  Don't cache a
 
2194
    # value for INSTALL within a source directory, because that will
1682
2195
    # break other packages using the cache if that directory is
1683
 
    # removed, or if the path is relative.
 
2196
    # removed, or if the value is a relative name.
1684
2197
    INSTALL=$ac_install_sh
1685
2198
  fi
1686
2199
fi
1687
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1688
 
echo "${ECHO_T}$INSTALL" >&6
 
2200
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2201
echo "${ECHO_T}$INSTALL" >&6; }
1689
2202
 
1690
2203
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1691
2204
# It thinks the first close brace ends the variable substitution.
1695
2208
 
1696
2209
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1697
2210
 
1698
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1699
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2211
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2212
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1700
2213
# Just in case
1701
2214
sleep 1
1702
2215
echo timestamp > conftest.file
1738
2251
Check your system clock" >&2;}
1739
2252
   { (exit 1); exit 1; }; }
1740
2253
fi
1741
 
echo "$as_me:$LINENO: result: yes" >&5
1742
 
echo "${ECHO_T}yes" >&6
 
2254
{ echo "$as_me:$LINENO: result: yes" >&5
 
2255
echo "${ECHO_T}yes" >&6; }
1743
2256
test "$program_prefix" != NONE &&
1744
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2257
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1745
2258
# Use a double $ so make ignores it.
1746
2259
test "$program_suffix" != NONE &&
1747
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2260
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1748
2261
# Double any \ or $.  echo might interpret backslashes.
1749
2262
# By default was `s,x,x', remove it if useless.
1750
2263
cat <<\_ACEOF >conftest.sed
1751
2264
s/[\\$]/&&/g;s/;s,x,x,$//
1752
2265
_ACEOF
1753
2266
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1754
 
rm conftest.sed
 
2267
rm -f conftest.sed
1755
2268
 
1756
2269
# expand $ac_aux_dir to an absolute path
1757
2270
am_aux_dir=`cd $ac_aux_dir && pwd`
1803
2316
do
1804
2317
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1805
2318
set dummy $ac_prog; ac_word=$2
1806
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1807
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2319
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2320
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1808
2321
if test "${ac_cv_prog_AWK+set}" = set; then
1809
2322
  echo $ECHO_N "(cached) $ECHO_C" >&6
1810
2323
else
1817
2330
  IFS=$as_save_IFS
1818
2331
  test -z "$as_dir" && as_dir=.
1819
2332
  for ac_exec_ext in '' $ac_executable_extensions; do
1820
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2333
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1821
2334
    ac_cv_prog_AWK="$ac_prog"
1822
2335
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823
2336
    break 2
1824
2337
  fi
1825
2338
done
1826
2339
done
 
2340
IFS=$as_save_IFS
1827
2341
 
1828
2342
fi
1829
2343
fi
1830
2344
AWK=$ac_cv_prog_AWK
1831
2345
if test -n "$AWK"; then
1832
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1833
 
echo "${ECHO_T}$AWK" >&6
 
2346
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2347
echo "${ECHO_T}$AWK" >&6; }
1834
2348
else
1835
 
  echo "$as_me:$LINENO: result: no" >&5
1836
 
echo "${ECHO_T}no" >&6
 
2349
  { echo "$as_me:$LINENO: result: no" >&5
 
2350
echo "${ECHO_T}no" >&6; }
1837
2351
fi
1838
2352
 
 
2353
 
1839
2354
  test -n "$AWK" && break
1840
2355
done
1841
2356
 
1842
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1843
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1844
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1845
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2357
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2358
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2359
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2360
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1846
2361
  echo $ECHO_N "(cached) $ECHO_C" >&6
1847
2362
else
1848
2363
  cat >conftest.make <<\_ACEOF
 
2364
SHELL = /bin/sh
1849
2365
all:
1850
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2366
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1851
2367
_ACEOF
1852
2368
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1853
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1854
 
if test -n "$ac_maketemp"; then
1855
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1856
 
else
1857
 
  eval ac_cv_prog_make_${ac_make}_set=no
1858
 
fi
 
2369
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2370
  *@@@%%%=?*=@@@%%%*)
 
2371
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2372
  *)
 
2373
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2374
esac
1859
2375
rm -f conftest.make
1860
2376
fi
1861
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1862
 
  echo "$as_me:$LINENO: result: yes" >&5
1863
 
echo "${ECHO_T}yes" >&6
 
2377
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2378
  { echo "$as_me:$LINENO: result: yes" >&5
 
2379
echo "${ECHO_T}yes" >&6; }
1864
2380
  SET_MAKE=
1865
2381
else
1866
 
  echo "$as_me:$LINENO: result: no" >&5
1867
 
echo "${ECHO_T}no" >&6
 
2382
  { echo "$as_me:$LINENO: result: no" >&5
 
2383
echo "${ECHO_T}no" >&6; }
1868
2384
  SET_MAKE="MAKE=${MAKE-make}"
1869
2385
fi
1870
2386
 
1897
2413
 
1898
2414
# Define the identity of the package.
1899
2415
 PACKAGE='vino'
1900
 
 VERSION='2.16.0'
 
2416
 VERSION='2.22.2'
1901
2417
 
1902
2418
 
1903
2419
cat >>confdefs.h <<_ACEOF
1935
2451
  if test -n "$ac_tool_prefix"; then
1936
2452
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1937
2453
set dummy ${ac_tool_prefix}strip; ac_word=$2
1938
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1939
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2454
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2455
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1940
2456
if test "${ac_cv_prog_STRIP+set}" = set; then
1941
2457
  echo $ECHO_N "(cached) $ECHO_C" >&6
1942
2458
else
1949
2465
  IFS=$as_save_IFS
1950
2466
  test -z "$as_dir" && as_dir=.
1951
2467
  for ac_exec_ext in '' $ac_executable_extensions; do
1952
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2468
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1953
2469
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1954
2470
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955
2471
    break 2
1956
2472
  fi
1957
2473
done
1958
2474
done
 
2475
IFS=$as_save_IFS
1959
2476
 
1960
2477
fi
1961
2478
fi
1962
2479
STRIP=$ac_cv_prog_STRIP
1963
2480
if test -n "$STRIP"; then
1964
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1965
 
echo "${ECHO_T}$STRIP" >&6
 
2481
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2482
echo "${ECHO_T}$STRIP" >&6; }
1966
2483
else
1967
 
  echo "$as_me:$LINENO: result: no" >&5
1968
 
echo "${ECHO_T}no" >&6
 
2484
  { echo "$as_me:$LINENO: result: no" >&5
 
2485
echo "${ECHO_T}no" >&6; }
1969
2486
fi
 
2487
 
1970
2488
 
1971
2489
fi
1972
2490
if test -z "$ac_cv_prog_STRIP"; then
1973
2491
  ac_ct_STRIP=$STRIP
1974
2492
  # Extract the first word of "strip", so it can be a program name with args.
1975
2493
set dummy strip; ac_word=$2
1976
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1977
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2494
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2495
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1978
2496
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1979
2497
  echo $ECHO_N "(cached) $ECHO_C" >&6
1980
2498
else
1987
2505
  IFS=$as_save_IFS
1988
2506
  test -z "$as_dir" && as_dir=.
1989
2507
  for ac_exec_ext in '' $ac_executable_extensions; do
1990
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2508
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1991
2509
    ac_cv_prog_ac_ct_STRIP="strip"
1992
2510
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993
2511
    break 2
1994
2512
  fi
1995
2513
done
1996
2514
done
 
2515
IFS=$as_save_IFS
1997
2516
 
1998
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1999
2517
fi
2000
2518
fi
2001
2519
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2002
2520
if test -n "$ac_ct_STRIP"; then
2003
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2004
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2521
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2522
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2005
2523
else
2006
 
  echo "$as_me:$LINENO: result: no" >&5
2007
 
echo "${ECHO_T}no" >&6
 
2524
  { echo "$as_me:$LINENO: result: no" >&5
 
2525
echo "${ECHO_T}no" >&6; }
2008
2526
fi
2009
2527
 
2010
 
  STRIP=$ac_ct_STRIP
 
2528
  if test "x$ac_ct_STRIP" = x; then
 
2529
    STRIP=":"
 
2530
  else
 
2531
    case $cross_compiling:$ac_tool_warned in
 
2532
yes:)
 
2533
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2534
whose name does not start with the host triplet.  If you think this
 
2535
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2536
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2537
whose name does not start with the host triplet.  If you think this
 
2538
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2539
ac_tool_warned=yes ;;
 
2540
esac
 
2541
    STRIP=$ac_ct_STRIP
 
2542
  fi
2011
2543
else
2012
2544
  STRIP="$ac_cv_prog_STRIP"
2013
2545
fi
2027
2559
 
2028
2560
 
2029
2561
 
2030
 
          ac_config_headers="$ac_config_headers config.h"
2031
 
 
2032
 
 
2033
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2034
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2035
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2562
ac_config_headers="$ac_config_headers config.h"
 
2563
 
 
2564
 
 
2565
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2566
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2567
    # Check whether --enable-maintainer-mode was given.
2036
2568
if test "${enable_maintainer_mode+set}" = set; then
2037
 
  enableval="$enable_maintainer_mode"
2038
 
  USE_MAINTAINER_MODE=$enableval
 
2569
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2039
2570
else
2040
2571
  USE_MAINTAINER_MODE=no
2041
 
fi;
2042
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2043
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2572
fi
 
2573
 
 
2574
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2575
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2044
2576
 
2045
2577
 
2046
2578
if test $USE_MAINTAINER_MODE = yes; then
2074
2606
if test -n "$ac_tool_prefix"; then
2075
2607
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2076
2608
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2077
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2078
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2609
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2610
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2079
2611
if test "${ac_cv_prog_CC+set}" = set; then
2080
2612
  echo $ECHO_N "(cached) $ECHO_C" >&6
2081
2613
else
2088
2620
  IFS=$as_save_IFS
2089
2621
  test -z "$as_dir" && as_dir=.
2090
2622
  for ac_exec_ext in '' $ac_executable_extensions; do
2091
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2623
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2092
2624
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2093
2625
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094
2626
    break 2
2095
2627
  fi
2096
2628
done
2097
2629
done
 
2630
IFS=$as_save_IFS
2098
2631
 
2099
2632
fi
2100
2633
fi
2101
2634
CC=$ac_cv_prog_CC
2102
2635
if test -n "$CC"; then
2103
 
  echo "$as_me:$LINENO: result: $CC" >&5
2104
 
echo "${ECHO_T}$CC" >&6
 
2636
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2637
echo "${ECHO_T}$CC" >&6; }
2105
2638
else
2106
 
  echo "$as_me:$LINENO: result: no" >&5
2107
 
echo "${ECHO_T}no" >&6
 
2639
  { echo "$as_me:$LINENO: result: no" >&5
 
2640
echo "${ECHO_T}no" >&6; }
2108
2641
fi
 
2642
 
2109
2643
 
2110
2644
fi
2111
2645
if test -z "$ac_cv_prog_CC"; then
2112
2646
  ac_ct_CC=$CC
2113
2647
  # Extract the first word of "gcc", so it can be a program name with args.
2114
2648
set dummy gcc; ac_word=$2
2115
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2116
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2649
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2650
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2117
2651
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2118
2652
  echo $ECHO_N "(cached) $ECHO_C" >&6
2119
2653
else
2126
2660
  IFS=$as_save_IFS
2127
2661
  test -z "$as_dir" && as_dir=.
2128
2662
  for ac_exec_ext in '' $ac_executable_extensions; do
2129
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2663
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2130
2664
    ac_cv_prog_ac_ct_CC="gcc"
2131
2665
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132
2666
    break 2
2133
2667
  fi
2134
2668
done
2135
2669
done
 
2670
IFS=$as_save_IFS
2136
2671
 
2137
2672
fi
2138
2673
fi
2139
2674
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2140
2675
if test -n "$ac_ct_CC"; then
2141
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2142
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2676
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2677
echo "${ECHO_T}$ac_ct_CC" >&6; }
2143
2678
else
2144
 
  echo "$as_me:$LINENO: result: no" >&5
2145
 
echo "${ECHO_T}no" >&6
 
2679
  { echo "$as_me:$LINENO: result: no" >&5
 
2680
echo "${ECHO_T}no" >&6; }
2146
2681
fi
2147
2682
 
2148
 
  CC=$ac_ct_CC
 
2683
  if test "x$ac_ct_CC" = x; then
 
2684
    CC=""
 
2685
  else
 
2686
    case $cross_compiling:$ac_tool_warned in
 
2687
yes:)
 
2688
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2689
whose name does not start with the host triplet.  If you think this
 
2690
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2691
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2692
whose name does not start with the host triplet.  If you think this
 
2693
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2694
ac_tool_warned=yes ;;
 
2695
esac
 
2696
    CC=$ac_ct_CC
 
2697
  fi
2149
2698
else
2150
2699
  CC="$ac_cv_prog_CC"
2151
2700
fi
2152
2701
 
2153
2702
if test -z "$CC"; then
2154
 
  if test -n "$ac_tool_prefix"; then
2155
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2703
          if test -n "$ac_tool_prefix"; then
 
2704
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2156
2705
set dummy ${ac_tool_prefix}cc; ac_word=$2
2157
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2158
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2706
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2707
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2159
2708
if test "${ac_cv_prog_CC+set}" = set; then
2160
2709
  echo $ECHO_N "(cached) $ECHO_C" >&6
2161
2710
else
2168
2717
  IFS=$as_save_IFS
2169
2718
  test -z "$as_dir" && as_dir=.
2170
2719
  for ac_exec_ext in '' $ac_executable_extensions; do
2171
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2720
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2172
2721
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2173
2722
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2174
2723
    break 2
2175
2724
  fi
2176
2725
done
2177
2726
done
 
2727
IFS=$as_save_IFS
2178
2728
 
2179
2729
fi
2180
2730
fi
2181
2731
CC=$ac_cv_prog_CC
2182
2732
if test -n "$CC"; then
2183
 
  echo "$as_me:$LINENO: result: $CC" >&5
2184
 
echo "${ECHO_T}$CC" >&6
2185
 
else
2186
 
  echo "$as_me:$LINENO: result: no" >&5
2187
 
echo "${ECHO_T}no" >&6
2188
 
fi
2189
 
 
2190
 
fi
2191
 
if test -z "$ac_cv_prog_CC"; then
2192
 
  ac_ct_CC=$CC
2193
 
  # Extract the first word of "cc", so it can be a program name with args.
2194
 
set dummy cc; ac_word=$2
2195
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2196
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2197
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2198
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2199
 
else
2200
 
  if test -n "$ac_ct_CC"; then
2201
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2202
 
else
2203
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2204
 
for as_dir in $PATH
2205
 
do
2206
 
  IFS=$as_save_IFS
2207
 
  test -z "$as_dir" && as_dir=.
2208
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2209
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2210
 
    ac_cv_prog_ac_ct_CC="cc"
2211
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212
 
    break 2
 
2733
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2734
echo "${ECHO_T}$CC" >&6; }
 
2735
else
 
2736
  { echo "$as_me:$LINENO: result: no" >&5
 
2737
echo "${ECHO_T}no" >&6; }
 
2738
fi
 
2739
 
 
2740
 
2213
2741
  fi
2214
 
done
2215
 
done
2216
 
 
2217
 
fi
2218
 
fi
2219
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2220
 
if test -n "$ac_ct_CC"; then
2221
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2222
 
echo "${ECHO_T}$ac_ct_CC" >&6
2223
 
else
2224
 
  echo "$as_me:$LINENO: result: no" >&5
2225
 
echo "${ECHO_T}no" >&6
2226
 
fi
2227
 
 
2228
 
  CC=$ac_ct_CC
2229
 
else
2230
 
  CC="$ac_cv_prog_CC"
2231
 
fi
2232
 
 
2233
2742
fi
2234
2743
if test -z "$CC"; then
2235
2744
  # Extract the first word of "cc", so it can be a program name with args.
2236
2745
set dummy cc; ac_word=$2
2237
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2238
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2746
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2747
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2239
2748
if test "${ac_cv_prog_CC+set}" = set; then
2240
2749
  echo $ECHO_N "(cached) $ECHO_C" >&6
2241
2750
else
2249
2758
  IFS=$as_save_IFS
2250
2759
  test -z "$as_dir" && as_dir=.
2251
2760
  for ac_exec_ext in '' $ac_executable_extensions; do
2252
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2761
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2253
2762
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2254
2763
       ac_prog_rejected=yes
2255
2764
       continue
2260
2769
  fi
2261
2770
done
2262
2771
done
 
2772
IFS=$as_save_IFS
2263
2773
 
2264
2774
if test $ac_prog_rejected = yes; then
2265
2775
  # We found a bogon in the path, so make sure we never use it.
2277
2787
fi
2278
2788
CC=$ac_cv_prog_CC
2279
2789
if test -n "$CC"; then
2280
 
  echo "$as_me:$LINENO: result: $CC" >&5
2281
 
echo "${ECHO_T}$CC" >&6
 
2790
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2791
echo "${ECHO_T}$CC" >&6; }
2282
2792
else
2283
 
  echo "$as_me:$LINENO: result: no" >&5
2284
 
echo "${ECHO_T}no" >&6
 
2793
  { echo "$as_me:$LINENO: result: no" >&5
 
2794
echo "${ECHO_T}no" >&6; }
2285
2795
fi
 
2796
 
2286
2797
 
2287
2798
fi
2288
2799
if test -z "$CC"; then
2289
2800
  if test -n "$ac_tool_prefix"; then
2290
 
  for ac_prog in cl
 
2801
  for ac_prog in cl.exe
2291
2802
  do
2292
2803
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2293
2804
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2294
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2295
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2805
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2806
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2296
2807
if test "${ac_cv_prog_CC+set}" = set; then
2297
2808
  echo $ECHO_N "(cached) $ECHO_C" >&6
2298
2809
else
2305
2816
  IFS=$as_save_IFS
2306
2817
  test -z "$as_dir" && as_dir=.
2307
2818
  for ac_exec_ext in '' $ac_executable_extensions; do
2308
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2819
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309
2820
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2310
2821
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311
2822
    break 2
2312
2823
  fi
2313
2824
done
2314
2825
done
 
2826
IFS=$as_save_IFS
2315
2827
 
2316
2828
fi
2317
2829
fi
2318
2830
CC=$ac_cv_prog_CC
2319
2831
if test -n "$CC"; then
2320
 
  echo "$as_me:$LINENO: result: $CC" >&5
2321
 
echo "${ECHO_T}$CC" >&6
 
2832
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2833
echo "${ECHO_T}$CC" >&6; }
2322
2834
else
2323
 
  echo "$as_me:$LINENO: result: no" >&5
2324
 
echo "${ECHO_T}no" >&6
 
2835
  { echo "$as_me:$LINENO: result: no" >&5
 
2836
echo "${ECHO_T}no" >&6; }
2325
2837
fi
2326
2838
 
 
2839
 
2327
2840
    test -n "$CC" && break
2328
2841
  done
2329
2842
fi
2330
2843
if test -z "$CC"; then
2331
2844
  ac_ct_CC=$CC
2332
 
  for ac_prog in cl
 
2845
  for ac_prog in cl.exe
2333
2846
do
2334
2847
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2335
2848
set dummy $ac_prog; ac_word=$2
2336
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2337
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2849
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2850
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2338
2851
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2339
2852
  echo $ECHO_N "(cached) $ECHO_C" >&6
2340
2853
else
2347
2860
  IFS=$as_save_IFS
2348
2861
  test -z "$as_dir" && as_dir=.
2349
2862
  for ac_exec_ext in '' $ac_executable_extensions; do
2350
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2863
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2351
2864
    ac_cv_prog_ac_ct_CC="$ac_prog"
2352
2865
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2353
2866
    break 2
2354
2867
  fi
2355
2868
done
2356
2869
done
 
2870
IFS=$as_save_IFS
2357
2871
 
2358
2872
fi
2359
2873
fi
2360
2874
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2361
2875
if test -n "$ac_ct_CC"; then
2362
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2363
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2876
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2877
echo "${ECHO_T}$ac_ct_CC" >&6; }
2364
2878
else
2365
 
  echo "$as_me:$LINENO: result: no" >&5
2366
 
echo "${ECHO_T}no" >&6
 
2879
  { echo "$as_me:$LINENO: result: no" >&5
 
2880
echo "${ECHO_T}no" >&6; }
2367
2881
fi
2368
2882
 
 
2883
 
2369
2884
  test -n "$ac_ct_CC" && break
2370
2885
done
2371
2886
 
2372
 
  CC=$ac_ct_CC
 
2887
  if test "x$ac_ct_CC" = x; then
 
2888
    CC=""
 
2889
  else
 
2890
    case $cross_compiling:$ac_tool_warned in
 
2891
yes:)
 
2892
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2893
whose name does not start with the host triplet.  If you think this
 
2894
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2895
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2896
whose name does not start with the host triplet.  If you think this
 
2897
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2898
ac_tool_warned=yes ;;
 
2899
esac
 
2900
    CC=$ac_ct_CC
 
2901
  fi
2373
2902
fi
2374
2903
 
2375
2904
fi
2382
2911
   { (exit 1); exit 1; }; }
2383
2912
 
2384
2913
# Provide some information about the compiler.
2385
 
echo "$as_me:$LINENO:" \
2386
 
     "checking for C compiler version" >&5
 
2914
echo "$as_me:$LINENO: checking for C compiler version" >&5
2387
2915
ac_compiler=`set X $ac_compile; echo $2`
2388
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2389
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2390
 
  ac_status=$?
2391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392
 
  (exit $ac_status); }
2393
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2394
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2395
 
  ac_status=$?
2396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397
 
  (exit $ac_status); }
2398
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2399
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2916
{ (ac_try="$ac_compiler --version >&5"
 
2917
case "(($ac_try" in
 
2918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2919
  *) ac_try_echo=$ac_try;;
 
2920
esac
 
2921
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2922
  (eval "$ac_compiler --version >&5") 2>&5
 
2923
  ac_status=$?
 
2924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2925
  (exit $ac_status); }
 
2926
{ (ac_try="$ac_compiler -v >&5"
 
2927
case "(($ac_try" in
 
2928
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2929
  *) ac_try_echo=$ac_try;;
 
2930
esac
 
2931
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2932
  (eval "$ac_compiler -v >&5") 2>&5
 
2933
  ac_status=$?
 
2934
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2935
  (exit $ac_status); }
 
2936
{ (ac_try="$ac_compiler -V >&5"
 
2937
case "(($ac_try" in
 
2938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2939
  *) ac_try_echo=$ac_try;;
 
2940
esac
 
2941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2942
  (eval "$ac_compiler -V >&5") 2>&5
2400
2943
  ac_status=$?
2401
2944
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402
2945
  (exit $ac_status); }
2421
2964
# Try to create an executable without -o first, disregard a.out.
2422
2965
# It will help us diagnose broken compilers, and finding out an intuition
2423
2966
# of exeext.
2424
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2425
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2967
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2968
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2426
2969
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2427
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2428
 
  (eval $ac_link_default) 2>&5
 
2970
#
 
2971
# List of possible output files, starting from the most likely.
 
2972
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2973
# only as a last resort.  b.out is created by i960 compilers.
 
2974
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2975
#
 
2976
# The IRIX 6 linker writes into existing files which may not be
 
2977
# executable, retaining their permissions.  Remove them first so a
 
2978
# subsequent execution test works.
 
2979
ac_rmfiles=
 
2980
for ac_file in $ac_files
 
2981
do
 
2982
  case $ac_file in
 
2983
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2984
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2985
  esac
 
2986
done
 
2987
rm -f $ac_rmfiles
 
2988
 
 
2989
if { (ac_try="$ac_link_default"
 
2990
case "(($ac_try" in
 
2991
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2992
  *) ac_try_echo=$ac_try;;
 
2993
esac
 
2994
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2995
  (eval "$ac_link_default") 2>&5
2429
2996
  ac_status=$?
2430
2997
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431
2998
  (exit $ac_status); }; then
2432
 
  # Find the output, starting from the most likely.  This scheme is
2433
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2434
 
# resort.
2435
 
 
2436
 
# Be careful to initialize this variable, since it used to be cached.
2437
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2438
 
ac_cv_exeext=
2439
 
# b.out is created by i960 compilers.
2440
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2999
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3000
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3001
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3002
# so that the user can short-circuit this test for compilers unknown to
 
3003
# Autoconf.
 
3004
for ac_file in $ac_files ''
2441
3005
do
2442
3006
  test -f "$ac_file" || continue
2443
3007
  case $ac_file in
2444
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2445
 
        ;;
2446
 
    conftest.$ac_ext )
2447
 
        # This is the source file.
 
3008
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2448
3009
        ;;
2449
3010
    [ab].out )
2450
3011
        # We found the default executable, but exeext='' is most
2451
3012
        # certainly right.
2452
3013
        break;;
2453
3014
    *.* )
2454
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2455
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2456
 
        # but it would be cool to find out if it's true.  Does anybody
2457
 
        # maintain Libtool? --akim.
2458
 
        export ac_cv_exeext
 
3015
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3016
        then :; else
 
3017
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3018
        fi
 
3019
        # We set ac_cv_exeext here because the later test for it is not
 
3020
        # safe: cross compilers may not add the suffix if given an `-o'
 
3021
        # argument, so we may need to know it at that point already.
 
3022
        # Even if this section looks crufty: it has the advantage of
 
3023
        # actually working.
2459
3024
        break;;
2460
3025
    * )
2461
3026
        break;;
2462
3027
  esac
2463
3028
done
 
3029
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3030
 
2464
3031
else
 
3032
  ac_file=''
 
3033
fi
 
3034
 
 
3035
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3036
echo "${ECHO_T}$ac_file" >&6; }
 
3037
if test -z "$ac_file"; then
2465
3038
  echo "$as_me: failed program was:" >&5
2466
3039
sed 's/^/| /' conftest.$ac_ext >&5
2467
3040
 
2473
3046
fi
2474
3047
 
2475
3048
ac_exeext=$ac_cv_exeext
2476
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2477
 
echo "${ECHO_T}$ac_file" >&6
2478
3049
 
2479
 
# Check the compiler produces executables we can run.  If not, either
 
3050
# Check that the compiler produces executables we can run.  If not, either
2480
3051
# the compiler is broken, or we cross compile.
2481
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2482
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3052
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3053
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2483
3054
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2484
3055
# If not cross compiling, check that we can run a simple program.
2485
3056
if test "$cross_compiling" != yes; then
2486
3057
  if { ac_try='./$ac_file'
2487
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488
 
  (eval $ac_try) 2>&5
 
3058
  { (case "(($ac_try" in
 
3059
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3060
  *) ac_try_echo=$ac_try;;
 
3061
esac
 
3062
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3063
  (eval "$ac_try") 2>&5
2489
3064
  ac_status=$?
2490
3065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491
3066
  (exit $ac_status); }; }; then
2504
3079
    fi
2505
3080
  fi
2506
3081
fi
2507
 
echo "$as_me:$LINENO: result: yes" >&5
2508
 
echo "${ECHO_T}yes" >&6
 
3082
{ echo "$as_me:$LINENO: result: yes" >&5
 
3083
echo "${ECHO_T}yes" >&6; }
2509
3084
 
2510
3085
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2511
3086
ac_clean_files=$ac_clean_files_save
2512
 
# Check the compiler produces executables we can run.  If not, either
 
3087
# Check that the compiler produces executables we can run.  If not, either
2513
3088
# the compiler is broken, or we cross compile.
2514
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2515
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2516
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2517
 
echo "${ECHO_T}$cross_compiling" >&6
 
3089
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3090
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3091
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3092
echo "${ECHO_T}$cross_compiling" >&6; }
2518
3093
 
2519
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2520
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2521
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2522
 
  (eval $ac_link) 2>&5
 
3094
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3095
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3096
if { (ac_try="$ac_link"
 
3097
case "(($ac_try" in
 
3098
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3099
  *) ac_try_echo=$ac_try;;
 
3100
esac
 
3101
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3102
  (eval "$ac_link") 2>&5
2523
3103
  ac_status=$?
2524
3104
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525
3105
  (exit $ac_status); }; then
2530
3110
for ac_file in conftest.exe conftest conftest.*; do
2531
3111
  test -f "$ac_file" || continue
2532
3112
  case $ac_file in
2533
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3113
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2534
3114
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2535
 
          export ac_cv_exeext
2536
3115
          break;;
2537
3116
    * ) break;;
2538
3117
  esac
2546
3125
fi
2547
3126
 
2548
3127
rm -f conftest$ac_cv_exeext
2549
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2550
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3128
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3129
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2551
3130
 
2552
3131
rm -f conftest.$ac_ext
2553
3132
EXEEXT=$ac_cv_exeext
2554
3133
ac_exeext=$EXEEXT
2555
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2556
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3134
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3135
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2557
3136
if test "${ac_cv_objext+set}" = set; then
2558
3137
  echo $ECHO_N "(cached) $ECHO_C" >&6
2559
3138
else
2573
3152
}
2574
3153
_ACEOF
2575
3154
rm -f conftest.o conftest.obj
2576
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2577
 
  (eval $ac_compile) 2>&5
 
3155
if { (ac_try="$ac_compile"
 
3156
case "(($ac_try" in
 
3157
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3158
  *) ac_try_echo=$ac_try;;
 
3159
esac
 
3160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3161
  (eval "$ac_compile") 2>&5
2578
3162
  ac_status=$?
2579
3163
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580
3164
  (exit $ac_status); }; then
2581
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3165
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3166
  test -f "$ac_file" || continue;
2582
3167
  case $ac_file in
2583
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3168
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2584
3169
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2585
3170
       break;;
2586
3171
  esac
2598
3183
 
2599
3184
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2600
3185
fi
2601
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2602
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3186
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3187
echo "${ECHO_T}$ac_cv_objext" >&6; }
2603
3188
OBJEXT=$ac_cv_objext
2604
3189
ac_objext=$OBJEXT
2605
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2606
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3190
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3191
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2607
3192
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2608
3193
  echo $ECHO_N "(cached) $ECHO_C" >&6
2609
3194
else
2626
3211
}
2627
3212
_ACEOF
2628
3213
rm -f conftest.$ac_objext
2629
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630
 
  (eval $ac_compile) 2>conftest.er1
 
3214
if { (ac_try="$ac_compile"
 
3215
case "(($ac_try" in
 
3216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3217
  *) ac_try_echo=$ac_try;;
 
3218
esac
 
3219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3220
  (eval "$ac_compile") 2>conftest.er1
2631
3221
  ac_status=$?
2632
3222
  grep -v '^ *+' conftest.er1 >conftest.err
2633
3223
  rm -f conftest.er1
2634
3224
  cat conftest.err >&5
2635
3225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636
 
  (exit $ac_status); } &&
2637
 
         { ac_try='test -z "$ac_c_werror_flag"
2638
 
                         || test ! -s conftest.err'
2639
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640
 
  (eval $ac_try) 2>&5
2641
 
  ac_status=$?
2642
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643
 
  (exit $ac_status); }; } &&
2644
 
         { ac_try='test -s conftest.$ac_objext'
2645
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2646
 
  (eval $ac_try) 2>&5
2647
 
  ac_status=$?
2648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649
 
  (exit $ac_status); }; }; then
 
3226
  (exit $ac_status); } && {
 
3227
         test -z "$ac_c_werror_flag" ||
 
3228
         test ! -s conftest.err
 
3229
       } && test -s conftest.$ac_objext; then
2650
3230
  ac_compiler_gnu=yes
2651
3231
else
2652
3232
  echo "$as_me: failed program was:" >&5
2653
3233
sed 's/^/| /' conftest.$ac_ext >&5
2654
3234
 
2655
 
ac_compiler_gnu=no
 
3235
        ac_compiler_gnu=no
2656
3236
fi
2657
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3237
 
 
3238
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2658
3239
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2659
3240
 
2660
3241
fi
2661
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2662
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3242
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3243
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2663
3244
GCC=`test $ac_compiler_gnu = yes && echo yes`
2664
3245
ac_test_CFLAGS=${CFLAGS+set}
2665
3246
ac_save_CFLAGS=$CFLAGS
2666
 
CFLAGS="-g"
2667
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2668
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3247
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3248
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2669
3249
if test "${ac_cv_prog_cc_g+set}" = set; then
2670
3250
  echo $ECHO_N "(cached) $ECHO_C" >&6
2671
3251
else
2672
 
  cat >conftest.$ac_ext <<_ACEOF
2673
 
/* confdefs.h.  */
2674
 
_ACEOF
2675
 
cat confdefs.h >>conftest.$ac_ext
2676
 
cat >>conftest.$ac_ext <<_ACEOF
2677
 
/* end confdefs.h.  */
2678
 
 
2679
 
int
2680
 
main ()
2681
 
{
2682
 
 
2683
 
  ;
2684
 
  return 0;
2685
 
}
2686
 
_ACEOF
2687
 
rm -f conftest.$ac_objext
2688
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2689
 
  (eval $ac_compile) 2>conftest.er1
2690
 
  ac_status=$?
2691
 
  grep -v '^ *+' conftest.er1 >conftest.err
2692
 
  rm -f conftest.er1
2693
 
  cat conftest.err >&5
2694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695
 
  (exit $ac_status); } &&
2696
 
         { ac_try='test -z "$ac_c_werror_flag"
2697
 
                         || test ! -s conftest.err'
2698
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699
 
  (eval $ac_try) 2>&5
2700
 
  ac_status=$?
2701
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702
 
  (exit $ac_status); }; } &&
2703
 
         { ac_try='test -s conftest.$ac_objext'
2704
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705
 
  (eval $ac_try) 2>&5
2706
 
  ac_status=$?
2707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708
 
  (exit $ac_status); }; }; then
2709
 
  ac_cv_prog_cc_g=yes
2710
 
else
2711
 
  echo "$as_me: failed program was:" >&5
2712
 
sed 's/^/| /' conftest.$ac_ext >&5
2713
 
 
2714
 
ac_cv_prog_cc_g=no
2715
 
fi
2716
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2717
 
fi
2718
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2719
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3252
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3253
   ac_c_werror_flag=yes
 
3254
   ac_cv_prog_cc_g=no
 
3255
   CFLAGS="-g"
 
3256
   cat >conftest.$ac_ext <<_ACEOF
 
3257
/* confdefs.h.  */
 
3258
_ACEOF
 
3259
cat confdefs.h >>conftest.$ac_ext
 
3260
cat >>conftest.$ac_ext <<_ACEOF
 
3261
/* end confdefs.h.  */
 
3262
 
 
3263
int
 
3264
main ()
 
3265
{
 
3266
 
 
3267
  ;
 
3268
  return 0;
 
3269
}
 
3270
_ACEOF
 
3271
rm -f conftest.$ac_objext
 
3272
if { (ac_try="$ac_compile"
 
3273
case "(($ac_try" in
 
3274
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3275
  *) ac_try_echo=$ac_try;;
 
3276
esac
 
3277
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3278
  (eval "$ac_compile") 2>conftest.er1
 
3279
  ac_status=$?
 
3280
  grep -v '^ *+' conftest.er1 >conftest.err
 
3281
  rm -f conftest.er1
 
3282
  cat conftest.err >&5
 
3283
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3284
  (exit $ac_status); } && {
 
3285
         test -z "$ac_c_werror_flag" ||
 
3286
         test ! -s conftest.err
 
3287
       } && test -s conftest.$ac_objext; then
 
3288
  ac_cv_prog_cc_g=yes
 
3289
else
 
3290
  echo "$as_me: failed program was:" >&5
 
3291
sed 's/^/| /' conftest.$ac_ext >&5
 
3292
 
 
3293
        CFLAGS=""
 
3294
      cat >conftest.$ac_ext <<_ACEOF
 
3295
/* confdefs.h.  */
 
3296
_ACEOF
 
3297
cat confdefs.h >>conftest.$ac_ext
 
3298
cat >>conftest.$ac_ext <<_ACEOF
 
3299
/* end confdefs.h.  */
 
3300
 
 
3301
int
 
3302
main ()
 
3303
{
 
3304
 
 
3305
  ;
 
3306
  return 0;
 
3307
}
 
3308
_ACEOF
 
3309
rm -f conftest.$ac_objext
 
3310
if { (ac_try="$ac_compile"
 
3311
case "(($ac_try" in
 
3312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3313
  *) ac_try_echo=$ac_try;;
 
3314
esac
 
3315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3316
  (eval "$ac_compile") 2>conftest.er1
 
3317
  ac_status=$?
 
3318
  grep -v '^ *+' conftest.er1 >conftest.err
 
3319
  rm -f conftest.er1
 
3320
  cat conftest.err >&5
 
3321
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3322
  (exit $ac_status); } && {
 
3323
         test -z "$ac_c_werror_flag" ||
 
3324
         test ! -s conftest.err
 
3325
       } && test -s conftest.$ac_objext; then
 
3326
  :
 
3327
else
 
3328
  echo "$as_me: failed program was:" >&5
 
3329
sed 's/^/| /' conftest.$ac_ext >&5
 
3330
 
 
3331
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3332
         CFLAGS="-g"
 
3333
         cat >conftest.$ac_ext <<_ACEOF
 
3334
/* confdefs.h.  */
 
3335
_ACEOF
 
3336
cat confdefs.h >>conftest.$ac_ext
 
3337
cat >>conftest.$ac_ext <<_ACEOF
 
3338
/* end confdefs.h.  */
 
3339
 
 
3340
int
 
3341
main ()
 
3342
{
 
3343
 
 
3344
  ;
 
3345
  return 0;
 
3346
}
 
3347
_ACEOF
 
3348
rm -f conftest.$ac_objext
 
3349
if { (ac_try="$ac_compile"
 
3350
case "(($ac_try" in
 
3351
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3352
  *) ac_try_echo=$ac_try;;
 
3353
esac
 
3354
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3355
  (eval "$ac_compile") 2>conftest.er1
 
3356
  ac_status=$?
 
3357
  grep -v '^ *+' conftest.er1 >conftest.err
 
3358
  rm -f conftest.er1
 
3359
  cat conftest.err >&5
 
3360
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3361
  (exit $ac_status); } && {
 
3362
         test -z "$ac_c_werror_flag" ||
 
3363
         test ! -s conftest.err
 
3364
       } && test -s conftest.$ac_objext; then
 
3365
  ac_cv_prog_cc_g=yes
 
3366
else
 
3367
  echo "$as_me: failed program was:" >&5
 
3368
sed 's/^/| /' conftest.$ac_ext >&5
 
3369
 
 
3370
 
 
3371
fi
 
3372
 
 
3373
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3374
fi
 
3375
 
 
3376
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3377
fi
 
3378
 
 
3379
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3380
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3381
fi
 
3382
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3383
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2720
3384
if test "$ac_test_CFLAGS" = set; then
2721
3385
  CFLAGS=$ac_save_CFLAGS
2722
3386
elif test $ac_cv_prog_cc_g = yes; then
2732
3396
    CFLAGS=
2733
3397
  fi
2734
3398
fi
2735
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2736
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2737
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3399
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3400
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3401
if test "${ac_cv_prog_cc_c89+set}" = set; then
2738
3402
  echo $ECHO_N "(cached) $ECHO_C" >&6
2739
3403
else
2740
 
  ac_cv_prog_cc_stdc=no
 
3404
  ac_cv_prog_cc_c89=no
2741
3405
ac_save_CC=$CC
2742
3406
cat >conftest.$ac_ext <<_ACEOF
2743
3407
/* confdefs.h.  */
2771
3435
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2772
3436
   function prototypes and stuff, but not '\xHH' hex character constants.
2773
3437
   These don't provoke an error unfortunately, instead are silently treated
2774
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3438
   as 'x'.  The following induces an error, until -std is added to get
2775
3439
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2776
3440
   array size at least.  It's necessary to write '\x00'==0 to get something
2777
 
   that's true only with -std1.  */
 
3441
   that's true only with -std.  */
2778
3442
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2779
3443
 
 
3444
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3445
   inside strings and character constants.  */
 
3446
#define FOO(x) 'x'
 
3447
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3448
 
2780
3449
int test (int i, double x);
2781
3450
struct s1 {int (*f) (int a);};
2782
3451
struct s2 {int (*f) (double a);};
2791
3460
  return 0;
2792
3461
}
2793
3462
_ACEOF
2794
 
# Don't try gcc -ansi; that turns off useful extensions and
2795
 
# breaks some systems' header files.
2796
 
# AIX                   -qlanglvl=ansi
2797
 
# Ultrix and OSF/1      -std1
2798
 
# HP-UX 10.20 and later -Ae
2799
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2800
 
# SVR4                  -Xc -D__EXTENSIONS__
2801
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3463
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3464
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2802
3465
do
2803
3466
  CC="$ac_save_CC $ac_arg"
2804
3467
  rm -f conftest.$ac_objext
2805
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2806
 
  (eval $ac_compile) 2>conftest.er1
 
3468
if { (ac_try="$ac_compile"
 
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_compile") 2>conftest.er1
2807
3475
  ac_status=$?
2808
3476
  grep -v '^ *+' conftest.er1 >conftest.err
2809
3477
  rm -f conftest.er1
2810
3478
  cat conftest.err >&5
2811
3479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812
 
  (exit $ac_status); } &&
2813
 
         { ac_try='test -z "$ac_c_werror_flag"
2814
 
                         || test ! -s conftest.err'
2815
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816
 
  (eval $ac_try) 2>&5
2817
 
  ac_status=$?
2818
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819
 
  (exit $ac_status); }; } &&
2820
 
         { ac_try='test -s conftest.$ac_objext'
2821
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822
 
  (eval $ac_try) 2>&5
2823
 
  ac_status=$?
2824
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825
 
  (exit $ac_status); }; }; then
2826
 
  ac_cv_prog_cc_stdc=$ac_arg
2827
 
break
 
3480
  (exit $ac_status); } && {
 
3481
         test -z "$ac_c_werror_flag" ||
 
3482
         test ! -s conftest.err
 
3483
       } && test -s conftest.$ac_objext; then
 
3484
  ac_cv_prog_cc_c89=$ac_arg
2828
3485
else
2829
3486
  echo "$as_me: failed program was:" >&5
2830
3487
sed 's/^/| /' conftest.$ac_ext >&5
2831
3488
 
 
3489
 
2832
3490
fi
2833
 
rm -f conftest.err conftest.$ac_objext
 
3491
 
 
3492
rm -f core conftest.err conftest.$ac_objext
 
3493
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2834
3494
done
2835
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3495
rm -f conftest.$ac_ext
2836
3496
CC=$ac_save_CC
2837
3497
 
2838
3498
fi
2839
 
 
2840
 
case "x$ac_cv_prog_cc_stdc" in
2841
 
  x|xno)
2842
 
    echo "$as_me:$LINENO: result: none needed" >&5
2843
 
echo "${ECHO_T}none needed" >&6 ;;
 
3499
# AC_CACHE_VAL
 
3500
case "x$ac_cv_prog_cc_c89" in
 
3501
  x)
 
3502
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3503
echo "${ECHO_T}none needed" >&6; } ;;
 
3504
  xno)
 
3505
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3506
echo "${ECHO_T}unsupported" >&6; } ;;
2844
3507
  *)
2845
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2846
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2847
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3508
    CC="$CC $ac_cv_prog_cc_c89"
 
3509
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3510
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2848
3511
esac
2849
3512
 
2850
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2851
 
# in C++ we need to declare it.  In case someone uses the same compiler
2852
 
# for both compiling C and C++ we need to have the C++ compiler decide
2853
 
# the declaration of exit, since it's the most demanding environment.
2854
 
cat >conftest.$ac_ext <<_ACEOF
2855
 
#ifndef __cplusplus
2856
 
  choke me
2857
 
#endif
2858
 
_ACEOF
2859
 
rm -f conftest.$ac_objext
2860
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2861
 
  (eval $ac_compile) 2>conftest.er1
2862
 
  ac_status=$?
2863
 
  grep -v '^ *+' conftest.er1 >conftest.err
2864
 
  rm -f conftest.er1
2865
 
  cat conftest.err >&5
2866
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867
 
  (exit $ac_status); } &&
2868
 
         { ac_try='test -z "$ac_c_werror_flag"
2869
 
                         || test ! -s conftest.err'
2870
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871
 
  (eval $ac_try) 2>&5
2872
 
  ac_status=$?
2873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874
 
  (exit $ac_status); }; } &&
2875
 
         { ac_try='test -s conftest.$ac_objext'
2876
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877
 
  (eval $ac_try) 2>&5
2878
 
  ac_status=$?
2879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880
 
  (exit $ac_status); }; }; then
2881
 
  for ac_declaration in \
2882
 
   '' \
2883
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2884
 
   'extern "C" void std::exit (int); using std::exit;' \
2885
 
   'extern "C" void exit (int) throw ();' \
2886
 
   'extern "C" void exit (int);' \
2887
 
   'void exit (int);'
2888
 
do
2889
 
  cat >conftest.$ac_ext <<_ACEOF
2890
 
/* confdefs.h.  */
2891
 
_ACEOF
2892
 
cat confdefs.h >>conftest.$ac_ext
2893
 
cat >>conftest.$ac_ext <<_ACEOF
2894
 
/* end confdefs.h.  */
2895
 
$ac_declaration
2896
 
#include <stdlib.h>
2897
 
int
2898
 
main ()
2899
 
{
2900
 
exit (42);
2901
 
  ;
2902
 
  return 0;
2903
 
}
2904
 
_ACEOF
2905
 
rm -f conftest.$ac_objext
2906
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2907
 
  (eval $ac_compile) 2>conftest.er1
2908
 
  ac_status=$?
2909
 
  grep -v '^ *+' conftest.er1 >conftest.err
2910
 
  rm -f conftest.er1
2911
 
  cat conftest.err >&5
2912
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913
 
  (exit $ac_status); } &&
2914
 
         { ac_try='test -z "$ac_c_werror_flag"
2915
 
                         || test ! -s conftest.err'
2916
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917
 
  (eval $ac_try) 2>&5
2918
 
  ac_status=$?
2919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920
 
  (exit $ac_status); }; } &&
2921
 
         { ac_try='test -s conftest.$ac_objext'
2922
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923
 
  (eval $ac_try) 2>&5
2924
 
  ac_status=$?
2925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926
 
  (exit $ac_status); }; }; then
2927
 
  :
2928
 
else
2929
 
  echo "$as_me: failed program was:" >&5
2930
 
sed 's/^/| /' conftest.$ac_ext >&5
2931
 
 
2932
 
continue
2933
 
fi
2934
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2935
 
  cat >conftest.$ac_ext <<_ACEOF
2936
 
/* confdefs.h.  */
2937
 
_ACEOF
2938
 
cat confdefs.h >>conftest.$ac_ext
2939
 
cat >>conftest.$ac_ext <<_ACEOF
2940
 
/* end confdefs.h.  */
2941
 
$ac_declaration
2942
 
int
2943
 
main ()
2944
 
{
2945
 
exit (42);
2946
 
  ;
2947
 
  return 0;
2948
 
}
2949
 
_ACEOF
2950
 
rm -f conftest.$ac_objext
2951
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2952
 
  (eval $ac_compile) 2>conftest.er1
2953
 
  ac_status=$?
2954
 
  grep -v '^ *+' conftest.er1 >conftest.err
2955
 
  rm -f conftest.er1
2956
 
  cat conftest.err >&5
2957
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958
 
  (exit $ac_status); } &&
2959
 
         { ac_try='test -z "$ac_c_werror_flag"
2960
 
                         || test ! -s conftest.err'
2961
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2962
 
  (eval $ac_try) 2>&5
2963
 
  ac_status=$?
2964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965
 
  (exit $ac_status); }; } &&
2966
 
         { ac_try='test -s conftest.$ac_objext'
2967
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2968
 
  (eval $ac_try) 2>&5
2969
 
  ac_status=$?
2970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971
 
  (exit $ac_status); }; }; then
2972
 
  break
2973
 
else
2974
 
  echo "$as_me: failed program was:" >&5
2975
 
sed 's/^/| /' conftest.$ac_ext >&5
2976
 
 
2977
 
fi
2978
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2979
 
done
2980
 
rm -f conftest*
2981
 
if test -n "$ac_declaration"; then
2982
 
  echo '#ifdef __cplusplus' >>confdefs.h
2983
 
  echo $ac_declaration      >>confdefs.h
2984
 
  echo '#endif'             >>confdefs.h
2985
 
fi
2986
 
 
2987
 
else
2988
 
  echo "$as_me: failed program was:" >&5
2989
 
sed 's/^/| /' conftest.$ac_ext >&5
2990
 
 
2991
 
fi
2992
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3513
 
2993
3514
ac_ext=c
2994
3515
ac_cpp='$CPP $CPPFLAGS'
2995
3516
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2997
3518
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2998
3519
DEPDIR="${am__leading_dot}deps"
2999
3520
 
3000
 
          ac_config_commands="$ac_config_commands depfiles"
 
3521
ac_config_commands="$ac_config_commands depfiles"
3001
3522
 
3002
3523
 
3003
3524
am_make=${MAKE-make}
3007
3528
.PHONY: am__doit
3008
3529
END
3009
3530
# If we don't find an include directive, just comment out the code.
3010
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3011
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3531
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3532
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3012
3533
am__include="#"
3013
3534
am__quote=
3014
3535
_am_result=none
3035
3556
fi
3036
3557
 
3037
3558
 
3038
 
echo "$as_me:$LINENO: result: $_am_result" >&5
3039
 
echo "${ECHO_T}$_am_result" >&6
 
3559
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3560
echo "${ECHO_T}$_am_result" >&6; }
3040
3561
rm -f confinc confmf
3041
3562
 
3042
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3563
# Check whether --enable-dependency-tracking was given.
3043
3564
if test "${enable_dependency_tracking+set}" = set; then
3044
 
  enableval="$enable_dependency_tracking"
 
3565
  enableval=$enable_dependency_tracking;
 
3566
fi
3045
3567
 
3046
 
fi;
3047
3568
if test "x$enable_dependency_tracking" != xno; then
3048
3569
  am_depcomp="$ac_aux_dir/depcomp"
3049
3570
  AMDEPBACKSLASH='\'
3063
3584
 
3064
3585
depcc="$CC"   am_compiler_list=
3065
3586
 
3066
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3067
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3587
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3588
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3068
3589
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3069
3590
  echo $ECHO_N "(cached) $ECHO_C" >&6
3070
3591
else
3153
3674
fi
3154
3675
 
3155
3676
fi
3156
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3157
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3677
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3678
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3158
3679
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3159
3680
 
3160
3681
 
3171
3692
 
3172
3693
 
3173
3694
 
3174
 
 
3175
 
        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3176
 
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3177
 
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
 
3695
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3696
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
 
3697
if test "${ac_cv_search_strerror+set}" = set; then
3178
3698
  echo $ECHO_N "(cached) $ECHO_C" >&6
3179
3699
else
3180
 
  ac_check_lib_save_LIBS=$LIBS
3181
 
LIBS="-lcposix  $LIBS"
 
3700
  ac_func_search_save_LIBS=$LIBS
3182
3701
cat >conftest.$ac_ext <<_ACEOF
3183
3702
/* confdefs.h.  */
3184
3703
_ACEOF
3186
3705
cat >>conftest.$ac_ext <<_ACEOF
3187
3706
/* end confdefs.h.  */
3188
3707
 
3189
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
3708
/* Override any GCC internal prototype to avoid an error.
 
3709
   Use char because int might match the return type of a GCC
 
3710
   builtin and then its argument prototype would still apply.  */
3190
3711
#ifdef __cplusplus
3191
3712
extern "C"
3192
3713
#endif
3193
 
/* We use char because int might match the return type of a gcc2
3194
 
   builtin and then its argument prototype would still apply.  */
3195
3714
char strerror ();
3196
3715
int
3197
3716
main ()
3198
3717
{
3199
 
strerror ();
 
3718
return strerror ();
3200
3719
  ;
3201
3720
  return 0;
3202
3721
}
3203
3722
_ACEOF
3204
 
rm -f conftest.$ac_objext conftest$ac_exeext
3205
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3206
 
  (eval $ac_link) 2>conftest.er1
 
3723
for ac_lib in '' cposix; do
 
3724
  if test -z "$ac_lib"; then
 
3725
    ac_res="none required"
 
3726
  else
 
3727
    ac_res=-l$ac_lib
 
3728
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
3729
  fi
 
3730
  rm -f conftest.$ac_objext conftest$ac_exeext
 
3731
if { (ac_try="$ac_link"
 
3732
case "(($ac_try" in
 
3733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3734
  *) ac_try_echo=$ac_try;;
 
3735
esac
 
3736
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3737
  (eval "$ac_link") 2>conftest.er1
3207
3738
  ac_status=$?
3208
3739
  grep -v '^ *+' conftest.er1 >conftest.err
3209
3740
  rm -f conftest.er1
3210
3741
  cat conftest.err >&5
3211
3742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212
 
  (exit $ac_status); } &&
3213
 
         { ac_try='test -z "$ac_c_werror_flag"
3214
 
                         || test ! -s conftest.err'
3215
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216
 
  (eval $ac_try) 2>&5
3217
 
  ac_status=$?
3218
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219
 
  (exit $ac_status); }; } &&
3220
 
         { ac_try='test -s conftest$ac_exeext'
3221
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222
 
  (eval $ac_try) 2>&5
3223
 
  ac_status=$?
3224
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225
 
  (exit $ac_status); }; }; then
3226
 
  ac_cv_lib_cposix_strerror=yes
 
3743
  (exit $ac_status); } && {
 
3744
         test -z "$ac_c_werror_flag" ||
 
3745
         test ! -s conftest.err
 
3746
       } && test -s conftest$ac_exeext &&
 
3747
       $as_test_x conftest$ac_exeext; then
 
3748
  ac_cv_search_strerror=$ac_res
3227
3749
else
3228
3750
  echo "$as_me: failed program was:" >&5
3229
3751
sed 's/^/| /' conftest.$ac_ext >&5
3230
3752
 
3231
 
ac_cv_lib_cposix_strerror=no
3232
 
fi
3233
 
rm -f conftest.err conftest.$ac_objext \
3234
 
      conftest$ac_exeext conftest.$ac_ext
3235
 
LIBS=$ac_check_lib_save_LIBS
3236
 
fi
3237
 
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3238
 
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3239
 
if test $ac_cv_lib_cposix_strerror = yes; then
3240
 
  LIBS="$LIBS -lcposix"
3241
 
fi
3242
 
 
3243
 
 
 
3753
 
 
3754
fi
 
3755
 
 
3756
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
3757
      conftest$ac_exeext
 
3758
  if test "${ac_cv_search_strerror+set}" = set; then
 
3759
  break
 
3760
fi
 
3761
done
 
3762
if test "${ac_cv_search_strerror+set}" = set; then
 
3763
  :
 
3764
else
 
3765
  ac_cv_search_strerror=no
 
3766
fi
 
3767
rm conftest.$ac_ext
 
3768
LIBS=$ac_func_search_save_LIBS
 
3769
fi
 
3770
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3771
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
3772
ac_res=$ac_cv_search_strerror
 
3773
if test "$ac_res" != no; then
 
3774
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
3775
 
 
3776
fi
3244
3777
 
3245
3778
ac_ext=c
3246
3779
ac_cpp='$CPP $CPPFLAGS'
3247
3780
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248
3781
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249
3782
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3251
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3783
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3784
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3252
3785
# On Suns, sometimes $CPP names a directory.
3253
3786
if test -n "$CPP" && test -d "$CPP"; then
3254
3787
  CPP=
3282
3815
#endif
3283
3816
                     Syntax error
3284
3817
_ACEOF
3285
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3286
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3818
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3819
case "(($ac_try" in
 
3820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3821
  *) ac_try_echo=$ac_try;;
 
3822
esac
 
3823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3824
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3287
3825
  ac_status=$?
3288
3826
  grep -v '^ *+' conftest.er1 >conftest.err
3289
3827
  rm -f conftest.er1
3290
3828
  cat conftest.err >&5
3291
3829
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292
 
  (exit $ac_status); } >/dev/null; then
3293
 
  if test -s conftest.err; then
3294
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3295
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3296
 
  else
3297
 
    ac_cpp_err=
3298
 
  fi
3299
 
else
3300
 
  ac_cpp_err=yes
3301
 
fi
3302
 
if test -z "$ac_cpp_err"; then
 
3830
  (exit $ac_status); } >/dev/null && {
 
3831
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3832
         test ! -s conftest.err
 
3833
       }; then
3303
3834
  :
3304
3835
else
3305
3836
  echo "$as_me: failed program was:" >&5
3308
3839
  # Broken: fails on valid input.
3309
3840
continue
3310
3841
fi
 
3842
 
3311
3843
rm -f conftest.err conftest.$ac_ext
3312
3844
 
3313
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3845
  # OK, works on sane cases.  Now check whether nonexistent headers
3314
3846
  # can be detected and how.
3315
3847
  cat >conftest.$ac_ext <<_ACEOF
3316
3848
/* confdefs.h.  */
3320
3852
/* end confdefs.h.  */
3321
3853
#include <ac_nonexistent.h>
3322
3854
_ACEOF
3323
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3324
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3855
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3856
case "(($ac_try" in
 
3857
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3858
  *) ac_try_echo=$ac_try;;
 
3859
esac
 
3860
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3861
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3325
3862
  ac_status=$?
3326
3863
  grep -v '^ *+' conftest.er1 >conftest.err
3327
3864
  rm -f conftest.er1
3328
3865
  cat conftest.err >&5
3329
3866
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330
 
  (exit $ac_status); } >/dev/null; then
3331
 
  if test -s conftest.err; then
3332
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3333
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3334
 
  else
3335
 
    ac_cpp_err=
3336
 
  fi
3337
 
else
3338
 
  ac_cpp_err=yes
3339
 
fi
3340
 
if test -z "$ac_cpp_err"; then
 
3867
  (exit $ac_status); } >/dev/null && {
 
3868
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3869
         test ! -s conftest.err
 
3870
       }; then
3341
3871
  # Broken: success on invalid input.
3342
3872
continue
3343
3873
else
3348
3878
ac_preproc_ok=:
3349
3879
break
3350
3880
fi
 
3881
 
3351
3882
rm -f conftest.err conftest.$ac_ext
3352
3883
 
3353
3884
done
3365
3896
else
3366
3897
  ac_cv_prog_CPP=$CPP
3367
3898
fi
3368
 
echo "$as_me:$LINENO: result: $CPP" >&5
3369
 
echo "${ECHO_T}$CPP" >&6
 
3899
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3900
echo "${ECHO_T}$CPP" >&6; }
3370
3901
ac_preproc_ok=false
3371
3902
for ac_c_preproc_warn_flag in '' yes
3372
3903
do
3389
3920
#endif
3390
3921
                     Syntax error
3391
3922
_ACEOF
3392
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3393
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3923
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3924
case "(($ac_try" in
 
3925
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3926
  *) ac_try_echo=$ac_try;;
 
3927
esac
 
3928
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3929
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3394
3930
  ac_status=$?
3395
3931
  grep -v '^ *+' conftest.er1 >conftest.err
3396
3932
  rm -f conftest.er1
3397
3933
  cat conftest.err >&5
3398
3934
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399
 
  (exit $ac_status); } >/dev/null; then
3400
 
  if test -s conftest.err; then
3401
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3402
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3403
 
  else
3404
 
    ac_cpp_err=
3405
 
  fi
3406
 
else
3407
 
  ac_cpp_err=yes
3408
 
fi
3409
 
if test -z "$ac_cpp_err"; then
 
3935
  (exit $ac_status); } >/dev/null && {
 
3936
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3937
         test ! -s conftest.err
 
3938
       }; then
3410
3939
  :
3411
3940
else
3412
3941
  echo "$as_me: failed program was:" >&5
3415
3944
  # Broken: fails on valid input.
3416
3945
continue
3417
3946
fi
 
3947
 
3418
3948
rm -f conftest.err conftest.$ac_ext
3419
3949
 
3420
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3950
  # OK, works on sane cases.  Now check whether nonexistent headers
3421
3951
  # can be detected and how.
3422
3952
  cat >conftest.$ac_ext <<_ACEOF
3423
3953
/* confdefs.h.  */
3427
3957
/* end confdefs.h.  */
3428
3958
#include <ac_nonexistent.h>
3429
3959
_ACEOF
3430
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3431
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3960
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3961
case "(($ac_try" in
 
3962
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3963
  *) ac_try_echo=$ac_try;;
 
3964
esac
 
3965
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3966
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3432
3967
  ac_status=$?
3433
3968
  grep -v '^ *+' conftest.er1 >conftest.err
3434
3969
  rm -f conftest.er1
3435
3970
  cat conftest.err >&5
3436
3971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437
 
  (exit $ac_status); } >/dev/null; then
3438
 
  if test -s conftest.err; then
3439
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3440
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3441
 
  else
3442
 
    ac_cpp_err=
3443
 
  fi
3444
 
else
3445
 
  ac_cpp_err=yes
3446
 
fi
3447
 
if test -z "$ac_cpp_err"; then
 
3972
  (exit $ac_status); } >/dev/null && {
 
3973
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3974
         test ! -s conftest.err
 
3975
       }; then
3448
3976
  # Broken: success on invalid input.
3449
3977
continue
3450
3978
else
3455
3983
ac_preproc_ok=:
3456
3984
break
3457
3985
fi
 
3986
 
3458
3987
rm -f conftest.err conftest.$ac_ext
3459
3988
 
3460
3989
done
3477
4006
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478
4007
 
3479
4008
 
3480
 
echo "$as_me:$LINENO: checking for egrep" >&5
3481
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3482
 
if test "${ac_cv_prog_egrep+set}" = set; then
3483
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3484
 
else
3485
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3486
 
    then ac_cv_prog_egrep='grep -E'
3487
 
    else ac_cv_prog_egrep='egrep'
3488
 
    fi
3489
 
fi
3490
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3491
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3492
 
 EGREP=$ac_cv_prog_egrep
3493
 
 
3494
 
 
3495
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3496
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4009
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4010
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4011
if test "${ac_cv_path_GREP+set}" = set; then
 
4012
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4013
else
 
4014
  # Extract the first word of "grep ggrep" to use in msg output
 
4015
if test -z "$GREP"; then
 
4016
set dummy grep ggrep; ac_prog_name=$2
 
4017
if test "${ac_cv_path_GREP+set}" = set; then
 
4018
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4019
else
 
4020
  ac_path_GREP_found=false
 
4021
# Loop through the user's path and test for each of PROGNAME-LIST
 
4022
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4023
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4024
do
 
4025
  IFS=$as_save_IFS
 
4026
  test -z "$as_dir" && as_dir=.
 
4027
  for ac_prog in grep ggrep; do
 
4028
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4029
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4030
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4031
    # Check for GNU ac_path_GREP and select it if it is found.
 
4032
  # Check for GNU $ac_path_GREP
 
4033
case `"$ac_path_GREP" --version 2>&1` in
 
4034
*GNU*)
 
4035
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4036
*)
 
4037
  ac_count=0
 
4038
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4039
  while :
 
4040
  do
 
4041
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4042
    mv "conftest.tmp" "conftest.in"
 
4043
    cp "conftest.in" "conftest.nl"
 
4044
    echo 'GREP' >> "conftest.nl"
 
4045
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4046
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4047
    ac_count=`expr $ac_count + 1`
 
4048
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4049
      # Best one so far, save it but keep looking for a better one
 
4050
      ac_cv_path_GREP="$ac_path_GREP"
 
4051
      ac_path_GREP_max=$ac_count
 
4052
    fi
 
4053
    # 10*(2^10) chars as input seems more than enough
 
4054
    test $ac_count -gt 10 && break
 
4055
  done
 
4056
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4057
esac
 
4058
 
 
4059
 
 
4060
    $ac_path_GREP_found && break 3
 
4061
  done
 
4062
done
 
4063
 
 
4064
done
 
4065
IFS=$as_save_IFS
 
4066
 
 
4067
 
 
4068
fi
 
4069
 
 
4070
GREP="$ac_cv_path_GREP"
 
4071
if test -z "$GREP"; then
 
4072
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4073
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4074
   { (exit 1); exit 1; }; }
 
4075
fi
 
4076
 
 
4077
else
 
4078
  ac_cv_path_GREP=$GREP
 
4079
fi
 
4080
 
 
4081
 
 
4082
fi
 
4083
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4084
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4085
 GREP="$ac_cv_path_GREP"
 
4086
 
 
4087
 
 
4088
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4089
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4090
if test "${ac_cv_path_EGREP+set}" = set; then
 
4091
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4092
else
 
4093
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4094
   then ac_cv_path_EGREP="$GREP -E"
 
4095
   else
 
4096
     # Extract the first word of "egrep" to use in msg output
 
4097
if test -z "$EGREP"; then
 
4098
set dummy egrep; ac_prog_name=$2
 
4099
if test "${ac_cv_path_EGREP+set}" = set; then
 
4100
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4101
else
 
4102
  ac_path_EGREP_found=false
 
4103
# Loop through the user's path and test for each of PROGNAME-LIST
 
4104
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4105
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4106
do
 
4107
  IFS=$as_save_IFS
 
4108
  test -z "$as_dir" && as_dir=.
 
4109
  for ac_prog in egrep; do
 
4110
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4111
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4112
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4113
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4114
  # Check for GNU $ac_path_EGREP
 
4115
case `"$ac_path_EGREP" --version 2>&1` in
 
4116
*GNU*)
 
4117
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4118
*)
 
4119
  ac_count=0
 
4120
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4121
  while :
 
4122
  do
 
4123
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4124
    mv "conftest.tmp" "conftest.in"
 
4125
    cp "conftest.in" "conftest.nl"
 
4126
    echo 'EGREP' >> "conftest.nl"
 
4127
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4128
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4129
    ac_count=`expr $ac_count + 1`
 
4130
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4131
      # Best one so far, save it but keep looking for a better one
 
4132
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4133
      ac_path_EGREP_max=$ac_count
 
4134
    fi
 
4135
    # 10*(2^10) chars as input seems more than enough
 
4136
    test $ac_count -gt 10 && break
 
4137
  done
 
4138
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4139
esac
 
4140
 
 
4141
 
 
4142
    $ac_path_EGREP_found && break 3
 
4143
  done
 
4144
done
 
4145
 
 
4146
done
 
4147
IFS=$as_save_IFS
 
4148
 
 
4149
 
 
4150
fi
 
4151
 
 
4152
EGREP="$ac_cv_path_EGREP"
 
4153
if test -z "$EGREP"; then
 
4154
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4155
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4156
   { (exit 1); exit 1; }; }
 
4157
fi
 
4158
 
 
4159
else
 
4160
  ac_cv_path_EGREP=$EGREP
 
4161
fi
 
4162
 
 
4163
 
 
4164
   fi
 
4165
fi
 
4166
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4167
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4168
 EGREP="$ac_cv_path_EGREP"
 
4169
 
 
4170
 
 
4171
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4172
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3497
4173
if test "${ac_cv_header_stdc+set}" = set; then
3498
4174
  echo $ECHO_N "(cached) $ECHO_C" >&6
3499
4175
else
3517
4193
}
3518
4194
_ACEOF
3519
4195
rm -f conftest.$ac_objext
3520
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3521
 
  (eval $ac_compile) 2>conftest.er1
 
4196
if { (ac_try="$ac_compile"
 
4197
case "(($ac_try" in
 
4198
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4199
  *) ac_try_echo=$ac_try;;
 
4200
esac
 
4201
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4202
  (eval "$ac_compile") 2>conftest.er1
3522
4203
  ac_status=$?
3523
4204
  grep -v '^ *+' conftest.er1 >conftest.err
3524
4205
  rm -f conftest.er1
3525
4206
  cat conftest.err >&5
3526
4207
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527
 
  (exit $ac_status); } &&
3528
 
         { ac_try='test -z "$ac_c_werror_flag"
3529
 
                         || test ! -s conftest.err'
3530
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531
 
  (eval $ac_try) 2>&5
3532
 
  ac_status=$?
3533
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534
 
  (exit $ac_status); }; } &&
3535
 
         { ac_try='test -s conftest.$ac_objext'
3536
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3537
 
  (eval $ac_try) 2>&5
3538
 
  ac_status=$?
3539
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540
 
  (exit $ac_status); }; }; then
 
4208
  (exit $ac_status); } && {
 
4209
         test -z "$ac_c_werror_flag" ||
 
4210
         test ! -s conftest.err
 
4211
       } && test -s conftest.$ac_objext; then
3541
4212
  ac_cv_header_stdc=yes
3542
4213
else
3543
4214
  echo "$as_me: failed program was:" >&5
3544
4215
sed 's/^/| /' conftest.$ac_ext >&5
3545
4216
 
3546
 
ac_cv_header_stdc=no
 
4217
        ac_cv_header_stdc=no
3547
4218
fi
3548
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4219
 
 
4220
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3549
4221
 
3550
4222
if test $ac_cv_header_stdc = yes; then
3551
4223
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3601
4273
cat >>conftest.$ac_ext <<_ACEOF
3602
4274
/* end confdefs.h.  */
3603
4275
#include <ctype.h>
 
4276
#include <stdlib.h>
3604
4277
#if ((' ' & 0x0FF) == 0x020)
3605
4278
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3606
4279
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3620
4293
  for (i = 0; i < 256; i++)
3621
4294
    if (XOR (islower (i), ISLOWER (i))
3622
4295
        || toupper (i) != TOUPPER (i))
3623
 
      exit(2);
3624
 
  exit (0);
 
4296
      return 2;
 
4297
  return 0;
3625
4298
}
3626
4299
_ACEOF
3627
4300
rm -f conftest$ac_exeext
3628
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3629
 
  (eval $ac_link) 2>&5
 
4301
if { (ac_try="$ac_link"
 
4302
case "(($ac_try" in
 
4303
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4304
  *) ac_try_echo=$ac_try;;
 
4305
esac
 
4306
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4307
  (eval "$ac_link") 2>&5
3630
4308
  ac_status=$?
3631
4309
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632
4310
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3633
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634
 
  (eval $ac_try) 2>&5
 
4311
  { (case "(($ac_try" in
 
4312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4313
  *) ac_try_echo=$ac_try;;
 
4314
esac
 
4315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4316
  (eval "$ac_try") 2>&5
3635
4317
  ac_status=$?
3636
4318
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637
4319
  (exit $ac_status); }; }; then
3644
4326
( exit $ac_status )
3645
4327
ac_cv_header_stdc=no
3646
4328
fi
3647
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3648
 
fi
3649
 
fi
3650
 
fi
3651
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3652
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4329
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4330
fi
 
4331
 
 
4332
 
 
4333
fi
 
4334
fi
 
4335
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4336
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3653
4337
if test $ac_cv_header_stdc = yes; then
3654
4338
 
3655
4339
cat >>confdefs.h <<\_ACEOF
3658
4342
 
3659
4343
fi
3660
4344
 
3661
 
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3662
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 
4345
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4346
 
 
4347
 
 
4348
 
 
4349
 
 
4350
 
 
4351
 
 
4352
 
 
4353
 
 
4354
 
 
4355
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4356
                  inttypes.h stdint.h unistd.h
 
4357
do
 
4358
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4359
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4360
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4361
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4362
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4363
else
 
4364
  cat >conftest.$ac_ext <<_ACEOF
 
4365
/* confdefs.h.  */
 
4366
_ACEOF
 
4367
cat confdefs.h >>conftest.$ac_ext
 
4368
cat >>conftest.$ac_ext <<_ACEOF
 
4369
/* end confdefs.h.  */
 
4370
$ac_includes_default
 
4371
 
 
4372
#include <$ac_header>
 
4373
_ACEOF
 
4374
rm -f conftest.$ac_objext
 
4375
if { (ac_try="$ac_compile"
 
4376
case "(($ac_try" in
 
4377
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4378
  *) ac_try_echo=$ac_try;;
 
4379
esac
 
4380
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4381
  (eval "$ac_compile") 2>conftest.er1
 
4382
  ac_status=$?
 
4383
  grep -v '^ *+' conftest.er1 >conftest.err
 
4384
  rm -f conftest.er1
 
4385
  cat conftest.err >&5
 
4386
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4387
  (exit $ac_status); } && {
 
4388
         test -z "$ac_c_werror_flag" ||
 
4389
         test ! -s conftest.err
 
4390
       } && test -s conftest.$ac_objext; then
 
4391
  eval "$as_ac_Header=yes"
 
4392
else
 
4393
  echo "$as_me: failed program was:" >&5
 
4394
sed 's/^/| /' conftest.$ac_ext >&5
 
4395
 
 
4396
        eval "$as_ac_Header=no"
 
4397
fi
 
4398
 
 
4399
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4400
fi
 
4401
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4402
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4403
echo "${ECHO_T}$ac_res" >&6; }
 
4404
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4405
  cat >>confdefs.h <<_ACEOF
 
4406
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4407
_ACEOF
 
4408
 
 
4409
fi
 
4410
 
 
4411
done
 
4412
 
 
4413
 
 
4414
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
4415
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
3663
4416
if test "${ac_cv_c_bigendian+set}" = set; then
3664
4417
  echo $ECHO_N "(cached) $ECHO_C" >&6
3665
4418
else
3676
4429
int
3677
4430
main ()
3678
4431
{
3679
 
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 
4432
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
 
4433
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
3680
4434
 bogus endian macros
3681
4435
#endif
3682
4436
 
3685
4439
}
3686
4440
_ACEOF
3687
4441
rm -f conftest.$ac_objext
3688
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3689
 
  (eval $ac_compile) 2>conftest.er1
 
4442
if { (ac_try="$ac_compile"
 
4443
case "(($ac_try" in
 
4444
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4445
  *) ac_try_echo=$ac_try;;
 
4446
esac
 
4447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4448
  (eval "$ac_compile") 2>conftest.er1
3690
4449
  ac_status=$?
3691
4450
  grep -v '^ *+' conftest.er1 >conftest.err
3692
4451
  rm -f conftest.er1
3693
4452
  cat conftest.err >&5
3694
4453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3695
 
  (exit $ac_status); } &&
3696
 
         { ac_try='test -z "$ac_c_werror_flag"
3697
 
                         || test ! -s conftest.err'
3698
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3699
 
  (eval $ac_try) 2>&5
3700
 
  ac_status=$?
3701
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702
 
  (exit $ac_status); }; } &&
3703
 
         { ac_try='test -s conftest.$ac_objext'
3704
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3705
 
  (eval $ac_try) 2>&5
3706
 
  ac_status=$?
3707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708
 
  (exit $ac_status); }; }; then
 
4454
  (exit $ac_status); } && {
 
4455
         test -z "$ac_c_werror_flag" ||
 
4456
         test ! -s conftest.err
 
4457
       } && test -s conftest.$ac_objext; then
3709
4458
  # It does; now see whether it defined to BIG_ENDIAN or not.
3710
4459
cat >conftest.$ac_ext <<_ACEOF
3711
4460
/* confdefs.h.  */
3728
4477
}
3729
4478
_ACEOF
3730
4479
rm -f conftest.$ac_objext
3731
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3732
 
  (eval $ac_compile) 2>conftest.er1
 
4480
if { (ac_try="$ac_compile"
 
4481
case "(($ac_try" in
 
4482
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4483
  *) ac_try_echo=$ac_try;;
 
4484
esac
 
4485
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4486
  (eval "$ac_compile") 2>conftest.er1
3733
4487
  ac_status=$?
3734
4488
  grep -v '^ *+' conftest.er1 >conftest.err
3735
4489
  rm -f conftest.er1
3736
4490
  cat conftest.err >&5
3737
4491
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738
 
  (exit $ac_status); } &&
3739
 
         { ac_try='test -z "$ac_c_werror_flag"
3740
 
                         || test ! -s conftest.err'
3741
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3742
 
  (eval $ac_try) 2>&5
3743
 
  ac_status=$?
3744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745
 
  (exit $ac_status); }; } &&
3746
 
         { ac_try='test -s conftest.$ac_objext'
3747
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3748
 
  (eval $ac_try) 2>&5
3749
 
  ac_status=$?
3750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751
 
  (exit $ac_status); }; }; then
 
4492
  (exit $ac_status); } && {
 
4493
         test -z "$ac_c_werror_flag" ||
 
4494
         test ! -s conftest.err
 
4495
       } && test -s conftest.$ac_objext; then
3752
4496
  ac_cv_c_bigendian=yes
3753
4497
else
3754
4498
  echo "$as_me: failed program was:" >&5
3755
4499
sed 's/^/| /' conftest.$ac_ext >&5
3756
4500
 
3757
 
ac_cv_c_bigendian=no
 
4501
        ac_cv_c_bigendian=no
3758
4502
fi
3759
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4503
 
 
4504
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3760
4505
else
3761
4506
  echo "$as_me: failed program was:" >&5
3762
4507
sed 's/^/| /' conftest.$ac_ext >&5
3763
4508
 
3764
 
# It does not; compile a test program.
 
4509
        # It does not; compile a test program.
3765
4510
if test "$cross_compiling" = yes; then
3766
4511
  # try to guess the endianness by grepping values into an object file
3767
4512
  ac_cv_c_bigendian=unknown
3771
4516
cat confdefs.h >>conftest.$ac_ext
3772
4517
cat >>conftest.$ac_ext <<_ACEOF
3773
4518
/* end confdefs.h.  */
3774
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3775
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
4519
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
4520
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3776
4521
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3777
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3778
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
4522
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
4523
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3779
4524
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3780
4525
int
3781
4526
main ()
3786
4531
}
3787
4532
_ACEOF
3788
4533
rm -f conftest.$ac_objext
3789
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3790
 
  (eval $ac_compile) 2>conftest.er1
 
4534
if { (ac_try="$ac_compile"
 
4535
case "(($ac_try" in
 
4536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4537
  *) ac_try_echo=$ac_try;;
 
4538
esac
 
4539
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4540
  (eval "$ac_compile") 2>conftest.er1
3791
4541
  ac_status=$?
3792
4542
  grep -v '^ *+' conftest.er1 >conftest.err
3793
4543
  rm -f conftest.er1
3794
4544
  cat conftest.err >&5
3795
4545
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796
 
  (exit $ac_status); } &&
3797
 
         { ac_try='test -z "$ac_c_werror_flag"
3798
 
                         || test ! -s conftest.err'
3799
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800
 
  (eval $ac_try) 2>&5
3801
 
  ac_status=$?
3802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803
 
  (exit $ac_status); }; } &&
3804
 
         { ac_try='test -s conftest.$ac_objext'
3805
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806
 
  (eval $ac_try) 2>&5
3807
 
  ac_status=$?
3808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809
 
  (exit $ac_status); }; }; then
 
4546
  (exit $ac_status); } && {
 
4547
         test -z "$ac_c_werror_flag" ||
 
4548
         test ! -s conftest.err
 
4549
       } && test -s conftest.$ac_objext; then
3810
4550
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
3811
4551
  ac_cv_c_bigendian=yes
3812
4552
fi
3822
4562
  echo "$as_me: failed program was:" >&5
3823
4563
sed 's/^/| /' conftest.$ac_ext >&5
3824
4564
 
 
4565
 
3825
4566
fi
3826
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4567
 
 
4568
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827
4569
else
3828
4570
  cat >conftest.$ac_ext <<_ACEOF
3829
4571
/* confdefs.h.  */
3831
4573
cat confdefs.h >>conftest.$ac_ext
3832
4574
cat >>conftest.$ac_ext <<_ACEOF
3833
4575
/* end confdefs.h.  */
 
4576
$ac_includes_default
3834
4577
int
3835
4578
main ()
3836
4579
{
 
4580
 
3837
4581
  /* Are we little or big endian?  From Harbison&Steele.  */
3838
4582
  union
3839
4583
  {
3840
 
    long l;
3841
 
    char c[sizeof (long)];
 
4584
    long int l;
 
4585
    char c[sizeof (long int)];
3842
4586
  } u;
3843
4587
  u.l = 1;
3844
 
  exit (u.c[sizeof (long) - 1] == 1);
 
4588
  return u.c[sizeof (long int) - 1] == 1;
 
4589
 
 
4590
  ;
 
4591
  return 0;
3845
4592
}
3846
4593
_ACEOF
3847
4594
rm -f conftest$ac_exeext
3848
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3849
 
  (eval $ac_link) 2>&5
 
4595
if { (ac_try="$ac_link"
 
4596
case "(($ac_try" in
 
4597
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4598
  *) ac_try_echo=$ac_try;;
 
4599
esac
 
4600
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4601
  (eval "$ac_link") 2>&5
3850
4602
  ac_status=$?
3851
4603
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852
4604
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3853
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3854
 
  (eval $ac_try) 2>&5
 
4605
  { (case "(($ac_try" in
 
4606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4607
  *) ac_try_echo=$ac_try;;
 
4608
esac
 
4609
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4610
  (eval "$ac_try") 2>&5
3855
4611
  ac_status=$?
3856
4612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857
4613
  (exit $ac_status); }; }; then
3864
4620
( exit $ac_status )
3865
4621
ac_cv_c_bigendian=yes
3866
4622
fi
3867
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3868
 
fi
3869
 
fi
3870
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3871
 
fi
3872
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
3873
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 
4623
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4624
fi
 
4625
 
 
4626
 
 
4627
fi
 
4628
 
 
4629
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4630
fi
 
4631
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
4632
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
3874
4633
case $ac_cv_c_bigendian in
3875
4634
  yes)
3876
4635
 
3889
4648
esac
3890
4649
 
3891
4650
 
3892
 
# Check whether --enable-shared or --disable-shared was given.
 
4651
# Check whether --enable-shared was given.
3893
4652
if test "${enable_shared+set}" = set; then
3894
 
  enableval="$enable_shared"
3895
 
  p=${PACKAGE-default}
 
4653
  enableval=$enable_shared; p=${PACKAGE-default}
3896
4654
    case $enableval in
3897
4655
    yes) enable_shared=yes ;;
3898
4656
    no) enable_shared=no ;;
3911
4669
    esac
3912
4670
else
3913
4671
  enable_shared=yes
3914
 
fi;
3915
 
 
3916
 
# Check whether --enable-static or --disable-static was given.
 
4672
fi
 
4673
 
 
4674
 
 
4675
# Check whether --enable-static was given.
3917
4676
if test "${enable_static+set}" = set; then
3918
 
  enableval="$enable_static"
3919
 
  p=${PACKAGE-default}
 
4677
  enableval=$enable_static; p=${PACKAGE-default}
3920
4678
    case $enableval in
3921
4679
    yes) enable_static=yes ;;
3922
4680
    no) enable_static=no ;;
3935
4693
    esac
3936
4694
else
3937
4695
  enable_static=yes
3938
 
fi;
3939
 
 
3940
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
4696
fi
 
4697
 
 
4698
 
 
4699
# Check whether --enable-fast-install was given.
3941
4700
if test "${enable_fast_install+set}" = set; then
3942
 
  enableval="$enable_fast_install"
3943
 
  p=${PACKAGE-default}
 
4701
  enableval=$enable_fast_install; p=${PACKAGE-default}
3944
4702
    case $enableval in
3945
4703
    yes) enable_fast_install=yes ;;
3946
4704
    no) enable_fast_install=no ;;
3959
4717
    esac
3960
4718
else
3961
4719
  enable_fast_install=yes
3962
 
fi;
 
4720
fi
 
4721
 
3963
4722
 
3964
4723
# Make sure we can run config.sub.
3965
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3966
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3967
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
4724
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4725
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4726
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3968
4727
   { (exit 1); exit 1; }; }
3969
4728
 
3970
 
echo "$as_me:$LINENO: checking build system type" >&5
3971
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
4729
{ echo "$as_me:$LINENO: checking build system type" >&5
 
4730
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3972
4731
if test "${ac_cv_build+set}" = set; then
3973
4732
  echo $ECHO_N "(cached) $ECHO_C" >&6
3974
4733
else
3975
 
  ac_cv_build_alias=$build_alias
3976
 
test -z "$ac_cv_build_alias" &&
3977
 
  ac_cv_build_alias=`$ac_config_guess`
3978
 
test -z "$ac_cv_build_alias" &&
 
4734
  ac_build_alias=$build_alias
 
4735
test "x$ac_build_alias" = x &&
 
4736
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4737
test "x$ac_build_alias" = x &&
3979
4738
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3980
4739
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3981
4740
   { (exit 1); exit 1; }; }
3982
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3983
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3984
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
4741
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4742
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4743
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3985
4744
   { (exit 1); exit 1; }; }
3986
4745
 
3987
4746
fi
3988
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3989
 
echo "${ECHO_T}$ac_cv_build" >&6
 
4747
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4748
echo "${ECHO_T}$ac_cv_build" >&6; }
 
4749
case $ac_cv_build in
 
4750
*-*-*) ;;
 
4751
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4752
echo "$as_me: error: invalid value of canonical build" >&2;}
 
4753
   { (exit 1); exit 1; }; };;
 
4754
esac
3990
4755
build=$ac_cv_build
3991
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3992
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3993
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3994
 
 
3995
 
 
3996
 
echo "$as_me:$LINENO: checking host system type" >&5
3997
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
4756
ac_save_IFS=$IFS; IFS='-'
 
4757
set x $ac_cv_build
 
4758
shift
 
4759
build_cpu=$1
 
4760
build_vendor=$2
 
4761
shift; shift
 
4762
# Remember, the first character of IFS is used to create $*,
 
4763
# except with old shells:
 
4764
build_os=$*
 
4765
IFS=$ac_save_IFS
 
4766
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4767
 
 
4768
 
 
4769
{ echo "$as_me:$LINENO: checking host system type" >&5
 
4770
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3998
4771
if test "${ac_cv_host+set}" = set; then
3999
4772
  echo $ECHO_N "(cached) $ECHO_C" >&6
4000
4773
else
4001
 
  ac_cv_host_alias=$host_alias
4002
 
test -z "$ac_cv_host_alias" &&
4003
 
  ac_cv_host_alias=$ac_cv_build_alias
4004
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4005
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4006
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
4774
  if test "x$host_alias" = x; then
 
4775
  ac_cv_host=$ac_cv_build
 
4776
else
 
4777
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4778
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4779
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4007
4780
   { (exit 1); exit 1; }; }
 
4781
fi
4008
4782
 
4009
4783
fi
4010
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4011
 
echo "${ECHO_T}$ac_cv_host" >&6
 
4784
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4785
echo "${ECHO_T}$ac_cv_host" >&6; }
 
4786
case $ac_cv_host in
 
4787
*-*-*) ;;
 
4788
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4789
echo "$as_me: error: invalid value of canonical host" >&2;}
 
4790
   { (exit 1); exit 1; }; };;
 
4791
esac
4012
4792
host=$ac_cv_host
4013
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4014
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4015
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4016
 
 
4017
 
 
4018
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4019
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4793
ac_save_IFS=$IFS; IFS='-'
 
4794
set x $ac_cv_host
 
4795
shift
 
4796
host_cpu=$1
 
4797
host_vendor=$2
 
4798
shift; shift
 
4799
# Remember, the first character of IFS is used to create $*,
 
4800
# except with old shells:
 
4801
host_os=$*
 
4802
IFS=$ac_save_IFS
 
4803
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4804
 
 
4805
 
 
4806
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4807
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4020
4808
if test "${lt_cv_path_SED+set}" = set; then
4021
4809
  echo $ECHO_N "(cached) $ECHO_C" >&6
4022
4810
else
4029
4817
  test -z "$as_dir" && as_dir=.
4030
4818
  for lt_ac_prog in sed gsed; do
4031
4819
    for ac_exec_ext in '' $ac_executable_extensions; do
4032
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
4820
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4033
4821
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4034
4822
      fi
4035
4823
    done
4071
4859
 
4072
4860
SED=$lt_cv_path_SED
4073
4861
 
4074
 
echo "$as_me:$LINENO: result: $SED" >&5
4075
 
echo "${ECHO_T}$SED" >&6
4076
 
 
4077
 
 
4078
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4862
{ echo "$as_me:$LINENO: result: $SED" >&5
 
4863
echo "${ECHO_T}$SED" >&6; }
 
4864
 
 
4865
 
 
4866
# Check whether --with-gnu-ld was given.
4079
4867
if test "${with_gnu_ld+set}" = set; then
4080
 
  withval="$with_gnu_ld"
4081
 
  test "$withval" = no || with_gnu_ld=yes
 
4868
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4082
4869
else
4083
4870
  with_gnu_ld=no
4084
 
fi;
 
4871
fi
 
4872
 
4085
4873
ac_prog=ld
4086
4874
if test "$GCC" = yes; then
4087
4875
  # Check if gcc -print-prog-name=ld gives a path.
4088
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4089
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4876
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4877
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4090
4878
  case $host in
4091
4879
  *-*-mingw*)
4092
4880
    # gcc leaves a trailing carriage return which upsets mingw
4115
4903
    ;;
4116
4904
  esac
4117
4905
elif test "$with_gnu_ld" = yes; then
4118
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
4119
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4906
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4907
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4120
4908
else
4121
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4122
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4909
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4910
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4123
4911
fi
4124
4912
if test "${lt_cv_path_LD+set}" = set; then
4125
4913
  echo $ECHO_N "(cached) $ECHO_C" >&6
4152
4940
 
4153
4941
LD="$lt_cv_path_LD"
4154
4942
if test -n "$LD"; then
4155
 
  echo "$as_me:$LINENO: result: $LD" >&5
4156
 
echo "${ECHO_T}$LD" >&6
 
4943
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4944
echo "${ECHO_T}$LD" >&6; }
4157
4945
else
4158
 
  echo "$as_me:$LINENO: result: no" >&5
4159
 
echo "${ECHO_T}no" >&6
 
4946
  { echo "$as_me:$LINENO: result: no" >&5
 
4947
echo "${ECHO_T}no" >&6; }
4160
4948
fi
4161
4949
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4162
4950
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4163
4951
   { (exit 1); exit 1; }; }
4164
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4165
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4952
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4953
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4166
4954
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4167
4955
  echo $ECHO_N "(cached) $ECHO_C" >&6
4168
4956
else
4176
4964
  ;;
4177
4965
esac
4178
4966
fi
4179
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4180
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4967
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4968
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4181
4969
with_gnu_ld=$lt_cv_prog_gnu_ld
4182
4970
 
4183
4971
 
4184
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4185
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4972
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4973
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4186
4974
if test "${lt_cv_ld_reload_flag+set}" = set; then
4187
4975
  echo $ECHO_N "(cached) $ECHO_C" >&6
4188
4976
else
4189
4977
  lt_cv_ld_reload_flag='-r'
4190
4978
fi
4191
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4192
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4979
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4980
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4193
4981
reload_flag=$lt_cv_ld_reload_flag
4194
4982
case $reload_flag in
4195
4983
"" | " "*) ;;
4206
4994
    ;;
4207
4995
esac
4208
4996
 
4209
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4210
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4997
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4998
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4211
4999
if test "${lt_cv_path_NM+set}" = set; then
4212
5000
  echo $ECHO_N "(cached) $ECHO_C" >&6
4213
5001
else
4255
5043
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4256
5044
fi
4257
5045
fi
4258
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4259
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
5046
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5047
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4260
5048
NM="$lt_cv_path_NM"
4261
5049
 
4262
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
4263
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
5050
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5051
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4264
5052
LN_S=$as_ln_s
4265
5053
if test "$LN_S" = "ln -s"; then
4266
 
  echo "$as_me:$LINENO: result: yes" >&5
4267
 
echo "${ECHO_T}yes" >&6
 
5054
  { echo "$as_me:$LINENO: result: yes" >&5
 
5055
echo "${ECHO_T}yes" >&6; }
4268
5056
else
4269
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4270
 
echo "${ECHO_T}no, using $LN_S" >&6
 
5057
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5058
echo "${ECHO_T}no, using $LN_S" >&6; }
4271
5059
fi
4272
5060
 
4273
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4274
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
5061
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5062
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4275
5063
if test "${lt_cv_deplibs_check_method+set}" = set; then
4276
5064
  echo $ECHO_N "(cached) $ECHO_C" >&6
4277
5065
else
4290
5078
# whether `pass_all' will *always* work, you probably want this one.
4291
5079
 
4292
5080
case $host_os in
4293
 
aix4* | aix5*)
 
5081
aix[4-9]*)
4294
5082
  lt_cv_deplibs_check_method=pass_all
4295
5083
  ;;
4296
5084
 
4312
5100
 
4313
5101
mingw* | pw32*)
4314
5102
  # Base MSYS/MinGW do not provide the 'file' command needed by
4315
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4316
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4317
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5103
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5104
  # unless we find 'file', for example because we are cross-compiling.
 
5105
  if ( file / ) >/dev/null 2>&1; then
 
5106
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5107
    lt_cv_file_magic_cmd='func_win32_libid'
 
5108
  else
 
5109
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5110
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5111
  fi
4318
5112
  ;;
4319
5113
 
4320
5114
darwin* | rhapsody*)
4321
5115
  lt_cv_deplibs_check_method=pass_all
4322
5116
  ;;
4323
5117
 
4324
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
5118
freebsd* | dragonfly*)
4325
5119
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4326
5120
    case $host_cpu in
4327
5121
    i*86 )
4359
5153
  esac
4360
5154
  ;;
4361
5155
 
4362
 
interix3*)
 
5156
interix[3-9]*)
4363
5157
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4364
5158
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4365
5159
  ;;
4375
5169
  ;;
4376
5170
 
4377
5171
# This must be Linux ELF.
4378
 
linux*)
 
5172
linux* | k*bsd*-gnu)
4379
5173
  lt_cv_deplibs_check_method=pass_all
4380
5174
  ;;
4381
5175
 
4382
 
netbsd*)
 
5176
netbsd* | netbsdelf*-gnu)
4383
5177
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4384
5178
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4385
5179
  else
4409
5203
  lt_cv_deplibs_check_method=pass_all
4410
5204
  ;;
4411
5205
 
 
5206
rdos*)
 
5207
  lt_cv_deplibs_check_method=pass_all
 
5208
  ;;
 
5209
 
4412
5210
solaris*)
4413
5211
  lt_cv_deplibs_check_method=pass_all
4414
5212
  ;;
4446
5244
esac
4447
5245
 
4448
5246
fi
4449
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4450
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
5247
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5248
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4451
5249
file_magic_cmd=$lt_cv_file_magic_cmd
4452
5250
deplibs_check_method=$lt_cv_deplibs_check_method
4453
5251
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4464
5262
# Allow CC to be a program name with arguments.
4465
5263
compiler=$CC
4466
5264
 
4467
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
5265
# Check whether --enable-libtool-lock was given.
4468
5266
if test "${enable_libtool_lock+set}" = set; then
4469
 
  enableval="$enable_libtool_lock"
 
5267
  enableval=$enable_libtool_lock;
 
5268
fi
4470
5269
 
4471
 
fi;
4472
5270
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4473
5271
 
4474
5272
# Some flags need to be propagated to the compiler or linker for good
4495
5293
  ;;
4496
5294
*-*-irix6*)
4497
5295
  # Find out which ABI we are using.
4498
 
  echo '#line 4498 "configure"' > conftest.$ac_ext
 
5296
  echo '#line 5296 "configure"' > conftest.$ac_ext
4499
5297
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4500
5298
  (eval $ac_compile) 2>&5
4501
5299
  ac_status=$?
4530
5328
  rm -rf conftest*
4531
5329
  ;;
4532
5330
 
4533
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
5331
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5332
s390*-*linux*|sparc*-*linux*)
4534
5333
  # Find out which ABI we are using.
4535
5334
  echo 'int i;' > conftest.$ac_ext
4536
5335
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4541
5340
    case `/usr/bin/file conftest.o` in
4542
5341
    *32-bit*)
4543
5342
      case $host in
 
5343
        x86_64-*kfreebsd*-gnu)
 
5344
          LD="${LD-ld} -m elf_i386_fbsd"
 
5345
          ;;
4544
5346
        x86_64-*linux*)
4545
5347
          LD="${LD-ld} -m elf_i386"
4546
5348
          ;;
4557
5359
      ;;
4558
5360
    *64-bit*)
4559
5361
      case $host in
 
5362
        x86_64-*kfreebsd*-gnu)
 
5363
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
5364
          ;;
4560
5365
        x86_64-*linux*)
4561
5366
          LD="${LD-ld} -m elf_x86_64"
4562
5367
          ;;
4580
5385
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4581
5386
  SAVE_CFLAGS="$CFLAGS"
4582
5387
  CFLAGS="$CFLAGS -belf"
4583
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4584
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
5388
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5389
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4585
5390
if test "${lt_cv_cc_needs_belf+set}" = set; then
4586
5391
  echo $ECHO_N "(cached) $ECHO_C" >&6
4587
5392
else
4607
5412
}
4608
5413
_ACEOF
4609
5414
rm -f conftest.$ac_objext conftest$ac_exeext
4610
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4611
 
  (eval $ac_link) 2>conftest.er1
 
5415
if { (ac_try="$ac_link"
 
5416
case "(($ac_try" in
 
5417
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5418
  *) ac_try_echo=$ac_try;;
 
5419
esac
 
5420
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5421
  (eval "$ac_link") 2>conftest.er1
4612
5422
  ac_status=$?
4613
5423
  grep -v '^ *+' conftest.er1 >conftest.err
4614
5424
  rm -f conftest.er1
4615
5425
  cat conftest.err >&5
4616
5426
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617
 
  (exit $ac_status); } &&
4618
 
         { ac_try='test -z "$ac_c_werror_flag"
4619
 
                         || test ! -s conftest.err'
4620
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4621
 
  (eval $ac_try) 2>&5
4622
 
  ac_status=$?
4623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624
 
  (exit $ac_status); }; } &&
4625
 
         { ac_try='test -s conftest$ac_exeext'
4626
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4627
 
  (eval $ac_try) 2>&5
4628
 
  ac_status=$?
4629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630
 
  (exit $ac_status); }; }; then
 
5427
  (exit $ac_status); } && {
 
5428
         test -z "$ac_c_werror_flag" ||
 
5429
         test ! -s conftest.err
 
5430
       } && test -s conftest$ac_exeext &&
 
5431
       $as_test_x conftest$ac_exeext; then
4631
5432
  lt_cv_cc_needs_belf=yes
4632
5433
else
4633
5434
  echo "$as_me: failed program was:" >&5
4634
5435
sed 's/^/| /' conftest.$ac_ext >&5
4635
5436
 
4636
 
lt_cv_cc_needs_belf=no
 
5437
        lt_cv_cc_needs_belf=no
4637
5438
fi
4638
 
rm -f conftest.err conftest.$ac_objext \
 
5439
 
 
5440
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4639
5441
      conftest$ac_exeext conftest.$ac_ext
4640
5442
     ac_ext=c
4641
5443
ac_cpp='$CPP $CPPFLAGS'
4644
5446
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4645
5447
 
4646
5448
fi
4647
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4648
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
5449
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5450
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4649
5451
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4650
5452
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4651
5453
    CFLAGS="$SAVE_CFLAGS"
4663
5465
    *64-bit*)
4664
5466
      case $lt_cv_prog_gnu_ld in
4665
5467
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4666
 
      *)    LD="${LD-ld} -64" ;;
 
5468
      *)
 
5469
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
5470
          LD="${LD-ld} -64"
 
5471
        fi
 
5472
        ;;
4667
5473
      esac
4668
5474
      ;;
4669
5475
    esac
4677
5483
need_locks="$enable_libtool_lock"
4678
5484
 
4679
5485
 
4680
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4681
 
 
4682
 
 
4683
 
 
4684
 
 
4685
 
 
4686
 
 
4687
 
 
4688
 
 
4689
 
 
4690
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4691
 
                  inttypes.h stdint.h unistd.h
4692
 
do
4693
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4694
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4695
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4696
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4698
 
else
4699
 
  cat >conftest.$ac_ext <<_ACEOF
4700
 
/* confdefs.h.  */
4701
 
_ACEOF
4702
 
cat confdefs.h >>conftest.$ac_ext
4703
 
cat >>conftest.$ac_ext <<_ACEOF
4704
 
/* end confdefs.h.  */
4705
 
$ac_includes_default
4706
 
 
4707
 
#include <$ac_header>
4708
 
_ACEOF
4709
 
rm -f conftest.$ac_objext
4710
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4711
 
  (eval $ac_compile) 2>conftest.er1
4712
 
  ac_status=$?
4713
 
  grep -v '^ *+' conftest.er1 >conftest.err
4714
 
  rm -f conftest.er1
4715
 
  cat conftest.err >&5
4716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717
 
  (exit $ac_status); } &&
4718
 
         { ac_try='test -z "$ac_c_werror_flag"
4719
 
                         || test ! -s conftest.err'
4720
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721
 
  (eval $ac_try) 2>&5
4722
 
  ac_status=$?
4723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724
 
  (exit $ac_status); }; } &&
4725
 
         { ac_try='test -s conftest.$ac_objext'
4726
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727
 
  (eval $ac_try) 2>&5
4728
 
  ac_status=$?
4729
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730
 
  (exit $ac_status); }; }; then
4731
 
  eval "$as_ac_Header=yes"
4732
 
else
4733
 
  echo "$as_me: failed program was:" >&5
4734
 
sed 's/^/| /' conftest.$ac_ext >&5
4735
 
 
4736
 
eval "$as_ac_Header=no"
4737
 
fi
4738
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4739
 
fi
4740
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4741
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4742
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4743
 
  cat >>confdefs.h <<_ACEOF
4744
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4745
 
_ACEOF
4746
 
 
4747
 
fi
4748
 
 
4749
 
done
4750
 
 
4751
 
 
4752
5486
 
4753
5487
for ac_header in dlfcn.h
4754
5488
do
4755
5489
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4756
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4757
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4758
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4759
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5490
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5491
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5492
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5493
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4760
5494
  echo $ECHO_N "(cached) $ECHO_C" >&6
4761
5495
fi
4762
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4763
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5496
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5497
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5498
echo "${ECHO_T}$ac_res" >&6; }
4764
5499
else
4765
5500
  # Is the header compilable?
4766
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4767
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5501
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5502
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4768
5503
cat >conftest.$ac_ext <<_ACEOF
4769
5504
/* confdefs.h.  */
4770
5505
_ACEOF
4775
5510
#include <$ac_header>
4776
5511
_ACEOF
4777
5512
rm -f conftest.$ac_objext
4778
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4779
 
  (eval $ac_compile) 2>conftest.er1
 
5513
if { (ac_try="$ac_compile"
 
5514
case "(($ac_try" in
 
5515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5516
  *) ac_try_echo=$ac_try;;
 
5517
esac
 
5518
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5519
  (eval "$ac_compile") 2>conftest.er1
4780
5520
  ac_status=$?
4781
5521
  grep -v '^ *+' conftest.er1 >conftest.err
4782
5522
  rm -f conftest.er1
4783
5523
  cat conftest.err >&5
4784
5524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785
 
  (exit $ac_status); } &&
4786
 
         { ac_try='test -z "$ac_c_werror_flag"
4787
 
                         || test ! -s conftest.err'
4788
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4789
 
  (eval $ac_try) 2>&5
4790
 
  ac_status=$?
4791
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792
 
  (exit $ac_status); }; } &&
4793
 
         { ac_try='test -s conftest.$ac_objext'
4794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795
 
  (eval $ac_try) 2>&5
4796
 
  ac_status=$?
4797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798
 
  (exit $ac_status); }; }; then
 
5525
  (exit $ac_status); } && {
 
5526
         test -z "$ac_c_werror_flag" ||
 
5527
         test ! -s conftest.err
 
5528
       } && test -s conftest.$ac_objext; then
4799
5529
  ac_header_compiler=yes
4800
5530
else
4801
5531
  echo "$as_me: failed program was:" >&5
4802
5532
sed 's/^/| /' conftest.$ac_ext >&5
4803
5533
 
4804
 
ac_header_compiler=no
 
5534
        ac_header_compiler=no
4805
5535
fi
4806
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4807
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4808
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5536
 
 
5537
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5538
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5539
echo "${ECHO_T}$ac_header_compiler" >&6; }
4809
5540
 
4810
5541
# Is the header present?
4811
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4812
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5542
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5543
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4813
5544
cat >conftest.$ac_ext <<_ACEOF
4814
5545
/* confdefs.h.  */
4815
5546
_ACEOF
4818
5549
/* end confdefs.h.  */
4819
5550
#include <$ac_header>
4820
5551
_ACEOF
4821
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4822
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5552
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5553
case "(($ac_try" in
 
5554
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5555
  *) ac_try_echo=$ac_try;;
 
5556
esac
 
5557
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5558
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4823
5559
  ac_status=$?
4824
5560
  grep -v '^ *+' conftest.er1 >conftest.err
4825
5561
  rm -f conftest.er1
4826
5562
  cat conftest.err >&5
4827
5563
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828
 
  (exit $ac_status); } >/dev/null; then
4829
 
  if test -s conftest.err; then
4830
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4831
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4832
 
  else
4833
 
    ac_cpp_err=
4834
 
  fi
4835
 
else
4836
 
  ac_cpp_err=yes
4837
 
fi
4838
 
if test -z "$ac_cpp_err"; then
 
5564
  (exit $ac_status); } >/dev/null && {
 
5565
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5566
         test ! -s conftest.err
 
5567
       }; then
4839
5568
  ac_header_preproc=yes
4840
5569
else
4841
5570
  echo "$as_me: failed program was:" >&5
4843
5572
 
4844
5573
  ac_header_preproc=no
4845
5574
fi
 
5575
 
4846
5576
rm -f conftest.err conftest.$ac_ext
4847
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4848
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5577
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5578
echo "${ECHO_T}$ac_header_preproc" >&6; }
4849
5579
 
4850
5580
# So?  What about this header?
4851
5581
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4869
5599
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4870
5600
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4871
5601
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4872
 
    (
4873
 
      cat <<\_ASBOX
 
5602
    ( cat <<\_ASBOX
4874
5603
## ------------------------------------------------------------------- ##
4875
5604
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=vino ##
4876
5605
## ------------------------------------------------------------------- ##
4877
5606
_ASBOX
4878
 
    ) |
4879
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5607
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4880
5608
    ;;
4881
5609
esac
4882
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4883
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4884
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5610
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5611
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5612
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4885
5613
  echo $ECHO_N "(cached) $ECHO_C" >&6
4886
5614
else
4887
5615
  eval "$as_ac_Header=\$ac_header_preproc"
4888
5616
fi
4889
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4890
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5617
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5618
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5619
echo "${ECHO_T}$ac_res" >&6; }
4891
5620
 
4892
5621
fi
4893
5622
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4899
5628
 
4900
5629
done
4901
5630
 
4902
 
ac_ext=cc
 
5631
ac_ext=cpp
4903
5632
ac_cpp='$CXXCPP $CPPFLAGS'
4904
5633
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4905
5634
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4906
5635
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4907
 
if test -n "$ac_tool_prefix"; then
4908
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5636
if test -z "$CXX"; then
 
5637
  if test -n "$CCC"; then
 
5638
    CXX=$CCC
 
5639
  else
 
5640
    if test -n "$ac_tool_prefix"; then
 
5641
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4909
5642
  do
4910
5643
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4911
5644
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4912
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4913
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5645
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5646
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4914
5647
if test "${ac_cv_prog_CXX+set}" = set; then
4915
5648
  echo $ECHO_N "(cached) $ECHO_C" >&6
4916
5649
else
4923
5656
  IFS=$as_save_IFS
4924
5657
  test -z "$as_dir" && as_dir=.
4925
5658
  for ac_exec_ext in '' $ac_executable_extensions; do
4926
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5659
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4927
5660
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4928
5661
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4929
5662
    break 2
4930
5663
  fi
4931
5664
done
4932
5665
done
 
5666
IFS=$as_save_IFS
4933
5667
 
4934
5668
fi
4935
5669
fi
4936
5670
CXX=$ac_cv_prog_CXX
4937
5671
if test -n "$CXX"; then
4938
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4939
 
echo "${ECHO_T}$CXX" >&6
 
5672
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5673
echo "${ECHO_T}$CXX" >&6; }
4940
5674
else
4941
 
  echo "$as_me:$LINENO: result: no" >&5
4942
 
echo "${ECHO_T}no" >&6
 
5675
  { echo "$as_me:$LINENO: result: no" >&5
 
5676
echo "${ECHO_T}no" >&6; }
4943
5677
fi
4944
5678
 
 
5679
 
4945
5680
    test -n "$CXX" && break
4946
5681
  done
4947
5682
fi
4948
5683
if test -z "$CXX"; then
4949
5684
  ac_ct_CXX=$CXX
4950
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5685
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4951
5686
do
4952
5687
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4953
5688
set dummy $ac_prog; ac_word=$2
4954
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4955
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5689
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5690
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4956
5691
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4957
5692
  echo $ECHO_N "(cached) $ECHO_C" >&6
4958
5693
else
4965
5700
  IFS=$as_save_IFS
4966
5701
  test -z "$as_dir" && as_dir=.
4967
5702
  for ac_exec_ext in '' $ac_executable_extensions; do
4968
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5703
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4969
5704
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4970
5705
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4971
5706
    break 2
4972
5707
  fi
4973
5708
done
4974
5709
done
 
5710
IFS=$as_save_IFS
4975
5711
 
4976
5712
fi
4977
5713
fi
4978
5714
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4979
5715
if test -n "$ac_ct_CXX"; then
4980
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4981
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5716
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5717
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4982
5718
else
4983
 
  echo "$as_me:$LINENO: result: no" >&5
4984
 
echo "${ECHO_T}no" >&6
 
5719
  { echo "$as_me:$LINENO: result: no" >&5
 
5720
echo "${ECHO_T}no" >&6; }
4985
5721
fi
4986
5722
 
 
5723
 
4987
5724
  test -n "$ac_ct_CXX" && break
4988
5725
done
4989
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4990
 
 
4991
 
  CXX=$ac_ct_CXX
4992
 
fi
4993
 
 
4994
 
 
 
5726
 
 
5727
  if test "x$ac_ct_CXX" = x; then
 
5728
    CXX="g++"
 
5729
  else
 
5730
    case $cross_compiling:$ac_tool_warned in
 
5731
yes:)
 
5732
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5733
whose name does not start with the host triplet.  If you think this
 
5734
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5735
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5736
whose name does not start with the host triplet.  If you think this
 
5737
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5738
ac_tool_warned=yes ;;
 
5739
esac
 
5740
    CXX=$ac_ct_CXX
 
5741
  fi
 
5742
fi
 
5743
 
 
5744
  fi
 
5745
fi
4995
5746
# Provide some information about the compiler.
4996
 
echo "$as_me:$LINENO:" \
4997
 
     "checking for C++ compiler version" >&5
 
5747
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4998
5748
ac_compiler=`set X $ac_compile; echo $2`
4999
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5000
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5001
 
  ac_status=$?
5002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003
 
  (exit $ac_status); }
5004
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5005
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5006
 
  ac_status=$?
5007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008
 
  (exit $ac_status); }
5009
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5010
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5749
{ (ac_try="$ac_compiler --version >&5"
 
5750
case "(($ac_try" in
 
5751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5752
  *) ac_try_echo=$ac_try;;
 
5753
esac
 
5754
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5755
  (eval "$ac_compiler --version >&5") 2>&5
 
5756
  ac_status=$?
 
5757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5758
  (exit $ac_status); }
 
5759
{ (ac_try="$ac_compiler -v >&5"
 
5760
case "(($ac_try" in
 
5761
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5762
  *) ac_try_echo=$ac_try;;
 
5763
esac
 
5764
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5765
  (eval "$ac_compiler -v >&5") 2>&5
 
5766
  ac_status=$?
 
5767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5768
  (exit $ac_status); }
 
5769
{ (ac_try="$ac_compiler -V >&5"
 
5770
case "(($ac_try" in
 
5771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5772
  *) ac_try_echo=$ac_try;;
 
5773
esac
 
5774
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5775
  (eval "$ac_compiler -V >&5") 2>&5
5011
5776
  ac_status=$?
5012
5777
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013
5778
  (exit $ac_status); }
5014
5779
 
5015
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5016
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5780
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5781
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5017
5782
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5018
5783
  echo $ECHO_N "(cached) $ECHO_C" >&6
5019
5784
else
5036
5801
}
5037
5802
_ACEOF
5038
5803
rm -f conftest.$ac_objext
5039
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040
 
  (eval $ac_compile) 2>conftest.er1
 
5804
if { (ac_try="$ac_compile"
 
5805
case "(($ac_try" in
 
5806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5807
  *) ac_try_echo=$ac_try;;
 
5808
esac
 
5809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5810
  (eval "$ac_compile") 2>conftest.er1
5041
5811
  ac_status=$?
5042
5812
  grep -v '^ *+' conftest.er1 >conftest.err
5043
5813
  rm -f conftest.er1
5044
5814
  cat conftest.err >&5
5045
5815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046
 
  (exit $ac_status); } &&
5047
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5048
 
                         || test ! -s conftest.err'
5049
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050
 
  (eval $ac_try) 2>&5
5051
 
  ac_status=$?
5052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053
 
  (exit $ac_status); }; } &&
5054
 
         { ac_try='test -s conftest.$ac_objext'
5055
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5056
 
  (eval $ac_try) 2>&5
5057
 
  ac_status=$?
5058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059
 
  (exit $ac_status); }; }; then
 
5816
  (exit $ac_status); } && {
 
5817
         test -z "$ac_cxx_werror_flag" ||
 
5818
         test ! -s conftest.err
 
5819
       } && test -s conftest.$ac_objext; then
5060
5820
  ac_compiler_gnu=yes
5061
5821
else
5062
5822
  echo "$as_me: failed program was:" >&5
5063
5823
sed 's/^/| /' conftest.$ac_ext >&5
5064
5824
 
5065
 
ac_compiler_gnu=no
 
5825
        ac_compiler_gnu=no
5066
5826
fi
5067
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5827
 
 
5828
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068
5829
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5069
5830
 
5070
5831
fi
5071
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5072
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5832
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5833
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5073
5834
GXX=`test $ac_compiler_gnu = yes && echo yes`
5074
5835
ac_test_CXXFLAGS=${CXXFLAGS+set}
5075
5836
ac_save_CXXFLAGS=$CXXFLAGS
5076
 
CXXFLAGS="-g"
5077
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5078
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5837
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5838
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5079
5839
if test "${ac_cv_prog_cxx_g+set}" = set; then
5080
5840
  echo $ECHO_N "(cached) $ECHO_C" >&6
5081
5841
else
5082
 
  cat >conftest.$ac_ext <<_ACEOF
5083
 
/* confdefs.h.  */
5084
 
_ACEOF
5085
 
cat confdefs.h >>conftest.$ac_ext
5086
 
cat >>conftest.$ac_ext <<_ACEOF
5087
 
/* end confdefs.h.  */
5088
 
 
5089
 
int
5090
 
main ()
5091
 
{
5092
 
 
5093
 
  ;
5094
 
  return 0;
5095
 
}
5096
 
_ACEOF
5097
 
rm -f conftest.$ac_objext
5098
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5099
 
  (eval $ac_compile) 2>conftest.er1
5100
 
  ac_status=$?
5101
 
  grep -v '^ *+' conftest.er1 >conftest.err
5102
 
  rm -f conftest.er1
5103
 
  cat conftest.err >&5
5104
 
  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_objext'
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
5119
 
  ac_cv_prog_cxx_g=yes
5120
 
else
5121
 
  echo "$as_me: failed program was:" >&5
5122
 
sed 's/^/| /' conftest.$ac_ext >&5
5123
 
 
5124
 
ac_cv_prog_cxx_g=no
5125
 
fi
5126
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5127
 
fi
5128
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5129
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5842
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5843
   ac_cxx_werror_flag=yes
 
5844
   ac_cv_prog_cxx_g=no
 
5845
   CXXFLAGS="-g"
 
5846
   cat >conftest.$ac_ext <<_ACEOF
 
5847
/* confdefs.h.  */
 
5848
_ACEOF
 
5849
cat confdefs.h >>conftest.$ac_ext
 
5850
cat >>conftest.$ac_ext <<_ACEOF
 
5851
/* end confdefs.h.  */
 
5852
 
 
5853
int
 
5854
main ()
 
5855
{
 
5856
 
 
5857
  ;
 
5858
  return 0;
 
5859
}
 
5860
_ACEOF
 
5861
rm -f conftest.$ac_objext
 
5862
if { (ac_try="$ac_compile"
 
5863
case "(($ac_try" in
 
5864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5865
  *) ac_try_echo=$ac_try;;
 
5866
esac
 
5867
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5868
  (eval "$ac_compile") 2>conftest.er1
 
5869
  ac_status=$?
 
5870
  grep -v '^ *+' conftest.er1 >conftest.err
 
5871
  rm -f conftest.er1
 
5872
  cat conftest.err >&5
 
5873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5874
  (exit $ac_status); } && {
 
5875
         test -z "$ac_cxx_werror_flag" ||
 
5876
         test ! -s conftest.err
 
5877
       } && test -s conftest.$ac_objext; then
 
5878
  ac_cv_prog_cxx_g=yes
 
5879
else
 
5880
  echo "$as_me: failed program was:" >&5
 
5881
sed 's/^/| /' conftest.$ac_ext >&5
 
5882
 
 
5883
        CXXFLAGS=""
 
5884
      cat >conftest.$ac_ext <<_ACEOF
 
5885
/* confdefs.h.  */
 
5886
_ACEOF
 
5887
cat confdefs.h >>conftest.$ac_ext
 
5888
cat >>conftest.$ac_ext <<_ACEOF
 
5889
/* end confdefs.h.  */
 
5890
 
 
5891
int
 
5892
main ()
 
5893
{
 
5894
 
 
5895
  ;
 
5896
  return 0;
 
5897
}
 
5898
_ACEOF
 
5899
rm -f conftest.$ac_objext
 
5900
if { (ac_try="$ac_compile"
 
5901
case "(($ac_try" in
 
5902
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5903
  *) ac_try_echo=$ac_try;;
 
5904
esac
 
5905
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5906
  (eval "$ac_compile") 2>conftest.er1
 
5907
  ac_status=$?
 
5908
  grep -v '^ *+' conftest.er1 >conftest.err
 
5909
  rm -f conftest.er1
 
5910
  cat conftest.err >&5
 
5911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5912
  (exit $ac_status); } && {
 
5913
         test -z "$ac_cxx_werror_flag" ||
 
5914
         test ! -s conftest.err
 
5915
       } && test -s conftest.$ac_objext; then
 
5916
  :
 
5917
else
 
5918
  echo "$as_me: failed program was:" >&5
 
5919
sed 's/^/| /' conftest.$ac_ext >&5
 
5920
 
 
5921
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5922
         CXXFLAGS="-g"
 
5923
         cat >conftest.$ac_ext <<_ACEOF
 
5924
/* confdefs.h.  */
 
5925
_ACEOF
 
5926
cat confdefs.h >>conftest.$ac_ext
 
5927
cat >>conftest.$ac_ext <<_ACEOF
 
5928
/* end confdefs.h.  */
 
5929
 
 
5930
int
 
5931
main ()
 
5932
{
 
5933
 
 
5934
  ;
 
5935
  return 0;
 
5936
}
 
5937
_ACEOF
 
5938
rm -f conftest.$ac_objext
 
5939
if { (ac_try="$ac_compile"
 
5940
case "(($ac_try" in
 
5941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5942
  *) ac_try_echo=$ac_try;;
 
5943
esac
 
5944
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5945
  (eval "$ac_compile") 2>conftest.er1
 
5946
  ac_status=$?
 
5947
  grep -v '^ *+' conftest.er1 >conftest.err
 
5948
  rm -f conftest.er1
 
5949
  cat conftest.err >&5
 
5950
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5951
  (exit $ac_status); } && {
 
5952
         test -z "$ac_cxx_werror_flag" ||
 
5953
         test ! -s conftest.err
 
5954
       } && test -s conftest.$ac_objext; then
 
5955
  ac_cv_prog_cxx_g=yes
 
5956
else
 
5957
  echo "$as_me: failed program was:" >&5
 
5958
sed 's/^/| /' conftest.$ac_ext >&5
 
5959
 
 
5960
 
 
5961
fi
 
5962
 
 
5963
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5964
fi
 
5965
 
 
5966
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5967
fi
 
5968
 
 
5969
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5970
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5971
fi
 
5972
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5973
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5130
5974
if test "$ac_test_CXXFLAGS" = set; then
5131
5975
  CXXFLAGS=$ac_save_CXXFLAGS
5132
5976
elif test $ac_cv_prog_cxx_g = yes; then
5142
5986
    CXXFLAGS=
5143
5987
  fi
5144
5988
fi
5145
 
for ac_declaration in \
5146
 
   '' \
5147
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
5148
 
   'extern "C" void std::exit (int); using std::exit;' \
5149
 
   'extern "C" void exit (int) throw ();' \
5150
 
   'extern "C" void exit (int);' \
5151
 
   'void exit (int);'
5152
 
do
5153
 
  cat >conftest.$ac_ext <<_ACEOF
5154
 
/* confdefs.h.  */
5155
 
_ACEOF
5156
 
cat confdefs.h >>conftest.$ac_ext
5157
 
cat >>conftest.$ac_ext <<_ACEOF
5158
 
/* end confdefs.h.  */
5159
 
$ac_declaration
5160
 
#include <stdlib.h>
5161
 
int
5162
 
main ()
5163
 
{
5164
 
exit (42);
5165
 
  ;
5166
 
  return 0;
5167
 
}
5168
 
_ACEOF
5169
 
rm -f conftest.$ac_objext
5170
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5171
 
  (eval $ac_compile) 2>conftest.er1
5172
 
  ac_status=$?
5173
 
  grep -v '^ *+' conftest.er1 >conftest.err
5174
 
  rm -f conftest.er1
5175
 
  cat conftest.err >&5
5176
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177
 
  (exit $ac_status); } &&
5178
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5179
 
                         || test ! -s conftest.err'
5180
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5181
 
  (eval $ac_try) 2>&5
5182
 
  ac_status=$?
5183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184
 
  (exit $ac_status); }; } &&
5185
 
         { ac_try='test -s conftest.$ac_objext'
5186
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5187
 
  (eval $ac_try) 2>&5
5188
 
  ac_status=$?
5189
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190
 
  (exit $ac_status); }; }; then
5191
 
  :
5192
 
else
5193
 
  echo "$as_me: failed program was:" >&5
5194
 
sed 's/^/| /' conftest.$ac_ext >&5
5195
 
 
5196
 
continue
5197
 
fi
5198
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5199
 
  cat >conftest.$ac_ext <<_ACEOF
5200
 
/* confdefs.h.  */
5201
 
_ACEOF
5202
 
cat confdefs.h >>conftest.$ac_ext
5203
 
cat >>conftest.$ac_ext <<_ACEOF
5204
 
/* end confdefs.h.  */
5205
 
$ac_declaration
5206
 
int
5207
 
main ()
5208
 
{
5209
 
exit (42);
5210
 
  ;
5211
 
  return 0;
5212
 
}
5213
 
_ACEOF
5214
 
rm -f conftest.$ac_objext
5215
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5216
 
  (eval $ac_compile) 2>conftest.er1
5217
 
  ac_status=$?
5218
 
  grep -v '^ *+' conftest.er1 >conftest.err
5219
 
  rm -f conftest.er1
5220
 
  cat conftest.err >&5
5221
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222
 
  (exit $ac_status); } &&
5223
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5224
 
                         || test ! -s conftest.err'
5225
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5226
 
  (eval $ac_try) 2>&5
5227
 
  ac_status=$?
5228
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229
 
  (exit $ac_status); }; } &&
5230
 
         { ac_try='test -s conftest.$ac_objext'
5231
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5232
 
  (eval $ac_try) 2>&5
5233
 
  ac_status=$?
5234
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235
 
  (exit $ac_status); }; }; then
5236
 
  break
5237
 
else
5238
 
  echo "$as_me: failed program was:" >&5
5239
 
sed 's/^/| /' conftest.$ac_ext >&5
5240
 
 
5241
 
fi
5242
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5243
 
done
5244
 
rm -f conftest*
5245
 
if test -n "$ac_declaration"; then
5246
 
  echo '#ifdef __cplusplus' >>confdefs.h
5247
 
  echo $ac_declaration      >>confdefs.h
5248
 
  echo '#endif'             >>confdefs.h
5249
 
fi
5250
 
 
5251
 
ac_ext=cc
 
5989
ac_ext=cpp
5252
5990
ac_cpp='$CXXCPP $CPPFLAGS'
5253
5991
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5254
5992
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5256
5994
 
5257
5995
depcc="$CXX"  am_compiler_list=
5258
5996
 
5259
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5260
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5997
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5998
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5261
5999
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5262
6000
  echo $ECHO_N "(cached) $ECHO_C" >&6
5263
6001
else
5346
6084
fi
5347
6085
 
5348
6086
fi
5349
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5350
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
6087
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6088
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5351
6089
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5352
6090
 
5353
6091
 
5368
6106
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5369
6107
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5370
6108
    (test "X$CXX" != "Xg++"))) ; then
5371
 
  ac_ext=cc
 
6109
  ac_ext=cpp
5372
6110
ac_cpp='$CXXCPP $CPPFLAGS'
5373
6111
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5374
6112
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5375
6113
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5376
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5377
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
6114
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6115
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5378
6116
if test -z "$CXXCPP"; then
5379
6117
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5380
6118
  echo $ECHO_N "(cached) $ECHO_C" >&6
5404
6142
#endif
5405
6143
                     Syntax error
5406
6144
_ACEOF
5407
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5408
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6145
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6146
case "(($ac_try" in
 
6147
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6148
  *) ac_try_echo=$ac_try;;
 
6149
esac
 
6150
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6151
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5409
6152
  ac_status=$?
5410
6153
  grep -v '^ *+' conftest.er1 >conftest.err
5411
6154
  rm -f conftest.er1
5412
6155
  cat conftest.err >&5
5413
6156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414
 
  (exit $ac_status); } >/dev/null; then
5415
 
  if test -s conftest.err; then
5416
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5417
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5418
 
  else
5419
 
    ac_cpp_err=
5420
 
  fi
5421
 
else
5422
 
  ac_cpp_err=yes
5423
 
fi
5424
 
if test -z "$ac_cpp_err"; then
 
6157
  (exit $ac_status); } >/dev/null && {
 
6158
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6159
         test ! -s conftest.err
 
6160
       }; then
5425
6161
  :
5426
6162
else
5427
6163
  echo "$as_me: failed program was:" >&5
5430
6166
  # Broken: fails on valid input.
5431
6167
continue
5432
6168
fi
 
6169
 
5433
6170
rm -f conftest.err conftest.$ac_ext
5434
6171
 
5435
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6172
  # OK, works on sane cases.  Now check whether nonexistent headers
5436
6173
  # can be detected and how.
5437
6174
  cat >conftest.$ac_ext <<_ACEOF
5438
6175
/* confdefs.h.  */
5442
6179
/* end confdefs.h.  */
5443
6180
#include <ac_nonexistent.h>
5444
6181
_ACEOF
5445
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5446
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6182
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6183
case "(($ac_try" in
 
6184
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6185
  *) ac_try_echo=$ac_try;;
 
6186
esac
 
6187
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6188
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5447
6189
  ac_status=$?
5448
6190
  grep -v '^ *+' conftest.er1 >conftest.err
5449
6191
  rm -f conftest.er1
5450
6192
  cat conftest.err >&5
5451
6193
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452
 
  (exit $ac_status); } >/dev/null; then
5453
 
  if test -s conftest.err; then
5454
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5455
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5456
 
  else
5457
 
    ac_cpp_err=
5458
 
  fi
5459
 
else
5460
 
  ac_cpp_err=yes
5461
 
fi
5462
 
if test -z "$ac_cpp_err"; then
 
6194
  (exit $ac_status); } >/dev/null && {
 
6195
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6196
         test ! -s conftest.err
 
6197
       }; then
5463
6198
  # Broken: success on invalid input.
5464
6199
continue
5465
6200
else
5470
6205
ac_preproc_ok=:
5471
6206
break
5472
6207
fi
 
6208
 
5473
6209
rm -f conftest.err conftest.$ac_ext
5474
6210
 
5475
6211
done
5487
6223
else
5488
6224
  ac_cv_prog_CXXCPP=$CXXCPP
5489
6225
fi
5490
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5491
 
echo "${ECHO_T}$CXXCPP" >&6
 
6226
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6227
echo "${ECHO_T}$CXXCPP" >&6; }
5492
6228
ac_preproc_ok=false
5493
6229
for ac_cxx_preproc_warn_flag in '' yes
5494
6230
do
5511
6247
#endif
5512
6248
                     Syntax error
5513
6249
_ACEOF
5514
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5515
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6250
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6251
case "(($ac_try" in
 
6252
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6253
  *) ac_try_echo=$ac_try;;
 
6254
esac
 
6255
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6256
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5516
6257
  ac_status=$?
5517
6258
  grep -v '^ *+' conftest.er1 >conftest.err
5518
6259
  rm -f conftest.er1
5519
6260
  cat conftest.err >&5
5520
6261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521
 
  (exit $ac_status); } >/dev/null; then
5522
 
  if test -s conftest.err; then
5523
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5524
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5525
 
  else
5526
 
    ac_cpp_err=
5527
 
  fi
5528
 
else
5529
 
  ac_cpp_err=yes
5530
 
fi
5531
 
if test -z "$ac_cpp_err"; then
 
6262
  (exit $ac_status); } >/dev/null && {
 
6263
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6264
         test ! -s conftest.err
 
6265
       }; then
5532
6266
  :
5533
6267
else
5534
6268
  echo "$as_me: failed program was:" >&5
5537
6271
  # Broken: fails on valid input.
5538
6272
continue
5539
6273
fi
 
6274
 
5540
6275
rm -f conftest.err conftest.$ac_ext
5541
6276
 
5542
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6277
  # OK, works on sane cases.  Now check whether nonexistent headers
5543
6278
  # can be detected and how.
5544
6279
  cat >conftest.$ac_ext <<_ACEOF
5545
6280
/* confdefs.h.  */
5549
6284
/* end confdefs.h.  */
5550
6285
#include <ac_nonexistent.h>
5551
6286
_ACEOF
5552
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5553
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6287
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6288
case "(($ac_try" in
 
6289
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6290
  *) ac_try_echo=$ac_try;;
 
6291
esac
 
6292
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6293
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5554
6294
  ac_status=$?
5555
6295
  grep -v '^ *+' conftest.er1 >conftest.err
5556
6296
  rm -f conftest.er1
5557
6297
  cat conftest.err >&5
5558
6298
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559
 
  (exit $ac_status); } >/dev/null; then
5560
 
  if test -s conftest.err; then
5561
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5562
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5563
 
  else
5564
 
    ac_cpp_err=
5565
 
  fi
5566
 
else
5567
 
  ac_cpp_err=yes
5568
 
fi
5569
 
if test -z "$ac_cpp_err"; then
 
6299
  (exit $ac_status); } >/dev/null && {
 
6300
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6301
         test ! -s conftest.err
 
6302
       }; then
5570
6303
  # Broken: success on invalid input.
5571
6304
continue
5572
6305
else
5577
6310
ac_preproc_ok=:
5578
6311
break
5579
6312
fi
 
6313
 
5580
6314
rm -f conftest.err conftest.$ac_ext
5581
6315
 
5582
6316
done
5592
6326
   { (exit 1); exit 1; }; }
5593
6327
fi
5594
6328
 
5595
 
ac_ext=cc
 
6329
ac_ext=cpp
5596
6330
ac_cpp='$CXXCPP $CPPFLAGS'
5597
6331
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5598
6332
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5606
6340
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607
6341
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5608
6342
if test -n "$ac_tool_prefix"; then
5609
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6343
  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
5610
6344
  do
5611
6345
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5612
6346
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5613
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5614
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6347
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6348
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5615
6349
if test "${ac_cv_prog_F77+set}" = set; then
5616
6350
  echo $ECHO_N "(cached) $ECHO_C" >&6
5617
6351
else
5624
6358
  IFS=$as_save_IFS
5625
6359
  test -z "$as_dir" && as_dir=.
5626
6360
  for ac_exec_ext in '' $ac_executable_extensions; do
5627
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6361
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5628
6362
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5629
6363
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5630
6364
    break 2
5631
6365
  fi
5632
6366
done
5633
6367
done
 
6368
IFS=$as_save_IFS
5634
6369
 
5635
6370
fi
5636
6371
fi
5637
6372
F77=$ac_cv_prog_F77
5638
6373
if test -n "$F77"; then
5639
 
  echo "$as_me:$LINENO: result: $F77" >&5
5640
 
echo "${ECHO_T}$F77" >&6
 
6374
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6375
echo "${ECHO_T}$F77" >&6; }
5641
6376
else
5642
 
  echo "$as_me:$LINENO: result: no" >&5
5643
 
echo "${ECHO_T}no" >&6
 
6377
  { echo "$as_me:$LINENO: result: no" >&5
 
6378
echo "${ECHO_T}no" >&6; }
5644
6379
fi
5645
6380
 
 
6381
 
5646
6382
    test -n "$F77" && break
5647
6383
  done
5648
6384
fi
5649
6385
if test -z "$F77"; then
5650
6386
  ac_ct_F77=$F77
5651
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6387
  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
5652
6388
do
5653
6389
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5654
6390
set dummy $ac_prog; ac_word=$2
5655
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5656
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6391
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6392
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5657
6393
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5658
6394
  echo $ECHO_N "(cached) $ECHO_C" >&6
5659
6395
else
5666
6402
  IFS=$as_save_IFS
5667
6403
  test -z "$as_dir" && as_dir=.
5668
6404
  for ac_exec_ext in '' $ac_executable_extensions; do
5669
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6405
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5670
6406
    ac_cv_prog_ac_ct_F77="$ac_prog"
5671
6407
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5672
6408
    break 2
5673
6409
  fi
5674
6410
done
5675
6411
done
 
6412
IFS=$as_save_IFS
5676
6413
 
5677
6414
fi
5678
6415
fi
5679
6416
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5680
6417
if test -n "$ac_ct_F77"; then
5681
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5682
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6418
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6419
echo "${ECHO_T}$ac_ct_F77" >&6; }
5683
6420
else
5684
 
  echo "$as_me:$LINENO: result: no" >&5
5685
 
echo "${ECHO_T}no" >&6
 
6421
  { echo "$as_me:$LINENO: result: no" >&5
 
6422
echo "${ECHO_T}no" >&6; }
5686
6423
fi
5687
6424
 
 
6425
 
5688
6426
  test -n "$ac_ct_F77" && break
5689
6427
done
5690
6428
 
5691
 
  F77=$ac_ct_F77
 
6429
  if test "x$ac_ct_F77" = x; then
 
6430
    F77=""
 
6431
  else
 
6432
    case $cross_compiling:$ac_tool_warned in
 
6433
yes:)
 
6434
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6435
whose name does not start with the host triplet.  If you think this
 
6436
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6437
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6438
whose name does not start with the host triplet.  If you think this
 
6439
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6440
ac_tool_warned=yes ;;
 
6441
esac
 
6442
    F77=$ac_ct_F77
 
6443
  fi
5692
6444
fi
5693
6445
 
5694
6446
 
5695
6447
# Provide some information about the compiler.
5696
 
echo "$as_me:5696:" \
5697
 
     "checking for Fortran 77 compiler version" >&5
 
6448
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5698
6449
ac_compiler=`set X $ac_compile; echo $2`
5699
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5700
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5701
 
  ac_status=$?
5702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703
 
  (exit $ac_status); }
5704
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5705
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5706
 
  ac_status=$?
5707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708
 
  (exit $ac_status); }
5709
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5710
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6450
{ (ac_try="$ac_compiler --version >&5"
 
6451
case "(($ac_try" in
 
6452
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6453
  *) ac_try_echo=$ac_try;;
 
6454
esac
 
6455
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6456
  (eval "$ac_compiler --version >&5") 2>&5
 
6457
  ac_status=$?
 
6458
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6459
  (exit $ac_status); }
 
6460
{ (ac_try="$ac_compiler -v >&5"
 
6461
case "(($ac_try" in
 
6462
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6463
  *) ac_try_echo=$ac_try;;
 
6464
esac
 
6465
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6466
  (eval "$ac_compiler -v >&5") 2>&5
 
6467
  ac_status=$?
 
6468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6469
  (exit $ac_status); }
 
6470
{ (ac_try="$ac_compiler -V >&5"
 
6471
case "(($ac_try" in
 
6472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6473
  *) ac_try_echo=$ac_try;;
 
6474
esac
 
6475
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6476
  (eval "$ac_compiler -V >&5") 2>&5
5711
6477
  ac_status=$?
5712
6478
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713
6479
  (exit $ac_status); }
5717
6483
# input file.  (Note that this only needs to work for GNU compilers.)
5718
6484
ac_save_ext=$ac_ext
5719
6485
ac_ext=F
5720
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5721
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6486
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6487
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5722
6488
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5723
6489
  echo $ECHO_N "(cached) $ECHO_C" >&6
5724
6490
else
5731
6497
      end
5732
6498
_ACEOF
5733
6499
rm -f conftest.$ac_objext
5734
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5735
 
  (eval $ac_compile) 2>conftest.er1
 
6500
if { (ac_try="$ac_compile"
 
6501
case "(($ac_try" in
 
6502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6503
  *) ac_try_echo=$ac_try;;
 
6504
esac
 
6505
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6506
  (eval "$ac_compile") 2>conftest.er1
5736
6507
  ac_status=$?
5737
6508
  grep -v '^ *+' conftest.er1 >conftest.err
5738
6509
  rm -f conftest.er1
5739
6510
  cat conftest.err >&5
5740
6511
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741
 
  (exit $ac_status); } &&
5742
 
         { ac_try='test -z "$ac_f77_werror_flag"
5743
 
                         || test ! -s conftest.err'
5744
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5745
 
  (eval $ac_try) 2>&5
5746
 
  ac_status=$?
5747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748
 
  (exit $ac_status); }; } &&
5749
 
         { ac_try='test -s conftest.$ac_objext'
5750
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5751
 
  (eval $ac_try) 2>&5
5752
 
  ac_status=$?
5753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754
 
  (exit $ac_status); }; }; then
 
6512
  (exit $ac_status); } && {
 
6513
         test -z "$ac_f77_werror_flag" ||
 
6514
         test ! -s conftest.err
 
6515
       } && test -s conftest.$ac_objext; then
5755
6516
  ac_compiler_gnu=yes
5756
6517
else
5757
6518
  echo "$as_me: failed program was:" >&5
5758
6519
sed 's/^/| /' conftest.$ac_ext >&5
5759
6520
 
5760
 
ac_compiler_gnu=no
 
6521
        ac_compiler_gnu=no
5761
6522
fi
5762
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6523
 
 
6524
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5763
6525
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5764
6526
 
5765
6527
fi
5766
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5767
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6528
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6529
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5768
6530
ac_ext=$ac_save_ext
5769
6531
ac_test_FFLAGS=${FFLAGS+set}
5770
6532
ac_save_FFLAGS=$FFLAGS
5771
6533
FFLAGS=
5772
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5773
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6534
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6535
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5774
6536
if test "${ac_cv_prog_f77_g+set}" = set; then
5775
6537
  echo $ECHO_N "(cached) $ECHO_C" >&6
5776
6538
else
5781
6543
      end
5782
6544
_ACEOF
5783
6545
rm -f conftest.$ac_objext
5784
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5785
 
  (eval $ac_compile) 2>conftest.er1
 
6546
if { (ac_try="$ac_compile"
 
6547
case "(($ac_try" in
 
6548
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6549
  *) ac_try_echo=$ac_try;;
 
6550
esac
 
6551
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6552
  (eval "$ac_compile") 2>conftest.er1
5786
6553
  ac_status=$?
5787
6554
  grep -v '^ *+' conftest.er1 >conftest.err
5788
6555
  rm -f conftest.er1
5789
6556
  cat conftest.err >&5
5790
6557
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791
 
  (exit $ac_status); } &&
5792
 
         { ac_try='test -z "$ac_f77_werror_flag"
5793
 
                         || test ! -s conftest.err'
5794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795
 
  (eval $ac_try) 2>&5
5796
 
  ac_status=$?
5797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798
 
  (exit $ac_status); }; } &&
5799
 
         { ac_try='test -s conftest.$ac_objext'
5800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801
 
  (eval $ac_try) 2>&5
5802
 
  ac_status=$?
5803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804
 
  (exit $ac_status); }; }; then
 
6558
  (exit $ac_status); } && {
 
6559
         test -z "$ac_f77_werror_flag" ||
 
6560
         test ! -s conftest.err
 
6561
       } && test -s conftest.$ac_objext; then
5805
6562
  ac_cv_prog_f77_g=yes
5806
6563
else
5807
6564
  echo "$as_me: failed program was:" >&5
5808
6565
sed 's/^/| /' conftest.$ac_ext >&5
5809
6566
 
5810
 
ac_cv_prog_f77_g=no
5811
 
fi
5812
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5813
 
 
5814
 
fi
5815
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5816
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6567
        ac_cv_prog_f77_g=no
 
6568
fi
 
6569
 
 
6570
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6571
 
 
6572
fi
 
6573
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6574
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5817
6575
if test "$ac_test_FFLAGS" = set; then
5818
6576
  FFLAGS=$ac_save_FFLAGS
5819
6577
elif test $ac_cv_prog_f77_g = yes; then
5840
6598
 
5841
6599
 
5842
6600
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5843
 
 
5844
6601
# find the maximum length of command line arguments
5845
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5846
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6602
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6603
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5847
6604
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5848
6605
  echo $ECHO_N "(cached) $ECHO_C" >&6
5849
6606
else
5927
6684
    fi
5928
6685
    ;;
5929
6686
  *)
5930
 
    # If test is not a shell built-in, we'll probably end up computing a
5931
 
    # maximum length that is only half of the actual maximum length, but
5932
 
    # we can't tell.
5933
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5934
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6687
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6688
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6689
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6690
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6691
    else
 
6692
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6693
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5935
6694
               = "XX$teststring") >/dev/null 2>&1 &&
5936
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5937
 
            lt_cv_sys_max_cmd_len=$new_result &&
5938
 
            test $i != 17 # 1/2 MB should be enough
5939
 
    do
5940
 
      i=`expr $i + 1`
5941
 
      teststring=$teststring$teststring
5942
 
    done
5943
 
    teststring=
5944
 
    # Add a significant safety factor because C++ compilers can tack on massive
5945
 
    # amounts of additional arguments before passing them to the linker.
5946
 
    # It appears as though 1/2 is a usable value.
5947
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6695
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6696
              lt_cv_sys_max_cmd_len=$new_result &&
 
6697
              test $i != 17 # 1/2 MB should be enough
 
6698
      do
 
6699
        i=`expr $i + 1`
 
6700
        teststring=$teststring$teststring
 
6701
      done
 
6702
      teststring=
 
6703
      # Add a significant safety factor because C++ compilers can tack on massive
 
6704
      # amounts of additional arguments before passing them to the linker.
 
6705
      # It appears as though 1/2 is a usable value.
 
6706
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6707
    fi
5948
6708
    ;;
5949
6709
  esac
5950
6710
 
5951
6711
fi
5952
6712
 
5953
6713
if test -n $lt_cv_sys_max_cmd_len ; then
5954
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5955
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6714
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6715
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5956
6716
else
5957
 
  echo "$as_me:$LINENO: result: none" >&5
5958
 
echo "${ECHO_T}none" >&6
 
6717
  { echo "$as_me:$LINENO: result: none" >&5
 
6718
echo "${ECHO_T}none" >&6; }
5959
6719
fi
5960
6720
 
5961
6721
 
5962
6722
 
5963
6723
 
 
6724
 
5964
6725
# Check for command to grab the raw symbol name followed by C symbol from nm.
5965
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5966
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6726
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6727
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5967
6728
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5968
6729
  echo $ECHO_N "(cached) $ECHO_C" >&6
5969
6730
else
5998
6759
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5999
6760
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6000
6761
  ;;
6001
 
linux*)
 
6762
linux* | k*bsd*-gnu)
6002
6763
  if test "$host_cpu" = ia64; then
6003
6764
    symcode='[ABCDGIRSTW]'
6004
6765
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6151
6912
    echo "$progname: failed program was:" >&5
6152
6913
    cat conftest.$ac_ext >&5
6153
6914
  fi
6154
 
  rm -f conftest* conftst*
 
6915
  rm -rf conftest* conftst*
6155
6916
 
6156
6917
  # Do not use the global_symbol_pipe unless it works.
6157
6918
  if test "$pipe_works" = yes; then
6167
6928
  lt_cv_sys_global_symbol_to_cdecl=
6168
6929
fi
6169
6930
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6170
 
  echo "$as_me:$LINENO: result: failed" >&5
6171
 
echo "${ECHO_T}failed" >&6
 
6931
  { echo "$as_me:$LINENO: result: failed" >&5
 
6932
echo "${ECHO_T}failed" >&6; }
6172
6933
else
6173
 
  echo "$as_me:$LINENO: result: ok" >&5
6174
 
echo "${ECHO_T}ok" >&6
 
6934
  { echo "$as_me:$LINENO: result: ok" >&5
 
6935
echo "${ECHO_T}ok" >&6; }
6175
6936
fi
6176
6937
 
6177
 
echo "$as_me:$LINENO: checking for objdir" >&5
6178
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6938
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6939
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6179
6940
if test "${lt_cv_objdir+set}" = set; then
6180
6941
  echo $ECHO_N "(cached) $ECHO_C" >&6
6181
6942
else
6189
6950
fi
6190
6951
rmdir .libs 2>/dev/null
6191
6952
fi
6192
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6193
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6953
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6954
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6194
6955
objdir=$lt_cv_objdir
6195
6956
 
6196
6957
 
6241
7002
if test -n "$ac_tool_prefix"; then
6242
7003
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6243
7004
set dummy ${ac_tool_prefix}ar; ac_word=$2
6244
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6245
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7005
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7006
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6246
7007
if test "${ac_cv_prog_AR+set}" = set; then
6247
7008
  echo $ECHO_N "(cached) $ECHO_C" >&6
6248
7009
else
6255
7016
  IFS=$as_save_IFS
6256
7017
  test -z "$as_dir" && as_dir=.
6257
7018
  for ac_exec_ext in '' $ac_executable_extensions; do
6258
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7019
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259
7020
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6260
7021
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6261
7022
    break 2
6262
7023
  fi
6263
7024
done
6264
7025
done
 
7026
IFS=$as_save_IFS
6265
7027
 
6266
7028
fi
6267
7029
fi
6268
7030
AR=$ac_cv_prog_AR
6269
7031
if test -n "$AR"; then
6270
 
  echo "$as_me:$LINENO: result: $AR" >&5
6271
 
echo "${ECHO_T}$AR" >&6
 
7032
  { echo "$as_me:$LINENO: result: $AR" >&5
 
7033
echo "${ECHO_T}$AR" >&6; }
6272
7034
else
6273
 
  echo "$as_me:$LINENO: result: no" >&5
6274
 
echo "${ECHO_T}no" >&6
 
7035
  { echo "$as_me:$LINENO: result: no" >&5
 
7036
echo "${ECHO_T}no" >&6; }
6275
7037
fi
 
7038
 
6276
7039
 
6277
7040
fi
6278
7041
if test -z "$ac_cv_prog_AR"; then
6279
7042
  ac_ct_AR=$AR
6280
7043
  # Extract the first word of "ar", so it can be a program name with args.
6281
7044
set dummy ar; ac_word=$2
6282
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6283
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7045
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7046
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6284
7047
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6285
7048
  echo $ECHO_N "(cached) $ECHO_C" >&6
6286
7049
else
6293
7056
  IFS=$as_save_IFS
6294
7057
  test -z "$as_dir" && as_dir=.
6295
7058
  for ac_exec_ext in '' $ac_executable_extensions; do
6296
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7059
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6297
7060
    ac_cv_prog_ac_ct_AR="ar"
6298
7061
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6299
7062
    break 2
6300
7063
  fi
6301
7064
done
6302
7065
done
 
7066
IFS=$as_save_IFS
6303
7067
 
6304
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6305
7068
fi
6306
7069
fi
6307
7070
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6308
7071
if test -n "$ac_ct_AR"; then
6309
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6310
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
7072
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7073
echo "${ECHO_T}$ac_ct_AR" >&6; }
6311
7074
else
6312
 
  echo "$as_me:$LINENO: result: no" >&5
6313
 
echo "${ECHO_T}no" >&6
 
7075
  { echo "$as_me:$LINENO: result: no" >&5
 
7076
echo "${ECHO_T}no" >&6; }
6314
7077
fi
6315
7078
 
6316
 
  AR=$ac_ct_AR
 
7079
  if test "x$ac_ct_AR" = x; then
 
7080
    AR="false"
 
7081
  else
 
7082
    case $cross_compiling:$ac_tool_warned in
 
7083
yes:)
 
7084
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7085
whose name does not start with the host triplet.  If you think this
 
7086
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7087
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7088
whose name does not start with the host triplet.  If you think this
 
7089
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7090
ac_tool_warned=yes ;;
 
7091
esac
 
7092
    AR=$ac_ct_AR
 
7093
  fi
6317
7094
else
6318
7095
  AR="$ac_cv_prog_AR"
6319
7096
fi
6321
7098
if test -n "$ac_tool_prefix"; then
6322
7099
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6323
7100
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6324
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6325
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7101
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7102
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6326
7103
if test "${ac_cv_prog_RANLIB+set}" = set; then
6327
7104
  echo $ECHO_N "(cached) $ECHO_C" >&6
6328
7105
else
6335
7112
  IFS=$as_save_IFS
6336
7113
  test -z "$as_dir" && as_dir=.
6337
7114
  for ac_exec_ext in '' $ac_executable_extensions; do
6338
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7115
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339
7116
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6340
7117
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6341
7118
    break 2
6342
7119
  fi
6343
7120
done
6344
7121
done
 
7122
IFS=$as_save_IFS
6345
7123
 
6346
7124
fi
6347
7125
fi
6348
7126
RANLIB=$ac_cv_prog_RANLIB
6349
7127
if test -n "$RANLIB"; then
6350
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6351
 
echo "${ECHO_T}$RANLIB" >&6
 
7128
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7129
echo "${ECHO_T}$RANLIB" >&6; }
6352
7130
else
6353
 
  echo "$as_me:$LINENO: result: no" >&5
6354
 
echo "${ECHO_T}no" >&6
 
7131
  { echo "$as_me:$LINENO: result: no" >&5
 
7132
echo "${ECHO_T}no" >&6; }
6355
7133
fi
 
7134
 
6356
7135
 
6357
7136
fi
6358
7137
if test -z "$ac_cv_prog_RANLIB"; then
6359
7138
  ac_ct_RANLIB=$RANLIB
6360
7139
  # Extract the first word of "ranlib", so it can be a program name with args.
6361
7140
set dummy ranlib; ac_word=$2
6362
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6363
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7141
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7142
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6364
7143
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6365
7144
  echo $ECHO_N "(cached) $ECHO_C" >&6
6366
7145
else
6373
7152
  IFS=$as_save_IFS
6374
7153
  test -z "$as_dir" && as_dir=.
6375
7154
  for ac_exec_ext in '' $ac_executable_extensions; do
6376
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7155
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6377
7156
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6378
7157
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6379
7158
    break 2
6380
7159
  fi
6381
7160
done
6382
7161
done
 
7162
IFS=$as_save_IFS
6383
7163
 
6384
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6385
7164
fi
6386
7165
fi
6387
7166
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6388
7167
if test -n "$ac_ct_RANLIB"; then
6389
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6390
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7168
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7169
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6391
7170
else
6392
 
  echo "$as_me:$LINENO: result: no" >&5
6393
 
echo "${ECHO_T}no" >&6
 
7171
  { echo "$as_me:$LINENO: result: no" >&5
 
7172
echo "${ECHO_T}no" >&6; }
6394
7173
fi
6395
7174
 
6396
 
  RANLIB=$ac_ct_RANLIB
 
7175
  if test "x$ac_ct_RANLIB" = x; then
 
7176
    RANLIB=":"
 
7177
  else
 
7178
    case $cross_compiling:$ac_tool_warned in
 
7179
yes:)
 
7180
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7181
whose name does not start with the host triplet.  If you think this
 
7182
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7183
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7184
whose name does not start with the host triplet.  If you think this
 
7185
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7186
ac_tool_warned=yes ;;
 
7187
esac
 
7188
    RANLIB=$ac_ct_RANLIB
 
7189
  fi
6397
7190
else
6398
7191
  RANLIB="$ac_cv_prog_RANLIB"
6399
7192
fi
6401
7194
if test -n "$ac_tool_prefix"; then
6402
7195
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6403
7196
set dummy ${ac_tool_prefix}strip; ac_word=$2
6404
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6405
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7197
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7198
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6406
7199
if test "${ac_cv_prog_STRIP+set}" = set; then
6407
7200
  echo $ECHO_N "(cached) $ECHO_C" >&6
6408
7201
else
6415
7208
  IFS=$as_save_IFS
6416
7209
  test -z "$as_dir" && as_dir=.
6417
7210
  for ac_exec_ext in '' $ac_executable_extensions; do
6418
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7211
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419
7212
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6420
7213
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6421
7214
    break 2
6422
7215
  fi
6423
7216
done
6424
7217
done
 
7218
IFS=$as_save_IFS
6425
7219
 
6426
7220
fi
6427
7221
fi
6428
7222
STRIP=$ac_cv_prog_STRIP
6429
7223
if test -n "$STRIP"; then
6430
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6431
 
echo "${ECHO_T}$STRIP" >&6
 
7224
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7225
echo "${ECHO_T}$STRIP" >&6; }
6432
7226
else
6433
 
  echo "$as_me:$LINENO: result: no" >&5
6434
 
echo "${ECHO_T}no" >&6
 
7227
  { echo "$as_me:$LINENO: result: no" >&5
 
7228
echo "${ECHO_T}no" >&6; }
6435
7229
fi
 
7230
 
6436
7231
 
6437
7232
fi
6438
7233
if test -z "$ac_cv_prog_STRIP"; then
6439
7234
  ac_ct_STRIP=$STRIP
6440
7235
  # Extract the first word of "strip", so it can be a program name with args.
6441
7236
set dummy strip; ac_word=$2
6442
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6443
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7237
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7238
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6444
7239
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6445
7240
  echo $ECHO_N "(cached) $ECHO_C" >&6
6446
7241
else
6453
7248
  IFS=$as_save_IFS
6454
7249
  test -z "$as_dir" && as_dir=.
6455
7250
  for ac_exec_ext in '' $ac_executable_extensions; do
6456
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7251
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6457
7252
    ac_cv_prog_ac_ct_STRIP="strip"
6458
7253
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6459
7254
    break 2
6460
7255
  fi
6461
7256
done
6462
7257
done
 
7258
IFS=$as_save_IFS
6463
7259
 
6464
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6465
7260
fi
6466
7261
fi
6467
7262
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6468
7263
if test -n "$ac_ct_STRIP"; then
6469
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6470
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
7264
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7265
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6471
7266
else
6472
 
  echo "$as_me:$LINENO: result: no" >&5
6473
 
echo "${ECHO_T}no" >&6
 
7267
  { echo "$as_me:$LINENO: result: no" >&5
 
7268
echo "${ECHO_T}no" >&6; }
6474
7269
fi
6475
7270
 
6476
 
  STRIP=$ac_ct_STRIP
 
7271
  if test "x$ac_ct_STRIP" = x; then
 
7272
    STRIP=":"
 
7273
  else
 
7274
    case $cross_compiling:$ac_tool_warned in
 
7275
yes:)
 
7276
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7277
whose name does not start with the host triplet.  If you think this
 
7278
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7279
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7280
whose name does not start with the host triplet.  If you think this
 
7281
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7282
ac_tool_warned=yes ;;
 
7283
esac
 
7284
    STRIP=$ac_ct_STRIP
 
7285
  fi
6477
7286
else
6478
7287
  STRIP="$ac_cv_prog_STRIP"
6479
7288
fi
6501
7310
test -z "$ac_objext" && ac_objext=o
6502
7311
 
6503
7312
# Determine commands to create old-style static archives.
6504
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
7313
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6505
7314
old_postinstall_cmds='chmod 644 $oldlib'
6506
7315
old_postuninstall_cmds=
6507
7316
 
6532
7341
case $deplibs_check_method in
6533
7342
file_magic*)
6534
7343
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6535
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6536
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7344
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7345
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6537
7346
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6538
7347
  echo $ECHO_N "(cached) $ECHO_C" >&6
6539
7348
else
6585
7394
 
6586
7395
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6587
7396
if test -n "$MAGIC_CMD"; then
6588
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6589
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7397
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7398
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6590
7399
else
6591
 
  echo "$as_me:$LINENO: result: no" >&5
6592
 
echo "${ECHO_T}no" >&6
 
7400
  { echo "$as_me:$LINENO: result: no" >&5
 
7401
echo "${ECHO_T}no" >&6; }
6593
7402
fi
6594
7403
 
6595
7404
if test -z "$lt_cv_path_MAGIC_CMD"; then
6596
7405
  if test -n "$ac_tool_prefix"; then
6597
 
    echo "$as_me:$LINENO: checking for file" >&5
6598
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7406
    { echo "$as_me:$LINENO: checking for file" >&5
 
7407
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6599
7408
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6600
7409
  echo $ECHO_N "(cached) $ECHO_C" >&6
6601
7410
else
6647
7456
 
6648
7457
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6649
7458
if test -n "$MAGIC_CMD"; then
6650
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6651
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7459
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7460
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6652
7461
else
6653
 
  echo "$as_me:$LINENO: result: no" >&5
6654
 
echo "${ECHO_T}no" >&6
 
7462
  { echo "$as_me:$LINENO: result: no" >&5
 
7463
echo "${ECHO_T}no" >&6; }
6655
7464
fi
6656
7465
 
6657
7466
  else
6663
7472
  ;;
6664
7473
esac
6665
7474
 
 
7475
 
 
7476
  case $host_os in
 
7477
    rhapsody* | darwin*)
 
7478
    if test -n "$ac_tool_prefix"; then
 
7479
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7480
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7481
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7482
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7483
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7484
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7485
else
 
7486
  if test -n "$DSYMUTIL"; then
 
7487
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7488
else
 
7489
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7490
for as_dir in $PATH
 
7491
do
 
7492
  IFS=$as_save_IFS
 
7493
  test -z "$as_dir" && as_dir=.
 
7494
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7495
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7496
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7497
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7498
    break 2
 
7499
  fi
 
7500
done
 
7501
done
 
7502
IFS=$as_save_IFS
 
7503
 
 
7504
fi
 
7505
fi
 
7506
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7507
if test -n "$DSYMUTIL"; then
 
7508
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7509
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7510
else
 
7511
  { echo "$as_me:$LINENO: result: no" >&5
 
7512
echo "${ECHO_T}no" >&6; }
 
7513
fi
 
7514
 
 
7515
 
 
7516
fi
 
7517
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7518
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7519
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7520
set dummy dsymutil; ac_word=$2
 
7521
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7522
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7523
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7524
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7525
else
 
7526
  if test -n "$ac_ct_DSYMUTIL"; then
 
7527
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7528
else
 
7529
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7530
for as_dir in $PATH
 
7531
do
 
7532
  IFS=$as_save_IFS
 
7533
  test -z "$as_dir" && as_dir=.
 
7534
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7535
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7536
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7537
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7538
    break 2
 
7539
  fi
 
7540
done
 
7541
done
 
7542
IFS=$as_save_IFS
 
7543
 
 
7544
fi
 
7545
fi
 
7546
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7547
if test -n "$ac_ct_DSYMUTIL"; then
 
7548
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7549
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
7550
else
 
7551
  { echo "$as_me:$LINENO: result: no" >&5
 
7552
echo "${ECHO_T}no" >&6; }
 
7553
fi
 
7554
 
 
7555
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7556
    DSYMUTIL=":"
 
7557
  else
 
7558
    case $cross_compiling:$ac_tool_warned in
 
7559
yes:)
 
7560
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7561
whose name does not start with the host triplet.  If you think this
 
7562
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7563
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7564
whose name does not start with the host triplet.  If you think this
 
7565
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7566
ac_tool_warned=yes ;;
 
7567
esac
 
7568
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7569
  fi
 
7570
else
 
7571
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7572
fi
 
7573
 
 
7574
    if test -n "$ac_tool_prefix"; then
 
7575
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7576
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7577
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7578
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7579
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7580
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7581
else
 
7582
  if test -n "$NMEDIT"; then
 
7583
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7584
else
 
7585
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7586
for as_dir in $PATH
 
7587
do
 
7588
  IFS=$as_save_IFS
 
7589
  test -z "$as_dir" && as_dir=.
 
7590
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7591
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7592
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7593
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7594
    break 2
 
7595
  fi
 
7596
done
 
7597
done
 
7598
IFS=$as_save_IFS
 
7599
 
 
7600
fi
 
7601
fi
 
7602
NMEDIT=$ac_cv_prog_NMEDIT
 
7603
if test -n "$NMEDIT"; then
 
7604
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7605
echo "${ECHO_T}$NMEDIT" >&6; }
 
7606
else
 
7607
  { echo "$as_me:$LINENO: result: no" >&5
 
7608
echo "${ECHO_T}no" >&6; }
 
7609
fi
 
7610
 
 
7611
 
 
7612
fi
 
7613
if test -z "$ac_cv_prog_NMEDIT"; then
 
7614
  ac_ct_NMEDIT=$NMEDIT
 
7615
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7616
set dummy nmedit; ac_word=$2
 
7617
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7618
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7619
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7620
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7621
else
 
7622
  if test -n "$ac_ct_NMEDIT"; then
 
7623
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7624
else
 
7625
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7626
for as_dir in $PATH
 
7627
do
 
7628
  IFS=$as_save_IFS
 
7629
  test -z "$as_dir" && as_dir=.
 
7630
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7631
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7632
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7633
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7634
    break 2
 
7635
  fi
 
7636
done
 
7637
done
 
7638
IFS=$as_save_IFS
 
7639
 
 
7640
fi
 
7641
fi
 
7642
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7643
if test -n "$ac_ct_NMEDIT"; then
 
7644
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7645
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7646
else
 
7647
  { echo "$as_me:$LINENO: result: no" >&5
 
7648
echo "${ECHO_T}no" >&6; }
 
7649
fi
 
7650
 
 
7651
  if test "x$ac_ct_NMEDIT" = x; then
 
7652
    NMEDIT=":"
 
7653
  else
 
7654
    case $cross_compiling:$ac_tool_warned in
 
7655
yes:)
 
7656
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7657
whose name does not start with the host triplet.  If you think this
 
7658
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7659
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7660
whose name does not start with the host triplet.  If you think this
 
7661
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7662
ac_tool_warned=yes ;;
 
7663
esac
 
7664
    NMEDIT=$ac_ct_NMEDIT
 
7665
  fi
 
7666
else
 
7667
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7668
fi
 
7669
 
 
7670
 
 
7671
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7672
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
7673
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7674
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7675
else
 
7676
  lt_cv_apple_cc_single_mod=no
 
7677
      if test -z "${LT_MULTI_MODULE}"; then
 
7678
   # By default we will add the -single_module flag. You can override
 
7679
   # by either setting the environment variable LT_MULTI_MODULE
 
7680
   # non-empty at configure time, or by adding -multi_module to the
 
7681
   # link flags.
 
7682
   echo "int foo(void){return 1;}" > conftest.c
 
7683
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7684
     -dynamiclib ${wl}-single_module conftest.c
 
7685
   if test -f libconftest.dylib; then
 
7686
     lt_cv_apple_cc_single_mod=yes
 
7687
     rm -rf libconftest.dylib*
 
7688
   fi
 
7689
   rm conftest.c
 
7690
      fi
 
7691
fi
 
7692
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7693
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
 
7694
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7695
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
7696
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7697
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7698
else
 
7699
  lt_cv_ld_exported_symbols_list=no
 
7700
      save_LDFLAGS=$LDFLAGS
 
7701
      echo "_main" > conftest.sym
 
7702
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7703
      cat >conftest.$ac_ext <<_ACEOF
 
7704
/* confdefs.h.  */
 
7705
_ACEOF
 
7706
cat confdefs.h >>conftest.$ac_ext
 
7707
cat >>conftest.$ac_ext <<_ACEOF
 
7708
/* end confdefs.h.  */
 
7709
 
 
7710
int
 
7711
main ()
 
7712
{
 
7713
 
 
7714
  ;
 
7715
  return 0;
 
7716
}
 
7717
_ACEOF
 
7718
rm -f conftest.$ac_objext conftest$ac_exeext
 
7719
if { (ac_try="$ac_link"
 
7720
case "(($ac_try" in
 
7721
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7722
  *) ac_try_echo=$ac_try;;
 
7723
esac
 
7724
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7725
  (eval "$ac_link") 2>conftest.er1
 
7726
  ac_status=$?
 
7727
  grep -v '^ *+' conftest.er1 >conftest.err
 
7728
  rm -f conftest.er1
 
7729
  cat conftest.err >&5
 
7730
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7731
  (exit $ac_status); } && {
 
7732
         test -z "$ac_c_werror_flag" ||
 
7733
         test ! -s conftest.err
 
7734
       } && test -s conftest$ac_exeext &&
 
7735
       $as_test_x conftest$ac_exeext; then
 
7736
  lt_cv_ld_exported_symbols_list=yes
 
7737
else
 
7738
  echo "$as_me: failed program was:" >&5
 
7739
sed 's/^/| /' conftest.$ac_ext >&5
 
7740
 
 
7741
        lt_cv_ld_exported_symbols_list=no
 
7742
fi
 
7743
 
 
7744
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7745
      conftest$ac_exeext conftest.$ac_ext
 
7746
   LDFLAGS="$save_LDFLAGS"
 
7747
 
 
7748
fi
 
7749
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7750
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
7751
    case $host_os in
 
7752
    rhapsody* | darwin1.[0123])
 
7753
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7754
    darwin1.*)
 
7755
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7756
    darwin*)
 
7757
      # if running on 10.5 or later, the deployment target defaults
 
7758
      # to the OS version, if on x86, and 10.4, the deployment
 
7759
      # target defaults to 10.4. Don't you love it?
 
7760
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7761
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7762
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7763
   10.[012]*)
 
7764
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7765
   10.*)
 
7766
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7767
      esac
 
7768
    ;;
 
7769
  esac
 
7770
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7771
      _lt_dar_single_mod='$single_module'
 
7772
    fi
 
7773
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7774
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7775
    else
 
7776
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7777
    fi
 
7778
    if test "$DSYMUTIL" != ":"; then
 
7779
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7780
    else
 
7781
      _lt_dsymutil=
 
7782
    fi
 
7783
    ;;
 
7784
  esac
 
7785
 
 
7786
 
6666
7787
enable_dlopen=no
6667
7788
enable_win32_dll=no
6668
7789
 
6669
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7790
# Check whether --enable-libtool-lock was given.
6670
7791
if test "${enable_libtool_lock+set}" = set; then
6671
 
  enableval="$enable_libtool_lock"
 
7792
  enableval=$enable_libtool_lock;
 
7793
fi
6672
7794
 
6673
 
fi;
6674
7795
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6675
7796
 
6676
7797
 
6677
 
# Check whether --with-pic or --without-pic was given.
 
7798
# Check whether --with-pic was given.
6678
7799
if test "${with_pic+set}" = set; then
6679
 
  withval="$with_pic"
6680
 
  pic_mode="$withval"
 
7800
  withval=$with_pic; pic_mode="$withval"
6681
7801
else
6682
7802
  pic_mode=default
6683
 
fi;
 
7803
fi
 
7804
 
6684
7805
test -z "$pic_mode" && pic_mode=default
6685
7806
 
6686
7807
# Use C for the default configuration in the libtool script
6701
7822
objext=$objext
6702
7823
 
6703
7824
# Code to be used in simple compile tests
6704
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7825
lt_simple_compile_test_code="int some_variable = 0;"
6705
7826
 
6706
7827
# Code to be used in simple link tests
6707
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7828
lt_simple_link_test_code='int main(){return(0);}'
6708
7829
 
6709
7830
 
6710
7831
# If no C compiler was specified, use CC.
6719
7840
 
6720
7841
# save warnings/boilerplate of simple test code
6721
7842
ac_outfile=conftest.$ac_objext
6722
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7843
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6723
7844
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6724
7845
_lt_compiler_boilerplate=`cat conftest.err`
6725
7846
$rm conftest*
6726
7847
 
6727
7848
ac_outfile=conftest.$ac_objext
6728
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7849
echo "$lt_simple_link_test_code" >conftest.$ac_ext
6729
7850
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6730
7851
_lt_linker_boilerplate=`cat conftest.err`
6731
 
$rm conftest*
 
7852
$rm -r conftest*
6732
7853
 
6733
7854
 
6734
7855
 
6738
7859
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6739
7860
 
6740
7861
 
6741
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6742
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7862
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7863
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6743
7864
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6744
7865
  echo $ECHO_N "(cached) $ECHO_C" >&6
6745
7866
else
6746
7867
  lt_cv_prog_compiler_rtti_exceptions=no
6747
7868
  ac_outfile=conftest.$ac_objext
6748
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7869
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6749
7870
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6750
7871
   # Insert the option either (1) after the last *FLAGS variable, or
6751
7872
   # (2) before a word containing "conftest.", or (3) at the end.
6756
7877
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6757
7878
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6758
7879
   -e 's:$: $lt_compiler_flag:'`
6759
 
   (eval echo "\"\$as_me:6759: $lt_compile\"" >&5)
 
7880
   (eval echo "\"\$as_me:7880: $lt_compile\"" >&5)
6760
7881
   (eval "$lt_compile" 2>conftest.err)
6761
7882
   ac_status=$?
6762
7883
   cat conftest.err >&5
6763
 
   echo "$as_me:6763: \$? = $ac_status" >&5
 
7884
   echo "$as_me:7884: \$? = $ac_status" >&5
6764
7885
   if (exit $ac_status) && test -s "$ac_outfile"; then
6765
7886
     # The compiler can only warn and ignore the option if not recognized
6766
7887
     # So say no if there are warnings other than the usual output.
6773
7894
   $rm conftest*
6774
7895
 
6775
7896
fi
6776
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6777
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7897
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7898
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6778
7899
 
6779
7900
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6780
7901
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6788
7909
lt_prog_compiler_pic=
6789
7910
lt_prog_compiler_static=
6790
7911
 
6791
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6792
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7912
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7913
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6793
7914
 
6794
7915
  if test "$GCC" = yes; then
6795
7916
    lt_prog_compiler_wl='-Wl,'
6811
7932
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6812
7933
      ;;
6813
7934
 
6814
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7935
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6815
7936
      # PIC is the default for these OSes.
6816
7937
      ;;
6817
7938
 
6818
 
    mingw* | pw32* | os2*)
 
7939
    mingw* | cygwin* | pw32* | os2*)
6819
7940
      # This hack is so that the source file can tell whether it is being
6820
7941
      # built for inclusion in a dll (and should export symbols for example).
 
7942
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7943
      # (--disable-auto-import) libraries
6821
7944
      lt_prog_compiler_pic='-DDLL_EXPORT'
6822
7945
      ;;
6823
7946
 
6827
7950
      lt_prog_compiler_pic='-fno-common'
6828
7951
      ;;
6829
7952
 
6830
 
    interix3*)
 
7953
    interix[3-9]*)
6831
7954
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6832
7955
      # Instead, we relocate shared libraries at runtime.
6833
7956
      ;;
6885
8008
       esac
6886
8009
       ;;
6887
8010
 
6888
 
    mingw* | pw32* | os2*)
 
8011
    mingw* | cygwin* | pw32* | os2*)
6889
8012
      # This hack is so that the source file can tell whether it is being
6890
8013
      # built for inclusion in a dll (and should export symbols for example).
6891
8014
      lt_prog_compiler_pic='-DDLL_EXPORT'
6918
8041
      lt_prog_compiler_static='-Bstatic'
6919
8042
      ;;
6920
8043
 
6921
 
    linux*)
 
8044
    linux* | k*bsd*-gnu)
6922
8045
      case $cc_basename in
6923
8046
      icc* | ecc*)
6924
8047
        lt_prog_compiler_wl='-Wl,'
6937
8060
        # All Alpha code is PIC.
6938
8061
        lt_prog_compiler_static='-non_shared'
6939
8062
        ;;
 
8063
      *)
 
8064
        case `$CC -V 2>&1 | sed 5q` in
 
8065
        *Sun\ C*)
 
8066
          # Sun C 5.9
 
8067
          lt_prog_compiler_pic='-KPIC'
 
8068
          lt_prog_compiler_static='-Bstatic'
 
8069
          lt_prog_compiler_wl='-Wl,'
 
8070
          ;;
 
8071
        *Sun\ F*)
 
8072
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8073
          lt_prog_compiler_pic='-KPIC'
 
8074
          lt_prog_compiler_static='-Bstatic'
 
8075
          lt_prog_compiler_wl=''
 
8076
          ;;
 
8077
        esac
 
8078
        ;;
6940
8079
      esac
6941
8080
      ;;
6942
8081
 
6946
8085
      lt_prog_compiler_static='-non_shared'
6947
8086
      ;;
6948
8087
 
 
8088
    rdos*)
 
8089
      lt_prog_compiler_static='-non_shared'
 
8090
      ;;
 
8091
 
6949
8092
    solaris*)
6950
8093
      lt_prog_compiler_pic='-KPIC'
6951
8094
      lt_prog_compiler_static='-Bstatic'
6998
8141
    esac
6999
8142
  fi
7000
8143
 
7001
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7002
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
8144
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8145
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7003
8146
 
7004
8147
#
7005
8148
# Check to make sure the PIC flag actually works.
7006
8149
#
7007
8150
if test -n "$lt_prog_compiler_pic"; then
7008
8151
 
7009
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7010
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7011
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
 
8152
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8153
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
8154
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7012
8155
  echo $ECHO_N "(cached) $ECHO_C" >&6
7013
8156
else
7014
 
  lt_prog_compiler_pic_works=no
 
8157
  lt_cv_prog_compiler_pic_works=no
7015
8158
  ac_outfile=conftest.$ac_objext
7016
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8159
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7017
8160
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7018
8161
   # Insert the option either (1) after the last *FLAGS variable, or
7019
8162
   # (2) before a word containing "conftest.", or (3) at the end.
7024
8167
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7025
8168
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7026
8169
   -e 's:$: $lt_compiler_flag:'`
7027
 
   (eval echo "\"\$as_me:7027: $lt_compile\"" >&5)
 
8170
   (eval echo "\"\$as_me:8170: $lt_compile\"" >&5)
7028
8171
   (eval "$lt_compile" 2>conftest.err)
7029
8172
   ac_status=$?
7030
8173
   cat conftest.err >&5
7031
 
   echo "$as_me:7031: \$? = $ac_status" >&5
 
8174
   echo "$as_me:8174: \$? = $ac_status" >&5
7032
8175
   if (exit $ac_status) && test -s "$ac_outfile"; then
7033
8176
     # The compiler can only warn and ignore the option if not recognized
7034
8177
     # So say no if there are warnings other than the usual output.
7035
8178
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7036
8179
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7037
8180
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7038
 
       lt_prog_compiler_pic_works=yes
 
8181
       lt_cv_prog_compiler_pic_works=yes
7039
8182
     fi
7040
8183
   fi
7041
8184
   $rm conftest*
7042
8185
 
7043
8186
fi
7044
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7045
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
8187
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8188
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7046
8189
 
7047
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
8190
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7048
8191
    case $lt_prog_compiler_pic in
7049
8192
     "" | " "*) ;;
7050
8193
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7069
8212
# Check to make sure the static flag actually works.
7070
8213
#
7071
8214
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7072
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7073
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7074
 
if test "${lt_prog_compiler_static_works+set}" = set; then
 
8215
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8216
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
8217
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7075
8218
  echo $ECHO_N "(cached) $ECHO_C" >&6
7076
8219
else
7077
 
  lt_prog_compiler_static_works=no
 
8220
  lt_cv_prog_compiler_static_works=no
7078
8221
   save_LDFLAGS="$LDFLAGS"
7079
8222
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7080
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
8223
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7081
8224
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7082
8225
     # The linker can only warn and ignore the option if not recognized
7083
8226
     # So say no if there are warnings
7087
8230
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7088
8231
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7089
8232
       if diff conftest.exp conftest.er2 >/dev/null; then
7090
 
         lt_prog_compiler_static_works=yes
 
8233
         lt_cv_prog_compiler_static_works=yes
7091
8234
       fi
7092
8235
     else
7093
 
       lt_prog_compiler_static_works=yes
 
8236
       lt_cv_prog_compiler_static_works=yes
7094
8237
     fi
7095
8238
   fi
7096
 
   $rm conftest*
 
8239
   $rm -r conftest*
7097
8240
   LDFLAGS="$save_LDFLAGS"
7098
8241
 
7099
8242
fi
7100
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7101
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
8243
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8244
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7102
8245
 
7103
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8246
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7104
8247
    :
7105
8248
else
7106
8249
    lt_prog_compiler_static=
7107
8250
fi
7108
8251
 
7109
8252
 
7110
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7111
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
8253
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8254
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7112
8255
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7113
8256
  echo $ECHO_N "(cached) $ECHO_C" >&6
7114
8257
else
7117
8260
   mkdir conftest
7118
8261
   cd conftest
7119
8262
   mkdir out
7120
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8263
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7121
8264
 
7122
8265
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7123
8266
   # Insert the option either (1) after the last *FLAGS variable, or
7128
8271
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7129
8272
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7130
8273
   -e 's:$: $lt_compiler_flag:'`
7131
 
   (eval echo "\"\$as_me:7131: $lt_compile\"" >&5)
 
8274
   (eval echo "\"\$as_me:8274: $lt_compile\"" >&5)
7132
8275
   (eval "$lt_compile" 2>out/conftest.err)
7133
8276
   ac_status=$?
7134
8277
   cat out/conftest.err >&5
7135
 
   echo "$as_me:7135: \$? = $ac_status" >&5
 
8278
   echo "$as_me:8278: \$? = $ac_status" >&5
7136
8279
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7137
8280
   then
7138
8281
     # The compiler can only warn and ignore the option if not recognized
7154
8297
   $rm conftest*
7155
8298
 
7156
8299
fi
7157
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7158
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
8300
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8301
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7159
8302
 
7160
8303
 
7161
8304
hard_links="nottested"
7162
8305
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7163
8306
  # do not overwrite the value of need_locks provided by the user
7164
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7165
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
8307
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8308
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7166
8309
  hard_links=yes
7167
8310
  $rm conftest*
7168
8311
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7169
8312
  touch conftest.a
7170
8313
  ln conftest.a conftest.b 2>&5 || hard_links=no
7171
8314
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7172
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
7173
 
echo "${ECHO_T}$hard_links" >&6
 
8315
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
8316
echo "${ECHO_T}$hard_links" >&6; }
7174
8317
  if test "$hard_links" = no; then
7175
8318
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7176
8319
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7180
8323
  need_locks=no
7181
8324
fi
7182
8325
 
7183
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7184
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
8326
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8327
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7185
8328
 
7186
8329
  runpath_var=
7187
8330
  allow_undefined_flag=
7212
8355
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7213
8356
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7214
8357
  # as well as any symbol that contains `d'.
7215
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
8358
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7216
8359
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7217
8360
  # platforms (ab)use it in PIC code, but their linkers get confused if
7218
8361
  # the symbol is explicitly referenced.  Since portable code cannot
7219
8362
  # rely on this symbol name, it's probably fine to never include it in
7220
8363
  # preloaded symbol tables.
 
8364
  # Exclude shared library initialization/finalization symbols.
7221
8365
  extract_expsyms_cmds=
7222
8366
  # Just being paranoid about ensuring that cc_basename is set.
7223
8367
  for cc_temp in $compiler""; do
7276
8420
 
7277
8421
    # See if GNU ld supports shared libraries.
7278
8422
    case $host_os in
7279
 
    aix3* | aix4* | aix5*)
 
8423
    aix[3-9]*)
7280
8424
      # On AIX/PPC, the GNU linker is very broken
7281
8425
      if test "$host_cpu" != ia64; then
7282
8426
        ld_shlibs=no
7324
8468
      allow_undefined_flag=unsupported
7325
8469
      always_export_symbols=no
7326
8470
      enable_shared_with_static_runtimes=yes
7327
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8471
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7328
8472
 
7329
8473
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7330
8474
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7342
8486
      fi
7343
8487
      ;;
7344
8488
 
7345
 
    interix3*)
 
8489
    interix[3-9]*)
7346
8490
      hardcode_direct=no
7347
8491
      hardcode_shlibpath_var=no
7348
8492
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7357
8501
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7358
8502
      ;;
7359
8503
 
7360
 
    linux*)
 
8504
    gnu* | linux* | k*bsd*-gnu)
7361
8505
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7362
8506
        tmp_addflag=
7363
8507
        case $cc_basename,$host_cpu in
7375
8519
        ifc* | ifort*)                  # Intel Fortran compiler
7376
8520
          tmp_addflag=' -nofor_main' ;;
7377
8521
        esac
7378
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8522
        case `$CC -V 2>&1 | sed 5q` in
 
8523
        *Sun\ C*)                       # Sun C 5.9
 
8524
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8525
          tmp_sharedflag='-G' ;;
 
8526
        *Sun\ F*)                       # Sun Fortran 8.3
 
8527
          tmp_sharedflag='-G' ;;
 
8528
        *)
 
8529
          tmp_sharedflag='-shared' ;;
 
8530
        esac
 
8531
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7379
8532
 
7380
8533
        if test $supports_anon_versioning = yes; then
7381
8534
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7382
8535
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7383
8536
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7384
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8537
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7385
8538
        fi
 
8539
        link_all_deplibs=no
7386
8540
      else
7387
8541
        ld_shlibs=no
7388
8542
      fi
7389
8543
      ;;
7390
8544
 
7391
 
    netbsd*)
 
8545
    netbsd* | netbsdelf*-gnu)
7392
8546
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7393
8547
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7394
8548
        wlarc=
7486
8640
      fi
7487
8641
      ;;
7488
8642
 
7489
 
    aix4* | aix5*)
 
8643
    aix[4-9]*)
7490
8644
      if test "$host_cpu" = ia64; then
7491
8645
        # On IA64, the linker does run time linking by default, so we don't
7492
8646
        # have to do anything special.
7506
8660
        # Test if we are trying to use run time linking or normal
7507
8661
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7508
8662
        # need to do runtime linking.
7509
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8663
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7510
8664
          for ld_flag in $LDFLAGS; do
7511
8665
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7512
8666
            aix_use_runtimelinking=yes
7540
8694
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7541
8695
          then
7542
8696
          # We have reworked collect2
7543
 
          hardcode_direct=yes
 
8697
          :
7544
8698
          else
7545
8699
          # We have old collect2
7546
8700
          hardcode_direct=unsupported
7596
8750
}
7597
8751
_ACEOF
7598
8752
rm -f conftest.$ac_objext conftest$ac_exeext
7599
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7600
 
  (eval $ac_link) 2>conftest.er1
 
8753
if { (ac_try="$ac_link"
 
8754
case "(($ac_try" in
 
8755
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8756
  *) ac_try_echo=$ac_try;;
 
8757
esac
 
8758
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8759
  (eval "$ac_link") 2>conftest.er1
7601
8760
  ac_status=$?
7602
8761
  grep -v '^ *+' conftest.er1 >conftest.err
7603
8762
  rm -f conftest.er1
7604
8763
  cat conftest.err >&5
7605
8764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606
 
  (exit $ac_status); } &&
7607
 
         { ac_try='test -z "$ac_c_werror_flag"
7608
 
                         || test ! -s conftest.err'
7609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610
 
  (eval $ac_try) 2>&5
7611
 
  ac_status=$?
7612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613
 
  (exit $ac_status); }; } &&
7614
 
         { ac_try='test -s conftest$ac_exeext'
7615
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7616
 
  (eval $ac_try) 2>&5
7617
 
  ac_status=$?
7618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619
 
  (exit $ac_status); }; }; then
 
8765
  (exit $ac_status); } && {
 
8766
         test -z "$ac_c_werror_flag" ||
 
8767
         test ! -s conftest.err
 
8768
       } && test -s conftest$ac_exeext &&
 
8769
       $as_test_x conftest$ac_exeext; then
7620
8770
 
7621
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7622
 
}'`
 
8771
lt_aix_libpath_sed='
 
8772
    /Import File Strings/,/^$/ {
 
8773
        /^0/ {
 
8774
            s/^0  *\(.*\)$/\1/
 
8775
            p
 
8776
        }
 
8777
    }'
 
8778
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7623
8779
# Check for a 64-bit object if we didn't find anything.
7624
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7625
 
}'`; fi
 
8780
if test -z "$aix_libpath"; then
 
8781
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8782
fi
7626
8783
else
7627
8784
  echo "$as_me: failed program was:" >&5
7628
8785
sed 's/^/| /' conftest.$ac_ext >&5
7629
8786
 
 
8787
 
7630
8788
fi
7631
 
rm -f conftest.err conftest.$ac_objext \
 
8789
 
 
8790
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7632
8791
      conftest$ac_exeext conftest.$ac_ext
7633
8792
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7634
8793
 
7657
8816
}
7658
8817
_ACEOF
7659
8818
rm -f conftest.$ac_objext conftest$ac_exeext
7660
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7661
 
  (eval $ac_link) 2>conftest.er1
 
8819
if { (ac_try="$ac_link"
 
8820
case "(($ac_try" in
 
8821
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8822
  *) ac_try_echo=$ac_try;;
 
8823
esac
 
8824
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8825
  (eval "$ac_link") 2>conftest.er1
7662
8826
  ac_status=$?
7663
8827
  grep -v '^ *+' conftest.er1 >conftest.err
7664
8828
  rm -f conftest.er1
7665
8829
  cat conftest.err >&5
7666
8830
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667
 
  (exit $ac_status); } &&
7668
 
         { ac_try='test -z "$ac_c_werror_flag"
7669
 
                         || test ! -s conftest.err'
7670
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7671
 
  (eval $ac_try) 2>&5
7672
 
  ac_status=$?
7673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674
 
  (exit $ac_status); }; } &&
7675
 
         { ac_try='test -s conftest$ac_exeext'
7676
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7677
 
  (eval $ac_try) 2>&5
7678
 
  ac_status=$?
7679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680
 
  (exit $ac_status); }; }; then
 
8831
  (exit $ac_status); } && {
 
8832
         test -z "$ac_c_werror_flag" ||
 
8833
         test ! -s conftest.err
 
8834
       } && test -s conftest$ac_exeext &&
 
8835
       $as_test_x conftest$ac_exeext; then
7681
8836
 
7682
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7683
 
}'`
 
8837
lt_aix_libpath_sed='
 
8838
    /Import File Strings/,/^$/ {
 
8839
        /^0/ {
 
8840
            s/^0  *\(.*\)$/\1/
 
8841
            p
 
8842
        }
 
8843
    }'
 
8844
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7684
8845
# Check for a 64-bit object if we didn't find anything.
7685
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7686
 
}'`; fi
 
8846
if test -z "$aix_libpath"; then
 
8847
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8848
fi
7687
8849
else
7688
8850
  echo "$as_me: failed program was:" >&5
7689
8851
sed 's/^/| /' conftest.$ac_ext >&5
7690
8852
 
 
8853
 
7691
8854
fi
7692
 
rm -f conftest.err conftest.$ac_objext \
 
8855
 
 
8856
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7693
8857
      conftest$ac_exeext conftest.$ac_ext
7694
8858
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7695
8859
 
7735
8899
      # The linker will automatically build a .lib file if we build a DLL.
7736
8900
      old_archive_From_new_cmds='true'
7737
8901
      # FIXME: Should let the user specify the lib program.
7738
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8902
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7739
8903
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7740
8904
      enable_shared_with_static_runtimes=yes
7741
8905
      ;;
7768
8932
      link_all_deplibs=yes
7769
8933
    if test "$GCC" = yes ; then
7770
8934
        output_verbose_link_cmd='echo'
7771
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7772
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7773
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7774
 
      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}'
7775
 
      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}'
 
8935
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8936
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8937
        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
8938
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
7776
8939
    else
7777
8940
      case $cc_basename in
7778
8941
        xlc*)
7779
8942
         output_verbose_link_cmd='echo'
7780
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8943
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7781
8944
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7782
8945
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7783
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8946
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7784
8947
          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}'
7785
8948
          ;;
7786
8949
       *)
7820
8983
      ;;
7821
8984
 
7822
8985
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7823
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8986
    freebsd* | dragonfly*)
7824
8987
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7825
8988
      hardcode_libdir_flag_spec='-R$libdir'
7826
8989
      hardcode_direct=yes
7922
9085
      link_all_deplibs=yes
7923
9086
      ;;
7924
9087
 
7925
 
    netbsd*)
 
9088
    netbsd* | netbsdelf*-gnu)
7926
9089
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7927
9090
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7928
9091
      else
7942
9105
      ;;
7943
9106
 
7944
9107
    openbsd*)
7945
 
      hardcode_direct=yes
7946
 
      hardcode_shlibpath_var=no
7947
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7948
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7949
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7950
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7951
 
        export_dynamic_flag_spec='${wl}-E'
 
9108
      if test -f /usr/libexec/ld.so; then
 
9109
        hardcode_direct=yes
 
9110
        hardcode_shlibpath_var=no
 
9111
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9112
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9113
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9114
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9115
          export_dynamic_flag_spec='${wl}-E'
 
9116
        else
 
9117
          case $host_os in
 
9118
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9119
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9120
             hardcode_libdir_flag_spec='-R$libdir'
 
9121
             ;;
 
9122
           *)
 
9123
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9124
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9125
             ;;
 
9126
          esac
 
9127
        fi
7952
9128
      else
7953
 
       case $host_os in
7954
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7955
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7956
 
           hardcode_libdir_flag_spec='-R$libdir'
7957
 
           ;;
7958
 
         *)
7959
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7960
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7961
 
           ;;
7962
 
       esac
 
9129
        ld_shlibs=no
7963
9130
      fi
7964
9131
      ;;
7965
9132
 
8018
9185
      case $host_os in
8019
9186
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8020
9187
      *)
8021
 
        # The compiler driver will combine linker options so we
8022
 
        # cannot just pass the convience library names through
8023
 
        # without $wl, iff we do not link with $LD.
8024
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
9188
        # The compiler driver will combine and reorder linker options,
 
9189
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9190
        # but is careful enough not to reorder.
8025
9191
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8026
 
        case $wlarc in
8027
 
        '')
8028
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8029
 
        *)
8030
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8031
 
        esac ;;
 
9192
        if test "$GCC" = yes; then
 
9193
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9194
        else
 
9195
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9196
        fi
 
9197
        ;;
8032
9198
      esac
8033
9199
      link_all_deplibs=yes
8034
9200
      ;;
8085
9251
      fi
8086
9252
      ;;
8087
9253
 
8088
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
9254
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8089
9255
      no_undefined_flag='${wl}-z,text'
8090
9256
      archive_cmds_need_lc=no
8091
9257
      hardcode_shlibpath_var=no
8138
9304
    esac
8139
9305
  fi
8140
9306
 
8141
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8142
 
echo "${ECHO_T}$ld_shlibs" >&6
 
9307
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9308
echo "${ECHO_T}$ld_shlibs" >&6; }
8143
9309
test "$ld_shlibs" = no && can_build_shared=no
8144
9310
 
8145
9311
#
8159
9325
      # Test whether the compiler implicitly links with -lc since on some
8160
9326
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8161
9327
      # to ld, don't add -lc before -lgcc.
8162
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8163
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
9328
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9329
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8164
9330
      $rm conftest*
8165
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9331
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8166
9332
 
8167
9333
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8168
9334
  (eval $ac_compile) 2>&5
8197
9363
        cat conftest.err 1>&5
8198
9364
      fi
8199
9365
      $rm conftest*
8200
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8201
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
9366
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9367
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8202
9368
      ;;
8203
9369
    esac
8204
9370
  fi
8205
9371
  ;;
8206
9372
esac
8207
9373
 
8208
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8209
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
9374
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9375
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8210
9376
library_names_spec=
8211
9377
libname_spec='lib$name'
8212
9378
soname_spec=
8220
9386
version_type=none
8221
9387
dynamic_linker="$host_os ld.so"
8222
9388
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9389
 
8223
9390
if test "$GCC" = yes; then
8224
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8225
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
9391
  case $host_os in
 
9392
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9393
    *) lt_awk_arg="/^libraries:/" ;;
 
9394
  esac
 
9395
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9396
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8226
9397
    # if the path contains ";" then we assume it to be the separator
8227
9398
    # otherwise default to the standard path separator (i.e. ":") - it is
8228
9399
    # assumed that no part of a normal pathname contains ";" but that should
8229
9400
    # okay in the real world where ";" in dirpaths is itself problematic.
8230
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9401
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8231
9402
  else
8232
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9403
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8233
9404
  fi
 
9405
  # Ok, now we have the path, separated by spaces, we can step through it
 
9406
  # and add multilib dir if necessary.
 
9407
  lt_tmp_lt_search_path_spec=
 
9408
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9409
  for lt_sys_path in $lt_search_path_spec; do
 
9410
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9411
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9412
    else
 
9413
      test -d "$lt_sys_path" && \
 
9414
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9415
    fi
 
9416
  done
 
9417
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9418
BEGIN {RS=" "; FS="/|\n";} {
 
9419
  lt_foo="";
 
9420
  lt_count=0;
 
9421
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9422
    if ($lt_i != "" && $lt_i != ".") {
 
9423
      if ($lt_i == "..") {
 
9424
        lt_count++;
 
9425
      } else {
 
9426
        if (lt_count == 0) {
 
9427
          lt_foo="/" $lt_i lt_foo;
 
9428
        } else {
 
9429
          lt_count--;
 
9430
        }
 
9431
      }
 
9432
    }
 
9433
  }
 
9434
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9435
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9436
}'`
 
9437
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
8234
9438
else
8235
9439
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8236
9440
fi
8251
9455
  soname_spec='${libname}${release}${shared_ext}$major'
8252
9456
  ;;
8253
9457
 
8254
 
aix4* | aix5*)
 
9458
aix[4-9]*)
8255
9459
  version_type=linux
8256
9460
  need_lib_prefix=no
8257
9461
  need_version=no
8390
9594
  shlibpath_overrides_runpath=yes
8391
9595
  shlibpath_var=DYLD_LIBRARY_PATH
8392
9596
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8393
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8394
 
  if test "$GCC" = yes; then
8395
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8396
 
  else
8397
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8398
 
  fi
 
9597
 
 
9598
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8399
9599
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8400
9600
  ;;
8401
9601
 
8412
9612
  dynamic_linker=no
8413
9613
  ;;
8414
9614
 
8415
 
kfreebsd*-gnu)
8416
 
  version_type=linux
8417
 
  need_lib_prefix=no
8418
 
  need_version=no
8419
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8420
 
  soname_spec='${libname}${release}${shared_ext}$major'
8421
 
  shlibpath_var=LD_LIBRARY_PATH
8422
 
  shlibpath_overrides_runpath=no
8423
 
  hardcode_into_libs=yes
8424
 
  dynamic_linker='GNU ld.so'
8425
 
  ;;
8426
 
 
8427
9615
freebsd* | dragonfly*)
8428
9616
  # DragonFly does not have aout.  When/if they implement a new
8429
9617
  # versioning mechanism, adjust this.
8461
9649
    shlibpath_overrides_runpath=no
8462
9650
    hardcode_into_libs=yes
8463
9651
    ;;
8464
 
  freebsd*) # from 4.6 on
 
9652
  *) # from 4.6 on, and DragonFly
8465
9653
    shlibpath_overrides_runpath=yes
8466
9654
    hardcode_into_libs=yes
8467
9655
    ;;
8524
9712
  postinstall_cmds='chmod 555 $lib'
8525
9713
  ;;
8526
9714
 
8527
 
interix3*)
 
9715
interix[3-9]*)
8528
9716
  version_type=linux
8529
9717
  need_lib_prefix=no
8530
9718
  need_version=no
8579
9767
  ;;
8580
9768
 
8581
9769
# This must be Linux ELF.
8582
 
linux*)
 
9770
linux* | k*bsd*-gnu)
8583
9771
  version_type=linux
8584
9772
  need_lib_prefix=no
8585
9773
  need_version=no
8593
9781
  # before this can be enabled.
8594
9782
  hardcode_into_libs=yes
8595
9783
 
8596
 
  # find out which ABI we are using
8597
 
  libsuff=
8598
 
  case "$host_cpu" in
8599
 
  x86_64*|s390x*|powerpc64*)
8600
 
    echo '#line 8600 "configure"' > conftest.$ac_ext
8601
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8602
 
  (eval $ac_compile) 2>&5
8603
 
  ac_status=$?
8604
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605
 
  (exit $ac_status); }; then
8606
 
      case `/usr/bin/file conftest.$ac_objext` in
8607
 
      *64-bit*)
8608
 
        libsuff=64
8609
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8610
 
        ;;
8611
 
      esac
8612
 
    fi
8613
 
    rm -rf conftest*
8614
 
    ;;
8615
 
  esac
8616
 
 
8617
9784
  # Append ld.so.conf contents to the search path
8618
9785
  if test -f /etc/ld.so.conf; then
8619
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8620
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
9786
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9787
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8621
9788
  fi
8622
9789
 
8623
9790
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8629
9796
  dynamic_linker='GNU/Linux ld.so'
8630
9797
  ;;
8631
9798
 
8632
 
knetbsd*-gnu)
 
9799
netbsdelf*-gnu)
8633
9800
  version_type=linux
8634
9801
  need_lib_prefix=no
8635
9802
  need_version=no
8638
9805
  shlibpath_var=LD_LIBRARY_PATH
8639
9806
  shlibpath_overrides_runpath=no
8640
9807
  hardcode_into_libs=yes
8641
 
  dynamic_linker='GNU ld.so'
 
9808
  dynamic_linker='NetBSD ld.elf_so'
8642
9809
  ;;
8643
9810
 
8644
9811
netbsd*)
8722
9889
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8723
9890
  ;;
8724
9891
 
 
9892
rdos*)
 
9893
  dynamic_linker=no
 
9894
  ;;
 
9895
 
8725
9896
solaris*)
8726
9897
  version_type=linux
8727
9898
  need_lib_prefix=no
8814
9985
  dynamic_linker=no
8815
9986
  ;;
8816
9987
esac
8817
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8818
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9988
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9989
echo "${ECHO_T}$dynamic_linker" >&6; }
8819
9990
test "$dynamic_linker" = no && can_build_shared=no
8820
9991
 
 
9992
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9993
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9994
else
 
9995
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
9996
fi
 
9997
 
 
9998
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9999
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10000
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10001
else
 
10002
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
10003
fi
 
10004
 
 
10005
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10006
 
8821
10007
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8822
10008
if test "$GCC" = yes; then
8823
10009
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8824
10010
fi
8825
10011
 
8826
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8827
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
10012
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10013
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8828
10014
hardcode_action=
8829
10015
if test -n "$hardcode_libdir_flag_spec" || \
8830
10016
   test -n "$runpath_var" || \
8848
10034
  # directories.
8849
10035
  hardcode_action=unsupported
8850
10036
fi
8851
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8852
 
echo "${ECHO_T}$hardcode_action" >&6
 
10037
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10038
echo "${ECHO_T}$hardcode_action" >&6; }
8853
10039
 
8854
10040
if test "$hardcode_action" = relink; then
8855
10041
  # Fast installation is not supported
8862
10048
 
8863
10049
striplib=
8864
10050
old_striplib=
8865
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8866
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
10051
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10052
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8867
10053
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8868
10054
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8869
10055
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8870
 
  echo "$as_me:$LINENO: result: yes" >&5
8871
 
echo "${ECHO_T}yes" >&6
 
10056
  { echo "$as_me:$LINENO: result: yes" >&5
 
10057
echo "${ECHO_T}yes" >&6; }
8872
10058
else
8873
10059
# FIXME - insert some real tests, host_os isn't really good enough
8874
10060
  case $host_os in
8875
10061
   darwin*)
8876
10062
       if test -n "$STRIP" ; then
8877
10063
         striplib="$STRIP -x"
8878
 
         echo "$as_me:$LINENO: result: yes" >&5
8879
 
echo "${ECHO_T}yes" >&6
 
10064
         old_striplib="$STRIP -S"
 
10065
         { echo "$as_me:$LINENO: result: yes" >&5
 
10066
echo "${ECHO_T}yes" >&6; }
8880
10067
       else
8881
 
  echo "$as_me:$LINENO: result: no" >&5
8882
 
echo "${ECHO_T}no" >&6
 
10068
  { echo "$as_me:$LINENO: result: no" >&5
 
10069
echo "${ECHO_T}no" >&6; }
8883
10070
fi
8884
10071
       ;;
8885
10072
   *)
8886
 
  echo "$as_me:$LINENO: result: no" >&5
8887
 
echo "${ECHO_T}no" >&6
 
10073
  { echo "$as_me:$LINENO: result: no" >&5
 
10074
echo "${ECHO_T}no" >&6; }
8888
10075
    ;;
8889
10076
  esac
8890
10077
fi
8916
10103
 
8917
10104
  darwin*)
8918
10105
  # if libdl is installed we need to link against it
8919
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8920
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10106
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10107
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8921
10108
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8922
10109
  echo $ECHO_N "(cached) $ECHO_C" >&6
8923
10110
else
8930
10117
cat >>conftest.$ac_ext <<_ACEOF
8931
10118
/* end confdefs.h.  */
8932
10119
 
8933
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10120
/* Override any GCC internal prototype to avoid an error.
 
10121
   Use char because int might match the return type of a GCC
 
10122
   builtin and then its argument prototype would still apply.  */
8934
10123
#ifdef __cplusplus
8935
10124
extern "C"
8936
10125
#endif
8937
 
/* We use char because int might match the return type of a gcc2
8938
 
   builtin and then its argument prototype would still apply.  */
8939
10126
char dlopen ();
8940
10127
int
8941
10128
main ()
8942
10129
{
8943
 
dlopen ();
 
10130
return dlopen ();
8944
10131
  ;
8945
10132
  return 0;
8946
10133
}
8947
10134
_ACEOF
8948
10135
rm -f conftest.$ac_objext conftest$ac_exeext
8949
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8950
 
  (eval $ac_link) 2>conftest.er1
 
10136
if { (ac_try="$ac_link"
 
10137
case "(($ac_try" in
 
10138
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10139
  *) ac_try_echo=$ac_try;;
 
10140
esac
 
10141
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10142
  (eval "$ac_link") 2>conftest.er1
8951
10143
  ac_status=$?
8952
10144
  grep -v '^ *+' conftest.er1 >conftest.err
8953
10145
  rm -f conftest.er1
8954
10146
  cat conftest.err >&5
8955
10147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956
 
  (exit $ac_status); } &&
8957
 
         { ac_try='test -z "$ac_c_werror_flag"
8958
 
                         || test ! -s conftest.err'
8959
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8960
 
  (eval $ac_try) 2>&5
8961
 
  ac_status=$?
8962
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963
 
  (exit $ac_status); }; } &&
8964
 
         { ac_try='test -s conftest$ac_exeext'
8965
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8966
 
  (eval $ac_try) 2>&5
8967
 
  ac_status=$?
8968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969
 
  (exit $ac_status); }; }; then
 
10148
  (exit $ac_status); } && {
 
10149
         test -z "$ac_c_werror_flag" ||
 
10150
         test ! -s conftest.err
 
10151
       } && test -s conftest$ac_exeext &&
 
10152
       $as_test_x conftest$ac_exeext; then
8970
10153
  ac_cv_lib_dl_dlopen=yes
8971
10154
else
8972
10155
  echo "$as_me: failed program was:" >&5
8973
10156
sed 's/^/| /' conftest.$ac_ext >&5
8974
10157
 
8975
 
ac_cv_lib_dl_dlopen=no
 
10158
        ac_cv_lib_dl_dlopen=no
8976
10159
fi
8977
 
rm -f conftest.err conftest.$ac_objext \
 
10160
 
 
10161
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8978
10162
      conftest$ac_exeext conftest.$ac_ext
8979
10163
LIBS=$ac_check_lib_save_LIBS
8980
10164
fi
8981
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8982
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10165
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10166
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8983
10167
if test $ac_cv_lib_dl_dlopen = yes; then
8984
10168
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8985
10169
else
8993
10177
   ;;
8994
10178
 
8995
10179
  *)
8996
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8997
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
10180
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
10181
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8998
10182
if test "${ac_cv_func_shl_load+set}" = set; then
8999
10183
  echo $ECHO_N "(cached) $ECHO_C" >&6
9000
10184
else
9021
10205
 
9022
10206
#undef shl_load
9023
10207
 
9024
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10208
/* Override any GCC internal prototype to avoid an error.
 
10209
   Use char because int might match the return type of a GCC
 
10210
   builtin and then its argument prototype would still apply.  */
9025
10211
#ifdef __cplusplus
9026
10212
extern "C"
9027
 
{
9028
10213
#endif
9029
 
/* We use char because int might match the return type of a gcc2
9030
 
   builtin and then its argument prototype would still apply.  */
9031
10214
char shl_load ();
9032
10215
/* The GNU C library defines this for functions which it implements
9033
10216
    to always fail with ENOSYS.  Some functions are actually named
9034
10217
    something starting with __ and the normal name is an alias.  */
9035
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
10218
#if defined __stub_shl_load || defined __stub___shl_load
9036
10219
choke me
9037
 
#else
9038
 
char (*f) () = shl_load;
9039
 
#endif
9040
 
#ifdef __cplusplus
9041
 
}
9042
10220
#endif
9043
10221
 
9044
10222
int
9045
10223
main ()
9046
10224
{
9047
 
return f != shl_load;
 
10225
return shl_load ();
9048
10226
  ;
9049
10227
  return 0;
9050
10228
}
9051
10229
_ACEOF
9052
10230
rm -f conftest.$ac_objext conftest$ac_exeext
9053
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9054
 
  (eval $ac_link) 2>conftest.er1
 
10231
if { (ac_try="$ac_link"
 
10232
case "(($ac_try" in
 
10233
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10234
  *) ac_try_echo=$ac_try;;
 
10235
esac
 
10236
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10237
  (eval "$ac_link") 2>conftest.er1
9055
10238
  ac_status=$?
9056
10239
  grep -v '^ *+' conftest.er1 >conftest.err
9057
10240
  rm -f conftest.er1
9058
10241
  cat conftest.err >&5
9059
10242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060
 
  (exit $ac_status); } &&
9061
 
         { ac_try='test -z "$ac_c_werror_flag"
9062
 
                         || test ! -s conftest.err'
9063
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9064
 
  (eval $ac_try) 2>&5
9065
 
  ac_status=$?
9066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067
 
  (exit $ac_status); }; } &&
9068
 
         { ac_try='test -s conftest$ac_exeext'
9069
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9070
 
  (eval $ac_try) 2>&5
9071
 
  ac_status=$?
9072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073
 
  (exit $ac_status); }; }; then
 
10243
  (exit $ac_status); } && {
 
10244
         test -z "$ac_c_werror_flag" ||
 
10245
         test ! -s conftest.err
 
10246
       } && test -s conftest$ac_exeext &&
 
10247
       $as_test_x conftest$ac_exeext; then
9074
10248
  ac_cv_func_shl_load=yes
9075
10249
else
9076
10250
  echo "$as_me: failed program was:" >&5
9077
10251
sed 's/^/| /' conftest.$ac_ext >&5
9078
10252
 
9079
 
ac_cv_func_shl_load=no
 
10253
        ac_cv_func_shl_load=no
9080
10254
fi
9081
 
rm -f conftest.err conftest.$ac_objext \
 
10255
 
 
10256
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9082
10257
      conftest$ac_exeext conftest.$ac_ext
9083
10258
fi
9084
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9085
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
10259
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10260
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9086
10261
if test $ac_cv_func_shl_load = yes; then
9087
10262
  lt_cv_dlopen="shl_load"
9088
10263
else
9089
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9090
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
10264
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10265
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9091
10266
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9092
10267
  echo $ECHO_N "(cached) $ECHO_C" >&6
9093
10268
else
9100
10275
cat >>conftest.$ac_ext <<_ACEOF
9101
10276
/* end confdefs.h.  */
9102
10277
 
9103
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10278
/* Override any GCC internal prototype to avoid an error.
 
10279
   Use char because int might match the return type of a GCC
 
10280
   builtin and then its argument prototype would still apply.  */
9104
10281
#ifdef __cplusplus
9105
10282
extern "C"
9106
10283
#endif
9107
 
/* We use char because int might match the return type of a gcc2
9108
 
   builtin and then its argument prototype would still apply.  */
9109
10284
char shl_load ();
9110
10285
int
9111
10286
main ()
9112
10287
{
9113
 
shl_load ();
 
10288
return shl_load ();
9114
10289
  ;
9115
10290
  return 0;
9116
10291
}
9117
10292
_ACEOF
9118
10293
rm -f conftest.$ac_objext conftest$ac_exeext
9119
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9120
 
  (eval $ac_link) 2>conftest.er1
 
10294
if { (ac_try="$ac_link"
 
10295
case "(($ac_try" in
 
10296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10297
  *) ac_try_echo=$ac_try;;
 
10298
esac
 
10299
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10300
  (eval "$ac_link") 2>conftest.er1
9121
10301
  ac_status=$?
9122
10302
  grep -v '^ *+' conftest.er1 >conftest.err
9123
10303
  rm -f conftest.er1
9124
10304
  cat conftest.err >&5
9125
10305
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126
 
  (exit $ac_status); } &&
9127
 
         { ac_try='test -z "$ac_c_werror_flag"
9128
 
                         || test ! -s conftest.err'
9129
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9130
 
  (eval $ac_try) 2>&5
9131
 
  ac_status=$?
9132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133
 
  (exit $ac_status); }; } &&
9134
 
         { ac_try='test -s conftest$ac_exeext'
9135
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9136
 
  (eval $ac_try) 2>&5
9137
 
  ac_status=$?
9138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139
 
  (exit $ac_status); }; }; then
 
10306
  (exit $ac_status); } && {
 
10307
         test -z "$ac_c_werror_flag" ||
 
10308
         test ! -s conftest.err
 
10309
       } && test -s conftest$ac_exeext &&
 
10310
       $as_test_x conftest$ac_exeext; then
9140
10311
  ac_cv_lib_dld_shl_load=yes
9141
10312
else
9142
10313
  echo "$as_me: failed program was:" >&5
9143
10314
sed 's/^/| /' conftest.$ac_ext >&5
9144
10315
 
9145
 
ac_cv_lib_dld_shl_load=no
 
10316
        ac_cv_lib_dld_shl_load=no
9146
10317
fi
9147
 
rm -f conftest.err conftest.$ac_objext \
 
10318
 
 
10319
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9148
10320
      conftest$ac_exeext conftest.$ac_ext
9149
10321
LIBS=$ac_check_lib_save_LIBS
9150
10322
fi
9151
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9152
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
10323
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10324
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9153
10325
if test $ac_cv_lib_dld_shl_load = yes; then
9154
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
10326
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9155
10327
else
9156
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
9157
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
10328
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
10329
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9158
10330
if test "${ac_cv_func_dlopen+set}" = set; then
9159
10331
  echo $ECHO_N "(cached) $ECHO_C" >&6
9160
10332
else
9181
10353
 
9182
10354
#undef dlopen
9183
10355
 
9184
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10356
/* Override any GCC internal prototype to avoid an error.
 
10357
   Use char because int might match the return type of a GCC
 
10358
   builtin and then its argument prototype would still apply.  */
9185
10359
#ifdef __cplusplus
9186
10360
extern "C"
9187
 
{
9188
10361
#endif
9189
 
/* We use char because int might match the return type of a gcc2
9190
 
   builtin and then its argument prototype would still apply.  */
9191
10362
char dlopen ();
9192
10363
/* The GNU C library defines this for functions which it implements
9193
10364
    to always fail with ENOSYS.  Some functions are actually named
9194
10365
    something starting with __ and the normal name is an alias.  */
9195
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
10366
#if defined __stub_dlopen || defined __stub___dlopen
9196
10367
choke me
9197
 
#else
9198
 
char (*f) () = dlopen;
9199
 
#endif
9200
 
#ifdef __cplusplus
9201
 
}
9202
10368
#endif
9203
10369
 
9204
10370
int
9205
10371
main ()
9206
10372
{
9207
 
return f != dlopen;
 
10373
return dlopen ();
9208
10374
  ;
9209
10375
  return 0;
9210
10376
}
9211
10377
_ACEOF
9212
10378
rm -f conftest.$ac_objext conftest$ac_exeext
9213
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9214
 
  (eval $ac_link) 2>conftest.er1
 
10379
if { (ac_try="$ac_link"
 
10380
case "(($ac_try" in
 
10381
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10382
  *) ac_try_echo=$ac_try;;
 
10383
esac
 
10384
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10385
  (eval "$ac_link") 2>conftest.er1
9215
10386
  ac_status=$?
9216
10387
  grep -v '^ *+' conftest.er1 >conftest.err
9217
10388
  rm -f conftest.er1
9218
10389
  cat conftest.err >&5
9219
10390
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220
 
  (exit $ac_status); } &&
9221
 
         { ac_try='test -z "$ac_c_werror_flag"
9222
 
                         || test ! -s conftest.err'
9223
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9224
 
  (eval $ac_try) 2>&5
9225
 
  ac_status=$?
9226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227
 
  (exit $ac_status); }; } &&
9228
 
         { ac_try='test -s conftest$ac_exeext'
9229
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9230
 
  (eval $ac_try) 2>&5
9231
 
  ac_status=$?
9232
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233
 
  (exit $ac_status); }; }; then
 
10391
  (exit $ac_status); } && {
 
10392
         test -z "$ac_c_werror_flag" ||
 
10393
         test ! -s conftest.err
 
10394
       } && test -s conftest$ac_exeext &&
 
10395
       $as_test_x conftest$ac_exeext; then
9234
10396
  ac_cv_func_dlopen=yes
9235
10397
else
9236
10398
  echo "$as_me: failed program was:" >&5
9237
10399
sed 's/^/| /' conftest.$ac_ext >&5
9238
10400
 
9239
 
ac_cv_func_dlopen=no
 
10401
        ac_cv_func_dlopen=no
9240
10402
fi
9241
 
rm -f conftest.err conftest.$ac_objext \
 
10403
 
 
10404
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9242
10405
      conftest$ac_exeext conftest.$ac_ext
9243
10406
fi
9244
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9245
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
10407
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10408
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9246
10409
if test $ac_cv_func_dlopen = yes; then
9247
10410
  lt_cv_dlopen="dlopen"
9248
10411
else
9249
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9250
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10412
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10413
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9251
10414
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9252
10415
  echo $ECHO_N "(cached) $ECHO_C" >&6
9253
10416
else
9260
10423
cat >>conftest.$ac_ext <<_ACEOF
9261
10424
/* end confdefs.h.  */
9262
10425
 
9263
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10426
/* Override any GCC internal prototype to avoid an error.
 
10427
   Use char because int might match the return type of a GCC
 
10428
   builtin and then its argument prototype would still apply.  */
9264
10429
#ifdef __cplusplus
9265
10430
extern "C"
9266
10431
#endif
9267
 
/* We use char because int might match the return type of a gcc2
9268
 
   builtin and then its argument prototype would still apply.  */
9269
10432
char dlopen ();
9270
10433
int
9271
10434
main ()
9272
10435
{
9273
 
dlopen ();
 
10436
return dlopen ();
9274
10437
  ;
9275
10438
  return 0;
9276
10439
}
9277
10440
_ACEOF
9278
10441
rm -f conftest.$ac_objext conftest$ac_exeext
9279
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9280
 
  (eval $ac_link) 2>conftest.er1
 
10442
if { (ac_try="$ac_link"
 
10443
case "(($ac_try" in
 
10444
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10445
  *) ac_try_echo=$ac_try;;
 
10446
esac
 
10447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10448
  (eval "$ac_link") 2>conftest.er1
9281
10449
  ac_status=$?
9282
10450
  grep -v '^ *+' conftest.er1 >conftest.err
9283
10451
  rm -f conftest.er1
9284
10452
  cat conftest.err >&5
9285
10453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286
 
  (exit $ac_status); } &&
9287
 
         { ac_try='test -z "$ac_c_werror_flag"
9288
 
                         || test ! -s conftest.err'
9289
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9290
 
  (eval $ac_try) 2>&5
9291
 
  ac_status=$?
9292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293
 
  (exit $ac_status); }; } &&
9294
 
         { ac_try='test -s conftest$ac_exeext'
9295
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9296
 
  (eval $ac_try) 2>&5
9297
 
  ac_status=$?
9298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299
 
  (exit $ac_status); }; }; then
 
10454
  (exit $ac_status); } && {
 
10455
         test -z "$ac_c_werror_flag" ||
 
10456
         test ! -s conftest.err
 
10457
       } && test -s conftest$ac_exeext &&
 
10458
       $as_test_x conftest$ac_exeext; then
9300
10459
  ac_cv_lib_dl_dlopen=yes
9301
10460
else
9302
10461
  echo "$as_me: failed program was:" >&5
9303
10462
sed 's/^/| /' conftest.$ac_ext >&5
9304
10463
 
9305
 
ac_cv_lib_dl_dlopen=no
 
10464
        ac_cv_lib_dl_dlopen=no
9306
10465
fi
9307
 
rm -f conftest.err conftest.$ac_objext \
 
10466
 
 
10467
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9308
10468
      conftest$ac_exeext conftest.$ac_ext
9309
10469
LIBS=$ac_check_lib_save_LIBS
9310
10470
fi
9311
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9312
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10471
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10472
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9313
10473
if test $ac_cv_lib_dl_dlopen = yes; then
9314
10474
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9315
10475
else
9316
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9317
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10476
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10477
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9318
10478
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9319
10479
  echo $ECHO_N "(cached) $ECHO_C" >&6
9320
10480
else
9327
10487
cat >>conftest.$ac_ext <<_ACEOF
9328
10488
/* end confdefs.h.  */
9329
10489
 
9330
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10490
/* Override any GCC internal prototype to avoid an error.
 
10491
   Use char because int might match the return type of a GCC
 
10492
   builtin and then its argument prototype would still apply.  */
9331
10493
#ifdef __cplusplus
9332
10494
extern "C"
9333
10495
#endif
9334
 
/* We use char because int might match the return type of a gcc2
9335
 
   builtin and then its argument prototype would still apply.  */
9336
10496
char dlopen ();
9337
10497
int
9338
10498
main ()
9339
10499
{
9340
 
dlopen ();
 
10500
return dlopen ();
9341
10501
  ;
9342
10502
  return 0;
9343
10503
}
9344
10504
_ACEOF
9345
10505
rm -f conftest.$ac_objext conftest$ac_exeext
9346
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9347
 
  (eval $ac_link) 2>conftest.er1
 
10506
if { (ac_try="$ac_link"
 
10507
case "(($ac_try" in
 
10508
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10509
  *) ac_try_echo=$ac_try;;
 
10510
esac
 
10511
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10512
  (eval "$ac_link") 2>conftest.er1
9348
10513
  ac_status=$?
9349
10514
  grep -v '^ *+' conftest.er1 >conftest.err
9350
10515
  rm -f conftest.er1
9351
10516
  cat conftest.err >&5
9352
10517
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353
 
  (exit $ac_status); } &&
9354
 
         { ac_try='test -z "$ac_c_werror_flag"
9355
 
                         || test ! -s conftest.err'
9356
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9357
 
  (eval $ac_try) 2>&5
9358
 
  ac_status=$?
9359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360
 
  (exit $ac_status); }; } &&
9361
 
         { ac_try='test -s conftest$ac_exeext'
9362
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9363
 
  (eval $ac_try) 2>&5
9364
 
  ac_status=$?
9365
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366
 
  (exit $ac_status); }; }; then
 
10518
  (exit $ac_status); } && {
 
10519
         test -z "$ac_c_werror_flag" ||
 
10520
         test ! -s conftest.err
 
10521
       } && test -s conftest$ac_exeext &&
 
10522
       $as_test_x conftest$ac_exeext; then
9367
10523
  ac_cv_lib_svld_dlopen=yes
9368
10524
else
9369
10525
  echo "$as_me: failed program was:" >&5
9370
10526
sed 's/^/| /' conftest.$ac_ext >&5
9371
10527
 
9372
 
ac_cv_lib_svld_dlopen=no
 
10528
        ac_cv_lib_svld_dlopen=no
9373
10529
fi
9374
 
rm -f conftest.err conftest.$ac_objext \
 
10530
 
 
10531
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9375
10532
      conftest$ac_exeext conftest.$ac_ext
9376
10533
LIBS=$ac_check_lib_save_LIBS
9377
10534
fi
9378
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9379
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10535
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10536
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9380
10537
if test $ac_cv_lib_svld_dlopen = yes; then
9381
10538
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9382
10539
else
9383
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9384
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10540
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10541
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9385
10542
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9386
10543
  echo $ECHO_N "(cached) $ECHO_C" >&6
9387
10544
else
9394
10551
cat >>conftest.$ac_ext <<_ACEOF
9395
10552
/* end confdefs.h.  */
9396
10553
 
9397
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10554
/* Override any GCC internal prototype to avoid an error.
 
10555
   Use char because int might match the return type of a GCC
 
10556
   builtin and then its argument prototype would still apply.  */
9398
10557
#ifdef __cplusplus
9399
10558
extern "C"
9400
10559
#endif
9401
 
/* We use char because int might match the return type of a gcc2
9402
 
   builtin and then its argument prototype would still apply.  */
9403
10560
char dld_link ();
9404
10561
int
9405
10562
main ()
9406
10563
{
9407
 
dld_link ();
 
10564
return dld_link ();
9408
10565
  ;
9409
10566
  return 0;
9410
10567
}
9411
10568
_ACEOF
9412
10569
rm -f conftest.$ac_objext conftest$ac_exeext
9413
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9414
 
  (eval $ac_link) 2>conftest.er1
 
10570
if { (ac_try="$ac_link"
 
10571
case "(($ac_try" in
 
10572
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10573
  *) ac_try_echo=$ac_try;;
 
10574
esac
 
10575
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10576
  (eval "$ac_link") 2>conftest.er1
9415
10577
  ac_status=$?
9416
10578
  grep -v '^ *+' conftest.er1 >conftest.err
9417
10579
  rm -f conftest.er1
9418
10580
  cat conftest.err >&5
9419
10581
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420
 
  (exit $ac_status); } &&
9421
 
         { ac_try='test -z "$ac_c_werror_flag"
9422
 
                         || test ! -s conftest.err'
9423
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9424
 
  (eval $ac_try) 2>&5
9425
 
  ac_status=$?
9426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427
 
  (exit $ac_status); }; } &&
9428
 
         { ac_try='test -s conftest$ac_exeext'
9429
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9430
 
  (eval $ac_try) 2>&5
9431
 
  ac_status=$?
9432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433
 
  (exit $ac_status); }; }; then
 
10582
  (exit $ac_status); } && {
 
10583
         test -z "$ac_c_werror_flag" ||
 
10584
         test ! -s conftest.err
 
10585
       } && test -s conftest$ac_exeext &&
 
10586
       $as_test_x conftest$ac_exeext; then
9434
10587
  ac_cv_lib_dld_dld_link=yes
9435
10588
else
9436
10589
  echo "$as_me: failed program was:" >&5
9437
10590
sed 's/^/| /' conftest.$ac_ext >&5
9438
10591
 
9439
 
ac_cv_lib_dld_dld_link=no
 
10592
        ac_cv_lib_dld_dld_link=no
9440
10593
fi
9441
 
rm -f conftest.err conftest.$ac_objext \
 
10594
 
 
10595
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9442
10596
      conftest$ac_exeext conftest.$ac_ext
9443
10597
LIBS=$ac_check_lib_save_LIBS
9444
10598
fi
9445
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9446
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10599
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10600
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9447
10601
if test $ac_cv_lib_dld_dld_link = yes; then
9448
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
10602
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9449
10603
fi
9450
10604
 
9451
10605
 
9483
10637
    save_LIBS="$LIBS"
9484
10638
    LIBS="$lt_cv_dlopen_libs $LIBS"
9485
10639
 
9486
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9487
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10640
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10641
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9488
10642
if test "${lt_cv_dlopen_self+set}" = set; then
9489
10643
  echo $ECHO_N "(cached) $ECHO_C" >&6
9490
10644
else
9494
10648
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9495
10649
  lt_status=$lt_dlunknown
9496
10650
  cat > conftest.$ac_ext <<EOF
9497
 
#line 9497 "configure"
 
10651
#line 10651 "configure"
9498
10652
#include "confdefs.h"
9499
10653
 
9500
10654
#if HAVE_DLFCN_H
9578
10732
 
9579
10733
 
9580
10734
fi
9581
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9582
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10735
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10736
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9583
10737
 
9584
10738
    if test "x$lt_cv_dlopen_self" = xyes; then
9585
10739
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9586
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9587
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10740
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10741
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9588
10742
if test "${lt_cv_dlopen_self_static+set}" = set; then
9589
10743
  echo $ECHO_N "(cached) $ECHO_C" >&6
9590
10744
else
9594
10748
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9595
10749
  lt_status=$lt_dlunknown
9596
10750
  cat > conftest.$ac_ext <<EOF
9597
 
#line 9597 "configure"
 
10751
#line 10751 "configure"
9598
10752
#include "confdefs.h"
9599
10753
 
9600
10754
#if HAVE_DLFCN_H
9678
10832
 
9679
10833
 
9680
10834
fi
9681
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9682
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10835
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10836
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9683
10837
    fi
9684
10838
 
9685
10839
    CPPFLAGS="$save_CPPFLAGS"
9701
10855
 
9702
10856
 
9703
10857
# Report which library types will actually be built
9704
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9705
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9706
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9707
 
echo "${ECHO_T}$can_build_shared" >&6
 
10858
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10859
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10860
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10861
echo "${ECHO_T}$can_build_shared" >&6; }
9708
10862
 
9709
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9710
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10863
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10864
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9711
10865
test "$can_build_shared" = "no" && enable_shared=no
9712
10866
 
9713
10867
# On AIX, shared libraries and static libraries use the same namespace, and
9721
10875
  fi
9722
10876
  ;;
9723
10877
 
9724
 
aix4* | aix5*)
 
10878
aix[4-9]*)
9725
10879
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9726
10880
    test "$enable_shared" = yes && enable_static=no
9727
10881
  fi
9728
10882
    ;;
9729
10883
esac
9730
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9731
 
echo "${ECHO_T}$enable_shared" >&6
 
10884
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10885
echo "${ECHO_T}$enable_shared" >&6; }
9732
10886
 
9733
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9734
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10887
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10888
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9735
10889
# Make sure either enable_shared or enable_static is yes.
9736
10890
test "$enable_shared" = yes || enable_static=yes
9737
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9738
 
echo "${ECHO_T}$enable_static" >&6
 
10891
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10892
echo "${ECHO_T}$enable_static" >&6; }
9739
10893
 
9740
10894
# The else clause should only fire when bootstrapping the
9741
10895
# libtool distribution, otherwise you forgot to ship ltmain.sh
9777
10931
    predeps \
9778
10932
    postdeps \
9779
10933
    compiler_lib_search_path \
 
10934
    compiler_lib_search_dirs \
9780
10935
    archive_cmds \
9781
10936
    archive_expsym_cmds \
9782
10937
    postinstall_cmds \
9792
10947
    module_cmds \
9793
10948
    module_expsym_cmds \
9794
10949
    lt_cv_prog_compiler_c_o \
 
10950
    fix_srcfile_path \
9795
10951
    exclude_expsyms \
9796
10952
    include_expsyms; do
9797
10953
 
9836
10992
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9837
10993
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9838
10994
#
9839
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10995
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
9840
10996
# Free Software Foundation, Inc.
9841
10997
#
9842
10998
# This file is part of GNU Libtool:
9925
11081
# Is the compiler the GNU C compiler?
9926
11082
with_gcc=$GCC
9927
11083
 
9928
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
9929
 
gcc_ver=\`gcc -dumpversion\`
9930
 
 
9931
11084
# An ERE matcher.
9932
11085
EGREP=$lt_EGREP
9933
11086
 
10061
11214
 
10062
11215
# Dependencies to place before the objects being linked to create a
10063
11216
# shared library.
10064
 
predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
11217
predep_objects=$lt_predep_objects
10065
11218
 
10066
11219
# Dependencies to place after the objects being linked to create a
10067
11220
# shared library.
10068
 
postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
11221
postdep_objects=$lt_postdep_objects
10069
11222
 
10070
11223
# Dependencies to place before the objects being linked to create a
10071
11224
# shared library.
10075
11228
# shared library.
10076
11229
postdeps=$lt_postdeps
10077
11230
 
 
11231
# The directories searched by this compiler when creating a shared
 
11232
# library
 
11233
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
11234
 
10078
11235
# The library search path used internally by the compiler when linking
10079
11236
# a shared library.
10080
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
11237
compiler_lib_search_path=$lt_compiler_lib_search_path
10081
11238
 
10082
11239
# Method to check whether dependent libraries are shared objects.
10083
11240
deplibs_check_method=$lt_deplibs_check_method
10157
11314
link_all_deplibs=$link_all_deplibs
10158
11315
 
10159
11316
# Compile-time system search path for libraries
10160
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
11317
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10161
11318
 
10162
11319
# Run-time system search path for libraries
10163
11320
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10164
11321
 
10165
11322
# Fix the shell variable \$srcfile for the compiler.
10166
 
fix_srcfile_path="$fix_srcfile_path"
 
11323
fix_srcfile_path=$lt_fix_srcfile_path
10167
11324
 
10168
11325
# Set to yes if exported symbols are required.
10169
11326
always_export_symbols=$always_export_symbols
10230
11387
CC="$lt_save_CC"
10231
11388
 
10232
11389
 
10233
 
# Check whether --with-tags or --without-tags was given.
 
11390
# Check whether --with-tags was given.
10234
11391
if test "${with_tags+set}" = set; then
10235
 
  withval="$with_tags"
10236
 
  tagnames="$withval"
10237
 
fi;
 
11392
  withval=$with_tags; tagnames="$withval"
 
11393
fi
 
11394
 
10238
11395
 
10239
11396
if test -f "$ltmain" && test -n "$tagnames"; then
10240
11397
  if test ! -f "${ofile}"; then
10288
11445
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10289
11446
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10290
11447
            (test "X$CXX" != "Xg++"))) ; then
10291
 
          ac_ext=cc
 
11448
          ac_ext=cpp
10292
11449
ac_cpp='$CXXCPP $CPPFLAGS'
10293
11450
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10294
11451
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10323
11480
predeps_CXX=
10324
11481
postdeps_CXX=
10325
11482
compiler_lib_search_path_CXX=
 
11483
compiler_lib_search_dirs_CXX=
10326
11484
 
10327
11485
# Source file extension for C++ test sources.
10328
11486
ac_ext=cpp
10332
11490
objext_CXX=$objext
10333
11491
 
10334
11492
# Code to be used in simple compile tests
10335
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
11493
lt_simple_compile_test_code="int some_variable = 0;"
10336
11494
 
10337
11495
# Code to be used in simple link tests
10338
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
11496
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10339
11497
 
10340
11498
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10341
11499
 
10351
11509
 
10352
11510
# save warnings/boilerplate of simple test code
10353
11511
ac_outfile=conftest.$ac_objext
10354
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11512
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10355
11513
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10356
11514
_lt_compiler_boilerplate=`cat conftest.err`
10357
11515
$rm conftest*
10358
11516
 
10359
11517
ac_outfile=conftest.$ac_objext
10360
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11518
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10361
11519
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10362
11520
_lt_linker_boilerplate=`cat conftest.err`
10363
 
$rm conftest*
 
11521
$rm -r conftest*
10364
11522
 
10365
11523
 
10366
11524
# Allow CC to be a program name with arguments.
10407
11565
  # Set up default GNU C++ configuration
10408
11566
 
10409
11567
 
10410
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11568
# Check whether --with-gnu-ld was given.
10411
11569
if test "${with_gnu_ld+set}" = set; then
10412
 
  withval="$with_gnu_ld"
10413
 
  test "$withval" = no || with_gnu_ld=yes
 
11570
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10414
11571
else
10415
11572
  with_gnu_ld=no
10416
 
fi;
 
11573
fi
 
11574
 
10417
11575
ac_prog=ld
10418
11576
if test "$GCC" = yes; then
10419
11577
  # Check if gcc -print-prog-name=ld gives a path.
10420
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10421
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11578
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11579
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10422
11580
  case $host in
10423
11581
  *-*-mingw*)
10424
11582
    # gcc leaves a trailing carriage return which upsets mingw
10447
11605
    ;;
10448
11606
  esac
10449
11607
elif test "$with_gnu_ld" = yes; then
10450
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10451
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11608
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11609
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10452
11610
else
10453
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10454
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11611
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11612
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10455
11613
fi
10456
11614
if test "${lt_cv_path_LD+set}" = set; then
10457
11615
  echo $ECHO_N "(cached) $ECHO_C" >&6
10484
11642
 
10485
11643
LD="$lt_cv_path_LD"
10486
11644
if test -n "$LD"; then
10487
 
  echo "$as_me:$LINENO: result: $LD" >&5
10488
 
echo "${ECHO_T}$LD" >&6
 
11645
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11646
echo "${ECHO_T}$LD" >&6; }
10489
11647
else
10490
 
  echo "$as_me:$LINENO: result: no" >&5
10491
 
echo "${ECHO_T}no" >&6
 
11648
  { echo "$as_me:$LINENO: result: no" >&5
 
11649
echo "${ECHO_T}no" >&6; }
10492
11650
fi
10493
11651
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10494
11652
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10495
11653
   { (exit 1); exit 1; }; }
10496
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10497
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11654
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11655
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10498
11656
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10499
11657
  echo $ECHO_N "(cached) $ECHO_C" >&6
10500
11658
else
10508
11666
  ;;
10509
11667
esac
10510
11668
fi
10511
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10512
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11669
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11670
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10513
11671
with_gnu_ld=$lt_cv_prog_gnu_ld
10514
11672
 
10515
11673
 
10559
11717
fi
10560
11718
 
10561
11719
# PORTME: fill in a description of your system's C++ link characteristics
10562
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10563
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11720
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11721
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10564
11722
ld_shlibs_CXX=yes
10565
11723
case $host_os in
10566
11724
  aix3*)
10567
11725
    # FIXME: insert proper C++ library support
10568
11726
    ld_shlibs_CXX=no
10569
11727
    ;;
10570
 
  aix4* | aix5*)
 
11728
  aix[4-9]*)
10571
11729
    if test "$host_cpu" = ia64; then
10572
11730
      # On IA64, the linker does run time linking by default, so we don't
10573
11731
      # have to do anything special.
10580
11738
      # Test if we are trying to use run time linking or normal
10581
11739
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10582
11740
      # need to do runtime linking.
10583
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
11741
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10584
11742
        for ld_flag in $LDFLAGS; do
10585
11743
          case $ld_flag in
10586
11744
          *-brtl*)
10616
11774
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10617
11775
        then
10618
11776
          # We have reworked collect2
10619
 
          hardcode_direct_CXX=yes
 
11777
          :
10620
11778
        else
10621
11779
          # We have old collect2
10622
11780
          hardcode_direct_CXX=unsupported
10672
11830
}
10673
11831
_ACEOF
10674
11832
rm -f conftest.$ac_objext conftest$ac_exeext
10675
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10676
 
  (eval $ac_link) 2>conftest.er1
 
11833
if { (ac_try="$ac_link"
 
11834
case "(($ac_try" in
 
11835
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11836
  *) ac_try_echo=$ac_try;;
 
11837
esac
 
11838
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11839
  (eval "$ac_link") 2>conftest.er1
10677
11840
  ac_status=$?
10678
11841
  grep -v '^ *+' conftest.er1 >conftest.err
10679
11842
  rm -f conftest.er1
10680
11843
  cat conftest.err >&5
10681
11844
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682
 
  (exit $ac_status); } &&
10683
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10684
 
                         || test ! -s conftest.err'
10685
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10686
 
  (eval $ac_try) 2>&5
10687
 
  ac_status=$?
10688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689
 
  (exit $ac_status); }; } &&
10690
 
         { ac_try='test -s conftest$ac_exeext'
10691
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10692
 
  (eval $ac_try) 2>&5
10693
 
  ac_status=$?
10694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695
 
  (exit $ac_status); }; }; then
 
11845
  (exit $ac_status); } && {
 
11846
         test -z "$ac_cxx_werror_flag" ||
 
11847
         test ! -s conftest.err
 
11848
       } && test -s conftest$ac_exeext &&
 
11849
       $as_test_x conftest$ac_exeext; then
10696
11850
 
10697
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10698
 
}'`
 
11851
lt_aix_libpath_sed='
 
11852
    /Import File Strings/,/^$/ {
 
11853
        /^0/ {
 
11854
            s/^0  *\(.*\)$/\1/
 
11855
            p
 
11856
        }
 
11857
    }'
 
11858
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10699
11859
# Check for a 64-bit object if we didn't find anything.
10700
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10701
 
}'`; fi
 
11860
if test -z "$aix_libpath"; then
 
11861
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11862
fi
10702
11863
else
10703
11864
  echo "$as_me: failed program was:" >&5
10704
11865
sed 's/^/| /' conftest.$ac_ext >&5
10705
11866
 
 
11867
 
10706
11868
fi
10707
 
rm -f conftest.err conftest.$ac_objext \
 
11869
 
 
11870
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10708
11871
      conftest$ac_exeext conftest.$ac_ext
10709
11872
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10710
11873
 
10734
11897
}
10735
11898
_ACEOF
10736
11899
rm -f conftest.$ac_objext conftest$ac_exeext
10737
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10738
 
  (eval $ac_link) 2>conftest.er1
 
11900
if { (ac_try="$ac_link"
 
11901
case "(($ac_try" in
 
11902
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11903
  *) ac_try_echo=$ac_try;;
 
11904
esac
 
11905
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11906
  (eval "$ac_link") 2>conftest.er1
10739
11907
  ac_status=$?
10740
11908
  grep -v '^ *+' conftest.er1 >conftest.err
10741
11909
  rm -f conftest.er1
10742
11910
  cat conftest.err >&5
10743
11911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744
 
  (exit $ac_status); } &&
10745
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10746
 
                         || test ! -s conftest.err'
10747
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10748
 
  (eval $ac_try) 2>&5
10749
 
  ac_status=$?
10750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751
 
  (exit $ac_status); }; } &&
10752
 
         { ac_try='test -s conftest$ac_exeext'
10753
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754
 
  (eval $ac_try) 2>&5
10755
 
  ac_status=$?
10756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757
 
  (exit $ac_status); }; }; then
 
11912
  (exit $ac_status); } && {
 
11913
         test -z "$ac_cxx_werror_flag" ||
 
11914
         test ! -s conftest.err
 
11915
       } && test -s conftest$ac_exeext &&
 
11916
       $as_test_x conftest$ac_exeext; then
10758
11917
 
10759
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10760
 
}'`
 
11918
lt_aix_libpath_sed='
 
11919
    /Import File Strings/,/^$/ {
 
11920
        /^0/ {
 
11921
            s/^0  *\(.*\)$/\1/
 
11922
            p
 
11923
        }
 
11924
    }'
 
11925
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10761
11926
# Check for a 64-bit object if we didn't find anything.
10762
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10763
 
}'`; fi
 
11927
if test -z "$aix_libpath"; then
 
11928
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11929
fi
10764
11930
else
10765
11931
  echo "$as_me: failed program was:" >&5
10766
11932
sed 's/^/| /' conftest.$ac_ext >&5
10767
11933
 
 
11934
 
10768
11935
fi
10769
 
rm -f conftest.err conftest.$ac_objext \
 
11936
 
 
11937
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10770
11938
      conftest$ac_exeext conftest.$ac_ext
10771
11939
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10772
11940
 
10828
11996
    fi
10829
11997
  ;;
10830
11998
      darwin* | rhapsody*)
10831
 
        case $host_os in
10832
 
        rhapsody* | darwin1.[012])
10833
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10834
 
         ;;
10835
 
       *) # Darwin 1.3 on
10836
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10837
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10838
 
         else
10839
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
10840
 
             10.[012])
10841
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10842
 
               ;;
10843
 
             10.*)
10844
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10845
 
               ;;
10846
 
           esac
10847
 
         fi
10848
 
         ;;
10849
 
        esac
10850
11999
      archive_cmds_need_lc_CXX=no
10851
12000
      hardcode_direct_CXX=no
10852
12001
      hardcode_automatic_CXX=yes
10853
12002
      hardcode_shlibpath_var_CXX=unsupported
10854
12003
      whole_archive_flag_spec_CXX=''
10855
12004
      link_all_deplibs_CXX=yes
10856
 
 
10857
 
    if test "$GXX" = yes ; then
10858
 
      lt_int_apple_cc_single_mod=no
 
12005
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
12006
      if test "$GXX" = yes ; then
10859
12007
      output_verbose_link_cmd='echo'
10860
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10861
 
       lt_int_apple_cc_single_mod=yes
 
12008
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12009
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12010
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
12011
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
12012
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
12013
        archive_cmds_CXX="\$CC -r -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${_lt_dsymutil}"
 
12014
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -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${_lt_dar_export_syms}${_lt_dsymutil}"
10862
12015
      fi
10863
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10864
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10865
 
      else
10866
 
          archive_cmds_CXX='$CC -r -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'
10867
 
        fi
10868
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10869
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10870
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10871
 
            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}'
10872
 
          else
10873
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -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}'
10874
 
          fi
10875
 
            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}'
10876
12016
      else
10877
12017
      case $cc_basename in
10878
12018
        xlc*)
10879
12019
         output_verbose_link_cmd='echo'
10880
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
12020
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10881
12021
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10882
12022
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10883
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
12023
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10884
12024
          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}'
10885
12025
          ;;
10886
12026
       *)
10914
12054
  freebsd-elf*)
10915
12055
    archive_cmds_need_lc_CXX=no
10916
12056
    ;;
10917
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
12057
  freebsd* | dragonfly*)
10918
12058
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10919
12059
    # conventions
10920
12060
    ld_shlibs_CXX=yes
10963
12103
      hardcode_libdir_separator_CXX=:
10964
12104
 
10965
12105
      case $host_cpu in
10966
 
      hppa*64*|ia64*)
10967
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10968
 
        ;;
 
12106
      hppa*64*|ia64*) ;;
10969
12107
      *)
10970
12108
        export_dynamic_flag_spec_CXX='${wl}-E'
10971
12109
        ;;
11033
12171
        ;;
11034
12172
    esac
11035
12173
    ;;
11036
 
  interix3*)
 
12174
  interix[3-9]*)
11037
12175
    hardcode_direct_CXX=no
11038
12176
    hardcode_shlibpath_var_CXX=no
11039
12177
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11073
12211
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11074
12212
    hardcode_libdir_separator_CXX=:
11075
12213
    ;;
11076
 
  linux*)
 
12214
  linux* | k*bsd*-gnu)
11077
12215
    case $cc_basename in
11078
12216
      KCC*)
11079
12217
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11125
12263
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11126
12264
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11127
12265
        ;;
11128
 
      pgCC*)
 
12266
      pgCC* | pgcpp*)
11129
12267
        # Portland Group C++ compiler
11130
12268
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11131
12269
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11153
12291
        # dependencies.
11154
12292
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11155
12293
        ;;
 
12294
      *)
 
12295
        case `$CC -V 2>&1 | sed 5q` in
 
12296
        *Sun\ C*)
 
12297
          # Sun C++ 5.9
 
12298
          no_undefined_flag_CXX=' -zdefs'
 
12299
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12300
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
12301
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12302
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
12303
 
 
12304
          # Not sure whether something based on
 
12305
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
12306
          # would be better.
 
12307
          output_verbose_link_cmd='echo'
 
12308
 
 
12309
          # Archives containing C++ object files must be created using
 
12310
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
12311
          # necessary to make sure instantiated templates are included
 
12312
          # in the archive.
 
12313
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12314
          ;;
 
12315
        esac
 
12316
        ;;
11156
12317
    esac
11157
12318
    ;;
11158
12319
  lynxos*)
11175
12336
        ;;
11176
12337
    esac
11177
12338
    ;;
11178
 
  netbsd*)
 
12339
  netbsd* | netbsdelf*-gnu)
11179
12340
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11180
12341
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11181
12342
      wlarc=
11191
12352
    ld_shlibs_CXX=no
11192
12353
    ;;
11193
12354
  openbsd*)
11194
 
    hardcode_direct_CXX=yes
11195
 
    hardcode_shlibpath_var_CXX=no
11196
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11197
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11198
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11199
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11200
 
      export_dynamic_flag_spec_CXX='${wl}-E'
11201
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12355
    if test -f /usr/libexec/ld.so; then
 
12356
      hardcode_direct_CXX=yes
 
12357
      hardcode_shlibpath_var_CXX=no
 
12358
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12359
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12360
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12361
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12362
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12363
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12364
      fi
 
12365
      output_verbose_link_cmd='echo'
 
12366
    else
 
12367
      ld_shlibs_CXX=no
11202
12368
    fi
11203
 
    output_verbose_link_cmd='echo'
11204
12369
    ;;
11205
12370
  osf3*)
11206
12371
    case $cc_basename in
11362
12527
        case $host_os in
11363
12528
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11364
12529
          *)
11365
 
            # The C++ compiler is used as linker so we must use $wl
11366
 
            # flag to pass the commands to the underlying system
11367
 
            # linker. We must also pass each convience library through
11368
 
            # to the system linker between allextract/defaultextract.
11369
 
            # The C++ compiler will combine linker options so we
11370
 
            # cannot just pass the convience library names through
11371
 
            # without $wl.
 
12530
            # The compiler driver will combine and reorder linker options,
 
12531
            # but understands `-z linker_flag'.
11372
12532
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11373
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
12533
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11374
12534
            ;;
11375
12535
        esac
11376
12536
        link_all_deplibs_CXX=yes
11417
12577
          fi
11418
12578
 
11419
12579
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12580
          case $host_os in
 
12581
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12582
          *)
 
12583
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12584
            ;;
 
12585
          esac
11420
12586
        fi
11421
12587
        ;;
11422
12588
    esac
11497
12663
    ld_shlibs_CXX=no
11498
12664
    ;;
11499
12665
esac
11500
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11501
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12666
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12667
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11502
12668
test "$ld_shlibs_CXX" = no && can_build_shared=no
11503
12669
 
11504
12670
GCC_CXX="$GXX"
11505
12671
LD_CXX="$LD"
11506
12672
 
11507
 
 
11508
12673
cat > conftest.$ac_ext <<EOF
11509
12674
class Foo
11510
12675
{
11606
12771
 
11607
12772
$rm -f confest.$objext
11608
12773
 
 
12774
compiler_lib_search_dirs_CXX=
 
12775
if test -n "$compiler_lib_search_path_CXX"; then
 
12776
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
12777
fi
 
12778
 
11609
12779
# PORTME: override above test on systems where it is broken
11610
12780
case $host_os in
11611
 
interix3*)
 
12781
interix[3-9]*)
11612
12782
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
11613
12783
  # hack all around it, let's just trust "g++" to DTRT.
11614
12784
  predep_objects_CXX=
11616
12786
  postdeps_CXX=
11617
12787
  ;;
11618
12788
 
 
12789
linux*)
 
12790
  case `$CC -V 2>&1 | sed 5q` in
 
12791
  *Sun\ C*)
 
12792
    # Sun C++ 5.9
 
12793
    #
 
12794
    # The more standards-conforming stlport4 library is
 
12795
    # incompatible with the Cstd library. Avoid specifying
 
12796
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12797
    # -library=stlport4 depends on it.
 
12798
    case " $CXX $CXXFLAGS " in
 
12799
    *" -library=stlport4 "*)
 
12800
      solaris_use_stlport4=yes
 
12801
      ;;
 
12802
    esac
 
12803
    if test "$solaris_use_stlport4" != yes; then
 
12804
      postdeps_CXX='-library=Cstd -library=Crun'
 
12805
    fi
 
12806
    ;;
 
12807
  esac
 
12808
  ;;
 
12809
 
11619
12810
solaris*)
11620
12811
  case $cc_basename in
11621
12812
  CC*)
 
12813
    # The more standards-conforming stlport4 library is
 
12814
    # incompatible with the Cstd library. Avoid specifying
 
12815
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12816
    # -library=stlport4 depends on it.
 
12817
    case " $CXX $CXXFLAGS " in
 
12818
    *" -library=stlport4 "*)
 
12819
      solaris_use_stlport4=yes
 
12820
      ;;
 
12821
    esac
 
12822
 
11622
12823
    # Adding this requires a known-good setup of shared libraries for
11623
12824
    # Sun compiler versions before 5.6, else PIC objects from an old
11624
12825
    # archive will be linked into the output, leading to subtle bugs.
11625
 
    postdeps_CXX='-lCstd -lCrun'
 
12826
    if test "$solaris_use_stlport4" != yes; then
 
12827
      postdeps_CXX='-library=Cstd -library=Crun'
 
12828
    fi
11626
12829
    ;;
11627
12830
  esac
11628
12831
  ;;
11629
12832
esac
11630
12833
 
11631
 
 
11632
12834
case " $postdeps_CXX " in
11633
12835
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11634
12836
esac
11637
12839
lt_prog_compiler_pic_CXX=
11638
12840
lt_prog_compiler_static_CXX=
11639
12841
 
11640
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11641
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12842
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12843
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11642
12844
 
11643
12845
  # C++ specific cases for pic, static, wl, etc.
11644
12846
  if test "$GXX" = yes; then
11659
12861
      # like `-m68040'.
11660
12862
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11661
12863
      ;;
11662
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12864
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11663
12865
      # PIC is the default for these OSes.
11664
12866
      ;;
11665
 
    mingw* | os2* | pw32*)
 
12867
    mingw* | cygwin* | os2* | pw32*)
11666
12868
      # This hack is so that the source file can tell whether it is being
11667
12869
      # built for inclusion in a dll (and should export symbols for example).
 
12870
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12871
      # (--disable-auto-import) libraries
11668
12872
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11669
12873
      ;;
11670
12874
    darwin* | rhapsody*)
11676
12880
      # DJGPP does not support shared libraries at all
11677
12881
      lt_prog_compiler_pic_CXX=
11678
12882
      ;;
11679
 
    interix3*)
 
12883
    interix[3-9]*)
11680
12884
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11681
12885
      # Instead, we relocate shared libraries at runtime.
11682
12886
      ;;
11702
12906
    esac
11703
12907
  else
11704
12908
    case $host_os in
11705
 
      aix4* | aix5*)
 
12909
      aix[4-9]*)
11706
12910
        # All AIX code is PIC.
11707
12911
        if test "$host_cpu" = ia64; then
11708
12912
          # AIX 5 now supports IA64 processor
11742
12946
            ;;
11743
12947
        esac
11744
12948
        ;;
11745
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
12949
      freebsd* | dragonfly*)
11746
12950
        # FreeBSD uses GNU C++
11747
12951
        ;;
11748
12952
      hpux9* | hpux10* | hpux11*)
11785
12989
            ;;
11786
12990
        esac
11787
12991
        ;;
11788
 
      linux*)
 
12992
      linux* | k*bsd*-gnu)
11789
12993
        case $cc_basename in
11790
12994
          KCC*)
11791
12995
            # KAI C++ Compiler
11798
13002
            lt_prog_compiler_pic_CXX='-KPIC'
11799
13003
            lt_prog_compiler_static_CXX='-static'
11800
13004
            ;;
11801
 
          pgCC*)
 
13005
          pgCC* | pgcpp*)
11802
13006
            # Portland Group C++ compiler.
11803
13007
            lt_prog_compiler_wl_CXX='-Wl,'
11804
13008
            lt_prog_compiler_pic_CXX='-fpic'
11812
13016
            lt_prog_compiler_static_CXX='-non_shared'
11813
13017
            ;;
11814
13018
          *)
 
13019
            case `$CC -V 2>&1 | sed 5q` in
 
13020
            *Sun\ C*)
 
13021
              # Sun C++ 5.9
 
13022
              lt_prog_compiler_pic_CXX='-KPIC'
 
13023
              lt_prog_compiler_static_CXX='-Bstatic'
 
13024
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
13025
              ;;
 
13026
            esac
11815
13027
            ;;
11816
13028
        esac
11817
13029
        ;;
11828
13040
            ;;
11829
13041
        esac
11830
13042
        ;;
11831
 
      netbsd*)
 
13043
      netbsd* | netbsdelf*-gnu)
11832
13044
        ;;
11833
13045
      osf3* | osf4* | osf5*)
11834
13046
        case $cc_basename in
11911
13123
    esac
11912
13124
  fi
11913
13125
 
11914
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11915
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
13126
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
13127
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11916
13128
 
11917
13129
#
11918
13130
# Check to make sure the PIC flag actually works.
11919
13131
#
11920
13132
if test -n "$lt_prog_compiler_pic_CXX"; then
11921
13133
 
11922
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11923
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11924
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
13134
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13135
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
 
13136
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
11925
13137
  echo $ECHO_N "(cached) $ECHO_C" >&6
11926
13138
else
11927
 
  lt_prog_compiler_pic_works_CXX=no
 
13139
  lt_cv_prog_compiler_pic_works_CXX=no
11928
13140
  ac_outfile=conftest.$ac_objext
11929
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13141
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11930
13142
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11931
13143
   # Insert the option either (1) after the last *FLAGS variable, or
11932
13144
   # (2) before a word containing "conftest.", or (3) at the end.
11937
13149
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11938
13150
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11939
13151
   -e 's:$: $lt_compiler_flag:'`
11940
 
   (eval echo "\"\$as_me:11940: $lt_compile\"" >&5)
 
13152
   (eval echo "\"\$as_me:13152: $lt_compile\"" >&5)
11941
13153
   (eval "$lt_compile" 2>conftest.err)
11942
13154
   ac_status=$?
11943
13155
   cat conftest.err >&5
11944
 
   echo "$as_me:11944: \$? = $ac_status" >&5
 
13156
   echo "$as_me:13156: \$? = $ac_status" >&5
11945
13157
   if (exit $ac_status) && test -s "$ac_outfile"; then
11946
13158
     # The compiler can only warn and ignore the option if not recognized
11947
13159
     # So say no if there are warnings other than the usual output.
11948
13160
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11949
13161
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11950
13162
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11951
 
       lt_prog_compiler_pic_works_CXX=yes
 
13163
       lt_cv_prog_compiler_pic_works_CXX=yes
11952
13164
     fi
11953
13165
   fi
11954
13166
   $rm conftest*
11955
13167
 
11956
13168
fi
11957
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11958
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
13169
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13170
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
11959
13171
 
11960
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
13172
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
11961
13173
    case $lt_prog_compiler_pic_CXX in
11962
13174
     "" | " "*) ;;
11963
13175
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
11982
13194
# Check to make sure the static flag actually works.
11983
13195
#
11984
13196
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11985
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11986
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11987
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
13197
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13198
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
13199
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
11988
13200
  echo $ECHO_N "(cached) $ECHO_C" >&6
11989
13201
else
11990
 
  lt_prog_compiler_static_works_CXX=no
 
13202
  lt_cv_prog_compiler_static_works_CXX=no
11991
13203
   save_LDFLAGS="$LDFLAGS"
11992
13204
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11993
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13205
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11994
13206
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11995
13207
     # The linker can only warn and ignore the option if not recognized
11996
13208
     # So say no if there are warnings
12000
13212
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12001
13213
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12002
13214
       if diff conftest.exp conftest.er2 >/dev/null; then
12003
 
         lt_prog_compiler_static_works_CXX=yes
 
13215
         lt_cv_prog_compiler_static_works_CXX=yes
12004
13216
       fi
12005
13217
     else
12006
 
       lt_prog_compiler_static_works_CXX=yes
 
13218
       lt_cv_prog_compiler_static_works_CXX=yes
12007
13219
     fi
12008
13220
   fi
12009
 
   $rm conftest*
 
13221
   $rm -r conftest*
12010
13222
   LDFLAGS="$save_LDFLAGS"
12011
13223
 
12012
13224
fi
12013
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12014
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
13225
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13226
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12015
13227
 
12016
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
13228
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12017
13229
    :
12018
13230
else
12019
13231
    lt_prog_compiler_static_CXX=
12020
13232
fi
12021
13233
 
12022
13234
 
12023
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12024
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
13235
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13236
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12025
13237
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12026
13238
  echo $ECHO_N "(cached) $ECHO_C" >&6
12027
13239
else
12030
13242
   mkdir conftest
12031
13243
   cd conftest
12032
13244
   mkdir out
12033
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13245
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12034
13246
 
12035
13247
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12036
13248
   # Insert the option either (1) after the last *FLAGS variable, or
12041
13253
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12042
13254
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12043
13255
   -e 's:$: $lt_compiler_flag:'`
12044
 
   (eval echo "\"\$as_me:12044: $lt_compile\"" >&5)
 
13256
   (eval echo "\"\$as_me:13256: $lt_compile\"" >&5)
12045
13257
   (eval "$lt_compile" 2>out/conftest.err)
12046
13258
   ac_status=$?
12047
13259
   cat out/conftest.err >&5
12048
 
   echo "$as_me:12048: \$? = $ac_status" >&5
 
13260
   echo "$as_me:13260: \$? = $ac_status" >&5
12049
13261
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12050
13262
   then
12051
13263
     # The compiler can only warn and ignore the option if not recognized
12067
13279
   $rm conftest*
12068
13280
 
12069
13281
fi
12070
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12071
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
13282
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13283
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12072
13284
 
12073
13285
 
12074
13286
hard_links="nottested"
12075
13287
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12076
13288
  # do not overwrite the value of need_locks provided by the user
12077
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12078
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
13289
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13290
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12079
13291
  hard_links=yes
12080
13292
  $rm conftest*
12081
13293
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12082
13294
  touch conftest.a
12083
13295
  ln conftest.a conftest.b 2>&5 || hard_links=no
12084
13296
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12085
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
12086
 
echo "${ECHO_T}$hard_links" >&6
 
13297
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
13298
echo "${ECHO_T}$hard_links" >&6; }
12087
13299
  if test "$hard_links" = no; then
12088
13300
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12089
13301
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12093
13305
  need_locks=no
12094
13306
fi
12095
13307
 
12096
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12097
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13308
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13309
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12098
13310
 
12099
13311
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12100
13312
  case $host_os in
12101
 
  aix4* | aix5*)
 
13313
  aix[4-9]*)
12102
13314
    # If we're using GNU nm, then we don't want the "-C" option.
12103
13315
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12104
13316
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12111
13323
    export_symbols_cmds_CXX="$ltdll_cmds"
12112
13324
  ;;
12113
13325
  cygwin* | mingw*)
12114
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
13326
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
13327
  ;;
 
13328
  linux* | k*bsd*-gnu)
 
13329
    link_all_deplibs_CXX=no
12115
13330
  ;;
12116
13331
  *)
12117
13332
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12118
13333
  ;;
12119
13334
  esac
 
13335
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12120
13336
 
12121
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12122
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
13337
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13338
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12123
13339
test "$ld_shlibs_CXX" = no && can_build_shared=no
12124
13340
 
12125
13341
#
12139
13355
      # Test whether the compiler implicitly links with -lc since on some
12140
13356
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12141
13357
      # to ld, don't add -lc before -lgcc.
12142
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12143
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
13358
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13359
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12144
13360
      $rm conftest*
12145
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13361
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12146
13362
 
12147
13363
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12148
13364
  (eval $ac_compile) 2>&5
12177
13393
        cat conftest.err 1>&5
12178
13394
      fi
12179
13395
      $rm conftest*
12180
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12181
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
13396
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13397
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12182
13398
      ;;
12183
13399
    esac
12184
13400
  fi
12185
13401
  ;;
12186
13402
esac
12187
13403
 
12188
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12189
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
13404
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13405
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12190
13406
library_names_spec=
12191
13407
libname_spec='lib$name'
12192
13408
soname_spec=
12200
13416
version_type=none
12201
13417
dynamic_linker="$host_os ld.so"
12202
13418
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12203
 
if test "$GCC" = yes; then
12204
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12205
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12206
 
    # if the path contains ";" then we assume it to be the separator
12207
 
    # otherwise default to the standard path separator (i.e. ":") - it is
12208
 
    # assumed that no part of a normal pathname contains ";" but that should
12209
 
    # okay in the real world where ";" in dirpaths is itself problematic.
12210
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12211
 
  else
12212
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12213
 
  fi
12214
 
else
12215
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12216
 
fi
 
13419
 
12217
13420
need_lib_prefix=unknown
12218
13421
hardcode_into_libs=no
12219
13422
 
12231
13434
  soname_spec='${libname}${release}${shared_ext}$major'
12232
13435
  ;;
12233
13436
 
12234
 
aix4* | aix5*)
 
13437
aix[4-9]*)
12235
13438
  version_type=linux
12236
13439
  need_lib_prefix=no
12237
13440
  need_version=no
12370
13573
  shlibpath_overrides_runpath=yes
12371
13574
  shlibpath_var=DYLD_LIBRARY_PATH
12372
13575
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12373
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12374
 
  if test "$GCC" = yes; then
12375
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12376
 
  else
12377
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12378
 
  fi
 
13576
 
12379
13577
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12380
13578
  ;;
12381
13579
 
12392
13590
  dynamic_linker=no
12393
13591
  ;;
12394
13592
 
12395
 
kfreebsd*-gnu)
12396
 
  version_type=linux
12397
 
  need_lib_prefix=no
12398
 
  need_version=no
12399
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12400
 
  soname_spec='${libname}${release}${shared_ext}$major'
12401
 
  shlibpath_var=LD_LIBRARY_PATH
12402
 
  shlibpath_overrides_runpath=no
12403
 
  hardcode_into_libs=yes
12404
 
  dynamic_linker='GNU ld.so'
12405
 
  ;;
12406
 
 
12407
13593
freebsd* | dragonfly*)
12408
13594
  # DragonFly does not have aout.  When/if they implement a new
12409
13595
  # versioning mechanism, adjust this.
12441
13627
    shlibpath_overrides_runpath=no
12442
13628
    hardcode_into_libs=yes
12443
13629
    ;;
12444
 
  freebsd*) # from 4.6 on
 
13630
  *) # from 4.6 on, and DragonFly
12445
13631
    shlibpath_overrides_runpath=yes
12446
13632
    hardcode_into_libs=yes
12447
13633
    ;;
12504
13690
  postinstall_cmds='chmod 555 $lib'
12505
13691
  ;;
12506
13692
 
12507
 
interix3*)
 
13693
interix[3-9]*)
12508
13694
  version_type=linux
12509
13695
  need_lib_prefix=no
12510
13696
  need_version=no
12559
13745
  ;;
12560
13746
 
12561
13747
# This must be Linux ELF.
12562
 
linux*)
 
13748
linux* | k*bsd*-gnu)
12563
13749
  version_type=linux
12564
13750
  need_lib_prefix=no
12565
13751
  need_version=no
12573
13759
  # before this can be enabled.
12574
13760
  hardcode_into_libs=yes
12575
13761
 
12576
 
  # find out which ABI we are using
12577
 
  libsuff=
12578
 
  case "$host_cpu" in
12579
 
  x86_64*|s390x*|powerpc64*)
12580
 
    echo '#line 12580 "configure"' > conftest.$ac_ext
12581
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12582
 
  (eval $ac_compile) 2>&5
12583
 
  ac_status=$?
12584
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585
 
  (exit $ac_status); }; then
12586
 
      case `/usr/bin/file conftest.$ac_objext` in
12587
 
      *64-bit*)
12588
 
        libsuff=64
12589
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12590
 
        ;;
12591
 
      esac
12592
 
    fi
12593
 
    rm -rf conftest*
12594
 
    ;;
12595
 
  esac
12596
 
 
12597
13762
  # Append ld.so.conf contents to the search path
12598
13763
  if test -f /etc/ld.so.conf; then
12599
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12600
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
13764
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
13765
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12601
13766
  fi
12602
13767
 
12603
13768
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12609
13774
  dynamic_linker='GNU/Linux ld.so'
12610
13775
  ;;
12611
13776
 
12612
 
knetbsd*-gnu)
 
13777
netbsdelf*-gnu)
12613
13778
  version_type=linux
12614
13779
  need_lib_prefix=no
12615
13780
  need_version=no
12618
13783
  shlibpath_var=LD_LIBRARY_PATH
12619
13784
  shlibpath_overrides_runpath=no
12620
13785
  hardcode_into_libs=yes
12621
 
  dynamic_linker='GNU ld.so'
 
13786
  dynamic_linker='NetBSD ld.elf_so'
12622
13787
  ;;
12623
13788
 
12624
13789
netbsd*)
12702
13867
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12703
13868
  ;;
12704
13869
 
 
13870
rdos*)
 
13871
  dynamic_linker=no
 
13872
  ;;
 
13873
 
12705
13874
solaris*)
12706
13875
  version_type=linux
12707
13876
  need_lib_prefix=no
12794
13963
  dynamic_linker=no
12795
13964
  ;;
12796
13965
esac
12797
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12798
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13966
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13967
echo "${ECHO_T}$dynamic_linker" >&6; }
12799
13968
test "$dynamic_linker" = no && can_build_shared=no
12800
13969
 
 
13970
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13971
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13972
else
 
13973
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
13974
fi
 
13975
 
 
13976
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13977
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13978
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13979
else
 
13980
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
13981
fi
 
13982
 
 
13983
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13984
 
12801
13985
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12802
13986
if test "$GCC" = yes; then
12803
13987
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12804
13988
fi
12805
13989
 
12806
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12807
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13990
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13991
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12808
13992
hardcode_action_CXX=
12809
13993
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12810
13994
   test -n "$runpath_var_CXX" || \
12828
14012
  # directories.
12829
14013
  hardcode_action_CXX=unsupported
12830
14014
fi
12831
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12832
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
14015
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
14016
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12833
14017
 
12834
14018
if test "$hardcode_action_CXX" = relink; then
12835
14019
  # Fast installation is not supported
12881
14065
    predeps_CXX \
12882
14066
    postdeps_CXX \
12883
14067
    compiler_lib_search_path_CXX \
 
14068
    compiler_lib_search_dirs_CXX \
12884
14069
    archive_cmds_CXX \
12885
14070
    archive_expsym_cmds_CXX \
12886
14071
    postinstall_cmds_CXX \
12896
14081
    module_cmds_CXX \
12897
14082
    module_expsym_cmds_CXX \
12898
14083
    lt_cv_prog_compiler_c_o_CXX \
 
14084
    fix_srcfile_path_CXX \
12899
14085
    exclude_expsyms_CXX \
12900
14086
    include_expsyms_CXX; do
12901
14087
 
12981
14167
# Is the compiler the GNU C compiler?
12982
14168
with_gcc=$GCC_CXX
12983
14169
 
12984
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
12985
 
gcc_ver=\`gcc -dumpversion\`
12986
 
 
12987
14170
# An ERE matcher.
12988
14171
EGREP=$lt_EGREP
12989
14172
 
13117
14300
 
13118
14301
# Dependencies to place before the objects being linked to create a
13119
14302
# shared library.
13120
 
predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
14303
predep_objects=$lt_predep_objects_CXX
13121
14304
 
13122
14305
# Dependencies to place after the objects being linked to create a
13123
14306
# shared library.
13124
 
postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
14307
postdep_objects=$lt_postdep_objects_CXX
13125
14308
 
13126
14309
# Dependencies to place before the objects being linked to create a
13127
14310
# shared library.
13131
14314
# shared library.
13132
14315
postdeps=$lt_postdeps_CXX
13133
14316
 
 
14317
# The directories searched by this compiler when creating a shared
 
14318
# library
 
14319
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
14320
 
13134
14321
# The library search path used internally by the compiler when linking
13135
14322
# a shared library.
13136
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
14323
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13137
14324
 
13138
14325
# Method to check whether dependent libraries are shared objects.
13139
14326
deplibs_check_method=$lt_deplibs_check_method
13213
14400
link_all_deplibs=$link_all_deplibs_CXX
13214
14401
 
13215
14402
# Compile-time system search path for libraries
13216
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
14403
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13217
14404
 
13218
14405
# Run-time system search path for libraries
13219
14406
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13220
14407
 
13221
14408
# Fix the shell variable \$srcfile for the compiler.
13222
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
14409
fix_srcfile_path=$lt_fix_srcfile_path
13223
14410
 
13224
14411
# Set to yes if exported symbols are required.
13225
14412
always_export_symbols=$always_export_symbols_CXX
13310
14497
objext_F77=$objext
13311
14498
 
13312
14499
# Code to be used in simple compile tests
13313
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
14500
lt_simple_compile_test_code="\
 
14501
      subroutine t
 
14502
      return
 
14503
      end
 
14504
"
13314
14505
 
13315
14506
# Code to be used in simple link tests
13316
 
lt_simple_link_test_code="      program t\n      end\n"
 
14507
lt_simple_link_test_code="\
 
14508
      program t
 
14509
      end
 
14510
"
13317
14511
 
13318
14512
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13319
14513
 
13329
14523
 
13330
14524
# save warnings/boilerplate of simple test code
13331
14525
ac_outfile=conftest.$ac_objext
13332
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14526
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13333
14527
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13334
14528
_lt_compiler_boilerplate=`cat conftest.err`
13335
14529
$rm conftest*
13336
14530
 
13337
14531
ac_outfile=conftest.$ac_objext
13338
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14532
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13339
14533
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13340
14534
_lt_linker_boilerplate=`cat conftest.err`
13341
 
$rm conftest*
 
14535
$rm -r conftest*
13342
14536
 
13343
14537
 
13344
14538
# Allow CC to be a program name with arguments.
13357
14551
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13358
14552
 
13359
14553
 
13360
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13361
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13362
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13363
 
echo "${ECHO_T}$can_build_shared" >&6
 
14554
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14555
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14556
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14557
echo "${ECHO_T}$can_build_shared" >&6; }
13364
14558
 
13365
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13366
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14559
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14560
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13367
14561
test "$can_build_shared" = "no" && enable_shared=no
13368
14562
 
13369
14563
# On AIX, shared libraries and static libraries use the same namespace, and
13376
14570
    postinstall_cmds='$RANLIB $lib'
13377
14571
  fi
13378
14572
  ;;
13379
 
aix4* | aix5*)
 
14573
aix[4-9]*)
13380
14574
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13381
14575
    test "$enable_shared" = yes && enable_static=no
13382
14576
  fi
13383
14577
  ;;
13384
14578
esac
13385
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13386
 
echo "${ECHO_T}$enable_shared" >&6
 
14579
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14580
echo "${ECHO_T}$enable_shared" >&6; }
13387
14581
 
13388
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13389
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14582
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14583
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13390
14584
# Make sure either enable_shared or enable_static is yes.
13391
14585
test "$enable_shared" = yes || enable_static=yes
13392
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13393
 
echo "${ECHO_T}$enable_static" >&6
 
14586
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14587
echo "${ECHO_T}$enable_static" >&6; }
13394
14588
 
13395
14589
GCC_F77="$G77"
13396
14590
LD_F77="$LD"
13399
14593
lt_prog_compiler_pic_F77=
13400
14594
lt_prog_compiler_static_F77=
13401
14595
 
13402
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13403
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14596
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14597
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13404
14598
 
13405
14599
  if test "$GCC" = yes; then
13406
14600
    lt_prog_compiler_wl_F77='-Wl,'
13422
14616
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13423
14617
      ;;
13424
14618
 
13425
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14619
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13426
14620
      # PIC is the default for these OSes.
13427
14621
      ;;
13428
14622
 
13429
 
    mingw* | pw32* | os2*)
 
14623
    mingw* | cygwin* | pw32* | os2*)
13430
14624
      # This hack is so that the source file can tell whether it is being
13431
14625
      # built for inclusion in a dll (and should export symbols for example).
 
14626
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14627
      # (--disable-auto-import) libraries
13432
14628
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13433
14629
      ;;
13434
14630
 
13438
14634
      lt_prog_compiler_pic_F77='-fno-common'
13439
14635
      ;;
13440
14636
 
13441
 
    interix3*)
 
14637
    interix[3-9]*)
13442
14638
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13443
14639
      # Instead, we relocate shared libraries at runtime.
13444
14640
      ;;
13496
14692
       esac
13497
14693
       ;;
13498
14694
 
13499
 
    mingw* | pw32* | os2*)
 
14695
    mingw* | cygwin* | pw32* | os2*)
13500
14696
      # This hack is so that the source file can tell whether it is being
13501
14697
      # built for inclusion in a dll (and should export symbols for example).
13502
14698
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13529
14725
      lt_prog_compiler_static_F77='-Bstatic'
13530
14726
      ;;
13531
14727
 
13532
 
    linux*)
 
14728
    linux* | k*bsd*-gnu)
13533
14729
      case $cc_basename in
13534
14730
      icc* | ecc*)
13535
14731
        lt_prog_compiler_wl_F77='-Wl,'
13548
14744
        # All Alpha code is PIC.
13549
14745
        lt_prog_compiler_static_F77='-non_shared'
13550
14746
        ;;
 
14747
      *)
 
14748
        case `$CC -V 2>&1 | sed 5q` in
 
14749
        *Sun\ C*)
 
14750
          # Sun C 5.9
 
14751
          lt_prog_compiler_pic_F77='-KPIC'
 
14752
          lt_prog_compiler_static_F77='-Bstatic'
 
14753
          lt_prog_compiler_wl_F77='-Wl,'
 
14754
          ;;
 
14755
        *Sun\ F*)
 
14756
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14757
          lt_prog_compiler_pic_F77='-KPIC'
 
14758
          lt_prog_compiler_static_F77='-Bstatic'
 
14759
          lt_prog_compiler_wl_F77=''
 
14760
          ;;
 
14761
        esac
 
14762
        ;;
13551
14763
      esac
13552
14764
      ;;
13553
14765
 
13557
14769
      lt_prog_compiler_static_F77='-non_shared'
13558
14770
      ;;
13559
14771
 
 
14772
    rdos*)
 
14773
      lt_prog_compiler_static_F77='-non_shared'
 
14774
      ;;
 
14775
 
13560
14776
    solaris*)
13561
14777
      lt_prog_compiler_pic_F77='-KPIC'
13562
14778
      lt_prog_compiler_static_F77='-Bstatic'
13609
14825
    esac
13610
14826
  fi
13611
14827
 
13612
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13613
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14828
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14829
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13614
14830
 
13615
14831
#
13616
14832
# Check to make sure the PIC flag actually works.
13617
14833
#
13618
14834
if test -n "$lt_prog_compiler_pic_F77"; then
13619
14835
 
13620
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13621
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13622
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
14836
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14837
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
 
14838
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
13623
14839
  echo $ECHO_N "(cached) $ECHO_C" >&6
13624
14840
else
13625
 
  lt_prog_compiler_pic_works_F77=no
 
14841
  lt_cv_prog_compiler_pic_works_F77=no
13626
14842
  ac_outfile=conftest.$ac_objext
13627
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14843
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13628
14844
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13629
14845
   # Insert the option either (1) after the last *FLAGS variable, or
13630
14846
   # (2) before a word containing "conftest.", or (3) at the end.
13635
14851
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13636
14852
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13637
14853
   -e 's:$: $lt_compiler_flag:'`
13638
 
   (eval echo "\"\$as_me:13638: $lt_compile\"" >&5)
 
14854
   (eval echo "\"\$as_me:14854: $lt_compile\"" >&5)
13639
14855
   (eval "$lt_compile" 2>conftest.err)
13640
14856
   ac_status=$?
13641
14857
   cat conftest.err >&5
13642
 
   echo "$as_me:13642: \$? = $ac_status" >&5
 
14858
   echo "$as_me:14858: \$? = $ac_status" >&5
13643
14859
   if (exit $ac_status) && test -s "$ac_outfile"; then
13644
14860
     # The compiler can only warn and ignore the option if not recognized
13645
14861
     # So say no if there are warnings other than the usual output.
13646
14862
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13647
14863
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13648
14864
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13649
 
       lt_prog_compiler_pic_works_F77=yes
 
14865
       lt_cv_prog_compiler_pic_works_F77=yes
13650
14866
     fi
13651
14867
   fi
13652
14868
   $rm conftest*
13653
14869
 
13654
14870
fi
13655
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13656
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14871
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
14872
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
13657
14873
 
13658
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
14874
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
13659
14875
    case $lt_prog_compiler_pic_F77 in
13660
14876
     "" | " "*) ;;
13661
14877
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13680
14896
# Check to make sure the static flag actually works.
13681
14897
#
13682
14898
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13683
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13684
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13685
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14899
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14900
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14901
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
13686
14902
  echo $ECHO_N "(cached) $ECHO_C" >&6
13687
14903
else
13688
 
  lt_prog_compiler_static_works_F77=no
 
14904
  lt_cv_prog_compiler_static_works_F77=no
13689
14905
   save_LDFLAGS="$LDFLAGS"
13690
14906
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13691
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14907
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13692
14908
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13693
14909
     # The linker can only warn and ignore the option if not recognized
13694
14910
     # So say no if there are warnings
13698
14914
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13699
14915
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13700
14916
       if diff conftest.exp conftest.er2 >/dev/null; then
13701
 
         lt_prog_compiler_static_works_F77=yes
 
14917
         lt_cv_prog_compiler_static_works_F77=yes
13702
14918
       fi
13703
14919
     else
13704
 
       lt_prog_compiler_static_works_F77=yes
 
14920
       lt_cv_prog_compiler_static_works_F77=yes
13705
14921
     fi
13706
14922
   fi
13707
 
   $rm conftest*
 
14923
   $rm -r conftest*
13708
14924
   LDFLAGS="$save_LDFLAGS"
13709
14925
 
13710
14926
fi
13711
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13712
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
14927
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
14928
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
13713
14929
 
13714
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14930
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
13715
14931
    :
13716
14932
else
13717
14933
    lt_prog_compiler_static_F77=
13718
14934
fi
13719
14935
 
13720
14936
 
13721
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13722
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14937
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14938
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13723
14939
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13724
14940
  echo $ECHO_N "(cached) $ECHO_C" >&6
13725
14941
else
13728
14944
   mkdir conftest
13729
14945
   cd conftest
13730
14946
   mkdir out
13731
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14947
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13732
14948
 
13733
14949
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13734
14950
   # Insert the option either (1) after the last *FLAGS variable, or
13739
14955
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13740
14956
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13741
14957
   -e 's:$: $lt_compiler_flag:'`
13742
 
   (eval echo "\"\$as_me:13742: $lt_compile\"" >&5)
 
14958
   (eval echo "\"\$as_me:14958: $lt_compile\"" >&5)
13743
14959
   (eval "$lt_compile" 2>out/conftest.err)
13744
14960
   ac_status=$?
13745
14961
   cat out/conftest.err >&5
13746
 
   echo "$as_me:13746: \$? = $ac_status" >&5
 
14962
   echo "$as_me:14962: \$? = $ac_status" >&5
13747
14963
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13748
14964
   then
13749
14965
     # The compiler can only warn and ignore the option if not recognized
13765
14981
   $rm conftest*
13766
14982
 
13767
14983
fi
13768
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13769
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14984
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14985
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13770
14986
 
13771
14987
 
13772
14988
hard_links="nottested"
13773
14989
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13774
14990
  # do not overwrite the value of need_locks provided by the user
13775
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13776
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14991
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14992
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13777
14993
  hard_links=yes
13778
14994
  $rm conftest*
13779
14995
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13780
14996
  touch conftest.a
13781
14997
  ln conftest.a conftest.b 2>&5 || hard_links=no
13782
14998
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13783
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13784
 
echo "${ECHO_T}$hard_links" >&6
 
14999
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
15000
echo "${ECHO_T}$hard_links" >&6; }
13785
15001
  if test "$hard_links" = no; then
13786
15002
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13787
15003
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13791
15007
  need_locks=no
13792
15008
fi
13793
15009
 
13794
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13795
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
15010
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
15011
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13796
15012
 
13797
15013
  runpath_var=
13798
15014
  allow_undefined_flag_F77=
13823
15039
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
13824
15040
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13825
15041
  # as well as any symbol that contains `d'.
13826
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
15042
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13827
15043
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13828
15044
  # platforms (ab)use it in PIC code, but their linkers get confused if
13829
15045
  # the symbol is explicitly referenced.  Since portable code cannot
13830
15046
  # rely on this symbol name, it's probably fine to never include it in
13831
15047
  # preloaded symbol tables.
 
15048
  # Exclude shared library initialization/finalization symbols.
13832
15049
  extract_expsyms_cmds=
13833
15050
  # Just being paranoid about ensuring that cc_basename is set.
13834
15051
  for cc_temp in $compiler""; do
13887
15104
 
13888
15105
    # See if GNU ld supports shared libraries.
13889
15106
    case $host_os in
13890
 
    aix3* | aix4* | aix5*)
 
15107
    aix[3-9]*)
13891
15108
      # On AIX/PPC, the GNU linker is very broken
13892
15109
      if test "$host_cpu" != ia64; then
13893
15110
        ld_shlibs_F77=no
13935
15152
      allow_undefined_flag_F77=unsupported
13936
15153
      always_export_symbols_F77=no
13937
15154
      enable_shared_with_static_runtimes_F77=yes
13938
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
15155
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13939
15156
 
13940
15157
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13941
15158
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13953
15170
      fi
13954
15171
      ;;
13955
15172
 
13956
 
    interix3*)
 
15173
    interix[3-9]*)
13957
15174
      hardcode_direct_F77=no
13958
15175
      hardcode_shlibpath_var_F77=no
13959
15176
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13968
15185
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13969
15186
      ;;
13970
15187
 
13971
 
    linux*)
 
15188
    gnu* | linux* | k*bsd*-gnu)
13972
15189
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13973
15190
        tmp_addflag=
13974
15191
        case $cc_basename,$host_cpu in
13986
15203
        ifc* | ifort*)                  # Intel Fortran compiler
13987
15204
          tmp_addflag=' -nofor_main' ;;
13988
15205
        esac
13989
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15206
        case `$CC -V 2>&1 | sed 5q` in
 
15207
        *Sun\ C*)                       # Sun C 5.9
 
15208
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
15209
          tmp_sharedflag='-G' ;;
 
15210
        *Sun\ F*)                       # Sun Fortran 8.3
 
15211
          tmp_sharedflag='-G' ;;
 
15212
        *)
 
15213
          tmp_sharedflag='-shared' ;;
 
15214
        esac
 
15215
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13990
15216
 
13991
15217
        if test $supports_anon_versioning = yes; then
13992
15218
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13993
15219
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13994
15220
  $echo "local: *; };" >> $output_objdir/$libname.ver~
13995
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15221
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13996
15222
        fi
 
15223
        link_all_deplibs_F77=no
13997
15224
      else
13998
15225
        ld_shlibs_F77=no
13999
15226
      fi
14000
15227
      ;;
14001
15228
 
14002
 
    netbsd*)
 
15229
    netbsd* | netbsdelf*-gnu)
14003
15230
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14004
15231
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14005
15232
        wlarc=
14097
15324
      fi
14098
15325
      ;;
14099
15326
 
14100
 
    aix4* | aix5*)
 
15327
    aix[4-9]*)
14101
15328
      if test "$host_cpu" = ia64; then
14102
15329
        # On IA64, the linker does run time linking by default, so we don't
14103
15330
        # have to do anything special.
14117
15344
        # Test if we are trying to use run time linking or normal
14118
15345
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14119
15346
        # need to do runtime linking.
14120
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
15347
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14121
15348
          for ld_flag in $LDFLAGS; do
14122
15349
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14123
15350
            aix_use_runtimelinking=yes
14151
15378
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14152
15379
          then
14153
15380
          # We have reworked collect2
14154
 
          hardcode_direct_F77=yes
 
15381
          :
14155
15382
          else
14156
15383
          # We have old collect2
14157
15384
          hardcode_direct_F77=unsupported
14197
15424
      end
14198
15425
_ACEOF
14199
15426
rm -f conftest.$ac_objext conftest$ac_exeext
14200
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14201
 
  (eval $ac_link) 2>conftest.er1
 
15427
if { (ac_try="$ac_link"
 
15428
case "(($ac_try" in
 
15429
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15430
  *) ac_try_echo=$ac_try;;
 
15431
esac
 
15432
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15433
  (eval "$ac_link") 2>conftest.er1
14202
15434
  ac_status=$?
14203
15435
  grep -v '^ *+' conftest.er1 >conftest.err
14204
15436
  rm -f conftest.er1
14205
15437
  cat conftest.err >&5
14206
15438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207
 
  (exit $ac_status); } &&
14208
 
         { ac_try='test -z "$ac_f77_werror_flag"
14209
 
                         || test ! -s conftest.err'
14210
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14211
 
  (eval $ac_try) 2>&5
14212
 
  ac_status=$?
14213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214
 
  (exit $ac_status); }; } &&
14215
 
         { ac_try='test -s conftest$ac_exeext'
14216
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14217
 
  (eval $ac_try) 2>&5
14218
 
  ac_status=$?
14219
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220
 
  (exit $ac_status); }; }; then
 
15439
  (exit $ac_status); } && {
 
15440
         test -z "$ac_f77_werror_flag" ||
 
15441
         test ! -s conftest.err
 
15442
       } && test -s conftest$ac_exeext &&
 
15443
       $as_test_x conftest$ac_exeext; then
14221
15444
 
14222
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14223
 
}'`
 
15445
lt_aix_libpath_sed='
 
15446
    /Import File Strings/,/^$/ {
 
15447
        /^0/ {
 
15448
            s/^0  *\(.*\)$/\1/
 
15449
            p
 
15450
        }
 
15451
    }'
 
15452
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14224
15453
# Check for a 64-bit object if we didn't find anything.
14225
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14226
 
}'`; fi
 
15454
if test -z "$aix_libpath"; then
 
15455
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15456
fi
14227
15457
else
14228
15458
  echo "$as_me: failed program was:" >&5
14229
15459
sed 's/^/| /' conftest.$ac_ext >&5
14230
15460
 
 
15461
 
14231
15462
fi
14232
 
rm -f conftest.err conftest.$ac_objext \
 
15463
 
 
15464
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14233
15465
      conftest$ac_exeext conftest.$ac_ext
14234
15466
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14235
15467
 
14248
15480
      end
14249
15481
_ACEOF
14250
15482
rm -f conftest.$ac_objext conftest$ac_exeext
14251
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14252
 
  (eval $ac_link) 2>conftest.er1
 
15483
if { (ac_try="$ac_link"
 
15484
case "(($ac_try" in
 
15485
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15486
  *) ac_try_echo=$ac_try;;
 
15487
esac
 
15488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15489
  (eval "$ac_link") 2>conftest.er1
14253
15490
  ac_status=$?
14254
15491
  grep -v '^ *+' conftest.er1 >conftest.err
14255
15492
  rm -f conftest.er1
14256
15493
  cat conftest.err >&5
14257
15494
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258
 
  (exit $ac_status); } &&
14259
 
         { ac_try='test -z "$ac_f77_werror_flag"
14260
 
                         || test ! -s conftest.err'
14261
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262
 
  (eval $ac_try) 2>&5
14263
 
  ac_status=$?
14264
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265
 
  (exit $ac_status); }; } &&
14266
 
         { ac_try='test -s conftest$ac_exeext'
14267
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14268
 
  (eval $ac_try) 2>&5
14269
 
  ac_status=$?
14270
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271
 
  (exit $ac_status); }; }; then
 
15495
  (exit $ac_status); } && {
 
15496
         test -z "$ac_f77_werror_flag" ||
 
15497
         test ! -s conftest.err
 
15498
       } && test -s conftest$ac_exeext &&
 
15499
       $as_test_x conftest$ac_exeext; then
14272
15500
 
14273
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14274
 
}'`
 
15501
lt_aix_libpath_sed='
 
15502
    /Import File Strings/,/^$/ {
 
15503
        /^0/ {
 
15504
            s/^0  *\(.*\)$/\1/
 
15505
            p
 
15506
        }
 
15507
    }'
 
15508
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14275
15509
# Check for a 64-bit object if we didn't find anything.
14276
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14277
 
}'`; fi
 
15510
if test -z "$aix_libpath"; then
 
15511
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15512
fi
14278
15513
else
14279
15514
  echo "$as_me: failed program was:" >&5
14280
15515
sed 's/^/| /' conftest.$ac_ext >&5
14281
15516
 
 
15517
 
14282
15518
fi
14283
 
rm -f conftest.err conftest.$ac_objext \
 
15519
 
 
15520
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14284
15521
      conftest$ac_exeext conftest.$ac_ext
14285
15522
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14286
15523
 
14326
15563
      # The linker will automatically build a .lib file if we build a DLL.
14327
15564
      old_archive_From_new_cmds_F77='true'
14328
15565
      # FIXME: Should let the user specify the lib program.
14329
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
15566
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
14330
15567
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14331
15568
      enable_shared_with_static_runtimes_F77=yes
14332
15569
      ;;
14359
15596
      link_all_deplibs_F77=yes
14360
15597
    if test "$GCC" = yes ; then
14361
15598
        output_verbose_link_cmd='echo'
14362
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14363
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14364
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14365
 
      archive_expsym_cmds_F77='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}'
14366
 
      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}'
 
15599
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
15600
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15601
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
15602
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14367
15603
    else
14368
15604
      case $cc_basename in
14369
15605
        xlc*)
14370
15606
         output_verbose_link_cmd='echo'
14371
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15607
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14372
15608
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14373
15609
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14374
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15610
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14375
15611
          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}'
14376
15612
          ;;
14377
15613
       *)
14411
15647
      ;;
14412
15648
 
14413
15649
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14414
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
15650
    freebsd* | dragonfly*)
14415
15651
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14416
15652
      hardcode_libdir_flag_spec_F77='-R$libdir'
14417
15653
      hardcode_direct_F77=yes
14513
15749
      link_all_deplibs_F77=yes
14514
15750
      ;;
14515
15751
 
14516
 
    netbsd*)
 
15752
    netbsd* | netbsdelf*-gnu)
14517
15753
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14518
15754
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14519
15755
      else
14533
15769
      ;;
14534
15770
 
14535
15771
    openbsd*)
14536
 
      hardcode_direct_F77=yes
14537
 
      hardcode_shlibpath_var_F77=no
14538
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14539
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14540
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14541
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14542
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15772
      if test -f /usr/libexec/ld.so; then
 
15773
        hardcode_direct_F77=yes
 
15774
        hardcode_shlibpath_var_F77=no
 
15775
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15776
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15777
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15778
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15779
          export_dynamic_flag_spec_F77='${wl}-E'
 
15780
        else
 
15781
          case $host_os in
 
15782
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15783
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15784
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15785
             ;;
 
15786
           *)
 
15787
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15788
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15789
             ;;
 
15790
          esac
 
15791
        fi
14543
15792
      else
14544
 
       case $host_os in
14545
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14546
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14547
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14548
 
           ;;
14549
 
         *)
14550
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14551
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14552
 
           ;;
14553
 
       esac
 
15793
        ld_shlibs_F77=no
14554
15794
      fi
14555
15795
      ;;
14556
15796
 
14609
15849
      case $host_os in
14610
15850
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14611
15851
      *)
14612
 
        # The compiler driver will combine linker options so we
14613
 
        # cannot just pass the convience library names through
14614
 
        # without $wl, iff we do not link with $LD.
14615
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15852
        # The compiler driver will combine and reorder linker options,
 
15853
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15854
        # but is careful enough not to reorder.
14616
15855
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14617
 
        case $wlarc in
14618
 
        '')
14619
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14620
 
        *)
14621
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14622
 
        esac ;;
 
15856
        if test "$GCC" = yes; then
 
15857
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15858
        else
 
15859
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15860
        fi
 
15861
        ;;
14623
15862
      esac
14624
15863
      link_all_deplibs_F77=yes
14625
15864
      ;;
14676
15915
      fi
14677
15916
      ;;
14678
15917
 
14679
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15918
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14680
15919
      no_undefined_flag_F77='${wl}-z,text'
14681
15920
      archive_cmds_need_lc_F77=no
14682
15921
      hardcode_shlibpath_var_F77=no
14729
15968
    esac
14730
15969
  fi
14731
15970
 
14732
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14733
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15971
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15972
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14734
15973
test "$ld_shlibs_F77" = no && can_build_shared=no
14735
15974
 
14736
15975
#
14750
15989
      # Test whether the compiler implicitly links with -lc since on some
14751
15990
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14752
15991
      # to ld, don't add -lc before -lgcc.
14753
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14754
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15992
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15993
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14755
15994
      $rm conftest*
14756
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15995
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14757
15996
 
14758
15997
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14759
15998
  (eval $ac_compile) 2>&5
14788
16027
        cat conftest.err 1>&5
14789
16028
      fi
14790
16029
      $rm conftest*
14791
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14792
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
16030
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
16031
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14793
16032
      ;;
14794
16033
    esac
14795
16034
  fi
14796
16035
  ;;
14797
16036
esac
14798
16037
 
14799
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14800
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
16038
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
16039
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14801
16040
library_names_spec=
14802
16041
libname_spec='lib$name'
14803
16042
soname_spec=
14811
16050
version_type=none
14812
16051
dynamic_linker="$host_os ld.so"
14813
16052
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14814
 
if test "$GCC" = yes; then
14815
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14816
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14817
 
    # if the path contains ";" then we assume it to be the separator
14818
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14819
 
    # assumed that no part of a normal pathname contains ";" but that should
14820
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14821
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14822
 
  else
14823
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14824
 
  fi
14825
 
else
14826
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14827
 
fi
 
16053
 
14828
16054
need_lib_prefix=unknown
14829
16055
hardcode_into_libs=no
14830
16056
 
14842
16068
  soname_spec='${libname}${release}${shared_ext}$major'
14843
16069
  ;;
14844
16070
 
14845
 
aix4* | aix5*)
 
16071
aix[4-9]*)
14846
16072
  version_type=linux
14847
16073
  need_lib_prefix=no
14848
16074
  need_version=no
14981
16207
  shlibpath_overrides_runpath=yes
14982
16208
  shlibpath_var=DYLD_LIBRARY_PATH
14983
16209
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14984
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14985
 
  if test "$GCC" = yes; then
14986
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14987
 
  else
14988
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14989
 
  fi
 
16210
 
14990
16211
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14991
16212
  ;;
14992
16213
 
15003
16224
  dynamic_linker=no
15004
16225
  ;;
15005
16226
 
15006
 
kfreebsd*-gnu)
15007
 
  version_type=linux
15008
 
  need_lib_prefix=no
15009
 
  need_version=no
15010
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15011
 
  soname_spec='${libname}${release}${shared_ext}$major'
15012
 
  shlibpath_var=LD_LIBRARY_PATH
15013
 
  shlibpath_overrides_runpath=no
15014
 
  hardcode_into_libs=yes
15015
 
  dynamic_linker='GNU ld.so'
15016
 
  ;;
15017
 
 
15018
16227
freebsd* | dragonfly*)
15019
16228
  # DragonFly does not have aout.  When/if they implement a new
15020
16229
  # versioning mechanism, adjust this.
15052
16261
    shlibpath_overrides_runpath=no
15053
16262
    hardcode_into_libs=yes
15054
16263
    ;;
15055
 
  freebsd*) # from 4.6 on
 
16264
  *) # from 4.6 on, and DragonFly
15056
16265
    shlibpath_overrides_runpath=yes
15057
16266
    hardcode_into_libs=yes
15058
16267
    ;;
15115
16324
  postinstall_cmds='chmod 555 $lib'
15116
16325
  ;;
15117
16326
 
15118
 
interix3*)
 
16327
interix[3-9]*)
15119
16328
  version_type=linux
15120
16329
  need_lib_prefix=no
15121
16330
  need_version=no
15170
16379
  ;;
15171
16380
 
15172
16381
# This must be Linux ELF.
15173
 
linux*)
 
16382
linux* | k*bsd*-gnu)
15174
16383
  version_type=linux
15175
16384
  need_lib_prefix=no
15176
16385
  need_version=no
15184
16393
  # before this can be enabled.
15185
16394
  hardcode_into_libs=yes
15186
16395
 
15187
 
  # find out which ABI we are using
15188
 
  libsuff=
15189
 
  case "$host_cpu" in
15190
 
  x86_64*|s390x*|powerpc64*)
15191
 
    echo '#line 15191 "configure"' > conftest.$ac_ext
15192
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15193
 
  (eval $ac_compile) 2>&5
15194
 
  ac_status=$?
15195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196
 
  (exit $ac_status); }; then
15197
 
      case `/usr/bin/file conftest.$ac_objext` in
15198
 
      *64-bit*)
15199
 
        libsuff=64
15200
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15201
 
        ;;
15202
 
      esac
15203
 
    fi
15204
 
    rm -rf conftest*
15205
 
    ;;
15206
 
  esac
15207
 
 
15208
16396
  # Append ld.so.conf contents to the search path
15209
16397
  if test -f /etc/ld.so.conf; then
15210
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15211
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
16398
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
16399
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15212
16400
  fi
15213
16401
 
15214
16402
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15220
16408
  dynamic_linker='GNU/Linux ld.so'
15221
16409
  ;;
15222
16410
 
15223
 
knetbsd*-gnu)
 
16411
netbsdelf*-gnu)
15224
16412
  version_type=linux
15225
16413
  need_lib_prefix=no
15226
16414
  need_version=no
15229
16417
  shlibpath_var=LD_LIBRARY_PATH
15230
16418
  shlibpath_overrides_runpath=no
15231
16419
  hardcode_into_libs=yes
15232
 
  dynamic_linker='GNU ld.so'
 
16420
  dynamic_linker='NetBSD ld.elf_so'
15233
16421
  ;;
15234
16422
 
15235
16423
netbsd*)
15313
16501
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15314
16502
  ;;
15315
16503
 
 
16504
rdos*)
 
16505
  dynamic_linker=no
 
16506
  ;;
 
16507
 
15316
16508
solaris*)
15317
16509
  version_type=linux
15318
16510
  need_lib_prefix=no
15405
16597
  dynamic_linker=no
15406
16598
  ;;
15407
16599
esac
15408
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15409
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16600
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16601
echo "${ECHO_T}$dynamic_linker" >&6; }
15410
16602
test "$dynamic_linker" = no && can_build_shared=no
15411
16603
 
 
16604
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
16605
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16606
else
 
16607
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
16608
fi
 
16609
 
 
16610
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
16611
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
16612
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16613
else
 
16614
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
16615
fi
 
16616
 
 
16617
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
16618
 
15412
16619
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15413
16620
if test "$GCC" = yes; then
15414
16621
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15415
16622
fi
15416
16623
 
15417
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15418
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16624
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16625
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15419
16626
hardcode_action_F77=
15420
16627
if test -n "$hardcode_libdir_flag_spec_F77" || \
15421
16628
   test -n "$runpath_var_F77" || \
15439
16646
  # directories.
15440
16647
  hardcode_action_F77=unsupported
15441
16648
fi
15442
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15443
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16649
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16650
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15444
16651
 
15445
16652
if test "$hardcode_action_F77" = relink; then
15446
16653
  # Fast installation is not supported
15492
16699
    predeps_F77 \
15493
16700
    postdeps_F77 \
15494
16701
    compiler_lib_search_path_F77 \
 
16702
    compiler_lib_search_dirs_F77 \
15495
16703
    archive_cmds_F77 \
15496
16704
    archive_expsym_cmds_F77 \
15497
16705
    postinstall_cmds_F77 \
15507
16715
    module_cmds_F77 \
15508
16716
    module_expsym_cmds_F77 \
15509
16717
    lt_cv_prog_compiler_c_o_F77 \
 
16718
    fix_srcfile_path_F77 \
15510
16719
    exclude_expsyms_F77 \
15511
16720
    include_expsyms_F77; do
15512
16721
 
15592
16801
# Is the compiler the GNU C compiler?
15593
16802
with_gcc=$GCC_F77
15594
16803
 
15595
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
15596
 
gcc_ver=\`gcc -dumpversion\`
15597
 
 
15598
16804
# An ERE matcher.
15599
16805
EGREP=$lt_EGREP
15600
16806
 
15728
16934
 
15729
16935
# Dependencies to place before the objects being linked to create a
15730
16936
# shared library.
15731
 
predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
16937
predep_objects=$lt_predep_objects_F77
15732
16938
 
15733
16939
# Dependencies to place after the objects being linked to create a
15734
16940
# shared library.
15735
 
postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
16941
postdep_objects=$lt_postdep_objects_F77
15736
16942
 
15737
16943
# Dependencies to place before the objects being linked to create a
15738
16944
# shared library.
15742
16948
# shared library.
15743
16949
postdeps=$lt_postdeps_F77
15744
16950
 
 
16951
# The directories searched by this compiler when creating a shared
 
16952
# library
 
16953
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
16954
 
15745
16955
# The library search path used internally by the compiler when linking
15746
16956
# a shared library.
15747
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
16957
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15748
16958
 
15749
16959
# Method to check whether dependent libraries are shared objects.
15750
16960
deplibs_check_method=$lt_deplibs_check_method
15824
17034
link_all_deplibs=$link_all_deplibs_F77
15825
17035
 
15826
17036
# Compile-time system search path for libraries
15827
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
17037
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15828
17038
 
15829
17039
# Run-time system search path for libraries
15830
17040
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15831
17041
 
15832
17042
# Fix the shell variable \$srcfile for the compiler.
15833
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
17043
fix_srcfile_path=$lt_fix_srcfile_path
15834
17044
 
15835
17045
# Set to yes if exported symbols are required.
15836
17046
always_export_symbols=$always_export_symbols_F77
15880
17090
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15881
17091
 
15882
17092
 
15883
 
 
15884
17093
# Source file extension for Java test sources.
15885
17094
ac_ext=java
15886
17095
 
15889
17098
objext_GCJ=$objext
15890
17099
 
15891
17100
# Code to be used in simple compile tests
15892
 
lt_simple_compile_test_code="class foo {}\n"
 
17101
lt_simple_compile_test_code="class foo {}"
15893
17102
 
15894
17103
# Code to be used in simple link tests
15895
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
17104
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
15896
17105
 
15897
17106
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15898
17107
 
15908
17117
 
15909
17118
# save warnings/boilerplate of simple test code
15910
17119
ac_outfile=conftest.$ac_objext
15911
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
17120
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15912
17121
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15913
17122
_lt_compiler_boilerplate=`cat conftest.err`
15914
17123
$rm conftest*
15915
17124
 
15916
17125
ac_outfile=conftest.$ac_objext
15917
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
17126
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15918
17127
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15919
17128
_lt_linker_boilerplate=`cat conftest.err`
15920
 
$rm conftest*
 
17129
$rm -r conftest*
15921
17130
 
15922
17131
 
15923
17132
# Allow CC to be a program name with arguments.
15948
17157
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15949
17158
 
15950
17159
 
15951
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15952
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
17160
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
17161
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15953
17162
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15954
17163
  echo $ECHO_N "(cached) $ECHO_C" >&6
15955
17164
else
15956
17165
  lt_cv_prog_compiler_rtti_exceptions=no
15957
17166
  ac_outfile=conftest.$ac_objext
15958
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17167
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15959
17168
   lt_compiler_flag="-fno-rtti -fno-exceptions"
15960
17169
   # Insert the option either (1) after the last *FLAGS variable, or
15961
17170
   # (2) before a word containing "conftest.", or (3) at the end.
15966
17175
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15967
17176
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15968
17177
   -e 's:$: $lt_compiler_flag:'`
15969
 
   (eval echo "\"\$as_me:15969: $lt_compile\"" >&5)
 
17178
   (eval echo "\"\$as_me:17178: $lt_compile\"" >&5)
15970
17179
   (eval "$lt_compile" 2>conftest.err)
15971
17180
   ac_status=$?
15972
17181
   cat conftest.err >&5
15973
 
   echo "$as_me:15973: \$? = $ac_status" >&5
 
17182
   echo "$as_me:17182: \$? = $ac_status" >&5
15974
17183
   if (exit $ac_status) && test -s "$ac_outfile"; then
15975
17184
     # The compiler can only warn and ignore the option if not recognized
15976
17185
     # So say no if there are warnings other than the usual output.
15983
17192
   $rm conftest*
15984
17193
 
15985
17194
fi
15986
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15987
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
17195
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
17196
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15988
17197
 
15989
17198
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15990
17199
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15998
17207
lt_prog_compiler_pic_GCJ=
15999
17208
lt_prog_compiler_static_GCJ=
16000
17209
 
16001
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16002
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
17210
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
17211
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16003
17212
 
16004
17213
  if test "$GCC" = yes; then
16005
17214
    lt_prog_compiler_wl_GCJ='-Wl,'
16021
17230
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16022
17231
      ;;
16023
17232
 
16024
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
17233
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16025
17234
      # PIC is the default for these OSes.
16026
17235
      ;;
16027
17236
 
16028
 
    mingw* | pw32* | os2*)
 
17237
    mingw* | cygwin* | pw32* | os2*)
16029
17238
      # This hack is so that the source file can tell whether it is being
16030
17239
      # built for inclusion in a dll (and should export symbols for example).
16031
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
17240
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
17241
      # (--disable-auto-import) libraries
 
17242
 
16032
17243
      ;;
16033
17244
 
16034
17245
    darwin* | rhapsody*)
16037
17248
      lt_prog_compiler_pic_GCJ='-fno-common'
16038
17249
      ;;
16039
17250
 
16040
 
    interix3*)
 
17251
    interix[3-9]*)
16041
17252
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16042
17253
      # Instead, we relocate shared libraries at runtime.
16043
17254
      ;;
16095
17306
       esac
16096
17307
       ;;
16097
17308
 
16098
 
    mingw* | pw32* | os2*)
 
17309
    mingw* | cygwin* | pw32* | os2*)
16099
17310
      # This hack is so that the source file can tell whether it is being
16100
17311
      # built for inclusion in a dll (and should export symbols for example).
16101
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
17312
 
16102
17313
      ;;
16103
17314
 
16104
17315
    hpux9* | hpux10* | hpux11*)
16128
17339
      lt_prog_compiler_static_GCJ='-Bstatic'
16129
17340
      ;;
16130
17341
 
16131
 
    linux*)
 
17342
    linux* | k*bsd*-gnu)
16132
17343
      case $cc_basename in
16133
17344
      icc* | ecc*)
16134
17345
        lt_prog_compiler_wl_GCJ='-Wl,'
16147
17358
        # All Alpha code is PIC.
16148
17359
        lt_prog_compiler_static_GCJ='-non_shared'
16149
17360
        ;;
 
17361
      *)
 
17362
        case `$CC -V 2>&1 | sed 5q` in
 
17363
        *Sun\ C*)
 
17364
          # Sun C 5.9
 
17365
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17366
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17367
          lt_prog_compiler_wl_GCJ='-Wl,'
 
17368
          ;;
 
17369
        *Sun\ F*)
 
17370
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
17371
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17372
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17373
          lt_prog_compiler_wl_GCJ=''
 
17374
          ;;
 
17375
        esac
 
17376
        ;;
16150
17377
      esac
16151
17378
      ;;
16152
17379
 
16156
17383
      lt_prog_compiler_static_GCJ='-non_shared'
16157
17384
      ;;
16158
17385
 
 
17386
    rdos*)
 
17387
      lt_prog_compiler_static_GCJ='-non_shared'
 
17388
      ;;
 
17389
 
16159
17390
    solaris*)
16160
17391
      lt_prog_compiler_pic_GCJ='-KPIC'
16161
17392
      lt_prog_compiler_static_GCJ='-Bstatic'
16208
17439
    esac
16209
17440
  fi
16210
17441
 
16211
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16212
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
17442
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17443
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16213
17444
 
16214
17445
#
16215
17446
# Check to make sure the PIC flag actually works.
16216
17447
#
16217
17448
if test -n "$lt_prog_compiler_pic_GCJ"; then
16218
17449
 
16219
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16220
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16221
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
17450
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17451
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
 
17452
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
16222
17453
  echo $ECHO_N "(cached) $ECHO_C" >&6
16223
17454
else
16224
 
  lt_prog_compiler_pic_works_GCJ=no
 
17455
  lt_cv_prog_compiler_pic_works_GCJ=no
16225
17456
  ac_outfile=conftest.$ac_objext
16226
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17457
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16227
17458
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16228
17459
   # Insert the option either (1) after the last *FLAGS variable, or
16229
17460
   # (2) before a word containing "conftest.", or (3) at the end.
16234
17465
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16235
17466
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16236
17467
   -e 's:$: $lt_compiler_flag:'`
16237
 
   (eval echo "\"\$as_me:16237: $lt_compile\"" >&5)
 
17468
   (eval echo "\"\$as_me:17468: $lt_compile\"" >&5)
16238
17469
   (eval "$lt_compile" 2>conftest.err)
16239
17470
   ac_status=$?
16240
17471
   cat conftest.err >&5
16241
 
   echo "$as_me:16241: \$? = $ac_status" >&5
 
17472
   echo "$as_me:17472: \$? = $ac_status" >&5
16242
17473
   if (exit $ac_status) && test -s "$ac_outfile"; then
16243
17474
     # The compiler can only warn and ignore the option if not recognized
16244
17475
     # So say no if there are warnings other than the usual output.
16245
17476
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16246
17477
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16247
17478
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16248
 
       lt_prog_compiler_pic_works_GCJ=yes
 
17479
       lt_cv_prog_compiler_pic_works_GCJ=yes
16249
17480
     fi
16250
17481
   fi
16251
17482
   $rm conftest*
16252
17483
 
16253
17484
fi
16254
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16255
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
17485
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
17486
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
16256
17487
 
16257
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
17488
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
16258
17489
    case $lt_prog_compiler_pic_GCJ in
16259
17490
     "" | " "*) ;;
16260
17491
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16279
17510
# Check to make sure the static flag actually works.
16280
17511
#
16281
17512
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16282
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16283
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16284
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17513
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17514
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
17515
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
16285
17516
  echo $ECHO_N "(cached) $ECHO_C" >&6
16286
17517
else
16287
 
  lt_prog_compiler_static_works_GCJ=no
 
17518
  lt_cv_prog_compiler_static_works_GCJ=no
16288
17519
   save_LDFLAGS="$LDFLAGS"
16289
17520
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16290
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17521
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16291
17522
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16292
17523
     # The linker can only warn and ignore the option if not recognized
16293
17524
     # So say no if there are warnings
16297
17528
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16298
17529
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16299
17530
       if diff conftest.exp conftest.er2 >/dev/null; then
16300
 
         lt_prog_compiler_static_works_GCJ=yes
 
17531
         lt_cv_prog_compiler_static_works_GCJ=yes
16301
17532
       fi
16302
17533
     else
16303
 
       lt_prog_compiler_static_works_GCJ=yes
 
17534
       lt_cv_prog_compiler_static_works_GCJ=yes
16304
17535
     fi
16305
17536
   fi
16306
 
   $rm conftest*
 
17537
   $rm -r conftest*
16307
17538
   LDFLAGS="$save_LDFLAGS"
16308
17539
 
16309
17540
fi
16310
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16311
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
17541
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
17542
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
16312
17543
 
16313
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17544
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
16314
17545
    :
16315
17546
else
16316
17547
    lt_prog_compiler_static_GCJ=
16317
17548
fi
16318
17549
 
16319
17550
 
16320
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16321
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17551
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17552
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16322
17553
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16323
17554
  echo $ECHO_N "(cached) $ECHO_C" >&6
16324
17555
else
16327
17558
   mkdir conftest
16328
17559
   cd conftest
16329
17560
   mkdir out
16330
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17561
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16331
17562
 
16332
17563
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16333
17564
   # Insert the option either (1) after the last *FLAGS variable, or
16338
17569
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16339
17570
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16340
17571
   -e 's:$: $lt_compiler_flag:'`
16341
 
   (eval echo "\"\$as_me:16341: $lt_compile\"" >&5)
 
17572
   (eval echo "\"\$as_me:17572: $lt_compile\"" >&5)
16342
17573
   (eval "$lt_compile" 2>out/conftest.err)
16343
17574
   ac_status=$?
16344
17575
   cat out/conftest.err >&5
16345
 
   echo "$as_me:16345: \$? = $ac_status" >&5
 
17576
   echo "$as_me:17576: \$? = $ac_status" >&5
16346
17577
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16347
17578
   then
16348
17579
     # The compiler can only warn and ignore the option if not recognized
16364
17595
   $rm conftest*
16365
17596
 
16366
17597
fi
16367
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16368
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17598
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17599
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16369
17600
 
16370
17601
 
16371
17602
hard_links="nottested"
16372
17603
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16373
17604
  # do not overwrite the value of need_locks provided by the user
16374
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16375
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17605
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17606
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16376
17607
  hard_links=yes
16377
17608
  $rm conftest*
16378
17609
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16379
17610
  touch conftest.a
16380
17611
  ln conftest.a conftest.b 2>&5 || hard_links=no
16381
17612
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16382
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16383
 
echo "${ECHO_T}$hard_links" >&6
 
17613
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17614
echo "${ECHO_T}$hard_links" >&6; }
16384
17615
  if test "$hard_links" = no; then
16385
17616
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16386
17617
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16390
17621
  need_locks=no
16391
17622
fi
16392
17623
 
16393
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16394
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17624
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17625
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16395
17626
 
16396
17627
  runpath_var=
16397
17628
  allow_undefined_flag_GCJ=
16422
17653
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16423
17654
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16424
17655
  # as well as any symbol that contains `d'.
16425
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
17656
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16426
17657
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16427
17658
  # platforms (ab)use it in PIC code, but their linkers get confused if
16428
17659
  # the symbol is explicitly referenced.  Since portable code cannot
16429
17660
  # rely on this symbol name, it's probably fine to never include it in
16430
17661
  # preloaded symbol tables.
 
17662
  # Exclude shared library initialization/finalization symbols.
16431
17663
  extract_expsyms_cmds=
16432
17664
  # Just being paranoid about ensuring that cc_basename is set.
16433
17665
  for cc_temp in $compiler""; do
16486
17718
 
16487
17719
    # See if GNU ld supports shared libraries.
16488
17720
    case $host_os in
16489
 
    aix3* | aix4* | aix5*)
 
17721
    aix[3-9]*)
16490
17722
      # On AIX/PPC, the GNU linker is very broken
16491
17723
      if test "$host_cpu" != ia64; then
16492
17724
        ld_shlibs_GCJ=no
16534
17766
      allow_undefined_flag_GCJ=unsupported
16535
17767
      always_export_symbols_GCJ=no
16536
17768
      enable_shared_with_static_runtimes_GCJ=yes
16537
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17769
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16538
17770
 
16539
17771
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16540
17772
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16552
17784
      fi
16553
17785
      ;;
16554
17786
 
16555
 
    interix3*)
 
17787
    interix[3-9]*)
16556
17788
      hardcode_direct_GCJ=no
16557
17789
      hardcode_shlibpath_var_GCJ=no
16558
17790
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16567
17799
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16568
17800
      ;;
16569
17801
 
16570
 
    linux*)
 
17802
    gnu* | linux* | k*bsd*-gnu)
16571
17803
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16572
17804
        tmp_addflag=
16573
17805
        case $cc_basename,$host_cpu in
16585
17817
        ifc* | ifort*)                  # Intel Fortran compiler
16586
17818
          tmp_addflag=' -nofor_main' ;;
16587
17819
        esac
16588
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17820
        case `$CC -V 2>&1 | sed 5q` in
 
17821
        *Sun\ C*)                       # Sun C 5.9
 
17822
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17823
          tmp_sharedflag='-G' ;;
 
17824
        *Sun\ F*)                       # Sun Fortran 8.3
 
17825
          tmp_sharedflag='-G' ;;
 
17826
        *)
 
17827
          tmp_sharedflag='-shared' ;;
 
17828
        esac
 
17829
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16589
17830
 
16590
17831
        if test $supports_anon_versioning = yes; then
16591
17832
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16592
17833
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16593
17834
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16594
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17835
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16595
17836
        fi
 
17837
        link_all_deplibs_GCJ=no
16596
17838
      else
16597
17839
        ld_shlibs_GCJ=no
16598
17840
      fi
16599
17841
      ;;
16600
17842
 
16601
 
    netbsd*)
 
17843
    netbsd* | netbsdelf*-gnu)
16602
17844
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16603
17845
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16604
17846
        wlarc=
16696
17938
      fi
16697
17939
      ;;
16698
17940
 
16699
 
    aix4* | aix5*)
 
17941
    aix[4-9]*)
16700
17942
      if test "$host_cpu" = ia64; then
16701
17943
        # On IA64, the linker does run time linking by default, so we don't
16702
17944
        # have to do anything special.
16716
17958
        # Test if we are trying to use run time linking or normal
16717
17959
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16718
17960
        # need to do runtime linking.
16719
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
17961
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16720
17962
          for ld_flag in $LDFLAGS; do
16721
17963
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16722
17964
            aix_use_runtimelinking=yes
16750
17992
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16751
17993
          then
16752
17994
          # We have reworked collect2
16753
 
          hardcode_direct_GCJ=yes
 
17995
          :
16754
17996
          else
16755
17997
          # We have old collect2
16756
17998
          hardcode_direct_GCJ=unsupported
16806
18048
}
16807
18049
_ACEOF
16808
18050
rm -f conftest.$ac_objext conftest$ac_exeext
16809
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16810
 
  (eval $ac_link) 2>conftest.er1
 
18051
if { (ac_try="$ac_link"
 
18052
case "(($ac_try" in
 
18053
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18054
  *) ac_try_echo=$ac_try;;
 
18055
esac
 
18056
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18057
  (eval "$ac_link") 2>conftest.er1
16811
18058
  ac_status=$?
16812
18059
  grep -v '^ *+' conftest.er1 >conftest.err
16813
18060
  rm -f conftest.er1
16814
18061
  cat conftest.err >&5
16815
18062
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816
 
  (exit $ac_status); } &&
16817
 
         { ac_try='test -z "$ac_c_werror_flag"
16818
 
                         || test ! -s conftest.err'
16819
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820
 
  (eval $ac_try) 2>&5
16821
 
  ac_status=$?
16822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823
 
  (exit $ac_status); }; } &&
16824
 
         { ac_try='test -s conftest$ac_exeext'
16825
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16826
 
  (eval $ac_try) 2>&5
16827
 
  ac_status=$?
16828
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829
 
  (exit $ac_status); }; }; then
 
18063
  (exit $ac_status); } && {
 
18064
         test -z "$ac_c_werror_flag" ||
 
18065
         test ! -s conftest.err
 
18066
       } && test -s conftest$ac_exeext &&
 
18067
       $as_test_x conftest$ac_exeext; then
16830
18068
 
16831
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16832
 
}'`
 
18069
lt_aix_libpath_sed='
 
18070
    /Import File Strings/,/^$/ {
 
18071
        /^0/ {
 
18072
            s/^0  *\(.*\)$/\1/
 
18073
            p
 
18074
        }
 
18075
    }'
 
18076
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16833
18077
# Check for a 64-bit object if we didn't find anything.
16834
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16835
 
}'`; fi
 
18078
if test -z "$aix_libpath"; then
 
18079
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18080
fi
16836
18081
else
16837
18082
  echo "$as_me: failed program was:" >&5
16838
18083
sed 's/^/| /' conftest.$ac_ext >&5
16839
18084
 
 
18085
 
16840
18086
fi
16841
 
rm -f conftest.err conftest.$ac_objext \
 
18087
 
 
18088
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16842
18089
      conftest$ac_exeext conftest.$ac_ext
16843
18090
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16844
18091
 
16867
18114
}
16868
18115
_ACEOF
16869
18116
rm -f conftest.$ac_objext conftest$ac_exeext
16870
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16871
 
  (eval $ac_link) 2>conftest.er1
 
18117
if { (ac_try="$ac_link"
 
18118
case "(($ac_try" in
 
18119
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18120
  *) ac_try_echo=$ac_try;;
 
18121
esac
 
18122
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18123
  (eval "$ac_link") 2>conftest.er1
16872
18124
  ac_status=$?
16873
18125
  grep -v '^ *+' conftest.er1 >conftest.err
16874
18126
  rm -f conftest.er1
16875
18127
  cat conftest.err >&5
16876
18128
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877
 
  (exit $ac_status); } &&
16878
 
         { ac_try='test -z "$ac_c_werror_flag"
16879
 
                         || test ! -s conftest.err'
16880
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881
 
  (eval $ac_try) 2>&5
16882
 
  ac_status=$?
16883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884
 
  (exit $ac_status); }; } &&
16885
 
         { ac_try='test -s conftest$ac_exeext'
16886
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887
 
  (eval $ac_try) 2>&5
16888
 
  ac_status=$?
16889
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890
 
  (exit $ac_status); }; }; then
 
18129
  (exit $ac_status); } && {
 
18130
         test -z "$ac_c_werror_flag" ||
 
18131
         test ! -s conftest.err
 
18132
       } && test -s conftest$ac_exeext &&
 
18133
       $as_test_x conftest$ac_exeext; then
16891
18134
 
16892
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16893
 
}'`
 
18135
lt_aix_libpath_sed='
 
18136
    /Import File Strings/,/^$/ {
 
18137
        /^0/ {
 
18138
            s/^0  *\(.*\)$/\1/
 
18139
            p
 
18140
        }
 
18141
    }'
 
18142
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16894
18143
# Check for a 64-bit object if we didn't find anything.
16895
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16896
 
}'`; fi
 
18144
if test -z "$aix_libpath"; then
 
18145
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18146
fi
16897
18147
else
16898
18148
  echo "$as_me: failed program was:" >&5
16899
18149
sed 's/^/| /' conftest.$ac_ext >&5
16900
18150
 
 
18151
 
16901
18152
fi
16902
 
rm -f conftest.err conftest.$ac_objext \
 
18153
 
 
18154
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16903
18155
      conftest$ac_exeext conftest.$ac_ext
16904
18156
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16905
18157
 
16945
18197
      # The linker will automatically build a .lib file if we build a DLL.
16946
18198
      old_archive_From_new_cmds_GCJ='true'
16947
18199
      # FIXME: Should let the user specify the lib program.
16948
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
18200
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
16949
18201
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16950
18202
      enable_shared_with_static_runtimes_GCJ=yes
16951
18203
      ;;
16978
18230
      link_all_deplibs_GCJ=yes
16979
18231
    if test "$GCC" = yes ; then
16980
18232
        output_verbose_link_cmd='echo'
16981
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16982
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16983
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16984
 
      archive_expsym_cmds_GCJ='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}'
16985
 
      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}'
 
18233
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
18234
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
18235
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
18236
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16986
18237
    else
16987
18238
      case $cc_basename in
16988
18239
        xlc*)
16989
18240
         output_verbose_link_cmd='echo'
16990
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
18241
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16991
18242
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16992
18243
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16993
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
18244
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16994
18245
          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}'
16995
18246
          ;;
16996
18247
       *)
17030
18281
      ;;
17031
18282
 
17032
18283
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17033
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
18284
    freebsd* | dragonfly*)
17034
18285
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17035
18286
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17036
18287
      hardcode_direct_GCJ=yes
17132
18383
      link_all_deplibs_GCJ=yes
17133
18384
      ;;
17134
18385
 
17135
 
    netbsd*)
 
18386
    netbsd* | netbsdelf*-gnu)
17136
18387
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17137
18388
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17138
18389
      else
17152
18403
      ;;
17153
18404
 
17154
18405
    openbsd*)
17155
 
      hardcode_direct_GCJ=yes
17156
 
      hardcode_shlibpath_var_GCJ=no
17157
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17158
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17159
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17160
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17161
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
18406
      if test -f /usr/libexec/ld.so; then
 
18407
        hardcode_direct_GCJ=yes
 
18408
        hardcode_shlibpath_var_GCJ=no
 
18409
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
18410
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18411
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
18412
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18413
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
18414
        else
 
18415
          case $host_os in
 
18416
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
18417
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18418
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
18419
             ;;
 
18420
           *)
 
18421
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18422
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18423
             ;;
 
18424
          esac
 
18425
        fi
17162
18426
      else
17163
 
       case $host_os in
17164
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17165
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17166
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17167
 
           ;;
17168
 
         *)
17169
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17170
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17171
 
           ;;
17172
 
       esac
 
18427
        ld_shlibs_GCJ=no
17173
18428
      fi
17174
18429
      ;;
17175
18430
 
17228
18483
      case $host_os in
17229
18484
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17230
18485
      *)
17231
 
        # The compiler driver will combine linker options so we
17232
 
        # cannot just pass the convience library names through
17233
 
        # without $wl, iff we do not link with $LD.
17234
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18486
        # The compiler driver will combine and reorder linker options,
 
18487
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
18488
        # but is careful enough not to reorder.
17235
18489
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17236
 
        case $wlarc in
17237
 
        '')
17238
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17239
 
        *)
17240
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17241
 
        esac ;;
 
18490
        if test "$GCC" = yes; then
 
18491
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
18492
        else
 
18493
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
18494
        fi
 
18495
        ;;
17242
18496
      esac
17243
18497
      link_all_deplibs_GCJ=yes
17244
18498
      ;;
17295
18549
      fi
17296
18550
      ;;
17297
18551
 
17298
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18552
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17299
18553
      no_undefined_flag_GCJ='${wl}-z,text'
17300
18554
      archive_cmds_need_lc_GCJ=no
17301
18555
      hardcode_shlibpath_var_GCJ=no
17348
18602
    esac
17349
18603
  fi
17350
18604
 
17351
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17352
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18605
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18606
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17353
18607
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17354
18608
 
17355
18609
#
17369
18623
      # Test whether the compiler implicitly links with -lc since on some
17370
18624
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17371
18625
      # to ld, don't add -lc before -lgcc.
17372
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17373
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18626
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18627
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17374
18628
      $rm conftest*
17375
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18629
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17376
18630
 
17377
18631
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17378
18632
  (eval $ac_compile) 2>&5
17407
18661
        cat conftest.err 1>&5
17408
18662
      fi
17409
18663
      $rm conftest*
17410
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17411
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18664
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18665
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17412
18666
      ;;
17413
18667
    esac
17414
18668
  fi
17415
18669
  ;;
17416
18670
esac
17417
18671
 
17418
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17419
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18672
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18673
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17420
18674
library_names_spec=
17421
18675
libname_spec='lib$name'
17422
18676
soname_spec=
17430
18684
version_type=none
17431
18685
dynamic_linker="$host_os ld.so"
17432
18686
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17433
 
if test "$GCC" = yes; then
17434
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17435
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17436
 
    # if the path contains ";" then we assume it to be the separator
17437
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17438
 
    # assumed that no part of a normal pathname contains ";" but that should
17439
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17440
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17441
 
  else
17442
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17443
 
  fi
17444
 
else
17445
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17446
 
fi
 
18687
 
17447
18688
need_lib_prefix=unknown
17448
18689
hardcode_into_libs=no
17449
18690
 
17461
18702
  soname_spec='${libname}${release}${shared_ext}$major'
17462
18703
  ;;
17463
18704
 
17464
 
aix4* | aix5*)
 
18705
aix[4-9]*)
17465
18706
  version_type=linux
17466
18707
  need_lib_prefix=no
17467
18708
  need_version=no
17600
18841
  shlibpath_overrides_runpath=yes
17601
18842
  shlibpath_var=DYLD_LIBRARY_PATH
17602
18843
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17603
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17604
 
  if test "$GCC" = yes; then
17605
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17606
 
  else
17607
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17608
 
  fi
 
18844
 
17609
18845
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17610
18846
  ;;
17611
18847
 
17622
18858
  dynamic_linker=no
17623
18859
  ;;
17624
18860
 
17625
 
kfreebsd*-gnu)
17626
 
  version_type=linux
17627
 
  need_lib_prefix=no
17628
 
  need_version=no
17629
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17630
 
  soname_spec='${libname}${release}${shared_ext}$major'
17631
 
  shlibpath_var=LD_LIBRARY_PATH
17632
 
  shlibpath_overrides_runpath=no
17633
 
  hardcode_into_libs=yes
17634
 
  dynamic_linker='GNU ld.so'
17635
 
  ;;
17636
 
 
17637
18861
freebsd* | dragonfly*)
17638
18862
  # DragonFly does not have aout.  When/if they implement a new
17639
18863
  # versioning mechanism, adjust this.
17671
18895
    shlibpath_overrides_runpath=no
17672
18896
    hardcode_into_libs=yes
17673
18897
    ;;
17674
 
  freebsd*) # from 4.6 on
 
18898
  *) # from 4.6 on, and DragonFly
17675
18899
    shlibpath_overrides_runpath=yes
17676
18900
    hardcode_into_libs=yes
17677
18901
    ;;
17734
18958
  postinstall_cmds='chmod 555 $lib'
17735
18959
  ;;
17736
18960
 
17737
 
interix3*)
 
18961
interix[3-9]*)
17738
18962
  version_type=linux
17739
18963
  need_lib_prefix=no
17740
18964
  need_version=no
17789
19013
  ;;
17790
19014
 
17791
19015
# This must be Linux ELF.
17792
 
linux*)
 
19016
linux* | k*bsd*-gnu)
17793
19017
  version_type=linux
17794
19018
  need_lib_prefix=no
17795
19019
  need_version=no
17803
19027
  # before this can be enabled.
17804
19028
  hardcode_into_libs=yes
17805
19029
 
17806
 
  # find out which ABI we are using
17807
 
  libsuff=
17808
 
  case "$host_cpu" in
17809
 
  x86_64*|s390x*|powerpc64*)
17810
 
    echo '#line 17810 "configure"' > conftest.$ac_ext
17811
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17812
 
  (eval $ac_compile) 2>&5
17813
 
  ac_status=$?
17814
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815
 
  (exit $ac_status); }; then
17816
 
      case `/usr/bin/file conftest.$ac_objext` in
17817
 
      *64-bit*)
17818
 
        libsuff=64
17819
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17820
 
        ;;
17821
 
      esac
17822
 
    fi
17823
 
    rm -rf conftest*
17824
 
    ;;
17825
 
  esac
17826
 
 
17827
19030
  # Append ld.so.conf contents to the search path
17828
19031
  if test -f /etc/ld.so.conf; then
17829
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17830
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
19032
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
19033
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17831
19034
  fi
17832
19035
 
17833
19036
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17839
19042
  dynamic_linker='GNU/Linux ld.so'
17840
19043
  ;;
17841
19044
 
17842
 
knetbsd*-gnu)
 
19045
netbsdelf*-gnu)
17843
19046
  version_type=linux
17844
19047
  need_lib_prefix=no
17845
19048
  need_version=no
17848
19051
  shlibpath_var=LD_LIBRARY_PATH
17849
19052
  shlibpath_overrides_runpath=no
17850
19053
  hardcode_into_libs=yes
17851
 
  dynamic_linker='GNU ld.so'
 
19054
  dynamic_linker='NetBSD ld.elf_so'
17852
19055
  ;;
17853
19056
 
17854
19057
netbsd*)
17932
19135
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17933
19136
  ;;
17934
19137
 
 
19138
rdos*)
 
19139
  dynamic_linker=no
 
19140
  ;;
 
19141
 
17935
19142
solaris*)
17936
19143
  version_type=linux
17937
19144
  need_lib_prefix=no
18024
19231
  dynamic_linker=no
18025
19232
  ;;
18026
19233
esac
18027
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18028
 
echo "${ECHO_T}$dynamic_linker" >&6
 
19234
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
19235
echo "${ECHO_T}$dynamic_linker" >&6; }
18029
19236
test "$dynamic_linker" = no && can_build_shared=no
18030
19237
 
 
19238
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
19239
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19240
else
 
19241
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
19242
fi
 
19243
 
 
19244
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
19245
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
19246
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19247
else
 
19248
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
19249
fi
 
19250
 
 
19251
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
19252
 
18031
19253
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18032
19254
if test "$GCC" = yes; then
18033
19255
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18034
19256
fi
18035
19257
 
18036
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18037
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
19258
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
19259
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18038
19260
hardcode_action_GCJ=
18039
19261
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18040
19262
   test -n "$runpath_var_GCJ" || \
18058
19280
  # directories.
18059
19281
  hardcode_action_GCJ=unsupported
18060
19282
fi
18061
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18062
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
19283
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
19284
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18063
19285
 
18064
19286
if test "$hardcode_action_GCJ" = relink; then
18065
19287
  # Fast installation is not supported
18111
19333
    predeps_GCJ \
18112
19334
    postdeps_GCJ \
18113
19335
    compiler_lib_search_path_GCJ \
 
19336
    compiler_lib_search_dirs_GCJ \
18114
19337
    archive_cmds_GCJ \
18115
19338
    archive_expsym_cmds_GCJ \
18116
19339
    postinstall_cmds_GCJ \
18126
19349
    module_cmds_GCJ \
18127
19350
    module_expsym_cmds_GCJ \
18128
19351
    lt_cv_prog_compiler_c_o_GCJ \
 
19352
    fix_srcfile_path_GCJ \
18129
19353
    exclude_expsyms_GCJ \
18130
19354
    include_expsyms_GCJ; do
18131
19355
 
18211
19435
# Is the compiler the GNU C compiler?
18212
19436
with_gcc=$GCC_GCJ
18213
19437
 
18214
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18215
 
gcc_ver=\`gcc -dumpversion\`
18216
 
 
18217
19438
# An ERE matcher.
18218
19439
EGREP=$lt_EGREP
18219
19440
 
18347
19568
 
18348
19569
# Dependencies to place before the objects being linked to create a
18349
19570
# shared library.
18350
 
predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
19571
predep_objects=$lt_predep_objects_GCJ
18351
19572
 
18352
19573
# Dependencies to place after the objects being linked to create a
18353
19574
# shared library.
18354
 
postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
19575
postdep_objects=$lt_postdep_objects_GCJ
18355
19576
 
18356
19577
# Dependencies to place before the objects being linked to create a
18357
19578
# shared library.
18361
19582
# shared library.
18362
19583
postdeps=$lt_postdeps_GCJ
18363
19584
 
 
19585
# The directories searched by this compiler when creating a shared
 
19586
# library
 
19587
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
19588
 
18364
19589
# The library search path used internally by the compiler when linking
18365
19590
# a shared library.
18366
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
19591
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18367
19592
 
18368
19593
# Method to check whether dependent libraries are shared objects.
18369
19594
deplibs_check_method=$lt_deplibs_check_method
18443
19668
link_all_deplibs=$link_all_deplibs_GCJ
18444
19669
 
18445
19670
# Compile-time system search path for libraries
18446
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
19671
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18447
19672
 
18448
19673
# Run-time system search path for libraries
18449
19674
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18450
19675
 
18451
19676
# Fix the shell variable \$srcfile for the compiler.
18452
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
19677
fix_srcfile_path=$lt_fix_srcfile_path
18453
19678
 
18454
19679
# Set to yes if exported symbols are required.
18455
19680
always_export_symbols=$always_export_symbols_GCJ
18498
19723
      RC)
18499
19724
 
18500
19725
 
18501
 
 
18502
19726
# Source file extension for RC test sources.
18503
19727
ac_ext=rc
18504
19728
 
18507
19731
objext_RC=$objext
18508
19732
 
18509
19733
# Code to be used in simple compile tests
18510
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
19734
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18511
19735
 
18512
19736
# Code to be used in simple link tests
18513
19737
lt_simple_link_test_code="$lt_simple_compile_test_code"
18526
19750
 
18527
19751
# save warnings/boilerplate of simple test code
18528
19752
ac_outfile=conftest.$ac_objext
18529
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19753
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18530
19754
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18531
19755
_lt_compiler_boilerplate=`cat conftest.err`
18532
19756
$rm conftest*
18533
19757
 
18534
19758
ac_outfile=conftest.$ac_objext
18535
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19759
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18536
19760
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18537
19761
_lt_linker_boilerplate=`cat conftest.err`
18538
 
$rm conftest*
 
19762
$rm -r conftest*
18539
19763
 
18540
19764
 
18541
19765
# Allow CC to be a program name with arguments.
18595
19819
    predeps_RC \
18596
19820
    postdeps_RC \
18597
19821
    compiler_lib_search_path_RC \
 
19822
    compiler_lib_search_dirs_RC \
18598
19823
    archive_cmds_RC \
18599
19824
    archive_expsym_cmds_RC \
18600
19825
    postinstall_cmds_RC \
18610
19835
    module_cmds_RC \
18611
19836
    module_expsym_cmds_RC \
18612
19837
    lt_cv_prog_compiler_c_o_RC \
 
19838
    fix_srcfile_path_RC \
18613
19839
    exclude_expsyms_RC \
18614
19840
    include_expsyms_RC; do
18615
19841
 
18695
19921
# Is the compiler the GNU C compiler?
18696
19922
with_gcc=$GCC_RC
18697
19923
 
18698
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18699
 
gcc_ver=\`gcc -dumpversion\`
18700
 
 
18701
19924
# An ERE matcher.
18702
19925
EGREP=$lt_EGREP
18703
19926
 
18831
20054
 
18832
20055
# Dependencies to place before the objects being linked to create a
18833
20056
# shared library.
18834
 
predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20057
predep_objects=$lt_predep_objects_RC
18835
20058
 
18836
20059
# Dependencies to place after the objects being linked to create a
18837
20060
# shared library.
18838
 
postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20061
postdep_objects=$lt_postdep_objects_RC
18839
20062
 
18840
20063
# Dependencies to place before the objects being linked to create a
18841
20064
# shared library.
18845
20068
# shared library.
18846
20069
postdeps=$lt_postdeps_RC
18847
20070
 
 
20071
# The directories searched by this compiler when creating a shared
 
20072
# library
 
20073
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
20074
 
18848
20075
# The library search path used internally by the compiler when linking
18849
20076
# a shared library.
18850
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20077
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18851
20078
 
18852
20079
# Method to check whether dependent libraries are shared objects.
18853
20080
deplibs_check_method=$lt_deplibs_check_method
18927
20154
link_all_deplibs=$link_all_deplibs_RC
18928
20155
 
18929
20156
# Compile-time system search path for libraries
18930
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20157
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18931
20158
 
18932
20159
# Run-time system search path for libraries
18933
20160
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18934
20161
 
18935
20162
# Fix the shell variable \$srcfile for the compiler.
18936
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
20163
fix_srcfile_path=$lt_fix_srcfile_path
18937
20164
 
18938
20165
# Set to yes if exported symbols are required.
18939
20166
always_export_symbols=$always_export_symbols_RC
19044
20271
esac
19045
20272
 
19046
20273
if test -n "0.35.0"; then
19047
 
    echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
19048
 
echo $ECHO_N "checking for intltool >= 0.35.0... $ECHO_C" >&6
 
20274
    { echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
 
20275
echo $ECHO_N "checking for intltool >= 0.35.0... $ECHO_C" >&6; }
19049
20276
 
19050
20277
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
19051
20278
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
19052
20279
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
19053
20280
 
19054
 
    echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
19055
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
 
20281
    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
20282
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
19056
20283
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
19057
20284
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
19058
20285
echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
19077
20304
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19078
20305
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19079
20306
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19080
 
 
19081
 
 
19082
 
 
19083
 
 
19084
 
 
19085
 
 
19086
 
 
19087
 
 
19088
 
 
19089
 
 
19090
 
 
19091
 
 
19092
 
 
19093
 
 
19094
 
 
19095
 
 
19096
 
 
19097
 
 
19098
 
 
 
20307
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
20308
 
 
20309
 
 
20310
 
 
20311
 
 
20312
 
 
20313
 
 
20314
 
 
20315
 
 
20316
 
 
20317
 
 
20318
 
 
20319
 
 
20320
 
 
20321
 
 
20322
 
 
20323
 
 
20324
 
 
20325
 
 
20326
 
 
20327
 
 
20328
 
 
20329
# Check the gettext tools to make sure they are GNU
 
20330
# Extract the first word of "xgettext", so it can be a program name with args.
 
20331
set dummy xgettext; ac_word=$2
 
20332
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20333
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20334
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
20335
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20336
else
 
20337
  case $XGETTEXT in
 
20338
  [\\/]* | ?:[\\/]*)
 
20339
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
20340
  ;;
 
20341
  *)
 
20342
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20343
for as_dir in $PATH
 
20344
do
 
20345
  IFS=$as_save_IFS
 
20346
  test -z "$as_dir" && as_dir=.
 
20347
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20348
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20349
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
20350
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20351
    break 2
 
20352
  fi
 
20353
done
 
20354
done
 
20355
IFS=$as_save_IFS
 
20356
 
 
20357
  ;;
 
20358
esac
 
20359
fi
 
20360
XGETTEXT=$ac_cv_path_XGETTEXT
 
20361
if test -n "$XGETTEXT"; then
 
20362
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
20363
echo "${ECHO_T}$XGETTEXT" >&6; }
 
20364
else
 
20365
  { echo "$as_me:$LINENO: result: no" >&5
 
20366
echo "${ECHO_T}no" >&6; }
 
20367
fi
 
20368
 
 
20369
 
 
20370
# Extract the first word of "msgmerge", so it can be a program name with args.
 
20371
set dummy msgmerge; ac_word=$2
 
20372
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20373
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20374
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
20375
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20376
else
 
20377
  case $MSGMERGE in
 
20378
  [\\/]* | ?:[\\/]*)
 
20379
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
20380
  ;;
 
20381
  *)
 
20382
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20383
for as_dir in $PATH
 
20384
do
 
20385
  IFS=$as_save_IFS
 
20386
  test -z "$as_dir" && as_dir=.
 
20387
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20388
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20389
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
20390
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20391
    break 2
 
20392
  fi
 
20393
done
 
20394
done
 
20395
IFS=$as_save_IFS
 
20396
 
 
20397
  ;;
 
20398
esac
 
20399
fi
 
20400
MSGMERGE=$ac_cv_path_MSGMERGE
 
20401
if test -n "$MSGMERGE"; then
 
20402
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
20403
echo "${ECHO_T}$MSGMERGE" >&6; }
 
20404
else
 
20405
  { echo "$as_me:$LINENO: result: no" >&5
 
20406
echo "${ECHO_T}no" >&6; }
 
20407
fi
 
20408
 
 
20409
 
 
20410
# Extract the first word of "msgfmt", so it can be a program name with args.
 
20411
set dummy msgfmt; ac_word=$2
 
20412
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20413
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20414
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
20415
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20416
else
 
20417
  case $MSGFMT in
 
20418
  [\\/]* | ?:[\\/]*)
 
20419
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
20420
  ;;
 
20421
  *)
 
20422
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20423
for as_dir in $PATH
 
20424
do
 
20425
  IFS=$as_save_IFS
 
20426
  test -z "$as_dir" && as_dir=.
 
20427
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20428
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20429
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
20430
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20431
    break 2
 
20432
  fi
 
20433
done
 
20434
done
 
20435
IFS=$as_save_IFS
 
20436
 
 
20437
  ;;
 
20438
esac
 
20439
fi
 
20440
MSGFMT=$ac_cv_path_MSGFMT
 
20441
if test -n "$MSGFMT"; then
 
20442
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
20443
echo "${ECHO_T}$MSGFMT" >&6; }
 
20444
else
 
20445
  { echo "$as_me:$LINENO: result: no" >&5
 
20446
echo "${ECHO_T}no" >&6; }
 
20447
fi
 
20448
 
 
20449
 
 
20450
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
20451
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
20452
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
20453
   { (exit 1); exit 1; }; }
 
20454
fi
 
20455
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
20456
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
20457
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
20458
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
20459
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
20460
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
20461
   { (exit 1); exit 1; }; }
 
20462
fi
19099
20463
 
19100
20464
# Use the tools built into the package, not the ones that are installed.
19101
20465
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
19107
20471
 
19108
20472
# Extract the first word of "perl", so it can be a program name with args.
19109
20473
set dummy perl; ac_word=$2
19110
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19111
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20474
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20475
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19112
20476
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
19113
20477
  echo $ECHO_N "(cached) $ECHO_C" >&6
19114
20478
else
19123
20487
  IFS=$as_save_IFS
19124
20488
  test -z "$as_dir" && as_dir=.
19125
20489
  for ac_exec_ext in '' $ac_executable_extensions; do
19126
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20490
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19127
20491
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
19128
20492
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19129
20493
    break 2
19130
20494
  fi
19131
20495
done
19132
20496
done
 
20497
IFS=$as_save_IFS
19133
20498
 
19134
20499
  ;;
19135
20500
esac
19136
20501
fi
19137
20502
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
19138
 
 
19139
20503
if test -n "$INTLTOOL_PERL"; then
19140
 
  echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
19141
 
echo "${ECHO_T}$INTLTOOL_PERL" >&6
 
20504
  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
20505
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
19142
20506
else
19143
 
  echo "$as_me:$LINENO: result: no" >&5
19144
 
echo "${ECHO_T}no" >&6
 
20507
  { echo "$as_me:$LINENO: result: no" >&5
 
20508
echo "${ECHO_T}no" >&6; }
19145
20509
fi
19146
20510
 
 
20511
 
19147
20512
if test -z "$INTLTOOL_PERL"; then
19148
20513
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
19149
20514
echo "$as_me: error: perl not found; required for intltool" >&2;}
19155
20520
   { (exit 1); exit 1; }; }
19156
20521
fi
19157
20522
if test "x" != "xno-xml"; then
19158
 
   echo "$as_me:$LINENO: checking for XML::Parser" >&5
19159
 
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
 
20523
   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
20524
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
19160
20525
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
19161
 
       echo "$as_me:$LINENO: result: ok" >&5
19162
 
echo "${ECHO_T}ok" >&6
 
20526
       { echo "$as_me:$LINENO: result: ok" >&5
 
20527
echo "${ECHO_T}ok" >&6; }
19163
20528
   else
19164
20529
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
19165
20530
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
19167
20532
   fi
19168
20533
fi
19169
20534
 
19170
 
# Extract the first word of "iconv", so it can be a program name with args.
19171
 
set dummy iconv; ac_word=$2
19172
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19173
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19174
 
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
19175
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19176
 
else
19177
 
  case $INTLTOOL_ICONV in
19178
 
  [\\/]* | ?:[\\/]*)
19179
 
  ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
19180
 
  ;;
19181
 
  *)
19182
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19183
 
for as_dir in $PATH
19184
 
do
19185
 
  IFS=$as_save_IFS
19186
 
  test -z "$as_dir" && as_dir=.
19187
 
  for ac_exec_ext in '' $ac_executable_extensions; do
19188
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19189
 
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
19190
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19191
 
    break 2
19192
 
  fi
19193
 
done
19194
 
done
19195
 
 
19196
 
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
19197
 
  ;;
19198
 
esac
19199
 
fi
19200
 
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
19201
 
 
19202
 
if test -n "$INTLTOOL_ICONV"; then
19203
 
  echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
19204
 
echo "${ECHO_T}$INTLTOOL_ICONV" >&6
19205
 
else
19206
 
  echo "$as_me:$LINENO: result: no" >&5
19207
 
echo "${ECHO_T}no" >&6
19208
 
fi
19209
 
 
19210
 
# Extract the first word of "msgfmt", so it can be a program name with args.
19211
 
set dummy msgfmt; ac_word=$2
19212
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19213
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19214
 
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
19215
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19216
 
else
19217
 
  case $INTLTOOL_MSGFMT in
19218
 
  [\\/]* | ?:[\\/]*)
19219
 
  ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
19220
 
  ;;
19221
 
  *)
19222
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19223
 
for as_dir in $PATH
19224
 
do
19225
 
  IFS=$as_save_IFS
19226
 
  test -z "$as_dir" && as_dir=.
19227
 
  for ac_exec_ext in '' $ac_executable_extensions; do
19228
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19229
 
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
19230
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19231
 
    break 2
19232
 
  fi
19233
 
done
19234
 
done
19235
 
 
19236
 
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
19237
 
  ;;
19238
 
esac
19239
 
fi
19240
 
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
19241
 
 
19242
 
if test -n "$INTLTOOL_MSGFMT"; then
19243
 
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
19244
 
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
19245
 
else
19246
 
  echo "$as_me:$LINENO: result: no" >&5
19247
 
echo "${ECHO_T}no" >&6
19248
 
fi
19249
 
 
19250
 
# Extract the first word of "msgmerge", so it can be a program name with args.
19251
 
set dummy msgmerge; ac_word=$2
19252
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19253
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19254
 
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
19255
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19256
 
else
19257
 
  case $INTLTOOL_MSGMERGE in
19258
 
  [\\/]* | ?:[\\/]*)
19259
 
  ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
19260
 
  ;;
19261
 
  *)
19262
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19263
 
for as_dir in $PATH
19264
 
do
19265
 
  IFS=$as_save_IFS
19266
 
  test -z "$as_dir" && as_dir=.
19267
 
  for ac_exec_ext in '' $ac_executable_extensions; do
19268
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19269
 
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
19270
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19271
 
    break 2
19272
 
  fi
19273
 
done
19274
 
done
19275
 
 
19276
 
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
19277
 
  ;;
19278
 
esac
19279
 
fi
19280
 
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
19281
 
 
19282
 
if test -n "$INTLTOOL_MSGMERGE"; then
19283
 
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
19284
 
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
19285
 
else
19286
 
  echo "$as_me:$LINENO: result: no" >&5
19287
 
echo "${ECHO_T}no" >&6
19288
 
fi
19289
 
 
19290
 
# Extract the first word of "xgettext", so it can be a program name with args.
19291
 
set dummy xgettext; ac_word=$2
19292
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19293
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19294
 
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
19295
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19296
 
else
19297
 
  case $INTLTOOL_XGETTEXT in
19298
 
  [\\/]* | ?:[\\/]*)
19299
 
  ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
19300
 
  ;;
19301
 
  *)
19302
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19303
 
for as_dir in $PATH
19304
 
do
19305
 
  IFS=$as_save_IFS
19306
 
  test -z "$as_dir" && as_dir=.
19307
 
  for ac_exec_ext in '' $ac_executable_extensions; do
19308
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19309
 
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
19310
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19311
 
    break 2
19312
 
  fi
19313
 
done
19314
 
done
19315
 
 
19316
 
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
19317
 
  ;;
19318
 
esac
19319
 
fi
19320
 
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
19321
 
 
19322
 
if test -n "$INTLTOOL_XGETTEXT"; then
19323
 
  echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
19324
 
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
19325
 
else
19326
 
  echo "$as_me:$LINENO: result: no" >&5
19327
 
echo "${ECHO_T}no" >&6
19328
 
fi
19329
 
 
19330
 
 
19331
20535
# Substitute ALL_LINGUAS so we can use it in po/Makefile
19332
20536
 
19333
20537
 
19334
 
 
19335
 
 
19336
 
 
19337
 
          ac_config_commands="$ac_config_commands intltool"
 
20538
# Set DATADIRNAME correctly if it is not set yet
 
20539
# (copied from glib-gettext.m4)
 
20540
if test -z "$DATADIRNAME"; then
 
20541
  cat >conftest.$ac_ext <<_ACEOF
 
20542
/* confdefs.h.  */
 
20543
_ACEOF
 
20544
cat confdefs.h >>conftest.$ac_ext
 
20545
cat >>conftest.$ac_ext <<_ACEOF
 
20546
/* end confdefs.h.  */
 
20547
 
 
20548
int
 
20549
main ()
 
20550
{
 
20551
extern int _nl_msg_cat_cntr;
 
20552
                       return _nl_msg_cat_cntr
 
20553
  ;
 
20554
  return 0;
 
20555
}
 
20556
_ACEOF
 
20557
rm -f conftest.$ac_objext conftest$ac_exeext
 
20558
if { (ac_try="$ac_link"
 
20559
case "(($ac_try" in
 
20560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20561
  *) ac_try_echo=$ac_try;;
 
20562
esac
 
20563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20564
  (eval "$ac_link") 2>conftest.er1
 
20565
  ac_status=$?
 
20566
  grep -v '^ *+' conftest.er1 >conftest.err
 
20567
  rm -f conftest.er1
 
20568
  cat conftest.err >&5
 
20569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20570
  (exit $ac_status); } && {
 
20571
         test -z "$ac_c_werror_flag" ||
 
20572
         test ! -s conftest.err
 
20573
       } && test -s conftest$ac_exeext &&
 
20574
       $as_test_x conftest$ac_exeext; then
 
20575
  DATADIRNAME=share
 
20576
else
 
20577
  echo "$as_me: failed program was:" >&5
 
20578
sed 's/^/| /' conftest.$ac_ext >&5
 
20579
 
 
20580
        case $host in
 
20581
    *-*-solaris*)
 
20582
                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
20583
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
 
20584
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 
20585
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20586
else
 
20587
  cat >conftest.$ac_ext <<_ACEOF
 
20588
/* confdefs.h.  */
 
20589
_ACEOF
 
20590
cat confdefs.h >>conftest.$ac_ext
 
20591
cat >>conftest.$ac_ext <<_ACEOF
 
20592
/* end confdefs.h.  */
 
20593
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
20594
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
20595
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
20596
 
 
20597
/* System header to define __stub macros and hopefully few prototypes,
 
20598
    which can conflict with char bind_textdomain_codeset (); below.
 
20599
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
20600
    <limits.h> exists even on freestanding compilers.  */
 
20601
 
 
20602
#ifdef __STDC__
 
20603
# include <limits.h>
 
20604
#else
 
20605
# include <assert.h>
 
20606
#endif
 
20607
 
 
20608
#undef bind_textdomain_codeset
 
20609
 
 
20610
/* Override any GCC internal prototype to avoid an error.
 
20611
   Use char because int might match the return type of a GCC
 
20612
   builtin and then its argument prototype would still apply.  */
 
20613
#ifdef __cplusplus
 
20614
extern "C"
 
20615
#endif
 
20616
char bind_textdomain_codeset ();
 
20617
/* The GNU C library defines this for functions which it implements
 
20618
    to always fail with ENOSYS.  Some functions are actually named
 
20619
    something starting with __ and the normal name is an alias.  */
 
20620
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 
20621
choke me
 
20622
#endif
 
20623
 
 
20624
int
 
20625
main ()
 
20626
{
 
20627
return bind_textdomain_codeset ();
 
20628
  ;
 
20629
  return 0;
 
20630
}
 
20631
_ACEOF
 
20632
rm -f conftest.$ac_objext conftest$ac_exeext
 
20633
if { (ac_try="$ac_link"
 
20634
case "(($ac_try" in
 
20635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20636
  *) ac_try_echo=$ac_try;;
 
20637
esac
 
20638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20639
  (eval "$ac_link") 2>conftest.er1
 
20640
  ac_status=$?
 
20641
  grep -v '^ *+' conftest.er1 >conftest.err
 
20642
  rm -f conftest.er1
 
20643
  cat conftest.err >&5
 
20644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20645
  (exit $ac_status); } && {
 
20646
         test -z "$ac_c_werror_flag" ||
 
20647
         test ! -s conftest.err
 
20648
       } && test -s conftest$ac_exeext &&
 
20649
       $as_test_x conftest$ac_exeext; then
 
20650
  ac_cv_func_bind_textdomain_codeset=yes
 
20651
else
 
20652
  echo "$as_me: failed program was:" >&5
 
20653
sed 's/^/| /' conftest.$ac_ext >&5
 
20654
 
 
20655
        ac_cv_func_bind_textdomain_codeset=no
 
20656
fi
 
20657
 
 
20658
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20659
      conftest$ac_exeext conftest.$ac_ext
 
20660
fi
 
20661
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
20662
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
 
20663
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
20664
  DATADIRNAME=share
 
20665
else
 
20666
  DATADIRNAME=lib
 
20667
fi
 
20668
 
 
20669
    ;;
 
20670
    *)
 
20671
    DATADIRNAME=lib
 
20672
    ;;
 
20673
    esac
 
20674
fi
 
20675
 
 
20676
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20677
      conftest$ac_exeext conftest.$ac_ext
 
20678
fi
 
20679
 
 
20680
 
 
20681
 
 
20682
 
 
20683
 
 
20684
ac_config_commands="$ac_config_commands intltool"
19338
20685
 
19339
20686
 
19340
20687
 
19341
20688
# Extract the first word of "gconftool-2", so it can be a program name with args.
19342
20689
set dummy gconftool-2; ac_word=$2
19343
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19344
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20690
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20691
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19345
20692
if test "${ac_cv_path_GCONFTOOL+set}" = set; then
19346
20693
  echo $ECHO_N "(cached) $ECHO_C" >&6
19347
20694
else
19356
20703
  IFS=$as_save_IFS
19357
20704
  test -z "$as_dir" && as_dir=.
19358
20705
  for ac_exec_ext in '' $ac_executable_extensions; do
19359
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20706
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19360
20707
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
19361
20708
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19362
20709
    break 2
19363
20710
  fi
19364
20711
done
19365
20712
done
 
20713
IFS=$as_save_IFS
19366
20714
 
19367
20715
  ;;
19368
20716
esac
19369
20717
fi
19370
20718
GCONFTOOL=$ac_cv_path_GCONFTOOL
19371
 
 
19372
20719
if test -n "$GCONFTOOL"; then
19373
 
  echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
19374
 
echo "${ECHO_T}$GCONFTOOL" >&6
 
20720
  { echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
 
20721
echo "${ECHO_T}$GCONFTOOL" >&6; }
19375
20722
else
19376
 
  echo "$as_me:$LINENO: result: no" >&5
19377
 
echo "${ECHO_T}no" >&6
 
20723
  { echo "$as_me:$LINENO: result: no" >&5
 
20724
echo "${ECHO_T}no" >&6; }
19378
20725
fi
19379
20726
 
 
20727
 
19380
20728
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
19381
20729
set dummy glib-genmarshal; ac_word=$2
19382
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19383
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20730
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20731
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19384
20732
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
19385
20733
  echo $ECHO_N "(cached) $ECHO_C" >&6
19386
20734
else
19395
20743
  IFS=$as_save_IFS
19396
20744
  test -z "$as_dir" && as_dir=.
19397
20745
  for ac_exec_ext in '' $ac_executable_extensions; do
19398
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20746
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19399
20747
    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
19400
20748
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19401
20749
    break 2
19402
20750
  fi
19403
20751
done
19404
20752
done
 
20753
IFS=$as_save_IFS
19405
20754
 
19406
20755
  ;;
19407
20756
esac
19408
20757
fi
19409
20758
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
19410
 
 
19411
20759
if test -n "$GLIB_GENMARSHAL"; then
19412
 
  echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
19413
 
echo "${ECHO_T}$GLIB_GENMARSHAL" >&6
 
20760
  { echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
 
20761
echo "${ECHO_T}$GLIB_GENMARSHAL" >&6; }
19414
20762
else
19415
 
  echo "$as_me:$LINENO: result: no" >&5
19416
 
echo "${ECHO_T}no" >&6
 
20763
  { echo "$as_me:$LINENO: result: no" >&5
 
20764
echo "${ECHO_T}no" >&6; }
19417
20765
fi
19418
20766
 
19419
20767
 
19420
20768
 
19421
20769
 
 
20770
 
19422
20771
for ac_header in locale.h
19423
20772
do
19424
20773
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19425
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19426
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
19427
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19428
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20774
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20775
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20776
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20777
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19429
20778
  echo $ECHO_N "(cached) $ECHO_C" >&6
19430
20779
fi
19431
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19432
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20780
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20781
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20782
echo "${ECHO_T}$ac_res" >&6; }
19433
20783
else
19434
20784
  # Is the header compilable?
19435
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
19436
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20785
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20786
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19437
20787
cat >conftest.$ac_ext <<_ACEOF
19438
20788
/* confdefs.h.  */
19439
20789
_ACEOF
19444
20794
#include <$ac_header>
19445
20795
_ACEOF
19446
20796
rm -f conftest.$ac_objext
19447
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19448
 
  (eval $ac_compile) 2>conftest.er1
 
20797
if { (ac_try="$ac_compile"
 
20798
case "(($ac_try" in
 
20799
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20800
  *) ac_try_echo=$ac_try;;
 
20801
esac
 
20802
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20803
  (eval "$ac_compile") 2>conftest.er1
19449
20804
  ac_status=$?
19450
20805
  grep -v '^ *+' conftest.er1 >conftest.err
19451
20806
  rm -f conftest.er1
19452
20807
  cat conftest.err >&5
19453
20808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454
 
  (exit $ac_status); } &&
19455
 
         { ac_try='test -z "$ac_c_werror_flag"
19456
 
                         || test ! -s conftest.err'
19457
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19458
 
  (eval $ac_try) 2>&5
19459
 
  ac_status=$?
19460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461
 
  (exit $ac_status); }; } &&
19462
 
         { ac_try='test -s conftest.$ac_objext'
19463
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19464
 
  (eval $ac_try) 2>&5
19465
 
  ac_status=$?
19466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467
 
  (exit $ac_status); }; }; then
 
20809
  (exit $ac_status); } && {
 
20810
         test -z "$ac_c_werror_flag" ||
 
20811
         test ! -s conftest.err
 
20812
       } && test -s conftest.$ac_objext; then
19468
20813
  ac_header_compiler=yes
19469
20814
else
19470
20815
  echo "$as_me: failed program was:" >&5
19471
20816
sed 's/^/| /' conftest.$ac_ext >&5
19472
20817
 
19473
 
ac_header_compiler=no
 
20818
        ac_header_compiler=no
19474
20819
fi
19475
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19476
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19477
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20820
 
 
20821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20822
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20823
echo "${ECHO_T}$ac_header_compiler" >&6; }
19478
20824
 
19479
20825
# Is the header present?
19480
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
19481
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20826
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20827
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19482
20828
cat >conftest.$ac_ext <<_ACEOF
19483
20829
/* confdefs.h.  */
19484
20830
_ACEOF
19487
20833
/* end confdefs.h.  */
19488
20834
#include <$ac_header>
19489
20835
_ACEOF
19490
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19491
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20836
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20837
case "(($ac_try" in
 
20838
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20839
  *) ac_try_echo=$ac_try;;
 
20840
esac
 
20841
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20842
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19492
20843
  ac_status=$?
19493
20844
  grep -v '^ *+' conftest.er1 >conftest.err
19494
20845
  rm -f conftest.er1
19495
20846
  cat conftest.err >&5
19496
20847
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497
 
  (exit $ac_status); } >/dev/null; then
19498
 
  if test -s conftest.err; then
19499
 
    ac_cpp_err=$ac_c_preproc_warn_flag
19500
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19501
 
  else
19502
 
    ac_cpp_err=
19503
 
  fi
19504
 
else
19505
 
  ac_cpp_err=yes
19506
 
fi
19507
 
if test -z "$ac_cpp_err"; then
 
20848
  (exit $ac_status); } >/dev/null && {
 
20849
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20850
         test ! -s conftest.err
 
20851
       }; then
19508
20852
  ac_header_preproc=yes
19509
20853
else
19510
20854
  echo "$as_me: failed program was:" >&5
19512
20856
 
19513
20857
  ac_header_preproc=no
19514
20858
fi
 
20859
 
19515
20860
rm -f conftest.err conftest.$ac_ext
19516
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19517
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20861
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20862
echo "${ECHO_T}$ac_header_preproc" >&6; }
19518
20863
 
19519
20864
# So?  What about this header?
19520
20865
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19538
20883
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19539
20884
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19540
20885
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19541
 
    (
19542
 
      cat <<\_ASBOX
 
20886
    ( cat <<\_ASBOX
19543
20887
## ------------------------------------------------------------------- ##
19544
20888
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=vino ##
19545
20889
## ------------------------------------------------------------------- ##
19546
20890
_ASBOX
19547
 
    ) |
19548
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20891
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19549
20892
    ;;
19550
20893
esac
19551
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
19552
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19553
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20894
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20895
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20896
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19554
20897
  echo $ECHO_N "(cached) $ECHO_C" >&6
19555
20898
else
19556
20899
  eval "$as_ac_Header=\$ac_header_preproc"
19557
20900
fi
19558
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19559
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20901
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20902
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20903
echo "${ECHO_T}$ac_res" >&6; }
19560
20904
 
19561
20905
fi
19562
20906
if test `eval echo '${'$as_ac_Header'}'` = yes; then
19569
20913
done
19570
20914
 
19571
20915
    if test $ac_cv_header_locale_h = yes; then
19572
 
    echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
19573
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
 
20916
    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
20917
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
19574
20918
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
19575
20919
  echo $ECHO_N "(cached) $ECHO_C" >&6
19576
20920
else
19590
20934
}
19591
20935
_ACEOF
19592
20936
rm -f conftest.$ac_objext conftest$ac_exeext
19593
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19594
 
  (eval $ac_link) 2>conftest.er1
 
20937
if { (ac_try="$ac_link"
 
20938
case "(($ac_try" in
 
20939
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20940
  *) ac_try_echo=$ac_try;;
 
20941
esac
 
20942
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20943
  (eval "$ac_link") 2>conftest.er1
19595
20944
  ac_status=$?
19596
20945
  grep -v '^ *+' conftest.er1 >conftest.err
19597
20946
  rm -f conftest.er1
19598
20947
  cat conftest.err >&5
19599
20948
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600
 
  (exit $ac_status); } &&
19601
 
         { ac_try='test -z "$ac_c_werror_flag"
19602
 
                         || test ! -s conftest.err'
19603
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604
 
  (eval $ac_try) 2>&5
19605
 
  ac_status=$?
19606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607
 
  (exit $ac_status); }; } &&
19608
 
         { ac_try='test -s conftest$ac_exeext'
19609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610
 
  (eval $ac_try) 2>&5
19611
 
  ac_status=$?
19612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613
 
  (exit $ac_status); }; }; then
 
20949
  (exit $ac_status); } && {
 
20950
         test -z "$ac_c_werror_flag" ||
 
20951
         test ! -s conftest.err
 
20952
       } && test -s conftest$ac_exeext &&
 
20953
       $as_test_x conftest$ac_exeext; then
19614
20954
  am_cv_val_LC_MESSAGES=yes
19615
20955
else
19616
20956
  echo "$as_me: failed program was:" >&5
19617
20957
sed 's/^/| /' conftest.$ac_ext >&5
19618
20958
 
19619
 
am_cv_val_LC_MESSAGES=no
 
20959
        am_cv_val_LC_MESSAGES=no
19620
20960
fi
19621
 
rm -f conftest.err conftest.$ac_objext \
 
20961
 
 
20962
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19622
20963
      conftest$ac_exeext conftest.$ac_ext
19623
20964
fi
19624
 
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
19625
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
 
20965
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
20966
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
19626
20967
    if test $am_cv_val_LC_MESSAGES = yes; then
19627
20968
 
19628
20969
cat >>confdefs.h <<\_ACEOF
19641
20982
    INTLLIBS=
19642
20983
 
19643
20984
    if test "${ac_cv_header_libintl_h+set}" = set; then
19644
 
  echo "$as_me:$LINENO: checking for libintl.h" >&5
19645
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
20985
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
 
20986
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
19646
20987
if test "${ac_cv_header_libintl_h+set}" = set; then
19647
20988
  echo $ECHO_N "(cached) $ECHO_C" >&6
19648
20989
fi
19649
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
19650
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
20990
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
20991
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
19651
20992
else
19652
20993
  # Is the header compilable?
19653
 
echo "$as_me:$LINENO: checking libintl.h usability" >&5
19654
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
 
20994
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
20995
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
19655
20996
cat >conftest.$ac_ext <<_ACEOF
19656
20997
/* confdefs.h.  */
19657
20998
_ACEOF
19662
21003
#include <libintl.h>
19663
21004
_ACEOF
19664
21005
rm -f conftest.$ac_objext
19665
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19666
 
  (eval $ac_compile) 2>conftest.er1
 
21006
if { (ac_try="$ac_compile"
 
21007
case "(($ac_try" in
 
21008
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21009
  *) ac_try_echo=$ac_try;;
 
21010
esac
 
21011
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21012
  (eval "$ac_compile") 2>conftest.er1
19667
21013
  ac_status=$?
19668
21014
  grep -v '^ *+' conftest.er1 >conftest.err
19669
21015
  rm -f conftest.er1
19670
21016
  cat conftest.err >&5
19671
21017
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672
 
  (exit $ac_status); } &&
19673
 
         { ac_try='test -z "$ac_c_werror_flag"
19674
 
                         || test ! -s conftest.err'
19675
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676
 
  (eval $ac_try) 2>&5
19677
 
  ac_status=$?
19678
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679
 
  (exit $ac_status); }; } &&
19680
 
         { ac_try='test -s conftest.$ac_objext'
19681
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19682
 
  (eval $ac_try) 2>&5
19683
 
  ac_status=$?
19684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685
 
  (exit $ac_status); }; }; then
 
21018
  (exit $ac_status); } && {
 
21019
         test -z "$ac_c_werror_flag" ||
 
21020
         test ! -s conftest.err
 
21021
       } && test -s conftest.$ac_objext; then
19686
21022
  ac_header_compiler=yes
19687
21023
else
19688
21024
  echo "$as_me: failed program was:" >&5
19689
21025
sed 's/^/| /' conftest.$ac_ext >&5
19690
21026
 
19691
 
ac_header_compiler=no
 
21027
        ac_header_compiler=no
19692
21028
fi
19693
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19694
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19695
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21029
 
 
21030
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21031
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21032
echo "${ECHO_T}$ac_header_compiler" >&6; }
19696
21033
 
19697
21034
# Is the header present?
19698
 
echo "$as_me:$LINENO: checking libintl.h presence" >&5
19699
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
 
21035
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
21036
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
19700
21037
cat >conftest.$ac_ext <<_ACEOF
19701
21038
/* confdefs.h.  */
19702
21039
_ACEOF
19705
21042
/* end confdefs.h.  */
19706
21043
#include <libintl.h>
19707
21044
_ACEOF
19708
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19709
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21045
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21046
case "(($ac_try" in
 
21047
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21048
  *) ac_try_echo=$ac_try;;
 
21049
esac
 
21050
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21051
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19710
21052
  ac_status=$?
19711
21053
  grep -v '^ *+' conftest.er1 >conftest.err
19712
21054
  rm -f conftest.er1
19713
21055
  cat conftest.err >&5
19714
21056
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715
 
  (exit $ac_status); } >/dev/null; then
19716
 
  if test -s conftest.err; then
19717
 
    ac_cpp_err=$ac_c_preproc_warn_flag
19718
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19719
 
  else
19720
 
    ac_cpp_err=
19721
 
  fi
19722
 
else
19723
 
  ac_cpp_err=yes
19724
 
fi
19725
 
if test -z "$ac_cpp_err"; then
 
21057
  (exit $ac_status); } >/dev/null && {
 
21058
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21059
         test ! -s conftest.err
 
21060
       }; then
19726
21061
  ac_header_preproc=yes
19727
21062
else
19728
21063
  echo "$as_me: failed program was:" >&5
19730
21065
 
19731
21066
  ac_header_preproc=no
19732
21067
fi
 
21068
 
19733
21069
rm -f conftest.err conftest.$ac_ext
19734
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19735
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21070
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21071
echo "${ECHO_T}$ac_header_preproc" >&6; }
19736
21072
 
19737
21073
# So?  What about this header?
19738
21074
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19756
21092
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
19757
21093
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
19758
21094
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
19759
 
    (
19760
 
      cat <<\_ASBOX
 
21095
    ( cat <<\_ASBOX
19761
21096
## ------------------------------------------------------------------- ##
19762
21097
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=vino ##
19763
21098
## ------------------------------------------------------------------- ##
19764
21099
_ASBOX
19765
 
    ) |
19766
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21100
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19767
21101
    ;;
19768
21102
esac
19769
 
echo "$as_me:$LINENO: checking for libintl.h" >&5
19770
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
21103
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
 
21104
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
19771
21105
if test "${ac_cv_header_libintl_h+set}" = set; then
19772
21106
  echo $ECHO_N "(cached) $ECHO_C" >&6
19773
21107
else
19774
21108
  ac_cv_header_libintl_h=$ac_header_preproc
19775
21109
fi
19776
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
19777
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
21110
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
21111
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
19778
21112
 
19779
21113
fi
19780
21114
if test $ac_cv_header_libintl_h = yes; then
19784
21118
      #
19785
21119
      # First check in libc
19786
21120
      #
19787
 
      echo "$as_me:$LINENO: checking for ngettext in libc" >&5
19788
 
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
 
21121
      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
21122
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
19789
21123
if test "${gt_cv_func_ngettext_libc+set}" = set; then
19790
21124
  echo $ECHO_N "(cached) $ECHO_C" >&6
19791
21125
else
19807
21141
}
19808
21142
_ACEOF
19809
21143
rm -f conftest.$ac_objext conftest$ac_exeext
19810
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19811
 
  (eval $ac_link) 2>conftest.er1
 
21144
if { (ac_try="$ac_link"
 
21145
case "(($ac_try" in
 
21146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21147
  *) ac_try_echo=$ac_try;;
 
21148
esac
 
21149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21150
  (eval "$ac_link") 2>conftest.er1
19812
21151
  ac_status=$?
19813
21152
  grep -v '^ *+' conftest.er1 >conftest.err
19814
21153
  rm -f conftest.er1
19815
21154
  cat conftest.err >&5
19816
21155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817
 
  (exit $ac_status); } &&
19818
 
         { ac_try='test -z "$ac_c_werror_flag"
19819
 
                         || test ! -s conftest.err'
19820
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821
 
  (eval $ac_try) 2>&5
19822
 
  ac_status=$?
19823
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824
 
  (exit $ac_status); }; } &&
19825
 
         { ac_try='test -s conftest$ac_exeext'
19826
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827
 
  (eval $ac_try) 2>&5
19828
 
  ac_status=$?
19829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830
 
  (exit $ac_status); }; }; then
 
21156
  (exit $ac_status); } && {
 
21157
         test -z "$ac_c_werror_flag" ||
 
21158
         test ! -s conftest.err
 
21159
       } && test -s conftest$ac_exeext &&
 
21160
       $as_test_x conftest$ac_exeext; then
19831
21161
  gt_cv_func_ngettext_libc=yes
19832
21162
else
19833
21163
  echo "$as_me: failed program was:" >&5
19834
21164
sed 's/^/| /' conftest.$ac_ext >&5
19835
21165
 
19836
 
gt_cv_func_ngettext_libc=no
 
21166
        gt_cv_func_ngettext_libc=no
19837
21167
fi
19838
 
rm -f conftest.err conftest.$ac_objext \
 
21168
 
 
21169
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19839
21170
      conftest$ac_exeext conftest.$ac_ext
19840
21171
 
19841
21172
fi
19842
 
echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
19843
 
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
 
21173
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
21174
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
19844
21175
 
19845
21176
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19846
 
              echo "$as_me:$LINENO: checking for dgettext in libc" >&5
19847
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
 
21177
              { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
21178
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
19848
21179
if test "${gt_cv_func_dgettext_libc+set}" = set; then
19849
21180
  echo $ECHO_N "(cached) $ECHO_C" >&6
19850
21181
else
19866
21197
}
19867
21198
_ACEOF
19868
21199
rm -f conftest.$ac_objext conftest$ac_exeext
19869
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19870
 
  (eval $ac_link) 2>conftest.er1
 
21200
if { (ac_try="$ac_link"
 
21201
case "(($ac_try" in
 
21202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21203
  *) ac_try_echo=$ac_try;;
 
21204
esac
 
21205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21206
  (eval "$ac_link") 2>conftest.er1
19871
21207
  ac_status=$?
19872
21208
  grep -v '^ *+' conftest.er1 >conftest.err
19873
21209
  rm -f conftest.er1
19874
21210
  cat conftest.err >&5
19875
21211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876
 
  (exit $ac_status); } &&
19877
 
         { ac_try='test -z "$ac_c_werror_flag"
19878
 
                         || test ! -s conftest.err'
19879
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19880
 
  (eval $ac_try) 2>&5
19881
 
  ac_status=$?
19882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883
 
  (exit $ac_status); }; } &&
19884
 
         { ac_try='test -s conftest$ac_exeext'
19885
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19886
 
  (eval $ac_try) 2>&5
19887
 
  ac_status=$?
19888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889
 
  (exit $ac_status); }; }; then
 
21212
  (exit $ac_status); } && {
 
21213
         test -z "$ac_c_werror_flag" ||
 
21214
         test ! -s conftest.err
 
21215
       } && test -s conftest$ac_exeext &&
 
21216
       $as_test_x conftest$ac_exeext; then
19890
21217
  gt_cv_func_dgettext_libc=yes
19891
21218
else
19892
21219
  echo "$as_me: failed program was:" >&5
19893
21220
sed 's/^/| /' conftest.$ac_ext >&5
19894
21221
 
19895
 
gt_cv_func_dgettext_libc=no
 
21222
        gt_cv_func_dgettext_libc=no
19896
21223
fi
19897
 
rm -f conftest.err conftest.$ac_objext \
 
21224
 
 
21225
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19898
21226
      conftest$ac_exeext conftest.$ac_ext
19899
21227
 
19900
21228
fi
19901
 
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
19902
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
 
21229
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
21230
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
19903
21231
      fi
19904
21232
 
19905
21233
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19907
21235
for ac_func in bind_textdomain_codeset
19908
21236
do
19909
21237
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19910
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19911
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19912
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21238
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21239
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21240
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19913
21241
  echo $ECHO_N "(cached) $ECHO_C" >&6
19914
21242
else
19915
21243
  cat >conftest.$ac_ext <<_ACEOF
19935
21263
 
19936
21264
#undef $ac_func
19937
21265
 
19938
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21266
/* Override any GCC internal prototype to avoid an error.
 
21267
   Use char because int might match the return type of a GCC
 
21268
   builtin and then its argument prototype would still apply.  */
19939
21269
#ifdef __cplusplus
19940
21270
extern "C"
19941
 
{
19942
21271
#endif
19943
 
/* We use char because int might match the return type of a gcc2
19944
 
   builtin and then its argument prototype would still apply.  */
19945
21272
char $ac_func ();
19946
21273
/* The GNU C library defines this for functions which it implements
19947
21274
    to always fail with ENOSYS.  Some functions are actually named
19948
21275
    something starting with __ and the normal name is an alias.  */
19949
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21276
#if defined __stub_$ac_func || defined __stub___$ac_func
19950
21277
choke me
19951
 
#else
19952
 
char (*f) () = $ac_func;
19953
 
#endif
19954
 
#ifdef __cplusplus
19955
 
}
19956
21278
#endif
19957
21279
 
19958
21280
int
19959
21281
main ()
19960
21282
{
19961
 
return f != $ac_func;
 
21283
return $ac_func ();
19962
21284
  ;
19963
21285
  return 0;
19964
21286
}
19965
21287
_ACEOF
19966
21288
rm -f conftest.$ac_objext conftest$ac_exeext
19967
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19968
 
  (eval $ac_link) 2>conftest.er1
 
21289
if { (ac_try="$ac_link"
 
21290
case "(($ac_try" in
 
21291
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21292
  *) ac_try_echo=$ac_try;;
 
21293
esac
 
21294
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21295
  (eval "$ac_link") 2>conftest.er1
19969
21296
  ac_status=$?
19970
21297
  grep -v '^ *+' conftest.er1 >conftest.err
19971
21298
  rm -f conftest.er1
19972
21299
  cat conftest.err >&5
19973
21300
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974
 
  (exit $ac_status); } &&
19975
 
         { ac_try='test -z "$ac_c_werror_flag"
19976
 
                         || test ! -s conftest.err'
19977
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978
 
  (eval $ac_try) 2>&5
19979
 
  ac_status=$?
19980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981
 
  (exit $ac_status); }; } &&
19982
 
         { ac_try='test -s conftest$ac_exeext'
19983
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984
 
  (eval $ac_try) 2>&5
19985
 
  ac_status=$?
19986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987
 
  (exit $ac_status); }; }; then
 
21301
  (exit $ac_status); } && {
 
21302
         test -z "$ac_c_werror_flag" ||
 
21303
         test ! -s conftest.err
 
21304
       } && test -s conftest$ac_exeext &&
 
21305
       $as_test_x conftest$ac_exeext; then
19988
21306
  eval "$as_ac_var=yes"
19989
21307
else
19990
21308
  echo "$as_me: failed program was:" >&5
19991
21309
sed 's/^/| /' conftest.$ac_ext >&5
19992
21310
 
19993
 
eval "$as_ac_var=no"
 
21311
        eval "$as_ac_var=no"
19994
21312
fi
19995
 
rm -f conftest.err conftest.$ac_objext \
 
21313
 
 
21314
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19996
21315
      conftest$ac_exeext conftest.$ac_ext
19997
21316
fi
19998
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19999
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21317
ac_res=`eval echo '${'$as_ac_var'}'`
 
21318
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21319
echo "${ECHO_T}$ac_res" >&6; }
20000
21320
if test `eval echo '${'$as_ac_var'}'` = yes; then
20001
21321
  cat >>confdefs.h <<_ACEOF
20002
21322
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20014
21334
         || test "$gt_cv_func_ngettext_libc" != "yes" \
20015
21335
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
20016
21336
 
20017
 
        echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
20018
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
 
21337
        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
21338
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
20019
21339
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
20020
21340
  echo $ECHO_N "(cached) $ECHO_C" >&6
20021
21341
else
20028
21348
cat >>conftest.$ac_ext <<_ACEOF
20029
21349
/* end confdefs.h.  */
20030
21350
 
20031
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21351
/* Override any GCC internal prototype to avoid an error.
 
21352
   Use char because int might match the return type of a GCC
 
21353
   builtin and then its argument prototype would still apply.  */
20032
21354
#ifdef __cplusplus
20033
21355
extern "C"
20034
21356
#endif
20035
 
/* We use char because int might match the return type of a gcc2
20036
 
   builtin and then its argument prototype would still apply.  */
20037
21357
char bindtextdomain ();
20038
21358
int
20039
21359
main ()
20040
21360
{
20041
 
bindtextdomain ();
 
21361
return bindtextdomain ();
20042
21362
  ;
20043
21363
  return 0;
20044
21364
}
20045
21365
_ACEOF
20046
21366
rm -f conftest.$ac_objext conftest$ac_exeext
20047
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20048
 
  (eval $ac_link) 2>conftest.er1
 
21367
if { (ac_try="$ac_link"
 
21368
case "(($ac_try" in
 
21369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21370
  *) ac_try_echo=$ac_try;;
 
21371
esac
 
21372
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21373
  (eval "$ac_link") 2>conftest.er1
20049
21374
  ac_status=$?
20050
21375
  grep -v '^ *+' conftest.er1 >conftest.err
20051
21376
  rm -f conftest.er1
20052
21377
  cat conftest.err >&5
20053
21378
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054
 
  (exit $ac_status); } &&
20055
 
         { ac_try='test -z "$ac_c_werror_flag"
20056
 
                         || test ! -s conftest.err'
20057
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20058
 
  (eval $ac_try) 2>&5
20059
 
  ac_status=$?
20060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061
 
  (exit $ac_status); }; } &&
20062
 
         { ac_try='test -s conftest$ac_exeext'
20063
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20064
 
  (eval $ac_try) 2>&5
20065
 
  ac_status=$?
20066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067
 
  (exit $ac_status); }; }; then
 
21379
  (exit $ac_status); } && {
 
21380
         test -z "$ac_c_werror_flag" ||
 
21381
         test ! -s conftest.err
 
21382
       } && test -s conftest$ac_exeext &&
 
21383
       $as_test_x conftest$ac_exeext; then
20068
21384
  ac_cv_lib_intl_bindtextdomain=yes
20069
21385
else
20070
21386
  echo "$as_me: failed program was:" >&5
20071
21387
sed 's/^/| /' conftest.$ac_ext >&5
20072
21388
 
20073
 
ac_cv_lib_intl_bindtextdomain=no
 
21389
        ac_cv_lib_intl_bindtextdomain=no
20074
21390
fi
20075
 
rm -f conftest.err conftest.$ac_objext \
 
21391
 
 
21392
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20076
21393
      conftest$ac_exeext conftest.$ac_ext
20077
21394
LIBS=$ac_check_lib_save_LIBS
20078
21395
fi
20079
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
20080
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
 
21396
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
21397
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
20081
21398
if test $ac_cv_lib_intl_bindtextdomain = yes; then
20082
 
  echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
20083
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
 
21399
  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
21400
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
20084
21401
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
20085
21402
  echo $ECHO_N "(cached) $ECHO_C" >&6
20086
21403
else
20093
21410
cat >>conftest.$ac_ext <<_ACEOF
20094
21411
/* end confdefs.h.  */
20095
21412
 
20096
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21413
/* Override any GCC internal prototype to avoid an error.
 
21414
   Use char because int might match the return type of a GCC
 
21415
   builtin and then its argument prototype would still apply.  */
20097
21416
#ifdef __cplusplus
20098
21417
extern "C"
20099
21418
#endif
20100
 
/* We use char because int might match the return type of a gcc2
20101
 
   builtin and then its argument prototype would still apply.  */
20102
21419
char ngettext ();
20103
21420
int
20104
21421
main ()
20105
21422
{
20106
 
ngettext ();
 
21423
return ngettext ();
20107
21424
  ;
20108
21425
  return 0;
20109
21426
}
20110
21427
_ACEOF
20111
21428
rm -f conftest.$ac_objext conftest$ac_exeext
20112
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20113
 
  (eval $ac_link) 2>conftest.er1
 
21429
if { (ac_try="$ac_link"
 
21430
case "(($ac_try" in
 
21431
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21432
  *) ac_try_echo=$ac_try;;
 
21433
esac
 
21434
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21435
  (eval "$ac_link") 2>conftest.er1
20114
21436
  ac_status=$?
20115
21437
  grep -v '^ *+' conftest.er1 >conftest.err
20116
21438
  rm -f conftest.er1
20117
21439
  cat conftest.err >&5
20118
21440
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119
 
  (exit $ac_status); } &&
20120
 
         { ac_try='test -z "$ac_c_werror_flag"
20121
 
                         || test ! -s conftest.err'
20122
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20123
 
  (eval $ac_try) 2>&5
20124
 
  ac_status=$?
20125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126
 
  (exit $ac_status); }; } &&
20127
 
         { ac_try='test -s conftest$ac_exeext'
20128
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129
 
  (eval $ac_try) 2>&5
20130
 
  ac_status=$?
20131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132
 
  (exit $ac_status); }; }; then
 
21441
  (exit $ac_status); } && {
 
21442
         test -z "$ac_c_werror_flag" ||
 
21443
         test ! -s conftest.err
 
21444
       } && test -s conftest$ac_exeext &&
 
21445
       $as_test_x conftest$ac_exeext; then
20133
21446
  ac_cv_lib_intl_ngettext=yes
20134
21447
else
20135
21448
  echo "$as_me: failed program was:" >&5
20136
21449
sed 's/^/| /' conftest.$ac_ext >&5
20137
21450
 
20138
 
ac_cv_lib_intl_ngettext=no
 
21451
        ac_cv_lib_intl_ngettext=no
20139
21452
fi
20140
 
rm -f conftest.err conftest.$ac_objext \
 
21453
 
 
21454
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20141
21455
      conftest$ac_exeext conftest.$ac_ext
20142
21456
LIBS=$ac_check_lib_save_LIBS
20143
21457
fi
20144
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
20145
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
 
21458
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
21459
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
20146
21460
if test $ac_cv_lib_intl_ngettext = yes; then
20147
 
  echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
20148
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
 
21461
  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
21462
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
20149
21463
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
20150
21464
  echo $ECHO_N "(cached) $ECHO_C" >&6
20151
21465
else
20158
21472
cat >>conftest.$ac_ext <<_ACEOF
20159
21473
/* end confdefs.h.  */
20160
21474
 
20161
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21475
/* Override any GCC internal prototype to avoid an error.
 
21476
   Use char because int might match the return type of a GCC
 
21477
   builtin and then its argument prototype would still apply.  */
20162
21478
#ifdef __cplusplus
20163
21479
extern "C"
20164
21480
#endif
20165
 
/* We use char because int might match the return type of a gcc2
20166
 
   builtin and then its argument prototype would still apply.  */
20167
21481
char dgettext ();
20168
21482
int
20169
21483
main ()
20170
21484
{
20171
 
dgettext ();
 
21485
return dgettext ();
20172
21486
  ;
20173
21487
  return 0;
20174
21488
}
20175
21489
_ACEOF
20176
21490
rm -f conftest.$ac_objext conftest$ac_exeext
20177
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20178
 
  (eval $ac_link) 2>conftest.er1
 
21491
if { (ac_try="$ac_link"
 
21492
case "(($ac_try" in
 
21493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21494
  *) ac_try_echo=$ac_try;;
 
21495
esac
 
21496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21497
  (eval "$ac_link") 2>conftest.er1
20179
21498
  ac_status=$?
20180
21499
  grep -v '^ *+' conftest.er1 >conftest.err
20181
21500
  rm -f conftest.er1
20182
21501
  cat conftest.err >&5
20183
21502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184
 
  (exit $ac_status); } &&
20185
 
         { ac_try='test -z "$ac_c_werror_flag"
20186
 
                         || test ! -s conftest.err'
20187
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20188
 
  (eval $ac_try) 2>&5
20189
 
  ac_status=$?
20190
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191
 
  (exit $ac_status); }; } &&
20192
 
         { ac_try='test -s conftest$ac_exeext'
20193
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194
 
  (eval $ac_try) 2>&5
20195
 
  ac_status=$?
20196
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197
 
  (exit $ac_status); }; }; then
 
21503
  (exit $ac_status); } && {
 
21504
         test -z "$ac_c_werror_flag" ||
 
21505
         test ! -s conftest.err
 
21506
       } && test -s conftest$ac_exeext &&
 
21507
       $as_test_x conftest$ac_exeext; then
20198
21508
  ac_cv_lib_intl_dgettext=yes
20199
21509
else
20200
21510
  echo "$as_me: failed program was:" >&5
20201
21511
sed 's/^/| /' conftest.$ac_ext >&5
20202
21512
 
20203
 
ac_cv_lib_intl_dgettext=no
 
21513
        ac_cv_lib_intl_dgettext=no
20204
21514
fi
20205
 
rm -f conftest.err conftest.$ac_objext \
 
21515
 
 
21516
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20206
21517
      conftest$ac_exeext conftest.$ac_ext
20207
21518
LIBS=$ac_check_lib_save_LIBS
20208
21519
fi
20209
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
20210
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
 
21520
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
21521
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
20211
21522
if test $ac_cv_lib_intl_dgettext = yes; then
20212
21523
  gt_cv_func_dgettext_libintl=yes
20213
21524
fi
20218
21529
 
20219
21530
 
20220
21531
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
20221
 
          echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
20222
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
20223
 
          echo "$as_me:$LINENO: result: " >&5
20224
 
echo "${ECHO_T}" >&6
20225
 
          echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
20226
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
 
21532
          { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
21533
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
 
21534
          { echo "$as_me:$LINENO: result: " >&5
 
21535
echo "${ECHO_T}" >&6; }
 
21536
          { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
21537
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
20227
21538
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
20228
21539
  echo $ECHO_N "(cached) $ECHO_C" >&6
20229
21540
else
20236
21547
cat >>conftest.$ac_ext <<_ACEOF
20237
21548
/* end confdefs.h.  */
20238
21549
 
20239
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21550
/* Override any GCC internal prototype to avoid an error.
 
21551
   Use char because int might match the return type of a GCC
 
21552
   builtin and then its argument prototype would still apply.  */
20240
21553
#ifdef __cplusplus
20241
21554
extern "C"
20242
21555
#endif
20243
 
/* We use char because int might match the return type of a gcc2
20244
 
   builtin and then its argument prototype would still apply.  */
20245
21556
char ngettext ();
20246
21557
int
20247
21558
main ()
20248
21559
{
20249
 
ngettext ();
 
21560
return ngettext ();
20250
21561
  ;
20251
21562
  return 0;
20252
21563
}
20253
21564
_ACEOF
20254
21565
rm -f conftest.$ac_objext conftest$ac_exeext
20255
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20256
 
  (eval $ac_link) 2>conftest.er1
 
21566
if { (ac_try="$ac_link"
 
21567
case "(($ac_try" in
 
21568
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21569
  *) ac_try_echo=$ac_try;;
 
21570
esac
 
21571
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21572
  (eval "$ac_link") 2>conftest.er1
20257
21573
  ac_status=$?
20258
21574
  grep -v '^ *+' conftest.er1 >conftest.err
20259
21575
  rm -f conftest.er1
20260
21576
  cat conftest.err >&5
20261
21577
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262
 
  (exit $ac_status); } &&
20263
 
         { ac_try='test -z "$ac_c_werror_flag"
20264
 
                         || test ! -s conftest.err'
20265
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20266
 
  (eval $ac_try) 2>&5
20267
 
  ac_status=$?
20268
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269
 
  (exit $ac_status); }; } &&
20270
 
         { ac_try='test -s conftest$ac_exeext'
20271
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20272
 
  (eval $ac_try) 2>&5
20273
 
  ac_status=$?
20274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275
 
  (exit $ac_status); }; }; then
 
21578
  (exit $ac_status); } && {
 
21579
         test -z "$ac_c_werror_flag" ||
 
21580
         test ! -s conftest.err
 
21581
       } && test -s conftest$ac_exeext &&
 
21582
       $as_test_x conftest$ac_exeext; then
20276
21583
  ac_cv_lib_intl_ngettext=yes
20277
21584
else
20278
21585
  echo "$as_me: failed program was:" >&5
20279
21586
sed 's/^/| /' conftest.$ac_ext >&5
20280
21587
 
20281
 
ac_cv_lib_intl_ngettext=no
 
21588
        ac_cv_lib_intl_ngettext=no
20282
21589
fi
20283
 
rm -f conftest.err conftest.$ac_objext \
 
21590
 
 
21591
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20284
21592
      conftest$ac_exeext conftest.$ac_ext
20285
21593
LIBS=$ac_check_lib_save_LIBS
20286
21594
fi
20287
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
20288
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
 
21595
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
21596
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
20289
21597
if test $ac_cv_lib_intl_ngettext = yes; then
20290
 
  echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
20291
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
 
21598
  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
21599
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
20292
21600
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
20293
21601
  echo $ECHO_N "(cached) $ECHO_C" >&6
20294
21602
else
20301
21609
cat >>conftest.$ac_ext <<_ACEOF
20302
21610
/* end confdefs.h.  */
20303
21611
 
20304
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21612
/* Override any GCC internal prototype to avoid an error.
 
21613
   Use char because int might match the return type of a GCC
 
21614
   builtin and then its argument prototype would still apply.  */
20305
21615
#ifdef __cplusplus
20306
21616
extern "C"
20307
21617
#endif
20308
 
/* We use char because int might match the return type of a gcc2
20309
 
   builtin and then its argument prototype would still apply.  */
20310
21618
char dcgettext ();
20311
21619
int
20312
21620
main ()
20313
21621
{
20314
 
dcgettext ();
 
21622
return dcgettext ();
20315
21623
  ;
20316
21624
  return 0;
20317
21625
}
20318
21626
_ACEOF
20319
21627
rm -f conftest.$ac_objext conftest$ac_exeext
20320
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20321
 
  (eval $ac_link) 2>conftest.er1
 
21628
if { (ac_try="$ac_link"
 
21629
case "(($ac_try" in
 
21630
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21631
  *) ac_try_echo=$ac_try;;
 
21632
esac
 
21633
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21634
  (eval "$ac_link") 2>conftest.er1
20322
21635
  ac_status=$?
20323
21636
  grep -v '^ *+' conftest.er1 >conftest.err
20324
21637
  rm -f conftest.er1
20325
21638
  cat conftest.err >&5
20326
21639
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327
 
  (exit $ac_status); } &&
20328
 
         { ac_try='test -z "$ac_c_werror_flag"
20329
 
                         || test ! -s conftest.err'
20330
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20331
 
  (eval $ac_try) 2>&5
20332
 
  ac_status=$?
20333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334
 
  (exit $ac_status); }; } &&
20335
 
         { ac_try='test -s conftest$ac_exeext'
20336
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337
 
  (eval $ac_try) 2>&5
20338
 
  ac_status=$?
20339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340
 
  (exit $ac_status); }; }; then
 
21640
  (exit $ac_status); } && {
 
21641
         test -z "$ac_c_werror_flag" ||
 
21642
         test ! -s conftest.err
 
21643
       } && test -s conftest$ac_exeext &&
 
21644
       $as_test_x conftest$ac_exeext; then
20341
21645
  ac_cv_lib_intl_dcgettext=yes
20342
21646
else
20343
21647
  echo "$as_me: failed program was:" >&5
20344
21648
sed 's/^/| /' conftest.$ac_ext >&5
20345
21649
 
20346
 
ac_cv_lib_intl_dcgettext=no
 
21650
        ac_cv_lib_intl_dcgettext=no
20347
21651
fi
20348
 
rm -f conftest.err conftest.$ac_objext \
 
21652
 
 
21653
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20349
21654
      conftest$ac_exeext conftest.$ac_ext
20350
21655
LIBS=$ac_check_lib_save_LIBS
20351
21656
fi
20352
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
20353
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
 
21657
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
21658
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
20354
21659
if test $ac_cv_lib_intl_dcgettext = yes; then
20355
21660
  gt_cv_func_dgettext_libintl=yes
20356
21661
                        libintl_extra_libs=-liconv
20377
21682
for ac_func in bind_textdomain_codeset
20378
21683
do
20379
21684
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20380
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20381
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20382
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21685
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21686
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21687
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20383
21688
  echo $ECHO_N "(cached) $ECHO_C" >&6
20384
21689
else
20385
21690
  cat >conftest.$ac_ext <<_ACEOF
20405
21710
 
20406
21711
#undef $ac_func
20407
21712
 
20408
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21713
/* Override any GCC internal prototype to avoid an error.
 
21714
   Use char because int might match the return type of a GCC
 
21715
   builtin and then its argument prototype would still apply.  */
20409
21716
#ifdef __cplusplus
20410
21717
extern "C"
20411
 
{
20412
21718
#endif
20413
 
/* We use char because int might match the return type of a gcc2
20414
 
   builtin and then its argument prototype would still apply.  */
20415
21719
char $ac_func ();
20416
21720
/* The GNU C library defines this for functions which it implements
20417
21721
    to always fail with ENOSYS.  Some functions are actually named
20418
21722
    something starting with __ and the normal name is an alias.  */
20419
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21723
#if defined __stub_$ac_func || defined __stub___$ac_func
20420
21724
choke me
20421
 
#else
20422
 
char (*f) () = $ac_func;
20423
 
#endif
20424
 
#ifdef __cplusplus
20425
 
}
20426
21725
#endif
20427
21726
 
20428
21727
int
20429
21728
main ()
20430
21729
{
20431
 
return f != $ac_func;
 
21730
return $ac_func ();
20432
21731
  ;
20433
21732
  return 0;
20434
21733
}
20435
21734
_ACEOF
20436
21735
rm -f conftest.$ac_objext conftest$ac_exeext
20437
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20438
 
  (eval $ac_link) 2>conftest.er1
 
21736
if { (ac_try="$ac_link"
 
21737
case "(($ac_try" in
 
21738
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21739
  *) ac_try_echo=$ac_try;;
 
21740
esac
 
21741
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21742
  (eval "$ac_link") 2>conftest.er1
20439
21743
  ac_status=$?
20440
21744
  grep -v '^ *+' conftest.er1 >conftest.err
20441
21745
  rm -f conftest.er1
20442
21746
  cat conftest.err >&5
20443
21747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444
 
  (exit $ac_status); } &&
20445
 
         { ac_try='test -z "$ac_c_werror_flag"
20446
 
                         || test ! -s conftest.err'
20447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20448
 
  (eval $ac_try) 2>&5
20449
 
  ac_status=$?
20450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451
 
  (exit $ac_status); }; } &&
20452
 
         { ac_try='test -s conftest$ac_exeext'
20453
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20454
 
  (eval $ac_try) 2>&5
20455
 
  ac_status=$?
20456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457
 
  (exit $ac_status); }; }; then
 
21748
  (exit $ac_status); } && {
 
21749
         test -z "$ac_c_werror_flag" ||
 
21750
         test ! -s conftest.err
 
21751
       } && test -s conftest$ac_exeext &&
 
21752
       $as_test_x conftest$ac_exeext; then
20458
21753
  eval "$as_ac_var=yes"
20459
21754
else
20460
21755
  echo "$as_me: failed program was:" >&5
20461
21756
sed 's/^/| /' conftest.$ac_ext >&5
20462
21757
 
20463
 
eval "$as_ac_var=no"
 
21758
        eval "$as_ac_var=no"
20464
21759
fi
20465
 
rm -f conftest.err conftest.$ac_objext \
 
21760
 
 
21761
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20466
21762
      conftest$ac_exeext conftest.$ac_ext
20467
21763
fi
20468
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20469
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21764
ac_res=`eval echo '${'$as_ac_var'}'`
 
21765
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21766
echo "${ECHO_T}$ac_res" >&6; }
20470
21767
if test `eval echo '${'$as_ac_var'}'` = yes; then
20471
21768
  cat >>confdefs.h <<_ACEOF
20472
21769
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20505
21802
 
20506
21803
        # Extract the first word of "msgfmt", so it can be a program name with args.
20507
21804
set dummy msgfmt; ac_word=$2
20508
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20509
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21805
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21806
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20510
21807
if test "${ac_cv_path_MSGFMT+set}" = set; then
20511
21808
  echo $ECHO_N "(cached) $ECHO_C" >&6
20512
21809
else
20532
21829
fi
20533
21830
MSGFMT="$ac_cv_path_MSGFMT"
20534
21831
if test "$MSGFMT" != "no"; then
20535
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
20536
 
echo "${ECHO_T}$MSGFMT" >&6
 
21832
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
21833
echo "${ECHO_T}$MSGFMT" >&6; }
20537
21834
else
20538
 
  echo "$as_me:$LINENO: result: no" >&5
20539
 
echo "${ECHO_T}no" >&6
 
21835
  { echo "$as_me:$LINENO: result: no" >&5
 
21836
echo "${ECHO_T}no" >&6; }
20540
21837
fi
20541
21838
        if test "$MSGFMT" != "no"; then
20542
21839
          glib_save_LIBS="$LIBS"
20545
21842
for ac_func in dcgettext
20546
21843
do
20547
21844
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20548
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20549
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20550
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21845
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21846
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21847
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20551
21848
  echo $ECHO_N "(cached) $ECHO_C" >&6
20552
21849
else
20553
21850
  cat >conftest.$ac_ext <<_ACEOF
20573
21870
 
20574
21871
#undef $ac_func
20575
21872
 
20576
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21873
/* Override any GCC internal prototype to avoid an error.
 
21874
   Use char because int might match the return type of a GCC
 
21875
   builtin and then its argument prototype would still apply.  */
20577
21876
#ifdef __cplusplus
20578
21877
extern "C"
20579
 
{
20580
21878
#endif
20581
 
/* We use char because int might match the return type of a gcc2
20582
 
   builtin and then its argument prototype would still apply.  */
20583
21879
char $ac_func ();
20584
21880
/* The GNU C library defines this for functions which it implements
20585
21881
    to always fail with ENOSYS.  Some functions are actually named
20586
21882
    something starting with __ and the normal name is an alias.  */
20587
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21883
#if defined __stub_$ac_func || defined __stub___$ac_func
20588
21884
choke me
20589
 
#else
20590
 
char (*f) () = $ac_func;
20591
 
#endif
20592
 
#ifdef __cplusplus
20593
 
}
20594
21885
#endif
20595
21886
 
20596
21887
int
20597
21888
main ()
20598
21889
{
20599
 
return f != $ac_func;
 
21890
return $ac_func ();
20600
21891
  ;
20601
21892
  return 0;
20602
21893
}
20603
21894
_ACEOF
20604
21895
rm -f conftest.$ac_objext conftest$ac_exeext
20605
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20606
 
  (eval $ac_link) 2>conftest.er1
 
21896
if { (ac_try="$ac_link"
 
21897
case "(($ac_try" in
 
21898
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21899
  *) ac_try_echo=$ac_try;;
 
21900
esac
 
21901
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21902
  (eval "$ac_link") 2>conftest.er1
20607
21903
  ac_status=$?
20608
21904
  grep -v '^ *+' conftest.er1 >conftest.err
20609
21905
  rm -f conftest.er1
20610
21906
  cat conftest.err >&5
20611
21907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612
 
  (exit $ac_status); } &&
20613
 
         { ac_try='test -z "$ac_c_werror_flag"
20614
 
                         || test ! -s conftest.err'
20615
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20616
 
  (eval $ac_try) 2>&5
20617
 
  ac_status=$?
20618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619
 
  (exit $ac_status); }; } &&
20620
 
         { ac_try='test -s conftest$ac_exeext'
20621
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20622
 
  (eval $ac_try) 2>&5
20623
 
  ac_status=$?
20624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625
 
  (exit $ac_status); }; }; then
 
21908
  (exit $ac_status); } && {
 
21909
         test -z "$ac_c_werror_flag" ||
 
21910
         test ! -s conftest.err
 
21911
       } && test -s conftest$ac_exeext &&
 
21912
       $as_test_x conftest$ac_exeext; then
20626
21913
  eval "$as_ac_var=yes"
20627
21914
else
20628
21915
  echo "$as_me: failed program was:" >&5
20629
21916
sed 's/^/| /' conftest.$ac_ext >&5
20630
21917
 
20631
 
eval "$as_ac_var=no"
 
21918
        eval "$as_ac_var=no"
20632
21919
fi
20633
 
rm -f conftest.err conftest.$ac_objext \
 
21920
 
 
21921
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20634
21922
      conftest$ac_exeext conftest.$ac_ext
20635
21923
fi
20636
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20637
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21924
ac_res=`eval echo '${'$as_ac_var'}'`
 
21925
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21926
echo "${ECHO_T}$ac_res" >&6; }
20638
21927
if test `eval echo '${'$as_ac_var'}'` = yes; then
20639
21928
  cat >>confdefs.h <<_ACEOF
20640
21929
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20643
21932
fi
20644
21933
done
20645
21934
 
 
21935
          MSGFMT_OPTS=
 
21936
          { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
21937
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
 
21938
          cat >conftest.foo <<_ACEOF
 
21939
 
 
21940
msgid ""
 
21941
msgstr ""
 
21942
"Content-Type: text/plain; charset=UTF-8\n"
 
21943
"Project-Id-Version: test 1.0\n"
 
21944
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
21945
"Last-Translator: test <foo@bar.xx>\n"
 
21946
"Language-Team: C <LL@li.org>\n"
 
21947
"MIME-Version: 1.0\n"
 
21948
"Content-Transfer-Encoding: 8bit\n"
 
21949
 
 
21950
_ACEOF
 
21951
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
21952
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
21953
  ac_status=$?
 
21954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21955
  (exit $ac_status); }; then
 
21956
  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
 
21957
echo "${ECHO_T}yes" >&6; }
 
21958
else { echo "$as_me:$LINENO: result: no" >&5
 
21959
echo "${ECHO_T}no" >&6; }
 
21960
echo "$as_me: failed input was:" >&5
 
21961
sed 's/^/| /' conftest.foo >&5
 
21962
fi
 
21963
 
20646
21964
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
20647
21965
set dummy gmsgfmt; ac_word=$2
20648
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20649
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21966
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21967
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20650
21968
if test "${ac_cv_path_GMSGFMT+set}" = set; then
20651
21969
  echo $ECHO_N "(cached) $ECHO_C" >&6
20652
21970
else
20661
21979
  IFS=$as_save_IFS
20662
21980
  test -z "$as_dir" && as_dir=.
20663
21981
  for ac_exec_ext in '' $ac_executable_extensions; do
20664
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21982
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20665
21983
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20666
21984
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20667
21985
    break 2
20668
21986
  fi
20669
21987
done
20670
21988
done
 
21989
IFS=$as_save_IFS
20671
21990
 
20672
21991
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20673
21992
  ;;
20674
21993
esac
20675
21994
fi
20676
21995
GMSGFMT=$ac_cv_path_GMSGFMT
20677
 
 
20678
21996
if test -n "$GMSGFMT"; then
20679
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
20680
 
echo "${ECHO_T}$GMSGFMT" >&6
 
21997
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
21998
echo "${ECHO_T}$GMSGFMT" >&6; }
20681
21999
else
20682
 
  echo "$as_me:$LINENO: result: no" >&5
20683
 
echo "${ECHO_T}no" >&6
 
22000
  { echo "$as_me:$LINENO: result: no" >&5
 
22001
echo "${ECHO_T}no" >&6; }
20684
22002
fi
20685
22003
 
 
22004
 
20686
22005
          # Extract the first word of "xgettext", so it can be a program name with args.
20687
22006
set dummy xgettext; ac_word=$2
20688
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20689
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22007
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22008
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20690
22009
if test "${ac_cv_path_XGETTEXT+set}" = set; then
20691
22010
  echo $ECHO_N "(cached) $ECHO_C" >&6
20692
22011
else
20712
22031
fi
20713
22032
XGETTEXT="$ac_cv_path_XGETTEXT"
20714
22033
if test "$XGETTEXT" != ":"; then
20715
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
20716
 
echo "${ECHO_T}$XGETTEXT" >&6
 
22034
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
22035
echo "${ECHO_T}$XGETTEXT" >&6; }
20717
22036
else
20718
 
  echo "$as_me:$LINENO: result: no" >&5
20719
 
echo "${ECHO_T}no" >&6
 
22037
  { echo "$as_me:$LINENO: result: no" >&5
 
22038
echo "${ECHO_T}no" >&6; }
20720
22039
fi
20721
22040
 
20722
22041
          cat >conftest.$ac_ext <<_ACEOF
20736
22055
}
20737
22056
_ACEOF
20738
22057
rm -f conftest.$ac_objext conftest$ac_exeext
20739
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20740
 
  (eval $ac_link) 2>conftest.er1
 
22058
if { (ac_try="$ac_link"
 
22059
case "(($ac_try" in
 
22060
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22061
  *) ac_try_echo=$ac_try;;
 
22062
esac
 
22063
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22064
  (eval "$ac_link") 2>conftest.er1
20741
22065
  ac_status=$?
20742
22066
  grep -v '^ *+' conftest.er1 >conftest.err
20743
22067
  rm -f conftest.er1
20744
22068
  cat conftest.err >&5
20745
22069
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746
 
  (exit $ac_status); } &&
20747
 
         { ac_try='test -z "$ac_c_werror_flag"
20748
 
                         || test ! -s conftest.err'
20749
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750
 
  (eval $ac_try) 2>&5
20751
 
  ac_status=$?
20752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753
 
  (exit $ac_status); }; } &&
20754
 
         { ac_try='test -s conftest$ac_exeext'
20755
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20756
 
  (eval $ac_try) 2>&5
20757
 
  ac_status=$?
20758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759
 
  (exit $ac_status); }; }; then
 
22070
  (exit $ac_status); } && {
 
22071
         test -z "$ac_c_werror_flag" ||
 
22072
         test ! -s conftest.err
 
22073
       } && test -s conftest$ac_exeext &&
 
22074
       $as_test_x conftest$ac_exeext; then
20760
22075
  CATOBJEXT=.gmo
20761
22076
             DATADIRNAME=share
20762
22077
else
20763
22078
  echo "$as_me: failed program was:" >&5
20764
22079
sed 's/^/| /' conftest.$ac_ext >&5
20765
22080
 
20766
 
case $host in
 
22081
        case $host in
20767
22082
            *-*-solaris*)
20768
 
                                                                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
20769
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
 
22083
                                                                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
22084
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
20770
22085
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
20771
22086
  echo $ECHO_N "(cached) $ECHO_C" >&6
20772
22087
else
20793
22108
 
20794
22109
#undef bind_textdomain_codeset
20795
22110
 
20796
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22111
/* Override any GCC internal prototype to avoid an error.
 
22112
   Use char because int might match the return type of a GCC
 
22113
   builtin and then its argument prototype would still apply.  */
20797
22114
#ifdef __cplusplus
20798
22115
extern "C"
20799
 
{
20800
22116
#endif
20801
 
/* We use char because int might match the return type of a gcc2
20802
 
   builtin and then its argument prototype would still apply.  */
20803
22117
char bind_textdomain_codeset ();
20804
22118
/* The GNU C library defines this for functions which it implements
20805
22119
    to always fail with ENOSYS.  Some functions are actually named
20806
22120
    something starting with __ and the normal name is an alias.  */
20807
 
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
 
22121
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
20808
22122
choke me
20809
 
#else
20810
 
char (*f) () = bind_textdomain_codeset;
20811
 
#endif
20812
 
#ifdef __cplusplus
20813
 
}
20814
22123
#endif
20815
22124
 
20816
22125
int
20817
22126
main ()
20818
22127
{
20819
 
return f != bind_textdomain_codeset;
 
22128
return bind_textdomain_codeset ();
20820
22129
  ;
20821
22130
  return 0;
20822
22131
}
20823
22132
_ACEOF
20824
22133
rm -f conftest.$ac_objext conftest$ac_exeext
20825
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20826
 
  (eval $ac_link) 2>conftest.er1
 
22134
if { (ac_try="$ac_link"
 
22135
case "(($ac_try" in
 
22136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22137
  *) ac_try_echo=$ac_try;;
 
22138
esac
 
22139
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22140
  (eval "$ac_link") 2>conftest.er1
20827
22141
  ac_status=$?
20828
22142
  grep -v '^ *+' conftest.er1 >conftest.err
20829
22143
  rm -f conftest.er1
20830
22144
  cat conftest.err >&5
20831
22145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832
 
  (exit $ac_status); } &&
20833
 
         { ac_try='test -z "$ac_c_werror_flag"
20834
 
                         || test ! -s conftest.err'
20835
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20836
 
  (eval $ac_try) 2>&5
20837
 
  ac_status=$?
20838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839
 
  (exit $ac_status); }; } &&
20840
 
         { ac_try='test -s conftest$ac_exeext'
20841
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20842
 
  (eval $ac_try) 2>&5
20843
 
  ac_status=$?
20844
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845
 
  (exit $ac_status); }; }; then
 
22146
  (exit $ac_status); } && {
 
22147
         test -z "$ac_c_werror_flag" ||
 
22148
         test ! -s conftest.err
 
22149
       } && test -s conftest$ac_exeext &&
 
22150
       $as_test_x conftest$ac_exeext; then
20846
22151
  ac_cv_func_bind_textdomain_codeset=yes
20847
22152
else
20848
22153
  echo "$as_me: failed program was:" >&5
20849
22154
sed 's/^/| /' conftest.$ac_ext >&5
20850
22155
 
20851
 
ac_cv_func_bind_textdomain_codeset=no
 
22156
        ac_cv_func_bind_textdomain_codeset=no
20852
22157
fi
20853
 
rm -f conftest.err conftest.$ac_objext \
 
22158
 
 
22159
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20854
22160
      conftest$ac_exeext conftest.$ac_ext
20855
22161
fi
20856
 
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
20857
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
 
22162
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
22163
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
20858
22164
if test $ac_cv_func_bind_textdomain_codeset = yes; then
20859
22165
  CATOBJEXT=.gmo
20860
22166
               DATADIRNAME=share
20870
22176
            ;;
20871
22177
            esac
20872
22178
fi
20873
 
rm -f conftest.err conftest.$ac_objext \
 
22179
 
 
22180
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20874
22181
      conftest$ac_exeext conftest.$ac_ext
20875
22182
          LIBS="$glib_save_LIBS"
20876
22183
          INSTOBJEXT=.mo
20895
22202
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
20896
22203
        : ;
20897
22204
      else
20898
 
        echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
20899
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
22205
        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
22206
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
20900
22207
        XGETTEXT=":"
20901
22208
      fi
20902
22209
    fi
20904
22211
    # We need to process the po/ directory.
20905
22212
    POSUB=po
20906
22213
 
20907
 
              ac_config_commands="$ac_config_commands default-1"
 
22214
    ac_config_commands="$ac_config_commands default-1"
20908
22215
 
20909
22216
 
20910
22217
                for lang in $ALL_LINGUAS; do
20928
22235
     if test "x$ALL_LINGUAS" = "x"; then
20929
22236
       LINGUAS=
20930
22237
     else
20931
 
       echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
20932
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
 
22238
       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
22239
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
20933
22240
       NEW_LINGUAS=
20934
22241
       for presentlang in $ALL_LINGUAS; do
20935
22242
         useit=no
20953
22260
         fi
20954
22261
       done
20955
22262
       LINGUAS=$NEW_LINGUAS
20956
 
       echo "$as_me:$LINENO: result: $LINGUAS" >&5
20957
 
echo "${ECHO_T}$LINGUAS" >&6
 
22263
       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
22264
echo "${ECHO_T}$LINGUAS" >&6; }
20958
22265
     fi
20959
22266
 
20960
22267
          if test -n "$LINGUAS"; then
20988
22295
 
20989
22296
 
20990
22297
 
20991
 
    # Check whether --enable-compile-warnings or --disable-compile-warnings was given.
 
22298
    # Check whether --enable-compile-warnings was given.
20992
22299
if test "${enable_compile_warnings+set}" = set; then
20993
 
  enableval="$enable_compile_warnings"
20994
 
 
 
22300
  enableval=$enable_compile_warnings;
20995
22301
else
20996
22302
  enable_compile_warnings="yes"
20997
 
fi;
 
22303
fi
 
22304
 
20998
22305
 
20999
22306
    warnCFLAGS=
21000
22307
    if test "x$GCC" != xyes; then
21020
22327
        for option in -Wno-sign-compare; do
21021
22328
                SAVE_CFLAGS="$CFLAGS"
21022
22329
                CFLAGS="$CFLAGS $option"
21023
 
                echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
21024
 
echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6
 
22330
                { echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
 
22331
echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6; }
21025
22332
                cat >conftest.$ac_ext <<_ACEOF
21026
22333
/* confdefs.h.  */
21027
22334
_ACEOF
21038
22345
}
21039
22346
_ACEOF
21040
22347
rm -f conftest.$ac_objext
21041
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21042
 
  (eval $ac_compile) 2>conftest.er1
 
22348
if { (ac_try="$ac_compile"
 
22349
case "(($ac_try" in
 
22350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22351
  *) ac_try_echo=$ac_try;;
 
22352
esac
 
22353
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22354
  (eval "$ac_compile") 2>conftest.er1
21043
22355
  ac_status=$?
21044
22356
  grep -v '^ *+' conftest.er1 >conftest.err
21045
22357
  rm -f conftest.er1
21046
22358
  cat conftest.err >&5
21047
22359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048
 
  (exit $ac_status); } &&
21049
 
         { ac_try='test -z "$ac_c_werror_flag"
21050
 
                         || test ! -s conftest.err'
21051
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052
 
  (eval $ac_try) 2>&5
21053
 
  ac_status=$?
21054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055
 
  (exit $ac_status); }; } &&
21056
 
         { ac_try='test -s conftest.$ac_objext'
21057
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21058
 
  (eval $ac_try) 2>&5
21059
 
  ac_status=$?
21060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061
 
  (exit $ac_status); }; }; then
 
22360
  (exit $ac_status); } && {
 
22361
         test -z "$ac_c_werror_flag" ||
 
22362
         test ! -s conftest.err
 
22363
       } && test -s conftest.$ac_objext; then
21062
22364
  has_option=yes
21063
22365
else
21064
22366
  echo "$as_me: failed program was:" >&5
21065
22367
sed 's/^/| /' conftest.$ac_ext >&5
21066
22368
 
21067
 
has_option=no
 
22369
        has_option=no
21068
22370
fi
21069
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22371
 
 
22372
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070
22373
                CFLAGS="$SAVE_CFLAGS"
21071
 
                echo "$as_me:$LINENO: result: $has_option" >&5
21072
 
echo "${ECHO_T}$has_option" >&6
 
22374
                { echo "$as_me:$LINENO: result: $has_option" >&5
 
22375
echo "${ECHO_T}$has_option" >&6; }
21073
22376
                if test $has_option = yes; then
21074
22377
                  warning_flags="$warning_flags $option"
21075
22378
                fi
21088
22391
        ;;
21089
22392
    esac
21090
22393
    CFLAGS="$realsave_CFLAGS"
21091
 
    echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
21092
 
echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6
21093
 
    echo "$as_me:$LINENO: result: $warning_flags" >&5
21094
 
echo "${ECHO_T}$warning_flags" >&6
 
22394
    { echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
 
22395
echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6; }
 
22396
    { echo "$as_me:$LINENO: result: $warning_flags" >&5
 
22397
echo "${ECHO_T}$warning_flags" >&6; }
21095
22398
 
21096
 
    # Check whether --enable-iso-c or --disable-iso-c was given.
 
22399
    # Check whether --enable-iso-c was given.
21097
22400
if test "${enable_iso_c+set}" = set; then
21098
 
  enableval="$enable_iso_c"
21099
 
 
 
22401
  enableval=$enable_iso_c;
21100
22402
else
21101
22403
  enable_iso_c=no
21102
 
fi;
21103
 
 
21104
 
    echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
21105
 
echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6
 
22404
fi
 
22405
 
 
22406
 
 
22407
    { echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
 
22408
echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6; }
21106
22409
    complCFLAGS=
21107
22410
    if test "x$enable_iso_c" != "xno"; then
21108
22411
        if test "x$GCC" = "xyes"; then
21116
22419
        esac
21117
22420
        fi
21118
22421
    fi
21119
 
    echo "$as_me:$LINENO: result: $complCFLAGS" >&5
21120
 
echo "${ECHO_T}$complCFLAGS" >&6
 
22422
    { echo "$as_me:$LINENO: result: $complCFLAGS" >&5
 
22423
echo "${ECHO_T}$complCFLAGS" >&6; }
21121
22424
 
21122
22425
    WARN_CFLAGS="$warning_flags $complCFLAGS"
21123
22426
 
21124
22427
 
21125
22428
 
21126
 
# Check whether --enable-deprecations or --disable-deprecations was given.
 
22429
# Check whether --enable-deprecations was given.
21127
22430
if test "${enable_deprecations+set}" = set; then
21128
 
  enableval="$enable_deprecations"
21129
 
 
 
22431
  enableval=$enable_deprecations;
21130
22432
else
21131
22433
  enable_deprecations=yes
21132
 
fi;
 
22434
fi
 
22435
 
21133
22436
 
21134
22437
if test "x$enable_deprecations" = "xyes"; then
21135
22438
   DISABLE_DEPRECATED_CFLAGS="\
21147
22450
        if test -n "$ac_tool_prefix"; then
21148
22451
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21149
22452
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21150
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21151
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22453
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22454
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21152
22455
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21153
22456
  echo $ECHO_N "(cached) $ECHO_C" >&6
21154
22457
else
21163
22466
  IFS=$as_save_IFS
21164
22467
  test -z "$as_dir" && as_dir=.
21165
22468
  for ac_exec_ext in '' $ac_executable_extensions; do
21166
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22469
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21167
22470
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21168
22471
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21169
22472
    break 2
21170
22473
  fi
21171
22474
done
21172
22475
done
 
22476
IFS=$as_save_IFS
21173
22477
 
21174
22478
  ;;
21175
22479
esac
21176
22480
fi
21177
22481
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21178
 
 
21179
22482
if test -n "$PKG_CONFIG"; then
21180
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21181
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
22483
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
22484
echo "${ECHO_T}$PKG_CONFIG" >&6; }
21182
22485
else
21183
 
  echo "$as_me:$LINENO: result: no" >&5
21184
 
echo "${ECHO_T}no" >&6
 
22486
  { echo "$as_me:$LINENO: result: no" >&5
 
22487
echo "${ECHO_T}no" >&6; }
21185
22488
fi
 
22489
 
21186
22490
 
21187
22491
fi
21188
22492
if test -z "$ac_cv_path_PKG_CONFIG"; then
21189
22493
  ac_pt_PKG_CONFIG=$PKG_CONFIG
21190
22494
  # Extract the first word of "pkg-config", so it can be a program name with args.
21191
22495
set dummy pkg-config; ac_word=$2
21192
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21193
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22496
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22497
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21194
22498
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21195
22499
  echo $ECHO_N "(cached) $ECHO_C" >&6
21196
22500
else
21205
22509
  IFS=$as_save_IFS
21206
22510
  test -z "$as_dir" && as_dir=.
21207
22511
  for ac_exec_ext in '' $ac_executable_extensions; do
21208
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22512
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21209
22513
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21210
22514
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21211
22515
    break 2
21212
22516
  fi
21213
22517
done
21214
22518
done
 
22519
IFS=$as_save_IFS
21215
22520
 
21216
22521
  ;;
21217
22522
esac
21218
22523
fi
21219
22524
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21220
 
 
21221
22525
if test -n "$ac_pt_PKG_CONFIG"; then
21222
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21223
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
22526
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
22527
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
21224
22528
else
21225
 
  echo "$as_me:$LINENO: result: no" >&5
21226
 
echo "${ECHO_T}no" >&6
 
22529
  { echo "$as_me:$LINENO: result: no" >&5
 
22530
echo "${ECHO_T}no" >&6; }
21227
22531
fi
21228
22532
 
21229
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
22533
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
22534
    PKG_CONFIG=""
 
22535
  else
 
22536
    case $cross_compiling:$ac_tool_warned in
 
22537
yes:)
 
22538
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
22539
whose name does not start with the host triplet.  If you think this
 
22540
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
22541
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
22542
whose name does not start with the host triplet.  If you think this
 
22543
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
22544
ac_tool_warned=yes ;;
 
22545
esac
 
22546
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
22547
  fi
21230
22548
else
21231
22549
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21232
22550
fi
21234
22552
fi
21235
22553
if test -n "$PKG_CONFIG"; then
21236
22554
        _pkg_min_version=0.9.0
21237
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21238
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
22555
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
22556
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
21239
22557
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21240
 
                echo "$as_me:$LINENO: result: yes" >&5
21241
 
echo "${ECHO_T}yes" >&6
 
22558
                { echo "$as_me:$LINENO: result: yes" >&5
 
22559
echo "${ECHO_T}yes" >&6; }
21242
22560
        else
21243
 
                echo "$as_me:$LINENO: result: no" >&5
21244
 
echo "${ECHO_T}no" >&6
 
22561
                { echo "$as_me:$LINENO: result: no" >&5
 
22562
echo "${ECHO_T}no" >&6; }
21245
22563
                PKG_CONFIG=""
21246
22564
        fi
21247
22565
 
21248
22566
fi
21249
22567
 
21250
22568
pkg_failed=no
21251
 
echo "$as_me:$LINENO: checking for VINO_SERVER" >&5
21252
 
echo $ECHO_N "checking for VINO_SERVER... $ECHO_C" >&6
 
22569
{ echo "$as_me:$LINENO: checking for VINO_SERVER" >&5
 
22570
echo $ECHO_N "checking for VINO_SERVER... $ECHO_C" >&6; }
21253
22571
 
21254
22572
if test -n "$PKG_CONFIG"; then
21255
22573
    if test -n "$VINO_SERVER_CFLAGS"; then
21256
22574
        pkg_cv_VINO_SERVER_CFLAGS="$VINO_SERVER_CFLAGS"
21257
22575
    else
21258
22576
        if test -n "$PKG_CONFIG" && \
21259
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0\"") >&5
21260
 
  ($PKG_CONFIG --exists --print-errors "gtk+-x11-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0") 2>&5
 
22577
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0 gtk+-x11-2.0 gconf-2.0 libglade-2.0 libbonobo-2.0 dbus-glib-1\"") >&5
 
22578
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12.0 gtk+-x11-2.0 gconf-2.0 libglade-2.0 libbonobo-2.0 dbus-glib-1") 2>&5
21261
22579
  ac_status=$?
21262
22580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263
22581
  (exit $ac_status); }; then
21264
 
  pkg_cv_VINO_SERVER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0" 2>/dev/null`
 
22582
  pkg_cv_VINO_SERVER_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.12.0 gtk+-x11-2.0 gconf-2.0 libglade-2.0 libbonobo-2.0 dbus-glib-1" 2>/dev/null`
21265
22583
else
21266
22584
  pkg_failed=yes
21267
22585
fi
21274
22592
        pkg_cv_VINO_SERVER_LIBS="$VINO_SERVER_LIBS"
21275
22593
    else
21276
22594
        if test -n "$PKG_CONFIG" && \
21277
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0\"") >&5
21278
 
  ($PKG_CONFIG --exists --print-errors "gtk+-x11-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0") 2>&5
 
22595
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0 gtk+-x11-2.0 gconf-2.0 libglade-2.0 libbonobo-2.0 dbus-glib-1\"") >&5
 
22596
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12.0 gtk+-x11-2.0 gconf-2.0 libglade-2.0 libbonobo-2.0 dbus-glib-1") 2>&5
21279
22597
  ac_status=$?
21280
22598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281
22599
  (exit $ac_status); }; then
21282
 
  pkg_cv_VINO_SERVER_LIBS=`$PKG_CONFIG --libs "gtk+-x11-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0" 2>/dev/null`
 
22600
  pkg_cv_VINO_SERVER_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.12.0 gtk+-x11-2.0 gconf-2.0 libglade-2.0 libbonobo-2.0 dbus-glib-1" 2>/dev/null`
21283
22601
else
21284
22602
  pkg_failed=yes
21285
22603
fi
21298
22616
        _pkg_short_errors_supported=no
21299
22617
fi
21300
22618
        if test $_pkg_short_errors_supported = yes; then
21301
 
                VINO_SERVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0"`
 
22619
                VINO_SERVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.12.0 gtk+-x11-2.0 gconf-2.0 libglade-2.0 libbonobo-2.0 dbus-glib-1"`
21302
22620
        else
21303
 
                VINO_SERVER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0"`
 
22621
                VINO_SERVER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.12.0 gtk+-x11-2.0 gconf-2.0 libglade-2.0 libbonobo-2.0 dbus-glib-1"`
21304
22622
        fi
21305
22623
        # Put the nasty error message in config.log where it belongs
21306
22624
        echo "$VINO_SERVER_PKG_ERRORS" >&5
21307
22625
 
21308
 
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-x11-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0) were not met:
 
22626
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.12.0 gtk+-x11-2.0 gconf-2.0 libglade-2.0 libbonobo-2.0 dbus-glib-1) were not met:
21309
22627
 
21310
22628
$VINO_SERVER_PKG_ERRORS
21311
22629
 
21316
22634
and VINO_SERVER_LIBS to avoid the need to call pkg-config.
21317
22635
See the pkg-config man page for more details.
21318
22636
" >&5
21319
 
echo "$as_me: error: Package requirements (gtk+-x11-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0) were not met:
 
22637
echo "$as_me: error: Package requirements (glib-2.0 >= 2.12.0 gtk+-x11-2.0 gconf-2.0 libglade-2.0 libbonobo-2.0 dbus-glib-1) were not met:
21320
22638
 
21321
22639
$VINO_SERVER_PKG_ERRORS
21322
22640
 
21337
22655
and VINO_SERVER_LIBS to avoid the need to call pkg-config.
21338
22656
See the pkg-config man page for more details.
21339
22657
 
21340
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22658
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21341
22659
See \`config.log' for more details." >&5
21342
22660
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21343
22661
is in your PATH or set the PKG_CONFIG environment variable to the full
21347
22665
and VINO_SERVER_LIBS to avoid the need to call pkg-config.
21348
22666
See the pkg-config man page for more details.
21349
22667
 
21350
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22668
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21351
22669
See \`config.log' for more details." >&2;}
21352
22670
   { (exit 1); exit 1; }; }
21353
22671
else
21354
22672
        VINO_SERVER_CFLAGS=$pkg_cv_VINO_SERVER_CFLAGS
21355
22673
        VINO_SERVER_LIBS=$pkg_cv_VINO_SERVER_LIBS
21356
 
        echo "$as_me:$LINENO: result: yes" >&5
21357
 
echo "${ECHO_T}yes" >&6
 
22674
        { echo "$as_me:$LINENO: result: yes" >&5
 
22675
echo "${ECHO_T}yes" >&6; }
21358
22676
        :
21359
22677
fi
21360
22678
 
21361
22679
 
21362
22680
pkg_failed=no
21363
 
echo "$as_me:$LINENO: checking for VINO_CAPPLET" >&5
21364
 
echo $ECHO_N "checking for VINO_CAPPLET... $ECHO_C" >&6
 
22681
{ echo "$as_me:$LINENO: checking for VINO_CAPPLET" >&5
 
22682
echo $ECHO_N "checking for VINO_CAPPLET... $ECHO_C" >&6; }
21365
22683
 
21366
22684
if test -n "$PKG_CONFIG"; then
21367
22685
    if test -n "$VINO_CAPPLET_CFLAGS"; then
21368
22686
        pkg_cv_VINO_CAPPLET_CFLAGS="$VINO_CAPPLET_CFLAGS"
21369
22687
    else
21370
22688
        if test -n "$PKG_CONFIG" && \
21371
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 >= 2.5.2\"") >&5
21372
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 >= 2.5.2") 2>&5
 
22689
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.10.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 dbus-glib-1\"") >&5
 
22690
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.10.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 dbus-glib-1") 2>&5
21373
22691
  ac_status=$?
21374
22692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375
22693
  (exit $ac_status); }; then
21376
 
  pkg_cv_VINO_CAPPLET_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 >= 2.5.2" 2>/dev/null`
 
22694
  pkg_cv_VINO_CAPPLET_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.10.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 dbus-glib-1" 2>/dev/null`
21377
22695
else
21378
22696
  pkg_failed=yes
21379
22697
fi
21386
22704
        pkg_cv_VINO_CAPPLET_LIBS="$VINO_CAPPLET_LIBS"
21387
22705
    else
21388
22706
        if test -n "$PKG_CONFIG" && \
21389
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 >= 2.5.2\"") >&5
21390
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 >= 2.5.2") 2>&5
 
22707
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.10.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 dbus-glib-1\"") >&5
 
22708
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.10.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 dbus-glib-1") 2>&5
21391
22709
  ac_status=$?
21392
22710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393
22711
  (exit $ac_status); }; then
21394
 
  pkg_cv_VINO_CAPPLET_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 >= 2.5.2" 2>/dev/null`
 
22712
  pkg_cv_VINO_CAPPLET_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.10.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 dbus-glib-1" 2>/dev/null`
21395
22713
else
21396
22714
  pkg_failed=yes
21397
22715
fi
21410
22728
        _pkg_short_errors_supported=no
21411
22729
fi
21412
22730
        if test $_pkg_short_errors_supported = yes; then
21413
 
                VINO_CAPPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 >= 2.5.2"`
 
22731
                VINO_CAPPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.10.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 dbus-glib-1"`
21414
22732
        else
21415
 
                VINO_CAPPLET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 >= 2.5.2"`
 
22733
                VINO_CAPPLET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.10.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 dbus-glib-1"`
21416
22734
        fi
21417
22735
        # Put the nasty error message in config.log where it belongs
21418
22736
        echo "$VINO_CAPPLET_PKG_ERRORS" >&5
21419
22737
 
21420
 
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 >= 2.5.2) were not met:
 
22738
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.10.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 dbus-glib-1) were not met:
21421
22739
 
21422
22740
$VINO_CAPPLET_PKG_ERRORS
21423
22741
 
21428
22746
and VINO_CAPPLET_LIBS to avoid the need to call pkg-config.
21429
22747
See the pkg-config man page for more details.
21430
22748
" >&5
21431
 
echo "$as_me: error: Package requirements (gtk+-2.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 >= 2.5.2) were not met:
 
22749
echo "$as_me: error: Package requirements (glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.10.0 gconf-2.0 libglade-2.0 libgnomeui-2.0 dbus-glib-1) were not met:
21432
22750
 
21433
22751
$VINO_CAPPLET_PKG_ERRORS
21434
22752
 
21449
22767
and VINO_CAPPLET_LIBS to avoid the need to call pkg-config.
21450
22768
See the pkg-config man page for more details.
21451
22769
 
21452
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22770
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21453
22771
See \`config.log' for more details." >&5
21454
22772
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21455
22773
is in your PATH or set the PKG_CONFIG environment variable to the full
21459
22777
and VINO_CAPPLET_LIBS to avoid the need to call pkg-config.
21460
22778
See the pkg-config man page for more details.
21461
22779
 
21462
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22780
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21463
22781
See \`config.log' for more details." >&2;}
21464
22782
   { (exit 1); exit 1; }; }
21465
22783
else
21466
22784
        VINO_CAPPLET_CFLAGS=$pkg_cv_VINO_CAPPLET_CFLAGS
21467
22785
        VINO_CAPPLET_LIBS=$pkg_cv_VINO_CAPPLET_LIBS
21468
 
        echo "$as_me:$LINENO: result: yes" >&5
21469
 
echo "${ECHO_T}yes" >&6
21470
 
        :
21471
 
fi
21472
 
 
21473
 
# Check whether --enable-session_support or --disable-session_support was given.
 
22786
        { echo "$as_me:$LINENO: result: yes" >&5
 
22787
echo "${ECHO_T}yes" >&6; }
 
22788
        :
 
22789
fi
 
22790
 
 
22791
LIBNOTIFY_VERSION=0.4.4
 
22792
 
 
22793
# Check whether --enable-libnotify was given.
 
22794
if test "${enable_libnotify+set}" = set; then
 
22795
  enableval=$enable_libnotify;
 
22796
else
 
22797
  enable_libnotify=auto
 
22798
fi
 
22799
 
 
22800
 
 
22801
if test "x$enable_libnotify" = "xno"; then
 
22802
    have_libnotify=no
 
22803
else
 
22804
    if test "x$enable_libnotify" = "xyes"; then
 
22805
 
 
22806
pkg_failed=no
 
22807
{ echo "$as_me:$LINENO: checking for VINO_LIBNOTIFY" >&5
 
22808
echo $ECHO_N "checking for VINO_LIBNOTIFY... $ECHO_C" >&6; }
 
22809
 
 
22810
if test -n "$PKG_CONFIG"; then
 
22811
    if test -n "$VINO_LIBNOTIFY_CFLAGS"; then
 
22812
        pkg_cv_VINO_LIBNOTIFY_CFLAGS="$VINO_LIBNOTIFY_CFLAGS"
 
22813
    else
 
22814
        if test -n "$PKG_CONFIG" && \
 
22815
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_VERSION\"") >&5
 
22816
  ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_VERSION") 2>&5
 
22817
  ac_status=$?
 
22818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22819
  (exit $ac_status); }; then
 
22820
  pkg_cv_VINO_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= $LIBNOTIFY_VERSION" 2>/dev/null`
 
22821
else
 
22822
  pkg_failed=yes
 
22823
fi
 
22824
    fi
 
22825
else
 
22826
        pkg_failed=untried
 
22827
fi
 
22828
if test -n "$PKG_CONFIG"; then
 
22829
    if test -n "$VINO_LIBNOTIFY_LIBS"; then
 
22830
        pkg_cv_VINO_LIBNOTIFY_LIBS="$VINO_LIBNOTIFY_LIBS"
 
22831
    else
 
22832
        if test -n "$PKG_CONFIG" && \
 
22833
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_VERSION\"") >&5
 
22834
  ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_VERSION") 2>&5
 
22835
  ac_status=$?
 
22836
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22837
  (exit $ac_status); }; then
 
22838
  pkg_cv_VINO_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= $LIBNOTIFY_VERSION" 2>/dev/null`
 
22839
else
 
22840
  pkg_failed=yes
 
22841
fi
 
22842
    fi
 
22843
else
 
22844
        pkg_failed=untried
 
22845
fi
 
22846
 
 
22847
 
 
22848
 
 
22849
if test $pkg_failed = yes; then
 
22850
 
 
22851
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22852
        _pkg_short_errors_supported=yes
 
22853
else
 
22854
        _pkg_short_errors_supported=no
 
22855
fi
 
22856
        if test $_pkg_short_errors_supported = yes; then
 
22857
                VINO_LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= $LIBNOTIFY_VERSION"`
 
22858
        else
 
22859
                VINO_LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= $LIBNOTIFY_VERSION"`
 
22860
        fi
 
22861
        # Put the nasty error message in config.log where it belongs
 
22862
        echo "$VINO_LIBNOTIFY_PKG_ERRORS" >&5
 
22863
 
 
22864
        { { echo "$as_me:$LINENO: error: Package requirements (libnotify >= $LIBNOTIFY_VERSION) were not met:
 
22865
 
 
22866
$VINO_LIBNOTIFY_PKG_ERRORS
 
22867
 
 
22868
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
22869
installed software in a non-standard prefix.
 
22870
 
 
22871
Alternatively, you may set the environment variables VINO_LIBNOTIFY_CFLAGS
 
22872
and VINO_LIBNOTIFY_LIBS to avoid the need to call pkg-config.
 
22873
See the pkg-config man page for more details.
 
22874
" >&5
 
22875
echo "$as_me: error: Package requirements (libnotify >= $LIBNOTIFY_VERSION) were not met:
 
22876
 
 
22877
$VINO_LIBNOTIFY_PKG_ERRORS
 
22878
 
 
22879
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
22880
installed software in a non-standard prefix.
 
22881
 
 
22882
Alternatively, you may set the environment variables VINO_LIBNOTIFY_CFLAGS
 
22883
and VINO_LIBNOTIFY_LIBS to avoid the need to call pkg-config.
 
22884
See the pkg-config man page for more details.
 
22885
" >&2;}
 
22886
   { (exit 1); exit 1; }; }
 
22887
elif test $pkg_failed = untried; then
 
22888
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22889
is in your PATH or set the PKG_CONFIG environment variable to the full
 
22890
path to pkg-config.
 
22891
 
 
22892
Alternatively, you may set the environment variables VINO_LIBNOTIFY_CFLAGS
 
22893
and VINO_LIBNOTIFY_LIBS to avoid the need to call pkg-config.
 
22894
See the pkg-config man page for more details.
 
22895
 
 
22896
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
22897
See \`config.log' for more details." >&5
 
22898
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
22899
is in your PATH or set the PKG_CONFIG environment variable to the full
 
22900
path to pkg-config.
 
22901
 
 
22902
Alternatively, you may set the environment variables VINO_LIBNOTIFY_CFLAGS
 
22903
and VINO_LIBNOTIFY_LIBS to avoid the need to call pkg-config.
 
22904
See the pkg-config man page for more details.
 
22905
 
 
22906
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
22907
See \`config.log' for more details." >&2;}
 
22908
   { (exit 1); exit 1; }; }
 
22909
else
 
22910
        VINO_LIBNOTIFY_CFLAGS=$pkg_cv_VINO_LIBNOTIFY_CFLAGS
 
22911
        VINO_LIBNOTIFY_LIBS=$pkg_cv_VINO_LIBNOTIFY_LIBS
 
22912
        { echo "$as_me:$LINENO: result: yes" >&5
 
22913
echo "${ECHO_T}yes" >&6; }
 
22914
        :
 
22915
fi
 
22916
        have_libnotify=yes
 
22917
    else
 
22918
 
 
22919
pkg_failed=no
 
22920
{ echo "$as_me:$LINENO: checking for VINO_LIBNOTIFY" >&5
 
22921
echo $ECHO_N "checking for VINO_LIBNOTIFY... $ECHO_C" >&6; }
 
22922
 
 
22923
if test -n "$PKG_CONFIG"; then
 
22924
    if test -n "$VINO_LIBNOTIFY_CFLAGS"; then
 
22925
        pkg_cv_VINO_LIBNOTIFY_CFLAGS="$VINO_LIBNOTIFY_CFLAGS"
 
22926
    else
 
22927
        if test -n "$PKG_CONFIG" && \
 
22928
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_VERSION\"") >&5
 
22929
  ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_VERSION") 2>&5
 
22930
  ac_status=$?
 
22931
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22932
  (exit $ac_status); }; then
 
22933
  pkg_cv_VINO_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= $LIBNOTIFY_VERSION" 2>/dev/null`
 
22934
else
 
22935
  pkg_failed=yes
 
22936
fi
 
22937
    fi
 
22938
else
 
22939
        pkg_failed=untried
 
22940
fi
 
22941
if test -n "$PKG_CONFIG"; then
 
22942
    if test -n "$VINO_LIBNOTIFY_LIBS"; then
 
22943
        pkg_cv_VINO_LIBNOTIFY_LIBS="$VINO_LIBNOTIFY_LIBS"
 
22944
    else
 
22945
        if test -n "$PKG_CONFIG" && \
 
22946
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_VERSION\"") >&5
 
22947
  ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_VERSION") 2>&5
 
22948
  ac_status=$?
 
22949
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22950
  (exit $ac_status); }; then
 
22951
  pkg_cv_VINO_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= $LIBNOTIFY_VERSION" 2>/dev/null`
 
22952
else
 
22953
  pkg_failed=yes
 
22954
fi
 
22955
    fi
 
22956
else
 
22957
        pkg_failed=untried
 
22958
fi
 
22959
 
 
22960
 
 
22961
 
 
22962
if test $pkg_failed = yes; then
 
22963
 
 
22964
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22965
        _pkg_short_errors_supported=yes
 
22966
else
 
22967
        _pkg_short_errors_supported=no
 
22968
fi
 
22969
        if test $_pkg_short_errors_supported = yes; then
 
22970
                VINO_LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= $LIBNOTIFY_VERSION"`
 
22971
        else
 
22972
                VINO_LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= $LIBNOTIFY_VERSION"`
 
22973
        fi
 
22974
        # Put the nasty error message in config.log where it belongs
 
22975
        echo "$VINO_LIBNOTIFY_PKG_ERRORS" >&5
 
22976
 
 
22977
        { echo "$as_me:$LINENO: result: no" >&5
 
22978
echo "${ECHO_T}no" >&6; }
 
22979
                have_libnotify=no
 
22980
elif test $pkg_failed = untried; then
 
22981
        have_libnotify=no
 
22982
else
 
22983
        VINO_LIBNOTIFY_CFLAGS=$pkg_cv_VINO_LIBNOTIFY_CFLAGS
 
22984
        VINO_LIBNOTIFY_LIBS=$pkg_cv_VINO_LIBNOTIFY_LIBS
 
22985
        { echo "$as_me:$LINENO: result: yes" >&5
 
22986
echo "${ECHO_T}yes" >&6; }
 
22987
        have_libnotify=yes
 
22988
fi
 
22989
    fi;
 
22990
fi
 
22991
 
 
22992
if test "x$have_libnotify" = "xyes" ; then
 
22993
 
 
22994
cat >>confdefs.h <<\_ACEOF
 
22995
#define VINO_ENABLE_LIBNOTIFY
 
22996
_ACEOF
 
22997
 
 
22998
fi
 
22999
 
 
23000
# Check whether --enable-gnome-keyring was given.
 
23001
if test "${enable_gnome_keyring+set}" = set; then
 
23002
  enableval=$enable_gnome_keyring;
 
23003
else
 
23004
  enable_gnome_keyring=no
 
23005
fi
 
23006
 
 
23007
if test "x$enable_gnome_keyring" = "xyes"; then
 
23008
 
 
23009
pkg_failed=no
 
23010
{ echo "$as_me:$LINENO: checking for VINO_KEYRING" >&5
 
23011
echo $ECHO_N "checking for VINO_KEYRING... $ECHO_C" >&6; }
 
23012
 
 
23013
if test -n "$PKG_CONFIG"; then
 
23014
    if test -n "$VINO_KEYRING_CFLAGS"; then
 
23015
        pkg_cv_VINO_KEYRING_CFLAGS="$VINO_KEYRING_CFLAGS"
 
23016
    else
 
23017
        if test -n "$PKG_CONFIG" && \
 
23018
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\"") >&5
 
23019
  ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
 
23020
  ac_status=$?
 
23021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23022
  (exit $ac_status); }; then
 
23023
  pkg_cv_VINO_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1" 2>/dev/null`
 
23024
else
 
23025
  pkg_failed=yes
 
23026
fi
 
23027
    fi
 
23028
else
 
23029
        pkg_failed=untried
 
23030
fi
 
23031
if test -n "$PKG_CONFIG"; then
 
23032
    if test -n "$VINO_KEYRING_LIBS"; then
 
23033
        pkg_cv_VINO_KEYRING_LIBS="$VINO_KEYRING_LIBS"
 
23034
    else
 
23035
        if test -n "$PKG_CONFIG" && \
 
23036
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\"") >&5
 
23037
  ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
 
23038
  ac_status=$?
 
23039
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23040
  (exit $ac_status); }; then
 
23041
  pkg_cv_VINO_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1" 2>/dev/null`
 
23042
else
 
23043
  pkg_failed=yes
 
23044
fi
 
23045
    fi
 
23046
else
 
23047
        pkg_failed=untried
 
23048
fi
 
23049
 
 
23050
 
 
23051
 
 
23052
if test $pkg_failed = yes; then
 
23053
 
 
23054
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
23055
        _pkg_short_errors_supported=yes
 
23056
else
 
23057
        _pkg_short_errors_supported=no
 
23058
fi
 
23059
        if test $_pkg_short_errors_supported = yes; then
 
23060
                VINO_KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-keyring-1"`
 
23061
        else
 
23062
                VINO_KEYRING_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-keyring-1"`
 
23063
        fi
 
23064
        # Put the nasty error message in config.log where it belongs
 
23065
        echo "$VINO_KEYRING_PKG_ERRORS" >&5
 
23066
 
 
23067
        { { echo "$as_me:$LINENO: error: Package requirements (gnome-keyring-1) were not met:
 
23068
 
 
23069
$VINO_KEYRING_PKG_ERRORS
 
23070
 
 
23071
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23072
installed software in a non-standard prefix.
 
23073
 
 
23074
Alternatively, you may set the environment variables VINO_KEYRING_CFLAGS
 
23075
and VINO_KEYRING_LIBS to avoid the need to call pkg-config.
 
23076
See the pkg-config man page for more details.
 
23077
" >&5
 
23078
echo "$as_me: error: Package requirements (gnome-keyring-1) were not met:
 
23079
 
 
23080
$VINO_KEYRING_PKG_ERRORS
 
23081
 
 
23082
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23083
installed software in a non-standard prefix.
 
23084
 
 
23085
Alternatively, you may set the environment variables VINO_KEYRING_CFLAGS
 
23086
and VINO_KEYRING_LIBS to avoid the need to call pkg-config.
 
23087
See the pkg-config man page for more details.
 
23088
" >&2;}
 
23089
   { (exit 1); exit 1; }; }
 
23090
elif test $pkg_failed = untried; then
 
23091
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
23092
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23093
path to pkg-config.
 
23094
 
 
23095
Alternatively, you may set the environment variables VINO_KEYRING_CFLAGS
 
23096
and VINO_KEYRING_LIBS to avoid the need to call pkg-config.
 
23097
See the pkg-config man page for more details.
 
23098
 
 
23099
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
23100
See \`config.log' for more details." >&5
 
23101
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
23102
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23103
path to pkg-config.
 
23104
 
 
23105
Alternatively, you may set the environment variables VINO_KEYRING_CFLAGS
 
23106
and VINO_KEYRING_LIBS to avoid the need to call pkg-config.
 
23107
See the pkg-config man page for more details.
 
23108
 
 
23109
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
23110
See \`config.log' for more details." >&2;}
 
23111
   { (exit 1); exit 1; }; }
 
23112
else
 
23113
        VINO_KEYRING_CFLAGS=$pkg_cv_VINO_KEYRING_CFLAGS
 
23114
        VINO_KEYRING_LIBS=$pkg_cv_VINO_KEYRING_LIBS
 
23115
        { echo "$as_me:$LINENO: result: yes" >&5
 
23116
echo "${ECHO_T}yes" >&6; }
 
23117
 
 
23118
cat >>confdefs.h <<\_ACEOF
 
23119
#define VINO_ENABLE_KEYRING
 
23120
_ACEOF
 
23121
 
 
23122
fi
 
23123
fi
 
23124
 
 
23125
# Check whether --enable-session_support was given.
21474
23126
if test "${enable_session_support+set}" = set; then
21475
 
  enableval="$enable_session_support"
21476
 
 
 
23127
  enableval=$enable_session_support;
21477
23128
else
21478
23129
  enable_session_support=no
21479
 
fi;
 
23130
fi
 
23131
 
21480
23132
if test "$enable_session_support" = "yes"; then
21481
23133
 
21482
23134
pkg_failed=no
21483
 
echo "$as_me:$LINENO: checking for VINO_SESSION" >&5
21484
 
echo $ECHO_N "checking for VINO_SESSION... $ECHO_C" >&6
 
23135
{ echo "$as_me:$LINENO: checking for VINO_SESSION" >&5
 
23136
echo $ECHO_N "checking for VINO_SESSION... $ECHO_C" >&6; }
21485
23137
 
21486
23138
if test -n "$PKG_CONFIG"; then
21487
23139
    if test -n "$VINO_SESSION_CFLAGS"; then
21569
23221
and VINO_SESSION_LIBS to avoid the need to call pkg-config.
21570
23222
See the pkg-config man page for more details.
21571
23223
 
21572
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23224
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21573
23225
See \`config.log' for more details." >&5
21574
23226
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21575
23227
is in your PATH or set the PKG_CONFIG environment variable to the full
21579
23231
and VINO_SESSION_LIBS to avoid the need to call pkg-config.
21580
23232
See the pkg-config man page for more details.
21581
23233
 
21582
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23234
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21583
23235
See \`config.log' for more details." >&2;}
21584
23236
   { (exit 1); exit 1; }; }
21585
23237
else
21586
23238
        VINO_SESSION_CFLAGS=$pkg_cv_VINO_SESSION_CFLAGS
21587
23239
        VINO_SESSION_LIBS=$pkg_cv_VINO_SESSION_LIBS
21588
 
        echo "$as_me:$LINENO: result: yes" >&5
21589
 
echo "${ECHO_T}yes" >&6
 
23240
        { echo "$as_me:$LINENO: result: yes" >&5
 
23241
echo "${ECHO_T}yes" >&6; }
21590
23242
        :
21591
23243
fi
21592
23244
fi
21601
23253
fi
21602
23254
 
21603
23255
 
21604
 
# Check whether --enable-http_server or --disable-http_server was given.
 
23256
# Check whether --enable-http_server was given.
21605
23257
if test "${enable_http_server+set}" = set; then
21606
 
  enableval="$enable_http_server"
21607
 
 
 
23258
  enableval=$enable_http_server;
21608
23259
else
21609
23260
  enable_http_server=no
21610
 
fi;
 
23261
fi
 
23262
 
21611
23263
if test "$enable_http_server" = "yes"; then
21612
23264
  VINO_HTTP_CFLAGS="-DVINO_ENABLE_HTTP_SERVER"
21613
23265
else
21644
23296
esac
21645
23297
 
21646
23298
if test $pango_omitted_x_deps = yes ; then
21647
 
  echo "$as_me:$LINENO: checking for X" >&5
21648
 
echo $ECHO_N "checking for X... $ECHO_C" >&6
21649
 
 
21650
 
 
21651
 
# Check whether --with-x or --without-x was given.
 
23299
  { echo "$as_me:$LINENO: checking for X" >&5
 
23300
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
 
23301
 
 
23302
 
 
23303
# Check whether --with-x was given.
21652
23304
if test "${with_x+set}" = set; then
21653
 
  withval="$with_x"
 
23305
  withval=$with_x;
 
23306
fi
21654
23307
 
21655
 
fi;
21656
23308
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21657
23309
if test "x$with_x" = xno; then
21658
23310
  # The user explicitly disabled X.
21659
23311
  have_x=disabled
21660
23312
else
21661
 
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21662
 
    # Both variables are already set.
21663
 
    have_x=yes
21664
 
  else
21665
 
    if test "${ac_cv_have_x+set}" = set; then
 
23313
  case $x_includes,$x_libraries in #(
 
23314
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
 
23315
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
 
23316
   { (exit 1); exit 1; }; };; #(
 
23317
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
21666
23318
  echo $ECHO_N "(cached) $ECHO_C" >&6
21667
23319
else
21668
23320
  # One or both of the vars are not set, and there is no cached value.
21669
23321
ac_x_includes=no ac_x_libraries=no
21670
 
rm -fr conftest.dir
 
23322
rm -f -r conftest.dir
21671
23323
if mkdir conftest.dir; then
21672
23324
  cd conftest.dir
21673
 
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21674
23325
  cat >Imakefile <<'_ACEOF'
21675
 
acfindx:
21676
 
        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
 
23326
incroot:
 
23327
        @echo incroot='${INCROOT}'
 
23328
usrlibdir:
 
23329
        @echo usrlibdir='${USRLIBDIR}'
 
23330
libdir:
 
23331
        @echo libdir='${LIBDIR}'
21677
23332
_ACEOF
21678
 
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
 
23333
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
21679
23334
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21680
 
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
 
23335
    for ac_var in incroot usrlibdir libdir; do
 
23336
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 
23337
    done
21681
23338
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21682
23339
    for ac_extension in a so sl; do
21683
 
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21684
 
         test -f $ac_im_libdir/libX11.$ac_extension; then
 
23340
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 
23341
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
21685
23342
        ac_im_usrlibdir=$ac_im_libdir; break
21686
23343
      fi
21687
23344
    done
21689
23346
    # bogus both because they are the default anyway, and because
21690
23347
    # using them would break gcc on systems where it needs fixed includes.
21691
23348
    case $ac_im_incroot in
21692
 
        /usr/include) ;;
 
23349
        /usr/include) ac_x_includes= ;;
21693
23350
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21694
23351
    esac
21695
23352
    case $ac_im_usrlibdir in
21698
23355
    esac
21699
23356
  fi
21700
23357
  cd ..
21701
 
  rm -fr conftest.dir
 
23358
  rm -f -r conftest.dir
21702
23359
fi
21703
23360
 
21704
23361
# Standard set of common directories for X headers.
21749
23406
/* end confdefs.h.  */
21750
23407
#include <X11/Xlib.h>
21751
23408
_ACEOF
21752
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21753
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
23409
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
23410
case "(($ac_try" in
 
23411
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23412
  *) ac_try_echo=$ac_try;;
 
23413
esac
 
23414
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23415
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21754
23416
  ac_status=$?
21755
23417
  grep -v '^ *+' conftest.er1 >conftest.err
21756
23418
  rm -f conftest.er1
21757
23419
  cat conftest.err >&5
21758
23420
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759
 
  (exit $ac_status); } >/dev/null; then
21760
 
  if test -s conftest.err; then
21761
 
    ac_cpp_err=$ac_c_preproc_warn_flag
21762
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21763
 
  else
21764
 
    ac_cpp_err=
21765
 
  fi
21766
 
else
21767
 
  ac_cpp_err=yes
21768
 
fi
21769
 
if test -z "$ac_cpp_err"; then
 
23421
  (exit $ac_status); } >/dev/null && {
 
23422
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
23423
         test ! -s conftest.err
 
23424
       }; then
21770
23425
  # We can compile using X headers with no special include directory.
21771
23426
ac_x_includes=
21772
23427
else
21780
23435
  fi
21781
23436
done
21782
23437
fi
 
23438
 
21783
23439
rm -f conftest.err conftest.$ac_ext
21784
23440
fi # $ac_x_includes = no
21785
23441
 
21805
23461
}
21806
23462
_ACEOF
21807
23463
rm -f conftest.$ac_objext conftest$ac_exeext
21808
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21809
 
  (eval $ac_link) 2>conftest.er1
 
23464
if { (ac_try="$ac_link"
 
23465
case "(($ac_try" in
 
23466
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23467
  *) ac_try_echo=$ac_try;;
 
23468
esac
 
23469
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23470
  (eval "$ac_link") 2>conftest.er1
21810
23471
  ac_status=$?
21811
23472
  grep -v '^ *+' conftest.er1 >conftest.err
21812
23473
  rm -f conftest.er1
21813
23474
  cat conftest.err >&5
21814
23475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815
 
  (exit $ac_status); } &&
21816
 
         { ac_try='test -z "$ac_c_werror_flag"
21817
 
                         || test ! -s conftest.err'
21818
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21819
 
  (eval $ac_try) 2>&5
21820
 
  ac_status=$?
21821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822
 
  (exit $ac_status); }; } &&
21823
 
         { ac_try='test -s conftest$ac_exeext'
21824
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825
 
  (eval $ac_try) 2>&5
21826
 
  ac_status=$?
21827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828
 
  (exit $ac_status); }; }; then
 
23476
  (exit $ac_status); } && {
 
23477
         test -z "$ac_c_werror_flag" ||
 
23478
         test ! -s conftest.err
 
23479
       } && test -s conftest$ac_exeext &&
 
23480
       $as_test_x conftest$ac_exeext; then
21829
23481
  LIBS=$ac_save_LIBS
21830
23482
# We can link X programs with no special library path.
21831
23483
ac_x_libraries=
21833
23485
  echo "$as_me: failed program was:" >&5
21834
23486
sed 's/^/| /' conftest.$ac_ext >&5
21835
23487
 
21836
 
LIBS=$ac_save_LIBS
 
23488
        LIBS=$ac_save_LIBS
21837
23489
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21838
23490
do
21839
23491
  # Don't even attempt the hair of trying to link an X program!
21840
23492
  for ac_extension in a so sl; do
21841
 
    if test -r $ac_dir/libXt.$ac_extension; then
 
23493
    if test -r "$ac_dir/libX11.$ac_extension"; then
21842
23494
      ac_x_libraries=$ac_dir
21843
23495
      break 2
21844
23496
    fi
21845
23497
  done
21846
23498
done
21847
23499
fi
21848
 
rm -f conftest.err conftest.$ac_objext \
 
23500
 
 
23501
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21849
23502
      conftest$ac_exeext conftest.$ac_ext
21850
23503
fi # $ac_x_libraries = no
21851
23504
 
21852
 
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21853
 
  # Didn't find X anywhere.  Cache the known absence of X.
21854
 
  ac_cv_have_x="have_x=no"
21855
 
else
21856
 
  # Record where we found X for the cache.
21857
 
  ac_cv_have_x="have_x=yes \
21858
 
                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21859
 
fi
21860
 
fi
21861
 
 
21862
 
  fi
 
23505
case $ac_x_includes,$ac_x_libraries in #(
 
23506
  no,* | *,no | *\'*)
 
23507
    # Didn't find X, or a directory has "'" in its name.
 
23508
    ac_cv_have_x="have_x=no";; #(
 
23509
  *)
 
23510
    # Record where we found X for the cache.
 
23511
    ac_cv_have_x="have_x=yes\
 
23512
        ac_x_includes='$ac_x_includes'\
 
23513
        ac_x_libraries='$ac_x_libraries'"
 
23514
esac
 
23515
fi
 
23516
;; #(
 
23517
    *) have_x=yes;;
 
23518
  esac
21863
23519
  eval "$ac_cv_have_x"
21864
23520
fi # $with_x != no
21865
23521
 
21866
23522
if test "$have_x" != yes; then
21867
 
  echo "$as_me:$LINENO: result: $have_x" >&5
21868
 
echo "${ECHO_T}$have_x" >&6
 
23523
  { echo "$as_me:$LINENO: result: $have_x" >&5
 
23524
echo "${ECHO_T}$have_x" >&6; }
21869
23525
  no_x=yes
21870
23526
else
21871
23527
  # If each of the values was on the command line, it overrides each guess.
21872
23528
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21873
23529
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21874
23530
  # Update the cache value to reflect the command line values.
21875
 
  ac_cv_have_x="have_x=yes \
21876
 
                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21877
 
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21878
 
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
 
23531
  ac_cv_have_x="have_x=yes\
 
23532
        ac_x_includes='$x_includes'\
 
23533
        ac_x_libraries='$x_libraries'"
 
23534
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
 
23535
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
21879
23536
fi
21880
23537
 
21881
23538
if test "$no_x" = yes; then
21896
23553
    X_LIBS="$X_LIBS -L$x_libraries"
21897
23554
    # For Solaris; some versions of Sun CC require a space after -R and
21898
23555
    # others require no space.  Words are not sufficient . . . .
21899
 
    case `(uname -sr) 2>/dev/null` in
21900
 
    "SunOS 5"*)
21901
 
      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21902
 
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21903
 
      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21904
 
      cat >conftest.$ac_ext <<_ACEOF
 
23556
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
23557
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
 
23558
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 
23559
    ac_xsave_c_werror_flag=$ac_c_werror_flag
 
23560
    ac_c_werror_flag=yes
 
23561
    cat >conftest.$ac_ext <<_ACEOF
21905
23562
/* confdefs.h.  */
21906
23563
_ACEOF
21907
23564
cat confdefs.h >>conftest.$ac_ext
21917
23574
}
21918
23575
_ACEOF
21919
23576
rm -f conftest.$ac_objext conftest$ac_exeext
21920
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21921
 
  (eval $ac_link) 2>conftest.er1
 
23577
if { (ac_try="$ac_link"
 
23578
case "(($ac_try" in
 
23579
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23580
  *) ac_try_echo=$ac_try;;
 
23581
esac
 
23582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23583
  (eval "$ac_link") 2>conftest.er1
21922
23584
  ac_status=$?
21923
23585
  grep -v '^ *+' conftest.er1 >conftest.err
21924
23586
  rm -f conftest.er1
21925
23587
  cat conftest.err >&5
21926
23588
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927
 
  (exit $ac_status); } &&
21928
 
         { ac_try='test -z "$ac_c_werror_flag"
21929
 
                         || test ! -s conftest.err'
21930
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21931
 
  (eval $ac_try) 2>&5
21932
 
  ac_status=$?
21933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934
 
  (exit $ac_status); }; } &&
21935
 
         { ac_try='test -s conftest$ac_exeext'
21936
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937
 
  (eval $ac_try) 2>&5
21938
 
  ac_status=$?
21939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940
 
  (exit $ac_status); }; }; then
21941
 
  ac_R_nospace=yes
 
23589
  (exit $ac_status); } && {
 
23590
         test -z "$ac_c_werror_flag" ||
 
23591
         test ! -s conftest.err
 
23592
       } && test -s conftest$ac_exeext &&
 
23593
       $as_test_x conftest$ac_exeext; then
 
23594
  { echo "$as_me:$LINENO: result: no" >&5
 
23595
echo "${ECHO_T}no" >&6; }
 
23596
       X_LIBS="$X_LIBS -R$x_libraries"
21942
23597
else
21943
23598
  echo "$as_me: failed program was:" >&5
21944
23599
sed 's/^/| /' conftest.$ac_ext >&5
21945
23600
 
21946
 
ac_R_nospace=no
21947
 
fi
21948
 
rm -f conftest.err conftest.$ac_objext \
21949
 
      conftest$ac_exeext conftest.$ac_ext
21950
 
      if test $ac_R_nospace = yes; then
21951
 
        echo "$as_me:$LINENO: result: no" >&5
21952
 
echo "${ECHO_T}no" >&6
21953
 
        X_LIBS="$X_LIBS -R$x_libraries"
21954
 
      else
21955
23601
        LIBS="$ac_xsave_LIBS -R $x_libraries"
21956
 
        cat >conftest.$ac_ext <<_ACEOF
 
23602
       cat >conftest.$ac_ext <<_ACEOF
21957
23603
/* confdefs.h.  */
21958
23604
_ACEOF
21959
23605
cat confdefs.h >>conftest.$ac_ext
21969
23615
}
21970
23616
_ACEOF
21971
23617
rm -f conftest.$ac_objext conftest$ac_exeext
21972
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21973
 
  (eval $ac_link) 2>conftest.er1
 
23618
if { (ac_try="$ac_link"
 
23619
case "(($ac_try" in
 
23620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23621
  *) ac_try_echo=$ac_try;;
 
23622
esac
 
23623
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23624
  (eval "$ac_link") 2>conftest.er1
21974
23625
  ac_status=$?
21975
23626
  grep -v '^ *+' conftest.er1 >conftest.err
21976
23627
  rm -f conftest.er1
21977
23628
  cat conftest.err >&5
21978
23629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979
 
  (exit $ac_status); } &&
21980
 
         { ac_try='test -z "$ac_c_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_exeext'
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
21993
 
  ac_R_space=yes
21994
 
else
21995
 
  echo "$as_me: failed program was:" >&5
21996
 
sed 's/^/| /' conftest.$ac_ext >&5
21997
 
 
21998
 
ac_R_space=no
21999
 
fi
22000
 
rm -f conftest.err conftest.$ac_objext \
22001
 
      conftest$ac_exeext conftest.$ac_ext
22002
 
        if test $ac_R_space = yes; then
22003
 
          echo "$as_me:$LINENO: result: yes" >&5
22004
 
echo "${ECHO_T}yes" >&6
 
23630
  (exit $ac_status); } && {
 
23631
         test -z "$ac_c_werror_flag" ||
 
23632
         test ! -s conftest.err
 
23633
       } && test -s conftest$ac_exeext &&
 
23634
       $as_test_x conftest$ac_exeext; then
 
23635
  { echo "$as_me:$LINENO: result: yes" >&5
 
23636
echo "${ECHO_T}yes" >&6; }
22005
23637
          X_LIBS="$X_LIBS -R $x_libraries"
22006
 
        else
22007
 
          echo "$as_me:$LINENO: result: neither works" >&5
22008
 
echo "${ECHO_T}neither works" >&6
22009
 
        fi
22010
 
      fi
22011
 
      LIBS=$ac_xsave_LIBS
22012
 
    esac
 
23638
else
 
23639
  echo "$as_me: failed program was:" >&5
 
23640
sed 's/^/| /' conftest.$ac_ext >&5
 
23641
 
 
23642
        { echo "$as_me:$LINENO: result: neither works" >&5
 
23643
echo "${ECHO_T}neither works" >&6; }
 
23644
fi
 
23645
 
 
23646
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23647
      conftest$ac_exeext conftest.$ac_ext
 
23648
fi
 
23649
 
 
23650
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
23651
      conftest$ac_exeext conftest.$ac_ext
 
23652
    ac_c_werror_flag=$ac_xsave_c_werror_flag
 
23653
    LIBS=$ac_xsave_LIBS
22013
23654
  fi
22014
23655
 
22015
23656
  # Check for system-dependent libraries X programs must link with.
22030
23671
cat >>conftest.$ac_ext <<_ACEOF
22031
23672
/* end confdefs.h.  */
22032
23673
 
22033
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23674
/* Override any GCC internal prototype to avoid an error.
 
23675
   Use char because int might match the return type of a GCC
 
23676
   builtin and then its argument prototype would still apply.  */
22034
23677
#ifdef __cplusplus
22035
23678
extern "C"
22036
23679
#endif
22037
 
/* We use char because int might match the return type of a gcc2
22038
 
   builtin and then its argument prototype would still apply.  */
22039
23680
char XOpenDisplay ();
22040
23681
int
22041
23682
main ()
22042
23683
{
22043
 
XOpenDisplay ();
 
23684
return XOpenDisplay ();
22044
23685
  ;
22045
23686
  return 0;
22046
23687
}
22047
23688
_ACEOF
22048
23689
rm -f conftest.$ac_objext conftest$ac_exeext
22049
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22050
 
  (eval $ac_link) 2>conftest.er1
 
23690
if { (ac_try="$ac_link"
 
23691
case "(($ac_try" in
 
23692
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23693
  *) ac_try_echo=$ac_try;;
 
23694
esac
 
23695
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23696
  (eval "$ac_link") 2>conftest.er1
22051
23697
  ac_status=$?
22052
23698
  grep -v '^ *+' conftest.er1 >conftest.err
22053
23699
  rm -f conftest.er1
22054
23700
  cat conftest.err >&5
22055
23701
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056
 
  (exit $ac_status); } &&
22057
 
         { ac_try='test -z "$ac_c_werror_flag"
22058
 
                         || test ! -s conftest.err'
22059
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22060
 
  (eval $ac_try) 2>&5
22061
 
  ac_status=$?
22062
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063
 
  (exit $ac_status); }; } &&
22064
 
         { ac_try='test -s conftest$ac_exeext'
22065
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22066
 
  (eval $ac_try) 2>&5
22067
 
  ac_status=$?
22068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069
 
  (exit $ac_status); }; }; then
 
23702
  (exit $ac_status); } && {
 
23703
         test -z "$ac_c_werror_flag" ||
 
23704
         test ! -s conftest.err
 
23705
       } && test -s conftest$ac_exeext &&
 
23706
       $as_test_x conftest$ac_exeext; then
22070
23707
  :
22071
23708
else
22072
23709
  echo "$as_me: failed program was:" >&5
22073
23710
sed 's/^/| /' conftest.$ac_ext >&5
22074
23711
 
22075
 
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22076
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
 
23712
        { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
23713
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
22077
23714
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22078
23715
  echo $ECHO_N "(cached) $ECHO_C" >&6
22079
23716
else
22086
23723
cat >>conftest.$ac_ext <<_ACEOF
22087
23724
/* end confdefs.h.  */
22088
23725
 
22089
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23726
/* Override any GCC internal prototype to avoid an error.
 
23727
   Use char because int might match the return type of a GCC
 
23728
   builtin and then its argument prototype would still apply.  */
22090
23729
#ifdef __cplusplus
22091
23730
extern "C"
22092
23731
#endif
22093
 
/* We use char because int might match the return type of a gcc2
22094
 
   builtin and then its argument prototype would still apply.  */
22095
23732
char dnet_ntoa ();
22096
23733
int
22097
23734
main ()
22098
23735
{
22099
 
dnet_ntoa ();
 
23736
return dnet_ntoa ();
22100
23737
  ;
22101
23738
  return 0;
22102
23739
}
22103
23740
_ACEOF
22104
23741
rm -f conftest.$ac_objext conftest$ac_exeext
22105
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22106
 
  (eval $ac_link) 2>conftest.er1
 
23742
if { (ac_try="$ac_link"
 
23743
case "(($ac_try" in
 
23744
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23745
  *) ac_try_echo=$ac_try;;
 
23746
esac
 
23747
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23748
  (eval "$ac_link") 2>conftest.er1
22107
23749
  ac_status=$?
22108
23750
  grep -v '^ *+' conftest.er1 >conftest.err
22109
23751
  rm -f conftest.er1
22110
23752
  cat conftest.err >&5
22111
23753
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112
 
  (exit $ac_status); } &&
22113
 
         { ac_try='test -z "$ac_c_werror_flag"
22114
 
                         || test ! -s conftest.err'
22115
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116
 
  (eval $ac_try) 2>&5
22117
 
  ac_status=$?
22118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119
 
  (exit $ac_status); }; } &&
22120
 
         { ac_try='test -s conftest$ac_exeext'
22121
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122
 
  (eval $ac_try) 2>&5
22123
 
  ac_status=$?
22124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125
 
  (exit $ac_status); }; }; then
 
23754
  (exit $ac_status); } && {
 
23755
         test -z "$ac_c_werror_flag" ||
 
23756
         test ! -s conftest.err
 
23757
       } && test -s conftest$ac_exeext &&
 
23758
       $as_test_x conftest$ac_exeext; then
22126
23759
  ac_cv_lib_dnet_dnet_ntoa=yes
22127
23760
else
22128
23761
  echo "$as_me: failed program was:" >&5
22129
23762
sed 's/^/| /' conftest.$ac_ext >&5
22130
23763
 
22131
 
ac_cv_lib_dnet_dnet_ntoa=no
 
23764
        ac_cv_lib_dnet_dnet_ntoa=no
22132
23765
fi
22133
 
rm -f conftest.err conftest.$ac_objext \
 
23766
 
 
23767
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22134
23768
      conftest$ac_exeext conftest.$ac_ext
22135
23769
LIBS=$ac_check_lib_save_LIBS
22136
23770
fi
22137
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22138
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
 
23771
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
23772
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22139
23773
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22140
23774
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22141
23775
fi
22142
23776
 
22143
23777
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22144
 
      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22145
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
 
23778
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
23779
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
22146
23780
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22147
23781
  echo $ECHO_N "(cached) $ECHO_C" >&6
22148
23782
else
22155
23789
cat >>conftest.$ac_ext <<_ACEOF
22156
23790
/* end confdefs.h.  */
22157
23791
 
22158
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23792
/* Override any GCC internal prototype to avoid an error.
 
23793
   Use char because int might match the return type of a GCC
 
23794
   builtin and then its argument prototype would still apply.  */
22159
23795
#ifdef __cplusplus
22160
23796
extern "C"
22161
23797
#endif
22162
 
/* We use char because int might match the return type of a gcc2
22163
 
   builtin and then its argument prototype would still apply.  */
22164
23798
char dnet_ntoa ();
22165
23799
int
22166
23800
main ()
22167
23801
{
22168
 
dnet_ntoa ();
 
23802
return dnet_ntoa ();
22169
23803
  ;
22170
23804
  return 0;
22171
23805
}
22172
23806
_ACEOF
22173
23807
rm -f conftest.$ac_objext conftest$ac_exeext
22174
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22175
 
  (eval $ac_link) 2>conftest.er1
 
23808
if { (ac_try="$ac_link"
 
23809
case "(($ac_try" in
 
23810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23811
  *) ac_try_echo=$ac_try;;
 
23812
esac
 
23813
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23814
  (eval "$ac_link") 2>conftest.er1
22176
23815
  ac_status=$?
22177
23816
  grep -v '^ *+' conftest.er1 >conftest.err
22178
23817
  rm -f conftest.er1
22179
23818
  cat conftest.err >&5
22180
23819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181
 
  (exit $ac_status); } &&
22182
 
         { ac_try='test -z "$ac_c_werror_flag"
22183
 
                         || test ! -s conftest.err'
22184
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185
 
  (eval $ac_try) 2>&5
22186
 
  ac_status=$?
22187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188
 
  (exit $ac_status); }; } &&
22189
 
         { ac_try='test -s conftest$ac_exeext'
22190
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22191
 
  (eval $ac_try) 2>&5
22192
 
  ac_status=$?
22193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194
 
  (exit $ac_status); }; }; then
 
23820
  (exit $ac_status); } && {
 
23821
         test -z "$ac_c_werror_flag" ||
 
23822
         test ! -s conftest.err
 
23823
       } && test -s conftest$ac_exeext &&
 
23824
       $as_test_x conftest$ac_exeext; then
22195
23825
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
22196
23826
else
22197
23827
  echo "$as_me: failed program was:" >&5
22198
23828
sed 's/^/| /' conftest.$ac_ext >&5
22199
23829
 
22200
 
ac_cv_lib_dnet_stub_dnet_ntoa=no
 
23830
        ac_cv_lib_dnet_stub_dnet_ntoa=no
22201
23831
fi
22202
 
rm -f conftest.err conftest.$ac_objext \
 
23832
 
 
23833
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22203
23834
      conftest$ac_exeext conftest.$ac_ext
22204
23835
LIBS=$ac_check_lib_save_LIBS
22205
23836
fi
22206
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22207
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
 
23837
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
23838
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
22208
23839
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22209
23840
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22210
23841
fi
22211
23842
 
22212
23843
    fi
22213
23844
fi
22214
 
rm -f conftest.err conftest.$ac_objext \
 
23845
 
 
23846
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22215
23847
      conftest$ac_exeext conftest.$ac_ext
22216
23848
    LIBS="$ac_xsave_LIBS"
22217
23849
 
22223
23855
    # on Irix 5.2, according to T.E. Dickey.
22224
23856
    # The functions gethostbyname, getservbyname, and inet_addr are
22225
23857
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22226
 
    echo "$as_me:$LINENO: checking for gethostbyname" >&5
22227
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
 
23858
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
23859
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
22228
23860
if test "${ac_cv_func_gethostbyname+set}" = set; then
22229
23861
  echo $ECHO_N "(cached) $ECHO_C" >&6
22230
23862
else
22251
23883
 
22252
23884
#undef gethostbyname
22253
23885
 
22254
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23886
/* Override any GCC internal prototype to avoid an error.
 
23887
   Use char because int might match the return type of a GCC
 
23888
   builtin and then its argument prototype would still apply.  */
22255
23889
#ifdef __cplusplus
22256
23890
extern "C"
22257
 
{
22258
23891
#endif
22259
 
/* We use char because int might match the return type of a gcc2
22260
 
   builtin and then its argument prototype would still apply.  */
22261
23892
char gethostbyname ();
22262
23893
/* The GNU C library defines this for functions which it implements
22263
23894
    to always fail with ENOSYS.  Some functions are actually named
22264
23895
    something starting with __ and the normal name is an alias.  */
22265
 
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
 
23896
#if defined __stub_gethostbyname || defined __stub___gethostbyname
22266
23897
choke me
22267
 
#else
22268
 
char (*f) () = gethostbyname;
22269
 
#endif
22270
 
#ifdef __cplusplus
22271
 
}
22272
23898
#endif
22273
23899
 
22274
23900
int
22275
23901
main ()
22276
23902
{
22277
 
return f != gethostbyname;
 
23903
return gethostbyname ();
22278
23904
  ;
22279
23905
  return 0;
22280
23906
}
22281
23907
_ACEOF
22282
23908
rm -f conftest.$ac_objext conftest$ac_exeext
22283
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22284
 
  (eval $ac_link) 2>conftest.er1
 
23909
if { (ac_try="$ac_link"
 
23910
case "(($ac_try" in
 
23911
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23912
  *) ac_try_echo=$ac_try;;
 
23913
esac
 
23914
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23915
  (eval "$ac_link") 2>conftest.er1
22285
23916
  ac_status=$?
22286
23917
  grep -v '^ *+' conftest.er1 >conftest.err
22287
23918
  rm -f conftest.er1
22288
23919
  cat conftest.err >&5
22289
23920
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290
 
  (exit $ac_status); } &&
22291
 
         { ac_try='test -z "$ac_c_werror_flag"
22292
 
                         || test ! -s conftest.err'
22293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22294
 
  (eval $ac_try) 2>&5
22295
 
  ac_status=$?
22296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297
 
  (exit $ac_status); }; } &&
22298
 
         { ac_try='test -s conftest$ac_exeext'
22299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22300
 
  (eval $ac_try) 2>&5
22301
 
  ac_status=$?
22302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303
 
  (exit $ac_status); }; }; then
 
23921
  (exit $ac_status); } && {
 
23922
         test -z "$ac_c_werror_flag" ||
 
23923
         test ! -s conftest.err
 
23924
       } && test -s conftest$ac_exeext &&
 
23925
       $as_test_x conftest$ac_exeext; then
22304
23926
  ac_cv_func_gethostbyname=yes
22305
23927
else
22306
23928
  echo "$as_me: failed program was:" >&5
22307
23929
sed 's/^/| /' conftest.$ac_ext >&5
22308
23930
 
22309
 
ac_cv_func_gethostbyname=no
 
23931
        ac_cv_func_gethostbyname=no
22310
23932
fi
22311
 
rm -f conftest.err conftest.$ac_objext \
 
23933
 
 
23934
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22312
23935
      conftest$ac_exeext conftest.$ac_ext
22313
23936
fi
22314
 
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22315
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
 
23937
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
23938
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
22316
23939
 
22317
23940
    if test $ac_cv_func_gethostbyname = no; then
22318
 
      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22319
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
 
23941
      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
23942
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
22320
23943
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22321
23944
  echo $ECHO_N "(cached) $ECHO_C" >&6
22322
23945
else
22329
23952
cat >>conftest.$ac_ext <<_ACEOF
22330
23953
/* end confdefs.h.  */
22331
23954
 
22332
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23955
/* Override any GCC internal prototype to avoid an error.
 
23956
   Use char because int might match the return type of a GCC
 
23957
   builtin and then its argument prototype would still apply.  */
22333
23958
#ifdef __cplusplus
22334
23959
extern "C"
22335
23960
#endif
22336
 
/* We use char because int might match the return type of a gcc2
22337
 
   builtin and then its argument prototype would still apply.  */
22338
23961
char gethostbyname ();
22339
23962
int
22340
23963
main ()
22341
23964
{
22342
 
gethostbyname ();
 
23965
return gethostbyname ();
22343
23966
  ;
22344
23967
  return 0;
22345
23968
}
22346
23969
_ACEOF
22347
23970
rm -f conftest.$ac_objext conftest$ac_exeext
22348
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22349
 
  (eval $ac_link) 2>conftest.er1
 
23971
if { (ac_try="$ac_link"
 
23972
case "(($ac_try" in
 
23973
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23974
  *) ac_try_echo=$ac_try;;
 
23975
esac
 
23976
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23977
  (eval "$ac_link") 2>conftest.er1
22350
23978
  ac_status=$?
22351
23979
  grep -v '^ *+' conftest.er1 >conftest.err
22352
23980
  rm -f conftest.er1
22353
23981
  cat conftest.err >&5
22354
23982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355
 
  (exit $ac_status); } &&
22356
 
         { ac_try='test -z "$ac_c_werror_flag"
22357
 
                         || test ! -s conftest.err'
22358
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359
 
  (eval $ac_try) 2>&5
22360
 
  ac_status=$?
22361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362
 
  (exit $ac_status); }; } &&
22363
 
         { ac_try='test -s conftest$ac_exeext'
22364
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22365
 
  (eval $ac_try) 2>&5
22366
 
  ac_status=$?
22367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368
 
  (exit $ac_status); }; }; then
 
23983
  (exit $ac_status); } && {
 
23984
         test -z "$ac_c_werror_flag" ||
 
23985
         test ! -s conftest.err
 
23986
       } && test -s conftest$ac_exeext &&
 
23987
       $as_test_x conftest$ac_exeext; then
22369
23988
  ac_cv_lib_nsl_gethostbyname=yes
22370
23989
else
22371
23990
  echo "$as_me: failed program was:" >&5
22372
23991
sed 's/^/| /' conftest.$ac_ext >&5
22373
23992
 
22374
 
ac_cv_lib_nsl_gethostbyname=no
 
23993
        ac_cv_lib_nsl_gethostbyname=no
22375
23994
fi
22376
 
rm -f conftest.err conftest.$ac_objext \
 
23995
 
 
23996
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22377
23997
      conftest$ac_exeext conftest.$ac_ext
22378
23998
LIBS=$ac_check_lib_save_LIBS
22379
23999
fi
22380
 
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22381
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
 
24000
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
24001
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
22382
24002
if test $ac_cv_lib_nsl_gethostbyname = yes; then
22383
24003
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22384
24004
fi
22385
24005
 
22386
24006
      if test $ac_cv_lib_nsl_gethostbyname = no; then
22387
 
        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22388
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
 
24007
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
24008
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
22389
24009
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22390
24010
  echo $ECHO_N "(cached) $ECHO_C" >&6
22391
24011
else
22398
24018
cat >>conftest.$ac_ext <<_ACEOF
22399
24019
/* end confdefs.h.  */
22400
24020
 
22401
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24021
/* Override any GCC internal prototype to avoid an error.
 
24022
   Use char because int might match the return type of a GCC
 
24023
   builtin and then its argument prototype would still apply.  */
22402
24024
#ifdef __cplusplus
22403
24025
extern "C"
22404
24026
#endif
22405
 
/* We use char because int might match the return type of a gcc2
22406
 
   builtin and then its argument prototype would still apply.  */
22407
24027
char gethostbyname ();
22408
24028
int
22409
24029
main ()
22410
24030
{
22411
 
gethostbyname ();
 
24031
return gethostbyname ();
22412
24032
  ;
22413
24033
  return 0;
22414
24034
}
22415
24035
_ACEOF
22416
24036
rm -f conftest.$ac_objext conftest$ac_exeext
22417
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22418
 
  (eval $ac_link) 2>conftest.er1
 
24037
if { (ac_try="$ac_link"
 
24038
case "(($ac_try" in
 
24039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24040
  *) ac_try_echo=$ac_try;;
 
24041
esac
 
24042
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24043
  (eval "$ac_link") 2>conftest.er1
22419
24044
  ac_status=$?
22420
24045
  grep -v '^ *+' conftest.er1 >conftest.err
22421
24046
  rm -f conftest.er1
22422
24047
  cat conftest.err >&5
22423
24048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424
 
  (exit $ac_status); } &&
22425
 
         { ac_try='test -z "$ac_c_werror_flag"
22426
 
                         || test ! -s conftest.err'
22427
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22428
 
  (eval $ac_try) 2>&5
22429
 
  ac_status=$?
22430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431
 
  (exit $ac_status); }; } &&
22432
 
         { ac_try='test -s conftest$ac_exeext'
22433
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22434
 
  (eval $ac_try) 2>&5
22435
 
  ac_status=$?
22436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437
 
  (exit $ac_status); }; }; then
 
24049
  (exit $ac_status); } && {
 
24050
         test -z "$ac_c_werror_flag" ||
 
24051
         test ! -s conftest.err
 
24052
       } && test -s conftest$ac_exeext &&
 
24053
       $as_test_x conftest$ac_exeext; then
22438
24054
  ac_cv_lib_bsd_gethostbyname=yes
22439
24055
else
22440
24056
  echo "$as_me: failed program was:" >&5
22441
24057
sed 's/^/| /' conftest.$ac_ext >&5
22442
24058
 
22443
 
ac_cv_lib_bsd_gethostbyname=no
 
24059
        ac_cv_lib_bsd_gethostbyname=no
22444
24060
fi
22445
 
rm -f conftest.err conftest.$ac_objext \
 
24061
 
 
24062
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22446
24063
      conftest$ac_exeext conftest.$ac_ext
22447
24064
LIBS=$ac_check_lib_save_LIBS
22448
24065
fi
22449
 
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22450
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
 
24066
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
24067
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
22451
24068
if test $ac_cv_lib_bsd_gethostbyname = yes; then
22452
24069
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22453
24070
fi
22462
24079
    # variants that don't use the name server (or something).  -lsocket
22463
24080
    # must be given before -lnsl if both are needed.  We assume that
22464
24081
    # if connect needs -lnsl, so does gethostbyname.
22465
 
    echo "$as_me:$LINENO: checking for connect" >&5
22466
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6
 
24082
    { echo "$as_me:$LINENO: checking for connect" >&5
 
24083
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
22467
24084
if test "${ac_cv_func_connect+set}" = set; then
22468
24085
  echo $ECHO_N "(cached) $ECHO_C" >&6
22469
24086
else
22490
24107
 
22491
24108
#undef connect
22492
24109
 
22493
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24110
/* Override any GCC internal prototype to avoid an error.
 
24111
   Use char because int might match the return type of a GCC
 
24112
   builtin and then its argument prototype would still apply.  */
22494
24113
#ifdef __cplusplus
22495
24114
extern "C"
22496
 
{
22497
24115
#endif
22498
 
/* We use char because int might match the return type of a gcc2
22499
 
   builtin and then its argument prototype would still apply.  */
22500
24116
char connect ();
22501
24117
/* The GNU C library defines this for functions which it implements
22502
24118
    to always fail with ENOSYS.  Some functions are actually named
22503
24119
    something starting with __ and the normal name is an alias.  */
22504
 
#if defined (__stub_connect) || defined (__stub___connect)
 
24120
#if defined __stub_connect || defined __stub___connect
22505
24121
choke me
22506
 
#else
22507
 
char (*f) () = connect;
22508
 
#endif
22509
 
#ifdef __cplusplus
22510
 
}
22511
24122
#endif
22512
24123
 
22513
24124
int
22514
24125
main ()
22515
24126
{
22516
 
return f != connect;
 
24127
return connect ();
22517
24128
  ;
22518
24129
  return 0;
22519
24130
}
22520
24131
_ACEOF
22521
24132
rm -f conftest.$ac_objext conftest$ac_exeext
22522
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22523
 
  (eval $ac_link) 2>conftest.er1
 
24133
if { (ac_try="$ac_link"
 
24134
case "(($ac_try" in
 
24135
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24136
  *) ac_try_echo=$ac_try;;
 
24137
esac
 
24138
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24139
  (eval "$ac_link") 2>conftest.er1
22524
24140
  ac_status=$?
22525
24141
  grep -v '^ *+' conftest.er1 >conftest.err
22526
24142
  rm -f conftest.er1
22527
24143
  cat conftest.err >&5
22528
24144
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529
 
  (exit $ac_status); } &&
22530
 
         { ac_try='test -z "$ac_c_werror_flag"
22531
 
                         || test ! -s conftest.err'
22532
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22533
 
  (eval $ac_try) 2>&5
22534
 
  ac_status=$?
22535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536
 
  (exit $ac_status); }; } &&
22537
 
         { ac_try='test -s conftest$ac_exeext'
22538
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22539
 
  (eval $ac_try) 2>&5
22540
 
  ac_status=$?
22541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542
 
  (exit $ac_status); }; }; then
 
24145
  (exit $ac_status); } && {
 
24146
         test -z "$ac_c_werror_flag" ||
 
24147
         test ! -s conftest.err
 
24148
       } && test -s conftest$ac_exeext &&
 
24149
       $as_test_x conftest$ac_exeext; then
22543
24150
  ac_cv_func_connect=yes
22544
24151
else
22545
24152
  echo "$as_me: failed program was:" >&5
22546
24153
sed 's/^/| /' conftest.$ac_ext >&5
22547
24154
 
22548
 
ac_cv_func_connect=no
 
24155
        ac_cv_func_connect=no
22549
24156
fi
22550
 
rm -f conftest.err conftest.$ac_objext \
 
24157
 
 
24158
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22551
24159
      conftest$ac_exeext conftest.$ac_ext
22552
24160
fi
22553
 
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22554
 
echo "${ECHO_T}$ac_cv_func_connect" >&6
 
24161
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
24162
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
22555
24163
 
22556
24164
    if test $ac_cv_func_connect = no; then
22557
 
      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22558
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
 
24165
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
24166
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
22559
24167
if test "${ac_cv_lib_socket_connect+set}" = set; then
22560
24168
  echo $ECHO_N "(cached) $ECHO_C" >&6
22561
24169
else
22568
24176
cat >>conftest.$ac_ext <<_ACEOF
22569
24177
/* end confdefs.h.  */
22570
24178
 
22571
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24179
/* Override any GCC internal prototype to avoid an error.
 
24180
   Use char because int might match the return type of a GCC
 
24181
   builtin and then its argument prototype would still apply.  */
22572
24182
#ifdef __cplusplus
22573
24183
extern "C"
22574
24184
#endif
22575
 
/* We use char because int might match the return type of a gcc2
22576
 
   builtin and then its argument prototype would still apply.  */
22577
24185
char connect ();
22578
24186
int
22579
24187
main ()
22580
24188
{
22581
 
connect ();
 
24189
return connect ();
22582
24190
  ;
22583
24191
  return 0;
22584
24192
}
22585
24193
_ACEOF
22586
24194
rm -f conftest.$ac_objext conftest$ac_exeext
22587
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22588
 
  (eval $ac_link) 2>conftest.er1
 
24195
if { (ac_try="$ac_link"
 
24196
case "(($ac_try" in
 
24197
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24198
  *) ac_try_echo=$ac_try;;
 
24199
esac
 
24200
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24201
  (eval "$ac_link") 2>conftest.er1
22589
24202
  ac_status=$?
22590
24203
  grep -v '^ *+' conftest.er1 >conftest.err
22591
24204
  rm -f conftest.er1
22592
24205
  cat conftest.err >&5
22593
24206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594
 
  (exit $ac_status); } &&
22595
 
         { ac_try='test -z "$ac_c_werror_flag"
22596
 
                         || test ! -s conftest.err'
22597
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22598
 
  (eval $ac_try) 2>&5
22599
 
  ac_status=$?
22600
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601
 
  (exit $ac_status); }; } &&
22602
 
         { ac_try='test -s conftest$ac_exeext'
22603
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22604
 
  (eval $ac_try) 2>&5
22605
 
  ac_status=$?
22606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607
 
  (exit $ac_status); }; }; then
 
24207
  (exit $ac_status); } && {
 
24208
         test -z "$ac_c_werror_flag" ||
 
24209
         test ! -s conftest.err
 
24210
       } && test -s conftest$ac_exeext &&
 
24211
       $as_test_x conftest$ac_exeext; then
22608
24212
  ac_cv_lib_socket_connect=yes
22609
24213
else
22610
24214
  echo "$as_me: failed program was:" >&5
22611
24215
sed 's/^/| /' conftest.$ac_ext >&5
22612
24216
 
22613
 
ac_cv_lib_socket_connect=no
 
24217
        ac_cv_lib_socket_connect=no
22614
24218
fi
22615
 
rm -f conftest.err conftest.$ac_objext \
 
24219
 
 
24220
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22616
24221
      conftest$ac_exeext conftest.$ac_ext
22617
24222
LIBS=$ac_check_lib_save_LIBS
22618
24223
fi
22619
 
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22620
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
 
24224
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
24225
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
22621
24226
if test $ac_cv_lib_socket_connect = yes; then
22622
24227
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22623
24228
fi
22625
24230
    fi
22626
24231
 
22627
24232
    # Guillermo Gomez says -lposix is necessary on A/UX.
22628
 
    echo "$as_me:$LINENO: checking for remove" >&5
22629
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6
 
24233
    { echo "$as_me:$LINENO: checking for remove" >&5
 
24234
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
22630
24235
if test "${ac_cv_func_remove+set}" = set; then
22631
24236
  echo $ECHO_N "(cached) $ECHO_C" >&6
22632
24237
else
22653
24258
 
22654
24259
#undef remove
22655
24260
 
22656
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24261
/* Override any GCC internal prototype to avoid an error.
 
24262
   Use char because int might match the return type of a GCC
 
24263
   builtin and then its argument prototype would still apply.  */
22657
24264
#ifdef __cplusplus
22658
24265
extern "C"
22659
 
{
22660
24266
#endif
22661
 
/* We use char because int might match the return type of a gcc2
22662
 
   builtin and then its argument prototype would still apply.  */
22663
24267
char remove ();
22664
24268
/* The GNU C library defines this for functions which it implements
22665
24269
    to always fail with ENOSYS.  Some functions are actually named
22666
24270
    something starting with __ and the normal name is an alias.  */
22667
 
#if defined (__stub_remove) || defined (__stub___remove)
 
24271
#if defined __stub_remove || defined __stub___remove
22668
24272
choke me
22669
 
#else
22670
 
char (*f) () = remove;
22671
 
#endif
22672
 
#ifdef __cplusplus
22673
 
}
22674
24273
#endif
22675
24274
 
22676
24275
int
22677
24276
main ()
22678
24277
{
22679
 
return f != remove;
 
24278
return remove ();
22680
24279
  ;
22681
24280
  return 0;
22682
24281
}
22683
24282
_ACEOF
22684
24283
rm -f conftest.$ac_objext conftest$ac_exeext
22685
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22686
 
  (eval $ac_link) 2>conftest.er1
 
24284
if { (ac_try="$ac_link"
 
24285
case "(($ac_try" in
 
24286
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24287
  *) ac_try_echo=$ac_try;;
 
24288
esac
 
24289
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24290
  (eval "$ac_link") 2>conftest.er1
22687
24291
  ac_status=$?
22688
24292
  grep -v '^ *+' conftest.er1 >conftest.err
22689
24293
  rm -f conftest.er1
22690
24294
  cat conftest.err >&5
22691
24295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692
 
  (exit $ac_status); } &&
22693
 
         { ac_try='test -z "$ac_c_werror_flag"
22694
 
                         || test ! -s conftest.err'
22695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696
 
  (eval $ac_try) 2>&5
22697
 
  ac_status=$?
22698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699
 
  (exit $ac_status); }; } &&
22700
 
         { ac_try='test -s conftest$ac_exeext'
22701
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702
 
  (eval $ac_try) 2>&5
22703
 
  ac_status=$?
22704
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705
 
  (exit $ac_status); }; }; then
 
24296
  (exit $ac_status); } && {
 
24297
         test -z "$ac_c_werror_flag" ||
 
24298
         test ! -s conftest.err
 
24299
       } && test -s conftest$ac_exeext &&
 
24300
       $as_test_x conftest$ac_exeext; then
22706
24301
  ac_cv_func_remove=yes
22707
24302
else
22708
24303
  echo "$as_me: failed program was:" >&5
22709
24304
sed 's/^/| /' conftest.$ac_ext >&5
22710
24305
 
22711
 
ac_cv_func_remove=no
 
24306
        ac_cv_func_remove=no
22712
24307
fi
22713
 
rm -f conftest.err conftest.$ac_objext \
 
24308
 
 
24309
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22714
24310
      conftest$ac_exeext conftest.$ac_ext
22715
24311
fi
22716
 
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22717
 
echo "${ECHO_T}$ac_cv_func_remove" >&6
 
24312
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 
24313
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
22718
24314
 
22719
24315
    if test $ac_cv_func_remove = no; then
22720
 
      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22721
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
 
24316
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
24317
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
22722
24318
if test "${ac_cv_lib_posix_remove+set}" = set; then
22723
24319
  echo $ECHO_N "(cached) $ECHO_C" >&6
22724
24320
else
22731
24327
cat >>conftest.$ac_ext <<_ACEOF
22732
24328
/* end confdefs.h.  */
22733
24329
 
22734
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24330
/* Override any GCC internal prototype to avoid an error.
 
24331
   Use char because int might match the return type of a GCC
 
24332
   builtin and then its argument prototype would still apply.  */
22735
24333
#ifdef __cplusplus
22736
24334
extern "C"
22737
24335
#endif
22738
 
/* We use char because int might match the return type of a gcc2
22739
 
   builtin and then its argument prototype would still apply.  */
22740
24336
char remove ();
22741
24337
int
22742
24338
main ()
22743
24339
{
22744
 
remove ();
 
24340
return remove ();
22745
24341
  ;
22746
24342
  return 0;
22747
24343
}
22748
24344
_ACEOF
22749
24345
rm -f conftest.$ac_objext conftest$ac_exeext
22750
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22751
 
  (eval $ac_link) 2>conftest.er1
 
24346
if { (ac_try="$ac_link"
 
24347
case "(($ac_try" in
 
24348
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24349
  *) ac_try_echo=$ac_try;;
 
24350
esac
 
24351
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24352
  (eval "$ac_link") 2>conftest.er1
22752
24353
  ac_status=$?
22753
24354
  grep -v '^ *+' conftest.er1 >conftest.err
22754
24355
  rm -f conftest.er1
22755
24356
  cat conftest.err >&5
22756
24357
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757
 
  (exit $ac_status); } &&
22758
 
         { ac_try='test -z "$ac_c_werror_flag"
22759
 
                         || test ! -s conftest.err'
22760
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761
 
  (eval $ac_try) 2>&5
22762
 
  ac_status=$?
22763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764
 
  (exit $ac_status); }; } &&
22765
 
         { ac_try='test -s conftest$ac_exeext'
22766
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767
 
  (eval $ac_try) 2>&5
22768
 
  ac_status=$?
22769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770
 
  (exit $ac_status); }; }; then
 
24358
  (exit $ac_status); } && {
 
24359
         test -z "$ac_c_werror_flag" ||
 
24360
         test ! -s conftest.err
 
24361
       } && test -s conftest$ac_exeext &&
 
24362
       $as_test_x conftest$ac_exeext; then
22771
24363
  ac_cv_lib_posix_remove=yes
22772
24364
else
22773
24365
  echo "$as_me: failed program was:" >&5
22774
24366
sed 's/^/| /' conftest.$ac_ext >&5
22775
24367
 
22776
 
ac_cv_lib_posix_remove=no
 
24368
        ac_cv_lib_posix_remove=no
22777
24369
fi
22778
 
rm -f conftest.err conftest.$ac_objext \
 
24370
 
 
24371
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22779
24372
      conftest$ac_exeext conftest.$ac_ext
22780
24373
LIBS=$ac_check_lib_save_LIBS
22781
24374
fi
22782
 
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22783
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
 
24375
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
24376
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
22784
24377
if test $ac_cv_lib_posix_remove = yes; then
22785
24378
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22786
24379
fi
22788
24381
    fi
22789
24382
 
22790
24383
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22791
 
    echo "$as_me:$LINENO: checking for shmat" >&5
22792
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
 
24384
    { echo "$as_me:$LINENO: checking for shmat" >&5
 
24385
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
22793
24386
if test "${ac_cv_func_shmat+set}" = set; then
22794
24387
  echo $ECHO_N "(cached) $ECHO_C" >&6
22795
24388
else
22816
24409
 
22817
24410
#undef shmat
22818
24411
 
22819
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24412
/* Override any GCC internal prototype to avoid an error.
 
24413
   Use char because int might match the return type of a GCC
 
24414
   builtin and then its argument prototype would still apply.  */
22820
24415
#ifdef __cplusplus
22821
24416
extern "C"
22822
 
{
22823
24417
#endif
22824
 
/* We use char because int might match the return type of a gcc2
22825
 
   builtin and then its argument prototype would still apply.  */
22826
24418
char shmat ();
22827
24419
/* The GNU C library defines this for functions which it implements
22828
24420
    to always fail with ENOSYS.  Some functions are actually named
22829
24421
    something starting with __ and the normal name is an alias.  */
22830
 
#if defined (__stub_shmat) || defined (__stub___shmat)
 
24422
#if defined __stub_shmat || defined __stub___shmat
22831
24423
choke me
22832
 
#else
22833
 
char (*f) () = shmat;
22834
 
#endif
22835
 
#ifdef __cplusplus
22836
 
}
22837
24424
#endif
22838
24425
 
22839
24426
int
22840
24427
main ()
22841
24428
{
22842
 
return f != shmat;
 
24429
return shmat ();
22843
24430
  ;
22844
24431
  return 0;
22845
24432
}
22846
24433
_ACEOF
22847
24434
rm -f conftest.$ac_objext conftest$ac_exeext
22848
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22849
 
  (eval $ac_link) 2>conftest.er1
 
24435
if { (ac_try="$ac_link"
 
24436
case "(($ac_try" in
 
24437
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24438
  *) ac_try_echo=$ac_try;;
 
24439
esac
 
24440
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24441
  (eval "$ac_link") 2>conftest.er1
22850
24442
  ac_status=$?
22851
24443
  grep -v '^ *+' conftest.er1 >conftest.err
22852
24444
  rm -f conftest.er1
22853
24445
  cat conftest.err >&5
22854
24446
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855
 
  (exit $ac_status); } &&
22856
 
         { ac_try='test -z "$ac_c_werror_flag"
22857
 
                         || test ! -s conftest.err'
22858
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22859
 
  (eval $ac_try) 2>&5
22860
 
  ac_status=$?
22861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862
 
  (exit $ac_status); }; } &&
22863
 
         { ac_try='test -s conftest$ac_exeext'
22864
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22865
 
  (eval $ac_try) 2>&5
22866
 
  ac_status=$?
22867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868
 
  (exit $ac_status); }; }; then
 
24447
  (exit $ac_status); } && {
 
24448
         test -z "$ac_c_werror_flag" ||
 
24449
         test ! -s conftest.err
 
24450
       } && test -s conftest$ac_exeext &&
 
24451
       $as_test_x conftest$ac_exeext; then
22869
24452
  ac_cv_func_shmat=yes
22870
24453
else
22871
24454
  echo "$as_me: failed program was:" >&5
22872
24455
sed 's/^/| /' conftest.$ac_ext >&5
22873
24456
 
22874
 
ac_cv_func_shmat=no
 
24457
        ac_cv_func_shmat=no
22875
24458
fi
22876
 
rm -f conftest.err conftest.$ac_objext \
 
24459
 
 
24460
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22877
24461
      conftest$ac_exeext conftest.$ac_ext
22878
24462
fi
22879
 
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22880
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6
 
24463
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 
24464
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
22881
24465
 
22882
24466
    if test $ac_cv_func_shmat = no; then
22883
 
      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22884
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
 
24467
      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
24468
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
22885
24469
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22886
24470
  echo $ECHO_N "(cached) $ECHO_C" >&6
22887
24471
else
22894
24478
cat >>conftest.$ac_ext <<_ACEOF
22895
24479
/* end confdefs.h.  */
22896
24480
 
22897
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24481
/* Override any GCC internal prototype to avoid an error.
 
24482
   Use char because int might match the return type of a GCC
 
24483
   builtin and then its argument prototype would still apply.  */
22898
24484
#ifdef __cplusplus
22899
24485
extern "C"
22900
24486
#endif
22901
 
/* We use char because int might match the return type of a gcc2
22902
 
   builtin and then its argument prototype would still apply.  */
22903
24487
char shmat ();
22904
24488
int
22905
24489
main ()
22906
24490
{
22907
 
shmat ();
 
24491
return shmat ();
22908
24492
  ;
22909
24493
  return 0;
22910
24494
}
22911
24495
_ACEOF
22912
24496
rm -f conftest.$ac_objext conftest$ac_exeext
22913
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22914
 
  (eval $ac_link) 2>conftest.er1
 
24497
if { (ac_try="$ac_link"
 
24498
case "(($ac_try" in
 
24499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24500
  *) ac_try_echo=$ac_try;;
 
24501
esac
 
24502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24503
  (eval "$ac_link") 2>conftest.er1
22915
24504
  ac_status=$?
22916
24505
  grep -v '^ *+' conftest.er1 >conftest.err
22917
24506
  rm -f conftest.er1
22918
24507
  cat conftest.err >&5
22919
24508
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920
 
  (exit $ac_status); } &&
22921
 
         { ac_try='test -z "$ac_c_werror_flag"
22922
 
                         || test ! -s conftest.err'
22923
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22924
 
  (eval $ac_try) 2>&5
22925
 
  ac_status=$?
22926
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927
 
  (exit $ac_status); }; } &&
22928
 
         { ac_try='test -s conftest$ac_exeext'
22929
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22930
 
  (eval $ac_try) 2>&5
22931
 
  ac_status=$?
22932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933
 
  (exit $ac_status); }; }; then
 
24509
  (exit $ac_status); } && {
 
24510
         test -z "$ac_c_werror_flag" ||
 
24511
         test ! -s conftest.err
 
24512
       } && test -s conftest$ac_exeext &&
 
24513
       $as_test_x conftest$ac_exeext; then
22934
24514
  ac_cv_lib_ipc_shmat=yes
22935
24515
else
22936
24516
  echo "$as_me: failed program was:" >&5
22937
24517
sed 's/^/| /' conftest.$ac_ext >&5
22938
24518
 
22939
 
ac_cv_lib_ipc_shmat=no
 
24519
        ac_cv_lib_ipc_shmat=no
22940
24520
fi
22941
 
rm -f conftest.err conftest.$ac_objext \
 
24521
 
 
24522
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22942
24523
      conftest$ac_exeext conftest.$ac_ext
22943
24524
LIBS=$ac_check_lib_save_LIBS
22944
24525
fi
22945
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22946
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
 
24526
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
24527
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
22947
24528
if test $ac_cv_lib_ipc_shmat = yes; then
22948
24529
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22949
24530
fi
22960
24541
  # These have to be linked with before -lX11, unlike the other
22961
24542
  # libraries we check for below, so use a different variable.
22962
24543
  # John Interrante, Karl Berry
22963
 
  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22964
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
 
24544
  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
24545
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
22965
24546
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22966
24547
  echo $ECHO_N "(cached) $ECHO_C" >&6
22967
24548
else
22974
24555
cat >>conftest.$ac_ext <<_ACEOF
22975
24556
/* end confdefs.h.  */
22976
24557
 
22977
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24558
/* Override any GCC internal prototype to avoid an error.
 
24559
   Use char because int might match the return type of a GCC
 
24560
   builtin and then its argument prototype would still apply.  */
22978
24561
#ifdef __cplusplus
22979
24562
extern "C"
22980
24563
#endif
22981
 
/* We use char because int might match the return type of a gcc2
22982
 
   builtin and then its argument prototype would still apply.  */
22983
24564
char IceConnectionNumber ();
22984
24565
int
22985
24566
main ()
22986
24567
{
22987
 
IceConnectionNumber ();
 
24568
return IceConnectionNumber ();
22988
24569
  ;
22989
24570
  return 0;
22990
24571
}
22991
24572
_ACEOF
22992
24573
rm -f conftest.$ac_objext conftest$ac_exeext
22993
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22994
 
  (eval $ac_link) 2>conftest.er1
 
24574
if { (ac_try="$ac_link"
 
24575
case "(($ac_try" in
 
24576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24577
  *) ac_try_echo=$ac_try;;
 
24578
esac
 
24579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24580
  (eval "$ac_link") 2>conftest.er1
22995
24581
  ac_status=$?
22996
24582
  grep -v '^ *+' conftest.er1 >conftest.err
22997
24583
  rm -f conftest.er1
22998
24584
  cat conftest.err >&5
22999
24585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000
 
  (exit $ac_status); } &&
23001
 
         { ac_try='test -z "$ac_c_werror_flag"
23002
 
                         || test ! -s conftest.err'
23003
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23004
 
  (eval $ac_try) 2>&5
23005
 
  ac_status=$?
23006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007
 
  (exit $ac_status); }; } &&
23008
 
         { ac_try='test -s conftest$ac_exeext'
23009
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23010
 
  (eval $ac_try) 2>&5
23011
 
  ac_status=$?
23012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013
 
  (exit $ac_status); }; }; then
 
24586
  (exit $ac_status); } && {
 
24587
         test -z "$ac_c_werror_flag" ||
 
24588
         test ! -s conftest.err
 
24589
       } && test -s conftest$ac_exeext &&
 
24590
       $as_test_x conftest$ac_exeext; then
23014
24591
  ac_cv_lib_ICE_IceConnectionNumber=yes
23015
24592
else
23016
24593
  echo "$as_me: failed program was:" >&5
23017
24594
sed 's/^/| /' conftest.$ac_ext >&5
23018
24595
 
23019
 
ac_cv_lib_ICE_IceConnectionNumber=no
 
24596
        ac_cv_lib_ICE_IceConnectionNumber=no
23020
24597
fi
23021
 
rm -f conftest.err conftest.$ac_objext \
 
24598
 
 
24599
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23022
24600
      conftest$ac_exeext conftest.$ac_ext
23023
24601
LIBS=$ac_check_lib_save_LIBS
23024
24602
fi
23025
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23026
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
 
24603
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
24604
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23027
24605
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23028
24606
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23029
24607
fi
23057
24635
#
23058
24636
# Check for gnutls
23059
24637
#
23060
 
# Check whether --enable-gnutls or --disable-gnutls was given.
 
24638
# Check whether --enable-gnutls was given.
23061
24639
if test "${enable_gnutls+set}" = set; then
23062
 
  enableval="$enable_gnutls"
23063
 
 
 
24640
  enableval=$enable_gnutls;
23064
24641
else
23065
24642
  enable_gnutls=yes
23066
 
fi;
 
24643
fi
 
24644
 
23067
24645
if test "$enable_gnutls" = "yes"; then
23068
24646
 
23069
 
# Check whether --with-libgnutls-prefix or --without-libgnutls-prefix was given.
 
24647
# Check whether --with-libgnutls-prefix was given.
23070
24648
if test "${with_libgnutls_prefix+set}" = set; then
23071
 
  withval="$with_libgnutls_prefix"
23072
 
  libgnutls_config_prefix="$withval"
 
24649
  withval=$with_libgnutls_prefix; libgnutls_config_prefix="$withval"
23073
24650
else
23074
24651
  libgnutls_config_prefix=""
23075
 
fi;
 
24652
fi
 
24653
 
23076
24654
 
23077
24655
  if test x$libgnutls_config_prefix != x ; then
23078
24656
     if test x${LIBGNUTLS_CONFIG+set} != xset ; then
23082
24660
 
23083
24661
  # Extract the first word of "libgnutls-config", so it can be a program name with args.
23084
24662
set dummy libgnutls-config; ac_word=$2
23085
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
23086
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
24663
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
24664
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23087
24665
if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
23088
24666
  echo $ECHO_N "(cached) $ECHO_C" >&6
23089
24667
else
23098
24676
  IFS=$as_save_IFS
23099
24677
  test -z "$as_dir" && as_dir=.
23100
24678
  for ac_exec_ext in '' $ac_executable_extensions; do
23101
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
24679
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23102
24680
    ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23103
24681
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23104
24682
    break 2
23105
24683
  fi
23106
24684
done
23107
24685
done
 
24686
IFS=$as_save_IFS
23108
24687
 
23109
24688
  test -z "$ac_cv_path_LIBGNUTLS_CONFIG" && ac_cv_path_LIBGNUTLS_CONFIG="no"
23110
24689
  ;;
23111
24690
esac
23112
24691
fi
23113
24692
LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
23114
 
 
23115
24693
if test -n "$LIBGNUTLS_CONFIG"; then
23116
 
  echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
23117
 
echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6
 
24694
  { echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
 
24695
echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6; }
23118
24696
else
23119
 
  echo "$as_me:$LINENO: result: no" >&5
23120
 
echo "${ECHO_T}no" >&6
 
24697
  { echo "$as_me:$LINENO: result: no" >&5
 
24698
echo "${ECHO_T}no" >&6; }
23121
24699
fi
23122
24700
 
 
24701
 
23123
24702
  min_libgnutls_version=1.0.0
23124
 
  echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
23125
 
echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6
 
24703
  { echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
 
24704
echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6; }
23126
24705
  no_libgnutls=""
23127
24706
  if test "$LIBGNUTLS_CONFIG" = "no" ; then
23128
24707
    no_libgnutls=yes
23203
24782
 
23204
24783
_ACEOF
23205
24784
rm -f conftest$ac_exeext
23206
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23207
 
  (eval $ac_link) 2>&5
 
24785
if { (ac_try="$ac_link"
 
24786
case "(($ac_try" in
 
24787
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24788
  *) ac_try_echo=$ac_try;;
 
24789
esac
 
24790
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24791
  (eval "$ac_link") 2>&5
23208
24792
  ac_status=$?
23209
24793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210
24794
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23211
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23212
 
  (eval $ac_try) 2>&5
 
24795
  { (case "(($ac_try" in
 
24796
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24797
  *) ac_try_echo=$ac_try;;
 
24798
esac
 
24799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24800
  (eval "$ac_try") 2>&5
23213
24801
  ac_status=$?
23214
24802
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215
24803
  (exit $ac_status); }; }; then
23222
24810
( exit $ac_status )
23223
24811
no_libgnutls=yes
23224
24812
fi
23225
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24813
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23226
24814
fi
 
24815
 
 
24816
 
23227
24817
       CFLAGS="$ac_save_CFLAGS"
23228
24818
       LIBS="$ac_save_LIBS"
23229
24819
  fi
23230
24820
 
23231
24821
  if test "x$no_libgnutls" = x ; then
23232
 
     echo "$as_me:$LINENO: result: yes" >&5
23233
 
echo "${ECHO_T}yes" >&6
 
24822
     { echo "$as_me:$LINENO: result: yes" >&5
 
24823
echo "${ECHO_T}yes" >&6; }
23234
24824
 
23235
24825
cat >>confdefs.h <<\_ACEOF
23236
24826
#define HAVE_GNUTLS 1
23240
24830
     if test -f conf.libgnutlstest ; then
23241
24831
        :
23242
24832
     else
23243
 
        echo "$as_me:$LINENO: result: no" >&5
23244
 
echo "${ECHO_T}no" >&6
 
24833
        { echo "$as_me:$LINENO: result: no" >&5
 
24834
echo "${ECHO_T}no" >&6; }
23245
24835
     fi
23246
24836
     if test "$LIBGNUTLS_CONFIG" = "no" ; then
23247
24837
       echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found"
23276
24866
}
23277
24867
_ACEOF
23278
24868
rm -f conftest.$ac_objext conftest$ac_exeext
23279
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23280
 
  (eval $ac_link) 2>conftest.er1
 
24869
if { (ac_try="$ac_link"
 
24870
case "(($ac_try" in
 
24871
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24872
  *) ac_try_echo=$ac_try;;
 
24873
esac
 
24874
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24875
  (eval "$ac_link") 2>conftest.er1
23281
24876
  ac_status=$?
23282
24877
  grep -v '^ *+' conftest.er1 >conftest.err
23283
24878
  rm -f conftest.er1
23284
24879
  cat conftest.err >&5
23285
24880
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286
 
  (exit $ac_status); } &&
23287
 
         { ac_try='test -z "$ac_c_werror_flag"
23288
 
                         || test ! -s conftest.err'
23289
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290
 
  (eval $ac_try) 2>&5
23291
 
  ac_status=$?
23292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293
 
  (exit $ac_status); }; } &&
23294
 
         { ac_try='test -s conftest$ac_exeext'
23295
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296
 
  (eval $ac_try) 2>&5
23297
 
  ac_status=$?
23298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299
 
  (exit $ac_status); }; }; then
 
24881
  (exit $ac_status); } && {
 
24882
         test -z "$ac_c_werror_flag" ||
 
24883
         test ! -s conftest.err
 
24884
       } && test -s conftest$ac_exeext &&
 
24885
       $as_test_x conftest$ac_exeext; then
23300
24886
   echo "*** The test program compiled, but did not run. This usually means"
23301
24887
          echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
23302
24888
          echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
23311
24897
  echo "$as_me: failed program was:" >&5
23312
24898
sed 's/^/| /' conftest.$ac_ext >&5
23313
24899
 
23314
 
 echo "*** The test program failed to compile or link. See the file config.log for the"
 
24900
         echo "*** The test program failed to compile or link. See the file config.log for the"
23315
24901
          echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed"
23316
24902
          echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you"
23317
24903
          echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG"
23318
24904
fi
23319
 
rm -f conftest.err conftest.$ac_objext \
 
24905
 
 
24906
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23320
24907
      conftest$ac_exeext conftest.$ac_ext
23321
24908
          CFLAGS="$ac_save_CFLAGS"
23322
24909
          LIBS="$ac_save_LIBS"
23344
24931
#
23345
24932
# Check for gcrypt
23346
24933
#
23347
 
# Check whether --enable-gcrypt or --disable-gcrypt was given.
 
24934
# Check whether --enable-gcrypt was given.
23348
24935
if test "${enable_gcrypt+set}" = set; then
23349
 
  enableval="$enable_gcrypt"
23350
 
 
 
24936
  enableval=$enable_gcrypt;
23351
24937
else
23352
24938
  enable_gcrypt=yes
23353
 
fi;
 
24939
fi
 
24940
 
23354
24941
if test "$enable_gcrypt" = "yes"; then
23355
24942
 
23356
 
# Check whether --with-libgcrypt-prefix or --without-libgcrypt-prefix was given.
 
24943
# Check whether --with-libgcrypt-prefix was given.
23357
24944
if test "${with_libgcrypt_prefix+set}" = set; then
23358
 
  withval="$with_libgcrypt_prefix"
23359
 
  libgcrypt_config_prefix="$withval"
 
24945
  withval=$with_libgcrypt_prefix; libgcrypt_config_prefix="$withval"
23360
24946
else
23361
24947
  libgcrypt_config_prefix=""
23362
 
fi;
 
24948
fi
 
24949
 
23363
24950
  if test x$libgcrypt_config_prefix != x ; then
23364
24951
     if test x${LIBGCRYPT_CONFIG+set} != xset ; then
23365
24952
        LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
23368
24955
 
23369
24956
  # Extract the first word of "libgcrypt-config", so it can be a program name with args.
23370
24957
set dummy libgcrypt-config; ac_word=$2
23371
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
23372
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
24958
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
24959
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23373
24960
if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then
23374
24961
  echo $ECHO_N "(cached) $ECHO_C" >&6
23375
24962
else
23384
24971
  IFS=$as_save_IFS
23385
24972
  test -z "$as_dir" && as_dir=.
23386
24973
  for ac_exec_ext in '' $ac_executable_extensions; do
23387
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
24974
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23388
24975
    ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23389
24976
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23390
24977
    break 2
23391
24978
  fi
23392
24979
done
23393
24980
done
 
24981
IFS=$as_save_IFS
23394
24982
 
23395
24983
  test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no"
23396
24984
  ;;
23397
24985
esac
23398
24986
fi
23399
24987
LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
23400
 
 
23401
24988
if test -n "$LIBGCRYPT_CONFIG"; then
23402
 
  echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
23403
 
echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6
 
24989
  { echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
 
24990
echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6; }
23404
24991
else
23405
 
  echo "$as_me:$LINENO: result: no" >&5
23406
 
echo "${ECHO_T}no" >&6
 
24992
  { echo "$as_me:$LINENO: result: no" >&5
 
24993
echo "${ECHO_T}no" >&6; }
23407
24994
fi
23408
24995
 
 
24996
 
23409
24997
  tmp=1.1.90
23410
24998
  if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
23411
24999
     req_libgcrypt_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
23415
25003
     min_libgcrypt_version="$tmp"
23416
25004
  fi
23417
25005
 
23418
 
  echo "$as_me:$LINENO: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
23419
 
echo $ECHO_N "checking for LIBGCRYPT - version >= $min_libgcrypt_version... $ECHO_C" >&6
 
25006
  { echo "$as_me:$LINENO: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
 
25007
echo $ECHO_N "checking for LIBGCRYPT - version >= $min_libgcrypt_version... $ECHO_C" >&6; }
23420
25008
  ok=no
23421
25009
  if test "$LIBGCRYPT_CONFIG" != "no" ; then
23422
25010
    req_major=`echo $min_libgcrypt_version | \
23449
25037
    fi
23450
25038
  fi
23451
25039
  if test $ok = yes; then
23452
 
    echo "$as_me:$LINENO: result: yes" >&5
23453
 
echo "${ECHO_T}yes" >&6
 
25040
    { echo "$as_me:$LINENO: result: yes" >&5
 
25041
echo "${ECHO_T}yes" >&6; }
23454
25042
  else
23455
 
    echo "$as_me:$LINENO: result: no" >&5
23456
 
echo "${ECHO_T}no" >&6
 
25043
    { echo "$as_me:$LINENO: result: no" >&5
 
25044
echo "${ECHO_T}no" >&6; }
23457
25045
  fi
23458
25046
  if test $ok = yes; then
23459
25047
     # If we have a recent libgcrypt, we should also check that the
23461
25049
     if test "$req_libgcrypt_api" -gt 0 ; then
23462
25050
        tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
23463
25051
        if test "$tmp" -gt 0 ; then
23464
 
           echo "$as_me:$LINENO: checking LIBGCRYPT API version" >&5
23465
 
echo $ECHO_N "checking LIBGCRYPT API version... $ECHO_C" >&6
 
25052
           { echo "$as_me:$LINENO: checking LIBGCRYPT API version" >&5
 
25053
echo $ECHO_N "checking LIBGCRYPT API version... $ECHO_C" >&6; }
23466
25054
           if test "$req_libgcrypt_api" -eq "$tmp" ; then
23467
 
             echo "$as_me:$LINENO: result: okay" >&5
23468
 
echo "${ECHO_T}okay" >&6
 
25055
             { echo "$as_me:$LINENO: result: okay" >&5
 
25056
echo "${ECHO_T}okay" >&6; }
23469
25057
           else
23470
25058
             ok=no
23471
 
             echo "$as_me:$LINENO: result: does not match (want=$req_libgcrypt_api got=$tmp)" >&5
23472
 
echo "${ECHO_T}does not match (want=$req_libgcrypt_api got=$tmp)" >&6
 
25059
             { echo "$as_me:$LINENO: result: does not match (want=$req_libgcrypt_api got=$tmp)" >&5
 
25060
echo "${ECHO_T}does not match (want=$req_libgcrypt_api got=$tmp)" >&6; }
23473
25061
           fi
23474
25062
        fi
23475
25063
     fi
23505
25093
# Check for XDAMAGE extension
23506
25094
#
23507
25095
XSHM_LIBS=
23508
 
echo "$as_me:$LINENO: checking for X11/extensions/Xdamage.h" >&5
23509
 
echo $ECHO_N "checking for X11/extensions/Xdamage.h... $ECHO_C" >&6
 
25096
{ echo "$as_me:$LINENO: checking for X11/extensions/Xdamage.h" >&5
 
25097
echo $ECHO_N "checking for X11/extensions/Xdamage.h... $ECHO_C" >&6; }
23510
25098
if test "${ac_cv_header_X11_extensions_Xdamage_h+set}" = set; then
23511
25099
  echo $ECHO_N "(cached) $ECHO_C" >&6
23512
25100
else
23521
25109
#include <X11/extensions/Xdamage.h>
23522
25110
_ACEOF
23523
25111
rm -f conftest.$ac_objext
23524
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23525
 
  (eval $ac_compile) 2>conftest.er1
 
25112
if { (ac_try="$ac_compile"
 
25113
case "(($ac_try" in
 
25114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25115
  *) ac_try_echo=$ac_try;;
 
25116
esac
 
25117
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25118
  (eval "$ac_compile") 2>conftest.er1
23526
25119
  ac_status=$?
23527
25120
  grep -v '^ *+' conftest.er1 >conftest.err
23528
25121
  rm -f conftest.er1
23529
25122
  cat conftest.err >&5
23530
25123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531
 
  (exit $ac_status); } &&
23532
 
         { ac_try='test -z "$ac_c_werror_flag"
23533
 
                         || test ! -s conftest.err'
23534
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535
 
  (eval $ac_try) 2>&5
23536
 
  ac_status=$?
23537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538
 
  (exit $ac_status); }; } &&
23539
 
         { ac_try='test -s conftest.$ac_objext'
23540
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23541
 
  (eval $ac_try) 2>&5
23542
 
  ac_status=$?
23543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544
 
  (exit $ac_status); }; }; then
 
25124
  (exit $ac_status); } && {
 
25125
         test -z "$ac_c_werror_flag" ||
 
25126
         test ! -s conftest.err
 
25127
       } && test -s conftest.$ac_objext; then
23545
25128
  ac_cv_header_X11_extensions_Xdamage_h=yes
23546
25129
else
23547
25130
  echo "$as_me: failed program was:" >&5
23548
25131
sed 's/^/| /' conftest.$ac_ext >&5
23549
25132
 
23550
 
ac_cv_header_X11_extensions_Xdamage_h=no
23551
 
fi
23552
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23553
 
fi
23554
 
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xdamage_h" >&5
23555
 
echo "${ECHO_T}$ac_cv_header_X11_extensions_Xdamage_h" >&6
 
25133
        ac_cv_header_X11_extensions_Xdamage_h=no
 
25134
fi
 
25135
 
 
25136
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25137
fi
 
25138
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xdamage_h" >&5
 
25139
echo "${ECHO_T}$ac_cv_header_X11_extensions_Xdamage_h" >&6; }
23556
25140
if test $ac_cv_header_X11_extensions_Xdamage_h = yes; then
23557
25141
 
23558
 
    echo "$as_me:$LINENO: checking for XDamageQueryExtension in -lXdamage" >&5
23559
 
echo $ECHO_N "checking for XDamageQueryExtension in -lXdamage... $ECHO_C" >&6
 
25142
    { echo "$as_me:$LINENO: checking for XDamageQueryExtension in -lXdamage" >&5
 
25143
echo $ECHO_N "checking for XDamageQueryExtension in -lXdamage... $ECHO_C" >&6; }
23560
25144
if test "${ac_cv_lib_Xdamage_XDamageQueryExtension+set}" = set; then
23561
25145
  echo $ECHO_N "(cached) $ECHO_C" >&6
23562
25146
else
23569
25153
cat >>conftest.$ac_ext <<_ACEOF
23570
25154
/* end confdefs.h.  */
23571
25155
 
23572
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25156
/* Override any GCC internal prototype to avoid an error.
 
25157
   Use char because int might match the return type of a GCC
 
25158
   builtin and then its argument prototype would still apply.  */
23573
25159
#ifdef __cplusplus
23574
25160
extern "C"
23575
25161
#endif
23576
 
/* We use char because int might match the return type of a gcc2
23577
 
   builtin and then its argument prototype would still apply.  */
23578
25162
char XDamageQueryExtension ();
23579
25163
int
23580
25164
main ()
23581
25165
{
23582
 
XDamageQueryExtension ();
 
25166
return XDamageQueryExtension ();
23583
25167
  ;
23584
25168
  return 0;
23585
25169
}
23586
25170
_ACEOF
23587
25171
rm -f conftest.$ac_objext conftest$ac_exeext
23588
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23589
 
  (eval $ac_link) 2>conftest.er1
 
25172
if { (ac_try="$ac_link"
 
25173
case "(($ac_try" in
 
25174
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25175
  *) ac_try_echo=$ac_try;;
 
25176
esac
 
25177
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25178
  (eval "$ac_link") 2>conftest.er1
23590
25179
  ac_status=$?
23591
25180
  grep -v '^ *+' conftest.er1 >conftest.err
23592
25181
  rm -f conftest.er1
23593
25182
  cat conftest.err >&5
23594
25183
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595
 
  (exit $ac_status); } &&
23596
 
         { ac_try='test -z "$ac_c_werror_flag"
23597
 
                         || test ! -s conftest.err'
23598
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23599
 
  (eval $ac_try) 2>&5
23600
 
  ac_status=$?
23601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602
 
  (exit $ac_status); }; } &&
23603
 
         { ac_try='test -s conftest$ac_exeext'
23604
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605
 
  (eval $ac_try) 2>&5
23606
 
  ac_status=$?
23607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608
 
  (exit $ac_status); }; }; then
 
25184
  (exit $ac_status); } && {
 
25185
         test -z "$ac_c_werror_flag" ||
 
25186
         test ! -s conftest.err
 
25187
       } && test -s conftest$ac_exeext &&
 
25188
       $as_test_x conftest$ac_exeext; then
23609
25189
  ac_cv_lib_Xdamage_XDamageQueryExtension=yes
23610
25190
else
23611
25191
  echo "$as_me: failed program was:" >&5
23612
25192
sed 's/^/| /' conftest.$ac_ext >&5
23613
25193
 
23614
 
ac_cv_lib_Xdamage_XDamageQueryExtension=no
 
25194
        ac_cv_lib_Xdamage_XDamageQueryExtension=no
23615
25195
fi
23616
 
rm -f conftest.err conftest.$ac_objext \
 
25196
 
 
25197
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23617
25198
      conftest$ac_exeext conftest.$ac_ext
23618
25199
LIBS=$ac_check_lib_save_LIBS
23619
25200
fi
23620
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xdamage_XDamageQueryExtension" >&5
23621
 
echo "${ECHO_T}$ac_cv_lib_Xdamage_XDamageQueryExtension" >&6
 
25201
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xdamage_XDamageQueryExtension" >&5
 
25202
echo "${ECHO_T}$ac_cv_lib_Xdamage_XDamageQueryExtension" >&6; }
23622
25203
if test $ac_cv_lib_Xdamage_XDamageQueryExtension = yes; then
23623
25204
 
23624
25205
 
23639
25220
# Check for MIT-SHM extension
23640
25221
#
23641
25222
XSHM_LIBS=
23642
 
echo "$as_me:$LINENO: checking for X11/extensions/XShm.h" >&5
23643
 
echo $ECHO_N "checking for X11/extensions/XShm.h... $ECHO_C" >&6
 
25223
{ echo "$as_me:$LINENO: checking for X11/extensions/XShm.h" >&5
 
25224
echo $ECHO_N "checking for X11/extensions/XShm.h... $ECHO_C" >&6; }
23644
25225
if test "${ac_cv_header_X11_extensions_XShm_h+set}" = set; then
23645
25226
  echo $ECHO_N "(cached) $ECHO_C" >&6
23646
25227
else
23655
25236
#include <X11/extensions/XShm.h>
23656
25237
_ACEOF
23657
25238
rm -f conftest.$ac_objext
23658
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23659
 
  (eval $ac_compile) 2>conftest.er1
 
25239
if { (ac_try="$ac_compile"
 
25240
case "(($ac_try" in
 
25241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25242
  *) ac_try_echo=$ac_try;;
 
25243
esac
 
25244
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25245
  (eval "$ac_compile") 2>conftest.er1
23660
25246
  ac_status=$?
23661
25247
  grep -v '^ *+' conftest.er1 >conftest.err
23662
25248
  rm -f conftest.er1
23663
25249
  cat conftest.err >&5
23664
25250
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665
 
  (exit $ac_status); } &&
23666
 
         { ac_try='test -z "$ac_c_werror_flag"
23667
 
                         || test ! -s conftest.err'
23668
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23669
 
  (eval $ac_try) 2>&5
23670
 
  ac_status=$?
23671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23672
 
  (exit $ac_status); }; } &&
23673
 
         { ac_try='test -s conftest.$ac_objext'
23674
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23675
 
  (eval $ac_try) 2>&5
23676
 
  ac_status=$?
23677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678
 
  (exit $ac_status); }; }; then
 
25251
  (exit $ac_status); } && {
 
25252
         test -z "$ac_c_werror_flag" ||
 
25253
         test ! -s conftest.err
 
25254
       } && test -s conftest.$ac_objext; then
23679
25255
  ac_cv_header_X11_extensions_XShm_h=yes
23680
25256
else
23681
25257
  echo "$as_me: failed program was:" >&5
23682
25258
sed 's/^/| /' conftest.$ac_ext >&5
23683
25259
 
23684
 
ac_cv_header_X11_extensions_XShm_h=no
23685
 
fi
23686
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23687
 
fi
23688
 
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_XShm_h" >&5
23689
 
echo "${ECHO_T}$ac_cv_header_X11_extensions_XShm_h" >&6
 
25260
        ac_cv_header_X11_extensions_XShm_h=no
 
25261
fi
 
25262
 
 
25263
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25264
fi
 
25265
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_XShm_h" >&5
 
25266
echo "${ECHO_T}$ac_cv_header_X11_extensions_XShm_h" >&6; }
23690
25267
if test $ac_cv_header_X11_extensions_XShm_h = yes; then
23691
25268
 
23692
 
    echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
23693
 
echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
 
25269
    { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
 
25270
echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
23694
25271
if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
23695
25272
  echo $ECHO_N "(cached) $ECHO_C" >&6
23696
25273
else
23703
25280
cat >>conftest.$ac_ext <<_ACEOF
23704
25281
/* end confdefs.h.  */
23705
25282
 
23706
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25283
/* Override any GCC internal prototype to avoid an error.
 
25284
   Use char because int might match the return type of a GCC
 
25285
   builtin and then its argument prototype would still apply.  */
23707
25286
#ifdef __cplusplus
23708
25287
extern "C"
23709
25288
#endif
23710
 
/* We use char because int might match the return type of a gcc2
23711
 
   builtin and then its argument prototype would still apply.  */
23712
25289
char XShmQueryExtension ();
23713
25290
int
23714
25291
main ()
23715
25292
{
23716
 
XShmQueryExtension ();
 
25293
return XShmQueryExtension ();
23717
25294
  ;
23718
25295
  return 0;
23719
25296
}
23720
25297
_ACEOF
23721
25298
rm -f conftest.$ac_objext conftest$ac_exeext
23722
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23723
 
  (eval $ac_link) 2>conftest.er1
 
25299
if { (ac_try="$ac_link"
 
25300
case "(($ac_try" in
 
25301
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25302
  *) ac_try_echo=$ac_try;;
 
25303
esac
 
25304
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25305
  (eval "$ac_link") 2>conftest.er1
23724
25306
  ac_status=$?
23725
25307
  grep -v '^ *+' conftest.er1 >conftest.err
23726
25308
  rm -f conftest.er1
23727
25309
  cat conftest.err >&5
23728
25310
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23729
 
  (exit $ac_status); } &&
23730
 
         { ac_try='test -z "$ac_c_werror_flag"
23731
 
                         || test ! -s conftest.err'
23732
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23733
 
  (eval $ac_try) 2>&5
23734
 
  ac_status=$?
23735
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736
 
  (exit $ac_status); }; } &&
23737
 
         { ac_try='test -s conftest$ac_exeext'
23738
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23739
 
  (eval $ac_try) 2>&5
23740
 
  ac_status=$?
23741
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742
 
  (exit $ac_status); }; }; then
 
25311
  (exit $ac_status); } && {
 
25312
         test -z "$ac_c_werror_flag" ||
 
25313
         test ! -s conftest.err
 
25314
       } && test -s conftest$ac_exeext &&
 
25315
       $as_test_x conftest$ac_exeext; then
23743
25316
  ac_cv_lib_Xext_XShmQueryExtension=yes
23744
25317
else
23745
25318
  echo "$as_me: failed program was:" >&5
23746
25319
sed 's/^/| /' conftest.$ac_ext >&5
23747
25320
 
23748
 
ac_cv_lib_Xext_XShmQueryExtension=no
 
25321
        ac_cv_lib_Xext_XShmQueryExtension=no
23749
25322
fi
23750
 
rm -f conftest.err conftest.$ac_objext \
 
25323
 
 
25324
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23751
25325
      conftest$ac_exeext conftest.$ac_ext
23752
25326
LIBS=$ac_check_lib_save_LIBS
23753
25327
fi
23754
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
23755
 
echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
 
25328
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
 
25329
echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
23756
25330
if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
23757
25331
 
23758
25332
 
23774
25348
#
23775
25349
XTEST_LIBS=
23776
25350
if test "${ac_cv_header_X11_extensions_XTest_h+set}" = set; then
23777
 
  echo "$as_me:$LINENO: checking for X11/extensions/XTest.h" >&5
23778
 
echo $ECHO_N "checking for X11/extensions/XTest.h... $ECHO_C" >&6
 
25351
  { echo "$as_me:$LINENO: checking for X11/extensions/XTest.h" >&5
 
25352
echo $ECHO_N "checking for X11/extensions/XTest.h... $ECHO_C" >&6; }
23779
25353
if test "${ac_cv_header_X11_extensions_XTest_h+set}" = set; then
23780
25354
  echo $ECHO_N "(cached) $ECHO_C" >&6
23781
25355
fi
23782
 
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_XTest_h" >&5
23783
 
echo "${ECHO_T}$ac_cv_header_X11_extensions_XTest_h" >&6
 
25356
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_XTest_h" >&5
 
25357
echo "${ECHO_T}$ac_cv_header_X11_extensions_XTest_h" >&6; }
23784
25358
else
23785
25359
  # Is the header compilable?
23786
 
echo "$as_me:$LINENO: checking X11/extensions/XTest.h usability" >&5
23787
 
echo $ECHO_N "checking X11/extensions/XTest.h usability... $ECHO_C" >&6
 
25360
{ echo "$as_me:$LINENO: checking X11/extensions/XTest.h usability" >&5
 
25361
echo $ECHO_N "checking X11/extensions/XTest.h usability... $ECHO_C" >&6; }
23788
25362
cat >conftest.$ac_ext <<_ACEOF
23789
25363
/* confdefs.h.  */
23790
25364
_ACEOF
23795
25369
#include <X11/extensions/XTest.h>
23796
25370
_ACEOF
23797
25371
rm -f conftest.$ac_objext
23798
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23799
 
  (eval $ac_compile) 2>conftest.er1
 
25372
if { (ac_try="$ac_compile"
 
25373
case "(($ac_try" in
 
25374
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25375
  *) ac_try_echo=$ac_try;;
 
25376
esac
 
25377
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25378
  (eval "$ac_compile") 2>conftest.er1
23800
25379
  ac_status=$?
23801
25380
  grep -v '^ *+' conftest.er1 >conftest.err
23802
25381
  rm -f conftest.er1
23803
25382
  cat conftest.err >&5
23804
25383
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805
 
  (exit $ac_status); } &&
23806
 
         { ac_try='test -z "$ac_c_werror_flag"
23807
 
                         || test ! -s conftest.err'
23808
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23809
 
  (eval $ac_try) 2>&5
23810
 
  ac_status=$?
23811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812
 
  (exit $ac_status); }; } &&
23813
 
         { ac_try='test -s conftest.$ac_objext'
23814
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23815
 
  (eval $ac_try) 2>&5
23816
 
  ac_status=$?
23817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818
 
  (exit $ac_status); }; }; then
 
25384
  (exit $ac_status); } && {
 
25385
         test -z "$ac_c_werror_flag" ||
 
25386
         test ! -s conftest.err
 
25387
       } && test -s conftest.$ac_objext; then
23819
25388
  ac_header_compiler=yes
23820
25389
else
23821
25390
  echo "$as_me: failed program was:" >&5
23822
25391
sed 's/^/| /' conftest.$ac_ext >&5
23823
25392
 
23824
 
ac_header_compiler=no
 
25393
        ac_header_compiler=no
23825
25394
fi
23826
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23827
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23828
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
25395
 
 
25396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25397
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25398
echo "${ECHO_T}$ac_header_compiler" >&6; }
23829
25399
 
23830
25400
# Is the header present?
23831
 
echo "$as_me:$LINENO: checking X11/extensions/XTest.h presence" >&5
23832
 
echo $ECHO_N "checking X11/extensions/XTest.h presence... $ECHO_C" >&6
 
25401
{ echo "$as_me:$LINENO: checking X11/extensions/XTest.h presence" >&5
 
25402
echo $ECHO_N "checking X11/extensions/XTest.h presence... $ECHO_C" >&6; }
23833
25403
cat >conftest.$ac_ext <<_ACEOF
23834
25404
/* confdefs.h.  */
23835
25405
_ACEOF
23838
25408
/* end confdefs.h.  */
23839
25409
#include <X11/extensions/XTest.h>
23840
25410
_ACEOF
23841
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23842
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
25411
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
25412
case "(($ac_try" in
 
25413
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25414
  *) ac_try_echo=$ac_try;;
 
25415
esac
 
25416
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25417
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23843
25418
  ac_status=$?
23844
25419
  grep -v '^ *+' conftest.er1 >conftest.err
23845
25420
  rm -f conftest.er1
23846
25421
  cat conftest.err >&5
23847
25422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848
 
  (exit $ac_status); } >/dev/null; then
23849
 
  if test -s conftest.err; then
23850
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23851
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23852
 
  else
23853
 
    ac_cpp_err=
23854
 
  fi
23855
 
else
23856
 
  ac_cpp_err=yes
23857
 
fi
23858
 
if test -z "$ac_cpp_err"; then
 
25423
  (exit $ac_status); } >/dev/null && {
 
25424
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
25425
         test ! -s conftest.err
 
25426
       }; then
23859
25427
  ac_header_preproc=yes
23860
25428
else
23861
25429
  echo "$as_me: failed program was:" >&5
23863
25431
 
23864
25432
  ac_header_preproc=no
23865
25433
fi
 
25434
 
23866
25435
rm -f conftest.err conftest.$ac_ext
23867
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23868
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
25436
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25437
echo "${ECHO_T}$ac_header_preproc" >&6; }
23869
25438
 
23870
25439
# So?  What about this header?
23871
25440
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23889
25458
echo "$as_me: WARNING: X11/extensions/XTest.h: proceeding with the preprocessor's result" >&2;}
23890
25459
    { echo "$as_me:$LINENO: WARNING: X11/extensions/XTest.h: in the future, the compiler will take precedence" >&5
23891
25460
echo "$as_me: WARNING: X11/extensions/XTest.h: in the future, the compiler will take precedence" >&2;}
23892
 
    (
23893
 
      cat <<\_ASBOX
 
25461
    ( cat <<\_ASBOX
23894
25462
## ------------------------------------------------------------------- ##
23895
25463
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=vino ##
23896
25464
## ------------------------------------------------------------------- ##
23897
25465
_ASBOX
23898
 
    ) |
23899
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
25466
     ) | sed "s/^/$as_me: WARNING:     /" >&2
23900
25467
    ;;
23901
25468
esac
23902
 
echo "$as_me:$LINENO: checking for X11/extensions/XTest.h" >&5
23903
 
echo $ECHO_N "checking for X11/extensions/XTest.h... $ECHO_C" >&6
 
25469
{ echo "$as_me:$LINENO: checking for X11/extensions/XTest.h" >&5
 
25470
echo $ECHO_N "checking for X11/extensions/XTest.h... $ECHO_C" >&6; }
23904
25471
if test "${ac_cv_header_X11_extensions_XTest_h+set}" = set; then
23905
25472
  echo $ECHO_N "(cached) $ECHO_C" >&6
23906
25473
else
23907
25474
  ac_cv_header_X11_extensions_XTest_h=$ac_header_preproc
23908
25475
fi
23909
 
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_XTest_h" >&5
23910
 
echo "${ECHO_T}$ac_cv_header_X11_extensions_XTest_h" >&6
 
25476
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_XTest_h" >&5
 
25477
echo "${ECHO_T}$ac_cv_header_X11_extensions_XTest_h" >&6; }
23911
25478
 
23912
25479
fi
23913
25480
if test $ac_cv_header_X11_extensions_XTest_h = yes; then
23914
25481
 
23915
 
    echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
23916
 
echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
 
25482
    { echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
 
25483
echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6; }
23917
25484
if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
23918
25485
  echo $ECHO_N "(cached) $ECHO_C" >&6
23919
25486
else
23926
25493
cat >>conftest.$ac_ext <<_ACEOF
23927
25494
/* end confdefs.h.  */
23928
25495
 
23929
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25496
/* Override any GCC internal prototype to avoid an error.
 
25497
   Use char because int might match the return type of a GCC
 
25498
   builtin and then its argument prototype would still apply.  */
23930
25499
#ifdef __cplusplus
23931
25500
extern "C"
23932
25501
#endif
23933
 
/* We use char because int might match the return type of a gcc2
23934
 
   builtin and then its argument prototype would still apply.  */
23935
25502
char XTestQueryExtension ();
23936
25503
int
23937
25504
main ()
23938
25505
{
23939
 
XTestQueryExtension ();
 
25506
return XTestQueryExtension ();
23940
25507
  ;
23941
25508
  return 0;
23942
25509
}
23943
25510
_ACEOF
23944
25511
rm -f conftest.$ac_objext conftest$ac_exeext
23945
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23946
 
  (eval $ac_link) 2>conftest.er1
 
25512
if { (ac_try="$ac_link"
 
25513
case "(($ac_try" in
 
25514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25515
  *) ac_try_echo=$ac_try;;
 
25516
esac
 
25517
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25518
  (eval "$ac_link") 2>conftest.er1
23947
25519
  ac_status=$?
23948
25520
  grep -v '^ *+' conftest.er1 >conftest.err
23949
25521
  rm -f conftest.er1
23950
25522
  cat conftest.err >&5
23951
25523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952
 
  (exit $ac_status); } &&
23953
 
         { ac_try='test -z "$ac_c_werror_flag"
23954
 
                         || test ! -s conftest.err'
23955
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23956
 
  (eval $ac_try) 2>&5
23957
 
  ac_status=$?
23958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959
 
  (exit $ac_status); }; } &&
23960
 
         { ac_try='test -s conftest$ac_exeext'
23961
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23962
 
  (eval $ac_try) 2>&5
23963
 
  ac_status=$?
23964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965
 
  (exit $ac_status); }; }; then
 
25524
  (exit $ac_status); } && {
 
25525
         test -z "$ac_c_werror_flag" ||
 
25526
         test ! -s conftest.err
 
25527
       } && test -s conftest$ac_exeext &&
 
25528
       $as_test_x conftest$ac_exeext; then
23966
25529
  ac_cv_lib_Xtst_XTestQueryExtension=yes
23967
25530
else
23968
25531
  echo "$as_me: failed program was:" >&5
23969
25532
sed 's/^/| /' conftest.$ac_ext >&5
23970
25533
 
23971
 
ac_cv_lib_Xtst_XTestQueryExtension=no
 
25534
        ac_cv_lib_Xtst_XTestQueryExtension=no
23972
25535
fi
23973
 
rm -f conftest.err conftest.$ac_objext \
 
25536
 
 
25537
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23974
25538
      conftest$ac_exeext conftest.$ac_ext
23975
25539
LIBS=$ac_check_lib_save_LIBS
23976
25540
fi
23977
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
23978
 
echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
 
25541
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
 
25542
echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
23979
25543
if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
23980
25544
 
23981
25545
 
23993
25557
 
23994
25558
 
23995
25559
#
 
25560
# Check for XKB extension
 
25561
#
 
25562
if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
 
25563
  { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
 
25564
echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
 
25565
if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
 
25566
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25567
fi
 
25568
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
 
25569
echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
 
25570
else
 
25571
  # Is the header compilable?
 
25572
{ echo "$as_me:$LINENO: checking X11/XKBlib.h usability" >&5
 
25573
echo $ECHO_N "checking X11/XKBlib.h usability... $ECHO_C" >&6; }
 
25574
cat >conftest.$ac_ext <<_ACEOF
 
25575
/* confdefs.h.  */
 
25576
_ACEOF
 
25577
cat confdefs.h >>conftest.$ac_ext
 
25578
cat >>conftest.$ac_ext <<_ACEOF
 
25579
/* end confdefs.h.  */
 
25580
$ac_includes_default
 
25581
#include <X11/XKBlib.h>
 
25582
_ACEOF
 
25583
rm -f conftest.$ac_objext
 
25584
if { (ac_try="$ac_compile"
 
25585
case "(($ac_try" in
 
25586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25587
  *) ac_try_echo=$ac_try;;
 
25588
esac
 
25589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25590
  (eval "$ac_compile") 2>conftest.er1
 
25591
  ac_status=$?
 
25592
  grep -v '^ *+' conftest.er1 >conftest.err
 
25593
  rm -f conftest.er1
 
25594
  cat conftest.err >&5
 
25595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25596
  (exit $ac_status); } && {
 
25597
         test -z "$ac_c_werror_flag" ||
 
25598
         test ! -s conftest.err
 
25599
       } && test -s conftest.$ac_objext; then
 
25600
  ac_header_compiler=yes
 
25601
else
 
25602
  echo "$as_me: failed program was:" >&5
 
25603
sed 's/^/| /' conftest.$ac_ext >&5
 
25604
 
 
25605
        ac_header_compiler=no
 
25606
fi
 
25607
 
 
25608
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25609
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25610
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
25611
 
 
25612
# Is the header present?
 
25613
{ echo "$as_me:$LINENO: checking X11/XKBlib.h presence" >&5
 
25614
echo $ECHO_N "checking X11/XKBlib.h presence... $ECHO_C" >&6; }
 
25615
cat >conftest.$ac_ext <<_ACEOF
 
25616
/* confdefs.h.  */
 
25617
_ACEOF
 
25618
cat confdefs.h >>conftest.$ac_ext
 
25619
cat >>conftest.$ac_ext <<_ACEOF
 
25620
/* end confdefs.h.  */
 
25621
#include <X11/XKBlib.h>
 
25622
_ACEOF
 
25623
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
25624
case "(($ac_try" in
 
25625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25626
  *) ac_try_echo=$ac_try;;
 
25627
esac
 
25628
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25629
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
25630
  ac_status=$?
 
25631
  grep -v '^ *+' conftest.er1 >conftest.err
 
25632
  rm -f conftest.er1
 
25633
  cat conftest.err >&5
 
25634
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25635
  (exit $ac_status); } >/dev/null && {
 
25636
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
25637
         test ! -s conftest.err
 
25638
       }; then
 
25639
  ac_header_preproc=yes
 
25640
else
 
25641
  echo "$as_me: failed program was:" >&5
 
25642
sed 's/^/| /' conftest.$ac_ext >&5
 
25643
 
 
25644
  ac_header_preproc=no
 
25645
fi
 
25646
 
 
25647
rm -f conftest.err conftest.$ac_ext
 
25648
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25649
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
25650
 
 
25651
# So?  What about this header?
 
25652
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
25653
  yes:no: )
 
25654
    { echo "$as_me:$LINENO: WARNING: X11/XKBlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
25655
echo "$as_me: WARNING: X11/XKBlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
25656
    { echo "$as_me:$LINENO: WARNING: X11/XKBlib.h: proceeding with the compiler's result" >&5
 
25657
echo "$as_me: WARNING: X11/XKBlib.h: proceeding with the compiler's result" >&2;}
 
25658
    ac_header_preproc=yes
 
25659
    ;;
 
25660
  no:yes:* )
 
25661
    { echo "$as_me:$LINENO: WARNING: X11/XKBlib.h: present but cannot be compiled" >&5
 
25662
echo "$as_me: WARNING: X11/XKBlib.h: present but cannot be compiled" >&2;}
 
25663
    { echo "$as_me:$LINENO: WARNING: X11/XKBlib.h:     check for missing prerequisite headers?" >&5
 
25664
echo "$as_me: WARNING: X11/XKBlib.h:     check for missing prerequisite headers?" >&2;}
 
25665
    { echo "$as_me:$LINENO: WARNING: X11/XKBlib.h: see the Autoconf documentation" >&5
 
25666
echo "$as_me: WARNING: X11/XKBlib.h: see the Autoconf documentation" >&2;}
 
25667
    { echo "$as_me:$LINENO: WARNING: X11/XKBlib.h:     section \"Present But Cannot Be Compiled\"" >&5
 
25668
echo "$as_me: WARNING: X11/XKBlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
25669
    { echo "$as_me:$LINENO: WARNING: X11/XKBlib.h: proceeding with the preprocessor's result" >&5
 
25670
echo "$as_me: WARNING: X11/XKBlib.h: proceeding with the preprocessor's result" >&2;}
 
25671
    { echo "$as_me:$LINENO: WARNING: X11/XKBlib.h: in the future, the compiler will take precedence" >&5
 
25672
echo "$as_me: WARNING: X11/XKBlib.h: in the future, the compiler will take precedence" >&2;}
 
25673
    ( cat <<\_ASBOX
 
25674
## ------------------------------------------------------------------- ##
 
25675
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=vino ##
 
25676
## ------------------------------------------------------------------- ##
 
25677
_ASBOX
 
25678
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
25679
    ;;
 
25680
esac
 
25681
{ echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
 
25682
echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
 
25683
if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
 
25684
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25685
else
 
25686
  ac_cv_header_X11_XKBlib_h=$ac_header_preproc
 
25687
fi
 
25688
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
 
25689
echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
 
25690
 
 
25691
fi
 
25692
if test $ac_cv_header_X11_XKBlib_h = yes; then
 
25693
 
 
25694
    { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
 
25695
echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
 
25696
if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
 
25697
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25698
else
 
25699
  ac_check_lib_save_LIBS=$LIBS
 
25700
LIBS="-lX11 $X_LIBS $LIBS"
 
25701
cat >conftest.$ac_ext <<_ACEOF
 
25702
/* confdefs.h.  */
 
25703
_ACEOF
 
25704
cat confdefs.h >>conftest.$ac_ext
 
25705
cat >>conftest.$ac_ext <<_ACEOF
 
25706
/* end confdefs.h.  */
 
25707
 
 
25708
/* Override any GCC internal prototype to avoid an error.
 
25709
   Use char because int might match the return type of a GCC
 
25710
   builtin and then its argument prototype would still apply.  */
 
25711
#ifdef __cplusplus
 
25712
extern "C"
 
25713
#endif
 
25714
char XkbQueryExtension ();
 
25715
int
 
25716
main ()
 
25717
{
 
25718
return XkbQueryExtension ();
 
25719
  ;
 
25720
  return 0;
 
25721
}
 
25722
_ACEOF
 
25723
rm -f conftest.$ac_objext conftest$ac_exeext
 
25724
if { (ac_try="$ac_link"
 
25725
case "(($ac_try" in
 
25726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25727
  *) ac_try_echo=$ac_try;;
 
25728
esac
 
25729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25730
  (eval "$ac_link") 2>conftest.er1
 
25731
  ac_status=$?
 
25732
  grep -v '^ *+' conftest.er1 >conftest.err
 
25733
  rm -f conftest.er1
 
25734
  cat conftest.err >&5
 
25735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25736
  (exit $ac_status); } && {
 
25737
         test -z "$ac_c_werror_flag" ||
 
25738
         test ! -s conftest.err
 
25739
       } && test -s conftest$ac_exeext &&
 
25740
       $as_test_x conftest$ac_exeext; then
 
25741
  ac_cv_lib_X11_XkbQueryExtension=yes
 
25742
else
 
25743
  echo "$as_me: failed program was:" >&5
 
25744
sed 's/^/| /' conftest.$ac_ext >&5
 
25745
 
 
25746
        ac_cv_lib_X11_XkbQueryExtension=no
 
25747
fi
 
25748
 
 
25749
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
25750
      conftest$ac_exeext conftest.$ac_ext
 
25751
LIBS=$ac_check_lib_save_LIBS
 
25752
fi
 
25753
{ echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
 
25754
echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
 
25755
if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
 
25756
 
 
25757
cat >>confdefs.h <<\_ACEOF
 
25758
#define HAVE_XKB 1
 
25759
_ACEOF
 
25760
 
 
25761
 
 
25762
fi
 
25763
 
 
25764
 
 
25765
fi
 
25766
 
 
25767
 
 
25768
 
 
25769
#
23996
25770
# Check for Avahi
23997
25771
#
23998
 
# Check whether --enable-avahi or --disable-avahi was given.
 
25772
# Check whether --enable-avahi was given.
23999
25773
if test "${enable_avahi+set}" = set; then
24000
 
  enableval="$enable_avahi"
24001
 
  case "${enableval}" in
 
25774
  enableval=$enable_avahi; case "${enableval}" in
24002
25775
                yes) VINO_ENABLE_MDNS=yes ;;
24003
25776
                no)  VINO_ENABLE_MDNS=no ;;
24004
25777
                *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-avahi" >&5
24007
25780
        esac
24008
25781
else
24009
25782
  VINO_ENABLE_MDNS=no
24010
 
fi;
 
25783
fi
 
25784
 
24011
25785
 
24012
25786
AVAHI_CFLAGS=
24013
25787
AVAHI_LIBS=
24014
25788
if test "x$VINO_ENABLE_MDNS" = "xyes" ; then
24015
25789
 
24016
25790
pkg_failed=no
24017
 
echo "$as_me:$LINENO: checking for AVAHI" >&5
24018
 
echo $ECHO_N "checking for AVAHI... $ECHO_C" >&6
 
25791
{ echo "$as_me:$LINENO: checking for AVAHI" >&5
 
25792
echo $ECHO_N "checking for AVAHI... $ECHO_C" >&6; }
24019
25793
 
24020
25794
if test -n "$PKG_CONFIG"; then
24021
25795
    if test -n "$AVAHI_CFLAGS"; then
24103
25877
and AVAHI_LIBS to avoid the need to call pkg-config.
24104
25878
See the pkg-config man page for more details.
24105
25879
 
24106
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
25880
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24107
25881
See \`config.log' for more details." >&5
24108
25882
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
24109
25883
is in your PATH or set the PKG_CONFIG environment variable to the full
24113
25887
and AVAHI_LIBS to avoid the need to call pkg-config.
24114
25888
See the pkg-config man page for more details.
24115
25889
 
24116
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
25890
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24117
25891
See \`config.log' for more details." >&2;}
24118
25892
   { (exit 1); exit 1; }; }
24119
25893
else
24120
25894
        AVAHI_CFLAGS=$pkg_cv_AVAHI_CFLAGS
24121
25895
        AVAHI_LIBS=$pkg_cv_AVAHI_LIBS
24122
 
        echo "$as_me:$LINENO: result: yes" >&5
24123
 
echo "${ECHO_T}yes" >&6
 
25896
        { echo "$as_me:$LINENO: result: yes" >&5
 
25897
echo "${ECHO_T}yes" >&6; }
24124
25898
        :
24125
25899
fi
24126
25900
    AVAHI_CFLAGS="$AVAHI_CFLAGS -DVINO_HAVE_AVAHI"
24130
25904
 
24131
25905
 
24132
25906
 
24133
 
# Check whether --with-jpeg or --without-jpeg was given.
 
25907
# Check whether --with-jpeg was given.
24134
25908
if test "${with_jpeg+set}" = set; then
24135
 
  withval="$with_jpeg"
24136
 
 
 
25909
  withval=$with_jpeg;
24137
25910
else
24138
25911
   with_jpeg=yes
24139
 
fi;
 
25912
fi
 
25913
 
24140
25914
if test "x$with_jpeg" = "xyes"; then
24141
25915
        if test "${ac_cv_header_jpeglib_h+set}" = set; then
24142
 
  echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24143
 
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
 
25916
  { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
 
25917
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
24144
25918
if test "${ac_cv_header_jpeglib_h+set}" = set; then
24145
25919
  echo $ECHO_N "(cached) $ECHO_C" >&6
24146
25920
fi
24147
 
echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24148
 
echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
 
25921
{ echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
 
25922
echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
24149
25923
else
24150
25924
  # Is the header compilable?
24151
 
echo "$as_me:$LINENO: checking jpeglib.h usability" >&5
24152
 
echo $ECHO_N "checking jpeglib.h usability... $ECHO_C" >&6
 
25925
{ echo "$as_me:$LINENO: checking jpeglib.h usability" >&5
 
25926
echo $ECHO_N "checking jpeglib.h usability... $ECHO_C" >&6; }
24153
25927
cat >conftest.$ac_ext <<_ACEOF
24154
25928
/* confdefs.h.  */
24155
25929
_ACEOF
24160
25934
#include <jpeglib.h>
24161
25935
_ACEOF
24162
25936
rm -f conftest.$ac_objext
24163
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24164
 
  (eval $ac_compile) 2>conftest.er1
 
25937
if { (ac_try="$ac_compile"
 
25938
case "(($ac_try" in
 
25939
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25940
  *) ac_try_echo=$ac_try;;
 
25941
esac
 
25942
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25943
  (eval "$ac_compile") 2>conftest.er1
24165
25944
  ac_status=$?
24166
25945
  grep -v '^ *+' conftest.er1 >conftest.err
24167
25946
  rm -f conftest.er1
24168
25947
  cat conftest.err >&5
24169
25948
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170
 
  (exit $ac_status); } &&
24171
 
         { ac_try='test -z "$ac_c_werror_flag"
24172
 
                         || test ! -s conftest.err'
24173
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24174
 
  (eval $ac_try) 2>&5
24175
 
  ac_status=$?
24176
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177
 
  (exit $ac_status); }; } &&
24178
 
         { ac_try='test -s conftest.$ac_objext'
24179
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180
 
  (eval $ac_try) 2>&5
24181
 
  ac_status=$?
24182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183
 
  (exit $ac_status); }; }; then
 
25949
  (exit $ac_status); } && {
 
25950
         test -z "$ac_c_werror_flag" ||
 
25951
         test ! -s conftest.err
 
25952
       } && test -s conftest.$ac_objext; then
24184
25953
  ac_header_compiler=yes
24185
25954
else
24186
25955
  echo "$as_me: failed program was:" >&5
24187
25956
sed 's/^/| /' conftest.$ac_ext >&5
24188
25957
 
24189
 
ac_header_compiler=no
 
25958
        ac_header_compiler=no
24190
25959
fi
24191
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24192
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24193
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
25960
 
 
25961
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25962
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25963
echo "${ECHO_T}$ac_header_compiler" >&6; }
24194
25964
 
24195
25965
# Is the header present?
24196
 
echo "$as_me:$LINENO: checking jpeglib.h presence" >&5
24197
 
echo $ECHO_N "checking jpeglib.h presence... $ECHO_C" >&6
 
25966
{ echo "$as_me:$LINENO: checking jpeglib.h presence" >&5
 
25967
echo $ECHO_N "checking jpeglib.h presence... $ECHO_C" >&6; }
24198
25968
cat >conftest.$ac_ext <<_ACEOF
24199
25969
/* confdefs.h.  */
24200
25970
_ACEOF
24203
25973
/* end confdefs.h.  */
24204
25974
#include <jpeglib.h>
24205
25975
_ACEOF
24206
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24207
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
25976
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
25977
case "(($ac_try" in
 
25978
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25979
  *) ac_try_echo=$ac_try;;
 
25980
esac
 
25981
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25982
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24208
25983
  ac_status=$?
24209
25984
  grep -v '^ *+' conftest.er1 >conftest.err
24210
25985
  rm -f conftest.er1
24211
25986
  cat conftest.err >&5
24212
25987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213
 
  (exit $ac_status); } >/dev/null; then
24214
 
  if test -s conftest.err; then
24215
 
    ac_cpp_err=$ac_c_preproc_warn_flag
24216
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24217
 
  else
24218
 
    ac_cpp_err=
24219
 
  fi
24220
 
else
24221
 
  ac_cpp_err=yes
24222
 
fi
24223
 
if test -z "$ac_cpp_err"; then
 
25988
  (exit $ac_status); } >/dev/null && {
 
25989
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
25990
         test ! -s conftest.err
 
25991
       }; then
24224
25992
  ac_header_preproc=yes
24225
25993
else
24226
25994
  echo "$as_me: failed program was:" >&5
24228
25996
 
24229
25997
  ac_header_preproc=no
24230
25998
fi
 
25999
 
24231
26000
rm -f conftest.err conftest.$ac_ext
24232
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24233
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26001
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26002
echo "${ECHO_T}$ac_header_preproc" >&6; }
24234
26003
 
24235
26004
# So?  What about this header?
24236
26005
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24254
26023
echo "$as_me: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&2;}
24255
26024
    { echo "$as_me:$LINENO: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&5
24256
26025
echo "$as_me: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&2;}
24257
 
    (
24258
 
      cat <<\_ASBOX
 
26026
    ( cat <<\_ASBOX
24259
26027
## ------------------------------------------------------------------- ##
24260
26028
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=vino ##
24261
26029
## ------------------------------------------------------------------- ##
24262
26030
_ASBOX
24263
 
    ) |
24264
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26031
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24265
26032
    ;;
24266
26033
esac
24267
 
echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24268
 
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
 
26034
{ echo "$as_me:$LINENO: checking for jpeglib.h" >&5
 
26035
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
24269
26036
if test "${ac_cv_header_jpeglib_h+set}" = set; then
24270
26037
  echo $ECHO_N "(cached) $ECHO_C" >&6
24271
26038
else
24272
26039
  ac_cv_header_jpeglib_h=$ac_header_preproc
24273
26040
fi
24274
 
echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24275
 
echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
 
26041
{ echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
 
26042
echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
24276
26043
 
24277
26044
fi
24278
26045
if test $ac_cv_header_jpeglib_h = yes; then
24283
26050
fi
24284
26051
 
24285
26052
 
24286
 
# Check whether --with-zlib or --without-zlib was given.
 
26053
# Check whether --with-zlib was given.
24287
26054
if test "${with_zlib+set}" = set; then
24288
 
  withval="$with_zlib"
24289
 
 
 
26055
  withval=$with_zlib;
24290
26056
else
24291
26057
   with_zlib=yes
24292
 
fi;
24293
 
 
24294
 
# Check whether --with-libz or --without-libz was given.
 
26058
fi
 
26059
 
 
26060
 
 
26061
# Check whether --with-libz was given.
24295
26062
if test "${with_libz+set}" = set; then
24296
 
  withval="$with_libz"
24297
 
 
 
26063
  withval=$with_libz;
24298
26064
else
24299
26065
   with_libz=yes
24300
 
fi;
 
26066
fi
 
26067
 
24301
26068
if test "x$with_zlib" = "xyes" -a "x$with_libz" = "xyes"; then
24302
26069
        if test "${ac_cv_header_zlib_h+set}" = set; then
24303
 
  echo "$as_me:$LINENO: checking for zlib.h" >&5
24304
 
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
 
26070
  { echo "$as_me:$LINENO: checking for zlib.h" >&5
 
26071
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
24305
26072
if test "${ac_cv_header_zlib_h+set}" = set; then
24306
26073
  echo $ECHO_N "(cached) $ECHO_C" >&6
24307
26074
fi
24308
 
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24309
 
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
 
26075
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
 
26076
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
24310
26077
else
24311
26078
  # Is the header compilable?
24312
 
echo "$as_me:$LINENO: checking zlib.h usability" >&5
24313
 
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
 
26079
{ echo "$as_me:$LINENO: checking zlib.h usability" >&5
 
26080
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
24314
26081
cat >conftest.$ac_ext <<_ACEOF
24315
26082
/* confdefs.h.  */
24316
26083
_ACEOF
24321
26088
#include <zlib.h>
24322
26089
_ACEOF
24323
26090
rm -f conftest.$ac_objext
24324
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24325
 
  (eval $ac_compile) 2>conftest.er1
 
26091
if { (ac_try="$ac_compile"
 
26092
case "(($ac_try" in
 
26093
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26094
  *) ac_try_echo=$ac_try;;
 
26095
esac
 
26096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26097
  (eval "$ac_compile") 2>conftest.er1
24326
26098
  ac_status=$?
24327
26099
  grep -v '^ *+' conftest.er1 >conftest.err
24328
26100
  rm -f conftest.er1
24329
26101
  cat conftest.err >&5
24330
26102
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331
 
  (exit $ac_status); } &&
24332
 
         { ac_try='test -z "$ac_c_werror_flag"
24333
 
                         || test ! -s conftest.err'
24334
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24335
 
  (eval $ac_try) 2>&5
24336
 
  ac_status=$?
24337
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338
 
  (exit $ac_status); }; } &&
24339
 
         { ac_try='test -s conftest.$ac_objext'
24340
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341
 
  (eval $ac_try) 2>&5
24342
 
  ac_status=$?
24343
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344
 
  (exit $ac_status); }; }; then
 
26103
  (exit $ac_status); } && {
 
26104
         test -z "$ac_c_werror_flag" ||
 
26105
         test ! -s conftest.err
 
26106
       } && test -s conftest.$ac_objext; then
24345
26107
  ac_header_compiler=yes
24346
26108
else
24347
26109
  echo "$as_me: failed program was:" >&5
24348
26110
sed 's/^/| /' conftest.$ac_ext >&5
24349
26111
 
24350
 
ac_header_compiler=no
 
26112
        ac_header_compiler=no
24351
26113
fi
24352
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24353
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24354
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
26114
 
 
26115
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26116
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
26117
echo "${ECHO_T}$ac_header_compiler" >&6; }
24355
26118
 
24356
26119
# Is the header present?
24357
 
echo "$as_me:$LINENO: checking zlib.h presence" >&5
24358
 
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
 
26120
{ echo "$as_me:$LINENO: checking zlib.h presence" >&5
 
26121
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
24359
26122
cat >conftest.$ac_ext <<_ACEOF
24360
26123
/* confdefs.h.  */
24361
26124
_ACEOF
24364
26127
/* end confdefs.h.  */
24365
26128
#include <zlib.h>
24366
26129
_ACEOF
24367
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24368
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
26130
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
26131
case "(($ac_try" in
 
26132
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26133
  *) ac_try_echo=$ac_try;;
 
26134
esac
 
26135
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26136
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24369
26137
  ac_status=$?
24370
26138
  grep -v '^ *+' conftest.er1 >conftest.err
24371
26139
  rm -f conftest.er1
24372
26140
  cat conftest.err >&5
24373
26141
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374
 
  (exit $ac_status); } >/dev/null; then
24375
 
  if test -s conftest.err; then
24376
 
    ac_cpp_err=$ac_c_preproc_warn_flag
24377
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24378
 
  else
24379
 
    ac_cpp_err=
24380
 
  fi
24381
 
else
24382
 
  ac_cpp_err=yes
24383
 
fi
24384
 
if test -z "$ac_cpp_err"; then
 
26142
  (exit $ac_status); } >/dev/null && {
 
26143
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
26144
         test ! -s conftest.err
 
26145
       }; then
24385
26146
  ac_header_preproc=yes
24386
26147
else
24387
26148
  echo "$as_me: failed program was:" >&5
24389
26150
 
24390
26151
  ac_header_preproc=no
24391
26152
fi
 
26153
 
24392
26154
rm -f conftest.err conftest.$ac_ext
24393
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24394
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26155
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26156
echo "${ECHO_T}$ac_header_preproc" >&6; }
24395
26157
 
24396
26158
# So?  What about this header?
24397
26159
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24415
26177
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24416
26178
    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24417
26179
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24418
 
    (
24419
 
      cat <<\_ASBOX
 
26180
    ( cat <<\_ASBOX
24420
26181
## ------------------------------------------------------------------- ##
24421
26182
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=vino ##
24422
26183
## ------------------------------------------------------------------- ##
24423
26184
_ASBOX
24424
 
    ) |
24425
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26185
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24426
26186
    ;;
24427
26187
esac
24428
 
echo "$as_me:$LINENO: checking for zlib.h" >&5
24429
 
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
 
26188
{ echo "$as_me:$LINENO: checking for zlib.h" >&5
 
26189
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
24430
26190
if test "${ac_cv_header_zlib_h+set}" = set; then
24431
26191
  echo $ECHO_N "(cached) $ECHO_C" >&6
24432
26192
else
24433
26193
  ac_cv_header_zlib_h=$ac_header_preproc
24434
26194
fi
24435
 
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24436
 
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
 
26195
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
 
26196
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
24437
26197
 
24438
26198
fi
24439
26199
if test $ac_cv_header_zlib_h = yes; then
24445
26205
 
24446
26206
if test ! -z "$HAVE_ZLIB_H"; then
24447
26207
 
24448
 
echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24449
 
echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
 
26208
{ echo "$as_me:$LINENO: checking for deflate in -lz" >&5
 
26209
echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
24450
26210
if test "${ac_cv_lib_z_deflate+set}" = set; then
24451
26211
  echo $ECHO_N "(cached) $ECHO_C" >&6
24452
26212
else
24459
26219
cat >>conftest.$ac_ext <<_ACEOF
24460
26220
/* end confdefs.h.  */
24461
26221
 
24462
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26222
/* Override any GCC internal prototype to avoid an error.
 
26223
   Use char because int might match the return type of a GCC
 
26224
   builtin and then its argument prototype would still apply.  */
24463
26225
#ifdef __cplusplus
24464
26226
extern "C"
24465
26227
#endif
24466
 
/* We use char because int might match the return type of a gcc2
24467
 
   builtin and then its argument prototype would still apply.  */
24468
26228
char deflate ();
24469
26229
int
24470
26230
main ()
24471
26231
{
24472
 
deflate ();
 
26232
return deflate ();
24473
26233
  ;
24474
26234
  return 0;
24475
26235
}
24476
26236
_ACEOF
24477
26237
rm -f conftest.$ac_objext conftest$ac_exeext
24478
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24479
 
  (eval $ac_link) 2>conftest.er1
 
26238
if { (ac_try="$ac_link"
 
26239
case "(($ac_try" in
 
26240
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26241
  *) ac_try_echo=$ac_try;;
 
26242
esac
 
26243
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26244
  (eval "$ac_link") 2>conftest.er1
24480
26245
  ac_status=$?
24481
26246
  grep -v '^ *+' conftest.er1 >conftest.err
24482
26247
  rm -f conftest.er1
24483
26248
  cat conftest.err >&5
24484
26249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485
 
  (exit $ac_status); } &&
24486
 
         { ac_try='test -z "$ac_c_werror_flag"
24487
 
                         || test ! -s conftest.err'
24488
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24489
 
  (eval $ac_try) 2>&5
24490
 
  ac_status=$?
24491
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492
 
  (exit $ac_status); }; } &&
24493
 
         { ac_try='test -s conftest$ac_exeext'
24494
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24495
 
  (eval $ac_try) 2>&5
24496
 
  ac_status=$?
24497
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24498
 
  (exit $ac_status); }; }; then
 
26250
  (exit $ac_status); } && {
 
26251
         test -z "$ac_c_werror_flag" ||
 
26252
         test ! -s conftest.err
 
26253
       } && test -s conftest$ac_exeext &&
 
26254
       $as_test_x conftest$ac_exeext; then
24499
26255
  ac_cv_lib_z_deflate=yes
24500
26256
else
24501
26257
  echo "$as_me: failed program was:" >&5
24502
26258
sed 's/^/| /' conftest.$ac_ext >&5
24503
26259
 
24504
 
ac_cv_lib_z_deflate=no
 
26260
        ac_cv_lib_z_deflate=no
24505
26261
fi
24506
 
rm -f conftest.err conftest.$ac_objext \
 
26262
 
 
26263
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24507
26264
      conftest$ac_exeext conftest.$ac_ext
24508
26265
LIBS=$ac_check_lib_save_LIBS
24509
26266
fi
24510
 
echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24511
 
echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
 
26267
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
 
26268
echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
24512
26269
if test $ac_cv_lib_z_deflate = yes; then
24513
26270
  cat >>confdefs.h <<_ACEOF
24514
26271
#define HAVE_LIBZ 1
24522
26279
 
24523
26280
        if test ! -z "$HAVE_JPEGLIB_H" -a ! -z "$HAVE_ZLIB_H"; then
24524
26281
 
24525
 
echo "$as_me:$LINENO: checking for jpeg_CreateCompress in -ljpeg" >&5
24526
 
echo $ECHO_N "checking for jpeg_CreateCompress in -ljpeg... $ECHO_C" >&6
 
26282
{ echo "$as_me:$LINENO: checking for jpeg_CreateCompress in -ljpeg" >&5
 
26283
echo $ECHO_N "checking for jpeg_CreateCompress in -ljpeg... $ECHO_C" >&6; }
24527
26284
if test "${ac_cv_lib_jpeg_jpeg_CreateCompress+set}" = set; then
24528
26285
  echo $ECHO_N "(cached) $ECHO_C" >&6
24529
26286
else
24536
26293
cat >>conftest.$ac_ext <<_ACEOF
24537
26294
/* end confdefs.h.  */
24538
26295
 
24539
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26296
/* Override any GCC internal prototype to avoid an error.
 
26297
   Use char because int might match the return type of a GCC
 
26298
   builtin and then its argument prototype would still apply.  */
24540
26299
#ifdef __cplusplus
24541
26300
extern "C"
24542
26301
#endif
24543
 
/* We use char because int might match the return type of a gcc2
24544
 
   builtin and then its argument prototype would still apply.  */
24545
26302
char jpeg_CreateCompress ();
24546
26303
int
24547
26304
main ()
24548
26305
{
24549
 
jpeg_CreateCompress ();
 
26306
return jpeg_CreateCompress ();
24550
26307
  ;
24551
26308
  return 0;
24552
26309
}
24553
26310
_ACEOF
24554
26311
rm -f conftest.$ac_objext conftest$ac_exeext
24555
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24556
 
  (eval $ac_link) 2>conftest.er1
 
26312
if { (ac_try="$ac_link"
 
26313
case "(($ac_try" in
 
26314
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26315
  *) ac_try_echo=$ac_try;;
 
26316
esac
 
26317
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26318
  (eval "$ac_link") 2>conftest.er1
24557
26319
  ac_status=$?
24558
26320
  grep -v '^ *+' conftest.er1 >conftest.err
24559
26321
  rm -f conftest.er1
24560
26322
  cat conftest.err >&5
24561
26323
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562
 
  (exit $ac_status); } &&
24563
 
         { ac_try='test -z "$ac_c_werror_flag"
24564
 
                         || test ! -s conftest.err'
24565
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24566
 
  (eval $ac_try) 2>&5
24567
 
  ac_status=$?
24568
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569
 
  (exit $ac_status); }; } &&
24570
 
         { ac_try='test -s conftest$ac_exeext'
24571
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24572
 
  (eval $ac_try) 2>&5
24573
 
  ac_status=$?
24574
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575
 
  (exit $ac_status); }; }; then
 
26324
  (exit $ac_status); } && {
 
26325
         test -z "$ac_c_werror_flag" ||
 
26326
         test ! -s conftest.err
 
26327
       } && test -s conftest$ac_exeext &&
 
26328
       $as_test_x conftest$ac_exeext; then
24576
26329
  ac_cv_lib_jpeg_jpeg_CreateCompress=yes
24577
26330
else
24578
26331
  echo "$as_me: failed program was:" >&5
24579
26332
sed 's/^/| /' conftest.$ac_ext >&5
24580
26333
 
24581
 
ac_cv_lib_jpeg_jpeg_CreateCompress=no
 
26334
        ac_cv_lib_jpeg_jpeg_CreateCompress=no
24582
26335
fi
24583
 
rm -f conftest.err conftest.$ac_objext \
 
26336
 
 
26337
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24584
26338
      conftest$ac_exeext conftest.$ac_ext
24585
26339
LIBS=$ac_check_lib_save_LIBS
24586
26340
fi
24587
 
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_CreateCompress" >&5
24588
 
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_CreateCompress" >&6
 
26341
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_CreateCompress" >&5
 
26342
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_CreateCompress" >&6; }
24589
26343
if test $ac_cv_lib_jpeg_jpeg_CreateCompress = yes; then
24590
26344
  cat >>confdefs.h <<_ACEOF
24591
26345
#define HAVE_LIBJPEG 1
24609
26363
for ac_header in netinet/in.h sys/time.h fcntl.h unistd.h sys/socket.h
24610
26364
do
24611
26365
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24612
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24613
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
24614
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24615
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
26366
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
26367
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
26368
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
26369
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24616
26370
  echo $ECHO_N "(cached) $ECHO_C" >&6
24617
26371
fi
24618
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24619
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26372
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26373
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26374
echo "${ECHO_T}$ac_res" >&6; }
24620
26375
else
24621
26376
  # Is the header compilable?
24622
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
24623
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
26377
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
26378
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24624
26379
cat >conftest.$ac_ext <<_ACEOF
24625
26380
/* confdefs.h.  */
24626
26381
_ACEOF
24631
26386
#include <$ac_header>
24632
26387
_ACEOF
24633
26388
rm -f conftest.$ac_objext
24634
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24635
 
  (eval $ac_compile) 2>conftest.er1
 
26389
if { (ac_try="$ac_compile"
 
26390
case "(($ac_try" in
 
26391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26392
  *) ac_try_echo=$ac_try;;
 
26393
esac
 
26394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26395
  (eval "$ac_compile") 2>conftest.er1
24636
26396
  ac_status=$?
24637
26397
  grep -v '^ *+' conftest.er1 >conftest.err
24638
26398
  rm -f conftest.er1
24639
26399
  cat conftest.err >&5
24640
26400
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641
 
  (exit $ac_status); } &&
24642
 
         { ac_try='test -z "$ac_c_werror_flag"
24643
 
                         || test ! -s conftest.err'
24644
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24645
 
  (eval $ac_try) 2>&5
24646
 
  ac_status=$?
24647
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648
 
  (exit $ac_status); }; } &&
24649
 
         { ac_try='test -s conftest.$ac_objext'
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); }; }; then
 
26401
  (exit $ac_status); } && {
 
26402
         test -z "$ac_c_werror_flag" ||
 
26403
         test ! -s conftest.err
 
26404
       } && test -s conftest.$ac_objext; then
24655
26405
  ac_header_compiler=yes
24656
26406
else
24657
26407
  echo "$as_me: failed program was:" >&5
24658
26408
sed 's/^/| /' conftest.$ac_ext >&5
24659
26409
 
24660
 
ac_header_compiler=no
 
26410
        ac_header_compiler=no
24661
26411
fi
24662
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24663
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24664
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
26412
 
 
26413
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26414
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
26415
echo "${ECHO_T}$ac_header_compiler" >&6; }
24665
26416
 
24666
26417
# Is the header present?
24667
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
24668
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
26418
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
26419
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24669
26420
cat >conftest.$ac_ext <<_ACEOF
24670
26421
/* confdefs.h.  */
24671
26422
_ACEOF
24674
26425
/* end confdefs.h.  */
24675
26426
#include <$ac_header>
24676
26427
_ACEOF
24677
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24678
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
26428
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
26429
case "(($ac_try" in
 
26430
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26431
  *) ac_try_echo=$ac_try;;
 
26432
esac
 
26433
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26434
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24679
26435
  ac_status=$?
24680
26436
  grep -v '^ *+' conftest.er1 >conftest.err
24681
26437
  rm -f conftest.er1
24682
26438
  cat conftest.err >&5
24683
26439
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684
 
  (exit $ac_status); } >/dev/null; then
24685
 
  if test -s conftest.err; then
24686
 
    ac_cpp_err=$ac_c_preproc_warn_flag
24687
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24688
 
  else
24689
 
    ac_cpp_err=
24690
 
  fi
24691
 
else
24692
 
  ac_cpp_err=yes
24693
 
fi
24694
 
if test -z "$ac_cpp_err"; then
 
26440
  (exit $ac_status); } >/dev/null && {
 
26441
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
26442
         test ! -s conftest.err
 
26443
       }; then
24695
26444
  ac_header_preproc=yes
24696
26445
else
24697
26446
  echo "$as_me: failed program was:" >&5
24699
26448
 
24700
26449
  ac_header_preproc=no
24701
26450
fi
 
26451
 
24702
26452
rm -f conftest.err conftest.$ac_ext
24703
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24704
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
26453
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
26454
echo "${ECHO_T}$ac_header_preproc" >&6; }
24705
26455
 
24706
26456
# So?  What about this header?
24707
26457
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24725
26475
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24726
26476
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24727
26477
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24728
 
    (
24729
 
      cat <<\_ASBOX
 
26478
    ( cat <<\_ASBOX
24730
26479
## ------------------------------------------------------------------- ##
24731
26480
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=vino ##
24732
26481
## ------------------------------------------------------------------- ##
24733
26482
_ASBOX
24734
 
    ) |
24735
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
26483
     ) | sed "s/^/$as_me: WARNING:     /" >&2
24736
26484
    ;;
24737
26485
esac
24738
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
24739
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24740
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
26486
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
26487
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
26488
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24741
26489
  echo $ECHO_N "(cached) $ECHO_C" >&6
24742
26490
else
24743
26491
  eval "$as_ac_Header=\$ac_header_preproc"
24744
26492
fi
24745
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24746
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
26493
ac_res=`eval echo '${'$as_ac_Header'}'`
 
26494
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26495
echo "${ECHO_T}$ac_res" >&6; }
24747
26496
 
24748
26497
fi
24749
26498
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24759
26508
for ac_func in gettimeofday
24760
26509
do
24761
26510
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24762
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
24763
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24764
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
26511
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
26512
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
26513
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24765
26514
  echo $ECHO_N "(cached) $ECHO_C" >&6
24766
26515
else
24767
26516
  cat >conftest.$ac_ext <<_ACEOF
24787
26536
 
24788
26537
#undef $ac_func
24789
26538
 
24790
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26539
/* Override any GCC internal prototype to avoid an error.
 
26540
   Use char because int might match the return type of a GCC
 
26541
   builtin and then its argument prototype would still apply.  */
24791
26542
#ifdef __cplusplus
24792
26543
extern "C"
24793
 
{
24794
26544
#endif
24795
 
/* We use char because int might match the return type of a gcc2
24796
 
   builtin and then its argument prototype would still apply.  */
24797
26545
char $ac_func ();
24798
26546
/* The GNU C library defines this for functions which it implements
24799
26547
    to always fail with ENOSYS.  Some functions are actually named
24800
26548
    something starting with __ and the normal name is an alias.  */
24801
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
26549
#if defined __stub_$ac_func || defined __stub___$ac_func
24802
26550
choke me
24803
 
#else
24804
 
char (*f) () = $ac_func;
24805
 
#endif
24806
 
#ifdef __cplusplus
24807
 
}
24808
26551
#endif
24809
26552
 
24810
26553
int
24811
26554
main ()
24812
26555
{
24813
 
return f != $ac_func;
 
26556
return $ac_func ();
24814
26557
  ;
24815
26558
  return 0;
24816
26559
}
24817
26560
_ACEOF
24818
26561
rm -f conftest.$ac_objext conftest$ac_exeext
24819
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24820
 
  (eval $ac_link) 2>conftest.er1
 
26562
if { (ac_try="$ac_link"
 
26563
case "(($ac_try" in
 
26564
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26565
  *) ac_try_echo=$ac_try;;
 
26566
esac
 
26567
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26568
  (eval "$ac_link") 2>conftest.er1
24821
26569
  ac_status=$?
24822
26570
  grep -v '^ *+' conftest.er1 >conftest.err
24823
26571
  rm -f conftest.er1
24824
26572
  cat conftest.err >&5
24825
26573
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826
 
  (exit $ac_status); } &&
24827
 
         { ac_try='test -z "$ac_c_werror_flag"
24828
 
                         || test ! -s conftest.err'
24829
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24830
 
  (eval $ac_try) 2>&5
24831
 
  ac_status=$?
24832
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833
 
  (exit $ac_status); }; } &&
24834
 
         { ac_try='test -s conftest$ac_exeext'
24835
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836
 
  (eval $ac_try) 2>&5
24837
 
  ac_status=$?
24838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839
 
  (exit $ac_status); }; }; then
 
26574
  (exit $ac_status); } && {
 
26575
         test -z "$ac_c_werror_flag" ||
 
26576
         test ! -s conftest.err
 
26577
       } && test -s conftest$ac_exeext &&
 
26578
       $as_test_x conftest$ac_exeext; then
24840
26579
  eval "$as_ac_var=yes"
24841
26580
else
24842
26581
  echo "$as_me: failed program was:" >&5
24843
26582
sed 's/^/| /' conftest.$ac_ext >&5
24844
26583
 
24845
 
eval "$as_ac_var=no"
 
26584
        eval "$as_ac_var=no"
24846
26585
fi
24847
 
rm -f conftest.err conftest.$ac_objext \
 
26586
 
 
26587
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24848
26588
      conftest$ac_exeext conftest.$ac_ext
24849
26589
fi
24850
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24851
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
26590
ac_res=`eval echo '${'$as_ac_var'}'`
 
26591
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26592
echo "${ECHO_T}$ac_res" >&6; }
24852
26593
if test `eval echo '${'$as_ac_var'}'` = yes; then
24853
26594
  cat >>confdefs.h <<_ACEOF
24854
26595
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24860
26601
 
24861
26602
 
24862
26603
 
24863
 
# Check whether --enable-debug or --disable-debug was given.
 
26604
{ echo "$as_me:$LINENO: checking checking for IPv6 support" >&5
 
26605
echo $ECHO_N "checking checking for IPv6 support... $ECHO_C" >&6; }
 
26606
# Check whether --enable-ipv6 was given.
 
26607
if test "${enable_ipv6+set}" = set; then
 
26608
  enableval=$enable_ipv6;
 
26609
else
 
26610
  enable_ipv6=yes
 
26611
fi
 
26612
 
 
26613
if test "x$enable_ipv6" = "xyes"; then
 
26614
    cat >conftest.$ac_ext <<_ACEOF
 
26615
/* confdefs.h.  */
 
26616
_ACEOF
 
26617
cat confdefs.h >>conftest.$ac_ext
 
26618
cat >>conftest.$ac_ext <<_ACEOF
 
26619
/* end confdefs.h.  */
 
26620
 
 
26621
      #include <sys/types.h>
 
26622
      #include <sys/socket.h>
 
26623
 
 
26624
int
 
26625
main ()
 
26626
{
 
26627
 
 
26628
      socket(AF_INET6, SOCK_STREAM, 0);
 
26629
 
 
26630
  ;
 
26631
  return 0;
 
26632
}
 
26633
_ACEOF
 
26634
rm -f conftest.$ac_objext
 
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
 
26642
  ac_status=$?
 
26643
  grep -v '^ *+' conftest.er1 >conftest.err
 
26644
  rm -f conftest.er1
 
26645
  cat conftest.err >&5
 
26646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26647
  (exit $ac_status); } && {
 
26648
         test -z "$ac_c_werror_flag" ||
 
26649
         test ! -s conftest.err
 
26650
       } && test -s conftest.$ac_objext; then
 
26651
  have_ipv6=yes
 
26652
else
 
26653
  echo "$as_me: failed program was:" >&5
 
26654
sed 's/^/| /' conftest.$ac_ext >&5
 
26655
 
 
26656
        have_ipv6=no
 
26657
fi
 
26658
 
 
26659
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26660
 
 
26661
    if test "x$have_ipv6" = "xyes"; then
 
26662
 
 
26663
cat >>confdefs.h <<\_ACEOF
 
26664
#define ENABLE_IPV6
 
26665
_ACEOF
 
26666
 
 
26667
    fi
 
26668
else
 
26669
    have_ipv6=no
 
26670
fi
 
26671
{ echo "$as_me:$LINENO: result: $have_ipv6" >&5
 
26672
echo "${ECHO_T}$have_ipv6" >&6; }
 
26673
 
 
26674
# Check whether --enable-debug was given.
24864
26675
if test "${enable_debug+set}" = set; then
24865
 
  enableval="$enable_debug"
24866
 
 
 
26676
  enableval=$enable_debug;
24867
26677
else
24868
26678
  enable_debug=minimum
24869
 
fi;
 
26679
fi
 
26680
 
24870
26681
if test "$enable_debug" = "yes"; then
24871
26682
  VINO_DEBUG_CFLAGS="-DG_ENABLE_DEBUG"
24872
26683
else
24886
26697
  fi
24887
26698
 
24888
26699
 
24889
 
# Check whether --with-gconf-source or --without-gconf-source was given.
 
26700
# Check whether --with-gconf-source was given.
24890
26701
if test "${with_gconf_source+set}" = set; then
24891
 
  withval="$with_gconf_source"
24892
 
  GCONF_SCHEMA_CONFIG_SOURCE="$withval"
24893
 
fi;
24894
 
 
24895
 
 
24896
 
  echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
24897
 
echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6
 
26702
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
 
26703
fi
 
26704
 
 
26705
 
 
26706
 
 
26707
  { echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
 
26708
echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
24898
26709
 
24899
26710
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
24900
26711
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
24901
26712
  fi
24902
26713
 
24903
26714
 
24904
 
# Check whether --with-gconf-schema-file-dir or --without-gconf-schema-file-dir was given.
 
26715
# Check whether --with-gconf-schema-file-dir was given.
24905
26716
if test "${with_gconf_schema_file_dir+set}" = set; then
24906
 
  withval="$with_gconf_schema_file_dir"
24907
 
  GCONF_SCHEMA_FILE_DIR="$withval"
24908
 
fi;
24909
 
 
24910
 
 
24911
 
  echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
24912
 
echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6
24913
 
 
24914
 
  # Check whether --enable-schemas-install or --disable-schemas-install was given.
 
26717
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
 
26718
fi
 
26719
 
 
26720
 
 
26721
 
 
26722
  { echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
 
26723
echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
 
26724
 
 
26725
  # Check whether --enable-schemas-install was given.
24915
26726
if test "${enable_schemas_install+set}" = set; then
24916
 
  enableval="$enable_schemas_install"
24917
 
  case ${enableval} in
 
26727
  enableval=$enable_schemas_install; case ${enableval} in
24918
26728
       yes|no) ;;
24919
26729
       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
24920
26730
echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
24921
26731
   { (exit 1); exit 1; }; } ;;
24922
26732
      esac
24923
 
fi;
 
26733
fi
 
26734
 
24924
26735
 
24925
26736
 
24926
26737
if test "$enable_schemas_install" != no; then
24937
26748
do
24938
26749
  # Extract the first word of "$ac_prog", so it can be a program name with args.
24939
26750
set dummy $ac_prog; ac_word=$2
24940
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
24941
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
26751
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
26752
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24942
26753
if test "${ac_cv_path_PERL+set}" = set; then
24943
26754
  echo $ECHO_N "(cached) $ECHO_C" >&6
24944
26755
else
24953
26764
  IFS=$as_save_IFS
24954
26765
  test -z "$as_dir" && as_dir=.
24955
26766
  for ac_exec_ext in '' $ac_executable_extensions; do
24956
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
26767
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24957
26768
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
24958
26769
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24959
26770
    break 2
24960
26771
  fi
24961
26772
done
24962
26773
done
 
26774
IFS=$as_save_IFS
24963
26775
 
24964
26776
  ;;
24965
26777
esac
24966
26778
fi
24967
26779
PERL=$ac_cv_path_PERL
24968
 
 
24969
26780
if test -n "$PERL"; then
24970
 
  echo "$as_me:$LINENO: result: $PERL" >&5
24971
 
echo "${ECHO_T}$PERL" >&6
 
26781
  { echo "$as_me:$LINENO: result: $PERL" >&5
 
26782
echo "${ECHO_T}$PERL" >&6; }
24972
26783
else
24973
 
  echo "$as_me:$LINENO: result: no" >&5
24974
 
echo "${ECHO_T}no" >&6
 
26784
  { echo "$as_me:$LINENO: result: no" >&5
 
26785
echo "${ECHO_T}no" >&6; }
24975
26786
fi
24976
26787
 
 
26788
 
24977
26789
  test -n "$PERL" && break
24978
26790
done
24979
26791
 
24980
 
# Check whether --enable-rebuilds or --disable-rebuilds was given.
 
26792
# Check whether --enable-rebuilds was given.
24981
26793
if test "${enable_rebuilds+set}" = set; then
24982
 
  enableval="$enable_rebuilds"
24983
 
 
 
26794
  enableval=$enable_rebuilds;
24984
26795
else
24985
26796
  enable_rebuilds=yes
24986
 
fi;
 
26797
fi
 
26798
 
24987
26799
REBUILD=\#
24988
26800
if test "x$enable_rebuilds" = "xyes" && \
24989
26801
     test -n "$PERL" && \
24992
26804
fi
24993
26805
 
24994
26806
 
24995
 
                                                                                          ac_config_files="$ac_config_files Makefile server/Makefile server/libvncserver/Makefile server/libvncserver/rfb/Makefile capplet/Makefile session/Makefile icons/Makefile docs/Makefile po/Makefile.in"
24996
 
 
24997
 
 
24998
 
          ac_config_files="$ac_config_files capplet/vino-preferences.desktop.in"
 
26807
ac_config_files="$ac_config_files Makefile server/Makefile server/libvncserver/Makefile server/libvncserver/rfb/Makefile capplet/Makefile session/Makefile docs/Makefile po/Makefile.in"
 
26808
 
 
26809
 
 
26810
ac_config_files="$ac_config_files capplet/vino-preferences.desktop.in"
 
26811
 
24999
26812
cat >confcache <<\_ACEOF
25000
26813
# This file is a shell script that caches the results of configure
25001
26814
# tests run on this system so they can be shared between configure
25014
26827
 
25015
26828
# The following way of writing the cache mishandles newlines in values,
25016
26829
# but we know of no workaround that is simple, portable, and efficient.
25017
 
# So, don't put newlines in cache variables' values.
 
26830
# So, we kill variables containing newlines.
25018
26831
# Ultrix sh set writes to stderr and can't be redirected directly,
25019
26832
# and sets the high bit in the cache file unless we assign to the vars.
25020
 
{
 
26833
(
 
26834
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
26835
    eval ac_val=\$$ac_var
 
26836
    case $ac_val in #(
 
26837
    *${as_nl}*)
 
26838
      case $ac_var in #(
 
26839
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
26840
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
26841
      esac
 
26842
      case $ac_var in #(
 
26843
      _ | IFS | as_nl) ;; #(
 
26844
      *) $as_unset $ac_var ;;
 
26845
      esac ;;
 
26846
    esac
 
26847
  done
 
26848
 
25021
26849
  (set) 2>&1 |
25022
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
25023
 
    *ac_space=\ *)
 
26850
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
26851
    *${as_nl}ac_space=\ *)
25024
26852
      # `set' does not quote correctly, so add quotes (double-quote
25025
26853
      # substitution turns \\\\ into \\, and sed turns \\ into \).
25026
26854
      sed -n \
25027
26855
        "s/'/'\\\\''/g;
25028
26856
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25029
 
      ;;
 
26857
      ;; #(
25030
26858
    *)
25031
26859
      # `set' quotes correctly as required by POSIX, so do not add quotes.
25032
 
      sed -n \
25033
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
26860
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25034
26861
      ;;
25035
 
    esac;
25036
 
} |
 
26862
    esac |
 
26863
    sort
 
26864
) |
25037
26865
  sed '
 
26866
     /^ac_cv_env_/b end
25038
26867
     t clear
25039
 
     : clear
 
26868
     :clear
25040
26869
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25041
26870
     t end
25042
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25043
 
     : end' >>confcache
25044
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
25045
 
  if test -w $cache_file; then
25046
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
26871
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
26872
     :end' >>confcache
 
26873
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
26874
  if test -w "$cache_file"; then
 
26875
    test "x$cache_file" != "x/dev/null" &&
 
26876
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
26877
echo "$as_me: updating cache $cache_file" >&6;}
25047
26878
    cat confcache >$cache_file
25048
26879
  else
25049
 
    echo "not updating unwritable cache $cache_file"
 
26880
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
26881
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25050
26882
  fi
25051
26883
fi
25052
26884
rm -f confcache
25055
26887
# Let make expand exec_prefix.
25056
26888
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25057
26889
 
25058
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
25059
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25060
 
# trailing colons and then remove the whole line if VPATH becomes empty
25061
 
# (actually we leave an empty line to preserve line numbers).
25062
 
if test "x$srcdir" = x.; then
25063
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
25064
 
s/:*\$(srcdir):*/:/;
25065
 
s/:*\${srcdir}:*/:/;
25066
 
s/:*@srcdir@:*/:/;
25067
 
s/^\([^=]*=[     ]*\):*/\1/;
25068
 
s/:*$//;
25069
 
s/^[^=]*=[       ]*$//;
25070
 
}'
25071
 
fi
25072
 
 
25073
26890
DEFS=-DHAVE_CONFIG_H
25074
26891
 
25075
26892
ac_libobjs=
25076
26893
ac_ltlibobjs=
25077
26894
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25078
26895
  # 1. Remove the extension, and $U if already installed.
25079
 
  ac_i=`echo "$ac_i" |
25080
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
25081
 
  # 2. Add them.
25082
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
25083
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
26896
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
26897
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
26898
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
26899
  #    will be set to the directory where LIBOBJS objects are built.
 
26900
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
26901
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25084
26902
done
25085
26903
LIBOBJS=$ac_libobjs
25086
26904
 
25116
26934
   { (exit 1); exit 1; }; }
25117
26935
fi
25118
26936
 
25119
 
            ac_config_commands="$ac_config_commands po/stamp-it"
 
26937
  ac_config_commands="$ac_config_commands po/stamp-it"
25120
26938
 
25121
26939
 
25122
26940
if test -z "${SESSION_SUPPORT_TRUE}" && test -z "${SESSION_SUPPORT_FALSE}"; then
25164
26982
## M4sh Initialization.  ##
25165
26983
## --------------------- ##
25166
26984
 
25167
 
# Be Bourne compatible
 
26985
# Be more Bourne compatible
 
26986
DUALCASE=1; export DUALCASE # for MKS sh
25168
26987
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25169
26988
  emulate sh
25170
26989
  NULLCMD=:
25171
26990
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25172
26991
  # is contrary to our usage.  Disable this feature.
25173
26992
  alias -g '${1+"$@"}'='"$@"'
25174
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
25175
 
  set -o posix
25176
 
fi
25177
 
DUALCASE=1; export DUALCASE # for MKS sh
 
26993
  setopt NO_GLOB_SUBST
 
26994
else
 
26995
  case `(set -o) 2>/dev/null` in
 
26996
  *posix*) set -o posix ;;
 
26997
esac
 
26998
 
 
26999
fi
 
27000
 
 
27001
 
 
27002
 
 
27003
 
 
27004
# PATH needs CR
 
27005
# Avoid depending upon Character Ranges.
 
27006
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
27007
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
27008
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
27009
as_cr_digits='0123456789'
 
27010
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
27011
 
 
27012
# The user is always right.
 
27013
if test "${PATH_SEPARATOR+set}" != set; then
 
27014
  echo "#! /bin/sh" >conf$$.sh
 
27015
  echo  "exit 0"   >>conf$$.sh
 
27016
  chmod +x conf$$.sh
 
27017
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
27018
    PATH_SEPARATOR=';'
 
27019
  else
 
27020
    PATH_SEPARATOR=:
 
27021
  fi
 
27022
  rm -f conf$$.sh
 
27023
fi
25178
27024
 
25179
27025
# Support unset when possible.
25180
27026
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25184
27030
fi
25185
27031
 
25186
27032
 
 
27033
# IFS
 
27034
# We need space, tab and new line, in precisely that order.  Quoting is
 
27035
# there to prevent editors from complaining about space-tab.
 
27036
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
27037
# splitting by setting IFS to empty value.)
 
27038
as_nl='
 
27039
'
 
27040
IFS=" ""        $as_nl"
 
27041
 
 
27042
# Find who we are.  Look in the path if we contain no directory separator.
 
27043
case $0 in
 
27044
  *[\\/]* ) as_myself=$0 ;;
 
27045
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
27046
for as_dir in $PATH
 
27047
do
 
27048
  IFS=$as_save_IFS
 
27049
  test -z "$as_dir" && as_dir=.
 
27050
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
27051
done
 
27052
IFS=$as_save_IFS
 
27053
 
 
27054
     ;;
 
27055
esac
 
27056
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
27057
# in which case we are not to be found in the path.
 
27058
if test "x$as_myself" = x; then
 
27059
  as_myself=$0
 
27060
fi
 
27061
if test ! -f "$as_myself"; then
 
27062
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
27063
  { (exit 1); exit 1; }
 
27064
fi
 
27065
 
25187
27066
# Work around bugs in pre-3.0 UWIN ksh.
25188
 
$as_unset ENV MAIL MAILPATH
 
27067
for as_var in ENV MAIL MAILPATH
 
27068
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
27069
done
25189
27070
PS1='$ '
25190
27071
PS2='> '
25191
27072
PS4='+ '
25199
27080
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25200
27081
    eval $as_var=C; export $as_var
25201
27082
  else
25202
 
    $as_unset $as_var
 
27083
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
25203
27084
  fi
25204
27085
done
25205
27086
 
25206
27087
# Required to use basename.
25207
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
27088
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
27089
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
25208
27090
  as_expr=expr
25209
27091
else
25210
27092
  as_expr=false
25211
27093
fi
25212
27094
 
25213
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
27095
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25214
27096
  as_basename=basename
25215
27097
else
25216
27098
  as_basename=false
25218
27100
 
25219
27101
 
25220
27102
# Name of the executable.
25221
 
as_me=`$as_basename "$0" ||
 
27103
as_me=`$as_basename -- "$0" ||
25222
27104
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25223
27105
         X"$0" : 'X\(//\)$' \| \
25224
 
         X"$0" : 'X\(/\)$' \| \
25225
 
         .     : '\(.\)' 2>/dev/null ||
 
27106
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25226
27107
echo X/"$0" |
25227
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
25228
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
25229
 
          /^X\/\(\/\).*/{ s//\1/; q; }
25230
 
          s/.*/./; q'`
25231
 
 
25232
 
 
25233
 
# PATH needs CR, and LINENO needs CR and PATH.
25234
 
# Avoid depending upon Character Ranges.
25235
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25236
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25237
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25238
 
as_cr_digits='0123456789'
25239
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
25240
 
 
25241
 
# The user is always right.
25242
 
if test "${PATH_SEPARATOR+set}" != set; then
25243
 
  echo "#! /bin/sh" >conf$$.sh
25244
 
  echo  "exit 0"   >>conf$$.sh
25245
 
  chmod +x conf$$.sh
25246
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25247
 
    PATH_SEPARATOR=';'
25248
 
  else
25249
 
    PATH_SEPARATOR=:
25250
 
  fi
25251
 
  rm -f conf$$.sh
25252
 
fi
25253
 
 
25254
 
 
25255
 
  as_lineno_1=$LINENO
25256
 
  as_lineno_2=$LINENO
25257
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25258
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
25259
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
25260
 
  # Find who we are.  Look in the path if we contain no path at all
25261
 
  # relative or not.
25262
 
  case $0 in
25263
 
    *[\\/]* ) as_myself=$0 ;;
25264
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25265
 
for as_dir in $PATH
25266
 
do
25267
 
  IFS=$as_save_IFS
25268
 
  test -z "$as_dir" && as_dir=.
25269
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25270
 
done
25271
 
 
25272
 
       ;;
25273
 
  esac
25274
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
25275
 
  # in which case we are not to be found in the path.
25276
 
  if test "x$as_myself" = x; then
25277
 
    as_myself=$0
25278
 
  fi
25279
 
  if test ! -f "$as_myself"; then
25280
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
25281
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
25282
 
   { (exit 1); exit 1; }; }
25283
 
  fi
25284
 
  case $CONFIG_SHELL in
25285
 
  '')
25286
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25287
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
25288
 
do
25289
 
  IFS=$as_save_IFS
25290
 
  test -z "$as_dir" && as_dir=.
25291
 
  for as_base in sh bash ksh sh5; do
25292
 
         case $as_dir in
25293
 
         /*)
25294
 
           if ("$as_dir/$as_base" -c '
25295
 
  as_lineno_1=$LINENO
25296
 
  as_lineno_2=$LINENO
25297
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25298
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
25299
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
25300
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
25301
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
25302
 
             CONFIG_SHELL=$as_dir/$as_base
25303
 
             export CONFIG_SHELL
25304
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
25305
 
           fi;;
25306
 
         esac
25307
 
       done
25308
 
done
25309
 
;;
25310
 
  esac
 
27108
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
27109
            s//\1/
 
27110
            q
 
27111
          }
 
27112
          /^X\/\(\/\/\)$/{
 
27113
            s//\1/
 
27114
            q
 
27115
          }
 
27116
          /^X\/\(\/\).*/{
 
27117
            s//\1/
 
27118
            q
 
27119
          }
 
27120
          s/.*/./; q'`
 
27121
 
 
27122
# CDPATH.
 
27123
$as_unset CDPATH
 
27124
 
 
27125
 
 
27126
 
 
27127
  as_lineno_1=$LINENO
 
27128
  as_lineno_2=$LINENO
 
27129
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
27130
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
25311
27131
 
25312
27132
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25313
27133
  # uniformly replaced by the line number.  The first 'sed' inserts a
25314
 
  # line-number line before each line; the second 'sed' does the real
25315
 
  # work.  The second script uses 'N' to pair each line-number line
25316
 
  # with the numbered line, and appends trailing '-' during
25317
 
  # substitution so that $LINENO is not a special case at line end.
 
27134
  # line-number line after each line using $LINENO; the second 'sed'
 
27135
  # does the real work.  The second script uses 'N' to pair each
 
27136
  # line-number line with the line containing $LINENO, and appends
 
27137
  # trailing '-' during substitution so that $LINENO is not a special
 
27138
  # case at line end.
25318
27139
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25319
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
25320
 
  sed '=' <$as_myself |
 
27140
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
27141
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
27142
  sed -n '
 
27143
    p
 
27144
    /[$]LINENO/=
 
27145
  ' <$as_myself |
25321
27146
    sed '
 
27147
      s/[$]LINENO.*/&-/
 
27148
      t lineno
 
27149
      b
 
27150
      :lineno
25322
27151
      N
25323
 
      s,$,-,
25324
 
      : loop
25325
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
27152
      :loop
 
27153
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25326
27154
      t loop
25327
 
      s,-$,,
25328
 
      s,^['$as_cr_digits']*\n,,
 
27155
      s/-\n.*//
25329
27156
    ' >$as_me.lineno &&
25330
 
  chmod +x $as_me.lineno ||
25331
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
25332
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
27157
  chmod +x "$as_me.lineno" ||
 
27158
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25333
27159
   { (exit 1); exit 1; }; }
25334
27160
 
25335
27161
  # Don't try to exec as it changes $[0], causing all sort of problems
25336
27162
  # (the dirname of $[0] is not the place where we might find the
25337
 
  # original and so on.  Autoconf is especially sensible to this).
25338
 
  . ./$as_me.lineno
 
27163
  # original and so on.  Autoconf is especially sensitive to this).
 
27164
  . "./$as_me.lineno"
25339
27165
  # Exit status is that of the last command.
25340
27166
  exit
25341
27167
}
25342
27168
 
25343
27169
 
25344
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
25345
 
  *c*,-n*) ECHO_N= ECHO_C='
25346
 
' ECHO_T='      ' ;;
25347
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
25348
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
27170
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
27171
  as_dirname=dirname
 
27172
else
 
27173
  as_dirname=false
 
27174
fi
 
27175
 
 
27176
ECHO_C= ECHO_N= ECHO_T=
 
27177
case `echo -n x` in
 
27178
-n*)
 
27179
  case `echo 'x\c'` in
 
27180
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
27181
  *)   ECHO_C='\c';;
 
27182
  esac;;
 
27183
*)
 
27184
  ECHO_N='-n';;
25349
27185
esac
25350
27186
 
25351
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
27187
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
27188
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
25352
27189
  as_expr=expr
25353
27190
else
25354
27191
  as_expr=false
25355
27192
fi
25356
27193
 
25357
27194
rm -f conf$$ conf$$.exe conf$$.file
 
27195
if test -d conf$$.dir; then
 
27196
  rm -f conf$$.dir/conf$$.file
 
27197
else
 
27198
  rm -f conf$$.dir
 
27199
  mkdir conf$$.dir
 
27200
fi
25358
27201
echo >conf$$.file
25359
27202
if ln -s conf$$.file conf$$ 2>/dev/null; then
25360
 
  # We could just check for DJGPP; but this test a) works b) is more generic
25361
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
25362
 
  if test -f conf$$.exe; then
25363
 
    # Don't use ln at all; we don't have any links
 
27203
  as_ln_s='ln -s'
 
27204
  # ... but there are two gotchas:
 
27205
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
27206
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
27207
  # In both cases, we have to default to `cp -p'.
 
27208
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25364
27209
    as_ln_s='cp -p'
25365
 
  else
25366
 
    as_ln_s='ln -s'
25367
 
  fi
25368
27210
elif ln conf$$.file conf$$ 2>/dev/null; then
25369
27211
  as_ln_s=ln
25370
27212
else
25371
27213
  as_ln_s='cp -p'
25372
27214
fi
25373
 
rm -f conf$$ conf$$.exe conf$$.file
 
27215
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
27216
rmdir conf$$.dir 2>/dev/null
25374
27217
 
25375
27218
if mkdir -p . 2>/dev/null; then
25376
27219
  as_mkdir_p=:
25379
27222
  as_mkdir_p=false
25380
27223
fi
25381
27224
 
25382
 
as_executable_p="test -f"
 
27225
if test -x / >/dev/null 2>&1; then
 
27226
  as_test_x='test -x'
 
27227
else
 
27228
  if ls -dL / >/dev/null 2>&1; then
 
27229
    as_ls_L_option=L
 
27230
  else
 
27231
    as_ls_L_option=
 
27232
  fi
 
27233
  as_test_x='
 
27234
    eval sh -c '\''
 
27235
      if test -d "$1"; then
 
27236
        test -d "$1/.";
 
27237
      else
 
27238
        case $1 in
 
27239
        -*)set "./$1";;
 
27240
        esac;
 
27241
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
27242
        ???[sx]*):;;*)false;;esac;fi
 
27243
    '\'' sh
 
27244
  '
 
27245
fi
 
27246
as_executable_p=$as_test_x
25383
27247
 
25384
27248
# Sed expression to map a string onto a valid CPP name.
25385
27249
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25388
27252
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25389
27253
 
25390
27254
 
25391
 
# IFS
25392
 
# We need space, tab and new line, in precisely that order.
25393
 
as_nl='
25394
 
'
25395
 
IFS="   $as_nl"
25396
 
 
25397
 
# CDPATH.
25398
 
$as_unset CDPATH
25399
 
 
25400
27255
exec 6>&1
25401
27256
 
25402
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
27257
# Save the log message, to keep $[0] and so on meaningful, and to
25403
27258
# report actual input values of CONFIG_FILES etc. instead of their
25404
 
# values after options handling.  Logging --version etc. is OK.
25405
 
exec 5>>config.log
25406
 
{
25407
 
  echo
25408
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25409
 
## Running $as_me. ##
25410
 
_ASBOX
25411
 
} >&5
25412
 
cat >&5 <<_CSEOF
25413
 
 
25414
 
This file was extended by vino $as_me 2.16.0, which was
25415
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
27259
# values after options handling.
 
27260
ac_log="
 
27261
This file was extended by vino $as_me 2.22.2, which was
 
27262
generated by GNU Autoconf 2.61.  Invocation command line was
25416
27263
 
25417
27264
  CONFIG_FILES    = $CONFIG_FILES
25418
27265
  CONFIG_HEADERS  = $CONFIG_HEADERS
25420
27267
  CONFIG_COMMANDS = $CONFIG_COMMANDS
25421
27268
  $ $0 $@
25422
27269
 
25423
 
_CSEOF
25424
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
25425
 
echo >&5
 
27270
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
27271
"
 
27272
 
25426
27273
_ACEOF
25427
27274
 
 
27275
cat >>$CONFIG_STATUS <<_ACEOF
25428
27276
# Files that config.status was made for.
25429
 
if test -n "$ac_config_files"; then
25430
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
25431
 
fi
25432
 
 
25433
 
if test -n "$ac_config_headers"; then
25434
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
25435
 
fi
25436
 
 
25437
 
if test -n "$ac_config_links"; then
25438
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
25439
 
fi
25440
 
 
25441
 
if test -n "$ac_config_commands"; then
25442
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
25443
 
fi
 
27277
config_files="$ac_config_files"
 
27278
config_headers="$ac_config_headers"
 
27279
config_commands="$ac_config_commands"
 
27280
 
 
27281
_ACEOF
25444
27282
 
25445
27283
cat >>$CONFIG_STATUS <<\_ACEOF
25446
 
 
25447
27284
ac_cs_usage="\
25448
27285
\`$as_me' instantiates files from templates according to the
25449
27286
current configuration.
25451
27288
Usage: $0 [OPTIONS] [FILE]...
25452
27289
 
25453
27290
  -h, --help       print this help, then exit
25454
 
  -V, --version    print version number, then exit
 
27291
  -V, --version    print version number and configuration settings, then exit
25455
27292
  -q, --quiet      do not print progress messages
25456
27293
  -d, --debug      don't remove temporary files
25457
27294
      --recheck    update $as_me by reconfiguring in the same conditions
25470
27307
$config_commands
25471
27308
 
25472
27309
Report bugs to <bug-autoconf@gnu.org>."
 
27310
 
25473
27311
_ACEOF
25474
 
 
25475
27312
cat >>$CONFIG_STATUS <<_ACEOF
25476
27313
ac_cs_version="\\
25477
 
vino config.status 2.16.0
25478
 
configured by $0, generated by GNU Autoconf 2.59,
25479
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
27314
vino config.status 2.22.2
 
27315
configured by $0, generated by GNU Autoconf 2.61,
 
27316
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25480
27317
 
25481
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
27318
Copyright (C) 2006 Free Software Foundation, Inc.
25482
27319
This config.status script is free software; the Free Software Foundation
25483
27320
gives unlimited permission to copy, distribute and modify it."
25484
 
srcdir=$srcdir
25485
 
INSTALL="$INSTALL"
 
27321
 
 
27322
ac_pwd='$ac_pwd'
 
27323
srcdir='$srcdir'
 
27324
INSTALL='$INSTALL'
25486
27325
_ACEOF
25487
27326
 
25488
27327
cat >>$CONFIG_STATUS <<\_ACEOF
25493
27332
do
25494
27333
  case $1 in
25495
27334
  --*=*)
25496
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
25497
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
27335
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
27336
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25498
27337
    ac_shift=:
25499
27338
    ;;
25500
 
  -*)
 
27339
  *)
25501
27340
    ac_option=$1
25502
27341
    ac_optarg=$2
25503
27342
    ac_shift=shift
25504
27343
    ;;
25505
 
  *) # This is not an option, so the user has probably given explicit
25506
 
     # arguments.
25507
 
     ac_option=$1
25508
 
     ac_need_defaults=false;;
25509
27344
  esac
25510
27345
 
25511
27346
  case $ac_option in
25512
27347
  # Handling of the options.
25513
 
_ACEOF
25514
 
cat >>$CONFIG_STATUS <<\_ACEOF
25515
27348
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25516
27349
    ac_cs_recheck=: ;;
25517
 
  --version | --vers* | -V )
25518
 
    echo "$ac_cs_version"; exit 0 ;;
25519
 
  --he | --h)
25520
 
    # Conflict between --help and --header
25521
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
25522
 
Try \`$0 --help' for more information." >&5
25523
 
echo "$as_me: error: ambiguous option: $1
25524
 
Try \`$0 --help' for more information." >&2;}
25525
 
   { (exit 1); exit 1; }; };;
25526
 
  --help | --hel | -h )
25527
 
    echo "$ac_cs_usage"; exit 0 ;;
25528
 
  --debug | --d* | -d )
 
27350
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
27351
    echo "$ac_cs_version"; exit ;;
 
27352
  --debug | --debu | --deb | --de | --d | -d )
25529
27353
    debug=: ;;
25530
27354
  --file | --fil | --fi | --f )
25531
27355
    $ac_shift
25535
27359
    $ac_shift
25536
27360
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
25537
27361
    ac_need_defaults=false;;
 
27362
  --he | --h)
 
27363
    # Conflict between --help and --header
 
27364
    { echo "$as_me: error: ambiguous option: $1
 
27365
Try \`$0 --help' for more information." >&2
 
27366
   { (exit 1); exit 1; }; };;
 
27367
  --help | --hel | -h )
 
27368
    echo "$ac_cs_usage"; exit ;;
25538
27369
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25539
27370
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
25540
27371
    ac_cs_silent=: ;;
25541
27372
 
25542
27373
  # This is an error.
25543
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
25544
 
Try \`$0 --help' for more information." >&5
25545
 
echo "$as_me: error: unrecognized option: $1
25546
 
Try \`$0 --help' for more information." >&2;}
 
27374
  -*) { echo "$as_me: error: unrecognized option: $1
 
27375
Try \`$0 --help' for more information." >&2
25547
27376
   { (exit 1); exit 1; }; } ;;
25548
27377
 
25549
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
27378
  *) ac_config_targets="$ac_config_targets $1"
 
27379
     ac_need_defaults=false ;;
25550
27380
 
25551
27381
  esac
25552
27382
  shift
25562
27392
_ACEOF
25563
27393
cat >>$CONFIG_STATUS <<_ACEOF
25564
27394
if \$ac_cs_recheck; then
25565
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25566
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
27395
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
27396
  CONFIG_SHELL=$SHELL
 
27397
  export CONFIG_SHELL
 
27398
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25567
27399
fi
25568
27400
 
25569
27401
_ACEOF
 
27402
cat >>$CONFIG_STATUS <<\_ACEOF
 
27403
exec 5>>config.log
 
27404
{
 
27405
  echo
 
27406
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
27407
## Running $as_me. ##
 
27408
_ASBOX
 
27409
  echo "$ac_log"
 
27410
} >&5
25570
27411
 
 
27412
_ACEOF
25571
27413
cat >>$CONFIG_STATUS <<_ACEOF
25572
27414
#
25573
 
# INIT-COMMANDS section.
 
27415
# INIT-COMMANDS
25574
27416
#
25575
 
 
25576
27417
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25577
27418
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
25578
27419
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
25579
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
25580
 
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
25581
 
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
 
27420
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
25582
27421
 
25583
27422
 
25584
27423
_ACEOF
25585
27424
 
25586
 
 
25587
 
 
25588
27425
cat >>$CONFIG_STATUS <<\_ACEOF
 
27426
 
 
27427
# Handling of arguments.
25589
27428
for ac_config_target in $ac_config_targets
25590
27429
do
25591
 
  case "$ac_config_target" in
25592
 
  # Handling of arguments.
25593
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25594
 
  "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
25595
 
  "server/libvncserver/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/libvncserver/Makefile" ;;
25596
 
  "server/libvncserver/rfb/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/libvncserver/rfb/Makefile" ;;
25597
 
  "capplet/Makefile" ) CONFIG_FILES="$CONFIG_FILES capplet/Makefile" ;;
25598
 
  "session/Makefile" ) CONFIG_FILES="$CONFIG_FILES session/Makefile" ;;
25599
 
  "icons/Makefile" ) CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
25600
 
  "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
25601
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
25602
 
  "capplet/vino-preferences.desktop.in" ) CONFIG_FILES="$CONFIG_FILES capplet/vino-preferences.desktop.in" ;;
25603
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25604
 
  "intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
25605
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
25606
 
  "po/stamp-it" ) CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
25607
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
27430
  case $ac_config_target in
 
27431
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
27432
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
27433
    "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
 
27434
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
27435
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
27436
    "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
 
27437
    "server/libvncserver/Makefile") CONFIG_FILES="$CONFIG_FILES server/libvncserver/Makefile" ;;
 
27438
    "server/libvncserver/rfb/Makefile") CONFIG_FILES="$CONFIG_FILES server/libvncserver/rfb/Makefile" ;;
 
27439
    "capplet/Makefile") CONFIG_FILES="$CONFIG_FILES capplet/Makefile" ;;
 
27440
    "session/Makefile") CONFIG_FILES="$CONFIG_FILES session/Makefile" ;;
 
27441
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
 
27442
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
27443
    "capplet/vino-preferences.desktop.in") CONFIG_FILES="$CONFIG_FILES capplet/vino-preferences.desktop.in" ;;
 
27444
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
27445
 
25608
27446
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25609
27447
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25610
27448
   { (exit 1); exit 1; }; };;
25611
27449
  esac
25612
27450
done
25613
27451
 
 
27452
 
25614
27453
# If the user did not use the arguments to specify the items to instantiate,
25615
27454
# then the envvar interface is used.  Set only those that are not.
25616
27455
# We use the long form for the default assignment because of an extremely
25622
27461
fi
25623
27462
 
25624
27463
# Have a temporary directory for convenience.  Make it in the build tree
25625
 
# simply because there is no reason to put it here, and in addition,
 
27464
# simply because there is no reason against having it here, and in addition,
25626
27465
# creating and moving files from /tmp can sometimes cause problems.
25627
 
# Create a temporary directory, and hook for its removal unless debugging.
 
27466
# Hook for its removal unless debugging.
 
27467
# Note that there is a small window in which the directory will not be cleaned:
 
27468
# after its creation but before its name has been assigned to `$tmp'.
25628
27469
$debug ||
25629
27470
{
25630
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
27471
  tmp=
 
27472
  trap 'exit_status=$?
 
27473
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
27474
' 0
25631
27475
  trap '{ (exit 1); exit 1; }' 1 2 13 15
25632
27476
}
25633
 
 
25634
27477
# Create a (secure) tmp directory for tmp files.
25635
27478
 
25636
27479
{
25637
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
27480
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25638
27481
  test -n "$tmp" && test -d "$tmp"
25639
27482
}  ||
25640
27483
{
25641
 
  tmp=./confstat$$-$RANDOM
25642
 
  (umask 077 && mkdir $tmp)
 
27484
  tmp=./conf$$-$RANDOM
 
27485
  (umask 077 && mkdir "$tmp")
25643
27486
} ||
25644
27487
{
25645
27488
   echo "$me: cannot create a temporary directory in ." >&2
25646
27489
   { (exit 1); exit 1; }
25647
27490
}
25648
27491
 
25649
 
_ACEOF
25650
 
 
25651
 
cat >>$CONFIG_STATUS <<_ACEOF
25652
 
 
25653
27492
#
25654
 
# CONFIG_FILES section.
 
27493
# Set up the sed scripts for CONFIG_FILES section.
25655
27494
#
25656
27495
 
25657
27496
# No need to generate the scripts if there are no CONFIG_FILES.
25658
27497
# This happens for instance when ./config.status config.h
25659
 
if test -n "\$CONFIG_FILES"; then
25660
 
  # Protect against being on the right side of a sed subst in config.status.
25661
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25662
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25663
 
s,@SHELL@,$SHELL,;t t
25664
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25665
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25666
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25667
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25668
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25669
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25670
 
s,@exec_prefix@,$exec_prefix,;t t
25671
 
s,@prefix@,$prefix,;t t
25672
 
s,@program_transform_name@,$program_transform_name,;t t
25673
 
s,@bindir@,$bindir,;t t
25674
 
s,@sbindir@,$sbindir,;t t
25675
 
s,@libexecdir@,$libexecdir,;t t
25676
 
s,@datadir@,$datadir,;t t
25677
 
s,@sysconfdir@,$sysconfdir,;t t
25678
 
s,@sharedstatedir@,$sharedstatedir,;t t
25679
 
s,@localstatedir@,$localstatedir,;t t
25680
 
s,@libdir@,$libdir,;t t
25681
 
s,@includedir@,$includedir,;t t
25682
 
s,@oldincludedir@,$oldincludedir,;t t
25683
 
s,@infodir@,$infodir,;t t
25684
 
s,@mandir@,$mandir,;t t
25685
 
s,@build_alias@,$build_alias,;t t
25686
 
s,@host_alias@,$host_alias,;t t
25687
 
s,@target_alias@,$target_alias,;t t
25688
 
s,@DEFS@,$DEFS,;t t
25689
 
s,@ECHO_C@,$ECHO_C,;t t
25690
 
s,@ECHO_N@,$ECHO_N,;t t
25691
 
s,@ECHO_T@,$ECHO_T,;t t
25692
 
s,@LIBS@,$LIBS,;t t
25693
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25694
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25695
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25696
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
25697
 
s,@PACKAGE@,$PACKAGE,;t t
25698
 
s,@VERSION@,$VERSION,;t t
25699
 
s,@ACLOCAL@,$ACLOCAL,;t t
25700
 
s,@AUTOCONF@,$AUTOCONF,;t t
25701
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
25702
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
25703
 
s,@MAKEINFO@,$MAKEINFO,;t t
25704
 
s,@install_sh@,$install_sh,;t t
25705
 
s,@STRIP@,$STRIP,;t t
25706
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25707
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25708
 
s,@mkdir_p@,$mkdir_p,;t t
25709
 
s,@AWK@,$AWK,;t t
25710
 
s,@SET_MAKE@,$SET_MAKE,;t t
25711
 
s,@am__leading_dot@,$am__leading_dot,;t t
25712
 
s,@AMTAR@,$AMTAR,;t t
25713
 
s,@am__tar@,$am__tar,;t t
25714
 
s,@am__untar@,$am__untar,;t t
25715
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
25716
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
25717
 
s,@MAINT@,$MAINT,;t t
25718
 
s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
25719
 
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
25720
 
s,@CC@,$CC,;t t
25721
 
s,@CFLAGS@,$CFLAGS,;t t
25722
 
s,@LDFLAGS@,$LDFLAGS,;t t
25723
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
25724
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
25725
 
s,@EXEEXT@,$EXEEXT,;t t
25726
 
s,@OBJEXT@,$OBJEXT,;t t
25727
 
s,@DEPDIR@,$DEPDIR,;t t
25728
 
s,@am__include@,$am__include,;t t
25729
 
s,@am__quote@,$am__quote,;t t
25730
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25731
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25732
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25733
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
25734
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
25735
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
25736
 
s,@CPP@,$CPP,;t t
25737
 
s,@EGREP@,$EGREP,;t t
25738
 
s,@build@,$build,;t t
25739
 
s,@build_cpu@,$build_cpu,;t t
25740
 
s,@build_vendor@,$build_vendor,;t t
25741
 
s,@build_os@,$build_os,;t t
25742
 
s,@host@,$host,;t t
25743
 
s,@host_cpu@,$host_cpu,;t t
25744
 
s,@host_vendor@,$host_vendor,;t t
25745
 
s,@host_os@,$host_os,;t t
25746
 
s,@SED@,$SED,;t t
25747
 
s,@LN_S@,$LN_S,;t t
25748
 
s,@ECHO@,$ECHO,;t t
25749
 
s,@AR@,$AR,;t t
25750
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
25751
 
s,@RANLIB@,$RANLIB,;t t
25752
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25753
 
s,@CXX@,$CXX,;t t
25754
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
25755
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
25756
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
25757
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
25758
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
25759
 
s,@CXXCPP@,$CXXCPP,;t t
25760
 
s,@F77@,$F77,;t t
25761
 
s,@FFLAGS@,$FFLAGS,;t t
25762
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
25763
 
s,@LIBTOOL@,$LIBTOOL,;t t
25764
 
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
25765
 
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
25766
 
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
25767
 
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
25768
 
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
25769
 
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
25770
 
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
25771
 
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
25772
 
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
25773
 
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
25774
 
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
25775
 
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
25776
 
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
25777
 
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
25778
 
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
25779
 
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
25780
 
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
25781
 
s,@INTLTOOL_SERVICE_RULE@,$INTLTOOL_SERVICE_RULE,;t t
25782
 
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
25783
 
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
25784
 
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
25785
 
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
25786
 
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
25787
 
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
25788
 
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
25789
 
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
25790
 
s,@ALL_LINGUAS@,$ALL_LINGUAS,;t t
25791
 
s,@GCONFTOOL@,$GCONFTOOL,;t t
25792
 
s,@GLIB_GENMARSHAL@,$GLIB_GENMARSHAL,;t t
25793
 
s,@USE_NLS@,$USE_NLS,;t t
25794
 
s,@MSGFMT@,$MSGFMT,;t t
25795
 
s,@GMSGFMT@,$GMSGFMT,;t t
25796
 
s,@XGETTEXT@,$XGETTEXT,;t t
25797
 
s,@CATALOGS@,$CATALOGS,;t t
25798
 
s,@CATOBJEXT@,$CATOBJEXT,;t t
25799
 
s,@DATADIRNAME@,$DATADIRNAME,;t t
25800
 
s,@GMOFILES@,$GMOFILES,;t t
25801
 
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
25802
 
s,@INTLLIBS@,$INTLLIBS,;t t
25803
 
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
25804
 
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
25805
 
s,@POFILES@,$POFILES,;t t
25806
 
s,@POSUB@,$POSUB,;t t
25807
 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
25808
 
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
25809
 
s,@DISABLE_DEPRECATED_CFLAGS@,$DISABLE_DEPRECATED_CFLAGS,;t t
25810
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
25811
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
25812
 
s,@VINO_SERVER_CFLAGS@,$VINO_SERVER_CFLAGS,;t t
25813
 
s,@VINO_SERVER_LIBS@,$VINO_SERVER_LIBS,;t t
25814
 
s,@VINO_CAPPLET_CFLAGS@,$VINO_CAPPLET_CFLAGS,;t t
25815
 
s,@VINO_CAPPLET_LIBS@,$VINO_CAPPLET_LIBS,;t t
25816
 
s,@VINO_SESSION_CFLAGS@,$VINO_SESSION_CFLAGS,;t t
25817
 
s,@VINO_SESSION_LIBS@,$VINO_SESSION_LIBS,;t t
25818
 
s,@SESSION_SUPPORT_TRUE@,$SESSION_SUPPORT_TRUE,;t t
25819
 
s,@SESSION_SUPPORT_FALSE@,$SESSION_SUPPORT_FALSE,;t t
25820
 
s,@VINO_HTTP_CFLAGS@,$VINO_HTTP_CFLAGS,;t t
25821
 
s,@HTTP_SERVER_TRUE@,$HTTP_SERVER_TRUE,;t t
25822
 
s,@HTTP_SERVER_FALSE@,$HTTP_SERVER_FALSE,;t t
25823
 
s,@X_CFLAGS@,$X_CFLAGS,;t t
25824
 
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
25825
 
s,@X_LIBS@,$X_LIBS,;t t
25826
 
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
25827
 
s,@ORBIT_IDL@,$ORBIT_IDL,;t t
25828
 
s,@BONOBO_IDLDIR@,$BONOBO_IDLDIR,;t t
25829
 
s,@LIBGNUTLS_CONFIG@,$LIBGNUTLS_CONFIG,;t t
25830
 
s,@LIBGNUTLS_CFLAGS@,$LIBGNUTLS_CFLAGS,;t t
25831
 
s,@LIBGNUTLS_LIBS@,$LIBGNUTLS_LIBS,;t t
25832
 
s,@LIBGCRYPT_CONFIG@,$LIBGCRYPT_CONFIG,;t t
25833
 
s,@LIBGCRYPT_CFLAGS@,$LIBGCRYPT_CFLAGS,;t t
25834
 
s,@LIBGCRYPT_LIBS@,$LIBGCRYPT_LIBS,;t t
25835
 
s,@XDAMAGE_LIBS@,$XDAMAGE_LIBS,;t t
25836
 
s,@XSHM_LIBS@,$XSHM_LIBS,;t t
25837
 
s,@XTEST_LIBS@,$XTEST_LIBS,;t t
25838
 
s,@AVAHI_CFLAGS@,$AVAHI_CFLAGS,;t t
25839
 
s,@AVAHI_LIBS@,$AVAHI_LIBS,;t t
25840
 
s,@LIBZ@,$LIBZ,;t t
25841
 
s,@LIBJPEG@,$LIBJPEG,;t t
25842
 
s,@VINO_DEBUG_CFLAGS@,$VINO_DEBUG_CFLAGS,;t t
25843
 
s,@GCONF_SCHEMA_CONFIG_SOURCE@,$GCONF_SCHEMA_CONFIG_SOURCE,;t t
25844
 
s,@GCONF_SCHEMA_FILE_DIR@,$GCONF_SCHEMA_FILE_DIR,;t t
25845
 
s,@GCONF_SCHEMAS_INSTALL_TRUE@,$GCONF_SCHEMAS_INSTALL_TRUE,;t t
25846
 
s,@GCONF_SCHEMAS_INSTALL_FALSE@,$GCONF_SCHEMAS_INSTALL_FALSE,;t t
25847
 
s,@PERL@,$PERL,;t t
25848
 
s,@REBUILD@,$REBUILD,;t t
25849
 
s,@LIBOBJS@,$LIBOBJS,;t t
25850
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25851
 
CEOF
25852
 
 
25853
 
_ACEOF
25854
 
 
25855
 
  cat >>$CONFIG_STATUS <<\_ACEOF
25856
 
  # Split the substitutions into bite-sized pieces for seds with
25857
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
25858
 
  ac_max_sed_lines=48
25859
 
  ac_sed_frag=1 # Number of current file.
25860
 
  ac_beg=1 # First line for current file.
25861
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
25862
 
  ac_more_lines=:
25863
 
  ac_sed_cmds=
25864
 
  while $ac_more_lines; do
25865
 
    if test $ac_beg -gt 1; then
25866
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25867
 
    else
25868
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25869
 
    fi
25870
 
    if test ! -s $tmp/subs.frag; then
25871
 
      ac_more_lines=false
25872
 
    else
25873
 
      # The purpose of the label and of the branching condition is to
25874
 
      # speed up the sed processing (if there are no `@' at all, there
25875
 
      # is no need to browse any of the substitutions).
25876
 
      # These are the two extra sed commands mentioned above.
25877
 
      (echo ':t
25878
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25879
 
      if test -z "$ac_sed_cmds"; then
25880
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25881
 
      else
25882
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25883
 
      fi
25884
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
25885
 
      ac_beg=$ac_end
25886
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
25887
 
    fi
25888
 
  done
25889
 
  if test -z "$ac_sed_cmds"; then
25890
 
    ac_sed_cmds=cat
25891
 
  fi
 
27498
if test -n "$CONFIG_FILES"; then
 
27499
 
 
27500
_ACEOF
 
27501
 
 
27502
 
 
27503
 
 
27504
ac_delim='%!_!# '
 
27505
for ac_last_try in false false false false false :; do
 
27506
  cat >conf$$subs.sed <<_ACEOF
 
27507
SHELL!$SHELL$ac_delim
 
27508
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
27509
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
27510
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
27511
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
27512
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
27513
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
27514
exec_prefix!$exec_prefix$ac_delim
 
27515
prefix!$prefix$ac_delim
 
27516
program_transform_name!$program_transform_name$ac_delim
 
27517
bindir!$bindir$ac_delim
 
27518
sbindir!$sbindir$ac_delim
 
27519
libexecdir!$libexecdir$ac_delim
 
27520
datarootdir!$datarootdir$ac_delim
 
27521
datadir!$datadir$ac_delim
 
27522
sysconfdir!$sysconfdir$ac_delim
 
27523
sharedstatedir!$sharedstatedir$ac_delim
 
27524
localstatedir!$localstatedir$ac_delim
 
27525
includedir!$includedir$ac_delim
 
27526
oldincludedir!$oldincludedir$ac_delim
 
27527
docdir!$docdir$ac_delim
 
27528
infodir!$infodir$ac_delim
 
27529
htmldir!$htmldir$ac_delim
 
27530
dvidir!$dvidir$ac_delim
 
27531
pdfdir!$pdfdir$ac_delim
 
27532
psdir!$psdir$ac_delim
 
27533
libdir!$libdir$ac_delim
 
27534
localedir!$localedir$ac_delim
 
27535
mandir!$mandir$ac_delim
 
27536
DEFS!$DEFS$ac_delim
 
27537
ECHO_C!$ECHO_C$ac_delim
 
27538
ECHO_N!$ECHO_N$ac_delim
 
27539
ECHO_T!$ECHO_T$ac_delim
 
27540
LIBS!$LIBS$ac_delim
 
27541
build_alias!$build_alias$ac_delim
 
27542
host_alias!$host_alias$ac_delim
 
27543
target_alias!$target_alias$ac_delim
 
27544
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
27545
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
27546
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
27547
CYGPATH_W!$CYGPATH_W$ac_delim
 
27548
PACKAGE!$PACKAGE$ac_delim
 
27549
VERSION!$VERSION$ac_delim
 
27550
ACLOCAL!$ACLOCAL$ac_delim
 
27551
AUTOCONF!$AUTOCONF$ac_delim
 
27552
AUTOMAKE!$AUTOMAKE$ac_delim
 
27553
AUTOHEADER!$AUTOHEADER$ac_delim
 
27554
MAKEINFO!$MAKEINFO$ac_delim
 
27555
install_sh!$install_sh$ac_delim
 
27556
STRIP!$STRIP$ac_delim
 
27557
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
27558
mkdir_p!$mkdir_p$ac_delim
 
27559
AWK!$AWK$ac_delim
 
27560
SET_MAKE!$SET_MAKE$ac_delim
 
27561
am__leading_dot!$am__leading_dot$ac_delim
 
27562
AMTAR!$AMTAR$ac_delim
 
27563
am__tar!$am__tar$ac_delim
 
27564
am__untar!$am__untar$ac_delim
 
27565
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
27566
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
27567
MAINT!$MAINT$ac_delim
 
27568
ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
 
27569
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
 
27570
CC!$CC$ac_delim
 
27571
CFLAGS!$CFLAGS$ac_delim
 
27572
LDFLAGS!$LDFLAGS$ac_delim
 
27573
CPPFLAGS!$CPPFLAGS$ac_delim
 
27574
ac_ct_CC!$ac_ct_CC$ac_delim
 
27575
EXEEXT!$EXEEXT$ac_delim
 
27576
OBJEXT!$OBJEXT$ac_delim
 
27577
DEPDIR!$DEPDIR$ac_delim
 
27578
am__include!$am__include$ac_delim
 
27579
am__quote!$am__quote$ac_delim
 
27580
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
27581
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
27582
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
27583
CCDEPMODE!$CCDEPMODE$ac_delim
 
27584
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
27585
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
27586
CPP!$CPP$ac_delim
 
27587
GREP!$GREP$ac_delim
 
27588
EGREP!$EGREP$ac_delim
 
27589
build!$build$ac_delim
 
27590
build_cpu!$build_cpu$ac_delim
 
27591
build_vendor!$build_vendor$ac_delim
 
27592
build_os!$build_os$ac_delim
 
27593
host!$host$ac_delim
 
27594
host_cpu!$host_cpu$ac_delim
 
27595
host_vendor!$host_vendor$ac_delim
 
27596
host_os!$host_os$ac_delim
 
27597
SED!$SED$ac_delim
 
27598
LN_S!$LN_S$ac_delim
 
27599
ECHO!$ECHO$ac_delim
 
27600
AR!$AR$ac_delim
 
27601
RANLIB!$RANLIB$ac_delim
 
27602
DSYMUTIL!$DSYMUTIL$ac_delim
 
27603
NMEDIT!$NMEDIT$ac_delim
 
27604
_ACEOF
 
27605
 
 
27606
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
27607
    break
 
27608
  elif $ac_last_try; then
 
27609
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27610
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27611
   { (exit 1); exit 1; }; }
 
27612
  else
 
27613
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
27614
  fi
 
27615
done
 
27616
 
 
27617
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
27618
if test -n "$ac_eof"; then
 
27619
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
27620
  ac_eof=`expr $ac_eof + 1`
 
27621
fi
 
27622
 
 
27623
cat >>$CONFIG_STATUS <<_ACEOF
 
27624
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
27625
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
27626
_ACEOF
 
27627
sed '
 
27628
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
27629
s/^/s,@/; s/!/@,|#_!!_#|/
 
27630
:n
 
27631
t n
 
27632
s/'"$ac_delim"'$/,g/; t
 
27633
s/$/\\/; p
 
27634
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
27635
' >>$CONFIG_STATUS <conf$$subs.sed
 
27636
rm -f conf$$subs.sed
 
27637
cat >>$CONFIG_STATUS <<_ACEOF
 
27638
CEOF$ac_eof
 
27639
_ACEOF
 
27640
 
 
27641
 
 
27642
ac_delim='%!_!# '
 
27643
for ac_last_try in false false false false false :; do
 
27644
  cat >conf$$subs.sed <<_ACEOF
 
27645
CXX!$CXX$ac_delim
 
27646
CXXFLAGS!$CXXFLAGS$ac_delim
 
27647
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
27648
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
27649
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
27650
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
27651
CXXCPP!$CXXCPP$ac_delim
 
27652
F77!$F77$ac_delim
 
27653
FFLAGS!$FFLAGS$ac_delim
 
27654
ac_ct_F77!$ac_ct_F77$ac_delim
 
27655
LIBTOOL!$LIBTOOL$ac_delim
 
27656
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
 
27657
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
 
27658
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
 
27659
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
 
27660
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
 
27661
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
 
27662
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
 
27663
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
 
27664
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
 
27665
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
 
27666
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
 
27667
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
 
27668
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
 
27669
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
 
27670
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
 
27671
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
 
27672
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
 
27673
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
 
27674
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
 
27675
XGETTEXT!$XGETTEXT$ac_delim
 
27676
MSGMERGE!$MSGMERGE$ac_delim
 
27677
MSGFMT!$MSGFMT$ac_delim
 
27678
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
 
27679
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
 
27680
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
 
27681
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
 
27682
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
 
27683
DATADIRNAME!$DATADIRNAME$ac_delim
 
27684
GCONFTOOL!$GCONFTOOL$ac_delim
 
27685
GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim
 
27686
USE_NLS!$USE_NLS$ac_delim
 
27687
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
 
27688
GMSGFMT!$GMSGFMT$ac_delim
 
27689
CATALOGS!$CATALOGS$ac_delim
 
27690
CATOBJEXT!$CATOBJEXT$ac_delim
 
27691
GMOFILES!$GMOFILES$ac_delim
 
27692
INSTOBJEXT!$INSTOBJEXT$ac_delim
 
27693
INTLLIBS!$INTLLIBS$ac_delim
 
27694
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
 
27695
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
 
27696
POFILES!$POFILES$ac_delim
 
27697
POSUB!$POSUB$ac_delim
 
27698
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
 
27699
WARN_CFLAGS!$WARN_CFLAGS$ac_delim
 
27700
DISABLE_DEPRECATED_CFLAGS!$DISABLE_DEPRECATED_CFLAGS$ac_delim
 
27701
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
27702
VINO_SERVER_CFLAGS!$VINO_SERVER_CFLAGS$ac_delim
 
27703
VINO_SERVER_LIBS!$VINO_SERVER_LIBS$ac_delim
 
27704
VINO_CAPPLET_CFLAGS!$VINO_CAPPLET_CFLAGS$ac_delim
 
27705
VINO_CAPPLET_LIBS!$VINO_CAPPLET_LIBS$ac_delim
 
27706
VINO_LIBNOTIFY_CFLAGS!$VINO_LIBNOTIFY_CFLAGS$ac_delim
 
27707
VINO_LIBNOTIFY_LIBS!$VINO_LIBNOTIFY_LIBS$ac_delim
 
27708
VINO_KEYRING_CFLAGS!$VINO_KEYRING_CFLAGS$ac_delim
 
27709
VINO_KEYRING_LIBS!$VINO_KEYRING_LIBS$ac_delim
 
27710
VINO_SESSION_CFLAGS!$VINO_SESSION_CFLAGS$ac_delim
 
27711
VINO_SESSION_LIBS!$VINO_SESSION_LIBS$ac_delim
 
27712
SESSION_SUPPORT_TRUE!$SESSION_SUPPORT_TRUE$ac_delim
 
27713
SESSION_SUPPORT_FALSE!$SESSION_SUPPORT_FALSE$ac_delim
 
27714
VINO_HTTP_CFLAGS!$VINO_HTTP_CFLAGS$ac_delim
 
27715
HTTP_SERVER_TRUE!$HTTP_SERVER_TRUE$ac_delim
 
27716
HTTP_SERVER_FALSE!$HTTP_SERVER_FALSE$ac_delim
 
27717
XMKMF!$XMKMF$ac_delim
 
27718
X_CFLAGS!$X_CFLAGS$ac_delim
 
27719
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
 
27720
X_LIBS!$X_LIBS$ac_delim
 
27721
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
 
27722
ORBIT_IDL!$ORBIT_IDL$ac_delim
 
27723
BONOBO_IDLDIR!$BONOBO_IDLDIR$ac_delim
 
27724
LIBGNUTLS_CONFIG!$LIBGNUTLS_CONFIG$ac_delim
 
27725
LIBGNUTLS_CFLAGS!$LIBGNUTLS_CFLAGS$ac_delim
 
27726
LIBGNUTLS_LIBS!$LIBGNUTLS_LIBS$ac_delim
 
27727
LIBGCRYPT_CONFIG!$LIBGCRYPT_CONFIG$ac_delim
 
27728
LIBGCRYPT_CFLAGS!$LIBGCRYPT_CFLAGS$ac_delim
 
27729
LIBGCRYPT_LIBS!$LIBGCRYPT_LIBS$ac_delim
 
27730
XDAMAGE_LIBS!$XDAMAGE_LIBS$ac_delim
 
27731
XSHM_LIBS!$XSHM_LIBS$ac_delim
 
27732
XTEST_LIBS!$XTEST_LIBS$ac_delim
 
27733
AVAHI_CFLAGS!$AVAHI_CFLAGS$ac_delim
 
27734
AVAHI_LIBS!$AVAHI_LIBS$ac_delim
 
27735
LIBZ!$LIBZ$ac_delim
 
27736
LIBJPEG!$LIBJPEG$ac_delim
 
27737
VINO_DEBUG_CFLAGS!$VINO_DEBUG_CFLAGS$ac_delim
 
27738
GCONF_SCHEMA_CONFIG_SOURCE!$GCONF_SCHEMA_CONFIG_SOURCE$ac_delim
 
27739
GCONF_SCHEMA_FILE_DIR!$GCONF_SCHEMA_FILE_DIR$ac_delim
 
27740
GCONF_SCHEMAS_INSTALL_TRUE!$GCONF_SCHEMAS_INSTALL_TRUE$ac_delim
 
27741
GCONF_SCHEMAS_INSTALL_FALSE!$GCONF_SCHEMAS_INSTALL_FALSE$ac_delim
 
27742
_ACEOF
 
27743
 
 
27744
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
27745
    break
 
27746
  elif $ac_last_try; then
 
27747
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27748
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27749
   { (exit 1); exit 1; }; }
 
27750
  else
 
27751
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
27752
  fi
 
27753
done
 
27754
 
 
27755
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
27756
if test -n "$ac_eof"; then
 
27757
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
27758
  ac_eof=`expr $ac_eof + 1`
 
27759
fi
 
27760
 
 
27761
cat >>$CONFIG_STATUS <<_ACEOF
 
27762
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
27763
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
27764
_ACEOF
 
27765
sed '
 
27766
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
27767
s/^/s,@/; s/!/@,|#_!!_#|/
 
27768
:n
 
27769
t n
 
27770
s/'"$ac_delim"'$/,g/; t
 
27771
s/$/\\/; p
 
27772
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
27773
' >>$CONFIG_STATUS <conf$$subs.sed
 
27774
rm -f conf$$subs.sed
 
27775
cat >>$CONFIG_STATUS <<_ACEOF
 
27776
CEOF$ac_eof
 
27777
_ACEOF
 
27778
 
 
27779
 
 
27780
ac_delim='%!_!# '
 
27781
for ac_last_try in false false false false false :; do
 
27782
  cat >conf$$subs.sed <<_ACEOF
 
27783
PERL!$PERL$ac_delim
 
27784
REBUILD!$REBUILD$ac_delim
 
27785
LIBOBJS!$LIBOBJS$ac_delim
 
27786
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
27787
_ACEOF
 
27788
 
 
27789
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 4; then
 
27790
    break
 
27791
  elif $ac_last_try; then
 
27792
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27793
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27794
   { (exit 1); exit 1; }; }
 
27795
  else
 
27796
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
27797
  fi
 
27798
done
 
27799
 
 
27800
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
27801
if test -n "$ac_eof"; then
 
27802
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
27803
  ac_eof=`expr $ac_eof + 1`
 
27804
fi
 
27805
 
 
27806
cat >>$CONFIG_STATUS <<_ACEOF
 
27807
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
 
27808
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
27809
_ACEOF
 
27810
sed '
 
27811
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
27812
s/^/s,@/; s/!/@,|#_!!_#|/
 
27813
:n
 
27814
t n
 
27815
s/'"$ac_delim"'$/,g/; t
 
27816
s/$/\\/; p
 
27817
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
27818
' >>$CONFIG_STATUS <conf$$subs.sed
 
27819
rm -f conf$$subs.sed
 
27820
cat >>$CONFIG_STATUS <<_ACEOF
 
27821
:end
 
27822
s/|#_!!_#|//g
 
27823
CEOF$ac_eof
 
27824
_ACEOF
 
27825
 
 
27826
 
 
27827
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
27828
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
27829
# trailing colons and then remove the whole line if VPATH becomes empty
 
27830
# (actually we leave an empty line to preserve line numbers).
 
27831
if test "x$srcdir" = x.; then
 
27832
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
27833
s/:*\$(srcdir):*/:/
 
27834
s/:*\${srcdir}:*/:/
 
27835
s/:*@srcdir@:*/:/
 
27836
s/^\([^=]*=[     ]*\):*/\1/
 
27837
s/:*$//
 
27838
s/^[^=]*=[       ]*$//
 
27839
}'
 
27840
fi
 
27841
 
 
27842
cat >>$CONFIG_STATUS <<\_ACEOF
25892
27843
fi # test -n "$CONFIG_FILES"
25893
27844
 
25894
 
_ACEOF
25895
 
cat >>$CONFIG_STATUS <<\_ACEOF
25896
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25897
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25898
 
  case $ac_file in
25899
 
  - | *:- | *:-:* ) # input from stdin
25900
 
        cat >$tmp/stdin
25901
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25902
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25903
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25904
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25905
 
  * )   ac_file_in=$ac_file.in ;;
25906
 
  esac
25907
 
 
25908
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25909
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
27845
 
 
27846
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
27847
do
 
27848
  case $ac_tag in
 
27849
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
27850
  esac
 
27851
  case $ac_mode$ac_tag in
 
27852
  :[FHL]*:*);;
 
27853
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
27854
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
27855
   { (exit 1); exit 1; }; };;
 
27856
  :[FH]-) ac_tag=-:-;;
 
27857
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
27858
  esac
 
27859
  ac_save_IFS=$IFS
 
27860
  IFS=:
 
27861
  set x $ac_tag
 
27862
  IFS=$ac_save_IFS
 
27863
  shift
 
27864
  ac_file=$1
 
27865
  shift
 
27866
 
 
27867
  case $ac_mode in
 
27868
  :L) ac_source=$1;;
 
27869
  :[FH])
 
27870
    ac_file_inputs=
 
27871
    for ac_f
 
27872
    do
 
27873
      case $ac_f in
 
27874
      -) ac_f="$tmp/stdin";;
 
27875
      *) # Look for the file first in the build tree, then in the source tree
 
27876
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
27877
         # because $ac_f cannot contain `:'.
 
27878
         test -f "$ac_f" ||
 
27879
           case $ac_f in
 
27880
           [\\/$]*) false;;
 
27881
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
27882
           esac ||
 
27883
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
27884
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
27885
   { (exit 1); exit 1; }; };;
 
27886
      esac
 
27887
      ac_file_inputs="$ac_file_inputs $ac_f"
 
27888
    done
 
27889
 
 
27890
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
27891
    # use $as_me), people would be surprised to read:
 
27892
    #    /* config.h.  Generated by config.status.  */
 
27893
    configure_input="Generated from "`IFS=:
 
27894
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
27895
    if test x"$ac_file" != x-; then
 
27896
      configure_input="$ac_file.  $configure_input"
 
27897
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
27898
echo "$as_me: creating $ac_file" >&6;}
 
27899
    fi
 
27900
 
 
27901
    case $ac_tag in
 
27902
    *:-:* | *:-) cat >"$tmp/stdin";;
 
27903
    esac
 
27904
    ;;
 
27905
  esac
 
27906
 
 
27907
  ac_dir=`$as_dirname -- "$ac_file" ||
25910
27908
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25911
27909
         X"$ac_file" : 'X\(//\)[^/]' \| \
25912
27910
         X"$ac_file" : 'X\(//\)$' \| \
25913
 
         X"$ac_file" : 'X\(/\)' \| \
25914
 
         .     : '\(.\)' 2>/dev/null ||
 
27911
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25915
27912
echo X"$ac_file" |
25916
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25917
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25918
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25919
 
          /^X\(\/\).*/{ s//\1/; q; }
25920
 
          s/.*/./; q'`
25921
 
  { if $as_mkdir_p; then
25922
 
    mkdir -p "$ac_dir"
25923
 
  else
25924
 
    as_dir="$ac_dir"
 
27913
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27914
            s//\1/
 
27915
            q
 
27916
          }
 
27917
          /^X\(\/\/\)[^/].*/{
 
27918
            s//\1/
 
27919
            q
 
27920
          }
 
27921
          /^X\(\/\/\)$/{
 
27922
            s//\1/
 
27923
            q
 
27924
          }
 
27925
          /^X\(\/\).*/{
 
27926
            s//\1/
 
27927
            q
 
27928
          }
 
27929
          s/.*/./; q'`
 
27930
  { as_dir="$ac_dir"
 
27931
  case $as_dir in #(
 
27932
  -*) as_dir=./$as_dir;;
 
27933
  esac
 
27934
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25925
27935
    as_dirs=
25926
 
    while test ! -d "$as_dir"; do
25927
 
      as_dirs="$as_dir $as_dirs"
25928
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
27936
    while :; do
 
27937
      case $as_dir in #(
 
27938
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
27939
      *) as_qdir=$as_dir;;
 
27940
      esac
 
27941
      as_dirs="'$as_qdir' $as_dirs"
 
27942
      as_dir=`$as_dirname -- "$as_dir" ||
25929
27943
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25930
27944
         X"$as_dir" : 'X\(//\)[^/]' \| \
25931
27945
         X"$as_dir" : 'X\(//\)$' \| \
25932
 
         X"$as_dir" : 'X\(/\)' \| \
25933
 
         .     : '\(.\)' 2>/dev/null ||
 
27946
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25934
27947
echo X"$as_dir" |
25935
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25936
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25937
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25938
 
          /^X\(\/\).*/{ s//\1/; q; }
25939
 
          s/.*/./; q'`
 
27948
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27949
            s//\1/
 
27950
            q
 
27951
          }
 
27952
          /^X\(\/\/\)[^/].*/{
 
27953
            s//\1/
 
27954
            q
 
27955
          }
 
27956
          /^X\(\/\/\)$/{
 
27957
            s//\1/
 
27958
            q
 
27959
          }
 
27960
          /^X\(\/\).*/{
 
27961
            s//\1/
 
27962
            q
 
27963
          }
 
27964
          s/.*/./; q'`
 
27965
      test -d "$as_dir" && break
25940
27966
    done
25941
 
    test ! -n "$as_dirs" || mkdir $as_dirs
25942
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25943
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
27967
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
27968
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
27969
echo "$as_me: error: cannot create directory $as_dir" >&2;}
25944
27970
   { (exit 1); exit 1; }; }; }
25945
 
 
25946
27971
  ac_builddir=.
25947
27972
 
25948
 
if test "$ac_dir" != .; then
 
27973
case "$ac_dir" in
 
27974
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
27975
*)
25949
27976
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25950
 
  # A "../" for each directory in $ac_dir_suffix.
25951
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25952
 
else
25953
 
  ac_dir_suffix= ac_top_builddir=
25954
 
fi
 
27977
  # A ".." for each directory in $ac_dir_suffix.
 
27978
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
27979
  case $ac_top_builddir_sub in
 
27980
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
27981
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
27982
  esac ;;
 
27983
esac
 
27984
ac_abs_top_builddir=$ac_pwd
 
27985
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
27986
# for backward compatibility:
 
27987
ac_top_builddir=$ac_top_build_prefix
25955
27988
 
25956
27989
case $srcdir in
25957
 
  .)  # No --srcdir option.  We are building in place.
 
27990
  .)  # We are building in place.
25958
27991
    ac_srcdir=.
25959
 
    if test -z "$ac_top_builddir"; then
25960
 
       ac_top_srcdir=.
25961
 
    else
25962
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25963
 
    fi ;;
25964
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
27992
    ac_top_srcdir=$ac_top_builddir_sub
 
27993
    ac_abs_top_srcdir=$ac_pwd ;;
 
27994
  [\\/]* | ?:[\\/]* )  # Absolute name.
25965
27995
    ac_srcdir=$srcdir$ac_dir_suffix;
25966
 
    ac_top_srcdir=$srcdir ;;
25967
 
  *) # Relative path.
25968
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25969
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
25970
 
esac
25971
 
 
25972
 
# Do not use `cd foo && pwd` to compute absolute paths, because
25973
 
# the directories may not exist.
25974
 
case `pwd` in
25975
 
.) ac_abs_builddir="$ac_dir";;
25976
 
*)
25977
 
  case "$ac_dir" in
25978
 
  .) ac_abs_builddir=`pwd`;;
25979
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25980
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
25981
 
  esac;;
25982
 
esac
25983
 
case $ac_abs_builddir in
25984
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
25985
 
*)
25986
 
  case ${ac_top_builddir}. in
25987
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
25988
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25989
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25990
 
  esac;;
25991
 
esac
25992
 
case $ac_abs_builddir in
25993
 
.) ac_abs_srcdir=$ac_srcdir;;
25994
 
*)
25995
 
  case $ac_srcdir in
25996
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
25997
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25998
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25999
 
  esac;;
26000
 
esac
26001
 
case $ac_abs_builddir in
26002
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
26003
 
*)
26004
 
  case $ac_top_srcdir in
26005
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
26006
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
26007
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
26008
 
  esac;;
26009
 
esac
26010
 
 
 
27996
    ac_top_srcdir=$srcdir
 
27997
    ac_abs_top_srcdir=$srcdir ;;
 
27998
  *) # Relative name.
 
27999
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
28000
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
28001
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
28002
esac
 
28003
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
28004
 
 
28005
 
 
28006
  case $ac_mode in
 
28007
  :F)
 
28008
  #
 
28009
  # CONFIG_FILE
 
28010
  #
26011
28011
 
26012
28012
  case $INSTALL in
26013
28013
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26014
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
28014
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26015
28015
  esac
26016
 
 
26017
 
  if test x"$ac_file" != x-; then
26018
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
26019
 
echo "$as_me: creating $ac_file" >&6;}
26020
 
    rm -f "$ac_file"
26021
 
  fi
26022
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
26023
 
  # use $as_me), people would be surprised to read:
26024
 
  #    /* config.h.  Generated by config.status.  */
26025
 
  if test x"$ac_file" = x-; then
26026
 
    configure_input=
26027
 
  else
26028
 
    configure_input="$ac_file.  "
26029
 
  fi
26030
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
26031
 
                                     sed 's,.*/,,'` by configure."
26032
 
 
26033
 
  # First look for the input files in the build tree, otherwise in the
26034
 
  # src tree.
26035
 
  ac_file_inputs=`IFS=:
26036
 
    for f in $ac_file_in; do
26037
 
      case $f in
26038
 
      -) echo $tmp/stdin ;;
26039
 
      [\\/$]*)
26040
 
         # Absolute (can't be DOS-style, as IFS=:)
26041
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26042
 
echo "$as_me: error: cannot find input file: $f" >&2;}
26043
 
   { (exit 1); exit 1; }; }
26044
 
         echo "$f";;
26045
 
      *) # Relative
26046
 
         if test -f "$f"; then
26047
 
           # Build tree
26048
 
           echo "$f"
26049
 
         elif test -f "$srcdir/$f"; then
26050
 
           # Source tree
26051
 
           echo "$srcdir/$f"
26052
 
         else
26053
 
           # /dev/null tree
26054
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26055
 
echo "$as_me: error: cannot find input file: $f" >&2;}
26056
 
   { (exit 1); exit 1; }; }
26057
 
         fi;;
26058
 
      esac
26059
 
    done` || { (exit 1); exit 1; }
26060
 
_ACEOF
 
28016
_ACEOF
 
28017
 
 
28018
cat >>$CONFIG_STATUS <<\_ACEOF
 
28019
# If the template does not know about datarootdir, expand it.
 
28020
# FIXME: This hack should be removed a few years after 2.60.
 
28021
ac_datarootdir_hack=; ac_datarootdir_seen=
 
28022
 
 
28023
case `sed -n '/datarootdir/ {
 
28024
  p
 
28025
  q
 
28026
}
 
28027
/@datadir@/p
 
28028
/@docdir@/p
 
28029
/@infodir@/p
 
28030
/@localedir@/p
 
28031
/@mandir@/p
 
28032
' $ac_file_inputs` in
 
28033
*datarootdir*) ac_datarootdir_seen=yes;;
 
28034
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
28035
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
28036
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
28037
_ACEOF
 
28038
cat >>$CONFIG_STATUS <<_ACEOF
 
28039
  ac_datarootdir_hack='
 
28040
  s&@datadir@&$datadir&g
 
28041
  s&@docdir@&$docdir&g
 
28042
  s&@infodir@&$infodir&g
 
28043
  s&@localedir@&$localedir&g
 
28044
  s&@mandir@&$mandir&g
 
28045
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
28046
esac
 
28047
_ACEOF
 
28048
 
 
28049
# Neutralize VPATH when `$srcdir' = `.'.
 
28050
# Shell code in configure.ac might set extrasub.
 
28051
# FIXME: do we really want to maintain this feature?
26061
28052
cat >>$CONFIG_STATUS <<_ACEOF
26062
28053
  sed "$ac_vpsub
26063
28054
$extrasub
26065
28056
cat >>$CONFIG_STATUS <<\_ACEOF
26066
28057
:t
26067
28058
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26068
 
s,@configure_input@,$configure_input,;t t
26069
 
s,@srcdir@,$ac_srcdir,;t t
26070
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
26071
 
s,@top_srcdir@,$ac_top_srcdir,;t t
26072
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
26073
 
s,@builddir@,$ac_builddir,;t t
26074
 
s,@abs_builddir@,$ac_abs_builddir,;t t
26075
 
s,@top_builddir@,$ac_top_builddir,;t t
26076
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
26077
 
s,@INSTALL@,$ac_INSTALL,;t t
26078
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
26079
 
  rm -f $tmp/stdin
26080
 
  if test x"$ac_file" != x-; then
26081
 
    mv $tmp/out $ac_file
26082
 
  else
26083
 
    cat $tmp/out
26084
 
    rm -f $tmp/out
26085
 
  fi
26086
 
 
26087
 
done
 
28059
s&@configure_input@&$configure_input&;t t
 
28060
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
28061
s&@srcdir@&$ac_srcdir&;t t
 
28062
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
28063
s&@top_srcdir@&$ac_top_srcdir&;t t
 
28064
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
28065
s&@builddir@&$ac_builddir&;t t
 
28066
s&@abs_builddir@&$ac_abs_builddir&;t t
 
28067
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
28068
s&@INSTALL@&$ac_INSTALL&;t t
 
28069
$ac_datarootdir_hack
 
28070
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 
28071
 
 
28072
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
28073
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
28074
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
28075
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
28076
which seems to be undefined.  Please make sure it is defined." >&5
 
28077
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
28078
which seems to be undefined.  Please make sure it is defined." >&2;}
 
28079
 
 
28080
  rm -f "$tmp/stdin"
 
28081
  case $ac_file in
 
28082
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
28083
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
28084
  esac
 
28085
 ;;
 
28086
  :H)
 
28087
  #
 
28088
  # CONFIG_HEADER
 
28089
  #
26088
28090
_ACEOF
26089
 
cat >>$CONFIG_STATUS <<\_ACEOF
26090
 
 
26091
 
#
26092
 
# CONFIG_HEADER section.
26093
 
#
26094
 
 
26095
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
26096
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
26097
 
#
26098
 
# ac_d sets the value in "#define NAME VALUE" lines.
26099
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
26100
 
ac_dB='[         ].*$,\1#\2'
 
28091
 
 
28092
# Transform confdefs.h into a sed script `conftest.defines', that
 
28093
# substitutes the proper values into config.h.in to produce config.h.
 
28094
rm -f conftest.defines conftest.tail
 
28095
# First, append a space to every undef/define line, to ease matching.
 
28096
echo 's/$/ /' >conftest.defines
 
28097
# Then, protect against being on the right side of a sed subst, or in
 
28098
# an unquoted here document, in config.status.  If some macros were
 
28099
# called several times there might be several #defines for the same
 
28100
# symbol, which is useless.  But do not sort them, since the last
 
28101
# AC_DEFINE must be honored.
 
28102
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
28103
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
28104
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
28105
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
28106
# just an empty string.
 
28107
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
28108
ac_dB='\\)[      (].*,\\1define\\2'
26101
28109
ac_dC=' '
26102
 
ac_dD=',;t'
26103
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
26104
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
26105
 
ac_uB='$,\1#\2define\3'
26106
 
ac_uC=' '
26107
 
ac_uD=',;t'
26108
 
 
26109
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
26110
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26111
 
  case $ac_file in
26112
 
  - | *:- | *:-:* ) # input from stdin
26113
 
        cat >$tmp/stdin
26114
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26115
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26116
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26117
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26118
 
  * )   ac_file_in=$ac_file.in ;;
26119
 
  esac
26120
 
 
26121
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
26122
 
echo "$as_me: creating $ac_file" >&6;}
26123
 
 
26124
 
  # First look for the input files in the build tree, otherwise in the
26125
 
  # src tree.
26126
 
  ac_file_inputs=`IFS=:
26127
 
    for f in $ac_file_in; do
26128
 
      case $f in
26129
 
      -) echo $tmp/stdin ;;
26130
 
      [\\/$]*)
26131
 
         # Absolute (can't be DOS-style, as IFS=:)
26132
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26133
 
echo "$as_me: error: cannot find input file: $f" >&2;}
26134
 
   { (exit 1); exit 1; }; }
26135
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
26136
 
         echo "$f";;
26137
 
      *) # Relative
26138
 
         if test -f "$f"; then
26139
 
           # Build tree
26140
 
           echo "$f"
26141
 
         elif test -f "$srcdir/$f"; then
26142
 
           # Source tree
26143
 
           echo "$srcdir/$f"
26144
 
         else
26145
 
           # /dev/null tree
26146
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26147
 
echo "$as_me: error: cannot find input file: $f" >&2;}
26148
 
   { (exit 1); exit 1; }; }
26149
 
         fi;;
26150
 
      esac
26151
 
    done` || { (exit 1); exit 1; }
26152
 
  # Remove the trailing spaces.
26153
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
26154
 
 
26155
 
_ACEOF
26156
 
 
26157
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
26158
 
# `conftest.undefs', that substitutes the proper values into
26159
 
# config.h.in to produce config.h.  The first handles `#define'
26160
 
# templates, and the second `#undef' templates.
26161
 
# And first: Protect against being on the right side of a sed subst in
26162
 
# config.status.  Protect against being in an unquoted here document
26163
 
# in config.status.
26164
 
rm -f conftest.defines conftest.undefs
26165
 
# Using a here document instead of a string reduces the quoting nightmare.
26166
 
# Putting comments in sed scripts is not portable.
26167
 
#
26168
 
# `end' is used to avoid that the second main sed command (meant for
26169
 
# 0-ary CPP macros) applies to n-ary macro definitions.
26170
 
# See the Autoconf documentation for `clear'.
26171
 
cat >confdef2sed.sed <<\_ACEOF
26172
 
s/[\\&,]/\\&/g
26173
 
s,[\\$`],\\&,g
26174
 
t clear
26175
 
: clear
26176
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
26177
 
t end
26178
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26179
 
: end
26180
 
_ACEOF
26181
 
# If some macros were called several times there might be several times
26182
 
# the same #defines, which is useless.  Nevertheless, we may not want to
26183
 
# sort them, since we want the *last* AC-DEFINE to be honored.
26184
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
26185
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
26186
 
rm -f confdef2sed.sed
26187
 
 
26188
 
# This sed command replaces #undef with comments.  This is necessary, for
 
28110
ac_dD=' ,'
 
28111
 
 
28112
uniq confdefs.h |
 
28113
  sed -n '
 
28114
        t rset
 
28115
        :rset
 
28116
        s/^[     ]*#[    ]*define[       ][      ]*//
 
28117
        t ok
 
28118
        d
 
28119
        :ok
 
28120
        s/[\\&,]/\\&/g
 
28121
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
28122
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
28123
  ' >>conftest.defines
 
28124
 
 
28125
# Remove the space that was appended to ease matching.
 
28126
# Then replace #undef with comments.  This is necessary, for
26189
28127
# example, in the case of _POSIX_SOURCE, which is predefined and required
26190
28128
# on some systems where configure will not decide to define it.
26191
 
cat >>conftest.undefs <<\_ACEOF
26192
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
28129
# (The regexp can be short, since the line contains either #define or #undef.)
 
28130
echo 's/ $//
 
28131
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
28132
 
 
28133
# Break up conftest.defines:
 
28134
ac_max_sed_lines=50
 
28135
 
 
28136
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
28137
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
28138
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
28139
# et cetera.
 
28140
ac_in='$ac_file_inputs'
 
28141
ac_out='"$tmp/out1"'
 
28142
ac_nxt='"$tmp/out2"'
 
28143
 
 
28144
while :
 
28145
do
 
28146
  # Write a here document:
 
28147
    cat >>$CONFIG_STATUS <<_ACEOF
 
28148
    # First, check the format of the line:
 
28149
    cat >"\$tmp/defines.sed" <<\\CEOF
 
28150
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
28151
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
28152
b
 
28153
:def
26193
28154
_ACEOF
26194
 
 
26195
 
# Break up conftest.defines because some shells have a limit on the size
26196
 
# of here documents, and old seds have small limits too (100 cmds).
26197
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
26198
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
26199
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
26200
 
echo '  :' >>$CONFIG_STATUS
26201
 
rm -f conftest.tail
26202
 
while grep . conftest.defines >/dev/null
26203
 
do
26204
 
  # Write a limited-size here document to $tmp/defines.sed.
26205
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
26206
 
  # Speed up: don't consider the non `#define' lines.
26207
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
26208
 
  # Work around the forget-to-reset-the-flag bug.
26209
 
  echo 't clr' >>$CONFIG_STATUS
26210
 
  echo ': clr' >>$CONFIG_STATUS
26211
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
28155
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
26212
28156
  echo 'CEOF
26213
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
26214
 
  rm -f $tmp/in
26215
 
  mv $tmp/out $tmp/in
26216
 
' >>$CONFIG_STATUS
26217
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
28157
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
28158
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
28159
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
28160
  grep . conftest.tail >/dev/null || break
26218
28161
  rm -f conftest.defines
26219
28162
  mv conftest.tail conftest.defines
26220
28163
done
26221
 
rm -f conftest.defines
26222
 
echo '  fi # grep' >>$CONFIG_STATUS
26223
 
echo >>$CONFIG_STATUS
26224
 
 
26225
 
# Break up conftest.undefs because some shells have a limit on the size
26226
 
# of here documents, and old seds have small limits too (100 cmds).
26227
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
26228
 
rm -f conftest.tail
26229
 
while grep . conftest.undefs >/dev/null
26230
 
do
26231
 
  # Write a limited-size here document to $tmp/undefs.sed.
26232
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
26233
 
  # Speed up: don't consider the non `#undef'
26234
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
26235
 
  # Work around the forget-to-reset-the-flag bug.
26236
 
  echo 't clr' >>$CONFIG_STATUS
26237
 
  echo ': clr' >>$CONFIG_STATUS
26238
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
26239
 
  echo 'CEOF
26240
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26241
 
  rm -f $tmp/in
26242
 
  mv $tmp/out $tmp/in
26243
 
' >>$CONFIG_STATUS
26244
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26245
 
  rm -f conftest.undefs
26246
 
  mv conftest.tail conftest.undefs
26247
 
done
26248
 
rm -f conftest.undefs
26249
 
 
 
28164
rm -f conftest.defines conftest.tail
 
28165
 
 
28166
echo "ac_result=$ac_in" >>$CONFIG_STATUS
26250
28167
cat >>$CONFIG_STATUS <<\_ACEOF
26251
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
26252
 
  # use $as_me), people would be surprised to read:
26253
 
  #    /* config.h.  Generated by config.status.  */
26254
 
  if test x"$ac_file" = x-; then
26255
 
    echo "/* Generated by configure.  */" >$tmp/config.h
26256
 
  else
26257
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
26258
 
  fi
26259
 
  cat $tmp/in >>$tmp/config.h
26260
 
  rm -f $tmp/in
26261
28168
  if test x"$ac_file" != x-; then
26262
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
28169
    echo "/* $configure_input  */" >"$tmp/config.h"
 
28170
    cat "$ac_result" >>"$tmp/config.h"
 
28171
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
26263
28172
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26264
28173
echo "$as_me: $ac_file is unchanged" >&6;}
26265
28174
    else
26266
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
26267
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26268
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
26269
 
         X"$ac_file" : 'X\(//\)$' \| \
26270
 
         X"$ac_file" : 'X\(/\)' \| \
26271
 
         .     : '\(.\)' 2>/dev/null ||
26272
 
echo X"$ac_file" |
26273
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26274
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26275
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26276
 
          /^X\(\/\).*/{ s//\1/; q; }
26277
 
          s/.*/./; q'`
26278
 
      { if $as_mkdir_p; then
26279
 
    mkdir -p "$ac_dir"
26280
 
  else
26281
 
    as_dir="$ac_dir"
26282
 
    as_dirs=
26283
 
    while test ! -d "$as_dir"; do
26284
 
      as_dirs="$as_dir $as_dirs"
26285
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
26286
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26287
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
26288
 
         X"$as_dir" : 'X\(//\)$' \| \
26289
 
         X"$as_dir" : 'X\(/\)' \| \
26290
 
         .     : '\(.\)' 2>/dev/null ||
26291
 
echo X"$as_dir" |
26292
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26293
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26294
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26295
 
          /^X\(\/\).*/{ s//\1/; q; }
26296
 
          s/.*/./; q'`
26297
 
    done
26298
 
    test ! -n "$as_dirs" || mkdir $as_dirs
26299
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26300
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26301
 
   { (exit 1); exit 1; }; }; }
26302
 
 
26303
28175
      rm -f $ac_file
26304
 
      mv $tmp/config.h $ac_file
 
28176
      mv "$tmp/config.h" $ac_file
26305
28177
    fi
26306
28178
  else
26307
 
    cat $tmp/config.h
26308
 
    rm -f $tmp/config.h
 
28179
    echo "/* $configure_input  */"
 
28180
    cat "$ac_result"
26309
28181
  fi
 
28182
  rm -f "$tmp/out12"
26310
28183
# Compute $ac_file's index in $config_headers.
26311
28184
_am_stamp_count=1
26312
28185
for _am_header in $config_headers :; do
26317
28190
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26318
28191
  esac
26319
28192
done
26320
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
28193
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
26321
28194
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26322
28195
         X$ac_file : 'X\(//\)[^/]' \| \
26323
28196
         X$ac_file : 'X\(//\)$' \| \
26324
 
         X$ac_file : 'X\(/\)' \| \
26325
 
         .     : '\(.\)' 2>/dev/null ||
 
28197
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
26326
28198
echo X$ac_file |
26327
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26328
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26329
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26330
 
          /^X\(\/\).*/{ s//\1/; q; }
26331
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
26332
 
done
26333
 
_ACEOF
26334
 
cat >>$CONFIG_STATUS <<\_ACEOF
26335
 
 
26336
 
#
26337
 
# CONFIG_COMMANDS section.
26338
 
#
26339
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
26340
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
26341
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
26342
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
26343
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26344
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
26345
 
         X"$ac_dest" : 'X\(//\)$' \| \
26346
 
         X"$ac_dest" : 'X\(/\)' \| \
26347
 
         .     : '\(.\)' 2>/dev/null ||
26348
 
echo X"$ac_dest" |
26349
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26350
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26351
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26352
 
          /^X\(\/\).*/{ s//\1/; q; }
26353
 
          s/.*/./; q'`
26354
 
  { if $as_mkdir_p; then
26355
 
    mkdir -p "$ac_dir"
26356
 
  else
26357
 
    as_dir="$ac_dir"
26358
 
    as_dirs=
26359
 
    while test ! -d "$as_dir"; do
26360
 
      as_dirs="$as_dir $as_dirs"
26361
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
26362
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26363
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
26364
 
         X"$as_dir" : 'X\(//\)$' \| \
26365
 
         X"$as_dir" : 'X\(/\)' \| \
26366
 
         .     : '\(.\)' 2>/dev/null ||
26367
 
echo X"$as_dir" |
26368
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26369
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26370
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26371
 
          /^X\(\/\).*/{ s//\1/; q; }
26372
 
          s/.*/./; q'`
26373
 
    done
26374
 
    test ! -n "$as_dirs" || mkdir $as_dirs
26375
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26376
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26377
 
   { (exit 1); exit 1; }; }; }
26378
 
 
26379
 
  ac_builddir=.
26380
 
 
26381
 
if test "$ac_dir" != .; then
26382
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26383
 
  # A "../" for each directory in $ac_dir_suffix.
26384
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26385
 
else
26386
 
  ac_dir_suffix= ac_top_builddir=
26387
 
fi
26388
 
 
26389
 
case $srcdir in
26390
 
  .)  # No --srcdir option.  We are building in place.
26391
 
    ac_srcdir=.
26392
 
    if test -z "$ac_top_builddir"; then
26393
 
       ac_top_srcdir=.
26394
 
    else
26395
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
26396
 
    fi ;;
26397
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
26398
 
    ac_srcdir=$srcdir$ac_dir_suffix;
26399
 
    ac_top_srcdir=$srcdir ;;
26400
 
  *) # Relative path.
26401
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26402
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
26403
 
esac
26404
 
 
26405
 
# Do not use `cd foo && pwd` to compute absolute paths, because
26406
 
# the directories may not exist.
26407
 
case `pwd` in
26408
 
.) ac_abs_builddir="$ac_dir";;
26409
 
*)
26410
 
  case "$ac_dir" in
26411
 
  .) ac_abs_builddir=`pwd`;;
26412
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
26413
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
26414
 
  esac;;
26415
 
esac
26416
 
case $ac_abs_builddir in
26417
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
26418
 
*)
26419
 
  case ${ac_top_builddir}. in
26420
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
26421
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
26422
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
26423
 
  esac;;
26424
 
esac
26425
 
case $ac_abs_builddir in
26426
 
.) ac_abs_srcdir=$ac_srcdir;;
26427
 
*)
26428
 
  case $ac_srcdir in
26429
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
26430
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
26431
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
26432
 
  esac;;
26433
 
esac
26434
 
case $ac_abs_builddir in
26435
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
26436
 
*)
26437
 
  case $ac_top_srcdir in
26438
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
26439
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
26440
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
26441
 
  esac;;
26442
 
esac
26443
 
 
26444
 
 
26445
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
26446
 
echo "$as_me: executing $ac_dest commands" >&6;}
26447
 
  case $ac_dest in
26448
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
28199
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28200
            s//\1/
 
28201
            q
 
28202
          }
 
28203
          /^X\(\/\/\)[^/].*/{
 
28204
            s//\1/
 
28205
            q
 
28206
          }
 
28207
          /^X\(\/\/\)$/{
 
28208
            s//\1/
 
28209
            q
 
28210
          }
 
28211
          /^X\(\/\).*/{
 
28212
            s//\1/
 
28213
            q
 
28214
          }
 
28215
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
28216
 ;;
 
28217
 
 
28218
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
28219
echo "$as_me: executing $ac_file commands" >&6;}
 
28220
 ;;
 
28221
  esac
 
28222
 
 
28223
 
 
28224
  case $ac_file$ac_mode in
 
28225
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
26449
28226
  # Strip MF so we end up with the name of the file.
26450
28227
  mf=`echo "$mf" | sed -e 's/:.*$//'`
26451
28228
  # Check whether this is an Automake generated Makefile or not.
26455
28232
  # each Makefile.in and add a new line on top of each file to say so.
26456
28233
  # So let's grep whole file.
26457
28234
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
26458
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
28235
    dirpart=`$as_dirname -- "$mf" ||
26459
28236
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26460
28237
         X"$mf" : 'X\(//\)[^/]' \| \
26461
28238
         X"$mf" : 'X\(//\)$' \| \
26462
 
         X"$mf" : 'X\(/\)' \| \
26463
 
         .     : '\(.\)' 2>/dev/null ||
 
28239
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26464
28240
echo X"$mf" |
26465
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26466
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26467
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26468
 
          /^X\(\/\).*/{ s//\1/; q; }
26469
 
          s/.*/./; q'`
 
28241
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28242
            s//\1/
 
28243
            q
 
28244
          }
 
28245
          /^X\(\/\/\)[^/].*/{
 
28246
            s//\1/
 
28247
            q
 
28248
          }
 
28249
          /^X\(\/\/\)$/{
 
28250
            s//\1/
 
28251
            q
 
28252
          }
 
28253
          /^X\(\/\).*/{
 
28254
            s//\1/
 
28255
            q
 
28256
          }
 
28257
          s/.*/./; q'`
26470
28258
  else
26471
28259
    continue
26472
28260
  fi
26488
28276
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26489
28277
    # Make sure the directory exists.
26490
28278
    test -f "$dirpart/$file" && continue
26491
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
28279
    fdir=`$as_dirname -- "$file" ||
26492
28280
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26493
28281
         X"$file" : 'X\(//\)[^/]' \| \
26494
28282
         X"$file" : 'X\(//\)$' \| \
26495
 
         X"$file" : 'X\(/\)' \| \
26496
 
         .     : '\(.\)' 2>/dev/null ||
 
28283
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26497
28284
echo X"$file" |
26498
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26499
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26500
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26501
 
          /^X\(\/\).*/{ s//\1/; q; }
26502
 
          s/.*/./; q'`
26503
 
    { if $as_mkdir_p; then
26504
 
    mkdir -p $dirpart/$fdir
26505
 
  else
26506
 
    as_dir=$dirpart/$fdir
 
28285
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28286
            s//\1/
 
28287
            q
 
28288
          }
 
28289
          /^X\(\/\/\)[^/].*/{
 
28290
            s//\1/
 
28291
            q
 
28292
          }
 
28293
          /^X\(\/\/\)$/{
 
28294
            s//\1/
 
28295
            q
 
28296
          }
 
28297
          /^X\(\/\).*/{
 
28298
            s//\1/
 
28299
            q
 
28300
          }
 
28301
          s/.*/./; q'`
 
28302
    { as_dir=$dirpart/$fdir
 
28303
  case $as_dir in #(
 
28304
  -*) as_dir=./$as_dir;;
 
28305
  esac
 
28306
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26507
28307
    as_dirs=
26508
 
    while test ! -d "$as_dir"; do
26509
 
      as_dirs="$as_dir $as_dirs"
26510
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
28308
    while :; do
 
28309
      case $as_dir in #(
 
28310
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
28311
      *) as_qdir=$as_dir;;
 
28312
      esac
 
28313
      as_dirs="'$as_qdir' $as_dirs"
 
28314
      as_dir=`$as_dirname -- "$as_dir" ||
26511
28315
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26512
28316
         X"$as_dir" : 'X\(//\)[^/]' \| \
26513
28317
         X"$as_dir" : 'X\(//\)$' \| \
26514
 
         X"$as_dir" : 'X\(/\)' \| \
26515
 
         .     : '\(.\)' 2>/dev/null ||
 
28318
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26516
28319
echo X"$as_dir" |
26517
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26518
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26519
 
          /^X\(\/\/\)$/{ s//\1/; q; }
26520
 
          /^X\(\/\).*/{ s//\1/; q; }
26521
 
          s/.*/./; q'`
 
28320
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28321
            s//\1/
 
28322
            q
 
28323
          }
 
28324
          /^X\(\/\/\)[^/].*/{
 
28325
            s//\1/
 
28326
            q
 
28327
          }
 
28328
          /^X\(\/\/\)$/{
 
28329
            s//\1/
 
28330
            q
 
28331
          }
 
28332
          /^X\(\/\).*/{
 
28333
            s//\1/
 
28334
            q
 
28335
          }
 
28336
          s/.*/./; q'`
 
28337
      test -d "$as_dir" && break
26522
28338
    done
26523
 
    test ! -n "$as_dirs" || mkdir $as_dirs
26524
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
26525
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
28339
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
28340
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
28341
echo "$as_me: error: cannot create directory $as_dir" >&2;}
26526
28342
   { (exit 1); exit 1; }; }; }
26527
 
 
26528
28343
    # echo "creating $dirpart/$file"
26529
28344
    echo '# dummy' > "$dirpart/$file"
26530
28345
  done
26531
28346
done
26532
28347
 ;;
26533
 
    intltool )
 
28348
    "intltool":C)
26534
28349
 
26535
28350
for file in intltool-extract intltool-merge intltool-update; do
26536
28351
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
26537
28352
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
26538
 
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
26539
 
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
26540
 
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
26541
 
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
26542
28353
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
26543
28354
        < ${ac_aux_dir}/${file}.in > ${file}.out
26544
28355
  if cmp -s ${file} ${file}.out 2>/dev/null; then
26551
28362
done
26552
28363
 
26553
28364
 ;;
26554
 
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
 
28365
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
26555
28366
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
26556
28367
      esac ;;
26557
 
    po/stamp-it )
 
28368
    "po/stamp-it":C)
26558
28369
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
26559
28370
    >"po/stamp-it.tmp"
26560
28371
    sed '/^#/d
26577
28388
    rm -f "po/Makefile.tmp"
26578
28389
    mv "po/stamp-it.tmp" "po/stamp-it"
26579
28390
   ;;
 
28391
 
26580
28392
  esac
26581
 
done
26582
 
_ACEOF
 
28393
done # for ac_tag
26583
28394
 
26584
 
cat >>$CONFIG_STATUS <<\_ACEOF
26585
28395
 
26586
28396
{ (exit 0); exit 0; }
26587
28397
_ACEOF
26610
28420
  $ac_cs_success || { (exit 1); exit 1; }
26611
28421
fi
26612
28422
 
 
28423
 
 
28424
echo "
 
28425
Configure summary:
 
28426
 
 
28427
        Compiler ...................:  ${CC}
 
28428
        Compiler Flags .............:  ${CFLAGS}
 
28429
        Prefix......................:  ${prefix}
 
28430
 
 
28431
        Avahi support ..............:  ${VINO_ENABLE_MDNS}
 
28432
        Notify support .............:  ${have_libnotify}
 
28433
        GNOME Keyring support.......:  ${enable_gnome_keyring}
 
28434
        Session support.............:  ${enable_session_support}
 
28435
        HTTP server.................:  ${enable_http_server}
 
28436
        DEBUG messages..............:  ${enable_debug}
 
28437
"